]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ChangeLog
configure.in: Hardcode that vfork works on VMS host.
[thirdparty/gcc.git] / gcc / ChangeLog
1 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
2
3 * configure.in: Hardcode that vfork works on VMS host.
4 * configure: Regenerated.
5
6 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
7
8 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
9 unless do_obj true.
10 (process_command): Modify calls to convert_filename.
11
12 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13
14 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
15
16 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
17
18 * combine.c (known_cond): Check mode of each operand to determine
19 if COND is comparing floating point values.
20
21 2001-12-10 David Edelsohn <edelsohn@gnu.org>
22
23 * rs6000.h (processor_type): Add PPC405.
24 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
25 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
26 rios1, rs64, and ppc630 processors.
27 * rs6000.c (processor_target_table): Add PPC405.
28
29 2001-12-10 Richard Henderson <rth@redhat.com>
30
31 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
32 instead of hardcoding subregs into the _be and _le patterns.
33
34 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
35
36 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
37
38 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
39
40 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
41 what insn does.
42
43 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
44
45 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
46 copyright notice formerly conditioned on @ifinfo on @ifnottex
47 instead.
48
49 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
50
51 * vmsdbgout.c (lookup_filename): Remove warning.
52
53 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
54
55 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
56
57 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
58 (exeext, target_alias, prefix, local_prefix): Define.
59 * config/alpha/x-vms (USE_COLLECT2): Make empty.
60 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
61 file specifications. Remove ".".
62 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
63 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
64
65 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
66
67 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
68
69 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
70
71 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
72 Add rules for building [vp]crt0.o
73 * config/alpha/vms.h (START_FILE_SPEC): Define.
74 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
75 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
76 * doc/invoke.texi: Document special Alpha/VMS options.
77
78 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
79
80 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
81 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
82 not GNUC.
83
84 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
85 Douglas B. Rupp <rupp@gnat.com>
86
87 * tree.c (append_random_char): Conditionalize INO for VMS.
88
89 2001-12-09 Richard Henderson <rth@redhat.com>
90
91 * cfgcleanup.c (label_is_jump_target_p): New function.
92 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
93 target of a JUMP_INSN from the preceding block.
94
95 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
96
97 * vmsdbgout.c (lookup_filename): Assign null string instead
98 of null pointer to fnam.
99
100 2001-12-09 Richard Henderson <rth@redhat.com>
101
102 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
103 immediately after a call; insert nops before a call.
104
105 2001-12-09 Richard Henderson <rth@redhat.com>
106
107 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
108 not FUNCTION_BOUNDARY.
109 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
110 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
111 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
112
113 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
114
115 * config/mmix/mmix.c (mmix_function_block_profiler,
116 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
117 unused functions.
118 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
119 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
120 prototypes.
121
122 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
123 Delete obsoleted macros.
124
125 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
126
127 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
128 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
129
130 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
131 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
132 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
133 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
134 config/i370/i370.c, config/i386/i386.c,
135 config/i386/i386-interix.h, config/i386/i386.md,
136 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
137 config/m32r/m32r-protos.h, config/mcore/mcore.h,
138 config/rs6000/rs6000.h, config/sparc/linux64.h,
139 config/sparc/sparc.c, config/v850/v850-protos.h,
140 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
141 spelling errors.
142
143 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
144
145 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
146 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
147
148 * config/rs6000/rs6000.c: Ditto.
149
150 * config/rs6000/rs6000.md: Ditto.
151
152 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
153
154 * 1750a.md: Add default case in switch.
155 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
156 if-else statement.
157 * dsp16xx.c (print_operand_address): Likewise.
158 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
159 * ia64.md: Add missing braces.
160 * rs6000-protos.h (s8bit_cint_operand): Prototype.
161 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
162 if-else statement.
163 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
164 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
165 * dbxout.c (dbxout_source_file): Move a variable into the scope
166 where it is used.
167 * final.c (profile_function): Mark parameter with
168 ATTRIBUTE_UNUSED.
169 * genemit.c (gen_expand): Likewise for generated file.
170 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
171
172 * vmsdbg.h: Delete spurious close-comment.
173 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
174 * vmsdbgout.c (write_modbeg): Define return type.
175
176 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
177 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
178 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
179 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
180 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
181 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
182 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
183
184 2001-12-08 Tom Rix <trix@redhat.com>
185
186 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
187 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
188 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
189 for powerpc64.
190 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
191 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
192 * config/rs6000/rs6000.c (expand_block_move): Do not use
193 gen_movstrsi_2reg and powerpc64.
194
195 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
196
197 * c-common.h (rid): Add RID_CHOOSE_EXPR and
198 RID_TYPES_COMPATIBLE_P.
199
200 * c-parse.in (reswords): Add __builtin_choose_expr.
201 Add __builtin_types_compatible_p.
202 Add CHOOSE_EXPR token.
203 Add TYPES_COMPATIBLE_P token.
204 Add production for CHOOSE_EXPR.
205 Add production for TYPES_COMPATIBLE_P.
206
207 * doc/extend.texi (__builtin_choose_expr): Add documentation.
208 (__builtin_types_compatible_p): Likewise.
209
210 2001-12-08 David Edelsohn <edelsohn@gnu.org>
211
212 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
213 to unions.
214
215 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
216
217 * c-parse.in: Take string literals in assembler constructs,
218 not expressions.
219 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
220 check the strings are STRING_CSTs.
221
222 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
223
224 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
225 using combine_strings to do the concatenation.
226 * c-parse.in: Replace uses of the string non-terminal with STRING.
227 Don't attempt string concatenation.
228 (OBJC_STRING): New terminal.
229 (string): Remove non-terminal.
230 (_yylex): Call combine_strings on function names. Generate
231 OBJC_STRING terminals; don't pass '@' on to yacc.
232 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
233 (build_asm_stmt): Similarly.
234
235 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
236
237 * rtlanal.c (get_jump_table_offset): Delete unused variable.
238
239 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
240
241 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
242 (prefetch): Rewrite using PREFETCH RTL primitive.
243 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
244 * arm.c (arm_init_builtins): Don't initialize a builtin for
245 __builtin_prefetch here.
246 (arm_expand_builtin): Don't expand __builtin_prefetch here.
247
248 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
249
250 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
251 in test for a subreg.
252
253 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
254
255 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
256 strings.
257
258 2001-12-07 Richard Henderson <rth@redhat.com>
259
260 * doc/extend.texi: Fix typo last change.
261
262 * c-decl.c (c_language): Remove duplicate.
263
264 2001-12-07 Dale Johannesen <dalej@apple.com>
265
266 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
267 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
268 specific codegen, eliminate a register copy.
269 (print_operand_address): Add support for Darwin's lo16(constant)
270 syntax.
271 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
272 generation of addresses within very large data objects.
273 (s8bit_cint_operand): New.
274 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
275 Move "mtjmpr" to correct functional unit for 750/7400/7450.
276 Add imul2 and imul3 insn types for multiplication by 16- and
277 8-bit constants.
278 Change tablejump patterns to strongly discourage using LR
279 rather than CTR.
280 Add %lo16 patterns for Darwin loads and stores.
281
282 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
285
286 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
287
288 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
289 with %sp because it can cause the delayed instruction to load
290 below the stack.
291
292 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
293
294 * alpha.c (alpha_expand_unaligned_store,
295 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
296 call to immed_double_const.
297
298 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
299
300 * doc/extend.texi (Variable Attributes): Document vector_size.
301
302 * attribs.c (c_common_attribute_table): Add vector_size.
303 (handle_vector_size_attribute): New.
304 (vector_size_helper): New.
305 (decl_attributes): Relayout the decl after calculating attribs.
306
307 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
308
309 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
310 description for Trouble section.
311 * doc/install-old.texi: Adjust for inclusion as chapter of new
312 installation manual.
313 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
314 Adjust to include old installation chapter as chapter of new
315 installation manual.
316
317 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
318
319 * rtl.h (get_jump_table_offset): Declare.
320 * rtlanal.c (get_jump_table_offset): Implement.
321
322 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
323
324 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
325 Deleted; were used only by BB profiler code.
326 (sbb_head, sbb_tail, sbb_label_num): Likewise.
327 (end_final): Delete now-unused vars I, PTR, and SPTR.
328
329 * expr.c (store_field): Remove warning.
330 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
331 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
332 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
333 divisor constant power of 2.
334 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
335
336 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
337
338 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
339 shifting.
340
341 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
342
343 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
344 (DWARF_FRAME_REGISTERS): Delete.
345
346 2001-12-06 Janis Johnson <janis187@us.ibm.com>
347
348 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
349 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
350 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
351 with defaults for read prefetch with high degree of locality.
352 * doc/extend.texi (__builtin_prefetch): Update documentation.
353 * doc/md.texi (prefetch): Add documentation.
354
355 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
356
357 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
358 UNIX V5.1A stdio.h.
359 * fixinc/fixincl.x: Regenerate.
360 Fixes PR libf2c/4826.
361
362 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
363 Richard Henderson <rth@redhat.com>
364
365 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
366 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
367
368 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
369 to PRE_GCC3_DWARF_FRAME_REGISTERS.
370 (frame_state): Same.
371 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
372
373 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
374
375 * langhooks.c (lhd_staticp): Mark parameter with
376 ATTRIBUTE_UNUSED.
377
378 2001-12-06 H.J. Lu <hjl@gnu.org>
379
380 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
381 reduce noise.
382 (.po.pox): Likewise.
383 (o/$(PACKAGE).pot): Likewise.
384
385 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
386
387 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
388 * tree-inline.c (expand_call_inline): ... here.
389
390 2001-12-06 H.J. Lu <hjl@gnu.org>
391
392 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
393 (.po.pox): Likewise.
394 (o/$(PACKAGE).pot): Likewise.
395
396 2001-12-06 David O'Brien <obrien@FreeBSD.org>
397
398 * config.gcc: Include dbxelf.h before elfos.h.
399 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
400
401 2001-12-06 Zack Weinberg <zack@codesourcery.com>
402
403 * cppfiles.c (open_file): If we've opened a directory by
404 mistake, close it.
405 (find_include_file): Avoid turning / into // or // into ///.
406
407 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
408
409 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
410 (STRUCT_VALUE_REGNUM): Restore definition.
411
412 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
413
414 * flow.c (find_regno_partial): Return register, not the expression
415 the register is in.
416
417 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
418
419 * function.c (handle_epilogue_set): Check for FP setting case when
420 SP is set from FP in same insn.
421
422 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
423
424 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
425 RTX when calling alter_subreg().
426 (store_multiple_sequence): Pass pointer to RTX when calling
427 alter_subreg().
428
429 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
430
431 * function.c (assing_parms): Fix typo in last change.
432 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
433 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
434 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
435 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
436
437 2001-12-06 Alan Modra <amodra@bigpond.net.au>
438
439 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
440 correct code selecting section.
441
442 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
443
444 * final.c (count_basic_block, add_bb, add_bb_string):
445 Kill.
446 (end_final, final_start_function, final, final_scan_insn,
447 leaf_function_p): Kill BB profiler related code.
448 * flags.h (profile_block_flag): Kill.
449 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
450 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
451 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
452 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
453 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
454 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
455 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
456 __bb_init_trace_func): Kill.
457 * toplev.c (profile_block_flag): Kill.
458 (indepdendent_decode_option, process_options): Kill -a related code.
459 * alpha.c (direct_call_operand): Likewise.
460 * arm.c (arm_expand_prologue, thumb_expand_prologue,
461 thumb_expand_epilogue): Likewise.
462 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
463 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
464 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
465 MACHINE_STATE_RESTORE): Kill.
466 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
467 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
468 MACHINE_STATE_RESTORE): Kill.
469 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
470 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
471 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
472 code.
473 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
474 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
475 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
476 MACHINE_STATE_RESTORE): Kill.
477 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
478 * i960.c (i960_output_function_prologue): Kill BB profiler related
479 code.
480 * ia64.c (ia64_compute_frame_size): Likewise.
481 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
482 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
483 MACHINE_STATE_RESTORE): Kill.
484 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
485 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
486 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
487 MACHINE_STATE_RESTORE): Kill.
488 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
489 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
490 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
491 MACHINE_STATE_RESTORE): Kill.
492 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
493 Kill BB profiler related code.
494 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
495 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
496 MACHINE_STATE_RESTORE): Kill.
497 * mips.c (mips_expand_prologue): Kill BB profiler related code.
498 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
499 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
500 MACHINE_STATE_RESTORE): Kill.
501 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
502 * s960.c (s390_function_prologue): Kill BB profiler related code.
503 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
504 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
505 MACHINE_STATE_RESTORE): Kill.
506 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
507 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
508 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
509 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
510 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
511 sparc_nonflat_function_epilogue): Kill BB profiler related code.
512 (sparc_function_block_profiler, sparc_block_profiler,
513 sparc_function_block_profiler_exit): Kill.
514 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
515 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
516 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
517 MACHINE_STATE_RESTORE): Kill.
518 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
519 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
520 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
521 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
522 MACHINE_STATE_RESTORE): Kill.
523 * doc/invoke.texi: Kill documentation of -a and -ax.
524 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
525 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
526 MACHINE_STATE_RESTORE): Kill.
527
528 2001-10-26 Steve Christiansen <smc@us.ibm.com>
529
530 * doc/rtl.texi: Use a table to display RTL format characters.
531
532 2001-12-06 Bo Thorsen <bo@suse.co.uk>
533
534 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
535
536 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
537
538 * function.c (keep_stack_depressed): Check global_live_at_start
539 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
540
541 2001-12-05 David O'Brien <obrien@FreeBSD.org>
542
543 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
544 as set by the generic FreeBSD configure framework.
545
546 2001-12-04 Jason Merrill <jason@redhat.com>
547
548 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
549 start_inlining, end_inlining.
550 * tree-inline.c (expand_call_inline): Call them.
551 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
552 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
553 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
554 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
555 (lhd_tree_inlining_end_inlining): New fn.
556
557 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
558
559 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
560 * c-common.h (shadow_warning): New.
561 * c-decl.c: Include c-common.h.
562 (warn_if_shadowing): New, broken out of pushdecl.
563 (pushdecl): Use warn_if_shadowing.
564 (store_parm_decls): Prevent duplicate -Wshadow warnings.
565
566 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
567
568 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
569 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
570 (LIB_SPEC): Remove.
571
572 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
573
574 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
575 (QUAL_UNION_TYPE): New type.
576
577 * varasm.c (output_constant, case ERROR_MARK): New case.
578
579 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
580 (c_com): Delete its reference.
581 * builtins.c: Delete memory checking code.
582 * calls.c, expr.c, function.c, stmt.c: Likewise.
583 * builtins.c (expand_builtin_arg_info): Remove reference to
584 EXPAND_MEMORY_USE_* modifiers.
585 * explow.c (expr_size): Likewise.
586 * expr.c (expand_expr, expand_increment): Likewise.
587 * expr.h (ARGS_SIZE_RTX): Likewise.
588 * function.c (assign_parms, expand_pending_sizeso): Likewise.
589 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
590 * expr.c (in_check_memory_usage): Delete.
591 (get_push_address, get_memory_usage_from_modifier): Delete.
592 (expand_assigment): Use EXPAND_WRITE on destination.
593 (expand_expr): Delete ro_modifier.
594 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
595 add EXPAND_WRITE.
596 (memory_use_mode): Delete.
597 * flags.h (flag_check_memory_usage): Deleted.
598 (flag_prefix_function_name): Likewise.
599 * function.c (expand_function_start): Don't set
600 current_function_check_memory_usage.
601 * function.h (check_memory_usage): Delete.
602 * libfuncs.h, optabs.c: Delete chkr_* stuff.
603 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
604 EXPAND_WRITE.
605 * toplev.c (flag_check_memory_usage): Deleted.
606 (flag_prefix_function_name): Likewise.
607 (f_options, process_options): Delete references to above.
608 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
609 * varasm.c (CHKR_PREFIX): Deleted.
610 (make_decl_rtl): Remove flag_prefix_function_name handling.
611 (assemble_name): Likewise.
612 * doc/extend.texi: Remove no_check_memory_usage attribute.
613 * doc/invoke.texi: Remove -fcheck-memory-usage
614 and -fprefix-function-name.
615
616 2001-12-05 Andreas Schwab <schwab@suse.de>
617
618 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
619 from autoconf.
620
621 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
622
623 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
624
625 2001-12-05 William Cohen <wcohen@redhat.com>
626
627 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
628 instruction.
629
630 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
631
632 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
633 builtins.
634
635 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
636 better reflect reality (change from Apple's tree).
637 Add more of altivec instructions.
638 Add ftruncv4sf2 pattern.
639 Remove more unspecs (vector merge instructions, etc).
640
641 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
642 builtins.
643 (bdesc_1arg): New, for 1 argument altivec builtins.
644 (altivec_expand_builtin): Handle unary and ternary ops.
645 (altivec_init_builtins): Ditto.
646
647 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
648
649 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
650 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
651
652 2001-12-05 Jakub Jelinek <jakub@redhat.com>
653
654 * gcse.c (store_killed_in_insn): Consider pure calls
655 as potential store killers in addition to normal calls.
656
657 2001-12-05 Jakub Jelinek <jakub@redhat.com>
658
659 * expr.c (expand_expr): When checking promoted value, use
660 DECL_MODE (exp) and not mode.
661
662 2001-12-05 Jakub Jelinek <jakub@redhat.com>
663
664 * c-typeck.c (output_init_element): Call digest_init
665 just once, not in each if branch and check its return value for
666 error_mark_node.
667
668 2001-12-05 Jakub Jelinek <jakub@redhat.com>
669
670 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
671 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
672 (finish_struct): Break the loop if n_incomplete went to 0.
673 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
674
675 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
676
677 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
678
679 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
680 Douglas B. Rupp <rupp@gnat.com>
681
682 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
683 * doc/invoke.texi: Add -gvms.
684 * doc/passes.texi: Add mention of vmsdbgout.c.
685 * doc/tm.texi: Document VMS debugging output.
686
687 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
688
689 * function.h (tree, rtx): Remove no-longer-needed definitions.
690
691 * function.c (keep_stack_depressed): Refine check for register
692 clobbered over call.
693
694 * expr.c (store_expr): When copying string constant into array,
695 use functions that update memrefs instead of computations on
696 addresses to better track MEMs. Also properly handle 32/64 pointers.
697 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
698 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
699
700 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
701 underneath COMPONENT_REFs.
702 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
703
704 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
705
706 * toplev.c (display_target_options): Don't print twice.
707
708 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
709
710 * emit-rtl.c (set_unique_reg_note): Don't set
711 a REG_EQUAL or REG_EQUIV note if multiple sets
712 are present.
713
714 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
715
716 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
717 CASE_DROPS_THROUGH.
718
719 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
720
721 * rtl.h (initialize_uninitialized_subregs): New prototype.
722 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
723 when optimization is on.
724 * flow.c (find_regno_partial): Find subregs within an expression.
725 (initialize_uninitialized_subregs): Initialize live on entry registers
726 which are used in subreg expressions.
727
728 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
729
730 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
731
732 2001-12-04 DJ Delorie <dj@redhat.com>
733
734 * fixinc/fixincl.c (initialize): Avoid problemsome macro
735 parameter names (PR 3388).
736
737 2001-12-05 Alan Modra <amodra@bigpond.net.au>
738
739 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
740 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
741
742 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
743
744 * c-common.def (COMPOUND_LITERAL_EXPR): New.
745 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
746 (c_staticp): New function.
747 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
748 (c_staticp): Declare.
749 * c-typeck.c (default_function_array_conversion, build_unary_op):
750 Don't handle CONSTRUCTOR specially.
751 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
752 * c-decl.c (build_compound_literal): New function.
753 * c-tree.h (build_compound_literal): Declare.
754 * c-parse.in (primary): Use build_compound_literal.
755 * c-lang.c (LANG_HOOKS_STATICP): Define.
756 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
757 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
758 * doc/extend.texi: Update documentation of compound literals.
759 Fixes PR c/4787.
760
761 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
762
763 * langhooks.h (struct lang_hooks): Add staticp.
764 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
765 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
766 * langhooks.c (lhd_staticp): New function.
767 * tree.c (staticp): Call lang_hooks.staticp for language-specific
768 tree codes.
769
770 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
771
772 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
773 * gcc.c (process_command): Ensure the cpp driver sees
774 --help and --target-help, and that the help is printed
775 exactly once.
776
777 2001-12-04 David Edelsohn <edelsohn@gnu.org>
778
779 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
780
781 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
782
783 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
784 flag_strict_aliasing. Use separate assignment statements.
785
786 2001-12-04 Zack Weinberg <zack@codesourcery.com>
787
788 * build-make, cross-make: Delete file.
789 * configure.in: Set and substitute CROSS, ALL,
790 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
791 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
792 whether build == host and host == target. Do not
793 AC_SUBST_FILE build_overrides or cross_overrides. Do not
794 AC_SUBST cross_defines or extra_c_flags.
795 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
796 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
797 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
798 partially or completely with autoconf-substituted @variable@
799 notation.
800 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
801 @build_overrides@, @extra_c_flags@, all.build, install-build,
802 install-cross-rest, install-float-h-cross): Deleted.
803 (install-normal): Rename to install. Delete old "install"
804 indirection rule.
805
806 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
807
808 * stmt.c (expand_return): Clear destination instead of clobbering it
809 when setting a return value via bitsets.
810
811 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
812
813 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
814 it has DECL_SAVED_TREE.
815
816 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
817 is in a different binding level, get its abstract origin to be
818 olddecl.
819 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
820 check earlier.
821 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
822 DECL_INITIAL is NULL.
823
824 2001-12-04 Jakub Jelinek <jakub@redhat.com>
825
826 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
827 Return correct value if one of the subexpressions was optimized to
828 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
829 (and_reg_cond): Similarly.
830
831 2001-12-04 Jakub Jelinek <jakub@redhat.com>
832
833 * function.c (assign_parms): Set last_named only for last named
834 argument.
835
836 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
837
838 * doc/install.texi: Use the GFDL. Include years from old install
839 manual in copyright notice. Include copyright and GFDL notice on
840 HTML index page. Include usual footer on testing.html.
841 * doc/install.texi2html: Build gfdl.html. Use -I
842 $SOURCEDIR/include.
843 * doc/include/fdl.texi: Adapt for use in the install manual.
844
845 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
846
847 * doc/install.texi: Document that installed native compiler for
848 building cross compilers should be GCC 2.95 or later.
849
850 2001-12-03 Eric Christopher <echristo@redhat.com>
851
852 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
853 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
854 patterns.
855
856 2001-12-03 Janis Johnson <janis187@us.ibm.com>
857
858 * rtl.def (PREFETCH): New rtx code.
859 * doc/rtl.texi (PREFETCH): Add documentation.
860 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
861 * rtlanal.c (reg_referenced_p): Ditto.
862 * sched-vis.c (print_exp): Ditto.
863 * ssa-dce.c (find_inherently_necessary): Ditto.
864
865 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
866 (PREFETCH_BLOCK): Define.
867 * config/ia64/ia64.md (itanium_class): Add lfetch.
868 (prefetch, prefetch_internal): New.
869
870 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
871 * builtins.def (BUILT_IN_PREFETCH): New.
872 * builtins.c (expand_builtin_expect): New.
873 (expand_builtin): Call it.
874 * doc/extend.texi: Document __builtin_prefetch.
875
876 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
877 conflicts with new generic prefetch functionality.
878 * config/i386/i386.c (ix86_expand_builtin): Use new name for
879 prefetch_sse.
880
881 2001-12-02 Ziemowit Laski <zlaski@apple.com>
882
883 * objc/Make-lang.in: Update copyright.
884 (OBJC_OBJS): Add objc-lang.o.
885 (objc-lang.o): New rule.
886 * objc/config-lang.in: Fix file description and update
887 copyright.
888 * objc/objc-act.c: Do not include langhooks.h and
889 langhooks-def.h
890 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
891 (objc_post_options): Move to objc-lang.c.
892 (objc_init_options): Move to objc-lang.c.
893 (objc_init): Make non-static.
894 (objc_decode_option): Make non-static.
895 (HASHFUNCTION): Remove macro.
896 (hash_func): New function.
897 (hash_enter): Replace HASHFUNCTION with hash_func.
898 (hash_lookup): Replace HASHFUNCTION with hash_func.
899 (maybe_objc_tree_codes): New function.
900 (init_objc): Move ObjC tree code initialization to
901 maybe_objc_tree_codes().
902 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
903 (objc_init): New public prototype.
904 (objc_decode_option): New public prototype.
905 (maybe_add_objc_tree_codes): New public prototype.
906 * objc/objc-lang.c: New file.
907 (lang_hooks): Moved from objc-act.c.
908 (objc_post_options): Moved from objc-act.c.
909 (objc_init_options): Moved from objc-act.c.
910
911 2001-12-03 Geoff Keating <geoffk@redhat.com>
912
913 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
914 of array elements.
915
916 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
917
918 PR c/4988
919 * gcc.c (process_command): Don't add a preprocessor option for
920 --help and --target-help; cc1 is enough.
921
922 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
923
924 * c-decl.c (grokdeclarator): Use ISO word.
925 * cppinit.c: Remove leading capital from diagnostic messages, as
926 per GNU coding standards.
927 * emit-rtl.c: Similarly.
928 * final.c: Similarly.
929 * gcc.c: Similarly.
930 * tradcpp.c: Similarly.
931 * config/arm/arm.c: Similarly.
932 * config/arm/arm.h: Similarly.
933 * config/avr/avr.c: Similarly.
934 * config/avr/avr.h: Similarly.
935 * config/c4x/c4x.c: Similarly.
936 * config/cris/cris.c: Similarly.
937 * config/cris/cris.h: Similarly.
938 * config/d30v/d30v.c: Similarly.
939 * config/dsp16xx/dsp16xx.c: Similarly.
940 * config/dsp16xx/dsp16xx.h: Similarly.
941 * config/h8300/h8300.c: Similarly.
942 * config/i386/i386.c: Similarly.
943 * config/i386/xm-djgpp.h: Similarly.
944 * config/i960/i960.h: Similarly.
945 * config/m32r/m32r.c: Similarly.
946 * config/m68hc11/m68hc11.c: Similarly.
947 * config/m88k/m88k.c: Similarly.
948 * config/m88k/m88k.h: Similarly.
949 * config/mcore/mcore.c: Similarly.
950 * config/mcore/mcore.h: Similarly.
951 * config/mips/mips.c: Similarly.
952 * config/mmix/mmix.c: Similarly.
953 * config/pa/pa.c: Similarly.
954 * config/rs6000/rs6000.c: Similarly.
955 * config/rs6000/sysv4.h: Similarly.
956 * config/s390/s390.c: Similarly.
957 * config/sparc/sparc.c: Similarly.
958 * config/v850/v850-c.c: Similarly.
959 * config/v850/v850.c: Similarly.
960
961 2001-12-03 Zack Weinberg <zack@codesourcery.com>
962
963 * rs6000.h (RETURN_IN_MEMORY): Cast result of
964 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
965
966 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
967
968 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
969 bit twiddling constant.
970
971 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
972
973 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
974 call purge_dead_edges after removing.
975 (delete_null_pointer_checks): Do not handle delete_list.
976
977 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
978 (count_basic_blocks): ... here.
979 (find_basic_blocks, find_bb_boundaries): Cleanup.
980
981 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
982 overflow for types greater then 2 * HOST_WIDE_INT.
983
984 * reload.c (find_reloads): Update the duplicates after swapingg.
985
986 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
987
988 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
989
990 2001-12-02 Zack Weinberg <zack@codesourcery.com>
991
992 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
993 MASK_LONG_DOUBLE_128): Delete.
994 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
995 TARGET_AIX_STRUCT_RET): New flags.
996 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
997 -mlong-double-64. Add entries for -m(no-)aix-struct-return
998 and -m(no-)svr4-struct-return.
999 (TARGET_OPTIONS): Add entry for -mlong-double-.
1000 (rs6000_long_double_size_string, rs6000_long_double_type_size,
1001 rs6000_altivec_abi): Declare.
1002 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1003 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1004 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1005 structures of size <= 8 bytes in registers.
1006 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1007
1008 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1009 rs6000_long_double_type_size, rs6000_altivec_abi): New
1010 globals.
1011 (rs6000_override_options): Set rs6000_long_double_type_size
1012 from rs6000_long_double_size_string, if nonzero. Set the
1013 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1014 not already set.
1015 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1016 target_flags bit.
1017 (rs6000_init_builtins): This hook now takes no arguments.
1018
1019 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1020 DRAFT_V4_STRUCT_RET to 1.
1021
1022 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
1023
1024 * c-typeck.c (really_start_incremental_init, push_init_level):
1025 Avoid constructor_max_index being other than an INTEGER_CST.
1026
1027 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1028
1029 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1030 unsigned.
1031 (ASM_GENERATE_INTERNAL_LABEL): Same.
1032 (UNIQUE_SECTION): Fix typo.
1033
1034 2001-12-02 Richard Henderson <rth@redhat.com>
1035
1036 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1037
1038 2001-12-02 Richard Henderson <rth@redhat.com>
1039
1040 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1041 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1042 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1043 * expr.h, final.c, reload1.c: Adjust users.
1044
1045 * alias.c (nonoverlapping_component_refs_p): New.
1046 (decl_for_component_ref, adjust_offset_for_component_ref): New.
1047 (nonoverlapping_memrefs_p): Use them.
1048 * emit-rtl.c (component_ref_for_mem_expr): New.
1049 (set_mem_attributes): Use it.
1050 (set_mem_offset): New.
1051 * expr.c (expand_assignment): Call set_mem_attributes for
1052 inner references; adjust the memory offset as needed.
1053 * print-rtl.c (print_mem_expr): New.
1054 (print_rtx): Use it.
1055
1056 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
1057
1058 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1059
1060 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1061 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1062 (ASM_SPEC): Don't redefine.
1063 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1064 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1065 * config/alpha/vms-dwarf2.asm: New file.
1066
1067 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1068 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1069 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1070 (vmsdbgout_after_prologue): New declaration.
1071 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1072 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1073 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1074 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1075 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1076 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1077 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1078 Test VMS_DEBUGGING_INFO.
1079 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1080 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1081 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1082 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1083 VMS_AND_DWARF2_DEBUG.
1084 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1085 (decode_g_option): Add "vms" to debug_type_names.
1086 (process_options): Set vmsdbg_debug_hooks if -gvms.
1087 (lang_independent_init): Emit line number for VMS unless -g0.
1088 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1089 * vmsdbg.h, vmsdbgout.c: New files.
1090
1091 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1092
1093 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1094
1095 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1096
1097 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1098 * dwarf2out.c (is_cxx): Prototype.
1099 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1100 warning.
1101 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1102
1103 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1104
1105 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1106
1107 2001-12-02 Geoff Keating <geoffk@redhat.com>
1108
1109 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1110 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1111 rather than simplify_subreg. Check for volatile-ness. Check that
1112 we're not splitting one slow operation into two slow operations.
1113
1114 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1115
1116 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1117 before shifting.
1118
1119 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1120
1121 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1122 capital from diagnostics.
1123 * c-lex.c (cb_file_change): Similarly.
1124 * c-parse.in : Similarly.
1125 * cfgrtl.c (verify_flow_info): Similarly.
1126 * collect2.c: Similarly.
1127 * cppfiles.c (find_include_file): Similarly.
1128 * cppinit.c (cpp_handle_option): Similarly.
1129 * cpplex.c (cpp_spell_token): Similarly.
1130 * cppmain.c (do_preprocessing): Similarly.
1131 * gcc.c (translate_options, process_command, do_spec1,
1132 main, pfatal_execute): Similarly.
1133 * genattr.c (main): Similarly.
1134 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1135 write_test_expr, main): Similarly.
1136 * gencodes.c (main): Similarly.
1137 * genconfig.c (main): Similarly.
1138 * genconstants.c (main): Similarly.
1139 * genemit.c (main): Similarly.
1140 * genextract.c (main): Similarly.
1141 * genflags.c (main): Similarly.
1142 * genopinit.c (main): Similarly.
1143 * genoutput.c (process_template, main): Similarly.
1144 * genpeep.c (main): Similarly.
1145 * genrecog.c (main): Similarly.
1146 * gensupport.c (is_predicable, identify_predicable_attribute,
1147 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1148 * ggc-page.c (alloc_anon): Similarly.
1149 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1150 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1151 parse_stabs_common, parse_stabs, write_varray, write_object,
1152 read_seek, copy_object, main, error): Similarly.
1153 * profile.c (compute_branch_probabilities): Similarly.
1154 * reg-stack.c (check_asm_stack_operands): Similarly.
1155 * reload.c (find_reloads): Similarly.
1156 * reload1.c (spill_failure, failed_reload): Similarly.
1157 * rtl-error.c (_fatal_insn_not_found): Similarly.
1158 * toplev.c (read_integral_parameter, crash_signal,
1159 decode_f_option, set_target_switch, parse_options_and_default_flags)
1160 : Similarly.
1161 * tradcif.y (parse_number, yylex): Similarly.
1162 * tradcpp.c (main, fancy_abort): Similarly.
1163 * tree.c (tree_check_failed): Similarly.
1164 * varray.c (varray_check_failed): Similarly.
1165 * xcoffout.c (xcoff_output_standard_types): Similarly.
1166 objc:
1167 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1168 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1169 finish_message_expr, build_protocol_expr, is_public,
1170 start_class): Similarly.
1171
1172 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1173
1174 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1175 trailing period from diagnostics.
1176 * c-lex.c (cb_file_change): Similarly.
1177 * cppmacro.c (check_trad_stringification): Similarly.
1178 * gcc.c (do_spec_1): Similarly.
1179 * genattr.c (main): Similarly.
1180 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1181 * gencodes.c (main): Similarly.
1182 * genconfig.c (main): Similarly.
1183 * genconstants.c (main): Similarly.
1184 * genemit.c (main): Similarly.
1185 * genextract.c (main): Similarly.
1186 * genopinit.c (main): Similarly.
1187 * genoutput.c (main): Similarly.
1188 * genpeep.c (main): Similarly.
1189 * genrecog.c (main): Similarly.
1190 * mips-tfile.c (add_file, error): Similarly.
1191 * profile.c (init_branch_prob): Similarly.
1192 * reload1.c (spill_failure): Similarly.
1193 * stmt.c (parse_output_constraint): Similarly.
1194 * varasm.c (assemble_variable): Similarly.
1195
1196 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1197
1198 * m68k.c (init_FPA_table): Provide static prototype.
1199 * mips/abi64.h (mips_function_value): Move prototype to ...
1200 * mips-protos.h (mips_function_value): ... here.
1201 * mips.c: Include halfpic.h.
1202 * output.h (rdata_section): Prototype.
1203
1204 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1205 * m88k.c (m88k_svr3_asm_out_constructor,
1206 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1207 !OBJECT_FORMAT_ELF.
1208 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1209 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1210 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1211
1212 2001-12-01 Geoff Keating <geoffk@redhat.com>
1213
1214 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1215 LO_SUM addresses less than word size are not legitimate,
1216 because they lead to invalid SUBREGs.
1217 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1218
1219 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
1220
1221 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1222 while scanning for multiple back edges.
1223
1224 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1225
1226 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1227 * config/rs6000/tramp.asm: Use it.
1228
1229 2001-12-01 Zack Weinberg <zack@codesourcery.com>
1230
1231 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1232 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1233 xmalloc.
1234
1235 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1236
1237 * pa.c (output_ascii): Cast `p' to unsigned char.
1238
1239 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1240
1241 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1242 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1243 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1244 (altivec_init_builtins): Ditto.
1245 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1246
1247 * config/rs6000/rs6000.md: Add attribute types vecsimple,
1248 veccomplex, vecfloat, and vecperm, for altivec instructions.
1249 Modify altivec patterns to use appropriate attribute type.
1250 Modify altivec patterns to match RTL operations where appropriate
1251 (IE no unspec where we can avoid it).
1252 Add vector unit scheduling for ppc7450.
1253 Rename patterns to what they are where appropriate
1254 (altivec_vaddfp->addv4sf3, etc)
1255
1256 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1257 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1258
1259 * config/rs6000/sysv4.h: Add -mcpu=7450.
1260
1261 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1262 _builtin_altivec_ld_interal function.
1263
1264 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1265
1266 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1267 strchr, strrchr, isascii, gettimeofday.
1268 * config.in, configure: Regenerate.
1269
1270 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1271
1272 * unroll.c (unroll_loop): Correct special exit cases.
1273
1274 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1275
1276 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1277 accept DFmode and DImode only.
1278
1279 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1280
1281 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1282 (STACK_DYNAMIC_OFFSET): Same.
1283
1284 2001-11-30 Richard Henderson <rth@redhat.com>
1285
1286 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1287
1288 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1289
1290 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1291 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1292 the values in call_used_registers.
1293
1294 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1295
1296 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1297 gthr-single.
1298
1299 2001-11-30 Jason Merrill <jason@redhat.com>
1300
1301 * dwarf2out.c (is_cxx): New fn.
1302 (add_data_member_location_attribute): Check it.
1303 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1304
1305 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1306
1307 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1308
1309 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1310
1311 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1312 MODE_VECTOR_FLOAT as allowed.
1313
1314 2001-11-29 Zack Weinberg <zack@codesourcery.com>
1315
1316 Purge cruft now we have build libiberty.
1317
1318 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1319 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1320 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1321 USE_HOST_STRSTR): Delete variables.
1322 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1323 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1324 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1325 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1326 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1327 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1328 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1329 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1330 (HOST_LIBS): Ditto.
1331 (HOST_RTL): Remove hashtab.o safe-ctype.o.
1332 (OBJS): Remove splay-tree.o.
1333 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1334 (distclean): No need to delete splay-tree.c obstack.c
1335 hashtab.c safe-ctype.c.
1336 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1337 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1338 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1339 Delete.
1340 * configure.in: Don't use them.
1341 Set and substitute @FORBUILD@.
1342 * config.in, configure: Regenerate.
1343 * doprint.c: Move to libiberty/_doprnt.c.
1344 * doc/configterms.texi: Document that libiberty is now built
1345 up to three times. Fix typo.
1346
1347 2001-11-30 Jason Merrill <jason@redhat.com>
1348
1349 * dwarf2out.c (add_data_member_location_attribute): Do the
1350 right thing for virtual bases.
1351 * dbxout.c (dbxout_type): For a virtual base, print the offset
1352 within the vtable.
1353
1354 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1355
1356 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1357
1358 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
1359
1360 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1361 go in memory.
1362 Remove unused attribute for named.
1363
1364 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1365
1366 * genattrtab.c (attr_rtx_1): New function containing the
1367 majority of `attr_rtx'. Move variable declarations into the
1368 scope where they are used. Eliminate unnecessary gotos.
1369 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1370 VA_FIXEDARG, and VA_CLOSE.
1371
1372 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
1373
1374 * config/cris/cris.c (cris_notice_update_cc): Check first
1375 destination also against overlap with cc_status.value2 and second
1376 destination against overlap with cc_status.value1. For overlaps,
1377 clear overlapped value, don't just CC_STATUS_INIT.
1378
1379 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1380 Fix typo in comment.
1381 (LINK_SPEC): Remove whitespace at end of line.
1382
1383 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1384
1385 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1386
1387 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1388
1389 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1390 macros for the supported debugging types.
1391
1392 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
1393
1394 PR other/4932
1395 * config/i386/i386.c (print_operand): Verify that the
1396 argument to %c is a constant and not a conditional which
1397 needs to be reversed.
1398
1399 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
1400
1401 * emit-rtl.c (gen_lowpart_common): Fix conversion of
1402 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
1403 of low part of those arrays for 32bit and 64bit hosts.
1404
1405 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1406
1407 * Makefile.in (insn-output.o): Depend on insn-codes.h.
1408
1409 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1410
1411 * configure.in (target_list): Add generated-manpages.
1412 * configure: Regenerate.
1413 * Makefile.in (generated-manpages): Depend on
1414 lang.generated-manpages.
1415 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1416
1417 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
1418
1419 * config/arm/crti.asm (_init): Add .thumb_func if compiled
1420 with -mthumb.
1421 (_fini): Add .thumb_func if compiled with -mthumb.
1422
1423 2001-11-28 Eric Christopher <echristo@redhat.com>
1424
1425 * config/mips/mips.c (override_options): Fix thinko in mips_tune
1426 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1427
1428 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
1429
1430 * alpha.md (tablejump): Use pic_offset_table_rtx
1431 instead of gen_rtx_REG.
1432
1433 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
1434
1435 * expr.c (store_expr): When copying a string constant into an
1436 array, reset the known alignment of the MEM for the section to
1437 be cleared to BITS_PER_UNIT.
1438
1439 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1440
1441 * config/cris/cris.c: Remove whitespace at end of line.
1442
1443 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
1444
1445 * config.gcc (i[34567]86-*-interix3*): New case.
1446 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1447 New files.
1448
1449 2001-11-28 Richard Henderson <rth@redhat.com>
1450
1451 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1452 symbolic_operand as the predicate.
1453
1454 2001-11-28 Richard Henderson <rth@redhat.com>
1455
1456 * doloop.c (doloop_modify_runtime): Properly select induction
1457 variable; skip late entry test if biv initializer created by loop.
1458
1459 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1460
1461 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1462 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1463
1464 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1465
1466 * tree.h: Add missing checks on some macros; make formatting more
1467 consistent.
1468
1469 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1470 level; only add to pending_sizes if find it.
1471
1472 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1473
1474 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1475 Add casts to remove warnings.
1476
1477 * Makefile.in (OBJS): Sort alphabetically.
1478
1479 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1480 Also minor cleanups.
1481
1482 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
1483
1484 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1485 (FLAGS_TO_PASS): Add STAGE_PREFIX.
1486 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1487 to STAGE_PREFIX.
1488
1489 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
1490
1491 * cse.c (true_dependence_in_rtx): New function.
1492 (invalidate): Use it.
1493
1494 * c-common.h (GOTO_FAKE_P): New macro.
1495 * tree-inline.c (GOTO_FAKE_P): Set.
1496 * c-tree.texi (GOTO_FAKE_P): Document.
1497
1498 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1499 containing pointers.
1500 (output_addressed_constants): Check for local/external relocations.
1501 * elfos.h (SELECT_SECTION): Classify data section.
1502 * tm.texi (SELECT_SECTION): Update documentation.
1503
1504 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1505 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1506
1507 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1508
1509 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1510 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1511 OBJECT_FORMAT_ROSE.
1512
1513 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1514
1515 * config/cris/cris.c: Tweak spacing for prototypes.
1516 (LOSE_AND_RETURN): New macro.
1517 (cris_operand_lossage): New function.
1518 (cris_print_index, cris_print_base): Use cris_operand_lossage
1519 rather than fatal_insn.
1520 (cris_print_operand, cris_print_operand_address): Use
1521 LOSE_AND_RETURN rather than fatal_insn and internal_error.
1522 (cris_output_addr_const): Use LOSE_AND_RETURN and
1523 output_operand_lossage rather than fatal_insn and internal_error
1524 for valid but unexpected rtx expressions.
1525
1526 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1527 for a SUBREG in src or dest, abort instead.
1528
1529 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1530
1531 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1532 doc.
1533
1534 2001-11-27 Jakub Jelinek <jakub@redhat.com>
1535
1536 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1537 preprocessor define. If only DBX_DEBUGGING_INFO or only
1538 DWARF2_DEBUGGING_INFO is supported for the target, provide
1539 appropriate definitions.
1540
1541 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1542
1543 * Makefile.in: Update, and add c-objc-common.o dependencies.
1544 * c-lang.c: Remove unnecessary includes.
1545 (c_init): Move bulk of code to c_objc_common_init, and call it.
1546 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1547 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1548 c-objc-common.c.
1549 * c-objc-common.c: New. Mostly pulled from c-lang.c.
1550 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1551 c_objc_common_init, c_missing_noreturn_ok_p): New.
1552 * toplev.c: Update comment.
1553 * doc/passes.texi: Update.
1554 objc:
1555 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1556 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1557 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1558 (objc_init): Update to use c_objc_common_init.
1559
1560 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1561
1562 * cpphash.c (_cpp_init_hashtable): Update.
1563 * cpphash.h (struct spec_nodes): Remove n_L.
1564 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1565
1566 2001-11-17 Richard Henderson <rth@redhat.com>
1567
1568 * unroll.c (loop_iterations): Move last change ...
1569 * doloop.c (doloop_modify_runtime): ... here.
1570
1571 2001-11-17 Corey Minyard <minyard@acm.org>
1572 Richard Henderson <rth@redhat.com>
1573
1574 * unroll.c (loop_iterations): Detect one situation in which we
1575 overestimate the number of iterations.
1576
1577 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1578
1579 * gcc.c (set_input): Export.
1580 Move declaration ...
1581 gcc.h (set_input): ... here.
1582
1583 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1584
1585 * gcc.c (set_collect_gcc_options): New function, split out from
1586 main.
1587 Ignore elided switches.
1588 (do_spec): Invoke before executing command.
1589 (do_spec_1): Likewise.
1590 Fixes PR other/3968.
1591
1592 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
1593
1594 * config/cris/cris.h (INT_ASM_OP): Remove.
1595
1596 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1597
1598 * config/i386/sol2.h (WINT_TYPE): Redefine.
1599 (WINT_TYPE_SIZE): Likewise.
1600
1601 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1602
1603 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1604 (dup2): Make static and add prototype.
1605 * m68k/plexus.h: Don't define NO_DUP2.
1606 * configure.in (AC_CHECK_FUNCS): Add dup2.
1607 * config.in, configure: Regenerate.
1608
1609 * ia64/aix.h (REG_SIZE): Don't #undef.
1610 * sparc.h (REG_SIZE): Delete.
1611 * flow.c (mark_used_regs): Don't use REG_SIZE.
1612 * regs.h (REG_SIZE): Delete.
1613
1614 2001-11-27 Andreas Schwab <schwab@suse.de>
1615
1616 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1617 PREFERRED_DEBUGGING_TYPE.
1618
1619 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1620
1621 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1622 (expr.o, varasm.o): Depends on langhooks.h.
1623 * c-common.c (c_safe_from_p): Always declare.
1624 (c_expand_expr): Refine when declared.
1625 * c-lang.c (c-common.h): Now include.
1626 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1627 (c_init): Don't set lang_safe_from_expr.
1628 * expr.c (langhooks.h): Now include.
1629 (lang_safe_from_p): No longer define.
1630 (safe_from_p): Use lang hook.
1631 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1632 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1633 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1634 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1635 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1636 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1637 * langhooks.h (struct lang_hooks): New fields expand_constant
1638 and safe_from_p.
1639 * output.h (output_constant): Size arg is HOST_WIDE_INT.
1640 * stmt.c (expand_decl_init): No longer need to expand constant
1641 for CONST_DECL.
1642 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1643 * toplev.c (lang_expand_constant): Delete var.
1644 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1645 operations on SAVE_EXPR.
1646 * varasm.c (langhooks.h): Now include.
1647 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1648 (record_constant_1, output_addressed_constants): Likewise.
1649 (initializer_constant_valid_p, output_constant): Likewise.
1650 (output_constant_def): Process no-defer of string constant.
1651 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1652 (output_constant): Strip more conversions.
1653 Track our size and pad for the rest.
1654 (array_size_for_constructor): Remove code for non-byte STRING_CST.
1655 (output_constructor): SIZE now HOST_WIDE_INT.
1656
1657 2001-11-27 Richard Henderson <rth@redhat.com>
1658
1659 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1660 in computing DIFF.
1661
1662 2001-11-27 Zack Weinberg <zack@codesourcery.com>
1663
1664 * cppfiles.c (read_include_file): Add comment.
1665
1666 2001-11-26 Richard Henderson <rth@redhat.com>
1667
1668 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1669
1670 2001-11-26 Richard Henderson <rth@redhat.com>
1671
1672 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1673 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1674 commented out override.
1675
1676 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1677
1678 * cppfiles.c (stack_include_file): Don't optimize zero-length
1679 files.
1680 (read_include_file): NUL-terminate read files.
1681 * cpplex.c (handle_newline, skip_escaped_newlines,
1682 get_effective_char, skip_whitespace, parse_identifier,
1683 parse_identifier_slow, parse_number, parse_string,
1684 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1685 NUL-terminated.
1686 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1687 Be sure buffers are NUL terminated.
1688 * cppmacro.c (warn_of_redefinition): Kill compile warning.
1689
1690 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1691
1692 * c-common.c: Include tree-inline.h.
1693 (c_language): Move separate definitions here.
1694 (c_common_init_options, c_common_post_options): New.
1695 (c_common_lang_init): Rename c_common_init.
1696 * c-common.h (c_common_lang_init): Similarly.
1697 (c_common_init_options, c_common_post_options): New.
1698 * c-lang.c (c_post_options): Move body to c_common_post_options.
1699 (c_init_options): Use c_common_init_options.
1700 (c_init): Update.
1701 * langhooks.def: Rearrange.
1702 * langhooks.h: Rearrange, and improve comments.
1703 * toplev.c (do_compile): New function.
1704 (toplev_main): Use it.
1705 (lang_independent_f_options, parse_options_and_default_flags,
1706 process_options): Remove trailing periods.
1707 * Makefile.in: Update.
1708 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1709 functions.
1710 (ojbc_init): Update.
1711
1712 2001-11-26 Richard Henderson <rth@redhat.com>
1713
1714 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1715
1716 2001-11-26 DJ Delorie <dj@redhat.com>
1717
1718 * expr.c (store_constructor): Actually use the value computed
1719 if WORD_REGISTER_OPERATIONS.
1720
1721 2001-11-26 Richard Henderson <rth@redhat.com>
1722
1723 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1724 for CONSTRUCTOR.
1725
1726 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1727
1728 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1729 correct function on AIX.
1730
1731 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
1732
1733 * toplev.c (process_options): Don't force
1734 flag_optimize_sibling_calls to zero just because exceptions are
1735 enabled.
1736
1737 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
1738
1739 * df.h (transfer_function_sbitmap): Use PARAMS around argument
1740 list in function prototypes.
1741 (transfer_function_bitmap): Likewise.
1742
1743 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1744
1745 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1746 * config/i386/netbsd-elf.h: Likewise.
1747
1748 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1749
1750 * doc/trouble.texi: Remove outdated RS/6000 comments.
1751
1752 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
1753
1754 * final.c (walk_alter_subreg): Fix return value.
1755
1756 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
1757
1758 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1759 alter_subreg.
1760 * sparc.md (post-reload splitters): Do not call alter_subreg.
1761 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1762
1763 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
1764
1765 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1766
1767 2001-11-26 Alan Modra <amodra@bigpond.net.au>
1768
1769 * final.c: (insn_lengths): Make it an int *, so that large jump
1770 tables don't overflow.
1771
1772 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
1773
1774 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1775 (format_types): Use it for scanf.
1776 (dollar_arguments_pointer_p): New.
1777 (init_dollar_format_checking): Store details of which arguments
1778 are pointers.
1779 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1780 (finish_dollar_format_checking): Take extra parameter
1781 pointer_gap_ok. Treat unused arguments differently if
1782 pointer_gap_ok and the unused arguments are pointers.
1783 (check_format_info_main): Pass extra argument to
1784 finish_dollar_format_checking.
1785 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1786 unused arguments are present between used arguments with operand
1787 numbers.
1788
1789 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
1790
1791 * df.c: Add prototypes for hybrid_search_bitmap and
1792 hybrid_search_sbitmap.
1793 (hybrid_search_bitmap): New function.
1794 (hybrid_search_sbitmap): New function.
1795 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1796 (iterative_dataflow_bitmap): Ditto.
1797
1798 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1799
1800 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1801 address computations.
1802
1803 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1804
1805 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1806 register b (low part of d).
1807
1808 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1809
1810 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1811 passed to mcount.
1812
1813 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
1814
1815 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1816 * config/alpha/x-vms: New file, to compile the above.
1817 * config.gcc (alpha*-dec-vms*): Add x-vms.
1818
1819 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
1820
1821 * genextract.c (main): Set ro_loc for peepholes.
1822
1823 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
1824
1825 * fix-header.c (main): Move inf_buffer termination and inf_limit
1826 calculation to after read.
1827
1828 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1829 (__UNIX_FOPEN): Define.
1830
1831 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1832
1833 * function.c (assign_stack_temp_for_type): Clear alias set before
1834 setting new one.
1835
1836 2001-11-23 David Edelsohn <edelsohn@gnu.org>
1837
1838 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1839 format.
1840 * rs6000.md (cmptf): Fix typo.
1841
1842 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
1843
1844 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1845 * varasm.c (output_constructor): Use assemble_integer rather
1846 than ASM_OUTPUT_BYTE.
1847
1848 2001-11-23 Andreas Jaeger <aj@suse.de>
1849
1850 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1851 extension.
1852
1853 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
1854
1855 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1856 default definition.
1857 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1858 (MULTILIB_DEFAULTS): Remove previous definition.
1859
1860 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
1861
1862 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1863 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1864
1865 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1866
1867 * cris.h: Revert thinko in last patch.
1868
1869 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1870
1871 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1872 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1873 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1874 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1875 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1876 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1877
1878 * predict.c, reg-stack.c: Fix spelling errors.
1879
1880 2001-10-09 Andrew Haley <aph@redhat.com>
1881
1882 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1883 start of stack slot.
1884
1885 2001-11-22 Graham Stott <grahams@redhat.com>
1886
1887 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1888 replacement jump after original jump.
1889
1890 (verify_flow_info): Remove redundent initialisation.
1891 Handle reaching end of insn list before finding a BARRIER.
1892 Only issue one missing barrier diagnostic.
1893
1894 2001-11-22 Graham Stott <grahams@redhat.com>
1895
1896 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1897
1898 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1899
1900 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1901 insn actually does.
1902
1903 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
1904
1905 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1906 Fix typo -mm32rx=> -m32rx.
1907
1908 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1909 targets.
1910
1911 * config.gcc (xscale-coff): Add necessary header files to
1912 tm_file variable.
1913
1914 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1915
1916 * rs6000.c (output_cbranch): Use $, not %$, in output template.
1917
1918 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1919
1920 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1921 (lang_type_quals): Declare.
1922 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1923 retrieve language-specific qualifiers for a type node, instead of
1924 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1925 lang_dump_tree.
1926 * tree-dump.h: Rename from c-dump.h.
1927 * c-common.h (C_TYPE_QUALS): Removed.
1928 Move declarations for tree-dump.c interface to...
1929 * tree.h: ... here. Remove lang_dump_tree.
1930 * langhooks.h (struct lang_hooks_for_tree_dump): New.
1931 (struct lang_hooks): Add tree_dump hooks.
1932 * langhooks.c (lhd_tree_dump_dump_tree): New function.
1933 (lhd_tree_dump_type_quals): New function.
1934 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1935 Declare.
1936 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1937 * Makefile.in: Move tree-dump.o to language-independent back-end.
1938
1939 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1940
1941 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1942 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1943 * arc.h (DBX_REGISTER_NUMBER): Likewise.
1944 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1945 * avr.h (DBX_REGISTER_NUMBER): Likewise.
1946 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1947 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1948 * convex.h (DBX_REGISTER_NUMBER): Likewise.
1949 * cris.h (DBX_REGISTER_NUMBER): Likewise.
1950 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1951 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1952 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1953 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1954 * i370.h (DBX_REGISTER_NUMBER): Likewise.
1955 * i860.h (DBX_REGISTER_NUMBER): Likewise.
1956 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1957 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1958 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1959 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1960 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1961 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1962 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1963 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1964 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1965 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1966 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1967 * romp.h (DBX_REGISTER_NUMBER): Likewise.
1968 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1969 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1970 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1971 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1972 * v850.h (DBX_REGISTER_NUMBER): Likewise.
1973 * vax.h (DBX_REGISTER_NUMBER): Likewise.
1974 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
1975
1976 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
1977 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
1978
1979 2001-11-21 H.J. Lu <hjl@gnu.org>
1980
1981 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
1982
1983 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1984
1985 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
1986 emit_cmp_and_jump_insns.
1987
1988 * stormy16.c (xstormy16_expand_builtin_va_arg,
1989 xstormy16_expand_casesi): Likewise.
1990
1991 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1992
1993 * function.c (keep_stack_depressed): Major rework.
1994 (handle_epilogue_set, emit_equiv_load): New functions.
1995 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
1996 has return value.
1997 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
1998 * rtl.h (SET_IS_RETURN_P): New macro.
1999
2000 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2001 and also support TREE_ADDRESSABLE.
2002 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2003
2004 2001-11-21 David Edelsohn <edelsohn@gnu.org>
2005
2006 * rs6000.md (cmptf_internal1): Replace %$ with $.
2007
2008 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
2009
2010 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2011 (read_include_file): Use STAT_SIZE_TOO_BIG.
2012
2013 * cppinit.c (INO_T_COPY): Define.
2014 (INO_T_EQ): Uppercase parameters.
2015 (append_include_chain): Use INO_T_COPY.
2016
2017 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
2018
2019 * cfg.c: Fix typos and formatting in the introductory comment.
2020
2021 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
2022
2023 * profile.c (compute_branch_probabilites): Compute probabilities
2024 for entry/exit edges; estimate probabilities for zero counts.
2025
2026 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2027
2028 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2029 to emit_library_call.
2030 * function.c (expand_main_function, expand_function_start,
2031 expand_function_end): Likewise.
2032 * profile.c (output_func_start_profiler): Likewise.
2033 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2034 second argument to emit_library_call.
2035 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2036 as second argument to emit_library_call.
2037 * calls.c (emit_library_call): Update fn_type description.
2038
2039 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2040
2041 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2042 if fndecl is still DECL_INLINE and has DECL_RESULT.
2043
2044 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2045
2046 * clipper.c (clipper_movstr): Avoid uninitialized warning.
2047 * i960.c (is_mask, legitimize_address): Likewise.
2048 * m88k.c (m88k_expand_prologue): Likewise.
2049 * m88k.md: Likewise.
2050 * mcore.c (emit_new_cond_insn): Likewise.
2051 * stormy16.c (xstormy16_emit_cbranch): Likewise.
2052
2053 2001-11-20 Zack Weinberg <zack@codesourcery.com>
2054
2055 * config.gcc: Delete powerpcle-*-solaris2* stanza.
2056 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2057 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2058 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2059 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2060 config/rs6000/t-ppcos: Expunge all references to Solaris.
2061
2062 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2063
2064 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2065 output templates.
2066 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2067 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2068
2069 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2070
2071 * sh.md: Avoid uninitialized warnings.
2072 * vax.c (vax_rtx_cost): Likewise.
2073
2074 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2075
2076 * rs6000.c (direct_return): Check if we are saving altivec
2077 registers.
2078 (first_altivec_reg_to_save): New.
2079 Updated stack frame layout comments.
2080 (rs6000_stack_info): Calculate altivec register save size.
2081 Save link register if we saved some altivec registers.
2082 (rs6000_stack_info): Align save size to 16 if altivec abi or
2083 abi_darwin.
2084 (rs6000_stack_info): Calculate altivec register offsets.
2085 (rs6000_stack_info): Add altivec info to save_size.
2086 (debug_stack_info): Add altivec debug info.
2087 (rs6000_emit_prologue): Save altivec registers and vrsave.
2088 (compute_vrsave_mask): New.
2089 (altivec_expand_builtin): Remove unused variables.
2090 (rs6000_parse_abi_options): Add static qualifier.
2091 (rs6000_expand_builtin): Remove unused parameters.
2092 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2093 (altivec_init_builtins): Same.
2094 (is_altivec_return_reg): New.
2095 (vrsave_operation): New.
2096 (ALTIVEC_REG_BIT): New.
2097 (generate_set_vrsave): New.
2098
2099 * rs6000.md (get_vrsave): New.
2100 (set_vrsave): New.
2101 (*set_vrsave_internal): New.
2102
2103 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2104 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2105 altivec_padding_size, vrsave_mask.
2106 (TOTAL_ALTIVEC_REGS): New.
2107 (EPILOGUE_USES): Add VRSAVE_REGNO.
2108
2109 2001-11-20 Jeff Law <law@redhat.com>
2110
2111 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2112 exit label as necessary.
2113
2114 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
2115
2116 * reload1.c (elimination_effects): Use function_invariant_p
2117 instead of CONSTANT_P when considering register equivalences.
2118
2119 2001-11-20 David O'Brien <obrien@FreeBSD.org>
2120
2121 * config.gcc: Add FreeBSD/PowerPC target.
2122 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2123 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2124 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2125 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2126 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2127 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2128 freebsd-spec.h to tm_file.
2129 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2130 * config/freebsd.h: Tidy up.
2131 (USING_CONFIG_FREEBSD): Define.
2132 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2133 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2134 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2135 (TARGET_HAS_F_SETLKW): Define.
2136 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2137 * config/freebsd-spec.h: New file.
2138 * config/rs6000/freebsd.h: New file.
2139 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2140 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2141 USING_SVR4_H to know when to turn on ELF support.
2142 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2143 define only if not already defined.
2144 Add FreeBSD support.
2145 * config/rs6000/aix.h (TARGET_VERSION): Define.
2146 * config/rs6000/beos.h: Likewise.
2147 * config/rs6000/darwin.h: Likewise.
2148 * config/rs6000/mach.h: Likewise.
2149 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2150 Don't include lynx.h directly.
2151
2152 2001-11-20 Graham Stott <grahams@redhat.com>
2153
2154 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2155 Fix lossage in last change return OB.
2156
2157 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2158
2159 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2160 Remove unneeded exit related macros.
2161
2162 2001-11-20 David Edelsohn <edelsohn@gnu.org>
2163
2164 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2165
2166 * rs6000.c (rs6000_emit_move): Add TFmode case.
2167 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2168 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2169 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2170 * rs6000.h: ... to here.
2171 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2172 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2173 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2174
2175 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2176
2177 * emit-rtl.c (get_mem_attrs): Fix typo.
2178
2179 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2180
2181 * c-lang.c (finish_file): Backout 2001-11-16
2182 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2183 before calling c_expand_deferred_function.
2184
2185 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2186
2187 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2188 Don't register empty .eh_frame sections.
2189 (__deregister_frame_info_bases, __deregister_frame): Don't
2190 unregister them either.
2191
2192 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2193
2194 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2195 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2196 * configure: Regenerate.
2197 * config.in: Add dummy definitions of new flags.
2198 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2199 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2200 * gcc.c (ASM_DEBUG_SPEC): New macro.
2201 (asm_debug): New static variable.
2202 (default_compilers): Add asm_debug when assembling from
2203 user input.
2204 (static_specs): Add asm_debug.
2205
2206 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
2207
2208 * config.gcc (*-*-freebsd*): Remove configuration block.
2209
2210 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2211
2212 bootstrap/4422
2213 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2214 fixinc *as if* it were a proper lang subdirectory.
2215 * configure: Rebuilt.
2216
2217 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2218
2219 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2220
2221 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2222
2223 * 1750a.md: Don't use hex format for a const_int.
2224
2225 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2226
2227 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2228
2229 2001-11-19 Zack Weinberg <zack@codesourcery.com>
2230
2231 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2232 defined (prevents link errors when gettext isn't in the system
2233 library).
2234
2235 2001-11-19 DJ Delorie <dj@redhat.com>
2236
2237 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2238 (validate_const_int): New.
2239 (read_rtx): Validate constant integers.
2240 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2241
2242 2001-11-19 Jakub Jelinek <jakub@redhat.com>
2243
2244 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2245
2246 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2247
2248 * toplev.c (DUMPFILE_FORMAT): Define default.
2249 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2250 (close_dump_file, compile_file): Likewise.
2251 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2252 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2253
2254 2001-11-19 Jeff Law <law@redhat.com>
2255
2256 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2257 a nop-jump.
2258
2259 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
2260
2261 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2262 Don't fall off the base token run.
2263
2264 2001-11-19 Jason Wilkins <fenix@io.com>
2265
2266 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2267
2268 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2269
2270 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2271 * tree.h (handled_component_p): New declaration.
2272 * alias.c (handled_component_p): Move function from here ...
2273 * expr.c (handled_component_p): ... to here and non longer static.
2274 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2275 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2276 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2277 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2278 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2279 (expand_expr, cse ADDR_EXPR): No need to copy if already
2280 BIGGEST_ALIGNMENT.
2281 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2282 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2283 (output_constant): Handle VIEW_CONVERT_EXPR.
2284 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2285 Add new case for VIEW_CONVERT_EXPR.
2286
2287 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2288
2289 * a29k/unix.h (ASM_FILE_START): Const-ify.
2290 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2291 * i386/isc.h (ASM_FILE_START): Const-ify.
2292 * i386/sun386.h (ASM_FILE_START): Likewise.
2293 * m32r.md: Likewise.
2294 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2295 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2296 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2297 * mn10200.md: Initialize variable.
2298
2299 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2300
2301 * gcse.c (try_replace_reg): Copy RTX before creating note.
2302
2303 * df.h (df_ref_flags): New uenum.
2304 (DF_REF_FLAGS): New macro.
2305 (struct ref): Add field "flags".
2306 * df.c (HANDLE_SUBREG): Remove.
2307 (df_ref_create): Likewise; set flags field of ref.
2308 (df_def_record_1): Strip down read_write subreg; remove
2309 commented out code; set READ_WRITE flag.
2310 (read_modify_subreg_p): New static function.
2311 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2312 new argument "flags".
2313 (df_insn_refs_record): Update call of df_uses_record.
2314 (df_insn_modify): Avoid #if 0 around comment.
2315 (df_dump): Dump the read/write flag.
2316
2317 * predict.c (propagate_freq): Make cyclic_probability and frequency
2318 volatile
2319
2320 * i386.c (ix86_cc_mode): Accept USE.
2321
2322 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
2323 jump is turned into simplejump.
2324
2325 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2326
2327 * doc/fragments.texi, doc/trouble.texi: Remove links to old
2328 installation chapter.
2329 * doc/gcc.texi: Don't claim that this manual documents
2330 installation. Mark Installation menu entry as being out of date.
2331
2332 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
2333
2334 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2335 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2336 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2337
2338 2001-11-19 Jason Merrill <jason@redhat.com>
2339
2340 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2341 cur_token, not after.
2342
2343 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2344 Lose ASM_OUTPUT_CONSTRUCTOR.
2345 * system.h: Poison it and INT_ASM_OP.
2346 * c-lang.c (finish_file): Don't check for it.
2347 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2348
2349 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2350
2351 * mmix.c (mmix_cc1_ignored_option): Const-ify.
2352 (mmix_init_machine_status): Make static to match declaration.
2353 (mmix_unique_section): Const-ify.
2354 (mmix_output_quoted_string): Avoid automatic aggregate
2355 initialization.
2356 (mmix_output_register_setting): Likewise.
2357 (mmix_output_shiftvalue_op_from_str): Likewise.
2358
2359 * mmix.h (mmix_cc1_ignored_option): Const-ify.
2360 (ASM_OUTPUT_BYTE): Fix format specifier warning.
2361 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2362
2363 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2364
2365 PR c/4448
2366 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2367 name __objc_thread_exit_status so that it matches the
2368 variable defined in objc/thr.h.
2369
2370 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2371
2372 PR bootstrap/4020
2373 * mklibgcc.in: Add missing semi-colons.
2374 * Makefile.in: Same.
2375
2376 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2377
2378 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2379 after re-laying out decl in incomplete case.
2380 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2381
2382 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2383
2384 * doc/install-old.texi: Move some sections out to ...
2385 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2386 ... here. New files. Make into chapters rather than sections.
2387 * doc/gcc.texi: Include the new files and add menu entries for
2388 them.
2389 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2390
2391 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2392
2393 * tree.h (TYPE_ALIGN_OK): New flag.
2394 * emit-rtl.c (set_mem_attributes): Handle it.
2395 * expr.c (emit_single_push_insn): Only set to alias set 0 if
2396 doing sibcall optimization.
2397 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2398 when make temporary.
2399 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2400 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2401
2402 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2403
2404 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2405
2406 * c-decl.c (c_decode_option): Give deprecation warning for
2407 -traditional.
2408 * doc/invoke.texi (-traditional): Note that this option is
2409 deprecated.
2410
2411 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2412
2413 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2414 arg to HOST_WIDE_INT, not long.
2415
2416 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2417 (HAS_INIT_SECTION): Define.
2418 (REAL_ARITHMETIC): Don't undefine.
2419
2420 2001-11-18 Egor Duda <deo@logos-m.ru>
2421
2422 * config/i386/cygwin.h: Strip leading '*' from name, if any.
2423
2424 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2425
2426 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2427 * c-common.c: Include diagnostic.h.
2428 (c_common_finish): New.
2429 * c-common.h (c_common_finish): New.
2430 * c-lang.c (LANG_HOOKS_FINISH): Override.
2431 * c-parse.in: Don't include diagnostic.h.
2432 (finish_parse): Remove.
2433 * langhooks.h: Update comments.
2434 * toplev.c (lang_dependent_init): New prototype.
2435 (finalize): New.
2436 (compile_file): Split cleanup code out to finalize.
2437 (lang_dependent_init): Stop if lang_hooks.init fails.
2438 (toplev_main): Update.
2439 * tree.h (finish_parse): Remove.
2440 objc:
2441 * objc-act.c (LANG_HOOKS_FINISH): Override.
2442
2443 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
2444
2445 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2446 * config/alpha/vms_tramp.asm: New file.
2447 * config/alpha/vms-tramp.asm: Removed.
2448
2449 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2450
2451 * c-common.c (struct disabled_builtin, disabled_builtins,
2452 disable_builtin_function, builtin_function_disabled_p): New.
2453 (builtin_function_2): Check for disabled built-in functions.
2454 * c-common.h (disable_builtin_function): Declare.
2455 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2456 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2457 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2458
2459 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
2460
2461 PR target/4606
2462 * config.gcc: Remove reference to va-clipper.h.
2463
2464 2001-11-17 Stan Shebs <shebs@apple.com>
2465
2466 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2467 AltiVec-related bitfields.
2468
2469 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2470
2471 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2472 (mark_eh_region, case ERT_UKNONW): New case.
2473
2474 2001-11-17 Christopher Faylor <cgf@redhat.com>
2475 Corinna Vinschen <vinschen@redhat.com>
2476
2477 * config/i386/cygwin.h: Search target specific include directory for
2478 w32api stuff, if appropriate.
2479
2480 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
2481
2482 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2483
2484 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
2485
2486 * config/rs6000/rs6000.md: Change all ldvx to lvx.
2487
2488 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
2489
2490 * gensupport.c (process_rtx): Don't assume filename is the first
2491 argument of any rtl.
2492
2493 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2494
2495 * vax-protos.h (reg_was_0_p): New prototype.
2496 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2497 * vax.c (follows_p, reg_was_0_p): New functions.
2498
2499 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2500
2501 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2502 (casesi1): Likewise. Define new pattern which arises by simplification
2503 when operand 1 is a constant int. Correct pattern which arises by
2504 simplification when operand 1 is zero.
2505
2506 2001-11-16 David O'Brien <obrien@FreeBSD.org>
2507
2508 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2509 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2510 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2511 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2512 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2513 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2514 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2515 * config/arm/aof.h: Don't include arm.h.
2516 * config/arm/aout.h: Likewise.
2517 * config/arm/coff.h: Don't include semi.h and aout.h.
2518 * config/arm/elf.h: Don't include aout.h.
2519 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2520 (TARGET_VERSION): Undef before defining.
2521 (ARM_OS_NAME): Likewise
2522 (TARGET_DEFAULT): Likewise
2523 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2524 * config/arm/pe.h: Don't include arm/coff.h.
2525 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2526 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2527 * config/arm/riscix1-1.h: Likewise.
2528 * config/arm/rix-gas.h: Don't include riscix.h.
2529 (DBX_CONTIN_LENGTH): Undef before defining.
2530 * config/arm/semi.h: Don't include aout.h.
2531 * config/arm/semiaof.h: Don't include aof.h.
2532 * config/arm/strongarm-coff.h: Don't include coff.h.
2533 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2534 * config/arm/vxarm.h: Don't include arm/coff.h.
2535 * config/arm/xscale-coff.h: Don't include coff.h.
2536
2537 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2538
2539 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2540 emit_cmp_insn.
2541
2542 2001-11-16 Andreas Jaeger <aj@suse.de>
2543
2544 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2545 to ....
2546 (fixup_fallthru_exit_predecessor): ... this.
2547 Change callers and prototype.
2548
2549 2001-11-16 Bernd Schmidt <bernds@redhat.com>
2550
2551 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2552 hand; don't use gen_setcc_2.
2553 (ix86_expand_builtin): Fix pshufw.
2554 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2555 case UNORDERED to emit the right assembler instruction.
2556 (mmx_pshufw): Lose operand 2.
2557 (cvtsi2ss): Fix representation.
2558 From Graham Stott:
2559 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2560
2561 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
2562
2563 * doc/include/linux-and-gnu.texi: Remove.
2564 * doc/gnu.texi: New.
2565 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2566 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2567
2568 2001-11-16 Kazu Hirata <kazu@hxi.com>
2569
2570 * config/a29k/a29k.c: Fix comment formatting.
2571 * config/a29k/a29k.h: Likewise.
2572 * config/arc/arc.c: Likewise.
2573 * config/arc/arc.h: Likewise.
2574 * config/vax/vax.c: Likewise.
2575 * config/vax/vax.h: Likewise.
2576 * config/we32k/we32k.c: Likewise.
2577 * config/we32k/we32k.h: Likewise.
2578
2579 2001-11-16 Jeff Law <law@redhat.com>
2580
2581 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2582 creating a new jump insn.
2583
2584 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2585
2586 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2587 copy misaligned data.
2588 * varasm.c (assemble_variable): Set alignment into MEM when changed.
2589
2590 2001-11-16 Graham Stott <grahams@redhat.com>
2591
2592 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2593 OPALIGN type.
2594
2595 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
2596
2597 * except.c: Support for catching a list of types with a single handler
2598 (struct eh_region): Change type and filter to lists for catch regions.
2599 (mark_eh_region): Mark the filter list for GC also.
2600 (expand_start_catch): Always build a list if argument not NULL and
2601 register each type of the list through add_type_for_runtime.
2602 (duplicate_eh_region_1): Change type into type_list for catch regions.
2603 (assign_filter_values): Assign a filter to each type associated with a
2604 catch region. Assign filter for NULL types in a unique entry in the
2605 filter list.
2606 (build_post_landing_pads): Emit compare and jump for each filter of
2607 the list associated with a catch region.
2608 (reachable_next_level): When the type thrown is known, stop the search
2609 as soon as one type within a catch list matches. Also, a handler is
2610 potentially reachable only if at least one of the types it catches
2611 has not been previously caught.
2612 (collect_one_action_chain): Retrieve the filter for a NULL type list
2613 from the first filter list entry. For non NULL type lists, add an
2614 action record for every filter assigned.
2615 * except.h: Reflect changes in comment before expand_start_catch.
2616
2617 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2618
2619 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2620 BLKmode.
2621
2622 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
2623
2624 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2625
2626 2001-11-16 Jakub Jelinek <jakub@redhat.com>
2627
2628 * c-lang.c (finish_file): Don't emit static inline functions if
2629 they weren't referenced.
2630
2631 2001-11-15 Stan Shebs <shebs@apple.com>
2632
2633 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2634
2635 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2636
2637 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2638 call.
2639 * config/i386/i386.md: Likewise.
2640
2641 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2642
2643 * timevar.c (rtl.h): Include so get fancy abort.
2644
2645 2001-11-15 Dale Johannesen <dalej@apple.com>
2646
2647 * config/darwin.h (SELECT_RTX_SECTION): Force address
2648 initializers into 'const' section
2649 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
2650 if_then_else to match result, not operands
2651
2652 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2653
2654 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2655 * emit-rtl.c (change_address): Fix typo in default alignment.
2656 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2657 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2658 * rtl.h (REGNO_PTR_FRAME_P): New macro.
2659
2660 * expr.c (store_field): Pass tree instead of max size; callers changed.
2661 Change handling of alignment.
2662 Only copy to_rtx if is TARGET.
2663 (expand_expr_unaligned): Delete; callers now use expand_expr.
2664 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2665 (expand_assignment): Change handling of alignment.
2666 Only copy to_rtx if was original.
2667 (get_inner_reference): No longer return alginment; callers changed.
2668 (expand_expr, case COMPONENT_REF): Change handling of alignment.
2669 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2670 (compare_from_rtx): Delete ALIGN parm; all callers changed.
2671 (do_compare_rtx_and_jump): Likewise.
2672 * expr.h: Reflect above changes.
2673 * tree.h: Likewise.
2674 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2675 to get_inner_reference.
2676 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2677 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2678 * optabs.c: Likewise.
2679 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
2680 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2681 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2682 compare_rtx_and_jump, and emit_cmp_jump_insns.
2683 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2684 * function.c (assign_stack_temp_for_type): No longer static.
2685 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2686 (prepare_cmp_insn): Delete declaration.
2687 * rtl.h (assign_stack_temp_for_type): Add declaration.
2688 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2689 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2690 * config/i386/i386.c,config/mips/mips.c: Likewise.
2691 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2692 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2693
2694 2001-11-15 Stan Shebs <shebs@apple.com>
2695
2696 * config/rs6000/rs6000.h: Fix a comment typo.
2697 (RTX_COSTS): Sort processor versions better.
2698
2699 2001-11-15 Kazu Hirata <kazu@hxi.com>
2700
2701 * config/h8300/h8300.md: Fix insn length of bit insns.
2702
2703 2001-11-15 Jason Merrill <jason@redhat.com>
2704
2705 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2706 DIEs if there were errors in the source.
2707
2708 * config/alpha/alpha-interix.h, config/alpha/elf.h,
2709 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2710 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2711 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2712 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2713 config/elfos.h, config/lynx.h, config/netware.h,
2714 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2715 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2716 uses to use ASM_LONG.
2717
2718 2001-11-15 Alan Matsuoka <alanm@redhat.com>
2719
2720 * gensupport.c process_include : Change call to alloca to
2721 xmalloc.
2722
2723 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2724
2725 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2726 templates.
2727
2728 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2729
2730 * final.c (alter_subreg): If simplify_subreg can't do anything,
2731 handle REG ourselves and abort for others.
2732
2733 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
2734
2735 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2736 routines.
2737
2738 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2739
2740 * fix-header.c (read_scan_file): Update.
2741
2742 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2743
2744 * toplev.c (toplev_main): Don't start timing until after
2745 command-line options are parsed.
2746
2747 2001-11-15 Andreas Schwab <schwab@suse.de>
2748
2749 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2750 makefile frag, not host makefile frag.
2751 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2752 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2753 used.
2754 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2755 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2756 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2757 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2758 * config/i386/t-dgux (STMP_FIXPROTO): Define.
2759 * config/x-interix: Don't define STMP_FIXPROTO and
2760 FIXPROTO_DEFINES.
2761 * config/t-interix: New file, define STMP_FIXPROTO.
2762 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2763 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2764 * config/t-svr4 (FIXPROTO_DEFINES): Define.
2765 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2766 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2767 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2768 * config/m68k/t-hp3200: Renamed from x-hp3200.
2769 * config/i370/t-oe: Renamed from x-oe.
2770 * config/mips/t-iris: Renamed from x-iris.
2771 * config/pa/t-bsd: Renamed from x-pa.
2772 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2773 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2774 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2775 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2776 config/rs6000/x-cygwin: Remove files.
2777
2778 * configure.in: Check for target objdump and use that in eh_frame
2779 optimization test.
2780 * configure: Regenerated.
2781
2782 2001-11-15 Jakub Jelinek <jakub@redhat.com>
2783
2784 * jump.c (squeeze_notes): Return true if no real insns were found.
2785 * rtl.h (squeeze_notes): Adjust prototype.
2786 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2787 squeeze_notes finds no real instructions, abort.
2788 (merge_blocks_move_successor_nojumps): Likewise.
2789 * loop.c (find_and_verify_loops): Likewise.
2790 * stmt.c (expand_end_case): Likewise.
2791 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2792 find any real instructions.
2793
2794 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2795
2796 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2797 conditional jump, request updating life into for the block
2798 containing it. Fix a typo which prevented life info update.
2799 Clear blocks bitmap before using it.
2800
2801 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2802
2803 * c-common.c: Include c-lex.h.
2804 (c_common_lang_init): Change prototype. Call init_c_lex and
2805 init_pragma from here.
2806 * c-common.h (c_common_lang_init): Change prototype.
2807 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
2808 * c-lang.c (c_init): Change prototype. Update.
2809 (c_init_options): Update.
2810 * c-lex.c (cpp_filename): Remove.
2811 (init_c_lex): Update. Read the main file, and get the original
2812 file name.
2813 (yyparse): Finish the command line options.
2814 * c-parse.in (c_parse_init): Call init_reswords here.
2815 (init_parse): Remove.
2816 * c-tree.h (c_init_decl_processing): New.
2817 * cpphash.c (_cpp_init_hashtable): After initializing the hash
2818 table, populate it.
2819 * cppinit.c (read_original_filename, cpp_finish_options): New.
2820 (cpp_create_reader): New prototype. Defer hash table initialization.
2821 (cpp_start_read): Rename cpp_read_main_file. Initialize the
2822 hash table. Get the original filename.
2823 * cpplib.h (cpp_create_reader): Update.
2824 (cpp_start_read): Remove.
2825 (cpp_read_main_file, cpp_finish_options): New.
2826 * cppmain.c (main, do_preprocessing): Update.
2827 * langhooks.h (struct langhooks): Update init prototype.
2828 * toplev.c (general_init, parse_options_and_default_flags,
2829 process_options, lang_indpendent_init, lang_dependent_init,
2830 init_asm_output): New; perform the bulk of initialization.
2831 (compile_file): Move most of initialization to above functions.
2832 (debug_hooks): Initialize statically.
2833 (set_Wunused): Relocate.
2834 (toplev_main): Move most of initialization to other init functions.
2835 Have a clear logic flow.
2836 * tree.h (init_parse, init_decl_processing): Remove.
2837 objc:
2838 * objc-act.c (objc_init): Update prototype, combine with old
2839 init_parse.
2840 (objc_init_options): Update.
2841
2842
2843 2001-11-15 Andreas Jaeger <aj@suse.de>
2844
2845 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2846 portability.
2847 * basic-block.h: Adjust prototype.
2848
2849 2001-11-15 Kazu Hirata <kazu@hxi.com>
2850
2851 * config/rs6000/aix31.h: Fix comment formatting.
2852 * config/rs6000/beos.h: Likewise.
2853 * config/rs6000/darwin.h: Likewise.
2854 * config/rs6000/eabi.asm: Likewise.
2855 * config/rs6000/linux.h: Likewise.
2856 * config/rs6000/linux64.h: Likewise.
2857 * config/rs6000/lynx.h: Likewise.
2858 * config/rs6000/netbsd.h: Likewise.
2859 * config/rs6000/rs6000.c: Likewise.
2860 * config/rs6000/rs6000.h: Likewise.
2861 * config/rs6000/rs6000.md: Likewise.
2862 * config/rs6000/sol2.h: Likewise.
2863 * config/rs6000/tramp.asm: Likewise.
2864 * config/rs6000/xcoff.h: Likewise.
2865 * config/rs6000/xm-beos.h: Likewise.
2866
2867 2001-11-14 Alan Matsuoka <alanm@redhat.com>
2868
2869 * rtl.def (INCLUDE) : Define.
2870 * gensupport.c (init_include_reader, process_include,
2871 save_string) : New functions to implement an include facility
2872 in .md files.
2873 * gensupport.h : Add prototype for init_md_reader_args.
2874 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2875 genextract.c genflags.c genopinit.c genoutput.c
2876 genpeep.c genrecog.c: Change call to init_md_reader to
2877 init_md_reader_args.
2878 * md.texi: Document (include "path") and -I directives for RTL
2879 generation tools.
2880
2881 2001-11-14 DJ Delorie <dj@redhat.com>
2882
2883 * integrate.c (get_hard_reg_initial_reg): New.
2884 * integrate.h (get_hard_reg_initial_reg): Prototype.
2885 * local-alloc.c (block_alloc): Don't tie pseudos that
2886 represent call-saved hard regs' initial values.
2887
2888 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2889
2890 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2891 recursion.
2892
2893 2001-11-14 Roger Sayle <roger@eyesopen.com>
2894
2895 * fold-const.c (fold): Optimize strlen comparisons against zero.
2896
2897 2001-11-14 David O'Brien <obrien@FreeBSD.org>
2898
2899 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2900 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2901 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2902 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2903 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2904 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2905 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2906 Include various CPU headers via tm_file. a.out based platforms now
2907 properly include sparc/aout.h. sol2.h usage now implies including
2908 elfos.h, svr4.h, and sparc/sysv4.h.
2909 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2910 Also define to '1'.
2911 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2912 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2913 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2914 Remove. They are a.out specific and belong in sparc/aout.h.
2915 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2916 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2917 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
2918 sparc/sparc.h.
2919 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2920 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2921 Moved here from sparc/sparc.h.
2922 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2923 defining.
2924 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2925 * config/sparc/lynx.h: Don't include lynx.h.
2926 (SELECT_SECTION): Do not undef.
2927 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2928 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2929 and sparc/sysv4.h.
2930 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2931 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
2932 sparc/aout.h now.
2933 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2934 Don't undef, there is no need.
2935 * config/sparc/splet.h (CPP_PREDEFINES): Define.
2936 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2937 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2938 Don't include sparc/sparc.h.
2939 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2940 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2941 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
2942 elfos.h and svr4.h.
2943 (TARGET_VERSION): Define.
2944 * config/sparc/vxsim.h (TARGET_VERSION): Define.
2945
2946 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
2947
2948 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2949 (cfg_layout_finalize): Use it.
2950 * bb-reorder.c (HAVE_epilogue): Remove.
2951 (make_reorder_chain): Do not care special placement of
2952 last basic block.
2953
2954 * predict.c (expected_value_to_br_prob): Delete the note
2955 once transformed.
2956
2957 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2958 measure integration time separately.
2959
2960 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2961
2962 * function.c (struct temp_slot): ALIGN now unsigned.
2963
2964 2001-11-14 Kazu Hirata <kazu@hxi.com>
2965
2966 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2967 * config/dsp16xx/dsp16xx.h: Likewise.
2968 * config/dsp16xx/dsp16xx.md: Likewise.
2969
2970 2001-11-14 Kazu Hirata <kazu@hxi.com>
2971
2972 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2973 that deals with 7-bit shifts in HImode.
2974
2975 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
2976
2977 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
2978 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
2979 (final_scan_insn): Update call of alter_subreg.
2980 (cleanup_subreg_operands): Likewise.
2981 (alter_subreg): Rewrite using simplify_subreg.
2982 (output_address, output_operand): Update call of alter_subreg.
2983 * output.h (alter_subreg): Update prototype.
2984 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
2985 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
2986 * Makefile.in (final.o): Add dependency on expr.h
2987
2988 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2989
2990 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
2991
2992 2001-11-13 Jeff Sturm <jsturm@one-point.com>
2993
2994 * doc/install.texi (sparc-*-linux*): Mention requirements for
2995 binutils and glibc.
2996
2997 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
2998
2999 * Makefile.in (POD2MAN): Don't include --section=1.
3000 (manext): Rename to man1ext. All users changed.
3001 (man7ext): New.
3002 (man7dir): New.
3003 (generated-manpages): Also depend on $(docdir)/gfdl.7,
3004 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3005 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3006 --section=1 in calls to $(POD2MAN).
3007 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3008 (maintainer-clean, install, uninstall): Handle the new man pages.
3009 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3010 (installdirs): Create man7dir.
3011 * doc/cpp.texi: Include GFDL in this manual. In the man page,
3012 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
3013 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
3014 the SEE ALSO man page section.
3015 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
3016 and fsf-funding(7) in the SEE ALSO man page section.
3017 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
3018 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3019 * doc/include/fdl.texi, doc/include/funding.texi,
3020 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3021 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3022
3023 2001-11-13 Richard Henderson <rth@redhat.com>
3024
3025 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3026 as appropriate for the artificial decl.
3027
3028 2001-11-13 Richard Henderson <rth@redhat.com>
3029
3030 * loop.c (combine_movables): Turn off combination until
3031 move_movables validation bugs are fixed.
3032
3033 2001-11-13 DJ Delorie <dj@redhat.com>
3034
3035 * config.gcc (powerpc|rs6000): Set default cpp options based
3036 on --with-cpu settings.
3037 * config/rs6000/softfloat.h: New.
3038
3039 2001-11-13 Kazu Hirata <kazu@hxi.com>
3040
3041 * config/h8300/h8300.c (shift_alg_si): Use special code for
3042 25-bit shifts on H8/S.
3043 (get_shift_alg): Generate special code for 25-bit shifts on
3044 H8/S.
3045
3046 2001-11-13 Jakub Jelinek <jakub@redhat.com>
3047
3048 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3049 (adjust_automodify_address_1): New.
3050 * expr.h (adjust_address, adjust_address_nv): Adjust.
3051 (adjust_automodify_address, adjust_automodify_address_nv): Define.
3052 (adjust_address_1): Update prototype.
3053 (adjust_automodify_address_1): Add prototype.
3054 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3055 (store_by_pieces_2): Likewise.
3056
3057 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3058
3059 * Makefile.in (explow.o): Now depends on ggc.h.
3060 * explow.c (ggc.h): Include.
3061 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3062
3063 * Makefile.in (expr.o): Depends on insn-attr.h.
3064 * expr.c (insn-attr.h): New include.
3065 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3066 of MEM.
3067 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3068 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3069 clean up related usage in ADDR_EXPR.
3070 (expand_expr_unaligned): Likewise.
3071
3072 * emit-rtl.c (change_address): Fix typo in alias setting.
3073
3074 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3075
3076 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3077
3078 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3079
3080 PR bootstrap/3451
3081 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3082 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3083
3084 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3085
3086 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3087 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3088 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3089 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3090 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3091 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3092 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3093 sparc64-*-linux*): Include various CPU headers via tm_file.
3094 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3095 (SELECT_SECTION): Likewise.
3096 (SELECT_RTX_SECTION): Likewise.
3097 * config/sparc/sparc_bi.h: New file.
3098 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3099 * config/sparc/linux-aout.h: Likewise.
3100 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3101 * config/sparc/linux64.h: Likewise.
3102 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3103 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3104 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3105 and dbxcoff.h
3106 (ASM_OUTPUT_IDENT): Do not #undef.
3107 (SELECT_SECTION): Likewise.
3108 (SELECT_RTX_SECTION): Likewise.
3109 * config/sparc/liteelf.h: Don't include gofast.h.
3110 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3111 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3112 * config/sparc/pbd.h: Likewise.
3113 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3114 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3115 * config/sparc/rtemself.h: Don't include rtems.h.
3116 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3117 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3118 sparc_bi.h instead.
3119 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3120 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3121 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3122 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3123 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3124 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3125 * config/sparc/splet.h: Don't include sparc/aout.h.
3126 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3127 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3128 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3129 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3130 * config/sparc/vxsparc64.h: Don't include gofast.h.
3131 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3132
3133 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3134
3135 * doc/standards.texi: Mention C99 TC1.
3136
3137 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3138
3139 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3140 * mips.c (mips_output_conditional_branch): Likewise.
3141
3142 2001-11-12 Kazu Hirata <kazu@hxi.com>
3143
3144 * config/h8300/h8300.c (shift_alg_si): Use special code for
3145 15-bit logical shifts and 31-bit logical shifts.
3146 (get_shift_alg): Generate special code for 15-bit and 31-bit
3147 logical shifts.
3148
3149 2001-11-12 Kazu Hirata <kazu@hxi.com>
3150
3151 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3152 doing 6-bit logical shifts on H8/S.
3153 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3154 (get_shift_alg): Generate special code for 21-bit shifts on
3155 H8/S.
3156
3157 2001-11-12 Kazu Hirata <kazu@hxi.com>
3158
3159 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3160 label.
3161
3162 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3163
3164 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3165 if both size and offset known.
3166
3167 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3168
3169 * config/ia64/freebsd.h: Fix misspelling.
3170
3171 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3172
3173 * doc/gcc.texi: Move several chapters out to ...
3174 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3175 doc/include/linux-and-gnu.texi, doc/interface.texi,
3176 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3177 ... here. New files.
3178 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3179 contrib.texi.
3180 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3181
3182 2001-11-12 Kazu Hirata <kazu@hxi.com>
3183
3184 * config/alpha/alpha-interix.h: Fix comment formatting.
3185 * config/alpha/alpha.c: Likewise.
3186 * config/alpha/alpha.h: Likewise.
3187 * config/alpha/alpha32.h: Likewise.
3188 * config/alpha/freebsd.h: Likewise.
3189 * config/alpha/unicosmk.h: Likewise.
3190 * config/alpha/vms.h: Likewise.
3191
3192 2001-11-12 Kazu Hirata <kazu@hxi.com>
3193
3194 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3195
3196 2001-11-12 Jakub Jelinek <jakub@redhat.com>
3197
3198 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3199 numbers.
3200
3201 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3202
3203 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3204 from type.
3205 (replace_equiv_address): Call update_temp_slot_address.
3206
3207 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3208
3209 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3210
3211 2001-11-12 Kazu Hirata <kazu@hxi.com>
3212
3213 * config/h8300/h8300.c (shift_alg_qi): New.
3214 (shift_alg_hi): Likewise.
3215 (shift_alg_si): Likewise.
3216 (get_shift_alg): Change the type of count to unsigned int.
3217 Use the tables.
3218
3219 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
3220
3221 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3222 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3223 to decide whether to defer a function.
3224 (finish_function): Adjust.
3225 (c_expand_deferred_function): New function.
3226 * c-lang.c (deferred_fns): New variable.
3227 (c_init): Initialize it, and mark it as a root.
3228 (defer_fn): New function.
3229 (finish_file): Expand all deferred functions.
3230 * c-tree.h (defer_fn): Declare.
3231 (c_expand_deferred_function): Likewise.
3232 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3233 * objc-act.c (deferred_fns): New variable.
3234 (objc_init): Initialize it, and mark it as a root.
3235 (defer_fn): New function.
3236 (finish_file): Expand all deferred functions.
3237
3238 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3239
3240 * alpha.c (unicosmk_special_name): Prototype.
3241 (unicosmk_ssib_name): Delete unused variable.
3242 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3243 * alpha/vms.h (PREFIX): Undef before defining.
3244 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3245 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3246 controlling usage. Const-ify.
3247 (alias_number): Delete unused variable.
3248 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3249 (m32r_expand_block_move): Fix uninitialized warnings.
3250 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3251 always true' warnings.
3252 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3253 * sh/sh.c: Include "integrate.h".
3254 (output_far_jump): Fix uninitialized warning.
3255 * final.c (shorten_branches): Avoid automatic aggregate
3256 initialization.
3257 * integrate.c (subst_constants): Likewise.
3258
3259 2001-11-11 Kazu Hirata <kazu@hxi.com>
3260
3261 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3262 (get_shift_alg): Remove redundant code.
3263
3264 2001-11-11 Kazu Hirata <kazu@hxi.com>
3265
3266 * config/pa/milli64.S: Fix comment formatting.
3267 * config/pa/pa-64.h: Likewise.
3268 * config/pa/pa-linux.h: Likewise.
3269 * config/pa/pa-protos.h: Likewise.
3270 * config/pa/pa.c: Likewise.
3271 * config/pa/pa.h: Likewise.
3272 * config/pa/pa32-linux.h: Likewise.
3273 * config/pa/pa32-regs.h: Likewise.
3274 * config/pa/pa64-hpux.h: Likewise.
3275 * config/pa/pa64-regs.h: Likewise.
3276 * config/pa/som.h: Likewise.
3277
3278 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3279
3280 * doc/gcc.texi: Move several chapters out to ...
3281 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3282 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3283 doc/vms.texi: ... here. New files.
3284 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3285
3286 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3287
3288 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3289 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3290 collect2.c, combine.c, config.in, configure, configure.in,
3291 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3292 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3293 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3294 spelling errors.
3295
3296 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3297
3298 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3299 Adjust operand number in CONST_DOUBLE.
3300
3301 * expmed.c (extract_bit_field): No longer pass in alignment.
3302 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3303 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3304 Likewise.
3305 * expr.c (store_constructor, store_constructor_field): Likewise.
3306 (store_field, emit_group_load, emit_group_store): Likewise.
3307 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3308 (store_bit_field, extract_bit_field): Likewise.
3309 * calls.c, expr.c, function.c: Change calls to above functions.
3310 * ifcvt.c, stmt.c: Likewise.
3311
3312 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3313 constant and one is on frame.
3314 If know memref offset, adjust size from decl.
3315
3316 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3317
3318 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3319 format specifier warning.
3320 * convex.h (ASM_OUTPUT_BYTE): Likewise.
3321 * elfos.h (ALIGN_ASM_OP): Undef before defining.
3322 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3323 warning.
3324 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3325 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3326 * i386-interix.h (gen_stdcall_suffix): Prototype.
3327 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3328 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3329 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3330 * i386/interix.c (gen_stdcall_suffix): Const-ify.
3331 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3332 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3333 specifier warnings.
3334 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3335 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3336 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3337 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3338 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3339 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3340 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3341 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3342 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3343 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3344 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3345 Likewise.
3346 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3347 Likewise.
3348 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3349 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3350 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3351 Likewise.
3352 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3353 Likewise.
3354 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3355 Likewise.
3356 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3357 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3358 * m68k/news.h (PRINT_OPERAND): Likewise.
3359 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3360 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3361 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3362 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3363 definition.
3364 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3365 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3366 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3367 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3368 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3369 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3370 PRINT_OPERAND): Likewise.
3371 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3372 Likewise.
3373 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3374 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3375 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3376 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3377 * mips.c (mips_output_external_libcall): Mark parameter with
3378 ATTRIBUTE_UNUSED.
3379 (mips_asm_file_start): Move variable into the scope where it's
3380 used.
3381 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3382 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3383 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3384 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3385 * ns32k.c (print_operand): Likewise.
3386 * pa.c (print_operand, output_div_insn): Likewise.
3387 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3388 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3389 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3390 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3391 specifier warnings.
3392 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3393 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3394 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3395 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3396 specifier warnings.
3397 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3398
3399 * sdbout.c (sdbout_end_epilogue): Mark parameter with
3400 ATTRIBUTE_UNUSED.
3401 * varasm.c (assemble_global): Likewise.
3402
3403 2001-11-11 H.J. Lu <hjl@gnu.org>
3404
3405 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3406
3407 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
3408
3409 * final.c (*_MAX_SKIP): Use *_max_skip variables.
3410 * flags.h (align_loops_max_skip, align_jumps_max_skip,
3411 align_labels_max_skip): New global variables.
3412 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3413 align_labels_max_skip): New global variables.
3414 (toplev_main): Set new variables.
3415 * i386.c (override_options): Set max_skip values.
3416
3417 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
3418
3419 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3420 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3421 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3422 don't print an @fptr for labels either.
3423 (xstormy16_output_addr_vec): Don't print @fptr here.
3424 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3425
3426 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
3427
3428 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3429 an ANSI/ISO definitino.
3430 (ssa_const_prop): Likewise.
3431
3432 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
3433
3434 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3435 altivec registers.
3436
3437 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3438
3439 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3440 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3441 * cppmain.c (general_init): Call hex_init.
3442 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3443
3444 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3445
3446 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3447 of dgux.c:output_file_start().
3448
3449 * i386/dgux.c: Delete file.
3450
3451 2001-11-09 Richard Henderson <rth@redhat.com>
3452
3453 * config/alpha/alpha.c (decl_in_text_section): New.
3454 (current_file_function_operand): Use it.
3455 (alpha_encode_section_info, alpha_end_function): Likewise.
3456
3457 2001-11-07 David O'Brien <obrien@FreeBSD.org>
3458
3459 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3460 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3461 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3462 so OS specific files and use CPP_PREDEFINES for their needs.
3463 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
3464 target headers to tm_file.
3465 * config/ia64/aix.h (TARGET_VERSION): Likewise.
3466 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3467 * config/ia64/linux.h (TARGET_VERSION): Likewise.
3468 (FUNCTION_PROFILER): Remove.
3469 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3470 version in config/ia64/linux.h.
3471 * config/ia64/freebsd.h: New file.
3472 * config/freebsd.h: Tidy up.
3473 (_USING_CONFIG_FREEBSD): Define.
3474 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3475 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3476 (FBSD_STARTFILE_SPEC): Likewise.
3477 (FBSD_ENDFILE_SPEC): Likewise.
3478 (FBSD_LIB_SPEC): Likewise.
3479 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3480 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3481 set an ELF-improper one.
3482
3483 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3484
3485 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3486 constant can be loaded in a single instruction to a register. When
3487 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
3488 depdi for insertion of most significant 32-bits on 64-bit hosts.
3489 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3490 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3491 * pa.md: New addmove pattern for adding constant_int to HImode
3492 register and moving result to HImode register. Remove HImode HIGH
3493 and LO_SUM patterns.
3494
3495 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3496
3497 * Makefile.in: Update.
3498 * c-decl.c (print_lang_decl, print_lang_type): Remove.
3499 (print_lang_identifier): Rename c_print_identifier.
3500 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3501 (print_lang_statistics, lang_print_xnode): Remove.
3502 * c-parse.in (set_yydebug): Rename c_set_yydebug.
3503 * c-tree.h (c_set_yydebug, c_print_identifier): New.
3504 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3505 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3506 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3507 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3508 (LANG_HOOKS_INITIALIZER): Update.
3509 * langhooks.h (struct lang_hooks): New members.
3510 (lang_print_tree_hook): New.
3511 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3512 * print-tree.c: Include langhooks.h.
3513 (print_node): Update.
3514 * toplev.c (decode_d_option): Update.
3515 * tree.c: Include langhooks.h.
3516 (dump_tree_statistics): Update.
3517 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3518 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3519 objc:
3520 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3521 LANG_HOOKS_SET_YYDEBUG): Override.
3522 (lang_print_xnode, print_lang_statistics): Remove.
3523
3524 2001-11-09 Richard Henderson <rth@redhat.com>
3525
3526 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3527 on the symbol string.
3528
3529 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3530
3531 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3532 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3533 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3534
3535 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3536
3537 * tlink.c (recompile_files): Copy strings passed to `putenv'.
3538
3539 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
3540
3541 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3542 (TYPE_READONLY): Likewise.
3543
3544 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3545
3546 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3547 don't pass --gdwarf2 to the assembler if the compiler will also
3548 provide debug info.
3549
3550 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3551 Don't change INDEX.
3552
3553 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3554
3555 * alias.c (nonoverlapping_memrefs_p): New function.
3556 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3557
3558 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3559
3560 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
3561
3562 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3563 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3564 generating altivec code.
3565 (FIXED_REGISTERS): VRSAVE is fixed.
3566 (CALL_USED_REGISTERS): VRSAVE is call used.
3567
3568 2001-11-09 Jason Eckhardt <jle@rice.edu>
3569
3570 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3571 code the branch target as ".+16/.+12", but rather use labels.
3572
3573 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
3574
3575 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3576 to work around limitations of certain versions of GAS.
3577
3578 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3579 (muldi3): Update due to SUBREG_BYTE changes.
3580 (casesi): Similarly.
3581
3582 2001-11-09 Zack Weinberg <zack@codesourcery.com>
3583
3584 * doc/invoke.texi: Remove comment referring to -xf77-version.
3585
3586 2001-11-09 Kazu Hirata <kazu@hxi.com>
3587
3588 * config/convex/convex.c: Fix comment formatting.
3589 * config/convex/convex.h: Likewise.
3590
3591 2001-11-08 Zack Weinberg <zack@codesourcery.com>
3592
3593 * Makefile.in (.po.pox): Look both in srcdir and builddir
3594 for $(PACKAGE).pot.
3595 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3596 to the source directory.
3597
3598 2001-11-09 Ben Elliston <bje@redhat.com>
3599 Michael Meissner <meissner@redhat.com>
3600 Andrew MacLeod <amacleod@redhat.com>
3601 Richard Henderson <rth@redhat.com>
3602 Nick Clifton <nickc@redhat.com>
3603 Catherine Moore <clm@redhat.com>
3604
3605 * m32r.c: Add support for m32rx processor.
3606 * m32r.h: Ditto.
3607 * m32r.md: Ditto.
3608 * t-m32r: Ditto.
3609 * m32r-protos.h: Add prototypes for m32rx functions.
3610 * doc/invoke.texi: Document -m32rx option.
3611
3612 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3613
3614 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3615 or after reload.
3616
3617 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3618
3619 * doc/install.texi2html: Use $MAKEINFO --no-split.
3620
3621 2001-11-09 Andreas Schwab <schwab@suse.de>
3622
3623 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3624 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3625 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3626 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3627 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3628
3629 2001-11-09 H.J. Lu <hjl@gnu.org>
3630
3631 * config/mips/mips.c (mips_output_function_prologues): Cast
3632 `tsize' to long for output.
3633
3634 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3635
3636 * c-lang.c (LANG_HOOKS_NAME): New.
3637 (lang_hooks): Constify.
3638 (c_init_options): Update.
3639 (lang_identify): Remove.
3640 * c-parse.in (language_string): Remove.
3641 * dbxout.c: Include langhooks.h.
3642 (dbxout_symbol_location): Update.
3643 * dwarf2out.c: Include langhooks.h.
3644 (gen_compile_unit_die): Update.
3645 * dwarfout.c: Include langhooks.h.
3646 (prototyped_attribute, output_compile_unit_die): Update.
3647 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3648 (LANG_HOOKS_INITIALIZER): Update.
3649 * langhooks.h (struct lang_hooks): New members. Constify.
3650 * stringpool.c: Don't include toplev.h.
3651 (set_identifier_size): Remove.
3652 * toplev.c (toplev_main): Initialize identifier size.
3653 (print_version): Update.
3654 * tree.h (language_string, init_lex, lang_identify,
3655 set_identifier_size): Remove.
3656 * Makefile.in: Update dependencies.
3657 * config/darwin.c: Include langhooks.h.
3658 (func_name_maybe_scoped): Update.
3659 * config/darwin.h (ASM_END_FILE): Update.
3660 * config/nextstep.h (ASM_END_FILE): Update.
3661 * config/nextstep21.h (ASM_END_FILE): Update.
3662 * config/i386/sun386.h (ASM_END_FILE): Update.
3663 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3664 (rs6000_output_function_epilogue): Update.
3665 objc:
3666 * objc-act.c (LANG_HOOKS_NAME): Override.
3667 (struct lang_hooks): Constify.
3668 (objc_init_options): Update.
3669 (lang_identify): Remove.
3670
3671 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
3672
3673 * fold-const.c (lshift_double): Honor PREC.
3674 (rshift_double): Likewise.
3675
3676 2001-11-08 Kazu Hirata <kazu@hxi.com>
3677
3678 * config/1750a/1750a.c: Fix comment formatting.
3679 * config/1750a/1750a.h: Likewise.
3680
3681 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
3682
3683 * configure.in (--enable-languages): Be more permissive about
3684 syntax. Check for empty lists better. Warn about $LANGUAGES.
3685 * configure: Regenerated.
3686
3687 2001-11-08 Richard Henderson <rth@redhat.com>
3688
3689 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3690
3691 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
3692
3693 * config.gcc: Rename stormy16 to xstormy16.
3694 * config/stormy16/stormy-abi: Likewise.
3695 * config/stormy16/stormy16-protos.h: Likewise.
3696 * config/stormy16/stormy16.c: Likewise.
3697 * config/stormy16/stormy16.h: Likewise.
3698 * config/stormy16/stormy16.md: Likewise.
3699
3700 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
3701
3702 * tree.h (TYPE_VOLATILE): Add enable-checking code.
3703 (TYPE_READONLY): Likewise.
3704
3705 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3706
3707 * reload1.c (reload): Don't delete equiv insn if can throw.
3708
3709 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3710 (clear_storage): Likewise, for OBJECT.
3711
3712 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
3713
3714 * pa.c (emit_move_sequence): Fix SUBREG expression to
3715 use proper byte offset when extending a constant from
3716 SImode to DImode.
3717
3718 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3719
3720 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3721 which cannot throw.
3722
3723 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3724
3725 * explow.c (convert_memory_address, case SUBREG): Only return
3726 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3727
3728 2001-11-08 Richard Henderson <rth@redhat.com>
3729
3730 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3731 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3732 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3733
3734 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
3735
3736 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3737
3738 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3739
3740 * dwarf2out.c (debug_str_hash): New.
3741 (struct indirect_string_node): New.
3742 (struct dw_val_struct): Change type of val_str to it.
3743 (DEBUG_STR_SECTION_FLAGS): Define.
3744 (add_AT_string): Push string into hashtable, increment reference
3745 counter.
3746 (AT_string): Return string from ht_identifier.
3747 (AT_string_form): New.
3748 (free_AT): For dw_val_class_str, just decrement reference counter.
3749 (size_of_string): Remove.
3750 (size_of_die): Use AT_string_form to decide what size the string
3751 occupies in DIE.
3752 (size_of_pubnames): Use strlen instead of size_of_string.
3753 (value_format): Use AT_string_form for dw_val_class_str.
3754 (output_die): Output DW_FORM_strp strings using
3755 dw2_asm_output_offset.
3756 (indirect_string_alloc, output_indirect_string): New.
3757 (dwarf2out_finish): Emit .debug_str strings if there are any.
3758
3759 2001-11-08 Andreas Franck <afranck@gmx.de>
3760
3761 * configure.in: Add AC_ARG_PROGRAM to support program name
3762 transformation with --program-prefix, --program-suffix and
3763 --program-transform-name.
3764 * configure: Regenerated.
3765 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3766 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3767 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3768 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3769 program_transform_name the way suggested by autoconf.
3770 (GCC_TARGET_INSTALL_NAME): Define.
3771 (install-driver): Use the transformed target alias name.
3772
3773 2001-11-08 Richard Henderson <rth@redhat.com>
3774
3775 * config/mips/mips.c (save_restore_insns): Remove GP from the
3776 restore registers mask early instead of special casing it inside
3777 the loop.
3778
3779 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
3780
3781 * cp/decl.c (shadow_warning): New function.
3782 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
3783 and an error when a block scope decl shadows a parameter.
3784
3785 2001-11-08 Richard Henderson <rth@redhat.com>
3786
3787 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3788 case as well.
3789
3790 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3791
3792 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3793 to implement floating negation on processors prior to PA 2.0.
3794
3795 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3796
3797 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3798 (USE_LINKONCE_INDIRECT): Define.
3799 (dw2_output_indirect_constant_1): Try to output indirect constants
3800 into linkonce sections if possible.
3801 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
3802 (dw2_output_indirect_constants): Likewise.
3803
3804 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3805
3806 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3807
3808 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
3809
3810 * c-decl.c (pushdecl): Remove file and line.
3811 * c-typeck.c (pop_init_level): Remove size.
3812
3813 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3814
3815 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3816 for rs6000.
3817
3818 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3819 (TARGET_ALTIVEC): New.
3820 (TARGET_SWITCHES): Add altivec.
3821 (FIRST_PSEUDO_REGISTER): Change to 109.
3822 (CALL_USED_REGISTERS): Same.
3823 (FIRST_ALTIVEC_REGNO): New.
3824 (LAST_ALTIVEC_REGNO): New.
3825 (ALTIVEC_REGNO_P): New.
3826 (UNITS_PER_ALTIVEC_WORD): New.
3827 (ALTIVEC_VECTOR_MODE): New.
3828 (FIXED_REGISTERS): Add altivec registers.
3829 (REG_ALLOC_ORDER): Same.
3830 (HARD_REGNO_NREGS): Adjust for altivec registers.
3831 (HARD_REGNO_MODE_OK): Same.
3832 (MODES_TIEABLE_P): Same.
3833 (REGISTER_MOVE_COST): Same.
3834 (REGNO_REG_CLASS): Same.
3835 (reg_class): Add ALTIVEC_REGS.
3836 (REG_CLASS_NAMES): Same.
3837 (REG_CLASS_CONTENTS): Same.
3838 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
3839 (ALTIVEC_ARG_RETURN): New.
3840 (FUNCTION_VALUE): Handle VECTOR_TYPE.
3841 (LIBCALL_VALUE): Handle altivec vector modes.
3842 (VECTOR_MODE_SUPPORTED_P): New.
3843 (ALTIVEC_ARG_MIN_REG): New.
3844 (ALTIVEC_ARG_MAX_REG): New.
3845 (ALTIVEC_ARG_NUM_REG): New.
3846 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
3847 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
3848 (REGISTER_NAMES): Add altivec regs.
3849 (DEBUG_REGISTER_NAMES): Same.
3850 (ADDITIONAL_REGISTER_NAMES): Same.
3851 (rs6000_builtins): New.
3852 (MD_EXPAND_BUILTIN): New.
3853 (MD_INIT_BUILTINS): New.
3854 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
3855 for AltiVec instructions.
3856 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
3857 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
3858 registers.
3859 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
3860 (TARGET_SWITCHES): Add no-altivec.
3861 (DATA_ALIGNMENT): Align vectors to 128 bits.
3862 (TARGET_OPTIONS): Add abi= option.
3863 Add rs6000_abi_string extern.
3864 (LOCAL_ALIGNMENT): New.
3865 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
3866 (MASK_ALTIVEC_ABI): New.
3867 (TARGET_ALTIVEC_ABI): New.
3868 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
3869 call-saved.
3870 (STACK_BOUNDARY): Adjust for altivec.
3871 (BIGGEST_ALIGNMENT): Same.
3872 (rs6000_args): Add vregno.
3873 (USE_ALTIVEC_FOR_ARG_P): New.
3874 (FIXED_REGISTERS): Add vrsave register.
3875 (CALL_USED_REGISTERS): Same.
3876 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
3877 (VRSAVE_REGNO): New.
3878 (reg_class): Add VRSAVE_REGS.
3879 (REG_CLASS_NAMES): Same.
3880 (REG_CLASS_CONTENTS): Same.
3881 (REGNO_REG_CLASS): Same.
3882
3883 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
3884 (ABI_STACK_BOUNDARY): Same.
3885 (BIGGEST_ALIGNMENT): Same.
3886 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
3887 (ROUND_TYPE_ALIGN): Same.
3888
3889 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3890 to 64.
3891
3892 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3893 to 64.
3894
3895 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3896 to 64.
3897
3898 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
3899 (altivec_expand_builtin): New.
3900 (altivec_init_builtins): New.
3901 (TARGET_EXPAND_BUILTIN): New.
3902 (TARGET_INIT_BUILTINS): New.
3903 (rs6000_init_builtins): New.
3904 (struct builtin_description): New.
3905 (bdesc_2arg): New.
3906 (rs6000_reg_names): Add altivec registers.
3907 (alt_reg_names): Same.
3908 (secondary_reload_class): Altivec regs can hold altivec regs and
3909 memory.
3910 (rs6000_emit_move): Force constants into memory for AltiVec moves.
3911 (print_operand): Add 'y' case for printing altivec memory
3912 operands.
3913 (rs6000_legitimize_address): Legitimize vector addresses into
3914 [REG+REG] or [REG].
3915 (altivec_expand_binop_builtin): New.
3916 New string rs6000_current_abi.
3917 (rs6000_override_options): Call rs6000_parse_abi_options.
3918 (rs6000_parse_abi_options): New.
3919 (function_arg_boundary): Vector arguments must be 16
3920 byte aligned.
3921 (function_arg_advance): Handle vector arguments.
3922 (function_arg_partial_nregs): Same.
3923 (init_cumulative_args): Same.
3924 (function_arg): Same.
3925
3926 * config/rs6000/rs6000.md (altivec_lvx): New.
3927 (type): Add altivec attribute.
3928 (movv4si): New.
3929 (*movv4si_internal): New.
3930 (movv16qi): New.
3931 (*movv16qi_internal): New.
3932 (movv8hi): New.
3933 (*movv8hi_internal1): New.
3934 (movv4sf): New.
3935 (*movv4sf_internal1): New.
3936 (altivec_stvx): New.
3937 (vaddubm): New.
3938 (vadduhm): New.
3939 (vadduwm): New.
3940 (vaddfp): New.
3941 (vaddcuw): New.
3942 (vaddubs): New.
3943 (vaddsbs): New.
3944 (vadduhs): New.
3945 (vaddshs): New.
3946 (vadduws): New.
3947 (vaddsws): New.
3948 (vand): New.
3949 (vandc): New.
3950 (vavgub): New.
3951 (vavgsb): New.
3952 (vavguh): New.
3953 (vavgsh): New.
3954 (vavguw): New.
3955 (vavgsw): New.
3956 (vcmpbfp): New.
3957 (vcmpequb): New.
3958 (vcmpequh): New.
3959 (vcmpequw): New.
3960 (vcmpeqfp): New.
3961 (vcmpgefp): New.
3962 (vcmpgtub): New.
3963 (vcmpgtsb): New.
3964 (vcmpgtuh): New.
3965 (vcmpgtsh): New.
3966 (vcmpgtuw): New.
3967 (vcmpgtsw): New.
3968 (vcmpgtfp): New.
3969 (vcmpgefp): New.
3970 (vcmpgtub): New.
3971 (vcmpgtsb): New.
3972 (vcmpgtuh): New.
3973 (vcmpgtsh): New.
3974 (vcmpgtuw): New.
3975 (vcmpgtsw): New.
3976 (vcmpgtfp): New.
3977 (vmaxub): New.
3978 (vmaxsb): New.
3979 (vmaxuh): New.
3980 (vmaxsh): New.
3981 (vmaxuw): New.
3982 (vmaxsw): New.
3983 (vmaxfp): New.
3984 (vmrghb): New.
3985 (vmrghh): New.
3986 (vmrghw): New.
3987 (vmrglb): New.
3988 (vmrglh): New.
3989 (vmrglw): New.
3990 (vminub): New.
3991 (vminsb): New.
3992 (vminuh): New.
3993 (vminsh): New.
3994 (vminuw): New.
3995 (vminsw): New.
3996 (vminfp): New.
3997 (vmuleub): New.
3998 (vmulesb): New.
3999 (vmuleuh): New.
4000 (vmulesh): New.
4001 (vmuloub): New.
4002 (vmulosb): New.
4003 (vmulouh): New.
4004 (vmulosh): New.
4005 (vnor): New.
4006 (vor): New.
4007 (vpkuhum): New.
4008 (vpkuwum): New.
4009 (vpkpx): New.
4010 (vpkuhss): New.
4011 (vpkshss): New.
4012 (vpkuwss): New.
4013 (vpkswss): New.
4014 (vpkuhus): New.
4015 (vpkshus): New.
4016 (vpkuwus): New.
4017 (vpkswus): New.
4018 (vrlb): New.
4019 (vrlh): New.
4020 (vrlw): New.
4021 (vslb): New.
4022 (vslh): New.
4023 (vslw): New.
4024 (vsl): New.
4025 (vslo): New.
4026 (vsrb): New.
4027 (vrsh): New.
4028 (vrsw): New.
4029 (vsrab): New.
4030 (vsrah): New.
4031 (vsraw): New.
4032 (vsr): New.
4033 (vsro): New.
4034 (vsububm): New.
4035 (vsubuhm): New.
4036 (vsubuwm): New.
4037 (vsubfp): New.
4038 (vsubcuw): New.
4039 (vsububs): New.
4040 (vsubsbs): New.
4041 (vsubuhs): New.
4042 (vsubshs): New.
4043 (vsubuws): New.
4044 (vsubsws): New.
4045 (vsum4ubs): New.
4046 (vsum4sbs): New.
4047 (vsum4shs): New.
4048 (vsum2sws): New.
4049 (vsumsws): New.
4050 (vxor): New.
4051
4052 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
4053
4054 * Makefile.in (df.o): Add fibheap.h to dependencies.
4055
4056 * df.h: Add prototypes for transfer functions, iterative_dataflow
4057 functions.
4058 (enum df_flow_dir): New enum.
4059 (enum df_confluence_op): New enum.
4060 (struct df): Add inverse_rts_map.
4061
4062 * df.c: Add sbitmap.h to the list of includes.
4063 (df_rd_global_compute): Removed.
4064 (df_ru_global_compute): Removed.
4065 (df_lr_global_compute): Removed.
4066 (df_rd_transfer_function): New function.
4067 (df_ru_transfer_function): New function.
4068 (df_lr_transfer_function): New function.
4069 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4070 Use iterative_dataflow_bitmap instead of df_*_global_compute.
4071 (iterative_dataflow_sbitmap): New function.
4072 (iterative_dataflow_bitmap): New function.
4073
4074 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4075
4076 * doc/gcc.texi: Move terminology and spelling conventions to
4077 htdocs/codingconventions.html.
4078
4079 2001-11-07 Graham Stott <grahams@redhat.com>
4080
4081 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4082
4083 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
4084
4085 * expmed.c (expand_mult): Force operand to register before computing
4086 cost.
4087 * i386.c (x86_decompose_lea): New global vairable.
4088 * i386.h (x86_decompose_lea): Declare.
4089 (TARGET_DECOMPOSE_LEA): New macro.
4090 (RTX_COST): Handle leas properly.
4091
4092 2001-11-06 Richard Henderson <rth@redhat.com>
4093
4094 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4095 defined for a CONSTRUCTOR; don't check it.
4096
4097 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4098
4099 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4100 test for absolute pathnames.
4101
4102 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
4103
4104 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4105 instructions up to the target pc inclusive.
4106
4107 2001-11-06 Steve Christiansen <smc@us.ibm.com>
4108
4109 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4110
4111 2001-11-06 Eric Christopher <echristo@redhat.com>
4112
4113 * config/mips/mips.md(movdf_internal2): Add constraints for float
4114 to general register move.
4115 * config/mips/elf64.h: Add default ABI.
4116
4117 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4118
4119 * alias.c:: Include langhooks.h.
4120 * emit-rtl.c: Similarly.
4121 * toplev.c: Similarly.
4122 * tree-inline.c: Similarly.
4123 * langhooks-def.h: New, the old langhooks.h. Give the default
4124 hooks a common prefix.
4125 * langhooks.h: Contents extracted from toplev.h.
4126 * toplev.h: Move langhook stuff to langhooks.h.
4127 * langhooks.c: Give default hooks a common prefix.
4128
4129 * c-lang.c: Include langhooks-def.h.
4130 * objc/objc-act.c: Similarly.
4131 * Makefile.in: Update.
4132 * objc/Make-lang.in: Update.
4133
4134 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4135
4136 * doc/install.texi: Document that configure options not listed in
4137 this file are unsupported. Document --with-system-zlib.
4138
4139 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4140
4141 * rtl.h (mem_for_const_double): New declaration.
4142 * varasm.c (mem_for_const_double): New function.
4143 * config/convex/convex.md (movdf): Use it.
4144 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4145 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4146 * config/m68k/m68kv4.h: Likewise.
4147
4148 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4149 of new GP reg classes.
4150
4151 * expr.c (store_field): When making temp object for unaligned
4152 component, set it to alias set 0.
4153
4154 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4155
4156 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4157 non-lvalue arrays if C99.
4158 * c-typeck.c (default_conversion): Split out code handling
4159 array-to-pointer and function-to-pointer conversions into a
4160 separate default_function_array_conversion function.
4161 (default_function_array_conversion): New function. Keep track of
4162 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4163 arrays unchanged outside C99 mode instead of giving an error for
4164 them.
4165 (build_component_ref): Use pedantic_non_lvalue when handling
4166 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4167 (convert_arguments): Use default_function_array_conversion.
4168 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4169 non-lvalues are OK.
4170 (unary_complex_lvalue): Likewise.
4171 (internal_build_compound_expr): Use
4172 default_function_array_conversion. Apply default conversions to
4173 function in compound expression.
4174 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4175 Use default_function_array_conversion.
4176 * doc/extend.texi: Update documentation of subscripting non-lvalue
4177 arrays.
4178 Fixes PR c/461.
4179
4180 2001-11-05 Zack Weinberg <zack@codesourcery.com>
4181
4182 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4183 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4184 corresponding to the complete set of .po and .gmo files in
4185 the source directory's po subdir, modified by LINGUAS. Don't
4186 look at ALL_LINGUAS.
4187 * configure.in: Don't set ALL_LINGUAS.
4188 * configure: Regenerate.
4189
4190 * Makefile.in (.po.gmo): Don't move into source directory.
4191 (.po.pox): Clarify comments.
4192 (install-po): Look for .gmo files in both srcdir and objdir;
4193 don't fail if a file is totally missing.
4194 (distclean): rmdir ada subdirectory too.
4195
4196 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4197
4198 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4199 CONSTRUCTORs _correctly_.
4200
4201 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4202
4203 * c-decl.c (delete_block): Remove.
4204 * c-tree.h (delete_block): Remove.
4205
4206 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4207
4208 * cppexp.c (lex, parse_defined): Update warning about defined.
4209
4210 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4211
4212 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4213 CONSTRUCTORs too.
4214
4215 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4216
4217 * config/arm/arm.c (arm_return_in_memory): Cope with
4218 int_size_in_bytes returning -1.
4219
4220 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4221 DECL being NULL.
4222
4223 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4224
4225 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4226 remove unneeded dependencies;
4227 (cfglayout.o): New.
4228 * cfglayout.c, cfglayout.h: New files; break out from ...
4229 * bb-reorder.c: ... here; Remove unneeded includes;
4230
4231 2001-11-04 Alan Modra <amodra@bigpond.net.au>
4232
4233 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4234
4235 2001-11-04 David Edelsohn <edelsohn@gnu.org>
4236
4237 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4238 mode as well. Do not explicitly create intermediate regs.
4239
4240 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4241
4242 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4243 (common_section): Delete unused variable.
4244 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4245 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4246 * arm-protos.h (arm_poke_function_name, aof_add_import,
4247 aof_delete_import): Const-ify.
4248 * arm.c (legitimize_pic_address): Wrap variables in the macro
4249 controlling their usage.
4250 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4251 (arm_poke_function_name, pic_chain, import, aof_add_import,
4252 aof_delete_import): Const-ify.
4253 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4254 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4255 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4256 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4257 * i860/sysv3.h: Add missing comment closure.
4258 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4259 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4260 to symbolic_operand.
4261
4262 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4263 (i960-*-*): Set tmake_file.
4264 (sparc86x-*-elf*): Fix typo in header name.
4265
4266 * sched-rgn.c (schedule_insns): Delete unused variable.
4267
4268 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4269
4270 PR c/2820
4271 * c-typeck.c (lookup_field): Rework to return a chain down to
4272 the looked-up field.
4273 (build_component_ref): Use the new lookup_field to handle
4274 nested anonymous entities correctly.
4275
4276 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4277
4278 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4279 Change parameters to gen_rtx_CONST_DOUBLE.
4280 (GEN_INT64, sparc_emit_set_const64): Likewise.
4281 * config/sparc/sparc.md (movdf split): Likewise.
4282
4283 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
4284
4285 * unroll.c (calculate_giv_inc): Use find_last_value rather
4286 than just hoping the last instruction is the right SET.
4287 [Fixes 990604-1.c on stormy16.]
4288
4289 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4290 library at all if -T is used.
4291
4292 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4293 some uses of uninitialized variables in error cases.
4294
4295 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4296 look at 'temp' if we won't be using it.
4297
4298 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4299 (RTX_COSTS): Define.
4300 (ADDRESS_COST): Define.
4301 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4302
4303 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4304
4305 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4306 stormy16_asm_output_mi_thunk.
4307 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4308 function.
4309 * config/stormy16/stormy16-protos.h
4310 (stormy16_asm_output_mi_thunk): New prototype.
4311
4312 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4313
4314 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4315 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4316 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4317 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4318 sched-int.h, toplev.c, config/alpha/alpha.c,
4319 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4320 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4321 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4322 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4323 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4324 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4325 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4326
4327 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4328
4329 * Makefile.in (dbxout.o): Depend on function.h.
4330 * collect2.c (is_in_list): Hide unused function.
4331 * dbxout.c: Include function.h.
4332 (source_label_number, dbxout_source_line, dbxout_source_file,
4333 dbxout_function_end, dbxout_begin_function): Wrap/move inside
4334 macros controlling usage.
4335 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4336 * output.h (exports_section): Prototype.
4337
4338 * convex.c (convex_output_function_prologue): Fix format specifier
4339 warning.
4340 (asm_declare_function_name): Fix signed/unsigned warning.
4341 (print_operand): Fix format specifier warning.
4342 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4343 * dsp16xx-protos.h (uns_comparison_operator,
4344 num_1600_core_shifts): Prototype.
4345 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4346 (frame_size, frame_pointer_offset): Delete.
4347 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4348 Make static. Fix format specifier warnings.
4349 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4350 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4351 * dsp16xx.md: Add default case in switches.
4352 * fr30.h (IN_RANGE): Delete.
4353 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4354 * mcore-protos.h (mcore_output_cmov): Const-ify.
4355 * mcore.c (mcore_output_cmov): Likewise.
4356 * mcore.h (switch_to_section): Make static and prototype.
4357 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4358 unsigned>=0 warnings.
4359 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4360 * rs6000-protos.h (read_only_data_section,
4361 read_only_private_data_section): Prototype.
4362 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4363 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4364 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4365
4366 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4367
4368 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4369 ATTRIBUTE_UNUSED.
4370 * final.c (final_scan_insn): Add brackets around body of if-stmt.
4371 * gcc.c (convert_filename): Add static prototype. Const-ify.
4372 Wrap variable in macros controlling its use.
4373 * output.h (sdata_section): Add prototype.
4374
4375 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4376 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4377 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4378 (ASM_FILE_START): Const-ify.
4379 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4380 specifier warning.
4381 * c4x.md: Don't use the 'U' integer suffix.
4382 * clipper.md (clipper_movstr): Delete declaration.
4383 * d30v-protos.h (d30v_move_2words): Const-ify.
4384 (debug_stack_info): Add prototype.
4385 * d30v.c: Include "integrate.h".
4386 (d30v_function_arg_boundary, d30v_function_arg,
4387 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4388 signed/unsigned warnings.
4389 (d30v_print_operand_memory_reference, d30v_move_2words):
4390 Const-ify.
4391 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4392 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4393 * fr30.md: Const-ify.
4394 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4395 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4396 (mvs_get_label_page): Hide unused static function.
4397 * i860.c (current_function_original_name): Const-ify.
4398 * i860/sysv3.h (current_function_original_name): Likewise.
4399 * i860/sysv4.h (current_function_original_name): Likewise.
4400 * i960.md: Add default case in switches. Remove unused variable.
4401 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4402 * m32r.md: Const-ify.
4403 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4404 * m68hc11.c: Include "reload.h".
4405 (static_chain_reg, print_options, m68hc11_asm_file_start):
4406 Const-ify.
4407 * m68hc11.md: Delete unused variable. Const-ify. Add parens
4408 around & in comparison.
4409 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4410 * mn10200.c (shift_mode): Remove trailing comma.
4411 * mn10300-protos.h (output_tst): Const-ify.
4412 * mn10300.c (output_tst): Likewise.
4413 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4414 warnings.
4415 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4416 * pa.c (output_ascii): Likewise.
4417 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4418 * pdp11.md (expand_unop): Delete declarations.
4419 * pj-protos.h (pj_output_addsi3): Const-ify.
4420 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4421 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4422 unique_src_operand): Add prototypes.
4423 (pj_output_store_into_lval): Make definition static.
4424 (pj_function_incoming_arg): Don't use unary plus.
4425 (pj_output_addsi3): Const-ify.
4426 * romp.md (get_symref): Delete declarations.
4427 * v850-c.c (mark_current_function_as_interrupt): Don't return
4428 value from void function.
4429 * v850.c: Include "integrate.h".
4430 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4431 * vax-protos.h (const_section): Add prototype.
4432
4433 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
4434
4435 * machmode.def: Add documentation for the seventh argument in
4436 vector modes.
4437
4438 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4439
4440 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4441 consistently.
4442 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4443 <-melf>: Don't have markup for ELF acronym.
4444
4445 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4446
4447 * config.gcc (mmix-*-*): New target.
4448 * doc/invoke.texi: Document MMIX options.
4449 * doc/contrib.texi: Add note about MMIX port to my entry.
4450 * config/mmix/t-mmix: New file.
4451 * config/mmix/mmix.h: New file.
4452 * config/mmix/mmix-protos.h: New file.
4453 * config/mmix/mmix.c: New file.
4454 * config/mmix/mmix.md: New file.
4455 * config/mmix/crti.asm: New file.
4456 * config/mmix/crtn.asm: New file.
4457
4458 2001-11-03 Kazu Hirata <kazu@hxi.com>
4459
4460 * config/sparc/linux-aout.h: Fix comment formatting.
4461 * config/sparc/linux.h: Likewise.
4462 * config/sparc/linux64.h: Likewise.
4463 * config/sparc/lynx.h: Likewise.
4464 * config/sparc/pbd.h: Likewise.
4465 * config/sparc/sol2-sld-64.h: Likewise.
4466 * config/sparc/sol2.h: Likewise.
4467 * config/sparc/sparc.c: Likewise.
4468 * config/sparc/sparc.h: Likewise.
4469 * config/sparc/sparc.md: Likewise.
4470 * config/sparc/sunos4.h: Likewise.
4471 * config/sparc/vxsim.h: Likewise.
4472 * config/sparc/vxsparc.h: Likewise.
4473 * config/sparc/vxsparc64.h: Likewise.
4474
4475 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4476
4477 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4478 reference to CONST_DOUBLE_MEM in comment.
4479 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4480 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4481 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4482 * function.c (pop_function_context_from): Don't call
4483 restore_varasm_status.
4484 * function.h (restore_varasm_status): Delete declaration.
4485 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4486 * rtl.c: Likewise.
4487 * rtl.def (CONST_DOUBLE): Update comment.
4488 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4489 (CONST_DOUBLE_CHAIN): Likewise.
4490 (CONST_DOUBLE_MEM): Delete.
4491 (gen_rtx_CONST_DOUBLE): Update parameters.
4492 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4493 Remove reference to CONST_DOUBLE_MEM.
4494 (const_alias_set): New variable.
4495 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4496 (immed_real_const_1): Adjust tests for 0, 1, and 2.
4497 Don't set CONST_DOUBLE_MEM.
4498 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4499 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4500 Put constant in const_alias_set.
4501 (struct pool_constant): ALIGN now unsigned.
4502 OFFSET now HOST_WIDE_INT.
4503 Delete LABEL.
4504 (restore_varasm_status): Deleted.
4505 (mark_pool_constant): Mark desc->rtl.
4506 (force_const_mem): Rework to store rtl in hash table,
4507 not CONST_DOUBLE_MEM.
4508 Put constant in const_alias_set.
4509 (find_pool_constant): Check desc->rtl.
4510 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4511 (init_varasm_once): Initialize const_alias_set.
4512
4513 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4514 force_const_mem.
4515
4516 * reload.c (combine_reloads): Don't combine an output reload if there
4517 are other reloads around for part of the output.
4518
4519 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4520 constant expression.
4521 (set_mem_decl): New function.
4522 * expr.h (set_mem_decl): New declaration.
4523 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4524 (output_asm_operand_names): Add tab.
4525 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4526
4527 * builtins.c (get_memory_rtx): Properly set MEM alias set and
4528 attributes.
4529
4530 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4531
4532 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4533 Use "invalid" instead of "illegal". Use @r in comments in
4534 examples.
4535
4536 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
4537
4538 * c-decl.c (pushdecl): Move block inside if conditional to remove
4539 possibility of a segfault. Lookup block-level extern
4540 variables in enclosing scopes correctly.
4541
4542 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4543
4544 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4545
4546 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4547 SUBREG so we avoid SUBREGing memory.
4548
4549 * expmed.c (store_bit_field): Same.
4550
4551 2001-11-02 DJ Delorie <dj@redhat.com>
4552
4553 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4554 using FP registers for DImode mem-mem moves is acceptable.
4555
4556 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4557
4558 * builtins.c (apply_args_size): Handle vector arguments.
4559 (apply_result_size): Same.
4560
4561 * machmode.def: Set WIDER mode field for all vector entries.
4562
4563 2001-11-02 Graham Stott <grahams@redhat.com>
4564
4565 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
4566
4567 2001-11-01 Eric Christopher <echristo@redhat.com>
4568
4569 * config.gcc: Revert part of earlier patch.
4570 * config/mips/linux.h: Ditto.
4571 * df.c: Include tm_p.h to avoid warnings.
4572 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
4573 #if/#endif.
4574 * config/mips/mips.c: Define mips_abi regardless.
4575 (mips_output_function_prologues): Add long casts for .frame
4576 output.
4577 (override_options): Allow use of ABI_32.
4578
4579 2001-11-01 Kazu Hirata <kazu@hxi.com>
4580
4581 * config/m68hc11/m68hc11.c: Fix comment formatting.
4582 * config/m68hc11/m68hc11.h: Likewise.
4583 * config/m68hc11/m68hc11.md: Likewise.
4584
4585 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
4586
4587 * c-typeck.c (default_conversion): Retain the original expression
4588 codes.
4589 * gcc.dg/Wparentheses.c: New tests.
4590
4591 2001-11-01 David S. Miller <davem@redhat.com>
4592
4593 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4594 64-bit Sparc description more in line with reality.
4595
4596 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
4597
4598 * Makefile.in (GCOV_OBJS): Add version.o.
4599 * gcov.c: Include "version.h" and <getopt.h>.
4600 (gcov_version_string): Remove.
4601 (print_usage): Take a parameter to determine whether this is a
4602 call from --help or an error message. Give fuller output that
4603 follows the GNU Coding Standards for --help.
4604 (print_version): New function.
4605 (options): New.
4606 (process_args): Use getopt_long. Support long options. Follow
4607 GNU Coding Standards for --help and --version.
4608 * doc/gcov.texi: Document long options.
4609 Addresses part of PR other/704.
4610
4611 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4612
4613 * pa.c (output_move_double): Fix typo in double load.
4614
4615 2001-11-01 Kazu Hirata <kazu@hxi.com>
4616
4617 * config/h8300/h8300.c (h8300_encode_label): Compute a string
4618 before passing it to ggc_alloc_string.
4619
4620 2001-11-01 Kazu Hirata <kazu@hxi.com>
4621
4622 * config/m68k/3b1.h: Fix comment formatting.
4623 * config/m68k/3b1g.h: Likewise.
4624 * config/m68k/a-ux.h: Likewise.
4625 * config/m68k/amix.h: Likewise.
4626 * config/m68k/apollo68.h: Likewise.
4627 * config/m68k/atari.h: Likewise.
4628 * config/m68k/aux-exit.c: Likewise.
4629 * config/m68k/ccur-GAS.h: Likewise.
4630 * config/m68k/crds.h: Likewise.
4631 * config/m68k/dpx2.h: Likewise.
4632 * config/m68k/dpx2g.h: Likewise.
4633 * config/m68k/hp310.h: Likewise.
4634 * config/m68k/hp320.h: Likewise.
4635 * config/m68k/isi.h: Likewise.
4636 * config/m68k/linux.h: Likewise.
4637 * config/m68k/lynx.h: Likewise.
4638 * config/m68k/m68k-psos.h: Likewise.
4639 * config/m68k/m68k.c: Likewise.
4640 * config/m68k/m68k.h: Likewise.
4641 * config/m68k/m68k.md: Likewise.
4642 * config/m68k/m68kelf.h: Likewise.
4643 * config/m68k/m68kv4.h: Likewise.
4644 * config/m68k/mot3300.h: Likewise.
4645 * config/m68k/news.h: Likewise.
4646 * config/m68k/next.h: Likewise.
4647 * config/m68k/pbb.h: Likewise.
4648 * config/m68k/plexus.h: Likewise.
4649 * config/m68k/sgs.h: Likewise.
4650 * config/m68k/sun3.h: Likewise.
4651 * config/m68k/tower.h: Likewise.
4652 * config/m68k/vxm68k.h: Likewise.
4653
4654 2001-10-31 DJ Delorie <dj@redhat.com>
4655
4656 * config/mips/mips.h (mips_cache_flush_func): Prototype.
4657 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4658 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4659 * config/mips/mips.c (mips_cache_flush_func): New.
4660 * doc/invoke.texi: Document the new options.
4661
4662 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
4663
4664 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4665 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4666
4667 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4668
4669 * config/cris/cris.c: Include output.h after tree.h but before
4670 target.h.
4671
4672 2001-10-31 Zack Weinberg <zack@codesourcery.com>
4673
4674 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4675 (INTL_SUBDIRS): Just intl.
4676 (.SUFFIXES): Add .gmo .po .pox.
4677 (native): Also depend on build-@POSUB@.
4678 (intl.all, intl.install): Depend on config.h and things it includes.
4679 (po-generated): New target; depend on c-parse.c and tradcif.c.
4680 (install-normal): Also depend on install-@POSUB@.
4681 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4682 (build-, install-, build-po, update-po, install-po,
4683 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4684
4685 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4686 * configure.in: Don't munge XGETTEXT. Don't generate
4687 po/Makefile.in.
4688 * configure: Regenerate.
4689
4690 * exgettext: Delete.
4691 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4692 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4693
4694 2001-10-31 Kazu Hirata <kazu@hxi.com>
4695
4696 * config/h8300/h8300.md (two anonymous patterns): New.
4697
4698 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
4699
4700 * tree.h (tree_index): Add support for V16QI and V8HI.
4701 (V8HI_type_node): New.
4702 (V16QI_type_node): New.
4703
4704 * tree.c (build_common_tree_nodes_2): Same.
4705
4706 * c-common.c (type_for_mode): Same.
4707
4708 2001-10-31 Kazu Hirata <kazu@hxi.com>
4709
4710 * config/i386/att.h: Fix comment formatting.
4711 * config/i386/beos-elf.h: Likewise.
4712 * config/i386/bsd.h: Likewise.
4713 * config/i386/bsd386.h: Likewise.
4714 * config/i386/crtdll.h: Likewise.
4715 * config/i386/cygwin.asm: Likewise.
4716 * config/i386/cygwin.h: Likewise.
4717 * config/i386/djgpp.h: Likewise.
4718 * config/i386/freebsd-aout.h: Likewise.
4719 * config/i386/freebsd.h: Likewise.
4720 * config/i386/gas.h: Likewise.
4721 * config/i386/i386-interix.h: Likewise.
4722 * config/i386/i386-protos.h: Likewise.
4723 * config/i386/i386.c: Likewise.
4724 * config/i386/i386.h: Likewise.
4725 * config/i386/i386.md: Likewise.
4726 * config/i386/i386elf.h: Likewise.
4727 * config/i386/interix.c: Likewise.
4728 * config/i386/isc.h: Likewise.
4729 * config/i386/isccoff.h: Likewise.
4730 * config/i386/iscdbx.h: Likewise.
4731 * config/i386/linux.h: Likewise.
4732 * config/i386/lynx.h: Likewise.
4733 * config/i386/mingw32.h: Likewise.
4734 * config/i386/netbsd-elf.h: Likewise.
4735 * config/i386/next.h: Likewise.
4736 * config/i386/osf1elf.h: Likewise.
4737 * config/i386/osfrose.h: Likewise.
4738 * config/i386/sco5.h: Likewise.
4739 * config/i386/seq-gas.h: Likewise.
4740 * config/i386/seq-sysv3.h: Likewise.
4741 * config/i386/sequent.h: Likewise.
4742 * config/i386/sol2.h: Likewise.
4743 * config/i386/sun386.h: Likewise.
4744 * config/i386/uwin.asm: Likewise.
4745 * config/i386/uwin.h: Likewise.
4746 * config/i386/vxi386.h: Likewise.
4747 * config/i386/win32.h: Likewise.
4748 * config/i386/winnt.c: Likewise.
4749 * config/i386/xm-cygwin.h: Likewise.
4750 * config/i386/xm-mingw32.h: Likewise.
4751
4752 2001-10-31 Kazu Hirata <kazu@hxi.com>
4753
4754 * builtins.def: Fix comment typos.
4755 * config/alpha.c: Likewise.
4756 * config/arm/arm.c: Likewise.
4757 * config/avr/avr.h: Likewise.
4758 * config/d30v/d30v.c: Likewise.
4759 * config/d30v/d30v.h: Likewise.
4760 * config/d30v/d30v.md: Likewise.
4761 * config/dsp16xx/dsp16xx.c: Likewise.
4762 * config/fr30/fr30.c: Likewise.
4763 * config/fr30/fr30.md: Likewise.
4764 * config/i386/i386.c: Likewise.
4765 * config/i860/i860.c: Likewise.
4766 * config/i960/i960.c: Likewise.
4767 * config/ia64/ia64.c: Likewise.
4768 * config/mips/mips.c: Likewise.
4769 * config/pa/pa.c: Likewise.
4770 * config/rs6000/rs6000.c: Likewise.
4771 * config/s390/s390.c: Likewise.
4772 * config/sparc/sparc.c: Likewise.
4773
4774 2001-10-30 Kazu Hirata <kazu@hxi.com>
4775
4776 * config/mips/elf.h: Fix comment formatting.
4777 * config/mips/elf64.h: Likewise.
4778 * config/mips/iris5.h: Likewise.
4779 * config/mips/iris5gas.h: Likewise.
4780 * config/mips/iris6.h: Likewise.
4781 * config/mips/isa3264.h: Likewise.
4782 * config/mips/linux.h: Likewise.
4783 * config/mips/mips.c: Likewise.
4784 * config/mips/mips.h: Likewise.
4785 * config/mips/mips.md: Likewise.
4786 * config/mips/mips16.S: Likewise.
4787 * config/mips/netbsd.h: Likewise.
4788 * config/mips/osfrose.h: Likewise.
4789 * config/mips/r3900.h: Likewise.
4790 * config/mips/sni-svr4.h: Likewise.
4791 * config/mips/svr4-t.h: Likewise.
4792 * config/mips/ultrix.h: Likewise.
4793
4794 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
4795
4796 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4797 when we update head->current.
4798
4799 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
4800
4801 * tree.c (id_string_size): Remove.
4802 (dump_tree_statistics): Update.
4803 * toplev.c (compile_file): If dumping stats, dump tree stats too.
4804
4805 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
4806
4807 * sched-rgn.c (schedule_insns): Fix comment.
4808
4809 2001-10-30 Zack Weinberg <zack@codesourcery.com>
4810
4811 * configure.in: Correct previous change: don't assume that
4812 gas's version number _isn't_ the last thing on the line, or
4813 isn't the only number on the line, either.
4814 * configure: Regenerate.
4815
4816 2001-10-30 Kazu Hirata <kazu@hxi.com>
4817
4818 * cfgcleanup.c: Fix a comment typo.
4819
4820 2001-10-30 Kazu Hirata <kazu@hxi.com>
4821
4822 * alias.c: Fix comment formatting.
4823 * recog.c: Likewise.
4824 * config/cris/cris.c: Likewise.
4825 * config/cris/cris.h: Likewise.
4826 * config/i960/i960.c: Likewise.
4827 * config/i960/i960.h: Likewise.
4828
4829 2001-10-30 Kazu Hirata <kazu@hxi.com>
4830
4831 * config/arm/arm.c: Fix a comment typo.
4832 * config/arm/arm.h: Likewise.
4833 * config/ia64/ia64.c: Likewise.
4834
4835 2001-10-30 Jakub Jelinek <jakub@redhat.com>
4836
4837 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
4838 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
4839 * rtl.h (set_unique_reg_note): Change return value.
4840 * gcse.c (try_replace_reg): Use set_unique_reg_note.
4841 * cse.c (cse_insn): Likewise.
4842 * expr.c (emit_move_insn): Likewise.
4843 * explow.c (force_reg): Likewise.
4844 * local-alloc (update_equiv_regs): Likewise.
4845 * loop.c (move_moveables, load_mems): Likewise.
4846 * reload (find_reloads): Likewise.
4847
4848 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
4849
4850 Localization fixes.
4851 * c-decl.c (parmlist_tags_warning, start_struct,
4852 check_for_loop_decls): Separate messages for struct, union and
4853 enum cases to allow for languages in which they have different
4854 genders.
4855 * c-format.c (scanf_flag_specs): Separate short and long name of
4856 the assignment suppression feature.
4857 (check_format_types): Localize "pointer" and "different types"
4858 strings.
4859 * c-lex.c (lex_number): Localize "an unsigned long int" and
4860 related strings.
4861 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
4862 warning message.
4863 * c-typeck.c (build_unary_up): Separate messages for increment and
4864 decrement cases to allow for languages in which they use different
4865 articles. Localize the strings "increment" and "decrement" in one
4866 case.
4867
4868 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
4869
4870 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
4871 when no changes has been made.
4872
4873 * gcse.c (reg_set_bitmap): Turn into reg_set.
4874 (modify_mem_list_set, canon_modify_mem_list_set)
4875 (clear_modify_mem_tables, free_modify_mem_tables): New.
4876 (gcse_main); Use free_modify_mem_tables.
4877 (free_gcse_mem): Likewise; free the bitmaps.
4878 (alloc_gcse_main): Initialize the bitmaps.
4879 (canon_list_insert): Set canon_modify_mem_list_set.
4880 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
4881 (compute_hash_table): Use clear_modify_mem_tables.
4882 (reset_opr_set_tables): Likewise.
4883 (oprs_not_set_p): reg_set_bitmap is regset.
4884 (mark_set, mark_clobber): Likewise.
4885
4886 * df.h (DF_EQUIV_NOTES): New constant.
4887 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
4888 when asked for.
4889
4890 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
4891 (init_regions, schedule_insns): Conditionalize the checking
4892 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
4893
4894 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
4895
4896 * i386.md (movti_rex64 splitter): Fix condition.
4897
4898 2001-10-29 Zack Weinberg <zack@codesourcery.com>
4899
4900 * configure.in: Do not assume that gas's version number is the
4901 last thing on the first line of as --version output.
4902 * configure: Regenerate.
4903
4904 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
4905 MT_WARNING, MT_ERROR, MT_FATAL.
4906 (main): Call gcc_init_libintl.
4907 (v_message): Call gettext on msgid and "warning: "
4908 * tradcif.y: Include intl.h.
4909 (yyerror): Make parameter definition consistent with
4910 prototype. Call gettext on msgid argument.
4911
4912 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4913
4914 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
4915 warnings.
4916
4917 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
4918
4919 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4920
4921 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
4922 before referencing it.
4923
4924 2001-10-26 DJ Delorie <dj@redhat.com>
4925
4926 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
4927 override -G, and force -G0.
4928
4929 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4930
4931 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
4932 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
4933 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
4934 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
4935
4936 * loop.h (struct induction): Rename ext_dependant to
4937 ext_dependent.
4938 * loop.c: Change all uses.
4939 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
4940 All callers changed.
4941 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
4942
4943 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4944
4945 * c-parse.in (expr_no_commas, primary), c-typeck.c
4946 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
4947
4948 2001-10-29 David Edelsohn <edelsohn@gnu.org>
4949
4950 Undo assemble_name change in earlier patch.
4951
4952 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
4953
4954 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
4955 determining the type of the receiver, do not check that TREE_CODE
4956 of receiver is CALL_EXPR before calling receiver_is_class_object().
4957 (receiver_is_class_object): For the GNU runtime: recognize
4958 the case that the receiver is self in a class method context.
4959 Check that TREE_CODE of receiver is CALL_EXPR when checking that
4960 the receiver is a call to objc_get_class.
4961
4962 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
4963
4964 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
4965
4966 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4967
4968 * Makefile.in (OBJS): Put all files in alphabetical order.
4969
4970 * dwarf2out.c (add_const_value_attribute): Fix error in last
4971 change.
4972
4973 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
4974
4975 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
4976 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
4977 fix warning.
4978 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
4979 (life_analysis): call purge_all_dead_edges after deleting noops.
4980 (delete_noop_move): Do not purge CFG.
4981 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
4982
4983 2001-10-28 David Edelsohn <edelsohn@gnu.org>
4984
4985 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
4986 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
4987 (ASM_GLOBALIZE_LABEL): Use assemble_name.
4988 (ASM_OUTPUT_COMMON): Likewise.
4989 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
4990 (rs6000_output_function_epilogue): Likewise.
4991 (output_mi_thunk): Fix typo.
4992 (rs6000_output_symbol_ref): Use assemble_name.
4993 (output_toc): Likewise.
4994 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
4995 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
4996 assemble_name calls STRIP_NAME_ENCODING.
4997 (ASM_OUTPUT_LABEL): Use assemble_name.
4998 (ASM_GLOBALIZE_LABEL): Likewise.
4999 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5000 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
5001 (ASM_OUTPUT_LOCAL): Likewise.
5002
5003 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5004
5005 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5006 (expand_builtin_apply, expand_builtin_return): Likewise.
5007 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5008
5009 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5010
5011 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5012 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5013 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5014 configure, configure.in, except.c, except.h, flow.c, function.c,
5015 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5016 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5017 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5018 unroll.c: Fix spelling errors.
5019
5020 * doc/extend.texi, doc/invoke.texi: Fix spelling.
5021
5022 * doc/gcc.texi: Document use of "dependent" and American spelling.
5023
5024 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
5025
5026 * expr.c (emit_group_load): Support CONCATs by storing them to memory
5027 and reloading.
5028
5029 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5030
5031 * expr.c (store_constructor_field): Only call adjust_address on MEM.
5032
5033 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
5034
5035 * genrecog.c (write_switch): Output if before switch for
5036 DT_elt_zero_wide_safe.
5037
5038 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5039
5040 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5041 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5042 (FUNCTION_PROFILER): Const-ify.
5043 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5044 (eliminate_constant_term, assemble_name, output_addr_const):
5045 Remove declarations.
5046 (ptr_half_pic_address_p, half_pic_hash): Prototype.
5047 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5048 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5049 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5050 (half_pic_declare, half_pic_external): Const-ify.
5051 * toplev.c: Include "halfpic.h".
5052
5053 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5054
5055 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5056 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5057 config/i386/i386.c, config/i386/i386-interix.h,
5058 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5059 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5060 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5061 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5062 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5063 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5064 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5065 spelling errors.
5066
5067 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5068 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5069 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5070 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5071 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5072 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5073 system.h, toplev.c: Fix spelling errors.
5074
5075 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5076
5077 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5078
5079 * dwarf2out.c (reg_number): Abort if pseudo.
5080 (reg_loc_descriptor): Return 0 if pseudo.
5081 (is_based_loc): Return 0 if pseudo.
5082 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5083 recursive calls.
5084 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5085 (loc_descriptor): Return 0 if can't find location and handle 0
5086 return from recursive calls.
5087 (loc_descriptor_from_tree): Likewise.
5088 Fix handling of indirect.
5089 Also return 0 for PLACEHOLDER_EXPR.
5090 Clean up COMPONENT_REF cases.
5091 (add_AT_location_descriptor): Simplify, but handle 0 return from
5092 loc_descriptor.
5093 (add_const_value_attribute): Avoid shift count warning.
5094 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5095 Set comp_unit_die as context if not in function.
5096
5097 * config/mips/mips-protos.h: Break up long lines.
5098 Remove needless #ifdef/#endif blocks.
5099 Don't declare functions declared in file made by genpreds or recog.h.
5100 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5101 is now HOST_WIDE_INT; delete unneeded casts.
5102 * config/mips/mips.h: Don't use #elif.
5103
5104 * expr.c (stor_constructor_field): Always call adjust_address.
5105 Copy TARGET before changing its alias set.
5106 (store_field): Likewise, for TO_RTX.
5107 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5108 replacement.
5109 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5110 (find_placeholder): Return 0 if can't find object.
5111 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5112 returns 0.
5113
5114 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5115
5116 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5117
5118 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5119
5120 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5121 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5122 (merge_blocks): Properly udpate life after making edge nonfallthru.
5123 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5124
5125 2001-10-26 Kazu Hirata <kazu@hxi.com>
5126
5127 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5128
5129 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5130
5131 * c-typeck.c (convert_arguments): When comparing for enumeral
5132 type equality, use TYPE_MAIN_VARIANT.
5133 * gcc.dg/Wconversion.c: New tests.
5134
5135 2001-10-26 Kazu Hirata <kazu@hxi.com>
5136
5137 * s390/s390.c: Fix comment typos.
5138 * s390/s390.h: Likewise.
5139 * s390/s390.md: Likewise.
5140
5141 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5142
5143 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5144 (walk_tree): Use it for tail calls where appropriate.
5145
5146 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5147
5148 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5149 non-local label_refs.
5150
5151 2001-10-26 Kazu Hirata <kazu@hxi.com>
5152
5153 * config/h8300/h8300.md (4 anonymous patterns): New.
5154
5155 2001-10-26 Kazu Hirata <kazu@hxi.com>
5156
5157 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5158 algorithm through the shift_info structure.
5159 (emit_a_shift): Update the use of get_shift_alg.
5160
5161 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
5162
5163 * sched-rgn.c: Remove bitset typedef.
5164 Change bitset to sbitmap in prototypes / variable types.
5165 Remove bbset_size.
5166 Remove edgeset_bits.
5167 Remove edgeset_size.
5168 s/BITSET_ADD/SET_BIT/g
5169 s/BITSET_INVERT/sbitmap_ones/g
5170 s/BITSET_INTER/sbitmap_a_and_b/g
5171 s/BITSET_UNION/sbitmap_a_or_b/g
5172 s/BITSET_DIFFER/sbitmap_difference/g
5173 s/bitset_member/TEST_BIT/g
5174 (BITSET_*): Removed.
5175 (bitset_member): Removed.
5176 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5177 EXECUTE_IF_SET_IN_SBITMAP.
5178 (split_edges): Rewrite, use sbitmap functions instead of bitset
5179 operations.
5180 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5181
5182 2001-10-26 Andreas Schwab <schwab@suse.de>
5183
5184 * reload1.c (emit_input_reload_insns): Fix parens in last
5185 (undocumented) change that was supposed to change only whitespace.
5186
5187 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5188
5189 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5190
5191 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5192 ASM_OPERANDS.
5193
5194 2001-10-26 Andreas Jaeger <aj@suse.de>
5195
5196 * flow.c (clear_log_links): Remove unused variable.
5197 * cfgcleanup.c (cleanup_cfg): Likewise.
5198
5199 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5200
5201 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5202 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5203
5204 2001-10-26 Richard Henderson <rth@redhat.com>
5205
5206 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5207 rename PV_REG to R27_REG.
5208 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5209 (REG_CLASS_FROM_LETTER): Update.
5210 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5211 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5212 (udivsi3, modsi3, umodsi3): Likewise.
5213 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5214
5215 2001-10-26 Richard Henderson <rth@redhat.com>
5216
5217 * cfg.c (clear_aux_for_blocks): Split out of ...
5218 (free_aux_for_blocks): here.
5219 (clear_aux_for_edges): Split from ...
5220 (free_aux_for_edges): here.
5221 * basic-block.h: Declare them.
5222 * lcm.c (compute_antinout_edge): Use them.
5223 (compute_laterin, compute_available, compute_nearerout): Likewise.
5224 (optimize_mode_switching): Likewise.
5225
5226 2001-10-26 Richard Henderson <rth@redhat.com>
5227
5228 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5229 moving everything back to the main build directory.
5230
5231 2001-10-26 Christopher Faylor <cgf@redhat.com>
5232
5233 * config/i386/cygwin.h: Search target specific include directory, if
5234 appropriate.
5235
5236 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5237
5238 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5239 of macro guards. Fix #endif comment.
5240
5241 * output.h (default_exception_section, default_eh_frame_section):
5242 Move prototypes outside of macro guard.
5243
5244 * crtstuff.c: Fix #endif comment.
5245
5246 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5247
5248 * doc/md.texi (movMM): Clarify semantics of storing into a
5249 non-paradoxical SUBREG.
5250
5251 2001-10-25 Zack Weinberg <zack@codesourcery.com>
5252
5253 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5254 (lang_hook_default_get_alias_set): Move next to other alias
5255 hooks.
5256 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5257 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5258 (LANG_HOOKS_INITIALIZER): Add it.
5259 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5260 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5261 instead of a loop calling poplevel.
5262
5263 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5264
5265 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5266 occurrences of #elif with #if...#endif.
5267
5268 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5269
5270 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5271
5272 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5273
5274 * alias.c (can_address_p): No longer static.
5275 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5276 Return 0 if all parameters are default values.
5277 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5278 (adjust_address_1): Try harder to compute a size.
5279 * expr.c (expand_assignment, store_constructor): If can't address,
5280 set MEM_KEEP_ALIAS_SET_P.
5281 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5282 (store_field): Likewise.
5283 (store_constructor): Simplify call to store_constructor_field.
5284 * expr.h (can_address_p): New declaration.
5285 * gensupport.c (gen_rtx_CONST_INT): New function.
5286 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5287 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5288 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5289
5290 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5291
5292 2001-10-24 Christopher Faylor <cgf@redhat.com>
5293
5294 * config/i386/cygwin.h: Use proper path for mingw crt files when
5295 -mno-cygwin.
5296
5297 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5298
5299 * dwarf2out.c (file_info_cmp): Always return consistent results.
5300
5301 2001-10-24 Roger Sayle <roger@eyesopen.com>
5302
5303 * stmt.c (expand_end_case): Index jumptables from zero for
5304 suitably small values of minval.
5305
5306 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5307
5308 * stor-layout.c (place_union_field): If any field was aligned with
5309 attribute aligned, set record type's TYPE_USER_ALIGN.
5310 (place_field): Likewise.
5311 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5312 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5313
5314 2001-10-24 Zack Weinberg <zack@codesourcery.com>
5315
5316 * c-common.h (struct c_common_identifier): Remove rid_code field.
5317 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5318
5319 * c-typeck.c (constructor_designated): New local flag.
5320 (struct constructor_stack): Add "designated" field to match.
5321 (start_init): Clear it.
5322 (really_start_incremental_init, push_init_level): Push and
5323 clear it.
5324 (pop_init_level): Pop it.
5325 (set_designator): Set it.
5326
5327 (pop_init_level): Suppress "missing initializer" warnings if
5328 constructor_designated is true.
5329 (process_init_element): Suppress warning about union
5330 initialization under traditional C, if constructor_designated
5331 is true.
5332
5333 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5334
5335 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5336 change.
5337
5338 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
5339
5340 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5341
5342 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5343
5344 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5345 the node was already a set to a constant.
5346
5347 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5348
5349 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5350 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5351
5352 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5353
5354 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5355 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
5356 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5357 * s390.c (s390_final_chunkify): Don't use string concatenation.
5358 (s390_function_prologue, s390_function_epilogue): Const-ify.
5359 * s390.h (FUNCTION_PROFILER): Remove unused variable.
5360
5361 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5362
5363 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5364 prototypes.
5365
5366 2001-10-23 Stan Shebs <shebs@apple.com>
5367
5368 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5369 -traditional-cpp in first-stage compilation.
5370
5371 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5372
5373 * gensupport.c (target_flags): Add.
5374
5375 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5376
5377 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5378 if needed.
5379 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5380 * except.c (expand_builtin_frob_return_addr): Likewise.
5381 (expand_builtin_eh_return): Likewise.
5382 * stmt.c (expand_computed_goto): Likewise.
5383 * explow.c (memory_address): Likewise.
5384 (allocate_dynamic_stack_space): Clean up predicate testing.
5385 (probe_stack_range): Convert SIZE to Pmode.
5386 * calls.c (rtx_for_function_call): Only call convert_memory_address
5387 if needed.
5388 Pass function call operand as ptr_mode, not Pmode.
5389 * expr.c (expand_assignment): Clean up calls to convert_memory
5390 address by only doing so when needed and making offsets Pmode.
5391 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5392 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5393 is in Pmode, not ptr_mode.
5394
5395 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5396
5397 * darwin-protos.h (constructor_section, destructor_section,
5398 mod_init_section, mod_term_section): Prototype.
5399 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5400 Const-ify.
5401 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5402 Likewise.
5403 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
5404 objc_section_init declaration.
5405 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5406 (objc_section_init, try_section_alias): Make static.
5407 (alias_section): Make static and hide unused function.
5408 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5409
5410 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5411
5412 * alias.c (can_address_p): Compnonents are not addressable if
5413 the containing type has alias set 0.
5414 (get_alias_set): Rework to use STRIP_NOPS.
5415 Only call front-end routine on object, type, or object with
5416 NOPs stripped, not inner values.
5417 Use language hook to call front-end routine.
5418 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5419 (expand_builtin_apply): Call set_mem_align on MEMs we make.
5420 Don't pass alignment to emit_block_move.
5421 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5422 (expand_builtin_memset): Likewise, but for clear_storage.
5423 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5424 and remove C++ specific parts.
5425 * c-common.h (c_common_get_alias_set): Add declaration.
5426 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5427 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5428 (save_fixed_argument_area): Call set_mem_align.
5429 Remove alignment in call to emit_block_move.
5430 (emit_library_call_value_1, store_one_arg): Likewise.
5431 (target_for_arg): Remove; disabled long ago.
5432 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5433 once and similar cleanups.
5434 (offset_address): Use proper introductory comment.
5435 * expr.c (emit_block_move): Use alignment from that of MEM args, not
5436 from explicit operand; all callers changed.
5437 (clear_storage): Likewise.
5438 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5439 (store_field): Remove kludge on alias set used for to_rtx.
5440 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5441 (expand_expr_unaligned): Call set_mem_attributes instead of
5442 set_mem_alias_set.
5443 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5444 * function.c (assign_stack_temp_for_type): Set MEM alignment.
5445 (expand_function_end): Track MEM attributes of trampolines.
5446 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5447 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5448 attributes from original.
5449 * langhooks.c (lang_hook_default_get_alias_set): New function.
5450 (hook_get_alias_set_0): New function.
5451 * langhooks.h (hook_get_alias_set_0): New declaration.
5452 (lang_hook_default_get_alias_set): Likewise.
5453 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5454 * reload1.c (alter_reg): Use adjust_address_nv.
5455 * rtl.c (get_mode_alignment): Moved to here.
5456 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5457 change default if unknown from 1 to BITS_PER_UNIT.
5458 * stor-layout.c (get_mode_alignment): Remove from here.
5459 * toplev.h (struct lang_hoks): Add get_alias_set field.
5460 * tree.h (lang_get_alias_set): Delete declaration.
5461 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5462 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5463 (ix86_va_arg): Likewise.
5464 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5465 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5466 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5467 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5468 (expand_block_move_mem): Remove dead code.
5469
5470 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
5471
5472 * c-common.c (warn_div_by_zero): New.
5473 * c-common.h (warn_div_by_zero): New.
5474 * c-decl.c (c_decode_option): Take it on the command line.
5475 * c-typeck.c (build_binary_op): Warn about division by zero.
5476 * doc/invoke.texi: Document the new command line option, fix
5477 documentation of -Wmultichar.
5478 * testsuite/gcc.dg/divbyzero.c: New tests.
5479 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5480
5481 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5482
5483 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5484
5485 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5486 to avoid update_life_info call.
5487 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5488 * cfgcleanup.c (bb_flags): New enum.
5489 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5490 (notice_new_block, update_forwarder_flag): New functions.
5491 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5492 (try_forward_edges): Likewise; update flags.
5493 (merge_blocks): Likewise.
5494 (outgoing_edges_match): Likewise.
5495 (try_crossjump_to_edge): Likewise.
5496 (try_optimize_cfg): Likewise; initialize and clear the flags;
5497 recompute life info if needed.
5498 (cleanup_cfg): No need to clear aux pointers.
5499
5500 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
5501
5502 * config/i386/i386.c (override_options): Default to minimum
5503 stack alignment when optimizing for code size.
5504 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5505 change.
5506
5507 * config/i386/i386.c (override_options): Set upper limit of
5508 -mpreferred-stack-boundary to 12.
5509
5510 2001-10-22 Zack Weinberg <zack@codesourcery.com>
5511
5512 * recog.c (peephole2_optimize): Add default case to switch.
5513
5514 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
5515
5516 * doc/gcc.texi (Sending Patches): Remove.
5517
5518 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
5519
5520 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5521 fields when comparing.
5522
5523 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5524
5525 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
5526 * arm.c (HOST_INT, HOST_UINT): Likewise.
5527
5528 2001-10-22 Stan Shebs <shebs@apple.com>
5529
5530 * config/darwin-protos.h (darwin_exception_section): Declare.
5531 (darwin_eh_frame_section): Declare.
5532
5533 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5534
5535 * i386.md (movti_rex64): Fix mode.
5536
5537 2001-10-22 Stan Shebs <shebs@apple.com>
5538
5539 * target.h (struct gcc_target): Add asm_out.exception_section,
5540 asm_out.eh_frame_section.
5541 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5542 (TARGET_ASM_EH_FRAME_SECTION): New.
5543 (TARGET_INITIALIZER): Update.
5544 * output.h (default_exception_section): Declare.
5545 (default_eh_frame_section): Declare.
5546 * dwarf2out.c: Include target.h.
5547 (output_call_frame_info): Call target hook for eh frames.
5548 (default_eh_frame_section): New function.
5549 * except.c: Include target.h.
5550 (output_function_exception_table): Call target hook for exception
5551 section.
5552 * varasm.c (default_exception_section): Rename from
5553 exception_section, remove EXCEPTION_SECTION macro.
5554
5555 * config/darwin.h (darwin_eh_frame_section): New function.
5556 (EXCEPTION_SECTION): Remove.
5557 (TARGET_ASM_EXCEPTION_SECTION): Define.
5558 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5559 (nextstep_exception_section): New function.
5560 (nextstep_eh_frame_section): New function.
5561 (TARGET_ASM_EXCEPTION_SECTION): Define.
5562 (TARGET_ASM_EH_FRAME_SECTION): Define.
5563
5564 * config/pa/som.h (EXCEPTION_SECTION): Remove.
5565 (TARGET_ASM_EXCEPTION_SECTION): Define.
5566 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5567 (EXCEPTION_SECTION): Remove.
5568 (TARGET_ASM_EXCEPTION_SECTION): Define.
5569 * config/stormy16/stormy16.h: Remove comments referencing
5570 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5571
5572 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5573 TARGET_ASM_EH_FRAME_SECTION.
5574
5575 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
5576
5577 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5578 terms.
5579
5580 * c-format.c: Fix spelling typo in comment.
5581
5582 * sched-int.h: Fix typo in GCC preamble.
5583
5584 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5585
5586 PR debug/4252
5587 * doc/invoke.texi: Remove references to -fdump-translation-unit.
5588
5589 2001-10-22 Richard Henderson <rth@redhat.com>
5590
5591 * config/i386/i386.c (ix86_expand_clear): New.
5592 * config/i386/i386-protos.h: Declare it.
5593 * config/i386/i386.md (setcc peep2s): Use it.
5594 (movsi_xor): Unexport.
5595
5596 2001-10-22 Richard Henderson <rth@redhat.com>
5597
5598 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5599 free_EXPR_LIST_list for LOG_LINKS.
5600
5601 2001-10-21 Robert Lipe <robertlipe@usa.net>
5602
5603 * config/i386/i386.c (sco_asm_named_section): Delete.
5604 (sco_asm_out_constructor): Delete.
5605 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5606 (ASM_OUTPUT_DOUBLE_INT): Likewise.
5607 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
5608 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5609 (EXCEPTION_SECTION): Delete EH scn renaming hack.
5610
5611 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5612
5613 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5614 and/or fold extra calls into fewer ones.
5615 * collect2.c (dump_file): Likewise.
5616 * cppexp.c (parse_number): Likewise.
5617 * cpplex.c (_cpp_lex_direct): Likewise.
5618 * final.c (output_asm_insn, asm_fprintf): Likewise.
5619 * fix-header.c (inf_scan_ident, main): Likewise.
5620 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5621 Likewise.
5622 * fold-const.c (real_hex_to_f): Likewise.
5623 * gen-protos.c (parse_fn_proto): Likewise.
5624 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5625 * genrecog.c (change_state, write_action): Likewise.
5626 * gensupport.c (shift_output_template): Likewise.
5627 * local-alloc.c (requires_inout): Likewise.
5628 * mips-tfile.c (IS_ASM_IDENT): Likewise.
5629 * protoize.c (is_id_char, main): Likewise.
5630 * real.c (asctoeg): Likewise.
5631 * recog.c (asm_operand_ok): Likewise.
5632 * reload.c (find_reloads): Likewise.
5633 * scan.c (scan_identget_token): Likewise.
5634 * sched-vis.c (print_value): Likewise.
5635 * stringpool.c (ggc_alloc_string): Likewise.
5636 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5637 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5638 * tradcpp.c (rescan): Likewise.
5639 * tree.c (clean_symbol_name): Likewise.
5640 * varasm.c (decode_reg_name): Likewise.
5641
5642 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5643 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5644 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5645 * m88k.c (output_ascii): Likewise.
5646 * m88k.h (OVERRIDE_OPTIONS): Likewise.
5647 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5648 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5649 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5650
5651 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5652
5653 * langhooks.c (lang_hook_default_do_nothing,
5654 lang_hook_default_decode_option): New defaults.
5655 * langhooks.h: Make hooks unconditional and non-NULL.
5656 * toplev.c (compile_file, toplev_main): Update.
5657 * toplev.h: Update comments.
5658 * objc/objc-act.c (lang_hooks): Update to new paradigm.
5659
5660 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5661
5662 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5663
5664 * system.h (IN_RANGE): New macro.
5665
5666 2001-10-21 Zack Weinberg <zack@codesourcery.com>
5667
5668 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5669 INTLDEPS variable, which does not include $LIBICONV.
5670 * Makefile.in: Use INTLDEPS in LIBDEPS.
5671 * configure: Regenerate.
5672
5673 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5674
5675 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5676 * cpplex.c (lex_percent, lex_dot): Remove.
5677 (get_effective_char, skip_block_comment, skip_line_comment,
5678 parse_identifier_slow, parse_number, parse_string, save_comment,
5679 _cpp_lex_direct): Update to do lookback freely.
5680 (IF_NEXT_IS, BACKUP): New macros.
5681 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5682 * cppmacro.c (paste_tokens): Update.
5683
5684 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
5685
5686 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5687
5688 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
5689
5690 * reload1.c (reload): Check CONSTANT_P before calling
5691 LEGITIMATE_PIC_OPERAND_P.
5692 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5693 workaround of 2001-10-13.
5694
5695 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5696
5697 * i386.c (split_di): Handle splitting of DFmode.
5698
5699 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5700
5701 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5702 (adjust_address_1, offset_address): Likewise.
5703
5704 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5705 (output_asm_insn): Call it for each line output.
5706 Don't record an operand more than once.
5707
5708 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5709 * main.c: Include config.h and system.h, but not ansidecl.h.
5710 * Makefile.in (main.o): Update accordingly.
5711
5712 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5713
5714 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5715
5716 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
5717
5718 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5719 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5720 Break out from ...
5721 (find_sub_basic_blocks): ... here;
5722 (find_many_sub_basic_blocks): New.
5723 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5724
5725 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5726
5727 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5728
5729 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5730
5731 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5732 * flow.c (update_life_info): Measure time.
5733 * c-decl.c: Include timevar.h
5734 (c_expand_body): Measure time.
5735 * toplev.c (rest_of_compilation): Measure time of mode switching
5736 separately.
5737 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5738
5739 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5740 (lang_independent_options): Add asynchronous-unwind-tables
5741 (toplev_main): flag_asynchronous_unwind_tables implies
5742 flag_unwind_tables.
5743 * flags.h (flag_asynchronous_unwind_tables): Declare.
5744 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5745 flag_asynchronous_unwind_tables.
5746 (output_call_frame_info): Likewise.
5747 * invoke.texi (-fasynchronous-unwind-tables): Document.
5748 * i386.c (optimization_options): Enable
5749 flag_asynchronous_unwind_tables.
5750
5751 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
5752 * i386.md (s* expanders): Destination is QImode.
5753
5754 * toplev.c (rest_of_compilation): Do not call clear_log_links.
5755 * rtl.h (clear_log_links): Kill.
5756 * flow.c (clear_log_links): Make static; accept blocks parameter;
5757 do no clear life info.
5758 (update_life_info): Call clear_log_links.
5759
5760 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5761
5762 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
5763
5764 * cpplex.c (handle_newline, skip_escaped_newlines,
5765 get_effective_char, skip_block_comment, skip_line_comment,
5766 parse_identifier_slow, parse_number, parse_string,
5767 _cpp_lex_direct): Update to do more stepping back.
5768 (trigraph_ok): Similarly. Rename trigraph_p.
5769 (SAVE_STATE, RESTORE_STATE): Remove.
5770 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
5771
5772 * cpplib.c (destringize): Rename destringize_and_run, and
5773 call run_directive directly.
5774 (_cpp_do__Pragma): Simplify.
5775
5776 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5777
5778 * pe.c (arm_pe_unique_section): Const-ify.
5779 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5780 (switch_to_section): Add static prototype.
5781
5782 * output.h (drectve_section): Prototype.
5783
5784 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5785
5786 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5787 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5788 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5789 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5790 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5791 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5792 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5793 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5794 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5795 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5796 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5797 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5798 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5799 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
5800 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
5801 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
5802 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
5803 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
5804 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
5805 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
5806 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
5807 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
5808 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
5809 cris-*-none, cris-*-linux*: Update ${tmfile} list.
5810 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
5811 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
5812 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
5813 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
5814 v850-*-*): Delete superflous ${cpu_type} setting.
5815 * config/linux.h: Delete svr4.h include.
5816 (SET_ASM_OP): Delete.
5817 * config/netware.h (INT_ASM_OP): Undef before define.
5818 * config/ptx4.h: Delete elfos.h include.
5819 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
5820 * config/svr4.h: Delete elfos.h include. Update commentary.
5821 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
5822 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
5823 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
5824 config/v850/v850.h: Delete svr4.h include.
5825 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
5826 config/m68k/m68kv4.h, config/m88k/sysv4.h,
5827 config/sparc/sysv4.h: Update includes.
5828 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
5829 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
5830 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
5831 config/m88k/dguxbcs.h: Delete includes.
5832 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
5833 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
5834 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
5835 it.
5836 * config/m88k/dgux.h: Delete include.
5837 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
5838 defining it.
5839 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
5840 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
5841 * config/sh/elf.h: Update include.
5842 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
5843 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
5844
5845 2001-10-19 Catherine Moore <clm@redhat.com>
5846
5847 * config/stormy16/stormy-abi: Updates to varargs descriptions.
5848 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
5849 base and count fields.
5850 (stormy16_expand_builtin_va_start): last_reg_count changed to
5851 size_of_reg_args. Use count + size in first comparison.
5852
5853 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5854
5855 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
5856 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
5857 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
5858 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
5859 Set alignment from type if INDIRECT_REF.
5860 (adjust_address_1, offset_address): Simplify alignment compuitation.
5861 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
5862 here; done by set_mem_attributes.
5863
5864 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5865
5866 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
5867 * arm-protos.h (rdata_section, zero_init_section, common_section):
5868 Prototype.
5869 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
5870 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
5871 traditional mode stringification.
5872 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
5873 in macros controling its use.
5874 * rtlanal.c: Include tm_p.h.
5875 * varasm.c (asm_output_aligned_bss): Mark parameter with
5876 ATTRIBUTE_UNUSED.
5877 (assemble_constant_align, assemble_start_function, assemble_align,
5878 assemble_variable, assemble_trampoline_template,
5879 output_constant_def_contents): Wrap potentially empty if-stmt body
5880 in brackets.
5881
5882 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5883
5884 * a29k-protos.h (literal_section): Prototype.
5885 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
5886 * a29k.md: Ensure function pointers are prototyped.
5887 * genattrtab.c (write_eligible_delay): Mark parameter with
5888 ATTRIBUTE_UNUSED.
5889
5890 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5891
5892 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5893 * 1750a.c (print_operand): Fix format specifier warning.
5894 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
5895 * 1750a.md: Likewise.
5896 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
5897 * genemit.c (output_add_clobbers): Mark parameter with
5898 ATTRIBUTE_UNUSED.
5899 * genrecog.c (write_subroutine): Likewise.
5900 * integrate.c (expand_inline_function): Delete unused variable.
5901 * varasm.c (remove_from_pending_weak_list): Wrap with
5902 ASM_WEAKEN_LABEL.
5903
5904 2001-10-19 Jakub Jelinek <jakub@redhat.com>
5905
5906 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
5907 field is different to previous argument's neg field.
5908
5909 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
5910
5911 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5912
5913 * final.c (get_decl_from_op): New function.
5914 (output_asm_insn): Call it; write "*" when item with decl is address.
5915
5916 2001-10-19 Janis Johnson <janis187@us.ibm.com>
5917
5918 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
5919 about 64-bit support from the 3.0_branch version.
5920
5921 2001-10-19 Zack Weinberg <zack@codesourcery.com>
5922
5923 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
5924 USE_INCLUDED_LIBINTL when appropriate.
5925 * configure, config.in: Regenerate.
5926 * Makefile.in (datadir): Set to @datadir@.
5927 (intl.o): Also depend on $(CONFIG_H) and system.h.
5928
5929 * intl.c: Factor out common gettext initialization sequence.
5930 (gcc_init_libintl): New function.
5931 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
5932 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
5933 off NLS. Add multiple include guard. No need to #ifdef-guard
5934 an #undef. Prototype gcc_init_libintl here.
5935
5936 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
5937 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
5938 Use gcc_init_libintl.
5939
5940 2001-10-19 Catherine Moore <clm@redhat.com>
5941
5942 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
5943
5944 * config/stormy16/stormy16.c (stormy16_split_move): Make
5945 sure that REG_INC notes are present for auto_inc operands.
5946
5947 2001-10-19 Andreas Jaeger <aj@suse.de>
5948
5949 * configure: Regenerated.
5950 * configure.in: Add x86_64 to switch statements.
5951
5952 2001-10-18 Richard Henderson <rth@redhat.com>
5953
5954 * config/alpha/alpha.md (sibcall_osf_1): Load destination
5955 address into $27 explicitly.
5956 (sibcall_value_osf_1): Likewise.
5957
5958 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5959
5960 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
5961 (offset_address): New function.
5962 (free_emit_status): Free regno_decl.
5963 (init_emit): Pass proper number of elements to xcalloc.
5964 Allocate regno_decl.
5965 (mark_emit_status): Mark regno_decl values.
5966 * expr.c (highest_pow2_factor): New function.
5967 (expand_assigment): Use it and offset_address.
5968 Properly handle ptr_mode vs. Pmode in offset calculation.
5969 (store_constructor, expand_expr_unaligned): Likewise.
5970 (expand_expr, case COMPONENT_EXPR): Likewise.
5971 * expr.h (offset_address): New decl.
5972 * function.h (struct emit_status): Add regno_decl.
5973 (REGNO_DECL): New macro.
5974 * final.c (output_asm_name): Move in file and don't conditionalize
5975 on flag_print_asm_name.
5976 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
5977 Output names of operands, if known.
5978 * function.c (assign_parms): Set REGNO_DECL.
5979 * integrate.c (integrate_decl_tree): Likewise.
5980 * stmt.c (expand_decl): Likewise.
5981 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
5982
5983 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
5984
5985 * attribs.c (handle_noinline_attribute): New function.
5986 (handle_used_attribute): Likewise.
5987 (c_common_attribute_table): Added noinline and used.
5988 * doc/extend.texi (Function Attributes): Document them.
5989 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
5990 Warn when merging inline with attribute noinline.
5991 (start_decl, start_function): Warn if inline and attribute
5992 noinline appear in the same declaration.
5993
5994 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
5995
5996 * config.gcc: Update c4x and i370 for C front end-specific
5997 dependencies.
5998 * config/c4x/c4x-c.c: New.
5999 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6000 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6001 New declarations.
6002 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6003 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6004 Make extern.
6005 (c4x_init_pragma): Remove.
6006 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6007 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6008 c4x_pr_ignored): Move to c4x-c.c.
6009 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6010 * config/c4x/t-c4x: Update.
6011 * config/i370/i370-c.c: New.
6012 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6013 (i370_pr_map): Move to i370-c.c.
6014 * config/i370/t-i370: New.
6015
6016 * doc/tm.texi: Update.
6017
6018 2001-10-17 Stan Shebs <shebs@apple.com>
6019
6020 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6021 typo fixes throughout.
6022 (machopic_output_stub): Remove some dead code.
6023
6024 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
6025
6026 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6027 leak.
6028
6029 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6030
6031 * Makefile.in (print-rtl.o): Depend on TREE_H.
6032 * alias.c (get_alias_set): Make two passes over objects to first
6033 see if inner object is access via restricted pointer.
6034 Defer allocating alias set for restricted pointer until here.
6035 Call find_placeholder with second arg nonzero.
6036 Minor cleanups.
6037 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6038 set for restricted pointer types.
6039 * emit-rtl.c (set_mem_attributes): Set more attributes.
6040 (set_mem_align, change_address, adjust_address_1): New functions.
6041 (change_address_1): Now static.
6042 (adjust_address, adjust_address_nv): Deleted.
6043 (replace_equiv_address): Call change_address_1.
6044 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6045 (find_placeholder): Get starting point from PLIST arg.
6046 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6047 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6048 (adjust_address, adjust_address_nv): New macros.
6049 * print-rtl.c (tree.h): New include.
6050 (print_rtx, case MEM): Print all memory attributes.
6051
6052 2001-10-17 Richard Henderson <rth@redhat.com>
6053
6054 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6055
6056 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6057
6058 * c-tree.texi: Eliminate duplicated word.
6059 * cpp.texi: Likewise.
6060 * install.texi: Likewise.
6061 * invoke.texi: Likewise.
6062 * tm.texi: Likewise.
6063
6064 2001-10-17 Michael Collison <collison@isisinc.net>
6065
6066 * dsp16xx.c: Fix comment formatting to match GNU standards.
6067 (dsp16xx_output_function_prologue): Change type of 'size'
6068 parameter from 'int' to HOST_WIDE_INT.
6069 (dsp16xx_output_function_epilogue): Change type of 'size'
6070 parameter from 'int' to HOST_WIDE_INT.
6071
6072 2001-10-16 Richard Henderson <rth@redhat.com>
6073
6074 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6075 * configure, config.in: Rebuild.
6076
6077 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6078 (ix86_output_addr_diff_elt): New.
6079 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6080 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6081 (JUMP_TABLES_IN_TEXT_SECTION): New.
6082 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6083 * config/i386/i386-protos.h: Update.
6084
6085 * config/i386/386bsd.h, config/i386/beos-elf.h,
6086 config/i386/freebsd-aout.h, config/i386/freebsd.h,
6087 config/i386/i386-interix.h, config/i386/i386elf.h,
6088 config/i386/linux.h, config/i386/netbsd-elf.h,
6089 config/i386/netbsd.h, config/i386/openbsd.h,
6090 config/i386/ptx4-i.h, config/i386/rtemself.h,
6091 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6092 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6093
6094 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6095
6096 * stmt.c (expand_asm_operands): Update commentary.
6097
6098 2001-10-16 Stan Shebs <shebs@apple.com>
6099
6100 * config/darwin.h (GCC_NAME): Remove, no longer used.
6101 (NO_MATH_LIBRARY): Ditto.
6102 (MATH_LIBRARY): Define to emptiness.
6103 (DWARF2_DEBUGGING_INFO): Define.
6104 (PREFERRED_DEBUGGING_TYPE): Define.
6105 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6106 (EXCEPTION_SECTION): Define.
6107 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6108 * config/darwin.c (darwin_encode_section_info): Handle case of
6109 DECL_INITIAL being error_mark_node.
6110
6111 2001-10-16 Richard Henderson <rth@redhat.com>
6112
6113 * alpha.c (current_file_function_operand): Don't fail for profiling.
6114 (direct_call_operand): New.
6115 * alpha-protos.h: Declare it.
6116 * alpha.h (EXTRA_CONSTRAINT): Use it.
6117 (PREDICATE_CODES): Add it.
6118 (ASM_OUTPUT_MI_THUNK): Remove.
6119 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6120 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6121
6122 2001-10-16 Krister Walfridsson <cato@df.lth.se>
6123
6124 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6125 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6126
6127 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6128
6129 * cfg.c (free_edge): Break out from ....
6130 (remove_edge): ... here.
6131 (clear_edges): Use free_edge.
6132
6133 * att.h (ASM_QUAD): Add comment.
6134 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6135
6136 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6137
6138 * i386.c (split_ti): New function.
6139 (ix86_split_to_parts): Support TImodes.
6140 * i386.h (VALID_INT_MODE_P): Add TImode.
6141 * i386.md (movdi splitter): Fix.
6142 (movti): Support 64bit integer registers.
6143 (movti_rex64): New function and splitter.
6144
6145 * i386.c (*_cost): Add movsx/movzx cost.
6146 * i386.h (struct processor_costs): Add movsx/movzx fields.
6147 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6148 64bit operations require split on 64bit machine.
6149 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6150
6151 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6152 (ix86_expand_move): Avoid pushes of memory if size does not match;
6153 move long constants to register.
6154 (x86_initialize_trampoline): Fix mode.
6155 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6156 Use ASM_QUAD on 64bit.
6157 * i386.md (test pattern): Disallow impossible constants.
6158 (tablejump PIC expander): Fix emitting of sum.
6159 (movdicc_rex64): Rename to movdicc.
6160 * linux64.h (LINK_SPEC): Add missing '%'.
6161
6162 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
6163
6164 * tree-inline.c (inlinable_function_p): Leave it up to the
6165 front-end to turn -finline-functions into DECL_INLINE set for all
6166 functions.
6167
6168 2001-10-16 Stan Shebs <shebs@apple.com>
6169
6170 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6171
6172 2001-10-16 Alan Modra <amodra@bigpond.net.au>
6173
6174 * recog.c: Formatting and comment typo fixes.
6175
6176 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6177 version in single tree build.
6178 * configure: Regenerate.
6179
6180 2001-10-15 David Edelsohn <edelsohn@gnu.org>
6181
6182 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6183 MODE arguments to gen_rtx and compare operand with const0_rtx.
6184
6185 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6186
6187 * system.h: Poison old unused target macros.
6188 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6189 * config/stormy16/stormy16.c: Update references to obsolete macros.
6190 * config/stormy16/stormy16.h: Similarly.
6191 * config/stormy16/stormy16.md: Similarly.
6192 * config/cris/cris.h: Similarly.
6193
6194 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6195
6196 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6197 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6198 cpp_register_pragma): Update accordingly.
6199
6200 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6201
6202 * c-pragma.h (cpp_register_pragma_space): Remove.
6203 * cpplib.h (cpp_register_pragma_space): Remove.
6204 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6205 (cpp_register_pragma_space): Remove.
6206 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6207 add sanity checks.
6208 (do_pragma): Similarly.
6209 (_cpp_init_internal_pragmas): Don't register namespaces.
6210
6211 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6212 Don't register namespaces.
6213 * cp/lex.c (init_cp_pragma): Similarly.
6214 * doc/tm.texi: Update.
6215
6216 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6217
6218 PR c/4157
6219 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6220
6221 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6222
6223 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6224 add scheduling support.
6225 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6226 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6227 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6228
6229
6230 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
6231
6232 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6233 missing CONSTANT_P test in core GCC.
6234
6235 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6236
6237 * cppmain.c (struct printer): New member source.
6238 (scan_translation_unit): Fix spacing at start of lines.
6239 (cb_line_change): Update.
6240
6241 * gcc.dg/cpp/spacing2.c: New test.
6242
6243 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
6244
6245 * config/cris/arit.c: Use __builtin_labs, not abs.
6246
6247 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6248
6249 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6250 misplaced sprintf and fprintf argument.
6251
6252 2001-10-12 Zack Weinberg <zack@codesourcery.com>
6253
6254 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6255 * configure.in, Makefile.in: Take out obsolete check-po logic.
6256 * configure, config.in: Regenerate.
6257
6258 2001-10-12 Ziemowit Laski <zlaski@apple.com>
6259
6260 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6261 symtab declarations.
6262
6263 2001-10-12 Stan Shebs <shebs@apple.com>
6264
6265 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6266 declarations of arguments and local variables.
6267
6268 2001-10-12 Christopher Faylor <cgf@redhat.com>
6269
6270 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6271 ENDFILE_SPEC definition.
6272
6273 2001-10-12 Kazu Hirata <kazu@hxi.com>
6274
6275 * gthr-dce.h: Fix comment formatting.
6276 * gthr-posix.h: Likewise.
6277 * gthr-single.h: Likewise.
6278 * gthr-solaris.h: Likewise.
6279 * gthr-vxworks.h: Likewise.
6280 * gthr-win32.h: Likewise.
6281
6282 2001-10-12 Jakub Jelinek <jakub@redhat.com>
6283
6284 * final.c (output_asm_insn): Make sure assembly dialects are
6285 terminated, not nested. Output `|' and `}' characters if they
6286 don't appear inside assembly dialect selection.
6287 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6288 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6289 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6290 strsetsi_rex_1): Add {} braces.
6291
6292 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6293
6294 * toplev.c (compile_file): Ignore return value from yyparse.
6295 Always pop any nested binding levels after yyparse returns.
6296
6297 2001-10-11 Richard Henderson <rth@redhat.com>
6298
6299 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6300
6301 2001-10-11 Richard Henderson <rth@redhat.com>
6302
6303 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6304 fall back to add_AT_long_long for large CONST_INT.
6305
6306 2001-10-11 Richard Henderson <rth@redhat.com>
6307
6308 * config/i386/i386.md (setcc splitters): Add four splitters to
6309 simplify compound compares that simplify_comparison can't handle.
6310
6311 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6312
6313 * cpplex.c (digraph_spellings, token_spellings): Make static.
6314
6315 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6316
6317 * unroll.c (loop_iterations): Fixup last patch.
6318
6319 2001-10-11 Richard Henderson <rth@redhat.com>
6320
6321 * rtl.h (REG_VTABLE_REF): New.
6322 * rtl.c (reg_note_name): Add it.
6323 * combine.c (distribute_notes): Handle it.
6324 * final.c (final_scan_insn): Handle it.
6325 * tree.def (VTABLE_REF): New.
6326 * expr.c (expand_expr): Handle it.
6327 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6328 * output.h: Declare them.
6329
6330 2001-10-11 Richard Henderson <rth@redhat.com>
6331
6332 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6333 for a DECL_INITIAL.
6334
6335 2001-10-11 David Edelsohn <edelsohn@gnu.org>
6336
6337 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6338 available in 64-bit mode.
6339
6340 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6341
6342 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6343 cris-*-linux* cases.
6344 * config/cris/cris-protos.h: New file.
6345 * config/cris/cris.c: New file.
6346 * config/cris/cris.h: New file.
6347 * config/cris/cris.md: New file.
6348 * config/cris/linux.h: New file.
6349 * config/cris/aout.h: New file.
6350 * config/cris/arit.c: New file.
6351 * config/cris/cris_abi_symbol.c: New file.
6352 * config/cris/mulsi3.asm: New file.
6353 * config/cris/t-aout: New file.
6354 * config/cris/t-cris: New file.
6355 * config/cris/t-elfmulti: New file.
6356 * config/cris/t-linux: New file.
6357 * doc/invoke.texi: Add CRIS options.
6358 * doc/install.texi (Specific): Add blurb for CRIS.
6359
6360 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6361
6362 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6363 before using it.
6364 * config/float/i32.h: Likewise.
6365 * config/float-i386.h: Likewise.
6366 * config/float-i64.h: Likewise.
6367 * config/float-m68k.h: Likewise.
6368 * config/float-sh.h: Likewise.
6369 * config/float-sparc.h: Likewise.
6370
6371 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6372
6373 * doc/contrib.texi: Add note about CRIS port to my entry.
6374
6375 2001-10-11 Kazu Hirata <kazu@hxi.com>
6376
6377 * basic-block.h: Fix formatting.
6378 * bitmap.h: Likewise.
6379 * cpplib.h: Likewise.
6380 * c-tree.h: Likewise.
6381 * diagnostic.h: Likewise.
6382 * flags.h: Likewise.
6383 * ggc.h: Likewise.
6384 * longlong.h: Likewise.
6385 * real.h: Likewise.
6386 * reload.h: Likewise.
6387 * rtl.h: Likewise.
6388 * tree.h: Likewise.
6389
6390 2001-10-10 Richard Henderson <rth@redhat.com>
6391
6392 * c-parse.in (asm_operand): Allow named operands.
6393 * genconfig.c (max_recog_operands): Set to 29.
6394 * local-alloc.c (requires_inout): Skip multiple digits.
6395 * recog.c (asm_operand_ok): Likewise.
6396 (preprocess_constraints): Use strtoul for matching constraints.
6397 (constrain_operands): Likewise.
6398 * regmove.c (find_matches): Likewise.
6399 * reload.c (find_reloads): Likewise.
6400 * stmt.c (parse_output_constraint): Don't reject in-out
6401 constraint on operands > 9. Reject '[' in constraint.
6402 (expand_asm_operands): Handle named operands. Use strtoul
6403 for matching constraints.
6404 (check_operand_nalternatives): Split out from expand_asm_operands.
6405 (check_unique_operand_names): New.
6406 (resolve_operand_names, resolve_operand_name_1): New.
6407
6408 * doc/extend.texi (Extended Asm): Document named operands.
6409 * doc/md.texi (Simple Constraints): Document matching constraints
6410 on operands > 9.
6411
6412 2001-10-10 Richard Henderson <rth@redhat.com>
6413
6414 * combine.c (try_combine): Handle a SEQUENCE of one insn.
6415
6416 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6417 (jcc splitters): Add two splitters to simplify compound compares
6418 that simplify_comparison can't handle.
6419
6420 2001-10-10 Richard Henderson <rth@redhat.com>
6421
6422 * langhooks.c: Include langhooks.h.
6423 * Makefile.in (langhooks.o): Depend on it.
6424
6425 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
6426
6427 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6428 should not be considered as a no-op.
6429 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6430
6431 2001-10-10 Stan Shebs <shebs@apple.com>
6432
6433 * alias.c: Remove uses of "register" specifier in declarations
6434 of arguments and local variables.
6435 * c-common.c: Ditto.
6436 * c-convert.c: Ditto.
6437 * c-decl.c: Ditto.
6438 * c-format.c: Ditto.
6439 * c-semantics.c: Ditto.
6440 * c-typeck.c: Ditto.
6441 * caller-save.c: Ditto.
6442 * calls.c: Ditto.
6443 * cfg.c: Ditto.
6444 * cfgbuild.c: Ditto.
6445 * cfgrtl.c: Ditto.
6446 * collect2.c: Ditto.
6447 * combine.c: Ditto.
6448 * convert.c: Ditto.
6449 * cppexp.c: Ditto.
6450 * cppfiles.c: Ditto.
6451 * cse.c: Ditto.
6452 * dbxout.c: Ditto.
6453 * defaults.h: Ditto.
6454 * df.c: Ditto.
6455 * dwarf2out.c: Ditto.
6456 * dwarfout.c: Ditto.
6457 * emit-rtl.c: Ditto.
6458 * explow.c: Ditto.
6459 * expmed.c: Ditto.
6460 * expr.c: Ditto.
6461 * final.c: Ditto.
6462 * fix-header.c: Ditto.
6463 * floatlib.c: Ditto.
6464 * flow.c: Ditto.
6465 * fold-const.c: Ditto.
6466 * function.c: Ditto.
6467 * gcc.c: Ditto.
6468 * gcse.c: Ditto.
6469 * gen-protos.c: Ditto.
6470 * genattrtab.c: Ditto.
6471 * gencheck.c: Ditto.
6472 * genconfig.c: Ditto.
6473 * genemit.c: Ditto.
6474 * genextract.c: Ditto.
6475 * genflags.c: Ditto.
6476 * gengenrtl.c: Ditto.
6477 * genoutput.c: Ditto.
6478 * genpeep.c: Ditto.
6479 * genrecog.c: Ditto.
6480 * gensupport.c: Ditto.
6481 * global.c: Ditto.
6482 * gmon.c: Ditto.
6483 * graph.c: Ditto.
6484 * haifa-sched.c: Ditto.
6485 * hard-reg-set.h: Ditto.
6486 * hash.c: Ditto.
6487 * integrate.c: Ditto.
6488 * jump.c: Ditto.
6489 * lists.c: Ditto.
6490 * local-alloc.c: Ditto.
6491 * loop.c: Ditto.
6492 * mips-tdump.c: Ditto.
6493 * mips-tfile.c: Ditto.
6494 * optabs.c: Ditto.
6495 * prefix.c: Ditto.
6496 * print-rtl.c: Ditto.
6497 * read-rtl.c: Ditto.
6498 * real.c: Ditto.
6499 * recog.c: Ditto.
6500 * reg-stack.c: Ditto.
6501 * regclass.c: Ditto.
6502 * regmove.c: Ditto.
6503 * reload.c: Ditto.
6504 * reload1.c: Ditto.
6505 * reorg.c: Ditto.
6506 * resource.c: Ditto.
6507 * rtl.c: Ditto.
6508 * rtlanal.c: Ditto.
6509 * scan.c: Ditto.
6510 * sched-deps.c: Ditto.
6511 * sched-rgn.c: Ditto.
6512 * sdbout.c: Ditto.
6513 * simplify-rtx.c: Ditto.
6514 * stmt.c: Ditto.
6515 * stor-layout.c: Ditto.
6516 * toplev.c: Ditto.
6517 * tradcif.y: Ditto.
6518 * tradcpp.c: Ditto.
6519 * tree.c: Ditto.
6520 * unroll.c: Ditto.
6521 * varasm.c: Ditto.
6522 * xcoffout.c: Ditto.
6523
6524 2001-10-10 Richard Henderson <rth@redhat.com>
6525
6526 * rtl.h (can_reverse_comparison_p): Remove.
6527
6528 2001-10-10 Christopher Faylor <cgf@redhat.com>
6529
6530 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6531 used.
6532
6533 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6534
6535 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6536 (Thanks to Chris Faylor for suggesting macro name).
6537 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6538 WIN32 defines.
6539 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6540 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6541 (MATH_LIBRARY): Undef before definition.
6542 (OUTPUT_QUOTED_STRING): Likewise.
6543 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6544
6545 2001-10-10 Richard Henderson <rth@redhat.com>
6546
6547 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6548 (fde_unencoded_compare): Likewise. Don't use subtraction to get
6549 a tristate comparison value.
6550 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6551
6552 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6553
6554 PR c++/4512
6555 * unroll.c (loop_iterations): Ignore insns generated by loop
6556 unrolling.
6557
6558 * config.gcc (mips*-*-gnu*): Delete support.
6559 * config/mips/gnu.h: Remove.
6560
6561 2001-10-10 Kazu Hirata <kazu@hxi.com>
6562
6563 * calls.c: Fix formatting.
6564 * c-decl.c: Likewise.
6565 * cfgcleanup.c: Likewise.
6566 * combine.c: Likewise.
6567 * cppfiles.c: Likewise.
6568 * cpplib.c: Likewise.
6569 * cppmacro.c: Likewise.
6570 * crtstuff.c: Likewise.
6571 * cse.c: Likewise.
6572 * dwarf2out.c: Likewise.
6573 * expmed.c: Likewise.
6574 * expr.c: Likewise.
6575 * fold-const.c: Likewise.
6576 * function.c: Likewise.
6577 * gcse.c: Likewise.
6578 * genattrtab.c: Likewise.
6579 * ggc-page.c: Likewise.
6580 * integrate.c: Likewise.
6581 * libgcc2.c: Likewise.
6582 * loop.c: Likewise.
6583 * optabs.c: Likewise.
6584 * profile.c: Likewise.
6585 * protoize.c: Likewise.
6586 * real.c: Likewise.
6587 * recog.c: Likewise.
6588 * reload1.c: Likewise.
6589 * reload.c: Likewise.
6590 * reorg.c: Likewise.
6591 * resource.c: Likewise.
6592 * sched-rgn.c: Likewise.
6593 * sdbout.c: Likewise.
6594 * stmt.c: Likewise.
6595 * toplev.c: Likewise.
6596 * varasm.c: Likewise.
6597
6598 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
6599
6600 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6601 * Makefile.in (langhooks.o): Add dependencies.
6602
6603 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
6604
6605 * rs6000.c (rs6000_emit_load_toc_table): Don't
6606 strdup the toc label.
6607 (create_TOC_reference): Likewise.
6608
6609 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6610
6611 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6612 version default.
6613
6614 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6615
6616 * config/i386/i386.c (ix86_attribute_table): Correct
6617 min_len, max_len fields for dllimport, dllexport and shared.
6618
6619 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
6620
6621 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6622 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6623 Consistently use "nonzero" instead of "non-zero".
6624
6625 2001-10-09 Kazu Hirata <kazu@hxi.com>
6626
6627 * acconfig.h: Fix comment formatting.
6628 * c-dump.h: Likewise.
6629 * c-tree.h: Likewise.
6630 * conditions.h: Likewise.
6631 * expr.h: Likewise.
6632 * function.h: Likewise.
6633 * gthr.h: Likewise.
6634 * hwint.h: Likewise.
6635 * integrate.h: Likewise.
6636 * intl.h: Likewise.
6637 * loop.h: Likewise.
6638 * optabs.h: Likewise.
6639
6640 2001-10-09 Kazu Hirata <kazu@hxi.com>
6641
6642 * c-common.h: Fix comment formatting.
6643 * c-dump.c: Likewise.
6644 * cfg.c: Likewise.
6645 * diagnostic.h: Likewise.
6646 * except.c: Likewise.
6647 * gcc.h: Likewise.
6648 * gcov-io.h: Likewise.
6649 * genattrtab.c: Likewise.
6650 * output.h: Likewise.
6651 * predict.h: Likewise.
6652 * reload1.c: Likewise.
6653 * reload.h: Likewise.
6654 * resource.h: Likewise.
6655 * scan.h: Likewise.
6656 * system.h: Likewise.
6657 * tree.h: Likewise.
6658 * tree-inline.c: Likewise.
6659 * tsystem.h: Likewise.
6660 * varasm.c: Likewise.
6661 * xcoffout.h: Likewise.
6662
6663 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6664
6665 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6666
6667 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6668
6669 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6670 config/i386/i386elf.h, config/i386/netbsd-elf.h,
6671 config/i386/netware.h, config/mcore/gfloat.h,
6672 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6673 config/netware.h, gccbug.in: Update FSF address.
6674
6675 2001-10-09 Kazu Hirata <kazu@hxi.com>
6676
6677 * c-common.c: Fix comment typos.
6678 * cfgrtl.c: Likewise.
6679 * collect2.c: Likewise.
6680 * cpplex.c: Likewise.
6681 * doloop.c: Likewise.
6682 * dwarf2out.c: Likewise.
6683 * dwarfout.c: Likewise.
6684 * expr.c: Likewise.
6685 * fold-const.c: Likewise.
6686 * gcc.c: Likewise.
6687 * gcov.c: Likewise.
6688 * gcse.c: Likewise.
6689 * global.c: Likewise.
6690 * ifcvt.c: Likewise.
6691 * loop.c: Likewise.
6692 * optabs.c: Likewise.
6693 * protoize.c: Likewise.
6694 * regclass.c: Likewise.
6695 * reorg.c: Likewise.
6696 * rtl.h: Likewise.
6697 * stmt.c: Likewise.
6698 * tree.h: Likewise.
6699 * doc/cpp.texi: Likewise.
6700 * doc/c-tree.texi: Likewise.
6701 * doc/extend.texi: Likewise.
6702 * doc/invoke.texi: Likewise.
6703 * doc/objc.texi: Likewise.
6704 * doc/tm.texi: Likewise.
6705
6706 2001-10-08 Richard Henderson <rth@redhat.com>
6707
6708 * varasm.c (set_named_section_flags): Initialize "declared".
6709
6710 2001-10-08 Robert Lipe <robertlipe@usa.net>
6711
6712 * varasm.c (struct in_named_entry): Add declared.
6713 (named_section_first_declaration): New function.
6714 (default_elf_asm_named_section): Use it.
6715 * output.h (named_section_first_declaration): New.
6716
6717 2001-10-08 Richard Henderson <rth@redhat.com>
6718
6719 * i386.md (movsi_xor): Export.
6720 (setcc peep2): Use it when available; add an alternative to
6721 match zero_extendhisi2_and.
6722
6723 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6724
6725 * romp-protos.h (romp_initialize_trampoline): New function.
6726 * romp.c (romp_initialize_trampoline): Likewise.
6727 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6728 romp_initialize_trampoline.
6729
6730 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6731
6732 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6733 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6734 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6735 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6736
6737 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6738
6739 * unroll.c (loop_iterations): Extend check for multiple back edges.
6740
6741 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
6742
6743 * langhooks.h: New file.
6744 * Makefile.in (OBJS): Added langhooks.o.
6745 (c-lang.o): Depend on langhooks.h.
6746 (c-common.o): Don't depend on tree-inline.h.
6747 (tree-inline.o): Depend on toplev.h.
6748 (langhooks.o): New rule.
6749 * c-common.c: Don't include tree-inline.h.
6750 (c_mark_lang_decl): Mark argument c as unused.
6751 (c_common_lang_init): Don't initialize hooks here.
6752 * c-lang.c: Include langhooks.h, then override some macros.
6753 (lang_hooks): Initialize with macros in langhooks.h.
6754 (c_init): Don't initialize hooks here.
6755 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6756 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
6757 * tree-inline.c: Include toplev.h. Don't define hook variables.
6758 * tree-inline.h: Don't define hook types nor declare hook
6759 variables. Move macros to...
6760 * langhooks.c: ... new file, as functions. Adjust all callers.
6761
6762 2001-10-08 Jeffrey A Law <law@cygnus.com>
6763
6764 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6765 purge_mem_unchanging_flag on all instructions, not just on those
6766 before NOTE_INSN_FUNCTION_BEG.
6767
6768 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6769
6770 * cppmacro.c (_cpp_create_definition): Leave comments off.
6771
6772 * doc/cpp.texi: Update.
6773
6774 2001-10-08 DJ Delorie <dj@redhat.com>
6775
6776 * c-decl.c (grokfield): Make sure the only unnamed fields
6777 we're allowing are either structs or unions.
6778 * doc/extend.texi: Add documentation for the unnamed field
6779 extension.
6780
6781 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6782
6783 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6784 * configure.in: Use it.
6785 * configure: Regenerated.
6786 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6787 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6788
6789 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6790
6791 * cppfiles.c (open_file): Don't mark zero-length files
6792 never-reread here. Don't output diagnostics here either.
6793 (stack_include_file): Mark them never-reread here.
6794 (_cpp_read_file): Update.
6795
6796 2001-10-08 Richard Henderson <rth@redhat.com>
6797
6798 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6799
6800 2001-10-08 Richard Henderson <rth@redhat.com>
6801
6802 * expr.c (store_expr): When converting a CONST_INT for storage
6803 in a SUBREG, convert it to both SUBREG modes before stripping
6804 the SUBREG.
6805
6806 2001-10-08 Richard Henderson <rth@redhat.com>
6807
6808 * varasm.c (restore_varasm_status): New.
6809 * function.h: Declare it.
6810 * function.c (pop_function_context_from): Call it.
6811
6812 2001-10-08 Richard Henderson <rth@redhat.com>
6813
6814 * c-common.h (struct c_lang_decl): Add declared_inline.
6815 * c-tree.h (DECL_DECLARED_INLINE_P): New.
6816 * c-lang.c (c_disregard_inline_limits): Use it.
6817 * c-decl.c (duplicate_decls): Likewise.
6818 (pushdecl, redeclaration_error_message): Likewise.
6819 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
6820 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
6821 Set DECL_INLINE if -finline-functions.
6822 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
6823
6824 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6825
6826 * cppmacro.c (funlike_invocation_p): Move some logic to caller
6827 in enter_macro_context. Create a padding token in its own context
6828 if necessary when the search for '(' fails.
6829 (enter_macro_context): Update.
6830
6831 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6832
6833 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
6834 genmultilib, toplev.c: Fix spelling errors of "separate" as
6835 "seperate", and corresponding spelling errors of related words.
6836
6837 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6838
6839 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
6840 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
6841 Likewise.
6842 * c-dump.c (dump_option_value_info): Likewise.
6843 * c-format.c (format_length_info, format_char_info,
6844 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
6845 * collect2.c (names): Likewise.
6846 * cppdefault.h (default_include): Likewise.
6847 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
6848 * flow.c (life_analysis): Likewise.
6849 * gcc.c (dir_separator_str, modify_target, option_map,
6850 target_option_translations, spec_list_1, extra_specs_1,
6851 init_spec): Likewise.
6852 * gcov.c (gcov_version_string): Likewise.
6853 * genattr.c (write_units): Likewise.
6854 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
6855 * gengenrtl.c (rtx_definition, defs): Likewise.
6856 * genrecog.c (pred_table): Likewise.
6857 * global.c (global_alloc): Likewise.
6858 * lcm.c (optimize_mode_switching): Likewise.
6859 * local-alloc.c (find_free_reg): Likewise.
6860 * params.h (param_info): Likewise.
6861 * predict.c (predictor_info): Likewise.
6862 * protoize.c (unexpansion_struct): Likewise.
6863 * real.c (bmask): Likewise.
6864 * recog.h (insn_operand_data, insn_data): Likewise.
6865 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
6866 * stmt.c (expand_nl_goto_receiver): Likewise.
6867 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
6868 target_switches, target_options): Likewise.
6869 * tradcif.y (token, tokentab2, yylex): Likewise.
6870 * tree.h (attribute_spec): Likewise.
6871
6872 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
6873 Likewise.
6874 * arc.c (arc_output_function_epilogue): Likewise.
6875 * arm.c (processors, all_cores, all_architectures,
6876 arm_override_options, isr_attribute_arg, isr_attribute_args,
6877 arm_isr_value): Likewise.
6878 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
6879 Likewise.
6880 * c4x.c (c4x_int_reglist): Likewise.
6881 * d30v.c (override_options): Likewise.
6882 * h8300.c (shift_insn): Likewise.
6883 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
6884 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
6885 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
6886 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
6887 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
6888 * i386.h (processor_costs, ix86_cost): Likewise.
6889 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
6890 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
6891 * m68k.c (codes_68881, codes_FPA): Likewise.
6892 * m88k.c (mode_from_align, max_from_align, all_from_align,
6893 best_from_align, m_options): Likewise.
6894 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
6895 * mcore.c (mode_from_align): Likewise.
6896 * mips/elf64.h (UNIQUE_SECTION): Likewise.
6897 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
6898 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
6899 * mips.h (mips_regno_to_class): Likewise.
6900 * ns32k.c (scales): Likewise.
6901 * pa.c (import_string, magic_milli): Likewise.
6902 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
6903 * sparc.c (leaf_reg_remap, sparc_override_options,
6904 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
6905 Likewise.
6906 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
6907
6908 2001-10-07 Dale Johannesen <dalej@apple.com>
6909
6910 * reload1.c (reload_reg_free_p): Teach register interference
6911 checking that multiple output reloads are emitted in
6912 reverse order.
6913 reload1.c (reload_reg_reaches_end_p): Ditto.
6914 reload1.c (reloads_conflict): Ditto.
6915
6916 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6917
6918 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
6919 NULL_TREE inside @code.
6920
6921 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6922
6923 * doc/gcc.texi: Document consistent style of "32-bit",
6924 "Objective-C", and "@code{NULL}".
6925
6926 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6927
6928 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
6929 (cpp_token_len, cpp_spell_token, cpp_output_token,
6930 _cpp_equiv_tokens): Handle it.
6931 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
6932 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
6933 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
6934 error messages.
6935
6936 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6937
6938 * gcc.c (default_compilers): Remove .ada.
6939
6940 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
6941
6942 * doc/cppinternals.texi: Update.
6943
6944 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6945
6946 * gcc.c (main): Set this_file_error if the appropriate
6947 compiler for a language has not been installed.
6948
6949 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
6950
6951 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
6952
6953 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
6954
6955 * gccbug.in (CATEGORIES): Add ada.
6956
6957 2001-10-05 Catherine Moore <clm@redhat.com>
6958
6959 * config/stormy16/stormy-abi: Document abi changes.
6960 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
6961 (ICALL_REGS): New register class.
6962 (NUM_ARGUMENT_REGISTERS): Now 6.
6963 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
6964 in registers.
6965 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
6966 * config/stormy16.md (call_internal, call_value_internal,
6967 indirect_jump): Use new 'z' constraint.
6968
6969 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6970
6971 * doc/cppinternals.texi: Update.
6972
6973 2001-10-05 Richard Henderson <rth@redhat.com>
6974
6975 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
6976 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
6977 the gas section-name-as-label feature.
6978
6979 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6980
6981 * doc/cppinternals.texi: Update.
6982
6983 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6984
6985 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
6986 to ensure valid SImode constants.
6987
6988 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
6989
6990 * Makefile.in (c-decl.o): Depend on tree-inline.h.
6991 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
6992 * c-decl.c: Include tree-inline.h.
6993 (c_expand_body): Call optimize_inline_calls. Determine whether
6994 a function is inlinable upfront, and only clear
6995 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
6996 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
6997 (c_disregard_inline_limits): New function.
6998 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
6999 (c_post_options): Enable tree inlining if inlining is enabled.
7000 Don't inline trees when instrumenting functions.
7001 (c_init): Initialize lang_disregard_inline_limits and
7002 lang_cannot_inline_tree_fn.
7003 * tree-inline.c (initialize_inlined_parameters): Handle calls
7004 with fewer arguments than declared parameters, and fewer
7005 parameters than passed arguments. Don't assume value is a
7006 DECL.
7007 (declare_return_variable): Convert return value back to the
7008 original type, if it was promoted.
7009 (tree_inlinable_function_p): New function.
7010 (inlinable_function_p): Don't look at DECL_INLINE if we're
7011 inlining all functions. Make it work with a NULL id.
7012 Re-check DECL_UNINLINABLE after language-specific checks.
7013 * tree-inline.h (tree_inlinable_function_p): Declare it.
7014 * integrate.c (save_for_inline): Don't bother to prepare argvec
7015 when not inlining.
7016 * cse.c (check_for_label_ref): Don't check deleted labels.
7017
7018 * Makefile.in (tree-inline.o): Depend on newly-included headers.
7019 * tree-inline.c: Include headers needed for the functions moved in.
7020 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7021 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7022 (copy_body, initialize_inlined_parameters): Likewise.
7023 (declare_return_variable, inlinable_function_p): Likewise.
7024 (expand_call_inline, expand_calls_inline): Likewise.
7025 (optimize_inline_calls, clone_body): Likewise.
7026 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7027 (copy_tree_r, remap_save_expr): Likewise.
7028
7029 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
7030
7031 * Makefile.in (OBJS): Added tree-inline.o.
7032 (c-common.o): Depend on tree-inline.h.
7033 (tree-inline.o): New target.
7034 * c-common.c: Include tree-inline.h.
7035 (c_mark_lang_decl): Don't mark saved_tree.
7036 (c_common_lang_init): Set lang_anon_aggr_type_p.
7037 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7038 (struct c_lang_decl): Moved saved_tree to tree_decl.
7039 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7040 * integrate.h (function_attribute_inlinable_p): Declare it.
7041 * integrate.c (function_attribute_inlinable_p): Export it.
7042 * tree-inline.c: New file. Define variables declared in...
7043 * tree-inline.h: New file. Declare functions to be moved to
7044 tree-inline.c. Define macros and declare types and hooks for
7045 language-specific tree inlining.
7046 (flag_inline_trees): Moved definition from cp/decl2.c.
7047 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7048 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7049 (struct tree_decl): Moved saved_tree from c_lang_decl and
7050 inlined_fns from C++'s lang_decl.
7051
7052 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
7053
7054 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7055 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7056
7057 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
7058
7059 * doc/cppinternals.texi: Update.
7060
7061 2001-10-04 Eric Christopher <echristo@redhat.com>
7062
7063 * config/mips/mips.c (init_cumulative_args): Remember to set
7064 cum->prototype.
7065 * config.gcc: Redo linux configuration. Add target_cpu_default
7066 of soft-float to all mipsisa32 combinations and tx39.
7067 * config/mips/linux.h: Remove include of mips.h.
7068
7069 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
7070
7071 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7072 HOST_LDFLAGS and HOST_CPPFLAGS.
7073
7074 2001-10-03 Ziemowit Laski <zlaski@apple.com>
7075
7076 * c-parse.in (objc_inherit_code, objc_pq_context,
7077 objc_public_flag): Make static.
7078 (objc_interface_context, objc_implementation_context,
7079 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7080 global tree array in objc/objc-act.[ch].
7081 (methoddef): Remove unnecessary code.
7082
7083 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7084 Hoist struct definitions to objc-act.h.
7085 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7086 cat_count): Place declaration in objc-act.h.
7087 (objc_tree_index): Move enumeration to objc-act.h.
7088 (objc_global_trees): Place declaration and macro accessors in
7089 objc-act.h.
7090 (implementation_context): Remove duplicate; use
7091 objc_implementation_context instead:
7092 (method_context): Remove duplicate; use objc_method_context
7093 instead.
7094 (objc_ellipsis_node, objc_method_prototype_template,
7095 implemented_classes, function_type): Move global vars to
7096 objc_global_trees.
7097 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7098 (build_message_expr): Move actual construction of ObjC message
7099 send nodes to finish_message_expr.
7100 (finish_message_expr): New routine, contains code formerly in
7101 build_message_expr.
7102 * objc/objc-act.h (finish_message_expr): New prototype.
7103 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7104 declarations; these vars are now part of objc_global_trees.
7105 (objc_tree_index, objc_global_trees): Move definitions from
7106 objc-act.c.
7107 * objc/objc-tree.def: Update copyright info.
7108
7109 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7110
7111 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7112 op is NULL.
7113 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7114 only if TARGET_ARCH64.
7115
7116 2001-10-02 Bernd Schmidt <bernds@redhat.com>
7117
7118 * doc/extend.texi: Fix some problems with previous checkin.
7119 * doc/invoke.texi: Likewise.
7120
7121 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7122
7123 * cpphash.h: Update comments.
7124 (cpp_context): Update.
7125 (spec_nodes): Remove n__Pragma.
7126 * cppinit.c (cpp_create_reader): Update.
7127 (builtin_array): Add _Pragma.
7128 * cpplib.h: Update comments.
7129 (NODE_DISABLED, BT_PRAGMA): New.
7130 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7131 * cppmacro.c (struct cpp_macro): Remove disabled.
7132 (builtin_macro): Return int, handle _Pragma, push the new token
7133 on the context stack.
7134 (funlike_invocation_p): Unconstify, update.
7135 (enter_macro_context): Handle builtins here.
7136 (replace_args, push_token_context, push_ptoken_context):
7137 Update for prototype changes.
7138 (_cpp_pop_context): Update.
7139 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7140 (cpp_sys_macro_p): Update.
7141 (_cpp_free_definition): Clear disabled flag.
7142 (_cpp_create_definition): Upate.
7143 * cppmain.c: Update comments.
7144
7145 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
7146 Andreas Jaeger <aj@suse.de>,
7147 Jan Hubicka <jh@suse.cz>
7148
7149 * doc/invoke.texi (i386 Options): Document x86-64 options.
7150 (i386 and x86-64 Options): Rename i386 options section.
7151
7152 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7153 (TARGET_SWITCHES): Add -munwind-info.
7154 (MASK_NO_UNWIND_INFO): New.
7155 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7156 biarch compilation.
7157 (ASM_OUTPUT_DOUBLE_INT): New.
7158
7159 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7160 * config.gcc: Fix tm_file settings for x86-64.
7161 * config/i386/x86-64.h: New file with OS independent x86-64
7162 definitions.
7163 * config/i386/biarch64.h: New file used to configure compiler
7164 to biarch/64bit compilation.
7165
7166 * config/i386/i386.c: (override_options): Set flags default
7167 for 64bit compilation.
7168
7169 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7170
7171 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7172 (ix86_expand_int_movcc): Optimize DImode conditional moves with
7173 constants on x86_64.
7174 (ix86_attr_length_immediate_default): Support MODE_DI.
7175 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7176 condition.
7177 (indirect_jump, tablejump): Turn into expander.
7178
7179 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7180
7181 * c-common.c (c_format_attribute_table): Make format and
7182 format_arg attributes apply to function types rather than to
7183 decls.
7184 (is_valid_printf_arglist): Construct an attribute list and pass
7185 that to check_function_format rather than a name.
7186 * c-common.h (check_function_format): Adjust prototype.
7187 * c-decl.c (duplicate_decls): Preserve attributes from type of
7188 built-in decl when allowing for harmless conflict in types.
7189 * c-format.c (record_function_format,
7190 record_international_format, function_format_list,
7191 international_format_info, international_format_list): Remove.
7192 (function_format_info): Remove next, name and assembler_name.
7193 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7194 (decode_format_attr): New.
7195 (handle_format_attribute): Handle receiving a type rather than a
7196 decl. Call decode_format_attr. Store format information in a
7197 function_format_info.
7198 (handle_format_arg_attribute): Correct comment. Handle receiving
7199 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7200 arg_num.
7201 (check_format_info_recurse, check_format_info_main): Take argument
7202 numbers as unsigned HOST_WIDE_INT.
7203 (check_function_format): Take a list of attributes from the
7204 function type rather than a name or assembler name. Check for
7205 format attributes in that list and the attributes on the type of
7206 the current function rather than looking through
7207 function_format_list.
7208 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7209 numbers.
7210 (check_format_info_recurse): Take format_arg attributes from the
7211 type of the function calls rather than using
7212 international_format_list. Allow for multiple format_arg
7213 attributes.
7214 * c-typeck.c (build_function_call): Pass type attributes to
7215 check_function_format rather than name or assembler name. Don't
7216 require there to be a name or assembler name to check formats.
7217
7218 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7219
7220 * attribs.c (decl_attributes): Possibly call
7221 insert_default_attributes to insert default attributes on
7222 functions in a lazy manner.
7223 * builtin-attrs.def: New file; define the default format and
7224 format_arg attributes.
7225 * c-common.c (c_format_attribute_table): Move to earlier in the
7226 file.
7227 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7228 (enum built_in_attribute, built_in_attributes,
7229 c_attrs_initialized, c_init_attributes,
7230 c_common_insert_default_attributes): New.
7231 (c_common_lang_init): Don't initialize format_attribute_table. Do
7232 call c_init_attributes.
7233 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7234 * c-common.h (init_function_format_info): Don't declare.
7235 (c_common_insert_default_attributes): Declare.
7236 * c-decl.c (implicitly_declare, builtin_function): Call
7237 decl_attributes.
7238 (init_decl_processing): Don't call init_function_format_info.
7239 (insert_default_attributes): New.
7240 * c-format.c (handle_format_attribute,
7241 handle_format_arg_attribute): Be quiet about inappropriate
7242 declaration when applying default attributes.
7243 (init_function_format_info): Remove.
7244 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7245 (insert_default_attributes): Declare.
7246
7247 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7248
7249 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7250
7251 2001-10-01 Jim Wilson <wilson@redhat.com>
7252
7253 * sched-deps.c (add_dependence): When elide conditional dependence,
7254 check that insn doesn't modify cond2.
7255
7256 2001-10-01 Dale Johannesen <dalej@apple.com>
7257
7258 * config/rs6000/rs6000.h (enum processor_type): Add support
7259 for 7400 (G4) and 7450.
7260 (RTX_COSTS): Ditto.
7261 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7262 (rs6000_issue_rate): Ditto.
7263 (rs6000_adjust_cost): Fix cycle counts for compares.
7264 (debug_stack_info): Fix an obvious typo.
7265 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7266 * doc/invoke.texi: Document.
7267 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7268 for Darwin.
7269 (PROCESSOR_DEFAULT): Ditto.
7270
7271 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
7272
7273 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7274 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7275 later recursive make invocation.
7276
7277 2001-10-01 Hans Boehm <boehm@acm.org>
7278
7279 * optabs.c (emit_libcall_block): When using non-call exceptions,
7280 don't add REG_LIBCALL reg notes to trapping calls.
7281
7282 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7283
7284 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7285 (propagate_one_insn): Update for above change
7286
7287 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7288
7289 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7290 _Unwind_GetTextRelBase): Argument is unused.
7291
7292 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7293
7294 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7295 Loop through NOPs, placeholders, and components.
7296 Don't go through NOPs if change mode.
7297 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7298 * emit-rtl.c (set_mem_alias_set): Enable check.
7299 * expr.c (find_placeholder): New function.
7300 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7301 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7302 to modify it and avoid unneeded copies.
7303 * expr.h (expand_expr): Always define.
7304 (find_placeholder): New declaration.
7305
7306 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7307
7308 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7309 operand 2 is the stack pointer.
7310 ("addr-peephole"): Fix address computation peephole when operand 2
7311 is the stack pointer.
7312
7313 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7314
7315 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7316 (ix86_setup_incoming_varargs): Likewise.
7317
7318 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
7319
7320 * stor-layout.c (layout_type): Don't complain about too-large
7321 array here.
7322
7323 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7324
7325 * function.c (keep_stack_depressed): Don't use delete_insn.
7326
7327 * expr.h (set_mem_alias_set): Move decl to here.
7328 * rtl.h (mem_attrs): New typedef and struct.
7329 (union rtunion_def): Add field for mem_attrs.
7330 (X0MEMATTR, MEM_ATTRS): New macros.
7331 (MEM_ALIAS_SET): Use MEM_ATTRS.
7332 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7333 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7334 (set_mem_alias_set): Delete decl from here.
7335
7336 * alias.c (set_mem_alias_set): Delete from here.
7337 * emit-rtl.c (mem_attrs_htab): New variable.
7338 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7339 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7340 (mem_attrs_mark, get_mem_attrs): Likewise.
7341 (gen_rtx_MEM): Clear MEM_ATTRS.
7342 (set_mem_attributes): Move to here.
7343 (set_mem_alias_set): Likewise, and call get_mem_attrs.
7344 (init_emit_once): const_int_htab now deletable htab.
7345 Initialize mem_attrs_htab.
7346 * explow.c (set_mem_attributes): Delete from here.
7347 * function.c (put_var_into_stack): Clear MEM_ATTRS.
7348 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7349 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7350 * reload1.c (reload): Rework changing REG to MEM.
7351
7352 2001-09-30 H.J. Lu <hjl@gnu.org>
7353
7354 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7355 * config.in: Rebuild.
7356
7357 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7358
7359 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7360 ("tsthi_1"): Avoid allocation in register y.
7361 ("*movqi_68hc12"): Reorganize and fix constraints.
7362 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7363 ("addqi3"): Likewise.
7364 ("addhi3"): Fix constraints.
7365 ("*logicalhi3_zexthi"): Disparage soft registers.
7366
7367 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7368
7369 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7370 to tmp reg.
7371
7372 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7373
7374 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7375 that we use setjmp/longjmp exceptions.
7376
7377 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
7378
7379 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7380 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7381 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7382 _cpp_pool_alloc, _cpp_next_chunk): Remove.
7383 (_cpp_extend_buff, BUFF_ROOM): Update.
7384 (_cpp_append_extend_buff): New.
7385 (struct cpp_reader): Remove macro_pool, add a_buff.
7386 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7387 macro_pool.
7388 (cpp_destroy): Free a_buff instead of macro_pool.
7389 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7390 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7391 _cpp_pool_alloc, ): Remove.
7392 (parse_number, parse_string): Update use of _cpp_extend_buff.
7393 (_cpp_extend_buff): Update.
7394 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7395 * cpplib.c (glue_header_name, parse_answer):
7396 Update use of _cpp_extend_buff.
7397 (cpp_register_pragma, cpp_register_pragma_space): Use
7398 _cpp_aligned_alloc.
7399 (do_assert, do_unassert): Check for EOL, update.
7400 * cppmacro.c (stringify_arg, collect_args): Update to use
7401 _cpp_extend_buff and _cpp_append_extend_buff.
7402 (save_parameter, parse_params, alloc_expansion_token,
7403 _cpp_create_definition): Rework memory management.
7404
7405 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
7406
7407 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7408 update md_exec_prefix.
7409 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7410 to string constant.
7411
7412 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
7413
7414 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7415 (SELECT_CC_MODE): Use s390_select_ccmode.
7416 * config/s390/s390-protos.h (s390_select_ccmode): Add.
7417 * config/s390/s390.c (s390_select_ccmode): New.
7418 (s390_match_ccmode): Add CCLmode.
7419 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7420 (output_branch_condition, output_inverse_branch_condition): Removed.
7421 (print_operand): Use s390_branch_condition_mnemonic.
7422 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7423 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7424 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7425
7426 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7427 when converting conditional branches to far branches.
7428 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7429 cmpint_di): Use CCSmode instead of CCUmode.
7430
7431 * config/s390/s390.c (legitimate_la_operand_p): New.
7432 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7433 * config/s390/s390.md (movsi): Convert load address patterns to
7434 arithmetic operations when necessary.
7435 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7436 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7437 (*do_la_reg_0): Don't use before reload.
7438
7439 * config/s390/s390.c (legitimize_address): Make more efficient
7440 use of two-register addressing mode.
7441
7442 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7443 with -mno-backchain in some corner cases.
7444
7445 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7446
7447 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
7448
7449 * reload.c (find_reloads): Mark new USE insns with QImode.
7450 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7451 find_reloads_subreg_address): Likewise.
7452 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7453 encountered.
7454 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7455 CLOBBERs.
7456 (reload): Make sure there are no USEs with mode other than
7457 VOIDmode. At the end, remove those marked with QImode.
7458
7459 2001-09-29 Per Bothner <per@bothner.com>
7460
7461 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
7462 * Makefile.in (includedir): Rename to local_includedir.
7463 (includedir): Define as $(prefix)/include.
7464 * config.in (PREFIX_INCLUDE_DIR): New variable.
7465 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
7466
7467 2001-09-29 Bernd Schmidt <bernds@redhat.com>
7468
7469 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7470 storehps builtins.
7471 * doc/extend.texi (Vector Extensions): New node.
7472 * doc/invoke.texi (Machine Dependent Options): Add documentation for
7473 i386 -mmmx, -msse, -m3dnow.
7474
7475 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7476
7477 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7478
7479 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
7480
7481 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7482
7483 * doc/invoke.texi (Optimize Options): Delete spurious @table.
7484
7485 2001-09-28 Richard Henderson <rth@redhat.com>
7486
7487 * varasm.c (assemble_integer): Bound alignment check by
7488 BIGGEST_ALIGNMENT.
7489
7490 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7491
7492 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7493
7494 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7495
7496 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7497
7498 Mostly from Graham Stott <grahams@redhat.com>
7499 * c-common.c (type_for_mode): Add support for V2SFmode.
7500 * tree.c (build_common_tree_nodes_2): Likewise.
7501 * tree.h (enum tree_index, global_trees): Likewise.
7502 * config/i386/i386.c (x86_3dnow_a): New variable.
7503 (override_options): Support 3Dnow extensions.
7504 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7505 Athlon's version of 3Dnow.
7506 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7507 (ix86_expand_builtin): Handle them.
7508 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7509 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7510 TARGET_3DNOW_A): New macros.
7511 (TARGET_SWITCHES): Add 3Dnow switches.
7512 (VALID_MMX_REG_MODE_3DNOW): New macro.
7513 (VECTOR_MODE_SUPPORTED_P): Use it.
7514 (enum ix86_builtins): Add entries for 3Dnow builtins.
7515 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7516 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7517 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7518 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7519 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7520 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7521 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7522 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7523 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7524 sfence_insn, prefetch): Make these available if TARGET_SSE or
7525 TARGET_3DNOW_A.
7526
7527 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
7528
7529 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7530 ix86_va_start, ix86_build_va_list): Declare.
7531 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7532 ix86_va_start, ix86_build_va_list): New global functions.
7533 * i386.md (sse_prologue_save_insn): New insn.
7534 (sse_prologue_save): New expander.
7535 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7536 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7537
7538 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7539
7540 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7541 Use size_t everywhere, make definitions consistent with
7542 prototypes.
7543
7544 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
7545
7546 * gcse.c (replace_store_insn): Use delete_insn.
7547 * loop.c (move_movables): Likewise; avoid delete_insn
7548 from clobbering notes moved elsewhere.
7549 (check_dbra_loop): Use delete_insn.
7550 * ssa.c (convert_from_ssa): Likewise.
7551 * cse.c (cse_insn): Use delete_insn.
7552
7553 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7554
7555 * cpphash.h (struct cpp_buff): Make unsigned.
7556 (_cpp_get_buff): Take length of size_t.
7557 (_cpp_unaligned_alloc): New.
7558 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7559 (struct cpp_reader): Remove ident_pool. Add u_buff.
7560 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7561 (cpp_destroy): Destroy u_buff, not ident_pool.
7562 * cpplex.c (parse_number, parse_string, save_comment,
7563 cpp_token_as_text): Update to use the unaligned buffer.
7564 (new_buff): Make unsigned.
7565 (_cpp_unaligned_alloc): New.
7566 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7567 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7568 Similarly.
7569 (collect_args): Make unsigned.
7570
7571 2001-09-27 Zack Weinberg <zack@codesourcery.com>
7572
7573 * cpplex.c (cpp_output_token): Use a putc loop for
7574 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7575
7576 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7577 * configure, config.in: Regenerate.
7578 * system.h: Replace fwrite and fprintf with their unlocked
7579 variants if available.
7580
7581 2001-09-27 Richard Henderson <rth@redhat.com>
7582
7583 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7584 in favour of .eh_frame.
7585
7586 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
7587
7588 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7589 to macros.
7590 (LIBCALL_VALUE): Likewise.
7591
7592 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7593
7594 * cpphash.h: Update comment.
7595 * cpplex.c: Update comments.
7596 (_cpp_can_paste): Remove.
7597 * cpplib.h (_cpp_can_paste): Remove.
7598 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7599 lexer rather than _cpp_can_paste.
7600
7601 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7602
7603 * doc/cppinternals.texi: Update.
7604
7605 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7606
7607 * cpphash.h (struct cpp_pool): Remove locks and locked.
7608 (struct cpp_context): Add member buff.
7609 (struct cpp_reader): Remove member argument_pool.
7610 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7611 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7612 * cpplex.c (chunk_suitable): Remove pool argument.
7613 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7614 (new_buff, _cpp_extend_buff): Update.
7615 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
7616 which buffer is returned.
7617 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7618 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7619 * cppmacro.c (lock_pools, unlock_pools): Remove.
7620 (push_ptoken_context): Take a _cpp_buff.
7621 (enter_macro_context): Pool locking removed.
7622 (replace_args): Use a _cpp_buff for the replacement list with
7623 arguments replaced.
7624 (push_token_context): Clear buff.
7625 (expand_arg): Use _cpp_pop_context.
7626 (_cpp_pop_context): Free a context's buffer, if any.
7627
7628 2001-09-26 DJ Delorie <dj@redhat.com>
7629
7630 * c-typeck.c (digest_init): Check for sizeless arrays.
7631
7632 2001-09-26 Richard Henderson <rth@redhat.com>
7633
7634 * optabs.c (init_one_libfunc): Create a dummy function type
7635 instead of using error_mark_node.
7636
7637 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7638
7639 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7640 _cpp_extend_buff, _cpp_free_buff): New.
7641 (struct cpp_reader): New member free_buffs.
7642 * cppinit.c (cpp_destroy): Free buffers.
7643 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7644 _cpp_extend_buff, _cpp_free_buff): New.
7645 * cpplib.h (struct cpp_options): Remove unused member.
7646 * cppmacro.c (collect_args): New. Combines the old parse_arg
7647 and parse_args. Use _cpp_buff for memory allocation.
7648 (funlike_invocation_p, replace_args): Update.
7649
7650 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7651
7652 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7653
7654 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
7655
7656 * except.c (sjlj_mark_call_sites): Change address inside sequence.
7657
7658 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
7659
7660 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7661 glibc.
7662
7663 2001-09-25 Janis Johnson <janis187@us.ibm.com>
7664 Jim Wilson <wilson@redhat.com>
7665
7666 * doc/install.texi (Specific, ia64-*-linux): Document.
7667
7668 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7669
7670 * Makefile.in (cfgrtl.o): Add.
7671 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7672 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7673 free_aux_for_edge): Declare.
7674 * cfg.c
7675 (HAVE_return): Undefine.
7676 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7677 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7678 free_aux_for_edge): New global functions.
7679 (first_delete_block): New static variable.
7680 (init_flow): Clear first_delete_block.
7681 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7682 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7683 try_redirect_by_replacing_jump, last_loop_beg_note,
7684 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7685 delete_insn, delete_insn_chain, create_basic_block_structure,
7686 create_basic_block, flow_delete_block, compute_bb_for_insn,
7687 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7688 set_block_for_new_insns, split_block, merge_blocks_nomove,
7689 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7690 redirect_edge_and_branch, force_nonfallthru_and_redirect,
7691 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7692 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7693 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7694 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7695 purge_all_dead_edges): Move to ....
7696 * cfgrtl.c: New file; .... Here.
7697
7698 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7699 (reroder_basic_block): Use alloc_aux_for_blocks.
7700 * predict.c (estimate_bb_frequencies): Likewise; use
7701 alloc_aux_for_edges.
7702 * profile.c (compute_branch_probabilities): Likewise.
7703 (branch_prob): Likewise.
7704 * reg-stack.c (reg_to_stack): Likewise.
7705
7706 * emit-rtl.c (emit_insns_after): Never return NULL.
7707
7708 * basic-block.h (set_block_for_new_insns): Delete.
7709 * cfgrtl.c (set_block_for_new_insns): Delete.
7710
7711 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7712 calls when crossjumping.
7713
7714 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7715 * unroll.c (copy_loop_body): Use delete_insn.
7716
7717 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7718 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7719 keep_stack_depressed): Likewise.
7720 * gcse.c (cprop_cc0_jump): Likewise.
7721 * local-alloc.c (update_equiv_regs): Likewise.
7722 * loop.c (scan_loop, loop_delete_insns): Likewise.
7723 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7724 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7725 delete_output_reload, delete_address_reloads_1,
7726 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7727 Likewise.
7728 * sibcall.c (replace_call_placeholder): Likewise.
7729 * cse.c (cse_insn): Likewise.
7730
7731 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7732
7733 From Graham Stott <grahams@redhat.com>
7734 (def_builtin): Only define builtins appropriate for target_flags. All
7735 callers changed.
7736 (builtin_decsription): Add new field mask which is used to determine
7737 when to define the builtin via the macro def_builtin.
7738
7739 (bdesc_comi): Initialise new mask fields.
7740 (bdesc_2srg): Likewise.
7741 (bdesc_1arg): Likewise.
7742
7743 * config/i386/i386.c (ix86_init_builtins): Correct return type
7744 building v4hi_ftype_v4hi_int_int tree node.
7745 (ix86_expand_sse_comi): Fix typo swapping operands.
7746 Don't swap comparision condition, it is already swapped.
7747 (ix86_expand_sse_compare): Before swapping operands
7748 move operand 1 into new rtx and not the target rtx.
7749 Don't swap comparison condition, it is already swapped.
7750 Always check whether we need to create a new TARGET.
7751
7752 * config/i386/i386.md: (sse_comi) Fix typos.
7753 (sse_ucomi): Likewise.
7754 (cvtss2si): Fix operand 0 contraint.
7755 (cvttss2si): Likewise.
7756 (sse_unpckhps): Fix mode for operand 2.
7757 (sse_unpcklps): Likewise.
7758
7759 2001-09-25 Graham Stott <grahams@redhat.com>
7760
7761 * sibcall.c (skip_copy_to_return_value): Tighten return value
7762 copy check.
7763
7764 2001-09-24 David Edelsohn <edelsohn@gnu.org>
7765
7766 * rs6000.c (lwa_operand): Address must be word aligned.
7767
7768 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7769
7770 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7771 number has been set.
7772 (type_hash_mark): Mark type itself.
7773
7774 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
7775
7776 * c-lex.c (cb_def_pragma): Update.
7777 (c_lex): Update, and skip padding.
7778 * cppexp.c (lex, parse_defined): Update, remove unused variable.
7779 * cpphash.h (struct toklist): Delete.
7780 (union utoken): New.
7781 (struct cpp_context): Update.
7782 (struct cpp_reader): New members eof, avoid_paste.
7783 (_cpp_temp_token): New.
7784 * cppinit.c (cpp_create_reader): Update.
7785 * cpplex.c (_cpp_temp_token): New.
7786 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7787 (cpp_output_token): Don't print leading whitespace.
7788 (cpp_output_line): Update.
7789 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7790 do_include_common, do_line, do_ident, do_pragma,
7791 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7792 parse_assertion): Update.
7793 (get_token_no_padding): New.
7794 * cpplib.h (CPP_PADDING): New.
7795 (AVOID_LPASTE): Delete.
7796 (struct cpp_token): New union member source.
7797 (cpp_get_token): Update.
7798 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7799 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
7800 replace_args, quote_string, stringify_arg, parse_arg, next_context,
7801 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
7802 _cpp_backup_tokens, _cpp_create_definition): Update.
7803 (push_arg_context): Delete.
7804 (padding_token, push_token_context, push_ptoken_context): New.
7805 (make_string_token, make_number_token): Update, rename.
7806 (cpp_get_token): Update to handle tokens as pointers to const,
7807 and insert padding appropriately.
7808 * cppmain.c (struct printer): New member prev.
7809 (check_multiline_token): Constify.
7810 (do_preprocessing, cb_line_change): Update.
7811 (scan_translation_unit): Update to handle spacing.
7812 * scan-decls.c (get_a_token): New.
7813 (skip_to_closing_brace, scan_decls): Update.
7814 * fix-header.c (read_scan_file): Update.
7815
7816 * doc/cpp.texi: Update.
7817
7818 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7819
7820 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
7821 leak by passing malloc'ed pointer to reconcat, not concat.
7822
7823 2001-09-24 DJ Delorie <dj@redhat.com>
7824
7825 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
7826
7827 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
7828
7829 * flow.c (delete_dead_jumptables): Delete jumptable if the only
7830 reference is from the literal pool.
7831
7832 2001-09-24 Janis Johnson <janis187@us.ibm.com>
7833
7834 * doc/install.texi (Final install): Request additional information
7835 in mail about successful builds.
7836
7837 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7838
7839 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
7840 initial value of return pointer register instead of value in frame-20.
7841 Revise comments.
7842
7843 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7844
7845 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
7846 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
7847 the libcall if there isn't a referenced identifier for the symbol.
7848
7849 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7850
7851 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
7852 non 64-bit machines. Use these as a plabel for the trampoline.
7853 (TRAMPOLINE_SIZE): Adjust size for new words.
7854 (INITIALIZE_TRAMPOLINE): Initialize new words.
7855 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
7856 pointer to the plabel in the trampoline.
7857
7858 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7859
7860 * pa.c (function_arg): Pass floating arguments in both general and
7861 floating registers in indirect (dynamic) calls when generating code
7862 for the 32 bit ABI and the HP assembler.
7863
7864 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7865
7866 * doc/install.texi: Markup fixes.
7867 Use Solaris 2, SunOS 4 as appropriate.
7868 (Specific, *-*-solaris2*): Explain this.
7869 Unconditionally warn against /usr/ucb tools.
7870 Remove Sun as warning, obsolete.
7871 Move X11 header bug workaround here, update patches.
7872 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
7873 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
7874
7875 2001-09-23 Zack Weinberg <zack@codesourcery.com>
7876
7877 * errors.h (warning, error, fatal, internal_error): Don't mark
7878 with ATTRIBUTE_PRINTF_n.
7879 * toplev.h (internal_error, fatal_io_error, warning, error,
7880 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
7881 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
7882 Likewise.
7883
7884 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7885
7886 * function.c (pop_function_context_from): var_refs_queue
7887 and temp slots now in GC memory.
7888 (mark_function_status, free_after_compilation): Likewise;
7889 also struct function now in GC memory.
7890 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
7891 (combine_temp_slots): Likewise.
7892 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
7893 (prepare_function_start): Use GC memory for struct function.
7894 (mark_temp_slot): Deleted.
7895 (gcc_mark_struct_function): struct function now in GC memory.
7896
7897 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
7898 code for division, not modulus.
7899
7900 * rtl.def (MEM): Remove obsolete part of comment.
7901
7902 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
7903
7904 * c-format.c (init_function_format_info): Check __builtin_printf
7905 and __builtin_fprintf even if -ffreestanding. Check C99 functions
7906 in gnu89 mode.
7907
7908 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7909
7910 * c-common.c (format_attribute_table): Remove decl.
7911 * tree.h (format_attribute_table, lang_attribute_table): New decls.
7912 (lang_attribute_common): Likewise.
7913
7914 * function.c (fix_lexical_address): Use set_mem_alias_set.
7915 (expand_function_start): Likewise.
7916 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
7917
7918 * varasm.c (output_constant): Fix unused variable warning.
7919
7920 * attribs.c: New file, from c-common.c.
7921 (attribute_tables): Now four elements.
7922 (format_attribute_table, lang_attribute_common): New variables.
7923 (init_attributes): Reflect above changes.
7924 (handle_mode_attribute): Delete check for wider than uintmax.
7925 * c-common.c: Delete parts moved to attribs.c.
7926 (enum attrs): Deleted; unused.
7927 (c_format_attribute_table): New variable.
7928 (c_common_lang_init): Initialize format_attribute_table with it.
7929 * c-common.h (decl_attributes): Remove decl.
7930 * tree.h (decl_attribute): Move it to here.
7931 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
7932 (attribs.o): New rule.
7933
7934 2001-09-22 Andreas Jaeger <aj@suse.de>
7935
7936 * builtins.c (c_getstr): Remove unused variable.
7937
7938 2001-09-21 Richard Henderson <rth@redhat.com>
7939
7940 * reload1.c (reload): Use delete_insn instead of splatting
7941 NOTE_INSN_DELETED.
7942
7943 2001-09-21 Richard Henderson <rth@redhat.com>
7944
7945 * reload.c (push_secondary_reload): Don't check for "=" in output
7946 constraint after ""->ALL_REGS check.
7947
7948 2001-09-21 Richard Henderson <rth@redhat.com>
7949
7950 * predict.c (expected_value_to_br_prob): Use pc_set.
7951
7952 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
7953 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
7954
7955 2001-09-21 Richard Henderson <rth@redhat.com>
7956
7957 * rtl.h (LCT_RETURNS_TWICE): New.
7958 * calls.c (emit_call_1): Set current_function_calls_setjmp for
7959 ECF_RETURNS_TWICE.
7960 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
7961 to ECF_RETURNS_TWICE.
7962 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
7963 call to setjmp.
7964
7965 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
7966
7967 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
7968 (JMP_BUF_SIZE): New.
7969
7970 2001-09-21 Richard Henderson <rth@redhat.com>
7971
7972 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
7973 to R8_REGS.
7974
7975 2001-09-21 Richard Henderson <rth@redhat.com>
7976
7977 * tree.def (FDESC_EXPR): New.
7978 * expr.c (expand_expr): Handle it.
7979 * varasm.c (initializer_constant_valid_p): Likewise.
7980 (output_constant): Likewise.
7981 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7982 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7983 (ASM_OUTPUT_FDESC): New.
7984 * doc/tm.texi: Document the new macros.
7985
7986 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7987
7988 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
7989 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
7990 once merging is complete.
7991
7992 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7993
7994 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
7995
7996 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7997
7998 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
7999 that would be invalid after a merge.
8000
8001 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
8002
8003 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8004 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8005 remove some labels.
8006 (flow_delete_insn): This one.
8007 (delete_insn_chain): Rename from ...; do not care labels.
8008 (flow_delete_insn_chain): ... this one.
8009 (flow_delete_block): Remove the insns one BB has been expunged.
8010 (merge_blocks_nomove): Likewise.
8011 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8012 updating BB boundaries.
8013 (tidy_fallthru_edge): Likewise.
8014 (commit_one_edge_insertion): Likewise.
8015 * cfgbuild.c (find_basic_block): Likewise.
8016 (find_basic_blocks_1): Likewise.
8017 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8018 (try_crossjump_to_edge): Likewise.
8019 (try_optimize_cfg): Likewise.
8020 * cse.c (delete_trivially_dead_insns): Likewise.
8021 * df.c (df_insn_delete): Likewise.
8022 * doloop.c (doloop_modify): Use delete_related_insns.
8023 * emit-rtl.c (try_split): Likewise.
8024 (remove_insn): Update BB boundaries.
8025 * expect.c (connect_post_landing_pads): Use delete_related_insns.
8026 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8027 updating BB boundaries.
8028 (propagate_block_delete_insn): Likewise.
8029 (propagate_block_delete_libcall): Likewise.
8030 * function.c (delete_handlers): Use delete_related_insns.
8031 (thread_prologue_and_epilogue_insns): Likewise.
8032 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8033 * genpeep.c (gen_peephole): Use delete_related_insns.
8034 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8035 BB boundaries.
8036 (find_cond_trap): Likewise.
8037 * integrate.c (save_for_inline): Use delete_related_insns.
8038 (copy_insn_list): Likewise.
8039 * jump.c (pruge_linie_number_notes): Likewise.
8040 (duplicate_loop_exit_test): Likewise.
8041 (delete_computation): Likewise.
8042 (delete_related_insn): Rename from ...; use delete_insn
8043 (delete_insn): ... this one.
8044 (redirect_jump): Use delete_related_insns.
8045 * loop.c (scan_loop): Likewise.
8046 (move_movables): Likewise.
8047 (find_and_verify_loops): Likewise.
8048 (check_dbra_loop): Likewise.
8049 * recog.c (peephole2_optimize): Likewise.
8050 * reg-stack.c (delete_insn_for_stacker): Remove.
8051 (move_for_stack_reg): Use delete_insn.
8052 * regmove.c (combine_stack_adjustments_for_block): Likewise.
8053 * reload1.c (delete_address_reloads): Use delete_related_insns.
8054 (fixup_abnormal_edges): Use delete_insn.
8055 * recog.c (emit_delay_sequence): Use delete_related_insns.
8056 (delete_from-delay_slot): Likewise.
8057 (delete_scheduled_jump): likewise.
8058 (optimize_skip): Likewise.
8059 (try_merge_delay_insns): Likewise.
8060 (full_simple_delay_slots): Likewise.
8061 (fill_slots_from_thread): Likewise.
8062 (relax_delay_slots): Likewise.
8063 (make_return_insns): Likewise.
8064 (dbr_schedule): Likewise.
8065 * rtl.h (delete_insn): Rename to delete_related_insns.
8066 (delete_insn, delete_insn_chain): New prototypes.
8067 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
8068 by df_insn_delete already.
8069 * ssa-dce.c (delete_insn_bb): Use delete_insn.
8070 * ssa.c (convert_from_ssa): Use delete_related_insns.
8071 * unroll.c (unroll_loop): Likewise.
8072 (calculate_giv_inc): Likewise.
8073 (copy_loop_body): Likewise.
8074
8075 * i386-protos.h (ix86_libcall_value, ix86_function_value,
8076 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8077 ix86_return_in_memory, ix86_function_value): Declare.
8078 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8079 new static valurables.
8080 (x86_64_reg_class): New enum
8081 (x86_64_reg_class_name): New array.
8082 (classify_argument, examine_argument, construct_container,
8083 merge_classes): New static functions.
8084 (optimization_options): Enable flag_omit_frame_pointer and disable
8085 flag_pcc_struct_return on 64bit.
8086 (ix86_libcall_value, ix86_function_value,
8087 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8088 ix86_return_in_memory, ix86_function_value): New global functions.
8089 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8090 (function_arg_advance): Handle x86_64 passing conventions.
8091 (function_arg): Likewise.
8092 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8093 (RETURN_IN_MEMORY): Move offline.
8094 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8095 (FUNCTION_VALUE_REGNO_P): New macro.
8096 (FUNCTION_ARG_REGNO_P): Move offline.
8097 (struct ix86_args): Add maybe_vaarg.
8098 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8099 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8100
8101 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8102
8103 * s390.md: Changed attributes for scheduling.
8104 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8105 Changed scheduling
8106
8107 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8108
8109 Table-driven attributes.
8110 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8111 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8112 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8113 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8114 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8115 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8116 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8117 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8118 * tree.h (struct tree_decl): Change machine_attributes to
8119 attributes.
8120 * doc/c-tree.texi: Document that all attributes are now attached
8121 to decls and types.
8122 * c-common.c (add_attribute, attrtab, attrtab_idx,
8123 default_valid_lang_attribute, valid_lang_attribute): Remove.
8124 (attribute_tables, attributes_initialized,
8125 c_common_attribute_table, default_lang_attribute_table): New
8126 variables.
8127 (handle_packed_attribute, handle_nocommon_attribute,
8128 handle_common_attribute, handle_noreturn_attribute,
8129 handle_unused_attribute, handle_const_attribute,
8130 handle_transparent_union_attribute, handle_constructor_attribute,
8131 handle_destructor_attribute, handle_mode_attribute,
8132 handle_section_attribute, handle_aligned_attribute,
8133 handle_weak_attribute, handle_alias_attribute,
8134 handle_no_instrument_function_attribute,
8135 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8136 handle_no_limit_stack_attribute, handle_pure_attribute): New
8137 functions.
8138 (init_attributes, decl_attributes): Rewrite to implement
8139 table-driven attributes.
8140 * c-common.h (enum attribute_flags): Move to tree.h.
8141 * c-format.c (decl_handle_format_attribute,
8142 decl_handle_format_arg_attribute): Rename to
8143 handle_format_attribute and handle_format_arg_attribute. Update
8144 for table-driven attributes.
8145 * c-common.h (decl_handle_format_attribute,
8146 decl_handle_format_arg_attribute): Remove prototypes.
8147 (handle_format_attribute, handle_format_arg_attribute): Add
8148 prototypes.
8149 * c-decl.c (grokdeclarator): Handle attributes nested inside
8150 declarators.
8151 * c-parse.in (setattrs, maybe_setattrs): Remove.
8152 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8153 Update to handle nested attributes properly.
8154 (maybe_resetattrs, after_type_declarator,
8155 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8156 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8157 properly.
8158 (make_pointer_declarator): Update to handle nested attributes
8159 properly.
8160 * doc/extend.texi: Update documentation of limits of attributes
8161 syntax. Warn about problems with attribute semantics in C++.
8162 * target.h (struct target): Remove valid_decl_attribute and
8163 valid_type_attribute. Add attribute_table and
8164 function_attribute_inlinable_p.
8165 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8166 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8167 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8168 Add.
8169 (TARGET_INITIALIZER): Update.
8170 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8171 definition.
8172 (function_attribute_inlinable_p): New function. Check for the
8173 presence of any machine attributes before using
8174 targetm.function_attribute_inlinable_p.
8175 (function_cannot_inline_p): Update.
8176 * Makefile.in (integrate.o): Update dependencies.
8177 * doc/tm.texi: Update documentation of target attributes and
8178 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8179 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8180 Remove.
8181 (default_target_attribute_table,
8182 default_function_attribute_inlinable_p): New.
8183 (lookup_attribute): Update comment to clarify handling of multiple
8184 attributes with the same name.
8185 (merge_attributes, attribute_list_contained): Allow multiple
8186 attributes with the same name but different arguments to appear in
8187 the same attribute list.
8188 * tree.h (default_valid_attribute_p): Remove prototype.
8189 (struct attribute_spec): New.
8190 (default_target_attribute_table): Declare.
8191 (enum attribute_flags): Move from c-common.h. Add
8192 ATTR_FLAG_TYPE_IN_PLACE.
8193 (default_function_attribute_inlinable_p): Declare.
8194 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8195 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8196 (TARGET_ATTRIBUTE_TABLE): Define.
8197 (vms_attribute_table): New.
8198 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8199 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8200 (TARGET_ATTRIBUTE_TABLE): Define.
8201 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8202 * config/arm/arm.c (arm_valid_type_attribute_p,
8203 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8204 Remove.
8205 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8206 define.
8207 (TARGET_ATTRIBUTE_TABLE): Define.
8208 (arm_attribute_table, arm_handle_fndecl_attribute,
8209 arm_handle_isr_attribute): New.
8210 * config/avr/avr.c (avr_valid_type_attribute,
8211 avr_valid_decl_attribute): Remove.
8212 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8213 define.
8214 (TARGET_ATTRIBUTE_TABLE): Define.
8215 (avr_attribute_table, avr_handle_progmem_attribute,
8216 avr_handle_fndecl_attribute): New.
8217 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8218 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8219 (TARGET_ATTRIBUTE_TABLE): Define.
8220 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8221 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8222 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8223 (TARGET_ATTRIBUTE_TABLE): Define.
8224 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8225 h8300_handle_eightbit_data_attribute,
8226 h8300_handle_tiny_data_attribute): New.
8227 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8228 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8229 Remove prototypes.
8230 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8231 declarations.
8232 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8233 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8234 define.
8235 (TARGET_ATTRIBUTE_TABLE): Define.
8236 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8237 ix86_handle_regparm_attribute): New.
8238 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8239 i386_pe_valid_type_attribute_p): Remove.
8240 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8241 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8242 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8243 (TARGET_ATTRIBUTE_TABLE): Define.
8244 (ia64_attribute_table): New.
8245 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8246 interrupt_ident2, model_ident1, model_ident2): Remove.
8247 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8248 (TARGET_ATTRIBUTE_TABLE): Define.
8249 (init_idents): Update.
8250 (m32r_attribute_table, m32r_handle_model_attribute): New.
8251 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8252 Remove.
8253 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8254 (TARGET_ATTRIBUTE_TABLE): Define.
8255 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8256 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8257 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8258 (TARGET_ATTRIBUTE_TABLE): Define.
8259 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8260 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8261 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8262 (TARGET_ATTRIBUTE_TABLE): Define.
8263 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8264 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8265 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8266 (TARGET_ATTRIBUTE_TABLE): Define.
8267 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8268 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8269 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8270 (TARGET_ATTRIBUTE_TABLE): Define.
8271 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8272 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8273 New.
8274 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8275 Remove.
8276 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8277 (TARGET_ATTRIBUTE_TABLE): Define.
8278 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8279 New.
8280 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8281 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8282 (TARGET_ATTRIBUTE_TABLE): Define.
8283 (v850_attribute_table, v850_handle_interrupt_attribute,
8284 v850_handle_data_area_attribute): New.
8285 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8286 Return void. Call decl_attributes instead of
8287 valid_machine_attribute.
8288
8289 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8290
8291 * sh-protos.h (sh_pr_n_sets): Declare.
8292 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8293 look at the copy to determine if PR needs to be saved.
8294 sh_pr_n_sets: New function.
8295 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8296 (ALLOCATE_INITIAL_VALUE): Define.
8297
8298 * sh.c (initial_elimination_offset):
8299 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8300
8301 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8302
8303 * integrate.c (allocate_initial_values): New function.
8304 * integrate.h (allocate_initial_values): Declare.
8305 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8306 here...
8307 * reload1.c (reload): And initialization of reg_equiv_memory_loc
8308 from here...
8309 * toplev.c (rest_of_compilation): To here.
8310 Call allocate_initial_values.
8311 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8312
8313 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8314
8315 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8316
8317 2001-09-20 DJ Delorie <dj@redhat.com>
8318
8319 * c-typeck.c (really_start_incremental_init): Discriminate
8320 between zero-length arrays and flexible arrays.
8321 (push_init_level): Detect zero-length arrays and handle them
8322 like fixed-sized arrays.
8323 * expr.c (store_constructor): Handle zero-length arrays and
8324 flexible arrays correctly.
8325 * doc/extend.texi: Update zero-length array notes.
8326
8327 2001-09-20 Jim Wilson <wilson@redhat.com>
8328
8329 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8330 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8331 for issue port conflicts.
8332 (cycle_end_fill_slots): TYPE_L instructions take two slots.
8333
8334 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
8335
8336 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8337 on ia64.
8338
8339 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8340
8341 * fold-const.c (hashtab.h): Include.
8342 (int_const_binop): Remove FORSIZE arg and compute from type; all
8343 callers changed.
8344 Call size_int_type_wide for all single-word constants.
8345 (size_htab_hash, size_htab_eq): New functions.
8346 (size_int_type_wide): Rework to use hash table.
8347 * ggc-common.c (hashtab.h): Include.
8348 (struct d_htab_root): New struct.
8349 (d_htab_roots): New variable.
8350 (ggc_add_deletable_htab, ggc_htab_delete): New functions
8351 (ggc_mark_roots): Handle deletable htabs.
8352 * ggc-page.c (ggc_marked_p): New function.
8353 * ggc-simple.c (ggc_marked_p): Likewise.
8354 * ggc.h: Reformatting throughout.
8355 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8356 * tree.c (init_obstacks): Make type_hash_table a deletable root.
8357 (type_hash_add): Allocate struct type_hash from GC memory.
8358 (mark_hash_entry, mark_type_hash): Deleted.
8359 (type_hash_marked_p, type_hash_mark): New functions.
8360 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8361
8362 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
8363
8364 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8365 than SImode.
8366
8367 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8368
8369 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8370 array-too-large test for signed sizetype.
8371
8372 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8373
8374 * i386.md (indirect_jump): Allow Pmode operand.
8375 (tablejump): LIkewise; perform expansion to 64bit mode.
8376 * i386.c (symbolic_operand): Allow 64bit PIC references.
8377 (pic_symbolic_operand): Likewise.
8378 (ix86_find_base_term): Strip the 64bit PIC references.
8379 (legitimate_pic_address_disp_p): Handle 64bit PIC.
8380 (legitimize_pic_address): Likewise.
8381 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8382 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8383
8384 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
8385
8386 * stringpool.c (get_identifier_with_length): New function.
8387 * tree.h (get_identifier_with_length): New prototype.
8388
8389 2001-09-19 Alan Modra <amodra@bigpond.net.au>
8390 David Edelsohn <edelsohn@gnu.org>
8391
8392 Revert:
8393 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8394 already sign-extended.
8395
8396 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8397 * config/rs6000/rs6000.c (logical_operand): Always compare op as
8398 HOST_WIDE_INT.
8399 (rs6000_emit_set_long_const): Avoid unnecessary shift.
8400 (output_profile_hook): Declare label_name const.
8401 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8402 to match constraints.
8403
8404 2001-09-19 Stan Shebs <shebs@apple.com>
8405
8406 * alias.c: Fix typos in comments.
8407 * sched-rgn.c (init_ready_list): Ditto.
8408 * unwind-dw2.c (uw_frame_state_for): Ditto.
8409 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8410 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8411 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8412
8413 2001-09-19 Richard Henderson <rth@redhat.com>
8414
8415 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8416 to the exit block.
8417 * Makefile.in (cfg.o): Depend on TM_P_H.
8418
8419 2001-09-19 Richard Henderson <rth@redhat.com>
8420
8421 * config/alpha/alpha.c (local_symbol_p): Split out from ...
8422 (local_symbolic_operand): ... here.
8423 (small_symbolic_operand): Check mode.
8424 (global_symbolic_operand): New.
8425 (input_operand): Reject symbolics if explicit relocs.
8426 (call_operand): Tidy.
8427 (alpha_legitimize_address): Use movdi_er_high_g.
8428 (alpha_expand_mov): Likewise.
8429 * config/alpha/alpha-protos.h: Update.
8430 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8431 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8432 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8433 (UNSPECV_LDGP2): Remove.
8434 (all call patterns): Use 's' not 'i' for symbolic constraint.
8435 (call_osf call_value_osf): Use call_operand.
8436 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
8437 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8438 (prologue_ldgp_1_er): Remove.
8439 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8440 (builtin_setjmp_receiver_er patterns): Use them.
8441 (exception_receiver_er): Likewise.
8442
8443 2001-09-19 Richard Henderson <rth@redhat.com>
8444
8445 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8446
8447 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8448 and NON_LOCAL_GOTO notes.
8449 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
8450 copy over CALL_INSN_FUNCTION_USAGE.
8451
8452 2001-09-18 Catherine Moore <clm@redhat.com>
8453
8454 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8455 Define as 0.
8456
8457 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
8458
8459 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8460 new-style tm_file specification. Specify correct tm_p_file,
8461 md_file, and out_file for s390x.
8462
8463 * config/s390/linux.h, linux64.h: Don't include other target
8464 macro header files. Now handled via tm_file.
8465
8466 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8467 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8468 are defined before use.
8469
8470 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
8471
8472 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8473 code generation only for Gnu assembler.
8474
8475 2001-09-18 Catherine Moore <clm@redhat.com>
8476
8477 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8478
8479 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
8480
8481 * config/mips/mips.c (mips_frame_set): New.
8482 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8483 a parallel frame-related expression with a set for each register.
8484
8485 2001-09-18 Philip Blundell <philb@gnu.org>
8486
8487 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8488 header files.
8489
8490 2001-09-17 Dale Johannesen <dalej@apple.com>
8491
8492 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8493 * config/rs6000/aix.h (FIXED_R2): Define.
8494 * config/rs6000/darwin.h (FIXED_R2): Define.
8495 * config/rs6000/sysv4.h (FIXED_R2): Define.
8496
8497 2001-09-17 Jeff Sturm <jsturm@one-point.com>
8498
8499 * except.c (dw2_build_landing_pads): New local
8500 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
8501 barrier after clobbers. Fixes c++/4012.
8502
8503 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8504
8505 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8506
8507 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8508
8509 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8510 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8511
8512 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8513
8514 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8515 alloca/strcpy.
8516
8517 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
8518
8519 * cpphash.h (_cpp_lex_direct): New.
8520 * cpplex.c (_cpp_lex_token): Update.
8521 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8522 and increment that pointer.
8523 * cppmacro.c (alloc_expansion_token): New.
8524 (lex_expansion_token): Lex macro expansion directly into
8525 macro storage.
8526
8527 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
8528
8529 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8530
8531 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
8532
8533 * basic-block.h (free_bb_for_insn): Declare.
8534 * bb-reorder.c (label_for_bb): Use block_label.
8535 (emit_jump_to_block_after): Remove.
8536 (insert_intra_1): Do not update block_for_insn.
8537 (insert_inter_bb_scope_notes): Likewise; update bb->end
8538 * cfg.c (free_bb_for_insn): New.
8539 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8540 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8541 (commit_one_edge_insertion): Likewise.
8542 (commit_one_edge_insertion): Do not update BB boundary.
8543 (commit_edge_insertions): Do not call compute_bb_for_insn.
8544 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8545 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8546 (merge_blocks_move_successor_nojumps): Likewise.
8547 (try_crossjump_to_edge): Do not update block_for_insn.
8548 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8549 * df.c (df_pattern_emit_later): Do not update BB boundary.
8550 (df_jump_pattern_emit_after): Likewise.
8551 (df_insn_move_before): Use emit_insn_before.
8552 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8553 properly.
8554 (add_insn_after, add_insn_before, emit_insns_after): Update BB
8555 boundaries and basic_block_for_insn.
8556 (reorder_insns_nobb): Rename from reorder_insns.
8557 (reorder_insns): New.
8558 (emit_block_insn_before, emit_block_insn_after): Kill.
8559 * flow.c (check_function_return_warnings): Do not call
8560 compute_bb_for_insn; Do not free basic_block_for_insn.
8561 (attempt_auto_inc): Do not update basic_block_for_insn.
8562 * function.c (emit_return_into_block): Likewise;
8563 do not update BB boundaries.
8564 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8565 (insert_insn_end_bb): Use emit_insn_before; Likewise.
8566 (pre_insert_copy_insn): Likewise.
8567 (update_ld_motion_notes): Likewise.
8568 (insert_insn_start_bb): Likewise.
8569 (replace_store_insn): Likewise.
8570 * ifcvt.c (noce_process_if_block): Likewise.
8571 (if_convert): Do not call compute_bb_for_insn.
8572 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8573 Use emit_insn_before and emit_insn_after.
8574 * recog.c (split_all_insns): Do not update BB boundaries;
8575 Do not call compute_bb_for_insn.
8576 (peephole2_optimize): Do not update BB boundaries.
8577 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8578 emit_insn_before.
8579 (emit_swap_insn): Likewise.
8580 (convert_regs_1): Likewise.
8581 * reload1.c (reload): Call compute_bb_for_insn.
8582 * rtl.h (reorder_insns_nobb): Declare.
8583 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8584 * toplev.c (rest_of_compilation): Call free_bb_for_insn
8585 at places CFG is invalidated; do not call compute_bb_for_insn.
8586
8587 * cfg.c (expunge_block): Invalidate BB structure.
8588
8589 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8590 array.
8591
8592 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8593
8594 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8595
8596 * cpphash.h (_cpp_lex_token): Update prototype.
8597 * cpplex.c (_cpp_lex_token): New prototype.
8598 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8599 lex_macro_node, read_flag, do_pragma_poison): Update.
8600 * cppmacro.c (cpp_get_token, parse_params,
8601 lex_expansion_token): Update.
8602
8603 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8604
8605 * cppmain.c (scan_translation_unit): Don't worry about
8606 putting a space after hashes.
8607 * cpplib.c (directive_diagnostics): New.
8608 (_cpp_handle_directive): Update to use directive_diagnostics.
8609 (run_directive): Don't toggle prevent_expansion.
8610 (do_line): Backup in case of the line extension.
8611 * cpplib.h (cpp_lexer_pos): Remove.
8612 * cppmacro.c (_cpp_create_definition): Precede a leading #
8613 with whitespace.
8614
8615 2001-09-15 Richard Henderson <rth@redhat.com>
8616
8617 * c-typeck.c (comptypes): Handle zero-length arrays properly.
8618
8619 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8620
8621 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8622
8623 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8624
8625 PR preprocessor/3571
8626 * tradcpp.c (handle_directive): Skip non-vertical space.
8627
8628 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8629
8630 * cppmain.c (setup_callbacks): Set line callback only
8631 if outputting preprocessed source.
8632
8633 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8634
8635 * collect2.c (main): Const-ification.
8636 * gcc.c (translate_options, process_command): Use xstrdup in
8637 lieu of xmalloc/strcpy.
8638 (main): Use concat in lieu of xmalloc/strcpy/strcat.
8639
8640 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8641
8642 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8643 example.
8644
8645 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8646
8647 * scan-decls.c (scan_decls): Fix typo.
8648
8649 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8650
8651 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8652 Split mlstring_pos into mls_line and mls_col.
8653 * cppinit.c (cpp_create_reader): Initialize line to 1.
8654 (cpp_destroy): Free tokenruns.
8655 (push_include): Don't update lexer_pos.
8656 * cpplex.c (unterminated, parse_string): Update.
8657 (lex_token): Don't update lexer_pos, update.
8658 * cpplib.c (if_stack): Save line instead of line + col.
8659 (start_directive, _cpp_do__Pragma, do_else, do_elif,
8660 push_conditional, _cpp_pop_buffer): Update.
8661 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8662 (_cpp_create_definition): Update.
8663
8664 2001-09-15 Eric Christopher <echristo@redhat.com>
8665
8666 * config/mips/abi64.h: Add support for MEABI.
8667
8668 2001-09-15 Eric Christopher <echristo@redhat.com>
8669
8670 * config/mips/mips.md: Add unspec #2.
8671 (reload_indi): Use.
8672 (reload_outdi): Ditto.
8673 (reload_outsi): Ditto.
8674 (HILO_delay): New.
8675
8676 2001-09-15 Eric Christopher <echristo@redhat.com>
8677 Jason Eckhardt <jle@redhat.com>
8678
8679 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8680 * config/mips/isa32-linux.h: New file.
8681 * config/mips/isa3264.h: Ditto.
8682 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8683 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8684 (output_block_mode): Support MEABI.
8685 (function_arg): Ditto. Fix floating point arg passing.
8686 (mips_va_start): Ditto.
8687 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8688 processors.
8689 (mips_asm_file_start): Add new section to pass abi to gdb.
8690 (function_arg_pass_by_reference): Support MEABI.
8691 (mips_parse_cpu): Support mips32 and mips64 processors.
8692 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8693 TARGET_MIPS5KC. Support isa32 and isa64.
8694 (processor_type): Add r4kc, r5kc, r20kc.
8695 (GENERATE_MULT3_SI): New.
8696 (GENERATE_MULT3_DI): Ditto.
8697 (GENERATE_MULT3): Remove.
8698 (ISA_HAS_64BIT_REGS): Add isa == 64.
8699 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8700 (ISA_HAS_MADD_MSUB): New.
8701 (ISA_HAS_CLZ_CLO): Ditto.
8702 (ISA_HAS_DCLZ_DCLO): Ditto.
8703 (ABI_GAS_ASM_SPEC): New.
8704 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8705 (ASM_SPEC): Ditto.
8706 (LINK_SPEC): Ditto.
8707 (SUBTARGET_CC1_SPEC): Ditto.
8708 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8709 (PAD_VARARGS_DOWN): Support MEABI.
8710 (HARD_REGNO_NREGS): Move to mips.c.
8711 (ASM_OUTPUT_IDENT): Add #undef.
8712 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8713 (mulsi3): Use GENERATE_MULT3_SI.
8714 (mulsi3_mult3): Ditto. Support mips32, mips64.
8715 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8716 (mul_sub_si): New pattern.
8717 (unnamed splitters): New.
8718 (muldi3): Use GENERATE_MULT3_DI.
8719 (muldi3_internal2): Ditto.
8720 (movdicc): Support mips32.
8721 * config/mips/t-isa3264: New file.
8722
8723 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
8724
8725 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8726 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8727 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8728
8729 * reorg.c (fill_slots_from_thread): After call to
8730 steal_delay_list_from_target, update own_thread as new_thread may
8731 have branched.
8732
8733 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
8734
8735 * cpperror.c (print_location): Take line and column, for
8736 default positioning use the previously lexed token.
8737 (_cpp_begin_message): Take line and column.
8738 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8739 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8740 * cpphash.h (_cpp_begin_message): Update prototype.
8741 * cppinit.c (push_include): Don't set output line.
8742 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8743 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8744 (do_pragma): Kludge for front ends. Don't expand macros at all.
8745 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8746 (struct cpp_token): Remove output_line.
8747 (struct cpp_callbacks): New member line_change.
8748 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8749 cpp_get_token): Preserve BOL flag.
8750 (cpp_get_line): Remove.
8751 (_cpp_backup_tokens): Remove useless abort().
8752 * cppmain.c (cb_line_change): New.
8753 (scan_translation_unit): Don't worry about starting new lines here.
8754 * scan-decls.c (scan_decls): Update.
8755 * c-lex.c (c_lex, init_c_lex): Update.
8756 (cb_line_change, src_lineno): New.
8757
8758 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
8759
8760 * tree.c (append_random_chars): Generate the random
8761 characters in a reproducable fashion.
8762
8763 2001-09-14 Richard Henderson <rth@redhat.com>
8764
8765 * config/i386/i386.c (internal_label_prefix): New.
8766 (internal_label_prefix_len): New.
8767 (override_options): Set them.
8768 (local_symbolic_operand): New.
8769 (legitimate_pic_address_disp_p): Use it.
8770 (legitimize_pic_address): Likewise.
8771
8772 2001-09-14 Marc Espie <espie@openbsd.org>
8773
8774 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
8775 correctly.
8776
8777 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8778
8779 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8780 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8781
8782 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8783
8784 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8785 invocation of SUBREG_REGNO_OFFSET.
8786
8787 * haifa-sched.c: Fix typo in FSF copyright statement.
8788 * sched-deps.c: Fix typo in FSF copyright statement.
8789 * sched-ebb.c: Fix typo in FSF copyright statement.
8790 * sched-rgn.c: Fix typo in FSF copyright statement.
8791 * sched-vis.c: Fix typo in FSF copyright statement.
8792
8793 * config.gcc: Move inclusion of arm elf specific header files
8794 from the files themselves into the tm_file variable. Make
8795 sure that elfos.h is included before target specific elf
8796 headers.
8797 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8798 already defined.
8799 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
8800 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
8801 ASM_OUTPUT_CASE_LABEL): Protect definition.
8802 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
8803 not already defined.
8804 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
8805 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
8806 Remove duplicate definition.
8807 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
8808 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
8809 (RDATA_SECTION_FUNCTION): Remove redundant definition.
8810 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
8811 Remove inclusion of arm/elf.h.
8812 * config/arm/unknown-elf.h: as for conix-elf.h.
8813 (STARTFILE_SPEC): Include crti.o and crtn.o.
8814 * config/arm/linux-elf.h: as for conix-elf.h.
8815 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
8816 * config/arm/strongarm-elf.h: Remove inclusion of
8817 unknown-elf.h.
8818 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
8819 * config/arm/unknown-elf-oabi.h: Remove inclusion of
8820 unknown-elf.h and elf.h.
8821 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
8822 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
8823 ASM_WEAKEN_LABEL): Remove redundant definition.
8824 * config/arm/elf.h: Test for inclusion of elfos.h
8825 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
8826 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
8827 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
8828 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
8829 redundant definition.
8830 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
8831 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
8832 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
8833 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
8834 Add rules to build crti.o and crtn.o
8835 * crti.asm: New file.
8836 * crtn.asm: New file.
8837
8838 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
8839
8840 * c-parse.in (_yylex): Use _cpp_backup_tokens.
8841 * cpphash.h (struct tokenrun): Add prev.
8842 (struct lexer_state): Remove bol.
8843 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
8844 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
8845 : Remove.
8846 * cppinit.c (cpp_create_reader): Don't set bol.
8847 (cpp_destroy): Don't free lookaheads.
8848 * cpplex.c (lex_directive): Remove.
8849 (next_tokenrun): Update.
8850 (_cpp_lex_token): Clean up logic.
8851 (lex_token): Update to return a pointer to lexed token, since it
8852 can move to the start of the buffer. Simpify newline handling.
8853 * cpplib.c (SEEN_EOL): Update.
8854 (skip_rest_of_line): Remove lookahead stuff.
8855 (end_directive): Line numbers are already incremented. Revert
8856 to start of lexed token buffer if we can.
8857 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
8858 parse_answer): Use _cpp_backup_tokens.
8859 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
8860 instead. Don't check for EOL.
8861 (do_include_common, do_line, do_pragma_system_header): Use
8862 skip_rest_of_line.
8863 * cpplib.h (BOL, _cpp_backup_tokens): New.
8864 * cppmacro.c (save_lookahead_token, take_lookahead_token,
8865 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
8866 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
8867 (builtin_macro): Don't use cpp_get_line.
8868 (cpp_get_line): Short term kludge.
8869 (parse_arg): Handle directives in arguments here. Back up when
8870 appropriate. Store EOF at end of argument list.
8871 (funlike_invocation_p): Use _cpp_backup_tokens.
8872 (push_arg_context): Account for EOF at end of list.
8873 (cpp_get_token): Remove lookahead stuff. Update.
8874
8875 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8876
8877 * c-parse.in (yyerror): Const-ification and/or static-ization.
8878 * c-typeck.c (push_member_name): Likewise.
8879 * collect2.c (main): Likewise.
8880 * dbxout.c (dbxout_parms): Likewise.
8881 * diagnostic.c (format_with_decl): Likewise.
8882 * dwarf2out.c (output_ranges): Likewise.
8883 * dwarfout.c (fundamental_type_code): Likewise.
8884 * except.c (dw2_output_call_site_table): Likewise.
8885 * gcc.c (do_spec_1): Likewise.
8886 * genopinit.c (optabs): Likewise.
8887 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
8888 gen_declaration_1, handle_impent): Likewise.
8889 * protoize.c (default_include, in_system_include_dir, abspath):
8890 Likewise.
8891 * sched-vis.c (visualize_stall_cycles): Likewise.
8892 * sdbout.c (plain_type_1, sdbout_end_function,
8893 sdbout_end_epilogue): Likewise.
8894 * varasm.c (decode_reg_name): Likewise.
8895
8896 * 1750a.c (mod_regno_adjust): Likewise.
8897 * alpha.c (alpha_write_one_linkage,
8898 unicosmk_output_default_externs): Likewise.
8899 * arm.c (arm_condition_codes): Likewise.
8900 * arm.h (arm_condition_codes): Likewise.
8901 * avr.c (output_movsisf, encode_section_info): Likewise.
8902 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
8903 Likewise.
8904 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8905 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8906 * m88k.c (output_function_profiler): Likewise.
8907 * mips.c (mips_output_conditional_branch): Likewise.
8908 * ns32k.c (ns32k_out_reg_names): Likewise.
8909 * ns32k.h (ns32k_out_reg_names): Likewise.
8910 * pj.c (pj_output_rval): Likewise.
8911 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
8912 * sparc.c (sparc_flat_function_prologue,
8913 sparc_flat_function_epilogue): Likewise.
8914
8915 2001-09-13 Markus Werle <numerical.simulation@web.de>
8916 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8917
8918 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
8919 Aachen University of Technology".
8920
8921 2001-09-13 Andreas Schwab <schwab@suse.de>
8922
8923 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
8924 C99.
8925
8926 2001-09-13 Richard Henderson <rth@redhat.com>
8927
8928 * config/alpha/alpha.c (small_symbolic_operand): New.
8929 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
8930 (some_operand, input_operand): Don't handle HIGH.
8931 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
8932 (alpha_expand_mov): Likewise.
8933 (print_operand) [H]: Just print HIGH symbol.
8934 (print_operand_address): Handle small data.
8935 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
8936 (TARGET_SWITCHES): Add -msmall-data/large-data.
8937 (PIC_OFFSET_TABLE_REGNUM): New.
8938 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
8939 (PREDICATE_COES): Update.
8940 * config/alpha/alpha.md (adddi_er_high): New.
8941 (adddi_er_low): Handle small data.
8942 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
8943 prefer .sdata to .rodata.
8944 (SELECT_RTX_SECTION): Likewise.
8945
8946 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
8947
8948 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
8949 defining __size_t and leaving size_t undefined.
8950
8951 2001-09-12 Diego Novillo <dnovillo@redhat.com>
8952
8953 * basic-block.h (expunge_block): Declare.
8954 * cfg.c (expunge_block): Remove static declaration.
8955
8956 2001-09-12 Richard Henderson <rth@redhat.com>
8957
8958 * integrate.c (copy_insn_list): Copy label name from
8959 NOTE_INSN_DELETED_LABEL.
8960
8961 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8962
8963 * c-common.c (c_tree_code_name): Const-ification.
8964 * c-decl.c (c_decode_option): Likewise.
8965 * c-typeck.c (warn_for_assignment): Likewise.
8966 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
8967 Likewise.
8968 * cppinit.c (output_deps): Likewise.
8969 * dependence.c (dependence_string, direction_string): Likewise.
8970 * dwarf2out.c (output_ranges): Likewise.
8971 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
8972 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
8973 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
8974 standard_startfile_prefix, standard_startfile_prefix_1,
8975 standard_startfile_prefix_2, tooldir_base_prefix,
8976 standard_bindir_prefix, find_a_file): Likewise.
8977 * genattrtab.c (make_length_attrs): Likewise.
8978 * gencheck.c (tree_codes): Likewise.
8979 * genemit.c (gen_split): Likewise.
8980 * genrecog.c (special_mode_pred_table): Likewise.
8981 * graph.c (graph_ext): Likewise.
8982 * protoize (default_include): Likewise.
8983 * reload.c (reload_when_needed_name): Likewise.
8984 * sched-vis.c (visualize_stall_cycles): Likewise.
8985 * tlink.c (recompile_files): Likewise.
8986 * toplev.c (decode_g_option): Likewise.
8987 * tradcpp.c (output_deps): Likewise.
8988 * varasm.c (decode_reg_name): Likewise.
8989
8990 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
8991 Const-ification.
8992 * arm.md: Likewise.
8993 * avr.c (avr_regnames, encode_section_info): Likewise.
8994 * c4x.c (float_reg_names): Likewise.
8995 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
8996 * elfos.h (const_section): Likewise.
8997 * i386.c (ix86_comp_type_attributes): Likewise.
8998 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
8999 * ia64/aix.h (UNIQUE_SECTION): Likewise.
9000 * ia64.c (type_names): Likewise.
9001 * m68hc11.c (reg_class_names): Likewise.
9002 * m88k.c (m_options): Likewise.
9003 * mips.c (mips_output_conditional_branch, mips_unique_section):
9004 Likewise.
9005 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9006 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9007 ultra_code_names): Likewise.
9008 * sparc.h (OVERRIDE_OPTIONS): Likewise.
9009
9010 2001-09-12 Jakub Jelinek <jakub@redhat.com>
9011
9012 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9013 Use --fatal-warnings option for gas.
9014 * configure: Rebuilt.
9015
9016 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9017
9018 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9019
9020 2001-09-11 Jim Wilson <wilson@redhat.com>
9021
9022 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9023
9024 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9025
9026 * builtins.c (c_strlen): Treat an offset too large for a
9027 HOST_WIDE_INT as out of range.
9028
9029 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
9030
9031 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9032 (EDGE_CRITICAL_P): New predicate.
9033 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9034 handling.
9035 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9036 (dump_edge_info): Remove "crit".
9037 * cfganal.c (mark_critical_edges): Kill.
9038 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9039 * cfgcleanup.c (cleanup_cfg): Likewise.
9040 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9041 (find_spanning_tree): Likewise.
9042 * reg-stack.c (convert_regs_1): Likewise.
9043 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9044
9045 * basic-block.h (create_basic_block_structure): New.
9046 (create_basic_block): Update prototype.
9047 (force_nonfallthru): New.
9048 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9049 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9050 handle updating of block_for_insn, creating of empty BBs and BBs at
9051 the end of INSN chain.
9052 (create_basic_block): New function.
9053 (split_block): Use create_basic_block.
9054 (force_nonfallthru_and_redirect): Break out from ...; cleanup
9055 (redirect_edge_and_branch_force): ... here.
9056 (force_nonfallthru): New.
9057 (split_edge): Rewrite to use force_nonfallthru and create_block.
9058 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9059 (find_basic_blocks): Free basic_block_for_insn.
9060 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9061
9062 * cfg.c: Fix formating.
9063 * cfgcleanup.c: Fix formating.
9064 (merge_blocks, tail_recursion_label_p): Return bool.
9065 (merge_blocks_move_predecessor_nojumps,
9066 merge_blocks_move_successor_nojumps): Return void.
9067
9068 2001-09-11 Jakub Jelinek <jakub@redhat.com>
9069
9070 * configure.in: Check whether assembler supports section merging.
9071 * config.in: Rebuilt.
9072 * configure: Rebuilt.
9073 * varasm.c (variable_section, output_constant_pool): Pass alignment
9074 to SELECT_SECTION and SELECT_RTX_SECTION.
9075 (mergeable_string_section): New.
9076 (mergeable_constant_section): New.
9077 (default_elf_asm_named_section): Output SECTION_MERGE and
9078 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9079 * output.h (mergeable_string_section): New.
9080 (mergeable_constant_section): New.
9081 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9082 * toplev.c (flag_merge_constants): New.
9083 (f_options): Add -fmerge-constants and -fmerge-all-constants
9084 options.
9085 (toplev_main): Default to -fno-merge-constants if not optimizing.
9086 * flags.h (flag_merge_constants): Add extern.
9087 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9088 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9089 argument.
9090 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9091 Define if assembler has working .subsection -1 support.
9092 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9093 Put constant into special SHF_MERGE sections if the linker should
9094 attempt to merge duplicates.
9095 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9096 macro argument.
9097 Put constant into special SHF_MERGE sections if the linker should
9098 attempt to merge duplicates.
9099 * config/alpha/elf.h: Likewise.
9100 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9101 has working .subsection -1 support.
9102 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9103 SELECT_SECTION.
9104 * config/svr3.h: Likewise.
9105 * config/darwin.h: Likewise.
9106 * config/arm/aof.h: Likewise.
9107 * config/arm/linux-elf.h: Likewise.
9108 * config/avr/avr.h: Likewise.
9109 * config/c4x/c4x.h: Likewise.
9110 * config/d30v/d30v.h: Likewise.
9111 * config/i386/dgux.h: Likewise.
9112 * config/i386/osfrose.h: Likewise.
9113 * config/i386/sco5.h: Likewise.
9114 * config/i386/svr3gas.h: Likewise.
9115 * config/ia64/aix.h: Likewise.
9116 * config/m32r/m32r.h: Likewise.
9117 * config/m68k/m68k.h: Likewise.
9118 * config/m88k/dgux.h: Likewise.
9119 * config/m88k/m88k.h: Likewise.
9120 * config/mcore/mcore-pe.h: Likewise.
9121 * config/mips/mips.h: Likewise.
9122 * config/pa/pa.h: Likewise.
9123 * config/pa/pa-linux.h: Likewise.
9124 * config/romp/romp.h: Likewise.
9125 * config/rs6000/sysv4.h: Likewise.
9126 * config/rs6000/xcoff.h: Likewise.
9127 * config/s390/linux.h: Likewise.
9128 * config/sparc/sparc.h: Likewise.
9129 * config/sparc/sysv4.h: Likewise.
9130 * config/stormy16/stormy16.h: Likewise.
9131 * config/v850/v850.h: Likewise.
9132 * config/vax/vms.h: Likewise.
9133 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9134 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9135 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9136 default_elf_asm_named_section for SHF_MERGE sections.
9137
9138 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9139
9140 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9141 is OK.
9142
9143 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9144
9145 * c-common.c (split_specs_attrs): Allow for empty attributes with
9146 empty TREE_PURPOSE. Fixes PR c/4294.
9147
9148 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9149
9150 * basic-block.h (cached_make_edge, make_single_succ): New.
9151 (make_edge): Remove first parameter.
9152 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9153 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9154 created edge; use obstack allocation.
9155 (make_edge, make_single_succ_edge): New.
9156 (first_removed_edge): New static variable.
9157 (init_flow): Initialize first_removed_edge and n_edges.
9158 (clear_edges): Use remove_edge.
9159 (flow_delete_block): Likewise.
9160 (remove_edge): Add removed edges to the removed edges list.
9161 (split_block, redirect_edge_and_branch_force, split_edge):
9162 Use make_edge.
9163 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9164 (add_noreturn_fake_exit_edges): Likewise.
9165 (connect_infinite_loops_to_exit): Liekwise.
9166 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9167 Use cached_make_edge.
9168 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9169 * profile.c (branch_prob): Update make_edge call.
9170 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9171
9172 2001-09-11 Richard Henderson <rth@redhat.com>
9173
9174 * config/alpha/alpha.c: Tidy formatting.
9175 (local_symbolic_operand): Verify mode.
9176 (alpha_sa_mask): Ignore unicos for eh_return.
9177 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9178 * config/alpha/alpha.md (umk divsi patterns): Remove.
9179 (extendsfdf2): Remove unicos check.
9180 (tablejump): Merge vms and unicos code; always use direct set
9181 plus label_ref use.
9182
9183 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9184
9185 * config.gcc (alpha*-*-unicosmk*): New target.
9186
9187 * config/alpha/alpha-protos.h (symbolic_operand,
9188 unicosmk_add_call_info_word, unicosmk_add_extern,
9189 unicosmk_defer_case_vector, unicosmk_unique_section,
9190 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9191 unicosmk_asm_file_start, unicosmk_asm_file_end,
9192 unicosmk_output_common): Declare.
9193
9194 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9195 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9196 alpha_does_function_need_gp, alpha_end_function): Support Cray
9197 Unicos/Mk.
9198 (alpha_init_machine_status, alpha_mark_machine_status,
9199 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9200 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9201 unicosmk_asm_named_section, unicosmk_insert_attributes,
9202 unicosmk_section_type_flags, symbolic_operand,
9203 unicosmk_output_module_name, unicosmk_output_default_externs,
9204 unicosmk_output_dex, unicosmk_output_externs,
9205 unicosmk_output_addr_vec, unicosmk_ssib_name,
9206 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9207 unicosmk_asm_file_end, unicosmk_output_common,
9208 unicosmk_section_type_flags, unicosmk_unique_section,
9209 unicosmk_add_call_info_word, unicosmk_text_section,
9210 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9211 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9212 unicosmk_dex_count, unicosmk_special_name): New.
9213 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9214 TARGET_ABI_UNICOSMK.
9215 (get_aligned_mem, alpha_expand_unaligned_load,
9216 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9217 alpha_expand_unaligned_store_words): Support big-endian mode.
9218 (print_operand): Likewise. New format specifier 't'. Use
9219 TARGET_AS_SLASH_BEFORE_SUFFIX.
9220 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9221 (alpha_pv_save_size): Update with above change.
9222 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9223 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9224 Unicos/Mk.
9225
9226 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9227 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9228 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9229 (EXTRA_CONSTRAINT): New constraint 'U'.
9230 (PREDICATE_CODES): Add symbolic_operand.
9231
9232 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9233 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9234 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9235 (integer division and modulus patterns): Split in default and
9236 Unicos/Mk versions.
9237 (*divmodsi_internal, *divmoddi_internal): Disable for
9238 TARGET_ABI_UNICOSMK.
9239 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9240 little-endian and big-endian versions.
9241 (ext, ins, msk): Likewise.
9242 (extv, extzv, insv): Support big-endian mode.
9243 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9244 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9245 *tablejump_umk_internal, *call_value_umk): New.
9246 (*movdi_nofix): Add pattern for loading an address into a register on
9247 TARGET_ABI_UNICOSMK.
9248 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9249 (umk_mismatch_args, arg_home_umk): New.
9250 (various insns): Don't use mov, fmov, nop, fnop and unop.
9251 (realign): Support TARGET_ABI_UNICOSMK.
9252
9253 * config/alpha/unicosmk.h: New file.
9254 * config/alpha/t-unicosmk: New file.
9255
9256 * fixinc/inclhack.def (unicosmk_restrict): New.
9257 * fixinc/fixincl.x: Regenerate.
9258
9259 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9260 (wchar_t): Check for and define __WCHAR_T__.
9261
9262 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
9263
9264 * combine.c (simplify_shift_const): Treat shifts by the mode
9265 size as undefined.
9266
9267 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9268
9269 * cpphash.h (struct tokenrun): New.
9270 (struct cpp_context): New member bol.
9271 (struct cpp_reader): New members.
9272 (_cpp_init_tokenrun): New.
9273 * cppinit.c (cpp_create_reader): Set up the token runs.
9274 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9275 (lex_token): New internalised version of _cpp_lex_token. Don't
9276 handle directives or the multiple include optimization here any
9277 more. Simply lex a token.
9278 * cpplib.c (run_directive): Clear bol.
9279 (_cpp_pop_buffer): Set bol.
9280 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9281 arguments.
9282
9283 2001-09-11 Michael Meissner <meissner@redhat.com>
9284
9285 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9286 give an error if the user uses -mfp32.
9287 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9288 default options.
9289 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9290 floating point register size.
9291 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9292
9293 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9294 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9295 int_size_in_bytes.
9296 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9297 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9298
9299 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
9300
9301 * dbxout.c (dbxout_parms): Fix typo in comment.
9302 * unroll.c (loop_find_equiv_value): Ditto.
9303 * toplev.c (rest_of_compilation): Ditto.
9304 * loop.c (scan_loop): Ditto.
9305 * dwarf2out.c (struct dw_fde_struct): Ditto.
9306
9307 2001-09-10 Zack Weinberg <zackw@panix.com>
9308
9309 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
9310 copying identifier when we're just going to throw it away.
9311 (parse_identifier_slow): New routine to handle abnormal cases.
9312 (_cpp_lex_token): Update call site.
9313
9314 * hashtable.c (ht_lookup): Don't assume that the string we've
9315 been given is NUL-terminated.
9316 * system.h: #define __builtin_expect(a, b) to (a) if not
9317 GCC >=3.0.
9318
9319 2001-09-10 Michael Meissner <meissner@redhat.com>
9320
9321 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9322 binutils, gdb.
9323
9324 2001-09-10 David Edelsohn <edelsohn@gnu.org>
9325
9326 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9327
9328 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9329
9330 * builtins.c (c_getstr): Correct thinko in last change and further
9331 cleanup.
9332
9333 2001-09-10 Tim Freeman <tim@fungibole.com>
9334
9335 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9336 into varray's and register them as roots with the garbage
9337 collector so they are not collected too soon.
9338
9339 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
9340
9341 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9342 New.
9343 * basic-block.h (flow_obstack, label_value_list,
9344 tail_recursion_label_list): Declare
9345 (tidy_fallthru_edges): Declare.
9346 (expunge_block, last_loop_beg_note): Delete.
9347 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9348 * cfg.c: New file
9349 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9350 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9351 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9352 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9353 expunge_block, flow_delete_block, compute_bb_for_insn,
9354 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9355 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9356 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9357 try_redirect_by_replacing_jump, last_loop_beg_note,
9358 redirect_edge_and_branch, redirect_edge_and_branch_force,
9359 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9360 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9361 commit_edge_insertions, dump_flow_info, debug_flow_info,
9362 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9363 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9364 Move here from flow.c
9365 * cfganal.c: New file.
9366 (forwarder_block_p, can_fallthru, mark_critical_edges,
9367 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9368 find_unreachable_blocks, create_edge_list, free_edge_list,
9369 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9370 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9371 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9372 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9373 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9374 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9375 Move here from flow.c
9376 * cfgbuild.c: New file
9377 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9378 make_edges, find_basic_blocks_1, find_basic_blocks,
9379 find_sub_basic_blocks): Move here from flow.c
9380 * cfgcleanup.c: New file.
9381 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9382 merge_blocks_move_predecessor_nojumps,
9383 merge_blocks_move_successor_nojumps, merge_blocks,
9384 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9385 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9386 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9387 if succeeded.
9388 * cfgloop.c: New file
9389 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9390 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9391 flow_loop_exit_edges_find, flow_loop_nodes_find,
9392 flow_loop_pre_header_scan, flow_loop_pre_header_find,
9393 flow_loop_tree_node_add, flow_loops_tree_build,
9394 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9395 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9396 Move here from flow.c
9397 * flow.c: Remove everything moved elsewhere
9398 * output.h (cleanup_cfg): Return bool.
9399
9400 * bb-reorder.c (reorder_block_def): Remove 'index'.
9401 (insert_intra_1): Add argument BB, set block for new note.
9402 (make_reorder_chain): Do not depdent on BB indexes.
9403 (make_reorder_chain_1): Do not use BB indexes.
9404 (label_for_bb): Likewise; set BB for new insn.
9405 (emit_jump_to_block_after): Likewise.
9406 (fixup_reorder_chain): Sanity check that all basic blocks
9407 are chained; verify newly created insn chain; remove
9408 undocnitional jump simplifying; Do not use BB indexes;
9409 properly initialize count and frequency information;
9410 dump reordered sequence.
9411 (insert_intra_bb_scope_notes): update call of insert_intra_1.
9412 (insert_inter_bb_scope_notes): Set block for new insn.
9413 (reorder_basic_blocks): Dump flow info before reoredering.
9414
9415 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9416
9417 * alias.c (clear_reg_alias_info): Use K&R format definition.
9418 Avoid unsigned warning.
9419 * builtins.c: Use "unsigned int", not "unsigned".
9420 (target_char_cast): Use host_integerp and tree_low_cst.
9421 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9422 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9423 (c_getstr): Likewise.
9424 (std_expand_builtin_va_arg): Use int_size_in_bytes.
9425 (builtin_memcpy_read_str): Avoid unsigned warning.
9426 (expand_builtin_memcpy): Alignments are unsigned.
9427 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9428 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9429 * predict.c (expensive_function_p): LIMIT now unsigned.
9430 * resource.c (mark_target_live_regs): Make some vars unsigned.
9431 * sdbout.c: Use "unsigned int", not "unsigned".
9432 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9433 (sdbout_source_line): Likewise.
9434 (sdbout_record_type_name): Remove "const" for NAME declaration.
9435 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9436
9437 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
9438
9439 * calls.c (store_one_arg): Expand comment.
9440
9441 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9442
9443 * calls.c (store_one_arg): Make sure that the entire argument is
9444 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9445
9446 2001-09-09 Richard Henderson <rth@redhat.com>
9447
9448 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9449
9450 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
9451
9452 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9453
9454 2001-09-09 Richard Henderson <rth@redhat.com>
9455
9456 * config/alpha/alpha.c (alpha_next_sequence_number): New.
9457 (alpha_this_literal_sequence_number): New.
9458 (alpha_this_gpdisp_sequence_number): New.
9459 (some_operand, input_operand): Add HIGH.
9460 (local_symbolic_operand): New.
9461 (alpha_encode_section_info): New.
9462 (alpha_legitimate_address_p): Allow LO_SUM.
9463 (alpha_legitimize_address): Generate HIGH+LO_SUM.
9464 (alpha_expand_mov): Likewise.
9465 (secondary_reload_class): Check memory_operand not general_operand
9466 for FP_REGS test.
9467 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9468 (alpha_expand_unaligned_store): Likewise.
9469 (alpha_expand_unaligned_load_words): Likewise.
9470 (alpha_expand_unaligned_store_words): Likewise.
9471 (alpha_expand_block_clear): Likewise.
9472 (print_operand): Handle %#, %*, %H.
9473 (print_operand_address): Handle LO_SUM.
9474 (find_lo_sum): New.
9475 (alpha_does_function_need_gp): Use it.
9476 (alpha_expand_block_move): Fix signed compare warnings.
9477 (alpha_sa_mask, alpha_align_insns): Likewise.
9478 * config/alpha/alpha-protos.h: Update.
9479 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9480 (MASK_EXPLICIT_RELOCS): New.
9481 (TARGET_SWITCHES): Add -mexplicit-relocs.
9482 (EXTRA_CONSTRAINT): Add 'T'.
9483 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9484 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9485 (ENCODE_SECTION_INFO): Out line.
9486 (REDO_SECTION_INFO_P): New.
9487 (STRIP_NAME_ENCODING): New.
9488 (ASM_OUTPUT_LABELREF): New.
9489 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9490 (PREDICATE_CODES): Update.
9491 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9492 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9493 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9494 builtin_setjmp_receiver_er, exception_receiver_1_er,
9495 call_value_osf_1_er): New patterns.
9496 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9497 (movqi, movhi, movsi): Add explicit $31 base register to lda.
9498 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9499 (FINAL_PRESCAN_INSN): New.
9500
9501 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
9502
9503 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9504
9505 2001-09-08 Andreas Jaeger <aj@suse.de>
9506
9507 * i386.h (TARGET_SWITCHES): Fix description.
9508
9509 2001-09-07 David Edelsohn <edelsohn@gnu.org>
9510
9511 * rs6000.c (num_insns_constant): Compute number of instructions
9512 more accurately.
9513
9514 * doc/install.texi: Explain AIX exception handling work-around.
9515 Update URL for AIX fixes.
9516
9517 2001-09-07 Jim Wilson <wilson@redhat.com>
9518
9519 * alias.c (clear_reg_alias_info): New.
9520 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9521 * rtl.h (clear_reg_alias_info): Declare.
9522
9523 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9524
9525 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9526 available.
9527 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9528 (m16m,edivm,emulm): Change declaration to match definition.
9529
9530 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9531
9532 * reload.c (push_reload): Check for subreg_lowpart_p instead of
9533 SUBREG_BYTE being 0 when determining if the inner part of a subreg
9534 can be reloaded.
9535
9536 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9537
9538 * c-common.c (signed_or_unsigned_type): Handle machine mode types
9539 which have no corresponding C type.
9540 * fold_const.c (target_isinf,target_isnan,target_negative): Update
9541 the representation of 64-bit doubles to work with 64-bit ints.
9542
9543 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
9544
9545 * config/mips/mips.c (override_options): Do not override ISA when ABI
9546 specified if MIPS_CPU_STRING_DEFAULT was specified.
9547
9548 2001-09-07 Richard Henderson <rth@redhat.com>
9549
9550 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9551 (express_from_1): Wrap lines.
9552 * rtlanal.c (commutative_operand_precedence): Rename from
9553 operand_preference; export.
9554 * rtl.h: Declare it.
9555 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9556 (simplify_binary_operation): Invoke simplify_plus_minus on
9557 (CONST (PLUS ...)) as well.
9558 (struct simplify_plus_minus_op_data): New.
9559 (simplify_plus_minus_op_data_cmp): New.
9560 (simplify_plus_minus): Use them. Avoid infinite recursion with
9561 simplify_binary_operation wrt CONST.
9562
9563 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
9564
9565 * h8300-protos.h (general_operand_dst_push): Remove.
9566 * h8300.c (general_operand_dst_push): Likewise.
9567 * h8300.h (OK_FOR_T): Likewise.
9568 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9569 * h8300.md (pushqi_h8300): New.
9570 (pushqi_h8300hs): Likewise.
9571 (pushqi): Likewise.
9572 (pushhi_h8300): Likewise.
9573 (pushhi_h8300hs): Likewise.
9574 (pushhi): Likewise.
9575
9576 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9577
9578 * genattrtab.c (attr_printf): First arg is unsigned.
9579 Clean up formatting of callers.
9580
9581 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
9582
9583 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9584 registers.
9585
9586 2001-09-07 Andreas Jaeger <aj@suse.de>
9587
9588 * i386.h (TARGET_SWITCHES): Fix descriptions.
9589
9590 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9591
9592 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9593
9594 2001-09-06 Ira Ruben <ira@apple.com>
9595
9596 Remove OP_IDENTIFIER.
9597 * tree.def (OP_IDENTIFIER): Remove.
9598 * tree.c (tree_node_kind enum): Remove op_id_kind.
9599 (tree_node_kind_names): Remove "op_identifiers".
9600 (make_node): Remove OP_IDENTIFIER test.
9601 (build_op_identifier): Removed because it isn't being used.
9602 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9603 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9604
9605 2001-09-06 Richard Henderson <rth@redhat.com>
9606
9607 * simplify-rtx.c (simplify_binary_operation): Revert last change.
9608
9609 2001-09-06 Richard Henderson <rth@redhat.com>
9610
9611 * simplify-rtx.c (simplify_binary_operation): Simplify contents
9612 of CONST.
9613
9614 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9615
9616 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9617 number used for CR register.
9618
9619 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9620 Joern Rennecke (amylaar@cygnus.com)
9621
9622 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9623 * h8300.c (initial_offset): Handle offset between RP and FP.
9624 (h8300_return_addr_rtx): New function.
9625 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9626 return register.
9627 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9628 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9629 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9630 (CAN_ELIMINATE, REGISTER_NAMES):
9631 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9632
9633 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
9634
9635 Remove TYPE_NONCOPIED_PARTS.
9636 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9637 (struct tree_type): Remove noncopied_parts.
9638 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9639 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9640 (fixed_type_p): Remove.
9641 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9642 (expand_expr, MODIFY_EXPR): Likewise.
9643 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9644 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9645
9646 2001-09-06 Alan Modra <amodra@bigpond.net.au>
9647
9648 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9649 compiler warnings.
9650 (mask64_operand): Likewise.
9651 (includes_rldic_lshift_p): Likewise.
9652 (includes_rldicr_lshift_p): Likewise.
9653
9654 2001-09-05 Ziemowit Laski <zlaski@apple.com>
9655
9656 * objc/objc-act.c (build_message_expr): If a class method cannot
9657 be found, do not issue a warning if a corresponding instance
9658 method exists in the root class.
9659
9660 2001-09-05 Richard Henderson <rth@redhat.com>
9661
9662 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9663
9664 2001-09-05 Zack Weinberg <zack@codesourcery.com>
9665
9666 * function.c (ggc_mark_struct_function): Mark f->outer.
9667 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9668 * integrate.c (output_inline_function): ... not here.
9669
9670 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9671
9672 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9673
9674 * i386.c (size_cost): New static variable.
9675 (override_function): Use size_cost when -Os is specified.
9676
9677 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9678 properly; Use current_function_calls_eh_return.
9679 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9680 use leave to avoid dependency chain.
9681
9682 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9683 get BB loop_depth instead of computing it from LOOP notes.
9684
9685 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9686
9687 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
9688
9689 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9690 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9691 UNALIGNED_DOUBLE_INT_ASM_OP): Define
9692
9693 2001-09-05 Jeffrey A Law (law@cygnus.com)
9694 Jason Merrill (jason@redhat.com)
9695
9696 * stor-layout.c (layout_type): Complain if an array's size can
9697 not be represented in a size_t.
9698
9699 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9700
9701 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
9702
9703 * gcc.c: (process_command) Add parentheses around assignment
9704 used as truth value.
9705
9706 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9707
9708 * config/mips/mips.c (save_restore_insns): Don't mark any register
9709 save slots as unchanging if current_function_calls_eh_return.
9710
9711 2001-09-05 Richard Henderson <rth@redhat.com>
9712
9713 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9714 * config/alpha/alpha-protos.h: Declare it.
9715 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9716 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9717 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9718 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9719 (REG_OK_FOR_BASE_P): Select one of the above.
9720
9721 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9722
9723 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9724 (crti.o): Prefix name of object file with $(T).
9725 (crtn.o): Likewise.
9726
9727 2001-09-05 David S. Miller <davem@redhat.com>
9728
9729 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9730 * config/sparc/linux64.h: Likewise.
9731
9732 2001-09-05 Andreas Jaeger <aj@suse.de>
9733
9734 * doc/invoke.texi (i386 Options): -mwide-multiply is not
9735 available anymore, remove the documentation.
9736 (i386 Options): Fix typo, cleanup index entries.
9737
9738 * prefix.c (concat): Remove, we can use the version from liberty.
9739
9740 2001-09-05 Richard Henderson <rth@redhat.com>
9741
9742 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9743 New functions split out of md file expanders.
9744 * config/alpha/alpha-protos.h: Declare them.
9745 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9746
9747 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
9748
9749 * cppmacro.c (funlike_invocation_p): No need to restore context.
9750
9751 2001-09-04 Richard Henderson <rth@redhat.com>
9752
9753 * reload.c (push_reload): Export.
9754 * reload.h (push_reload): Declare it.
9755
9756 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9757 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9758 * config/alpha/alpha.c (alpha_legitimize_address): New.
9759 (alpha_legitimize_reload_address): Likewise.
9760 * config/alpha/alpha-protos.h: Declare them.
9761
9762 2001-09-04 Stan Shebs <shebs@apple.com>
9763
9764 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9765 * config/darwin.c (machopic_stub_name): Account for internally
9766 generated lib calls such as memcpy.
9767
9768 2001-09-04 Richard Henderson <rth@redhat.com>
9769
9770 * unwind.h (_UA_END_OF_STACK): New flag.
9771 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9772
9773 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9774
9775 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9776
9777 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
9778
9779 * config/mips/mips.c (save_restore_insns): Change base_offset to
9780 fp_offset in second call to mips_emit_frame_related_store.
9781
9782 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
9783
9784 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9785 sometimes be represented as a NOTE of type
9786 NOTE_INSN_DELETED_LABEL.
9787 (Insns): Document NOTE_INSN_DELETED_LABEL.
9788
9789 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
9790
9791 * c-common.h (tree_dump_index): Add more comments.
9792 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9793 (dump_option_value_info): New struct.
9794 (dump_options): New array.
9795 (dump_switch_p): Parse switch options symbolically.
9796 * doc/invoke.texi (-fdump-ast): Rename to ...
9797 (-fdump-tree): ... here. Document that options are symbolic, and
9798 not all are applicable.
9799
9800 2001-09-04 David S. Miller <davem@redhat.com>
9801
9802 * config/sparc/sparc.md (define_splits): Kill constraints.
9803
9804 Cleanup redundant and unused insn attributes.
9805 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
9806 binary, and move. Mark ialu as default.
9807 (commented out define_function_unit "alu"): Kill.
9808 (define_attr "use_clobbered"): Kill.
9809 (whole file): Kill address insn type references. Replace
9810 all unary/binary/move references with ialu.
9811 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
9812 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
9813 TYPE_IALU.
9814
9815 Simplify length insn attribute and make more judicious use
9816 of insn attribute defaulting.
9817 * config/sparc/sparc.md (all insns with length > one): Mark as
9818 insn type multi if real instructions, else use default if
9819 it is a forced splitter.
9820 (all insns with length == one): Use default insn length.
9821 (all insns of type ialu): Use default insn type.
9822
9823 Fix erroneous insn attribute settings.
9824 (addx): Set insn type to misc.
9825 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
9826 const_umulsidi3_sp64): Set insn type to imul.
9827
9828 Track SFmode vs DFmode insns according to UltraSPARC
9829 scheduling rules.
9830 * config/sparc/sparc.md ("fptype"): New attribute, default
9831 to "single".
9832 (all DFmode single insns): Mark as fptype "double".
9833
9834 2001-09-03 Jakub Jelinek <jakub@redhat.com>
9835
9836 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
9837
9838 2001-09-03 Richard Henderson <rth@redhat.com>
9839
9840 * function.h (struct function): Add arg_pointer_save_area_init.
9841 * function.c (expand_function_end): Init arg_pointer_save_area.
9842 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
9843 when called from a nested function.
9844
9845 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
9846
9847 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
9848 is enabled.
9849
9850 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9851
9852 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
9853
9854 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
9855
9856 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
9857 (emit_push_insn): Use specified padding direction when
9858 STACK_PUSH_CODE is POST_INC.
9859
9860 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
9861
9862 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9863
9864 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
9865
9866 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
9867
9868 * cppinit.c (cpp_start_read): Free the imacros list as we
9869 traverse it. Don't free the chains before returning.
9870 (_cpp_push_next_buffer): Only try pushing buffers if we've
9871 completed -imacros handling.
9872
9873 2001-08-31 Eric Christopher <echristo@redhat.com>
9874
9875 * gcc.c (handle_braces): Add explaination for abort.
9876
9877 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
9878
9879 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
9880 move adjustment of bitpos instead.
9881
9882 2001-08-31 Zack Weinberg <zack@codesourcery.com>
9883
9884 * function.c: Remove all_functions. Make outer_function_chain
9885 static.
9886 (init_function_start): Don't add new function structure to
9887 all_functions.
9888 (find_function_data, push_function_context_to,
9889 pop_function_context_from, put_var_into_stack,
9890 trampoline_address): Update for changed structure element names.
9891 (push_function_context_to): Disentangle.
9892 (free_after_compilation): Also free F.
9893 (expand_dummy_function_end): Don't free cfun here.
9894 (put_var_into_stack): Comment why we can't use find_function_data here.
9895 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
9896 (mark_function_chain): Split into maybe_mark_struct_function and
9897 ggc_mark_struct_function. Export the latter.
9898 (init_function_once): Mark from cfun and outer_function_chain;
9899 not all_functions.
9900
9901 * function.h (struct function): Kill next_global. Rename next
9902 to outer. All users updated to match.
9903 (all_functions, outer_function_chain): Don't declare.
9904
9905 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
9906 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
9907 don't touch f->inlinable, after calling rest_of_compilation.
9908
9909 * tree.h: Forward-declare struct function. Prototype
9910 ggc_mark_struct_function.
9911
9912 2001-08-31 Kazu Hirata <kazu@hxi.com>
9913
9914 * config/h8300/h8300.md (*andorhi3): Fix typos.
9915
9916 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9917
9918 * calls.c (emit_library_call_value): Don't use a fixed
9919 argument after VA_CLOSE, i.e. out of scope in traditional C.
9920
9921 * emit-rtl.c (gen_rtvec): Likewise.
9922
9923 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9924
9925 * Makefile.in (c-pragma.o): Depend on output.h.
9926 (reorg.o): Depend on except.h.
9927
9928 * c-pragma.c: Include output.h.
9929
9930 * reorg.c: Include except.h.
9931
9932 * unwind-dw2.c: Call __builtin_alloca, not alloca.
9933
9934 2001-08-31 Richard Henderson <rth@redhat.com>
9935
9936 * sched-deps.c (add_dependence): Don't elide dependency if the
9937 conditional used by insn is modified in elem.
9938
9939 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
9940
9941 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
9942
9943 2001-08-31 Diego Novillo <dnovillo@redhat.com>
9944
9945 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
9946 dump_switch_p.
9947
9948 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9949
9950 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
9951 function.
9952 (stormy16_asm_out_constructor): New function.
9953 (TARGET_ASM_CONSTRUCTOR): Define.
9954 (TARGET_ASM_DESTRUCTOR): Define.
9955
9956 2001-08-31 Andreas Jaeger <aj@suse.de>
9957
9958 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
9959 * loop.c (add_label_notes): Likewise.
9960 * reload.c (find_reloads): Likewise.
9961 * config/sh/sh.c (machine_dependent_reorg): Likewise.
9962
9963 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
9964
9965 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
9966 code here. Take _Unwind_{W,Sw}ord*.
9967 (read_encoded_value_with_base): Use them.
9968 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
9969 words.
9970 (extract_cie_info): Simplify read_?leb128 handling.
9971 (execute_stack_op, execute_cfa_program): Likewise.
9972 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
9973
9974 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9975
9976 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
9977 the frame pointer to pop the stack if convenient.
9978
9979 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
9980 Don't use post-increment before combine.
9981 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
9982 a call-saved register.
9983
9984 2001-08-31 Andreas Jaeger <aj@suse.de>
9985
9986 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
9987 code was correct.
9988
9989 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
9990
9991 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
9992 not DIV/MOD, of course.
9993
9994 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
9995
9996 * rtl.def: Undo my patch commited 2001-08-27.
9997
9998 * genattrtab.c: Ditto.
9999
10000 * rtl.h: Ditto.
10001
10002 * sched-int.h: Ditto.
10003
10004 * target-def.h: Ditto.
10005
10006 * target.h: Ditto.
10007
10008 * haifa-sched.c: Ditto.
10009
10010 * sched-rgn.c: Ditto.
10011
10012 * sched-vis.c: Ditto.
10013
10014 * Makefile.in: Ditto.
10015
10016 * doc/md.texi: Ditto.
10017
10018 * doc/tm.texi: Ditto.
10019
10020 * doc/contrib.texi: Ditto.
10021
10022 * doc/gcc.texi: Ditto.
10023
10024 * genattrtab.h: Remove it.
10025
10026 * genautomata.c: Remove it.
10027
10028 * genattr.c: Undo my patch and Richard Henderson's patch commited
10029 2001-08-27.
10030
10031 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
10032
10033 * config.gcc (h8300-*-elf*): New case.
10034 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10035 (SUBTARGET_CPP_SPEC): Define.
10036 (EXTRA_SPECS): Define.
10037 (SUBTARGET_EXTRA_SPECS): Define.
10038 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10039 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10040
10041 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
10042
10043 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10044 (LIB2FUNCS_EXTRA): Define.
10045 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10046 config/h8300/fixunssfsi.c: New file.
10047
10048 2001-08-30 Kazu Hirata <kazu@hxi.com>
10049
10050 * config/h8300/h8300.md (zero_extendqihi2): Changes to
10051 define_expand to accommodate target-specific attributes.
10052 (anonymous zero_extendqihi2 patterns): New.
10053
10054 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
10055
10056 * h8300.md (*andorhi3): New pattern.
10057
10058 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
10059
10060 * h8300.c (dosize): Fix test for "sub".
10061
10062 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
10063
10064 * c-typeck.c (pointer_diff): Try to eliminate common term before
10065 doing conversions.
10066
10067 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
10068
10069 * config/arm/arm.c (arm_compute_initial_elimination_offset):
10070 Account for the saves of the FP registers.
10071
10072 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10073 (TEXT_SECTION_ASM_OP): Define.
10074 (INIT_SECTION_ASM_OP): Define.
10075 (FINI_SECTION_ASM_OP): Define.
10076 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10077 (RDATA_SECTION_FUNCITON): Provide prototype.
10078
10079 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
10080
10081 * reload1.c (move2add_note_store): Correct typo checking for
10082 argument pushes.
10083
10084 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
10085
10086 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10087 note should not be considered outside the libcall block.
10088
10089 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10090
10091 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10092
10093 2001-08-29 Kazu Hirata <kazu@hxi.com>
10094
10095 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10096
10097 2001-08-29 Kazu Hirata <kazu@hxi.com>
10098
10099 * config/h8300/h8300-protos.h: Add a prototype for
10100 emit_logical_op.
10101 * config/h8300/h8300.c (emit_logical_op): New.
10102 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10103 (andsi3): Likewise.
10104 (iorhi3): Likewise.
10105 (iorsi3): Likewise.
10106 (xorhi3): Likewise.
10107 (xorsi3): Likewise.
10108
10109 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10110
10111 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10112 comparison with rtx INTVAL.
10113 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10114 expression.
10115 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10116
10117 2001-08-29 Kazu Hirata <kazu@hxi.com>
10118
10119 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10120 comment typos.
10121
10122 2001-08-29 Kazu Hirata <kazu@hxi.com>
10123
10124 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10125 (reg n) to (mem (pre_dec (reg n))
10126 (anonymous movsi pattern): Likewise.
10127
10128 2001-08-29 Kazu Hirata <kazu@hxi.com>
10129
10130 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10131
10132 2001-08-29 Kazu Hirata <kazu@hxi.com>
10133
10134 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10135 several special constants.
10136
10137 2001-08-29 Kazu Hirata <kazu@hxi.com>
10138
10139 * config/h8300/lib1funcs.asm: Fix comment typos.
10140
10141 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10142
10143 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10144 Fix format specifier warnings.
10145
10146 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10147 inet_makeaddr, semctl): Prototype.
10148
10149 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10150 (save_restore_insns): Use base_offset, not gp_offset.
10151
10152 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10153 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10154
10155 2001-08-29 Richard Henderson <rth@redhat.com>
10156
10157 * bb-reorder.c (function_tail_eff_head): New.
10158 (record_effective_endpoints): Set it.
10159 (fixup_reorder_chain): Use it.
10160
10161 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10162
10163 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10164
10165 2001-08-28 Dale Johannesen <dalej@apple.com>
10166
10167 * config/darwin.c (machopic_function_base_name): Add const
10168 qualifier to a string.
10169 (darwin_encode_section_info): Ditto.
10170
10171 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10172
10173 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10174 function definition.
10175
10176 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10177
10178 * df.h (struct df): Add rts_order variable.
10179
10180 * df.c (df_visit_next_rts): New function.
10181 (df_visit_next): Renamed to df_visit_next_rc
10182 (df_analyse_1): Allocate/compute/free rts_order as well.
10183 (df_rd_global_compute): Use df_visit_next_rc instead of
10184 df_visit_next.
10185 (df_ru_global_compute): Use df_visit_next_rts instead of
10186 df_visit_next.
10187
10188 * flow.c (flow_reverse_top_sort_order_compute): New function.
10189
10190 * basic-block.h: Add prototype.
10191
10192 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10193
10194 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10195 blocks, the BB_REACHABLE is now set, rather than aux being
10196 non-NULL. Update the test to reflect this.
10197
10198 2001-08-28 Eric Christopher <echristo@redhat.com>
10199
10200 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10201 config/mips/crti.asm: Ditto.
10202
10203 2001-08-28 Eric Christopher <echristo@redhat.com>
10204 Richard Henderson <rth@redhat.com>
10205
10206 * c-pragma.h (add_weak): Move prototype from here...
10207 * output.h (add_weak): ... to here.
10208 * varasm.c (add_weak): Fix typo.
10209 * config/mips/crti.asm: New file.
10210 * config/mips/crtn.asm: Ditto.
10211 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10212 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10213 (INVOKE__main): Ditto.
10214 (INIT_SECTION_ASM_OP): New.
10215 (FINI_SECTION_ASM_OP): Ditto.
10216 (STARTFILE_SPEC): Add crti.
10217 (ENDFILE_SPEC): Add crtn.
10218 * config/mips/elf64.h: Same.
10219 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10220 Remove.
10221 * config/mips/vxworks.h: Ditto.
10222 * config/mips/t-elf: Support crti and crtn.
10223
10224 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10225
10226 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10227 INSN_LIST.
10228
10229 2001-08-28 Richard Henderson <rth@redhat.com>
10230
10231 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10232 (one_cmplbi2 splitter): Remove redundant test.
10233
10234 2001-08-28 Dale Johannesen <dalej@apple.com>
10235
10236 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10237
10238 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10239
10240 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10241
10242 2001-08-28 Stan Shebs <shebs@apple.com>
10243
10244 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10245 (UNALIGNED_SHORT_ASM_OP): Define.
10246 (UNALIGNED_INT_ASM_OP): Define.
10247
10248 2001-08-28 Will Cohen <wcohen@redhat.com>
10249
10250 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10251 generation for first set.
10252
10253 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10254
10255 * flow.c (redirect_edge_succ_nodup): Return new edge.
10256 (try_simplify_condjump): Use new edge.
10257 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10258
10259 * cse.c (cse_basic_block): Skip note instructions.
10260
10261 2001-08-27 Richard Henderson <rth@redhat.com>
10262
10263 * combine.c (combine_simplify_rtx): Don't reverse condition
10264 if there is no reverse for the condition.
10265 (simplify_comparison): Don't simplify subregs from INT to FP.
10266
10267 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10268 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10269 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10270 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10271 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10272 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10273
10274 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10275
10276 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10277 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10278 (pushqi1): New.
10279 (adddi_dilshr32, adddi_dishl32): Only data register can be
10280 source for mem destination.
10281
10282 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10283 and use bitnum to decide about register move.
10284
10285 2001-08-27 Richard Henderson <rth@redhat.com>
10286
10287 * genattr.c (main): Emit state_t even when not doing scheduling.
10288
10289 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10290 Richard Henderson <rth@redhat.com>
10291
10292 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10293 (reg_avail_info, current_bb): ... these.
10294 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10295 (compute_hash_table): Likewise.
10296
10297 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10298
10299 * flow.c (verify_flow_info): Use checksums to verify edges.
10300
10301 2001-08-27 Richard Henderson <rth@redhat.com>
10302
10303 * genautomata.c (expand_automata): Always create a description.
10304
10305 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10306
10307 * optabs.c (expand_binop): Correctly handle the carry in multiword
10308 add/subtract operations.
10309
10310 2001-08-27 Fred Fish <fnf@be.com>
10311
10312 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10313 __SIZE_TYPE__.
10314
10315 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10316
10317 * reload.c (find_reloads_toplev): Back out this change:
10318
10319 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
10320
10321 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10322 mem if the address is a mode_dependent_address_p.
10323
10324 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10325
10326 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10327 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10328 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10329 RTL constructions.
10330
10331 * genattr.c (main): New variable num_insn_reservations. Increase
10332 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10333 pipeline hazard recognizer interface.
10334
10335 * genattrtab.h: New file.
10336
10337 * genattrtab.c: Include genattrtab.h.
10338 (attr_printf, check_attr_test, make_internal_attr,
10339 make_numeric_value): Move protypes into genattrtab.h. Define them
10340 as external.
10341 (num_dfa_decls): New global variable.
10342 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10343 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10344 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10345 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10346
10347 * genautomata.c: New file.
10348
10349 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10350
10351 * sched-int.h: (curr_state): Add the external definition for
10352 automaton pipeline interface.
10353 (haifa_insn_data): Add comments for members blockage and units.
10354
10355 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10356 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10357 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10358 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10359 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10360 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10361 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10362 macros.
10363 (TARGET_SCHED): Use the new macros.
10364
10365 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10366 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10367 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10368 dfa_bubble): New members in gcc_target.sched.
10369
10370 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10371 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10372 (insn_queue): Redefine it as pointer to array.
10373 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10374 INSN_QUEUE_SIZE.
10375 (max_insn_queue_index_macro_value): New variable.
10376 (curr_state, dfa_state_size, ready_try): New varaibles for
10377 automaton interface.
10378 (ready_element, ready_remove, max_issue): New function prototypes
10379 for automaton interface.
10380 (choose_ready): New function prototype.
10381 (insn_unit, blockage_range): Add comments.
10382 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10383 FUNCTION_UNITS_SIZE == 0.
10384 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10385 actual_hazard, potential_hazard): Add comments.
10386 (insn_cost): Use cost -1 as undefined value. Remove
10387 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10388 pipeline interface.
10389 (ready_element, ready_remove): New functions for automaton
10390 interface.
10391 (schedule_insn): Add new code for automaton pipeline interface.
10392 (queue_to_ready): Add new code for automaton pipeline interface.
10393 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10394 (debug_ready_list): Print newline when the queue is empty.
10395 (max_issue): New function for automaton pipeline interface.
10396 (choose_ready): New function.
10397 (schedule_block): Add new code for automaton pipeline interface.
10398 Print ready list before scheduling each insn.
10399 (sched_init): Add new code for automaton pipeline interface.
10400 Initiate insn cost by -1.
10401 (sched_finish): Free the current automaton state and finalize
10402 automaton pipeline interface.
10403
10404 * sched-rgn.c: Include target.h.
10405 (init_ready_list, new_ready, debug_dependencies): Add new code for
10406 automaton pipeline interface.
10407
10408 * sched-vis.c: Include target.h.
10409 (get_visual_tbl_length): Add code for automaton interface.
10410 (target_units, print_block_visualization): Add comments.
10411
10412 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10413 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10414 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10415 (getruntime.o, genautomata.o): New entries.
10416 (genattrtab.o): Add new dependency file genattrtab.h.
10417 (genattrtab): Add new dependencies. Link it with `libm.a'.
10418 (getruntime.o, hashtab.o): New entries for canadian cross.
10419
10420 * doc/md.texi: Description of automaton based model.
10421
10422 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10423 Add comments.
10424 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10425 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10426 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10427 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10428 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10429 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10430 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10431 hook descriptions.
10432 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10433 MAX_DFA_ISSUE_RATE): New macro descriptions.
10434
10435 * doc/contrib.texi: Add dfa based scheduler contribution.
10436
10437 * doc/gcc.texi: Add more information about genattrtab.
10438
10439 2001-08-27 Diego Novillo <dnovillo@redhat.com>
10440
10441 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10442 an RTL basic block.
10443
10444 2001-08-27 Richard Henderson <rth@redhat.com>
10445
10446 * function.c (expand_function_end): Don't init arg_pointer_save_area.
10447 (get_arg_pointer_save_area): New. Create an init it here.
10448 (fix_lexical_addr): Use it.
10449 * function.h: Declare it.
10450 * builtins.c (expand_builtin_setjmp_receiver): Use it.
10451 * stmt.c (expand_nl_goto_receiver): Use it.
10452
10453 2001-08-27 Richard Henderson <rth@redhat.com>
10454
10455 * final.c (final_scan_insn): Don't enter APP_ON mode for
10456 empty asm strings.
10457
10458 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10459 alignment for assemble_integer for DW_EH_PE_aligned.
10460 * except.c (output_function_exception_table): Likewise.
10461
10462 2001-08-26 Andreas Jaeger <aj@suse.de>
10463
10464 * c-tree.h: Add prototyp for c_sizeof_nowarn.
10465
10466 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
10467
10468 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10469
10470 2001-08-27 Alan Modra <amodra@bigpond.net.au>
10471
10472 * config/rs6000/rs6000.c (mask_operand): Rewrite without
10473 bit-shifting loop.
10474 (mask64_operand): Likewise.
10475 (rldic_operand): Delete.
10476 (includes_lshift64_p): Delete.
10477 (includes_rldic_lshift_p): New function.
10478 (includes_rldicr_lshift_p): New function.
10479 (print_operand): Don't call rldic_operand in case 'W'.
10480 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10481 (includes_lshift64_p): Remove.
10482 (includes_rldic_lshift_p): Declare.
10483 (includes_rldicr_lshift_p): Declare.
10484 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10485 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10486 Replace match_operand rldic_operand predicate with
10487 const_int_operand. Replace includes_lshift64_p condition with
10488 includes_rldic_lshift_p.
10489 <ashldi3_internal 64 bit rldicr patterns>: New.
10490
10491 2001-08-27 Andreas Jaeger <aj@suse.de>
10492
10493 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10494 * errors.c: Likewise.
10495 * final.c: Likewise.
10496 * dwarf2asm.c: Likewise.
10497 * doprint.c (checkit): Likewise.
10498 * diagnostic.c: Likewise.
10499 * collect2.c: Likewise.
10500 * calls.c: Likewise.
10501 * c-semantics.c (build_stmt): Likewise.
10502 * c-format.c (status_warning): Likewise.
10503 * c-errors.c (pedwarn_c99): Likewise.
10504 * builtins.c (validate_arglist): Likewise.
10505 * config/pj/pj.c (pj_printf): Likewise.
10506 * fix-header.c: Likewise.
10507 * gcc.c: Likewise.
10508 * gcov.c (fnotice): Likewise.
10509 * gensupport.c (message_with_line): Likewise.
10510 * mips-tfile.c: Likewise.
10511 * protoize.c (notice): Likewise.
10512 * read-rtl.c (fatal_with_file_and_line): Likewise.
10513 * rtl-error.c: Likewise.
10514 * tradcpp.c: Likewise.
10515 * tree.c: Likewise.
10516 * cp/tree.c (build_min_nt): Likewise.
10517 (build_min): Likewise.
10518 * cp/lex.c: Likewise.
10519 * cp/errfn.c: Likewise.
10520 * cp/rtti.c (create_pseudo_type_info): Likewise.
10521
10522 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
10523
10524 * df.c (df_uses_record): Return after recording all uses
10525 in ASM_OPERANDS.
10526
10527 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
10528
10529 * df.c (df_insn_modify): Realloc the INSN table here, if
10530 necessary, here, too.
10531
10532 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
10533
10534 * config/mips/mips.c (mips_function_value): Handle complex return
10535 values.
10536
10537 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
10538
10539 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10540 unshared.
10541 * reload.c (make_memloc): Copy result if it is still
10542 reg_equiv_memory_loc[regno] on return.
10543 (subst_reloads) [ENABLE_CHECKING]: Check that none of
10544 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10545 reg_equiv_mem are modified by the substitutions.
10546
10547 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10548
10549 * predict.c (expensive_function_p): New.
10550 * rtl.h (expensive_function_p): Declare.
10551 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10552 (use_fast_prologue_epilogue): New static variable.
10553 (expand_prologue): Set it; emit short prologues if unset.
10554 (expand_epilogue): Likewise.
10555
10556 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10557
10558 * config.gcc: Add stormy16-*-elf case.
10559 * config/stormy16/stormy-abi: New file.
10560 * config/stormy16/stormy16-lib2.c: New file.
10561 * config/stormy16/stormy16-protos.h: New file.
10562 * config/stormy16/stormy16.c: New file.
10563 * config/stormy16/stormy16.h: New file.
10564 * config/stormy16/stormy16.md: New file.
10565 * config/stormy16/t-stormy16: New file.
10566
10567 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
10568
10569 * i386.h (no-accumulate-outgoing-args): Use proper mask.
10570
10571 2001-08-24 David Edelsohn <edelsohn@gnu.org>
10572
10573 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10574 descriptor members are pointer size, not constant 4.
10575 * config/rs6000/rs6000.md (define_splits): Remove more unused
10576 constraints.
10577
10578 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10579
10580 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10581
10582 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
10583
10584 * cp/rtti.c (VPARAMS): Fix parameter.
10585
10586 2001-08-24 Zack Weinberg <zackw@panix.com>
10587
10588 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10589 to zero.
10590 (mode_for_extraction): No need for #ifdefs. Add default-case abort
10591 to switch.
10592 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
10593 in if controlling use of insv.
10594 (extract_bit_field): Likewise, for extv and extzv.
10595
10596 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
10597
10598 * i386.md (movcc peep2): Fix load of 0.
10599
10600 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10601
10602 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10603 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10604
10605 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
10606
10607 * c-pragma.h: Move weak_syms and weak_decls...
10608 * varasm.c: ...here. Now static.
10609 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10610 depend on HANDLE_PRAGMA_WEAK.
10611
10612 * c-common.c (c_alignof, c_alignof_expr): Move here...
10613 * c-typeck.c: ...from here.
10614 * c-tree.h, c-common.h: Adjust.
10615
10616 2001-08-23 Bernd Schmidt <bernds@redhat.com>
10617
10618 * config/ia64/ia64.c (rws_update): If !pred, set write_count
10619 instead of incrementing it.
10620
10621 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10622 asm ready, don't try to move them all into the same array element.
10623
10624 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10625
10626 * function.c (thread_prologue_and_epilogue_insns): Avoid
10627 fallthru flag on edge to exit.
10628
10629 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10630
10631 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10632 dead edges.
10633
10634 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10635
10636 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10637 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10638 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10639 Remove prototype.
10640
10641 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10642
10643 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10644 replace "GNU CC" with "GCC".
10645
10646 2001-08-23 Richard Henderson <rth@redhat.com>
10647
10648 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10649 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
10650 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10651 Need GR between FR and not GR_AND_FR.
10652 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10653 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10654 AR regs before GR regs.
10655 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10656 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10657 (REGISTER_MOVE_COST): Update.
10658 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10659
10660 2001-08-23 Richard Henderson <rth@redhat.com>
10661
10662 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10663 a register class.
10664
10665 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10666
10667 * reload1.c (emit_reload_insns): Don't look for notes
10668 on a NULL store_insn.
10669
10670 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10671
10672 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10673 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10674 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10675 format specifier warnings.
10676 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10677
10678 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
10679
10680 * config/i386/i386-protos.h: Correct declaration of
10681 i386_pe_asm_named_section.
10682
10683 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10684
10685 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10686 variable i.
10687 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10688
10689 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10690
10691 * cpperror.c (print_location): Don't show _Pragma.
10692 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10693 and file change callback generation here.
10694 (stack_include_file): Update use of cpp_push_buffer.
10695 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10696 (struct cpp_buffer): Remove type, pfile members.
10697 * cppinit.c (cpp_handle_option): Use free_chain.
10698 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10699 (skip_escaped_newlines, get_effective_char, lex_percent): Take
10700 a cpp_reader rather than a cpp_buffer.
10701 (skip_escaped_newlines, get_effective_char, skip_block_comment,
10702 skip_line_comment, parse_string, lex_percent, lex_dot,
10703 _cpp_lex_token): Update accordingly.
10704 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10705 generation here.
10706 (cpp_push_buffer): Update prototype.
10707 (run_directive): Update use of cpp_push_buffer.
10708 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10709 handle_assertion): Update use of run_directive.
10710 * cpplib.h (enum cpp_buffer_type): Remove.
10711 (cpp_push_buffer): Update prototype.
10712 * fix-header.c (read_scan_file): Update.
10713
10714 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10715
10716 * gcc.c (struct prefix_list): Change prefix to const char *.
10717
10718 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10719
10720 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10721
10722 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
10723
10724 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10725 from a new MEM.
10726
10727 * jump.c (squeeze_notes): Take parms by reference. Handle END being
10728 a squeezable note.
10729 * rtl.h: Adjust.
10730 * ifcvt.c (dead_or_predicable): Adjust.
10731 * loop.c (find_and_verify_loops): Adjust.
10732 * stmt.c (expand_end_case): Adjust.
10733 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
10734 head and end insn pointers in the basic block, not just local copies.
10735 (merge_blocks_move_predecessor_nojumps): Likewise.
10736
10737 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
10738
10739 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10740 bitmap.h, builtin-types.def, builtins.c, builtins.def,
10741 c-aux-info.c, c-common.c, c-common.def, c-common.h,
10742 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10743 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10744 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10745 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10746 conditions.h, config.gcc, configure.frag, configure.in,
10747 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10748 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10749 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10750 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10751 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10752 emit-rtl.c, errors.c, errors.h, except.c, except.h,
10753 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10754 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10755 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10756 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10757 gencheck.c, gencodes.c, genconfig.c, genemit.c,
10758 genextract.c, genflags.c, gengenrtl.c, genmultilib,
10759 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10760 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10761 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10762 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10763 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10764 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10765 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10766 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10767 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10768 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10769 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10770 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10771 params.h, predict.c, predict.def, predict.h, prefix.c,
10772 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10773 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10774 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10775 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10776 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10777 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10778 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10779 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10780 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10781 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10782 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10783 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10784 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10785 xcoffout.h: replace "GNU CC" with "GCC".
10786
10787 2001-08-21 Richard Henderson <rth@redhat.com>
10788
10789 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10790 (final_scan_insn): Consider jump tables data even if we have no
10791 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
10792 ADDR_VEC_ALIGN.
10793 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10794 (ASM_OUTPUT_CASE_END): Remove.
10795 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10796 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10797 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10798
10799 2001-08-21 Richard Henderson <rth@redhat.com>
10800
10801 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
10802 at barrier insns. Emit stop bits before barriers.
10803
10804 * flow.c (flow_find_cross_jump): Don't consider unconditional
10805 return insns for commoning.
10806
10807 * final.c (compute_alignments): Fix typo.
10808
10809 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
10810 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
10811 (store_bit_field): Use mode_for_extraction more places.
10812 (extract_bit_field): Likewise.
10813
10814 2001-08-21 Zack Weinberg <zackw@panix.com>
10815
10816 * caller-save.c: Don't include insn-codes.h.
10817 (reg_save_code, reg_restore_code): Make arrays of int.
10818 All uses updated to match.
10819 (insert_save, insert_restore): No need to initialize "code"
10820 variable upon declaration.
10821 * Makefile.in: update dependencies; fix typo in clean rule.
10822
10823 2001-08-21 Richard Henderson <rth@redhat.com>
10824
10825 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
10826 (merge_if_block): Handle fallout from same.
10827
10828 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10829
10830 * builtins.c (type_to_class): Fix typo in last change.
10831
10832 2001-08-21 Richard Henderson <rth@redhat.com>
10833
10834 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
10835 ia64_asm_output_label.
10836
10837 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
10838 copy of gp while the real gp register contains garbage.
10839
10840 2001-08-21 Zack Weinberg <zackw@panix.com>
10841
10842 * expmed.c (mode_for_extraction): New function.
10843 (store_bit_field, extract_bit_field): Use it.
10844 * expr.h: Prototype it and provide an enum for its first argument.
10845
10846 * combine.c, function.c, recog.c: Don't include insn-codes.h.
10847 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
10848 and digging through the insn_data tables.
10849 * Makefile.in: Update dependencies.
10850
10851 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10852
10853 * cppfiles.c (stack_include_file): line-map.c now handles include
10854 depth.
10855 (handle_missing_handler): Similarly.
10856 (_cpp_execute_include): Similarly.
10857 (_cpp_pop_file_buffer): Similarly.
10858 * cpphash.h (struct cpp_reader): Remove system_include_depth,
10859 buffer_stack_depth and include_depth.
10860 * cpplib.c (do_include_common): line-map.c now handles include depth.
10861 (cpp_push_buffer): Similarly.
10862 (_cpp_pop_buffer): Similarly.
10863 * cppmacro.c (builtin_macro): Update.
10864 * line-map.c (init_line_maps): Set depth.
10865 (add_line_map): Increment "used" earlier. Update and use the
10866 include depth.
10867 (trace_include): Use the include depth.
10868 * line-map.h (struct line_maps): New member depth.
10869
10870 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10871
10872 * cppfiles.c (stack_include_file): Don't handle -H here.
10873 * cppinit.c (cpp_start_read): Set include tracing after
10874 cpp_post_options and after stacking the main file.
10875 * line-map.c (trace_include): New.
10876 (init_line_maps, add_line_map): Update.
10877 * line-map.h (struct line_maps): New member trace_includes.
10878
10879 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10880
10881 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
10882 * cppfiles.c (stack_include_file): Only stack a file if there
10883 is something to do. Return a boolean indicating whether a
10884 buffer was stacked or not.
10885 (_cpp_execute_include): Similarly.
10886 (_cpp_read_file): Similarly.
10887 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
10888
10889 2001-08-21 Sam Steingold <sds@gnu.org>
10890
10891 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
10892 (RECACHE): keep obufp_before_macroname up to date
10893
10894 2001-08-21 Zack Weinberg <zackw@panix.com>
10895
10896 * stmt.c: Don't include insn-codes.h.
10897 (expand_end_case): Machine specific logic moved to expr.c.
10898 No need to worry about __builtin_classify_type.
10899 (check_for_full_enumeration_handling, emit_case_nodes):
10900 Kill #if 0 blocks.
10901
10902 * builtins.o (expand_builtin_classify_type): Split up so code
10903 can be shared with fold_builtin_classify_type.
10904 (type_to_class, fold_builtin_classify_type): New functions.
10905 (fold_builtins): Handle __builtin_classify_type.
10906
10907 * expr.c (do_tablejump): Now static.
10908 (case_values_threshold, try_casesi, try_tablejump): New;
10909 code mostly from stmt.c (expand_end_case).
10910 (expr.h): Update prototypes.
10911
10912 * Makefile.in (stmt.o): Update dependencies.
10913
10914 2001-08-21 Will Cohen <wcohen@redhat.com>
10915
10916 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
10917 declaration of variable i.
10918 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
10919 declaration of variable i.
10920
10921 2001-08-21 Richard Henderson <rth@redhat.com>
10922
10923 * crtstuff.c: Fix thinko last change. Move list tails to start
10924 of CRT_END section. Tidy ifdefs.
10925 (__EH_FRAME_BEGIN__): Always static for ELF.
10926 (__do_global_ctors_1): Rename from __frame_dummy.
10927 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
10928 name change; don't hide __EH_FRAME_BEGIN__.
10929
10930 2001-08-21 Richard Henderson <rth@redhat.com>
10931
10932 * gdbinit.in: Move break on exit after break on fancy_abort.
10933
10934 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
10935 sized types.
10936
10937 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10938
10939 * cpphash.h (_cpp_push_next_buffer): New.
10940 * cppinit.c (do_includes): Remove.
10941 (push_include, free_chain, _cpp_push_next_buffer): New.
10942 (cpp_start_read): Use them to rework command line option handling.
10943 (cpp_handle_option): Combine handling of -include and -imacros.
10944 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
10945 appropriate. Always insert missing \n at EOF.
10946 * cpplib.c (start_directive): Get the directive position right.
10947 * cppmain.c (cb_file_change): Always print the first line, unless
10948 preprocessed.
10949
10950 2001-08-20 Andreas Jaeger <aj@suse.de>
10951
10952 * profile.c (compute_branch_probabilities): Remove extra new-line
10953 in error message.
10954 * flow.c (verify_flow_info): Likewise.
10955
10956 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10957
10958 * basic-block.h (basic_block): Add new field 'flags'.
10959 (BB_REACHABLE): Define.
10960 (expunge_block): Declare.
10961 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
10962 (EXIT_BLOCK_PTR): Ditto.
10963 (expunge_block): Remove static declaration.
10964 (cleanup_cfg): Clear bb->aux on every basic block.
10965 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
10966 computing reachability.
10967 (delete_unreachable_blocks): Delete block b if b->flags has
10968 BB_REACHABLE unset.
10969
10970 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10971
10972 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
10973
10974 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10975
10976 * sparc.c (sparc_variable_issue): Fix typo in last change.
10977
10978 2001-08-20 Richard Henderson <rth@redhat.com>
10979
10980 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
10981
10982 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
10983
10984 * pa.h (RETURN_IN_MEMORY): Improve comment.
10985
10986 2001-08-20 Janis Johnson <janis187@us.ibm.com>
10987
10988 * doc/invoke.texi (Profiling options): Clarify the interactions
10989 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
10990
10991 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
10992
10993 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
10994 command.
10995
10996 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10997
10998 * gcc.c (make_relative_prefix): Allocate a sufficiently large
10999 buffer.
11000
11001 2001-08-20 Richard Henderson <rth@redhat.com>
11002
11003 * final.c (end_final): Fix typo last change.
11004
11005 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
11006
11007 * cppinit.c (init_standard_includes): The returned buffer
11008 is already malloc-ed.
11009 * gcc.c (add_prefix): Similarly.
11010 * prefix.c (translate_name): Update to support clear buffer
11011 ownership rules.
11012 (update_path): Similarly. Be sure to free any newly allocated
11013 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11014 (tr): New function.
11015 * prefix.h (update_path): Update prototype and document.
11016 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11017 up and update to new buffer ownership rules.
11018 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11019
11020 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
11021
11022 * final.c (compute_alignments): New function.
11023 (init_insn_lengths): Do not care label_align.
11024 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11025 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11026 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11027 (shorted_branches): Realloc label_align array; do
11028 not call init_insn_lengths; Do not care about loop alignments.
11029 * output.h (compute_alignments): Declare.
11030 * toplev.c (rest_of_compilation): Call compute_alignments.
11031 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11032
11033 * predict.c (block_info_def): Add npredecesors, remove nvisited;
11034 change visited to tovisit.
11035 (propagate_freq): Use faster traversing algorithm.
11036 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11037 to tovisit; reverse meaning.
11038
11039 * predict.c (struct block_info_def): Remove nvisited.
11040 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11041 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11042
11043 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
11044
11045 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11046 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11047 (TARGET_FUSED_MADD): New.
11048 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11049 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11050 the multiply-add instructions.
11051
11052 2001-08-19 Richard Henderson <rth@redhat.com>
11053
11054 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
11055 is aligned to pointer size.
11056
11057 2001-08-19 Richard Henderson <rth@redhat.com>
11058
11059 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11060 display markers during final schedule.
11061
11062 2001-08-19 Richard Henderson <rth@redhat.com>
11063
11064 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11065
11066 2001-08-19 Richard Henderson <rth@redhat.com>
11067
11068 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11069 in the same string.
11070 (ASM_NAME_TO_STRING): Remove.
11071 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11072 in the same string. Remove support for expressions.
11073
11074 2001-08-19 Richard Henderson <rth@redhat.com>
11075
11076 * config/i386/i386.md (tablejump): Make an expander; handle
11077 pic relative addressing here.
11078 (tablejump_1): Rename from tablejump_pic.
11079 (casesi): Remove.
11080
11081 2001-08-19 Richard Henderson <rth@redhat.com>
11082
11083 * regclass.c (fix_register): Fix typo.
11084
11085 2001-08-18 Richard Henderson <rth@redhat.com>
11086
11087 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11088 (struct _Unwind_Context): Expand br_loc to hold it.
11089 (uw_frame_state_for): Handle leaf functions better.
11090 (uw_update_reg_address): Update for br_loc change.
11091
11092 2001-08-18 Richard Henderson <rth@redhat.com>
11093
11094 * crtstuff.c: Move list heads before code that uses them.
11095 (__JCR_LIST__): Remove initial null.
11096 (frame_dummy, __frame_dummy): Do java registration here ...
11097 (__do_global_ctors_aux): ... not here.
11098
11099 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11100 (__do_global_dtors_aux): Update to match.
11101 (__JCR_LIST__, __do_jv_register_classes): New.
11102 (.init): Call it.
11103 * config/ia64/crtend.asm (__JCR_END__): New.
11104 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11105 instead of an indirect LTOFF22 reloc.
11106
11107 2001-08-18 Richard Henderson <rth@redhat.com>
11108
11109 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11110 * regclass.c (init_reg_sets_1): Fix typo.
11111 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11112 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11113 (ia64_compute_frame_size): Make ar.unat live when in use.
11114 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11115 for ar.pfs; remove ar.unat handling.
11116 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11117 call-saved.
11118 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11119 * config/ia64/ia64-protos.h: Update decls.
11120 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11121 (sibcall_pic): Likewise.
11122
11123 2001-08-18 Richard Henderson <rth@redhat.com>
11124
11125 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11126 pred_rel_mutex when searching for insn_group_barrier.
11127 * config/ia64/ia64.md (cycle_display): Combine the expander
11128 and insn patterns.
11129
11130 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11131 bit before asm as needed.
11132
11133 2001-08-18 Richard Henderson <rth@redhat.com>
11134
11135 * timevar.def (TV_MACH_DEP): New.
11136 * toplev.c (rest_of_compilation): Use it.
11137 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11138
11139 2001-08-18 Zack Weinberg <zackw@panix.com>
11140
11141 * unwind-dw2.c (execute_stack_op): Add default aborts to
11142 the inner switches to prevent warnings.
11143
11144 2001-08-18 Richard Henderson <rth@redhat.com>
11145
11146 * timevar.h (struct timevar_time_def): Change element type to float.
11147 (ticks_to_msec, clocks_to_msec): Likewise.
11148 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11149 (get_time): Likewise.
11150 (timevar_print): Adjust zero check and printing to match.
11151
11152 2001-08-18 Zack Weinberg <zackw@panix.com>
11153
11154 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11155 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11156 Eliminate overfull or underfull hboxes.
11157
11158 2001-08-18 Zack Weinberg <zackw@panix.com>
11159
11160 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11161
11162 2001-08-18 Zack Weinberg <zackw@panix.com>
11163
11164 * haifa-sched.c: Convert to target hooks. Macros replaced
11165 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11166 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11167 MD_SCHED_FINISH, and HAVE_cycle_display.
11168 * target-def.h (TARGET_SCHED_ADJUST_COST,
11169 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11170 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11171 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11172 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11173 New hook #defines to be overridden.
11174 (TARGET_SCHED): Bring them all together.
11175 (TARGET_INITIALIZER): Update.
11176 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
11177 instead of 'struct rtx_def *' throughout.
11178 (struct sched): New set of hooks for the scheduler.
11179 * Makefile.in (haifa-sched.o): Depend on target.h.
11180 * doc/tm.texi: Document the new scheduler hooks, together in
11181 their own section, instead of scattered around.
11182 Fix a bunch of underfull/overfull hboxes.
11183
11184 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11185 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11186 sparc.h: Don't define any of the old scheduler macros.
11187
11188 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11189 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11190 sparc.c: Create hook functions from code extracted from
11191 corresponding target header, or make existing hooks static, as
11192 appropriate. Set the appropriate entries in targetm.
11193
11194 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11195 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11196 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11197 Remove prototypes for functions which are now static.
11198
11199 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11200 related gunk; the Haifa scheduler is now the only choice.
11201
11202 2001-08-18 Zack Weinberg <zackw@panix.com>
11203
11204 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11205 * genopinit.c: Put floating point divide insns in sdiv_optab.
11206 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11207 * config/gofast.h, config/c4x/c4x.h,
11208 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11209 config/pa/long_double.h, config/rs6000/sysv4.h,
11210 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11211 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11212 (init_optabs): Use init_optabv for overflow-trapping optabs.
11213 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11214 cmp_optab RTX codes so have_insn_for can find them.
11215
11216 * optabs.c (expand_simple_binop, expand_simple_unop,
11217 have_insn_for, gen_sub3_insn): New interfaces.
11218 * expr.h: Prototype new functions.
11219 (enum optab_methods): Move here from optabs.h.
11220
11221 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11222 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11223 Use new functions instead of working directly with optabs.
11224 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11225 unroll.c: Don't include optabs.h.
11226 * caller-save.c, combine.c, function.c, stmt.c: Just include
11227 insn-codes.h, not optabs.h.
11228 * Makefile.in: Update dependencies.
11229
11230 * combine.c (make_compound_operation, simplify_comparison):
11231 Fix typos testing for this or that instruction.
11232
11233 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11234
11235 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11236 generating libgcc.a.
11237
11238 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11239
11240 * except.c (TYPE_HASH): Delete.
11241
11242 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11243 HOST_WIDE_INT.
11244
11245 * tree.c (TYPE_HASH): Delete.
11246
11247 * tree.h (TYPE_HASH): Define.
11248
11249 2001-08-18 Graham Stott <grahams@redhat.com>
11250
11251 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11252 define_split.
11253 (adddi3_internal_2+2): Likewise.
11254 (eh_set_lr_di+1): Likewise.
11255
11256 2001-08-17 Richard Henderson <rth@redhat.com>
11257
11258 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11259 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11260 * dwarf2asm.c: ... here.
11261 * dwarfout.c: Remove them.
11262
11263 * varasm.c (assemble_integer): Add align parameter.
11264 (assemble_real, output_constant, output_constructor): Likewise.
11265 * output.h: Update decls.
11266 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11267 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11268 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11269 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11270 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11271 Update all callers.
11272
11273 * final.c (end_final): Abort profile block generation if we
11274 haven't layed it out properly.
11275 * output.h (assemble_eh_integer): Remove stale decl.
11276 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11277 (min_align): New.
11278 (assemble_integer): Handle unaligned data.
11279 (assemble_real): Abort on unaligned data.
11280 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11281 anything useful.
11282 (default_dtor_section_asm_out_destructor): Use assemble_align.
11283 (default_named_section_asm_out_constructor): Likewise.
11284 (default_ctor_section_asm_out_constructor): Likewise.
11285 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11286 (machopic_asm_out_destructor): Likewise.
11287 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11288 (nextstep_asm_out_destructor): Likewise.
11289 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11290 (vms_asm_out_destructor): Likewise.
11291
11292 2001-08-17 Richard Henderson <rth@redhat.com>
11293
11294 * config/mips/iris6.h (TARGET_IRIX6): New.
11295 (current_section_name, current_section_flags): New.
11296 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11297 (MAX_OFILE_ALIGNMENT): New.
11298 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11299 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11300 (copy_file_data): Split out from
11301 (mips_asm_file_end): ... here.
11302 (mips_asm_file_start): Remove extra .section directive. Use
11303 tmpfile instead of mips_make_temp_file.
11304 (mips_unique_section): Use const char * as needed for warnings.
11305 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11306 re-add align parameter.
11307 (iris6_asm_named_section): New.
11308 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11309 (iris6_asm_output_align, iris6_section_align_1): New.
11310 (iris6_asm_file_start, iris6_asm_file_end): New.
11311 * config/mips/mips-protos.h: Update decls.
11312
11313 2001-08-17 Janis Johnson <janis187@us.ibm.com>
11314
11315 * doc/install.texi (Install GCC): Add links to build status pages.
11316 (Specific): Ditto.
11317 (Final install): Ditto; request updates for specific info
11318
11319 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
11320
11321 * cpperror.c (print_location): Don't take a file name; use the
11322 line map instead.
11323 (_cpp_begin_message): Similarly.
11324 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11325 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11326 (cpp_pedwarn_with_file_and_line): Remove.
11327 * cppfiles.c (stack_include_file): Update; set filename to stdin
11328 here when appropriate.
11329 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11330 (_cpp_begin_message): Don't take a file name.
11331 * cppinit.c: Add comment.
11332 * cpplex.c: Fix end-of-directive indicator.
11333 * cpplib.c: Don't include intl.h.
11334 (run_directive, do_diagnostic): Update.
11335 (do_line): Update to not use nominal_fname.
11336 (cpp_push_buffer): Don't take a filename.
11337 * cpplib.h (struct ht): Remove.
11338 (cpp_push_buffer): Don't take a filename.
11339 (cpp_pedwarn_with_file_and_line): Remove.
11340 * cppmacro.c (struct cpp_macro): Remove file.
11341 (builtin_macro): Update.
11342 (_cpp_create_definition): Update.
11343 * cppmain.c: Correct comment.
11344 * fix-header.c (read_scan_file): Update.
11345
11346 2001-08-17 Kazu Hirata <kazu@hxi.com>
11347
11348 * sbitmap.c: Fix comment formatting.
11349 * sched-deps.c: Likewise.
11350 * sibcall.c: Likewise.
11351 * simplify-rtx.c: Likewise.
11352 * ssa.c: Likewise.
11353 * ssa-ccp.c: Likewise.
11354 * stor-layout.c: Likewise.
11355 * timevar.c: Likewise.
11356 * toplev.c: Likewise.
11357 * unwind-dw2.c: Likewise.
11358 * unwind-dw2-fde.c: Likewise.
11359 * varasm.c: Likewise.
11360
11361 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
11362
11363 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11364 or larger than an integer in memory.
11365
11366 2001-08-17 Zack Weinberg <zackw@panix.com>
11367
11368 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11369 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
11370 * rtl.h: Don't forward-declare union tree_node here. Don't
11371 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
11372 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11373 and tree respectively.
11374 * tree.h: Don't forward-declare struct rtx_def here. Don't
11375 typedef tree here. Change all uses of struct rtx_def *,
11376 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11377 and tree respectively.
11378
11379 2001-08-17 Richard Henderson <rth@redhat.com>
11380
11381 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11382 config/mips/openbsd.h: Fix typos last change.
11383
11384 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11385
11386 * doc/invoke.texi (Optimize Options): The default for
11387 -finline-limit is 600.
11388
11389 2001-08-17 Richard Henderson <rth@redhat.com>
11390
11391 * varasm.c (text_section): Allow TEXT_SECTION to override the
11392 printing of TEXT_SECTION_ASM_OP.
11393 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11394 (DATA_SECTION, BSS_SECTION): Remove.
11395 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11396 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11397 Rename from s/_NAME//.
11398 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11399 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11400 (TEXT_SECTION): ... here. New.
11401 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11402 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11403 * config/mips/openbsd.h: Likewise.
11404 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11405 (mips_asm_file_end): Likewise test.
11406 (mips_output_function_epilogue): Likewise. Switch back to data
11407 section after emitting the function.
11408
11409 * doc/tm.texi (Sections): Document TEXT_SECTION.
11410
11411 2001-08-17 Richard Henderson <rth@redhat.com>
11412
11413 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11414 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
11415
11416 2001-08-17 Richard Henderson <rth@redhat.com>
11417
11418 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11419 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11420 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11421 Add aligned attribute.
11422
11423 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
11424
11425 * config/sh/sh.md: Add modes to unspecs in first insn to match
11426 those in the second.
11427
11428 * Makefile.in: Fix collect2 copy for Cygwin.
11429
11430 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11431
11432 Install the proper patch.
11433 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11434 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11435 (expand_function_start): Likewise.
11436 * stmt.c (expand_decl): Likewise.
11437 * varasm.c (make_decl_rtx): Likewise.
11438
11439 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11440
11441 * final.c: Undo my previous accidental checkin.
11442 * output.h: Likewise.
11443 * tm.texi: Likewise.
11444
11445 2001-08-16 Richard Henderson <rth@redhat.com>
11446
11447 * varasm.c (named_section_flags): Remove align parameter.
11448 * varasm.c, dwarf2out.c: Update all callers.
11449 * output.h: Update prototypes.
11450
11451 * target.h (target.asm_out.named_section): Remove align parameter.
11452 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11453 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11454 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11455 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11456 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11457
11458 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11459 (get_named_section_flags, set_named_section_flags): New.
11460 (named_section_flags): Use them.
11461 (named_section): Do decl vs section flags check here...
11462 (default_section_type_flags): ... not here.
11463 (init_varasm_once): Create in_named_htab.
11464 (resolve_unique_section): Mark reloc unused.
11465
11466 2001-08-16 Richard Henderson <rth@redhat.com>
11467
11468 * varasm.c (force_const_mem): Keep pool alignment in bits.
11469 (output_constant_pool): Use assemble_align.
11470
11471 2001-08-16 Zack Weinberg <zackw@panix.com>
11472
11473 * doc/tm.texi: Remove extra @table command.
11474
11475 2001-08-16 Zack Weinberg <zackw@panix.com>
11476
11477 * final.c (shorten_branches): Clear the end of the label_align
11478 array only if we made it larger. Break up messy expressions
11479 for clarity.
11480
11481 * diagnostic.c (internal_error): Check for error recursion
11482 before doing ICE suppression.
11483
11484 * timevar.c: Timing variables now count in milliseconds.
11485 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11486 (get_time): Not here.
11487 (timevar_print): Don't print any timer whose user, cpu, and
11488 wall times are all zero as displayed.
11489 * timevar.h: Update comment aboout units. Make timevar
11490 counters unsigned.
11491
11492 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
11493
11494 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11495 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11496 (expand_function_start): Likewise.
11497 * stmt.c (expand_decl): Likewise.
11498 * varasm.c (make_decl_rtx): Likewise.
11499
11500 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
11501
11502 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11503 (finalize_record_size): Don't set TYPE_USER_ALIGN.
11504
11505 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11506
11507 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11508 variables.
11509
11510 2001-08-16 Andreas Jaeger <aj@suse.de>
11511
11512 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11513 prototype.
11514
11515 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
11516
11517 * rtl.h (only_sets_cc0_p): New prototype.
11518 * jump.c (sets_cc0_p): Handle INSN.
11519 (only_sets_cc0_p): New function.
11520 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11521 (tidy_fallthru_edge): Likewise.
11522 * integrate.c (copy_insn_list): Likewise.
11523 * unroll.c (unroll_loop): Likewise.
11524 (copy_loop_body): Likewise.
11525
11526 2001-08-15 Jason Eckhardt <jle@redhat.com>
11527
11528 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11529
11530 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
11531
11532 * predict.c (struct block_info_def): Remove nvisited.
11533 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11534 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11535
11536 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11537 (ix86_adjust_cost): Teach scheduler that latency to load operand can
11538 be masked.
11539
11540 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
11541
11542 * predict.def: Update hitrates.
11543
11544 2001-08-15 Richard Henderson <rth@redhat.com>
11545
11546 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11547
11548 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
11549
11550 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11551 note from its associated jump.
11552
11553 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
11554
11555 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11556 also on 64-bit s390x targets.
11557
11558 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
11559
11560 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11561 function.
11562 (arm_expand_prologue): Handled nested functions which take a
11563 variable argument list.
11564 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11565 macro with an invocation of
11566 arm_compute_initial_elimination_offset.
11567 * config/arm/arm-protos.h: Prototype
11568 arm_compute_initial_elimination_offset.
11569
11570 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11571
11572 * doc/install.texi (Specific, avr): Fix markup.
11573 (Specific, c4x): Ditto.
11574
11575 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11576
11577 * predict.c (dump_prediction): Change `bool' parameter to `int'.
11578
11579 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
11580
11581 * Makefile.in (OBJS): Add rtl-error.o
11582 (rtl-error.o): New rule.
11583 (diagnostic.o): Adjust dependency.
11584 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11585 error_for_asm, _fatal_insn, _fatal_insn_not_found,
11586 warning_for_asm): Move to...
11587 rtl-error.c: ...here. New file.
11588
11589 2001-08-14 Richard Henderson <rth@redhat.com>
11590
11591 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11592 if USING_SJLJ_EXCEPTIONS.
11593
11594 2001-08-14 Steve Ellcey <sje@cup.hp.com>
11595
11596 * tlink.c (scan_linker_output): Check string for unsatisfied in
11597 addition to undefined and unresolved.
11598
11599 2001-08-14 Graham Stott <grahams@redhat.com>
11600
11601 * libgcc2.c (*): Replace EH_FRAME_SECTION with
11602 EH_FRAME_SECTION_NAME.
11603
11604 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11605
11606 * genattrtab.c (simplify_test_exp_in_temp): New function.
11607 (simplify_test_exp): Avoid explicit use of temporary obstack.
11608 (simplify_cond, insert_right_side, evaluate_eq_attr,
11609 simplify_and_tree, simplify_or_tree, eliminate_known_true):
11610 Use simplify_test_exp_in_temp.
11611 (optimize_attrs): Iterate until expression stabilizes.
11612
11613 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
11614
11615 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11616 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11617
11618 2001-08-13 Richard Henderson <rth@redhat.com>
11619
11620 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11621 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11622 * config/arm/conix-elf.h: Likewise.
11623
11624 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11625
11626 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11627 in gcc.c.
11628 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11629
11630 * gcse.c (hash_scan_set): Expressions that are set as part of
11631 jump instructions are not available.
11632
11633 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
11634
11635 * config/s390/s390.c (print_operand, s390_function_prologue,
11636 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11637
11638 2001-08-13 Richard Henderson <rth@redhat.com>
11639
11640 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11641 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11642 * doc/tm.texi (Exception Region Output): Document it.
11643
11644 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11645
11646 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11647 DWARF2 instead of stabs by default.
11648
11649 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11650
11651 * config/rs6000/rs6000.c: Include optabs.h.
11652
11653 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11654
11655 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11656 save/restore routines.
11657 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11658
11659 2001-08-13 Andreas Jaeger <aj@suse.de>
11660
11661 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11662 the english is correct.
11663
11664 2001-08-13 Zack Weinberg <zackw@panix.com>
11665
11666 * expr.h: Split out optab- and libfunc-related code to...
11667 * optabs.h, libfuncs.h: ... these new headers.
11668
11669 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11670 (OPTABS_H): New.
11671 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11672 dependencies.
11673 * mkconfig.sh: Don't include insn-codes.h from config.h.
11674
11675 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11676 enum insn_code is available. Move reload_in_optab and
11677 reload_out_optab array declarations to optabs.h.
11678 * regmove.c (gen_add3_insn): Move to optabs.c, export from
11679 there, prototype in expr.h.
11680 * gencodes.c: Cleanup: zap global variables, don't use
11681 printf where puts will do, don't bother defining MAX_INSN_CODE
11682 which nothing uses, let CODE_FOR_nothing get its value implicitly.
11683
11684 * genemit.c, genopinit.c: Include optabs.h in generated file.
11685 * genoutput.c: Include insn-codes.h in generated file.
11686 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11687 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11688 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11689 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11690 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11691 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11692 Include optabs.h.
11693 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11694 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11695 config/m88k/m88k.c, config/sparc/sparc.c:
11696 Include libfuncs.h.
11697 * reload.c: Include expr.h and optabs.h before reload.h.
11698 * config/alpha/alpha.c: Include tree.h before reload.h.
11699 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11700 and reload.h in that order.
11701 * config/sparc/sparc.c: Include debug.h.
11702 * recog.c: Include insn-codes.h.
11703
11704 2001-08-13 Andreas Jaeger <aj@suse.de>
11705
11706 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11707 s390*linux.
11708
11709 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11710
11711 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11712 * gcc.c (init_spec): Fix typo in comment.
11713 * varasm.c (data_section): Fix typo in comment.
11714
11715 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
11716
11717 * predict.c (dump_prediction): New argument "USED".
11718 (combine_predictions_for_insn): Determine the used heuristics,
11719 output the case no heuristic applied.
11720 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11721
11722 2001-08-13 Andreas Jaeger <aj@suse.de>
11723
11724 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11725 register %rip.
11726
11727 2001-08-13 Kazu Hirata <kazu@hxi.com>
11728
11729 * jump.c: Fix formatting.
11730
11731 2001-08-13 Kazu Hirata <kazu@hxi.com>
11732
11733 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11734 length.
11735
11736 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
11737
11738 * loop.c (check_dbra_loop): Use condjump_label to compute
11739 jump_label.
11740
11741 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11742 to better document the files they're in.
11743
11744 2001-08-12 Zack Weinberg <zackw@panix.com>
11745
11746 * recog.h (struct insn_operand_data): Shrink 'mode' field
11747 to 16 bits.
11748
11749 2001-08-12 Kazu Hirata <kazu@hxi.com>
11750
11751 * gcc.c: Fix comment formatting.
11752 * gccspec.c: Likewise.
11753 * gcov.c: Likewise.
11754 * gcse.c: Likewise.
11755 * genemit.c: Likewise.
11756 * gengenrtl.c: Likewise.
11757 * genrecog.c: Likewise.
11758 * gensupport.c: Likewise.
11759 * ggc-page.c: Likewise.
11760 * global.c: Likewise.
11761 * graph.c: Likewise.
11762 * ifcvt.c: Likewise.
11763 * integrate.c: Likewise.
11764 * lcm.c: Likewise.
11765 * libgcc2.c: Likewise.
11766 * loop.c: Likewise.
11767 * mbchar.c: Likewise.
11768 * optabs.c: Likewise.
11769 * predict.c: Likewise.
11770 * prefix.c: Likewise.
11771 * profile.c: Likewise.
11772 * protoize.c: Likewise.
11773 * real.c: Likewise.
11774 * recog.c: Likewise.
11775 * regclass.c: Likewise.
11776 * regmove.c: Likewise.
11777 * reg-stack.c: Likewise.
11778 * reload1.c: Likewise.
11779 * resource.c: Likewise.
11780 * rtlanal.c: Likewise.
11781 * rtl.c: Likewise.
11782
11783 2001-08-12 Kazu Hirata <kazu@hxi.com>
11784
11785 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11786 a tree representing a constant is passed to the macro.
11787
11788 2001-08-12 Richard Henderson <rth@redhat.com>
11789
11790 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11791 (rs6000_elf_asm_out_destructor): New.
11792 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11793 (DTORS_SECTION_ASM_OP): Remove.
11794 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11795 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11796
11797 2001-08-12 David Edelsohn <edelsohn@gnu.org>
11798
11799 Revert:
11800 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11801 * gcc.c (set_collect_gcc_options): New function, split out from
11802 main.
11803 Ignore elided switches.
11804 (do_spec_1): Invoke before executing command.
11805 (set_input): Export.
11806 Move declaration ...
11807 * gcc.h (set_input): ... here.
11808 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11809 file.
11810
11811 2001-08-12 Richard Henderson <rth@redhat.com>
11812
11813 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
11814 thinko wrt TARGET_RELOCATABLE.
11815
11816 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
11817
11818 * fix-header.c (cb_file_change): Update prototype.
11819
11820 2001-08-11 Zack Weinberg <zackw@panix.com>
11821
11822 * toplev.c (set_float_handler): Make static.
11823 * toplev.h: Don't prototype set_float_handler.
11824
11825 * simplify-rtx.c: Don't include setjmp.h.
11826 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
11827 New functions.
11828 (simplify_unary_operation, simplify_binary_operation): Use them,
11829 via do_float_handler.
11830
11831 * fold-const.c: Don't include setjmp.h.
11832 (exact_real_inverse_1): New function.
11833 (exact_real_inverse): Use it, via do_float_handler.
11834
11835 * varasm.c: Don't include setjmp.h.
11836 (assemble_real_1): New function.
11837 (assemble_real): Use it, via do_float_handler.
11838 Call internal_error if we get a trap here.
11839
11840 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
11841 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
11842
11843 2001-08-11 Zack Weinberg <zackw@panix.com>
11844
11845 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
11846 STACK_BOUNDARY if not already defined.
11847
11848 * calls.c, function.c, reload1.c, explow.c: Don't default
11849 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
11850 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
11851
11852 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
11853 to run-time test.
11854
11855 * doc/tm.texi: Document that STACK_BOUNDARY is required;
11856 clarify difference between it and PREFERRED_STACK_BOUNDARY.
11857
11858 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11859
11860 * cppmacro.c (enter_macro_context): Push macro expansions even
11861 if empty.
11862
11863 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11864
11865 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
11866 (rs6000_elf_section_type_flags): Actually return a value.
11867
11868 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11869
11870 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
11871 Clean up code: add missing comments and prototypes, fix warnings,
11872 remove obsolete code, fix spacing to conform to coding style.
11873
11874 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11875
11876 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
11877 and TARGET_ASM_CLOSE_PAREN.
11878 (regclass_map): CC register belongs to class NO_REGS.
11879 (legitimize_pic_address): Don't generate unnecessary moves
11880 (to avoid confusing loop optimization).
11881 (check_and_change_labels): Replace jump_long by indirect_jump.
11882 (s390_final_chunkify): Don't start a new literal pool on section
11883 switch in 64-bit code.
11884 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
11885
11886 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
11887 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
11888 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
11889 modes correctly.
11890 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
11891 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
11892 (CONST_COSTS): Fixed incorrect costs.
11893
11894 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
11895 Use emit_jump instead of emit_jump_insn (gen_jump).
11896 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
11897 (to avoid confusing flow analysis).
11898 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
11899 (casesi, casesi_jump): New.
11900 (jump_long): Removed. Functionality merged into indirect_jump.
11901 (indirect_jump): Accept address_operand, not just register_operand.
11902 (cjump_long, icjump_long): Use same logic as indirect_jump.
11903 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
11904 Fixed broken setjmp/longjmp handling.
11905 (do_builtin_setjmp_setup): Removed.
11906
11907 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
11908 broken GNU as versions that don't accept .quad with large
11909 negative values. Use hexadecimal output instead.
11910 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
11911 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
11912 FUNCTION_EPILOGUE): Removed. Now in targetm.
11913
11914 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
11915
11916 * config/s390/fixdfdi.h: Add missing copyright statement.
11917 Fix type conflicts on 64-bit. Add missing SFmode routines.
11918
11919 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
11920 email address.
11921
11922 2001-08-11 Richard Henderson <rth@redhat.com>
11923
11924 * rtl.h (REG_EH_RETHROW): Remove.
11925 * rtl.c (reg_note_name): Update.
11926 * combine.c (distribute_notes): Don't check for it.
11927
11928 2001-08-11 Richard Henderson <rth@redhat.com>
11929
11930 * combine.c (distribute_notes): Place REG_SETJMP.
11931
11932 2001-08-11 Richard Henderson <rth@redhat.com>
11933
11934 * doc/extend.texi (Arrays and pointers implementation): Discourage
11935 relying on sign-extension of pointers.
11936
11937 2001-08-11 H.J. Lu <hjl@gnu.org>
11938
11939 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
11940 in_dtors.
11941 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
11942 RDATA_SECTION_ASM_OP.
11943
11944 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11945
11946 * doc/install.texi (Specific, c4x): Fix cross-reference to the
11947 main manual to work both for info and HTML versions.
11948
11949 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11950 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11951
11952 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
11953 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
11954 (struct cpp_pool): New member first.
11955 * cppinit.c (append_include_chain): Plug memory leaks.
11956 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
11957 Allocate pragma structures from the (aligned) macro pool to
11958 avoid leaking memory.
11959 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
11960 so we don't leak memory.
11961 * hashtable.c (ht_destroy): New.
11962 * hashtable.h (ht_destroy): New.
11963
11964 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11965 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11966
11967 * c-lex.c (map): Make const.
11968 (cb_file_change): Update for callback passing a line map.
11969 Don't assume we have a previous map. Remove sanity check
11970 about popping too many files.
11971 * cpperror.c (print_location): Make map const.
11972 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
11973 (cpp_make_system_header): Similarly.
11974 (search_from): Similarly.
11975 (_cpp_execute_include): Don't remember where we came from.
11976 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
11977 (struct cpp_reader): Make map const.
11978 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
11979 * cpplib.c (do_line): Update; line maps now hold sysp.
11980 (cpp_push_buffer): Similarly.
11981 (_cpp_do_file_change): Similarly; callback with map instead.
11982 (cpp_get_line_maps): Constify return value.
11983 (_cpp_pop_buffer): Update.
11984 * cpplib.h (struct cpp_file_change): Remove.
11985 (struct cpp_callbacks): Update.
11986 (cpp_get_line_maps): Constify return value.
11987 * cppmacro.c (_cpp_create_definition): Update.
11988 * cppmain.c (struct printer): Constify map.
11989 (maybe_print_line): Similarly.
11990 (print_line): Similarly. Deduce flags 1 and 2 here.
11991 (cb_file_change): Update.
11992 * line-map.c (free_line_maps): Warn regardless.
11993 (add_line_map): Return pointer to const. When passed NULL to_file
11994 with LC_LEAVE, use the obvious values for the return point so the
11995 caller doesn't have to figure them out.
11996 (lookup_line): Return pointer to const.
11997 (print_containing_files): Take pointer to const.
11998 * line-map.h (struct line_map): New members reason, sysp.
11999 (add_line_map): Return pointer to const.
12000 (lookup_line): Similarly.
12001 (print_containing_files): Take pointer to const.
12002
12003 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
12004 Richard Henderson <rth@redhat.com>
12005
12006 * regmove.c (regmove_optimize): Avoid setting a register twice in
12007 a parallel set.
12008
12009 2001-08-10 Richard Henderson <rth@redhat.com>
12010
12011 * doc/extend.texi (Arrays and pointers implementation): Document
12012 behavior of pointer/integer conversion.
12013
12014 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
12015
12016 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
12017
12018 2001-08-10 Richard Henderson <rth@redhat.com>
12019
12020 * doc/extend.texi (C Implementation): New chapter.
12021 * doc/gcc.texi (Top): Link it in.
12022
12023 2001-08-10 Andrew Cagney <ac131313@redhat.com>
12024
12025 * doc/install.texi (Specific): Fix CVS merge botch.
12026
12027 2001-08-10 Richard Henderson <rth@redhat.com>
12028
12029 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12030 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12031
12032 2001-08-10 Zack Weinberg <zackw@stanford.edu>
12033
12034 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12035 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
12036 this macro is now required.
12037
12038 * cselib.c (cselib_process_insn), flow.c (propagate_block),
12039 loop.c (find_and_verify_loops), reload.c (reload): Check
12040 for rtx code of CALL_INSN, not CALL, when deciding if we
12041 need to check for REG_SETJMP note.
12042
12043 * gcse.c (compute_hash_table, compute_store_table): Update
12044 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12045 logic.
12046
12047 * config/avr/avr.c: Fix typo.
12048 * config/convex/convex.c (expand_movstr): Use adjust_address.
12049 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12050 variable.
12051 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12052 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12053 Fix typo.
12054 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12055 Do define STACK_BOUNDARY.
12056 * config/i370/i370.c: Include expr.h.
12057 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12058 config/pa/som.h, config/v850/v850.h: Take in_ctors and
12059 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12060 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12061 * config/m88k/m88k.c: Include c-tree.h after expr.h.
12062 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12063 * config/romp/romp.c: Include expr.h after tree.h.
12064 Include toplev.h.
12065 (output_fpop): Use xmalloc, not oballoc.
12066 * config/we32k/we32k.c: Include expr.h.
12067
12068 2001-08-10 Kazu Hirata <kazu@hxi.com>
12069
12070 * config/h8300/h8300.h: Fix formatting.
12071
12072 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12073
12074 * c-common.h (RETURN_NULLIFIED_P): Lose.
12075 * c-semantics.c (genrtl_return_stmt): Don't check it.
12076
12077 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12078
12079 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12080 (mips_annotate_frame_insn): New function.
12081 (mips_emit_frame_related_store): New function.
12082 (save_restore_insns): Don't mark instructions that set up the base
12083 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
12084 the store instructions instead.
12085 (mips_expand_prologue): If the stack size is moved into a temporary
12086 register, do not mark that move as frame-related. Add a
12087 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12088
12089 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12090
12091 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12092 stack slot as unchanging if current_function_calls_eh_return.
12093
12094 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12095
12096 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12097 access the second half of the TFmode scratch operand.
12098
12099 2001-08-10 Anthony Green <green@redhat.com>
12100
12101 * java/class.c (emit_register_classes): Conditionalize code on
12102 JCR_SECTION_NAME.
12103
12104 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12105
12106 * doc/install.texi (Specific, avr): Fix cross-reference to the
12107 main manual to work both for info and HTML versions.
12108
12109 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12110
12111 * stmt.c (expand_null_return_1): Remove code to generate simple returns
12112 and "use_goto" argument.
12113 (expand_null_return, expand_value_return): Update all callers.
12114 * function.c (expand_function_end): Remove code to generate simple
12115 return.
12116 * config/vax/vax.md (epilogue): New expander for function return.
12117 * doc/md.texi (epilogue): Remove "if defined".
12118
12119 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12120
12121 * Makefile.in: Partially revert my previous change:
12122 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12123 of the hashtab.o and safe-ctype.o rules.
12124
12125 2001-08-09 Richard Henderson <rth@redhat.com>
12126
12127 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12128 (USE_COLLECT2): Remove duplicate definition.
12129 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12130 (use_collect2): Remove dead code.
12131 * configure.in (use_collect2): Remove will_use_collect2 and
12132 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12133 * configure: Rebuild.
12134
12135 * target.h (targetm.asm_out.constructor): New.
12136 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12137 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12138 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12139 * varasm.c (in_ctors, in_dtors): New.
12140 (assemble_constructor, assemble_destructor): Remove.
12141 (default_stabs_asm_out_destructor): New.
12142 (default_named_section_asm_out_destructor): New.
12143 (dtors_section, default_dtor_section_asm_out_destructor): New.
12144 (default_stabs_asm_out_constructor): New.
12145 (default_named_section_asm_out_constructor): New.
12146 (ctors_section, default_ctor_section_asm_out_constructor): New.
12147 * output.h: Update declarations.
12148 * c-decl.c (c_expand_body): Use target hooks instead of
12149 assemble_constructor and assemble_destructor.
12150 * profile.c (output_func_start_profiler): Likewise.
12151 * objc/objc-act.c (finish_objc): Likewise.
12152 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12153 for the constructor.
12154 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12155
12156 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12157 (DTORS_SECTION_ASM_OP): Likewise.
12158 (__CTOR_LIST__): Use attribute section when possible.
12159 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12160
12161 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12162 ASM_OUTPUT_CONSTRUCTOR.
12163
12164 * config/darwin.c (machopic_asm_out_constructor): New.
12165 (machopic_asm_out_destructor): New.
12166 * config/darwin-protos.h: Update declarations.
12167 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12168 (ASM_OUTPUT_DESTRUCTOR): Remove.
12169 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12170 * config/nextstep.c (nextstep_asm_out_constructor): New.
12171 (nextstep_asm_out_destructor): New.
12172 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12173 (ASM_OUTPUT_DESTRUCTOR): Remove.
12174 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12175 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12176 ASM_OUTPUT_*STRUCTOR.
12177 * config/i386/aix386ng.h: Likewise.
12178
12179 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12180 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12181 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12182 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12183 * config/lynx.h: Likewise.
12184 * config/netware.h: Likewise.
12185 * config/psos.h: Likewise.
12186 * config/alpha/alpha-interix.h: Likewise.
12187 * config/alpha/elf.h: Likewise.
12188 * config/arc/arc.h: Likewise.
12189 * config/arm/aof.h: Likewise.
12190 * config/arm/coff.h: Likewise.
12191 * config/arm/elf.h: Likewise.
12192 * config/c4x/c4x.h: Likewise.
12193 * config/h8300/h8300.h: Likewise.
12194 * config/i386/cygwin.h: Likewise.
12195 * config/i386/djgpp.h: Likewise.
12196 * config/i386/i386-coff.h: Likewise.
12197 * config/i386/i386-interix.h: Likewise.
12198 * config/i386/sco5.h: Likewise.
12199 * config/i386/vsta.h: Likewise.
12200 * config/i386/win32.h: Likewise.
12201 * config/i960/i960-coff.h: Likewise.
12202 * config/ia64/sysv4.h: Likewise.
12203 * config/m68hc11/m68hc11.h: Likewise.
12204 * config/m68k/coff.h: Likewise.
12205 * config/m68k/mot3300.h: Likewise.
12206 * config/m88k/m88k.h: Likewise.
12207 * config/mcore/mcore-pe.h: Likewise.
12208 * config/mcore/mcore.h: Likewise.
12209 * config/mips/elf.h: Likewise.
12210 * config/mips/elf64.h: Likewise.
12211 * config/mips/iris6.h: Likewise.
12212 * config/pa/pa64-hpux.h: Likewise.
12213 * config/rs6000/sysv4.h: Likewise.
12214 * config/sh/sh.h: Likewise.
12215 * config/sparc/litecoff.h: Likewise.
12216
12217 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12218 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12219 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12220 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12221 (ASM_OUTPUT_DESTRUCTOR): Remove.
12222 * config/a29k/a29k.c: Move include of tree.h.
12223 * config/a29k/udi.h: Delete file.
12224 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12225 (vms_asm_out_destructor): New.
12226 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12227 (EXTRA_SECTION_FUNCTIONS): Likewise.
12228 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12229 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12230 * config/c4x/c4x.c: Move include of tree.h.
12231 * config/clipper/clipper.c (clix_asm_out_constructor): New.
12232 (clix_asm_out_destructor): New.
12233 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12234 (ASM_OUTPUT_DESTRUCTOR): Remove.
12235 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12236 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12237 (TARGET_ASM_CONSTRUCTOR): New.
12238 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12239 (sco_asm_out_constructor): New.
12240 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12241 * config/i386/svr3gas.h: Remove stack grows up code.
12242 Remove code duplicated from i386/sysv3.h.
12243 (TARGET_ASM_CONSTRUCTOR): New.
12244 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12245 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12246 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12247 (TARGET_ASM_CONSTRUCTOR): New.
12248 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12249 (m68hc11_asm_out_destructor): New.
12250 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12251 (TARGET_ASM_DESTRUCTOR): New.
12252 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12253 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12254 config/svr3.h pertaining to section manipulation.
12255 * config/m68k/dpx2g.h: Remove #if 0 code.
12256 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12257 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12258 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12259 (TARGET_ASM_CONSTRUCTOR): New.
12260 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12261 (m88k_svr3_asm_out_constructor): New.
12262 (m88k_svr3_asm_out_destructor): New.
12263 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12264 (ASM_OUTPUT_DESTRUCTOR): Remove.
12265 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12266 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12267 * config/rs6000/aix.h: Likewise.
12268 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12269 * config/mips/vxworks.h: Likewise.
12270 * config/rs6000/lynx.h: Likewise.
12271 * config/sh/elf.h: Likewise.
12272 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12273 (DTORS_SECTION_ASM_OP): New.
12274 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12275 (ASM_OUTPUT_DESTRUCTOR): Remove.
12276 * config/sparc/sol2-sld-64.h: Likewise.
12277 * config/vax/vax.c (vms_asm_out_constructor): New.
12278 (vms_asm_out_destructor): New.
12279 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12280 (ASM_OUTPUT_DESTRUCTOR): Remove.
12281 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12282
12283 * doc/tm.texi (@node Initialization): Update.
12284
12285 2001-08-09 Richard Henderson <rth@redhat.com>
12286
12287 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12288 (__do_global_dtors_aux): Use gp-relative static data to avoid
12289 one dynamic relocation.
12290 (__do_frame_setup): Register Java classes.
12291 * config/alpha/crtend.asm (__JCR_END__): New.
12292
12293 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12294
12295 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12296 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12297 (GEN, STAGESTUFF): Add new files.
12298 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12299 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12300 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12301 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12302 as well as insn-codes.h and insn-flags.h in config.h; and no
12303 extra headers in tconfig.h and hconfig.h.
12304
12305 * gencodes.c: Eliminate code to generate predicate declarations
12306 or #defines for md-file constants.
12307 * genconstants.c, genpreds.c: New files.
12308
12309 * i386.md: Re-order guard expressions such that TARGET_64BIT
12310 comes first, when this permits better optimization. Add
12311 TARGET_64BIT to more x86-64 patterns. Add comment explaining
12312 why this is desirable.
12313
12314 2001-08-09 Jakub Jelinek <jakub@redhat.com>
12315
12316 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12317 (find_fde_for_dso): Remove.
12318 (_Unwind_IteratePhdrCallback): New.
12319 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12320 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12321
12322 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12323
12324 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12325 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12326
12327 2001-08-09 Graham Stott <grahams@redhat.com>
12328
12329 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12330 (vis_no_unit): Use it.
12331 (visualize_no_unit): Add the insn only if room exists.
12332
12333 2001-08-09 Graham Stott <grahams@redhat.com>
12334
12335 * predict.c (estimate_probability): Replace magic numbers with
12336 appropriate enumeration.
12337
12338 2001-08-09 Graham Stott <grahams@redhat.com>
12339
12340 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12341 parameter.
12342 (EXTRACT_FLAGS): Likewise.
12343
12344 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
12345
12346 * config/mips/mips.c (mips_legitimate_address_p): Check for
12347 CONST_INT in last patch.
12348
12349 2001-08-08 Anthony Green <green@redhat.com>
12350
12351 * java/class.c (emit_register_classes): Use assemble_jcr if
12352 possible. Keep the original mechanism as a fallback.
12353 * defaults.h (JCR_SECTION_NAME): Define if we have named section
12354 and weak symbol support.
12355 * crtstuff.c (__JCR_LIST__): Define.
12356 (__JCR_END__): Define.
12357 (_Jv_RegiserClasses): Define weak symbol if possible.
12358 (__do_global_ctors_aux): Register classes for ELF targets with
12359 weak symbol support.
12360
12361 2001-08-08 Kazu Hirata <kazu@hxi.com>
12362
12363 * dbxout.c: Fix comment formatting.
12364 * dependence.c: Likewise.
12365 * df.c: Likewise.
12366 * diagnostic.c: Likewise.
12367 * dominance.c: Likewise.
12368 * doprint.c: Likewise.
12369 * dwarf2out.c: Likewise.
12370 * dwarfout.c: Likewise.
12371 * emit-rtl.c: Likewise.
12372 * except.c: Likewise.
12373 * explow.c: Likewise.
12374 * expmed.c: Likewise.
12375 * expr.c: Likewise.
12376 * flow.c: Likewise.
12377 * fold-const.c: Likewise.
12378 * function.c: Likewise.
12379
12380 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12381
12382 * global.c (retry_global_alloc): Avoid shadowing allocno.
12383
12384 2001-08-08 Mark Mitchell <mark@codesourcery.com>
12385
12386 * except.c (remove_fixup_regions): Fix typo.
12387
12388 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
12389
12390 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12391 unsigned HOST_WIDE_INT to avoid warning.
12392 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12393 * flow.c (set_block_for_new_insns): Likewise.
12394
12395 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
12396
12397 * sibcall.c (return_value_pseudo): New static variable.
12398 (skip_copy_to_return_value): Handle return_value_pseudo.
12399 (call_ends_block_p): Ensure that return_value_pseudo is set.
12400 (optimize_sibling_and_tail_recursive_call): Discover the
12401 load of pseudo return value in alternate exit block.
12402
12403 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12404
12405 * calls.c (ECF_ALWAYS_RETURN): New constant.
12406 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12407 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12408 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12409 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12410 * rtl.c (reg_note_name): New name.
12411 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12412
12413 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
12414
12415 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12416
12417 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12418
12419 * alias.c (get_alias_set): Return a previously calculated
12420 alias set for a VAR_DECL.
12421 * function.c (gen_mem_addressof): Calculate the alias set before
12422 touching the RTL.
12423
12424 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
12425
12426 * predict.def: Set hitrates according our experimental run.
12427
12428 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
12429
12430 * i386.h (HARD_REGNO_RENAME_OK): New macro.
12431
12432 2001-08-08 H.J. Lu <hjl@gnu.org>
12433
12434 * config/mips/mips.c (mips_unique_section): New. Copied from
12435 config/mips/elf.h.
12436
12437 * config/mips/mips-protos.h (mips_unique_section): New
12438 prototype.
12439
12440 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12441
12442 * config/mips/little.h: New. Generic little endian mips
12443 targets. Only mips*-*-linux* is converted to use it so far.
12444
12445 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12446 (WCHAR_TYPE): Defined
12447 (WCHAR_TYPE_SIZE): Likewise.
12448 (INIT_SUBTARGET_OPTABS): Likewise.
12449 (BSS_SECTION_ASM_OP): Likewise.
12450 (SBSS_SECTION_ASM_OP): Likewise.
12451 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12452 (ASM_DECLARE_OBJECT_NAME): Likewise.
12453 (UNIQUE_SECTION): Likewise.
12454 (EXTRA_SECTIONS): Likewise.
12455 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12456 (ASM_OUTPUT_DESTRUCTOR): Likewise.
12457 (ASM_OUTPUT_DEF): Likewise.
12458 (HANDLE_SYSV_PRAGMA): Removed.
12459 (NO_IMPLICIT_EXTERN_C): Likewise.
12460 (TARGET_MEM_FUNCTIONS): Likewise.
12461 (STARTFILE_SPEC): Likewise.
12462 (ENDFILE_SPEC): Likewise.
12463 (LIB_SPEC): Likewise.
12464 (INVOKE__main): Likewise.
12465 (CTOR_LIST_BEGIN): Likewise.
12466 (CTOR_LIST_END): Likewise.
12467 (DTOR_LIST_BEGIN): Likewise.
12468 (DTOR_LIST_END): Likewise.
12469 (SET_ASM_OP): Likewise.
12470 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12471 (ASM_OUTPUT_DEF): Likewise.
12472 (ASM_OUTPUT_IDENT): Likewise.
12473
12474 * config/mips/mips.h (ASM_SPEC): Undefine before define.
12475 (CPLUSPLUS_CPP_SPEC): Likewise.
12476 (ASM_APP_ON) Redefine only if not defined.
12477 (ASM_APP_OFF): Likewise.
12478 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12479 (ASM_OUTPUT_IDENT): Likewise.
12480
12481 * config.gcc: Update tm_file for Linux/mips.
12482
12483 2001-08-08 Bernd Schmidt <bernds@redhat.com>
12484
12485 * cselib.c (cselib_record_sets): If insn is predicated, turn
12486 sources into IF_THEN_ELSEs.
12487
12488 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12489 Turn into define_insn_and_split.
12490
12491 * sched-deps.c: Include "cselib.h".
12492 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12493 Use cselib to turn memory addresses into VALUEs.
12494 (sched_analyze): Call cselib_init/cselib_finish if necessary.
12495 * sched-int.h (struct sched_info): New member USE_CSELIB.
12496 * sched-ebb.c (ebb_sched_info): Initialize it.
12497 * sched-rgn.c (rgn_sched_info): Likewise.
12498 * Makefile.in (sched-deps.o): Update dependencies.
12499
12500 * cselib.h (cselib_subst_to_values): Declare.
12501 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
12502 that have no value and autoincs to be handled by generating a new
12503 dummy value.
12504
12505 2001-08-08 Graham Stott <grahams@redhat.com>
12506
12507 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12508 within fixed length SEQUENCE.
12509
12510 2001-08-08 Graham Stott <grahams@redhat.com>
12511
12512 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12513 (diagnostic_prefixing_rule): Likewise.
12514 (diagnostic_line_cutoff): Likewise.
12515 (diagnostic_kind_count): Likewise.
12516
12517 2001-08-08 Graham Stott <grahams@redhat.com>
12518
12519 * alias.c (find_base_decl): Delete redundent assignment.
12520
12521 2001-08-08 Graham Stott <grahams@redhat.com>
12522
12523 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12524 (abs): Uppercase and paranthesize macro parameter.
12525 (MEM_DEPENDENCY): Add whitespace.
12526
12527 2001-08-08 Graham Stott <grahams@redhat.com>
12528
12529 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12530 failure check for CONST_INT
12531
12532 2001-08-08 Graham Stott <grahams@redhat.com>
12533
12534 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12535 (libcall_dead_p): Likewise.
12536
12537 (mark_used_regs): Constify fmt.
12538 (find_use_as_address): Likewise.
12539
12540 2001-08-08 Graham Stott <grahams@redhat.com>
12541
12542 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12543 parameter.
12544
12545 2001-08-08 Graham Stott <grahams@redhat.com>
12546
12547 * combine.c (combine_simplify_rtx): Update comment and
12548 remove erroneous test.
12549
12550 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12551
12552 * cppinit.c (cpp_finish): Pop the final buffer without comment.
12553 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12554 take care to avoid multiple no-newline at EOF warnings in that
12555 case.
12556
12557 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
12558
12559 * calls.c (expand_call): Do not emit INSN_SETJMP note.
12560 (emit_library_call_value_1): Likewise.
12561 (emit_call_1): Emit REG_SETJMP note.
12562 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12563 of INSN_SETJMP
12564 * cselib.c (cselib_process_insn): Likewise.
12565 * flow.c (propagate_block): Likewise.
12566 * loop.c (find_and_verify_loops): Likewise.
12567 * reload.c (find_equiv_regs): Likewise.
12568 * reload1.c (reload): Likewise.
12569 * resource.c (mark_referenced_resources,
12570 mark_set_resources): Likewise.
12571 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12572 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12573 * haifa-sched.c (unlink_other_notes): Likewise.
12574 (reemit_notes): Likewise.
12575 * sched-ebb.c (sched_ebb): Likewise.
12576 * sched-rgc.c (sched_region): Likewise.
12577 * rtl.c (note_insn_name): Likewise.
12578 (reg_note_name): Add REG_SETJMP
12579 * rtl.h (reg_note): Add REG_SETJMP.
12580 (insn_note): Remove NOTE_INSN_SETJMP.
12581
12582 * profile.c (branch_prob): Add fake edges for setjmp.
12583
12584 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
12585
12586 * config.gcc: Quote target_cpu_default2 correctly for
12587 powerpc*-*-* targets.
12588
12589 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12590
12591 * cpplib.h, line-map.h: Update comments.
12592 * cppmain.c (printer_init): Move inline.
12593 (maybe_print_line, print_line): Take a map pointer.
12594 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12595 (cb_file_change): Don't use prior value of print.map.
12596
12597 2001-08-07 David Edelsohn <edelsohn@gnu.org>
12598
12599 * doc/install.texi: Document fine-grained multilib configuration.
12600
12601 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12602
12603 * rtlanal.c (find_first_parameter_load): Call note_stores
12604 only on the instructions.
12605
12606 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12607
12608 * alias.c (nonlocal_mentioned_p):
12609 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12610 * calls.c (emit_call_1): Likewise.
12611 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12612 * cselib.c (cselib_process_insn): Likewise.
12613 * df.c (df_insns_modify): Likewise.
12614 * flow.c (need_fake_edge_p): Likewise.
12615 (propagate_one_insn): Likewise.
12616 * haifa-sched.c (reemit_notes): Likewise.
12617 * integrate.c (copy_insn_list): Likewise.
12618 * jump.c (delete_prior_computation): Likewise.
12619 * local-alloc.c (validate_equiv_mem): Likewise.
12620 * loop.c (scan_loop): Likewise.
12621 * predict.c (estimate_probability): Likewise.
12622 * reload.c (reload): Likewise.
12623 * sched-deps (sched_analyze): Likewise.
12624 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12625 * gcse.c (compute_hash_table): Likewise.
12626 (mark_call): Likewise.
12627 (store_killed_in_insn): Likewise.
12628
12629 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
12630
12631 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12632
12633 2001-08-06 Richard Henderson <rth@redhat.com>
12634
12635 * varasm.c (assemble_gc_entry): Remove.
12636 * output.h: Likewise.
12637
12638 2001-08-06 Richard Henderson <rth@redhat.com>
12639
12640 * varasm.c (assemble_constructor): Take a symbol_ref and a
12641 priority instead of a bare string. Move priority handling
12642 here from cp/decl2.c.
12643 * output.h: Update decls.
12644
12645 * c-decl.c (c_expand_body): Update calls to assemble_constructor
12646 and assemble_destructor.
12647 * profile.c (output_func_start_profiler): Likewise.
12648 * objc/objc-act.c (finish_objc): Likewise.
12649 (build_module_descriptor): Return the symbol not the symbol name.
12650
12651 2001-08-06 David Edelsohn <edelsohn@gnu.org>
12652
12653 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12654 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12655 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12656 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12657 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12658 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12659
12660 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12661
12662 * cpperror.c (print_containing_files): Moved to line-map.c.
12663 (print_location): line-map.c handles re-listing or otherwise.
12664 * cpphash.h (struct lexer_state): Remove next_bol.
12665 (struct cpp_buffer): Remove include_stack_listed.
12666 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12667 Remove faked buffer handling.
12668 (_cpp_do_file_change): Tweak.
12669 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12670 * cppmain.c (struct printer): Remove filename.
12671 (print_line, cb_file_change): Update accordingly.
12672 * line-map.c: Include intl.h.
12673 (init_line_maps): Initialize last_listed.
12674 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12675 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12676 (print_containing_files): New.
12677 * line-map.h (struct line_maps): New member last_listed.
12678 (print_containing_files, INCLUDED_FROM): New.
12679 * Makefile.in: Update.
12680 * po/POTFILES.in: Add line-map.c.
12681
12682 2001-08-06 Richard Henderson <rth@redhat.com>
12683
12684 * except.c (convert_from_eh_region_ranges_1): Never mark
12685 USE or CLOBBER insns as throwing.
12686
12687 * expr.c (store_constructor): Don't clobber memory targets.
12688
12689 2001-08-06 Andreas Jaeger <aj@suse.de>
12690
12691 * profile.c (branch_prob): Remove unused variable insn.
12692
12693 * Makefile.in (local-alloc.o): Add dependency on except.h.
12694
12695 * local-alloc.c: Include except.h for can_throw_internal prototype.
12696
12697 2001-08-06 Richard Henderson <rth@redhat.com>
12698
12699 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12700 * function.c (expand_main_function): Implement it.
12701 * doc/tm.texi: Document it.
12702
12703 2001-08-06 Stan Shebs <shebs@apple.com>
12704
12705 * doc/install.texi: Document powerpc-*-darwin* details.
12706
12707 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
12708
12709 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12710 (ASM_CPU_SPEC): Move back to rs6000.h
12711 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12712
12713 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12714
12715 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12716 readded.
12717
12718 * config/rs6000/linux64.h: Ditto.
12719
12720 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12721 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12722 nothing.
12723
12724 Remove accidently readded definitions of FUNCTION_PROLOGUE,
12725 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12726
12727 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12728 to rs6000.h
12729
12730 2001-08-05 Richard Henderson <rth@redhat.com>
12731
12732 * local-alloc.c (update_equiv_regs): Do not move insns that
12733 can throw.
12734
12735 2001-08-05 Jan Hubicka <jh@suse.cz>
12736
12737 * Makefile.in (reload1.o): Add dedendancy on except.h
12738 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12739 prototypes.
12740 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12741 indicating wehther edges has been cleaned up.
12742 * reload1.c: Inlucde except.h
12743 (fixup_abnormal_edges): Accept deleted insns.
12744 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12745 after combine.
12746
12747 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12748
12749 * cpplib.c (do_line): Correct line number after pop_buffer.
12750
12751 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12752
12753 PR preprocessor/3824
12754 * line-map.c: Update comments.
12755 * line-map.h: Update comments.
12756 * tradcif.y: Don't consider large numbers unsigned.
12757
12758 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12759
12760 PR preprocessor/3081
12761 * c-lex.c (map): New.
12762 (cb_file_change): Update map and use it.
12763 (cb_def_pragma, cb_define, cb_undef): Use map and line.
12764 (c_lex): Update to use map.
12765 * cpperror.c (print_location): Move to using logical line numbers.
12766 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12767 (cpp_make_system_header): Similarly.
12768 (_cpp_execute_include): Stop line numbering hacks. Store the
12769 line we will return to.
12770 * cpphash.h (CPP_BUF_LINE): Remove.
12771 (struct cpp_buffer): Remove lineno and pseudo_newlines.
12772 Add map and return_to_line.
12773 (_cpp_do_file_change): Update.
12774 * cppinit.c (cpp_start_read): Update line kludge.
12775 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12776 (trigraph_ok): Use logical line numbers for diagnostics.
12777 (skip_block_comment): Likewise.
12778 (skip_whitespace): Likewise.
12779 (skip_line_comment): Use pfile->line instead.
12780 (_cpp_lex_token): Update to use logical line numbering exclusively.
12781 Handle BOL locally. Accept new lines in directives, but keep
12782 pfile->line decremented. Diagnostics use logical lines. Update
12783 directive handling.
12784 * cpplib.c (SEEN_EOL): New.
12785 (skip_rest_of_line, check_eol): Use it.
12786 (end_directive): Increase line number when accepting the newline
12787 at the end of a directive.
12788 (run_directive): Simplify.
12789 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
12790 (_cpp_do_file_change): Update to take buffer line number as an
12791 argument, and store the current map in the cpp_reader. Remove
12792 line number kludges.
12793 (_cpp_do__Pragma): Restore output position after a _Pragma.
12794 (cpp_push_buffer): Don't set output line or lineno.
12795 (_cpp_pop_buffer): Transfer more info from a faked buffer.
12796 Remove line kludge. Set output_line.
12797 * cppmacro.c (builtin_macro): Update handling of __LINE__.
12798 (parse_arg): Use logical lines.
12799 (save_lookahead_token): Save EOFs too now.
12800 * cppmain.c (struct printer): Fix comments.
12801 (printer_init): Simplify, let caller do errors.
12802 (scan_translation_unit, check_multiline_token, dump_macro): Update.
12803 (maybe_print_line): Simplify.
12804 (print_line): Don't print a linemarker if -P.
12805 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
12806 (cb_file_change): Simplify.
12807 * line-map.h (LAST_SOURCE_LINE): Fix.
12808 (CURRENT_LINE_MAP): New.
12809
12810 2001-08-05 Bernd Schmidt <bernds@redhat.com>
12811
12812 * doloop.c (doloop_modify_runtime): Properly compute number of
12813 iterations if loop was unrolled.
12814
12815 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
12816 if their CSELIB_VAL_PTRs are.
12817
12818 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
12819 (setup_spill_pointers): Initialize it.
12820 (spill_restore_mem): Set it.
12821 (do_spill, do_restore): Use it to add REG_INC note.
12822 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
12823
12824 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
12825 asms if other insns are available.
12826
12827 * config/ia64/ia64.c (condop_operator): New predicate.
12828 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
12829 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
12830 patterns.
12831
12832 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
12833 temporary register than directly using a MEM.
12834
12835 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12836
12837 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
12838 parameter in last change.
12839
12840 2001-08-04 Zack Weinberg <zackw@panix.com>
12841
12842 * sparc.md: Don't use #if inside C test expression.
12843
12844 2001-08-04 Richard Henderson <rth@redhat.com>
12845
12846 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
12847
12848 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
12849
12850 * cpphash.h (struct cpp_reader): New member directive_line.
12851 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
12852 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
12853 do_pragma): Pass line to callbacks.
12854 (start_directive): Record line of directive.
12855 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
12856 cb_include): Similarly.
12857 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
12858 Similarly.
12859
12860 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12861
12862 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
12863 comment.
12864
12865 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
12866
12867 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
12868
12869 * reload1.c (fixup_abnormal_edges): New static function.
12870 (reload): Use it.
12871
12872 * flow.c (need_fake_edge_p): New function.
12873 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
12874 avoid call insn to be very last insn in the insn stream.
12875
12876 * profile.c (branch_prob): Call flow_call_edges_add instead of
12877 doing that by hand; cleanup cfg to re-merge basic blocks once
12878 we are done.
12879
12880 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12881
12882 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
12883 are also on line-map.h.
12884 * cppfiles.c (stack_include_file): Update.
12885 * cpphash.h (struct cpp_buffer): New member return_at_eof.
12886 (_cpp_pop_buffer): New.
12887 * cppinit.c (cpp_destroy, cpp_finish): Update.
12888 (do_includes): Mark each buffer to return at EOF.
12889 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
12890 return as requested.
12891 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
12892 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
12893 * cpplib.h (cpp_pop_buffer): Remove.
12894 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
12895 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
12896 buffers.
12897 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
12898 to pop buffers.
12899 (do_preprocessing): Update.
12900 * fix-header.c (read_scan_file): Update. No need to pop buffers.
12901 * c-parse.in (_yylex): Similarly.
12902 * scan-decls.c (scan_decls): Similarly.
12903 * line-map.h: Update comments.
12904
12905 * objc/Make-lang.in (objc-act.o): Update dependencies.
12906
12907 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12908
12909 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
12910 and soft register for operand 0.
12911 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
12912
12913 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12914
12915 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
12916 register for operand 0.
12917 ("bitcmpqi_z_used"): Allow memory for operand 0.
12918 (split "bitcmpqi"): New split to handle address reg as operand 1.
12919
12920 2001-08-04 Andreas Jaeger <aj@suse.de>
12921
12922 * gcse.c: Revert Daniel's last patch.
12923
12924 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12925
12926 * sparc-protos.h: Add prototypes for fp_zero_operand and
12927 reg_or_0_operand.
12928 * sh-protos.h: Add prototype for fpul_operand.
12929
12930 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12931
12932 * doc/extend.texi (Other Builtins): Fix typo in last change.
12933
12934 2001-08-03 Richard Henderson <rth@redhat.com>
12935
12936 * target.h (gcc_target): Add asm_out.named_section,
12937 section_type_flags, have_named_sections.
12938 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
12939 (TARGET_HAVE_NAMED_SECTIONS): New.
12940 (TARGET_SECTION_TYPE_FLAGS): New.
12941
12942 * Makefile.in (toplev.o): Depend on TARGET_H.
12943 (varasm.o, dbxout.o): Likewise.
12944 * c-common.c (decl_attributes): Check targetm.have_named_sections
12945 instead of ifdef ASM_OUTPUT_SECTION_NAME.
12946 * dbxout.c (dbxout_function_decl): Likewise.
12947 (dbxout_function_end): Likewise.
12948 * toplev.c (compile_file): Likewise.
12949 * varasm.c (exception_section): Likewise.
12950 * cp/decl2.c (finish_objects): Likewise.
12951
12952 * defaults.h (EH_FRAME_SECTION): Remove.
12953 (EH_FRAME_SECTION_ASM_OP): Remove.
12954 (EH_FRAME_SECTION_NAME): New.
12955 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
12956 (UNIQUE_SECTION_P): Remove.
12957 * dwarf2out.c (SECTION_FORMAT): Remove.
12958 (ASM_OUTPUT_SECTION): Remove.
12959 (output_call_frame_info): Use named_section_flags.
12960 (output_comp_unit, dwarf2out_start_source_file): Likewise.
12961 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
12962 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
12963 * varasm.c (in_eh_frame, eh_frame_section): Remove.
12964 (named_section_flags): New.
12965 (named_section): Use it and targetm.section_type_flags.
12966 (resolve_unique_section): New.
12967 (assemble_start_function): Use it.
12968 (asm_emit_uninitialised, assemble_variable): Likewise.
12969 (default_section_type_flags): New.
12970 (default_no_named_section, default_elf_asm_named_section): New.
12971 (default_coff_asm_named_section, default_pe_asm_named_section): New.
12972 * output.h: Update varasm.c decls.
12973 (SECTION_*): New flags.
12974
12975 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
12976 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
12977
12978 * config/elfos.h (UNIQUE_SECTION_P): Remove.
12979 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
12980 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
12981 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12982 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
12983 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
12984 * config/mips/elf.h, config/mips/elf64.h: Likewise.
12985 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
12986 * config/pa/pa64-hpux.h,
12987
12988 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
12989 (TARGET_ASM_NAMED_SECTION): New.
12990 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
12991 * config/alpha/vms.h, config/arm/coff.h: Likewise.
12992 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
12993 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
12994 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
12995 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
12996 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12997 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
12998 * config/i386/sco5.h, config/i386/win32.h: Likewise.
12999 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13000 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13001 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13002 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13003 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13004 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13005 * config/sparc/sysv4.h: Likewise.
13006
13007 * config/nextstep.h: Error until named sections implemented.
13008
13009 * config/a29k/a29k.c (a29k_asm_named_section): New.
13010 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13011 (vms_section_type_flags, vms_asm_named_section): New.
13012 * config/arm/arm.c (arm_elf_asm_named_section): New.
13013 * config/avr/avr.c (asm_output_section_name): Remove.
13014 * config/avr/avr-protos.h: Update.
13015 * config/c4x/c4x.c (c4x_asm_named_section): New.
13016 * config/h8300/h8300.c (h8300_asm_named_section): New.
13017 * config/i386/i386.c (sco_asm_named_section): New.
13018 * config/i386/winnt.c (SECTION_PE_SHARED): New.
13019 (i386_pe_section_type_flags): New.
13020 (i386_pe_asm_named_section): New.
13021 * config/i386/i386-protos.h: Update.
13022 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13023 * config/mcore/mcore.c (mcore_asm_named_section): New.
13024 * config/mips/mips.c (iris6_asm_named_section): New.
13025 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13026 instead of UNIQUE_SECTION_P.
13027 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13028 (xcoff_asm_named_section): New.
13029 * config/sh/sh.c (sh_asm_named_section): New.
13030 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13031
13032 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13033 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13034 (EH_FRAME_SECTION_NAME): New.
13035 (EXCEPTION_SECTION): New.
13036 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13037 (DEBUG_*_SECTION): Remove.
13038 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13039 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13040 (EH_FRAME_SECTION_ASM_OP): Remove.
13041
13042 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13043 (ASM_OUTPUT_SECTION_NAME): Remove.
13044 (TARGET_ASM_NAMED_SECTION): New.
13045 (TARGET_HAVE_NAMED_SECTIONS): New.
13046 (TARGET_SECTION_TYPE_FLAGS): New.
13047 (EH_FRAME_SECTION_ASM_OP): Remove.
13048 (EH_FRAME_SECTION_NAME): New.
13049
13050 2001-08-03 Zack Weinberg <zackw@stanford.edu>
13051
13052 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13053 for complex expressions when cfun == 0.
13054 * doc/extend.texi: Document that __builtin_constant_p can be
13055 used in data initializers as well as functions.
13056
13057 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
13058
13059 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13060 variable I locally, instead of expecting a declaration in the
13061 calling context.
13062
13063 2001-08-03 Richard Henderson <rth@redhat.com>
13064
13065 * except.c (collect_one_action_chain): Add an explicit cleanup
13066 action if regions surrounding a catch were encoded entirely
13067 within the call-site entry.
13068
13069 2001-08-03 Richard Henderson <rth@redhat.com>
13070
13071 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13072 don't take REGNO of a non-register.
13073
13074 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13075
13076 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13077 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13078 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13079 (__gthread_mutex_init_function): New function for mutex initialization.
13080
13081 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13082
13083 * Makefile.in: Revert screwed up commit.
13084
13085 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13086
13087 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13088 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13089 merged by linker script to get a final _exit().
13090 (__do_global_dtors): New for destructor handling in specific exit
13091 section.
13092 (__do_global_ctors): New for constructors in specific install section.
13093 (__map_data_section): Map data sections before running constructors.
13094 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13095 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13096 (DTORS_SECTION_ASM_OP): Likewise.
13097 (CTORS_SECTION_FUNCTION): Define to force a reference to
13098 __do_global_ctors.
13099 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13100
13101 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13102
13103 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13104
13105 * Makefile.in: Add df.h to gcse.c dependencies.
13106
13107 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13108
13109 * varasm.c (output_constant_def_contents): Use for the length of a
13110 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13111 depending on which is larger.
13112
13113 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13114
13115 * gcse.c: Include df.h for use as a dataflow analyzer.
13116 Remove regvec.
13117 Declaration of reg_set_info: gone.
13118 New df_analyzer variable used by store motion.
13119 (reg_set_info): Deleted.
13120 (mark_mem_regs): New function, analyze regs used by a mem.
13121 (store_ops_ok): Use dataflow analyzer results to determine if
13122 necessary regs are changed in the block.
13123 (find_moveable_store): Remove check for symbol ref, we can handle
13124 much more complex expressions now.
13125 (compute_store_table): Remove most of the code, it's unnecessary
13126 now that the dataflow analyzer records the info for us.
13127 (store_killed_after): Add parameter to say whether to do the
13128 store_ops_okay test, used to speed up testing when we already know
13129 the answer, and just want to know if the store itself was killed.
13130 (build_store_vector): Largely rewritten to calculate the various
13131 vectors properly, and somewhat optimized.
13132 (store_motion): Init the df_analyzer, get REG_DEF chains.
13133 Also handle trapping expressions (since mems almost always trap)
13134 (simple_mem): Redefine what a simple mem is.
13135
13136 2001-08-03 DJ Delorie <dj@redhat.com>
13137
13138 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13139 set from a constant part of the condition.
13140
13141 2001-08-01 Andrew Cagney <ac131313@redhat.com>
13142
13143 * mkdeps.c (deps_add_default_target): Make local variable
13144 ``start'' a const char pointer.
13145 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13146
13147 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13148
13149 * doc/install.texi (Configuration): Fix markup.
13150 (Specific, i?86-*-udk): Likewise.
13151 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13152 --with-gnu-ld.
13153 Document --enable-threads and --enable-libgcj status.
13154 (Specific, mips-sgi-irix*): Canonicalize triples.
13155 (Specific, mips-sgi-irix5): Warn about problems with this config.
13156 Mention required GNU as patch.
13157 Native assembler problems are fixed.
13158 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13159 Document --enable-threads and --enable-libgcj status.
13160
13161 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13162
13163 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13164 of mkinstalldirs.
13165
13166 2001-08-03 Richard Henderson <rth@redhat.com>
13167
13168 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13169 constant data.
13170
13171 2001-08-03 Richard Henderson <rth@redhat.com>
13172
13173 * rtlanal.c (find_first_parameter_load): Stop if we
13174 reach a CODE_LABEL at BOUNDARY.
13175
13176 2001-08-03 Richard Henderson <rth@redhat.com>
13177
13178 * config/alpha/alpha.md (force_movdi): New insn.
13179 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13180 Tweek FRP marking of VMS prologue insns.
13181 * config/alpha/vms.h (EPILOGUE_USES): New.
13182
13183 2001-08-02 Richard Henderson <rth@redhat.com>
13184
13185 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13186
13187 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13188
13189 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13190 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13191 config/convex/convex.h, config/d30v/d30v.c,
13192 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13193 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13194 config/mips/mips.h, config/mn10200/mn10200.h,
13195 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13196 config/v850/v850.h, config/vax/openbsd.h,
13197 config/vax/openbsd1.h, config/vax/ultrix.h,
13198 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13199 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13200 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13201 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13202 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13203 in comments and documentation.
13204
13205 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13206
13207 * line-map.c: New.
13208 * line-map.h: New.
13209 * Makefile.in (line-map.o): New.
13210 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13211 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13212 * cpperror.c (print_containing_files): Similarly.
13213 (print_location): Update. Don't output a space before _Pragma.
13214 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13215 (stack_include_filee, cpp_make_system_header): Update.
13216 (_cpp_execute_include): Get logical line number right for calling
13217 as-yet-unterminated #include.
13218 * cpphash.h (struct cpp_reader): Add line_maps.
13219 (_cpp_do_file_change): Update.
13220 * cppinit.c (cpp_create_reader): Initialize line maps.
13221 (cpp_destroy): Destroy line maps.
13222 (cpp_start_read): Get logical line number right.
13223 * cpplex.c (parse_string): Only warn once for multi-line strings.
13224 Use boolean variable for null warning.
13225 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13226 already.
13227 (do_include_common): End the directive early.
13228 (do_line): Don't warn about out-of-range lines in preprocessed
13229 source. Update. Remove unused variables.
13230 (_cpp_do_file_change): Update for new line mapping.
13231 (pragma_cb): New typedef.
13232 (cpp_register_pragma): Stop looking ahead before calling the
13233 handler. Clean up.
13234 (do_pragma_system_header): End directive early.
13235 (cpp_get_line_maps): New.
13236 (cpp_pop_buffer): Fudge logical line. Update.
13237 * cpplib.h: Include line-map.h
13238 (enum cpp_fc_reason): Remove.
13239 (struct cpp_file_change): Update.
13240 (cpp_get_line_maps): New.
13241 * cppmain.c (struct_printer): New member map.
13242 (cb_file_change): Update for new mappings.
13243 * fix-header.c (cb_file_change): Similarly.
13244
13245 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13246
13247 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13248 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13249
13250 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13251
13252 * config/vax/vax.c: include expr.h.
13253
13254 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13255
13256 * Makefile.in ($(srcdir)/configure): Only rebuild in
13257 maintainer mode.
13258 ($(srcdir)/config.in): Only define in maintainer mode.
13259 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13260
13261 2001-08-02 David Edelsohn <edelsohn@gnu.org>
13262
13263 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13264
13265 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13266
13267 * gcc.c (set_collect_gcc_options): New function, split out from
13268 main.
13269 Ignore elided switches.
13270 (do_spec_1): Invoke before executing command.
13271 (set_input): Export.
13272 Move declaration ...
13273 * gcc.h (set_input): ... here.
13274 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13275 file.
13276
13277 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13278
13279 Kill -fhonor-std.
13280 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13281 interaction.
13282 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13283
13284 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
13285
13286 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13287 for the unnamed instructions it expands to.
13288
13289 2001-08-02 Richard Henderson <rth@redhat.com>
13290
13291 * regclass.c (call_really_used_regs): Conditionally define.
13292 (init_reg_sets_1): Don't use it if not defined.
13293 (fix_register): Similarly, don't set it.
13294
13295 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13296
13297 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13298 Correct comment that had been missed in the previous change.
13299
13300 2001-08-01 Stan Shebs <shebs@apple.com>
13301
13302 * config/darwin.c (machopic_stub_name): Try matching by name.
13303 (update_stubs): New function.
13304 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
13305 unconditionally.
13306
13307 2001-08-01 Richard Henderson <rth@redhat.com>
13308
13309 * except.c (output_function_exception_table): Use assemble_align.
13310 * varasm.c (assemble_eh_label): Remove.
13311 (assemble_eh_align, assemble_eh_integer): Remove.
13312
13313 2001-08-01 Robert Lipe <robertl@caldera.com>
13314
13315 * dwarfout.c: Remove reference to README.DWARF.
13316
13317 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
13318
13319 * regclass.c (call_really_used_regs): New array for registers which
13320 are actually used by a call.
13321 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13322 new array.
13323 (fix_register): Set call_really_used too.
13324 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13325 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13326
13327 2001-08-01 Richard Henderson <rth@redhat.com>
13328
13329 * read-rtl.c (read_name): Consider \r whitespace.
13330
13331 2001-07-11 Andrew Cagney <ac131313@redhat.com>
13332
13333 * config.gcc: Recognize powerpc-*-netbsd*.
13334
13335 * doc/install.texi (Host/target specific installation notes for
13336 GCC): Mention powerpc-*-netbsd*.
13337
13338 * config/rs6000/netbsd.h: New file.
13339 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13340 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13341 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13342 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13343 (TARGET_VERSION): Redefine.
13344
13345 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13346 mcall-netbsd as a match for mcall-sysv.
13347 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13348 (ncrti.S, ncrtn.S): New targets.
13349 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13350
13351 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13352 "netbsd' as a V4 ABI.
13353 (ASM_SPEC): Check for -mcall-netbsd.
13354 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13355 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13356 (LIB_SPEC, ENDFILE_SPEC): Ditto.
13357 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13358 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13359 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13360 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13361
13362 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13363 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13364
13365 2001-08-01 Mark Kettenis <kettenis@gnu.org>
13366
13367 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13368 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13369 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13370 including "unwind-pe.h".
13371
13372 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13373
13374 * rs6000.md (define_splits): Kill unused constraints.
13375
13376 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
13377 Jan Hubicka <jh@suse.cz>
13378
13379 * function.c (thread_prologue_and_epilogue_insns): Kill code
13380 dealing with non-existent CFG.
13381
13382 2001-08-01 Kazu Hirata <kazu@hxi.com>
13383
13384 * alias.c: Fix comment formatting.
13385 * bitmap.c: Likewise.
13386 * builtins.c: Likewise.
13387 * calls.c: Likewise.
13388 * c-common.c: Likewise.
13389 * c-decl.c: Likewise.
13390 * c-dump.c: Likewise.
13391 * c-lex.c: Likewise.
13392 * collect2.c: Likewise.
13393 * combine.c: Likewise.
13394 * conflict.c: Likewise.
13395 * cppfiles.c: Likewise.
13396 * cppinit.c: Likewise.
13397 * cpplex.c: Likewise.
13398 * cpplib.c: Likewise.
13399 * cppmacro.c: Likewise.
13400 * cppspec.c: Likewise.
13401 * c-pragma.c: Likewise.
13402 * crtstuff.c: Likewise.
13403 * cse.c: Likewise.
13404 * cselib.c: Likewise.
13405 * c-semantics.c: Likewise.
13406 * c-typeck.c: Likewise.
13407
13408 2001-08-01 H.J. Lu <hjl@gnu.org>
13409
13410 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13411
13412 2001-08-01 H.J. Lu <hjl@gnu.org>
13413
13414 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13415
13416 2001-08-01 Ziemowit Laski <zlaski@apple.com>
13417
13418 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13419 contextualizing Objective-C class name lookup by the lexer.
13420 (typespec_reserved_nonattr): Disable ObjC class name lookup after
13421 seeing a TYPESPEC.
13422 (protocoldef): Add support for forward @protocol declarations.
13423 (yylexname): Suppress ObjC class name lookup in certain contexts;
13424 re-enable after lookup is complete.
13425 (_yylex): Re-enable ObjC class name lookup when certain
13426 punctuation marks are seen.
13427
13428 * objc/objc-act.c (check_protocol_recursively): New function used
13429 for finding circular dependencies in protocols.
13430 (objc_declare_protocols): New function for handling forward
13431 @protocol declarations.
13432 (receiver_is_class_object): Detect the case when 'self' is used
13433 inside of a class method.
13434 (build_message_expr): Issue a warning if class method is desired
13435 but instance method is found instead.
13436 (conforms_to_protocol): Streamline.
13437 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13438 protocol Foo, even if 'Bar foo' does not.
13439 (check_protocols): Streamline.
13440 (start_protocol): Add checks for circular and duplicate protocol
13441 definitions.
13442 (encode_aggregate_within): For typedefs of structs, encode the
13443 underlying struct.
13444 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13445 (objc_declare_protocols): New prototype.
13446
13447 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13448
13449 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13450 * cpplex.c (handle_newline): Update prototype. Maintain logical
13451 line number.
13452 (skip_escaped_newlines, skip_block_comment, parse_string):
13453 Update accordingly.
13454 (_cpp_lex_token): Update, and store token position within the token.
13455 * cpplib.h (struct cpp_token): Add line and column entries.
13456 * cppmacro.c (replace_args): Position stringified tokens correctly.
13457
13458 2001-08-01 Andreas Jaeger <aj@suse.de>
13459
13460 * basic-block.h: Add prototype for last_loop_beg_note.
13461
13462 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
13463
13464 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13465 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13466 comment.
13467 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13468 while handling WITH_CLEANUP_EXPR node. Use second operand calling
13469 expand_decl_cleanup.
13470 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13471 the first RTX.
13472 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13473 operand while calling simple_cst_equal.
13474 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13475 operand is the cleanup expression, the third is the RTL_EXPR.
13476 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13477
13478 2001-07-31 Jeff Sturm <jsturm@one-point.com>
13479
13480 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13481
13482 2001-07-31 matthew green <mrg@eterna.com.au>
13483
13484 * config.gcc (i386-*-netbsdelf): New description.
13485 * config/i386/netbsd-elf.h: New file.
13486
13487 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
13488
13489 * loop.c (check_dbra_loop): Use single_set to compute
13490 jump_label.
13491
13492 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
13493
13494 PowerPC reorg and support for powerpc64-*-linux*.
13495
13496 Also fixes emitting of constants on 32 bit and 64 bit
13497 platforms.
13498
13499 * config.gcc: powerpc64-*-linux* is a new target.
13500 Things that needed aix.h now also include xcoff.h
13501
13502 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13503 xcoff.h.
13504 Move AIX specific stuff into aix.h.
13505 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13506 with more than just XCOFF now.
13507 (SET_ASM_OP): Remove, now defined where needed.
13508 (FUNCTION_PROLOGUE): New macro definition.
13509 (FUNCTION_EPILOGUE): New macro definition.
13510 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13511
13512 * config/rs6000/xcoff.h: New file.
13513
13514 * config/rs6000/linux64.h: New file.
13515
13516 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13517
13518 2001-07-31 Alan Modra <amodra@bigpond.net.au>
13519
13520 * rs6000.c (print_operand_address): Handle ELF syntax.
13521 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
13522 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13523 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13524
13525 2001-07-31 David Edelsohn <edelsohn@gnu.org>
13526
13527 * rs6000.c (rs6000_override_options): Only disable
13528 flag_function_sections for XCOFF.
13529 (exact_log2_cint_operand): New predicate.
13530 (reg_or_{add,sub}_cint64_operand): New predicates.
13531 (add_operand): Compare CONST_INT with fewer function calls.
13532 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13533 (print_operand, case 'p'): Ensure positive operand.
13534 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13535 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13536 (PREDICATE_CODES): Add new predicates.
13537 * rs6000.md (addsi3): Split 32-bit constants more correctly.
13538 (divsi3, modsi3): Ensure positive power-of-2.
13539 (adddi3): Use new predicate. Split 32-bit constants more
13540 correctly. Re-arrange splitter to handle any constant.
13541 (subdi3): Use new predicate.
13542 (divdi3, moddi3): Ensure positive power-of-2.
13543 (movdi): Use rs6000_emit_set_const.
13544 (load_toc_v4_pic_di): Delete.
13545
13546 2001-07-31 Graham Stott <grahams@redhat.com>
13547
13548 * function.c (pad_below): Revert 2001-07-26 patch.
13549
13550 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13551
13552 * reg-stack (convert_regs_1): Fix best edge condition.
13553
13554 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
13555
13556 * jump.c (duplicate_loop_exit_test): Better test for jumps
13557 entering the loop; create loop pre_header.
13558
13559 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13560
13561 * doc/install.texi: Add s390 and s390x as new targets.
13562 * doc/invoke.texi: Add documentation of S/390 and zSeries
13563 target options.
13564 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13565
13566 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13567
13568 * config/m68k/m68k.md: Replace all general_operand with
13569 nonimmediate_operand for all destinations.
13570 * config/m68k/m68k.c (not_sp_operand): Likewise.
13571
13572 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
13573
13574 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13575
13576 2001-07-30 Richard Henderson <rth@redhat.com>
13577
13578 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13579 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13580
13581 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13582
13583 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13584 Add missing doc strings
13585 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13586 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13587
13588 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
13589
13590 * i386.c (ix86_output_main_function_alignment_hack): New function.
13591 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13592
13593 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13594 edges by EDGE_DFS_BACK flag.
13595 (dump_edge_info): Add dfs_back flag.
13596 * basic-block.h (EDGE_DFS_BACK): New constant.
13597 (mark_dfs_back_edges): Declare.
13598 * alias.c (loop_p): Remove.
13599 (mark_constant_function): Use mark_dfs_back_edges.
13600
13601 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13602 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13603 (compensate_edge): Break out from ...
13604 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13605 (convert_regs_2): Set block_done once block is really done;
13606 Do updating of the predecessors counts.
13607
13608 * toplev.c (rest_of_compilation): Recompute block_for_insn
13609 before post-reload cfg_cleanup.
13610 * function.c (thread_prologue_epilogue_insns):
13611 Call set_block_for_new_insns when emitting prologue directly.
13612
13613 2001-07-30 Andreas Jaeger <aj@suse.de>
13614
13615 * jump.c: Add prototype for mark_modified_reg.
13616
13617 * cse.c (set_live_p): Add unused attribute.
13618
13619 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13620 overflow.
13621 (scan_for_source_files): Use long for count to avoid overflow.
13622 (output_data): Likewise.
13623 (output_data): Don't use string concatatenation to silence gcc
13624 -traditional.
13625
13626 * predict.c: Fix typos and grammar.
13627
13628 * gcse.c (insert_insn_end_bb): Remove unused variables.
13629
13630 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
13631
13632 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13633 (attempt_auto_inc): LIkewise.
13634 (mark_used_reg): Likewise.
13635 (try_pre_increment_1): Likewise.
13636 * regclass.c (regclass): Likewise.
13637 * global.c (allocno_compare): Update comment; change scaling factor.
13638 * local-alloc.c (QTY_CMP_PRI): Likewise.
13639 * regs.h (REG_FREQ_FROM_BB): New.
13640 (REG_FREQ_MAX): Likewise.
13641
13642 2001-07-30 H.J. Lu <hjl@gnu.org>
13643
13644 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13645 -D_GNU_SOURCE.
13646
13647 2001-07-30 H.J. Lu (hjl@gnu.org)
13648
13649 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13650 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13651 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13652
13653 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
13654
13655 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13656 as -mthumb-interwork when -mcpu=arm7 is specified.
13657
13658 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13659
13660 * predict.def (noreturn, loop branch, loop exit): Mark as first
13661 match heuristics.
13662
13663 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
13664
13665 * combine.c (try_combine): Avoid barrier after noop jumps.
13666
13667 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13668
13669 * cpphash.h (struct cpp_reader): Remove import_warning.
13670 * cpplib.c (skip_rest_of_line): Don't bother turning off
13671 macro expansion.
13672 (parse_include): Move include handling to...
13673 (do_include_common): ... here. Move import warning from...
13674 (do_import): ... here.
13675 (do_pragma_poison): Don't do a callback for poison identifiers.
13676 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13677 * cppmain.c (setup_callbacks): Similarly.
13678
13679 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13680
13681 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13682 handle multiple sets.
13683 * except.c (sjlj_mark_call_sites): .... here.
13684 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13685
13686 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13687
13688 Suggested by Richard Henderson and Richard Kenner:
13689 * combine.c (recog_for_combine): Use the fake recog
13690 only if instruction does not match.
13691 * rtl.h (NOOP_MOVE_INSN_CODE): New.
13692 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13693
13694 * combine.c (try_combine): Discover noop jump as direct jump.
13695
13696 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
13697
13698 * df.c (df_rd_global_compute): Add successors to worklist, not
13699 current item.
13700 (df_ru_global_compute): Ditto.
13701
13702 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
13703
13704 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13705 increment REG_N_SETS.
13706
13707 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
13708
13709 * sbitmap.h: New prototype for sbitmap_a_xor_b.
13710
13711 * sbitmap.c (sbitmap_a_xor_b): New function.
13712 ifdef the basic block stuff on IN_GCC.
13713
13714 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13715
13716 * cppexp.c (parse_defined): Always record the macro name.
13717 (lex): Don't worry about identifiers, or special-case
13718 CPP_NOT here.
13719 (_cpp_parse_expr): Figure out at the end of the routine
13720 whether we saw a valid !defined() expression.
13721 * cppfiles.c (stack_include_file): Update for mi_valid.
13722 (_cpp_pop_file_buffer): Similarly.
13723 * cpplex.c (_cpp_lex_token): Similarly.
13724 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13725 mi_if_not_defined, mi_lexed): Remove.
13726 (mi_valid): New.
13727 * cpplib.c (do_if): Simplify.
13728 (do_endif, push_conditional, _cpp_handle_directive): Update
13729 for renaming of mi_state to mi_valid.
13730 doc:
13731 * cpp.texi: Add index entries for digraphs, and add comment
13732 that C++ refers to them as alternative tokens.
13733
13734 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
13735
13736 * basic-block.h (CLEANUP_PRE_LOOP): New.
13737 * except.c (finish_eh_generation): Update call of cleanup_cfg.
13738 * sibcall.c (optimize_sibling_calls): Likewise.
13739 * toplev.c (rest_of_compilation): Likewise.
13740 * flow.c (try_forward_edges): Take argument MODE;
13741 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13742 (try_optimize_cfg): Update call of try_forward_edges.
13743
13744 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13745 Jan Hubicka <jh@suse.cz>
13746
13747 * (validate_replace_rtx_1): Fix simplification of MINUS.
13748
13749 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
13750
13751 PR preprocessor/3669
13752 * cppinit.c (init_dependency_output): Turn off dump requests
13753 if sending dependencies to stdout.
13754
13755 2001-07-28 Richard Henderson <rth@redhat.com>
13756
13757 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13758 not optimizing.
13759
13760 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
13761
13762 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13763
13764 2001-07-28 Kazu Hirata <kazu@hxi.com>
13765
13766 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13767 is VAR_DECL first to prevent an ICE.
13768
13769 2001-07-28 Richard Henderson <rth@redhat.com>
13770
13771 * varasm.c (immed_real_const_1): Don't elide special cases for
13772 nested functions.
13773 (clear_const_double_mem): Clear const_tiny_rtx too.
13774
13775 2001-07-28 Richard Henderson <rth@redhat.com>
13776
13777 * dwarf2out.c (dw_val_class_offset): New.
13778 (struct dw_ranges_struct, dw_ranges_ref): New.
13779 (ranges_table, ranges_table_allocated): New.
13780 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13781 (add_AT_offset, add_ranges, output_ranges): New.
13782 (print_die, output_die): Handle dw_val_class_offset.
13783 (attr_checksum, size_of_die, value_format): Likewise.
13784 (gen_lexical_block_die): Handle non-contiguous blocks.
13785 (gen_block_die): Likewise.
13786 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13787 if needed. Dump the ranges table.
13788 * final.c (final_start_function): Remove unnecessary notes and
13789 rebuild the block tree before numbering the blocks.
13790 * function.c (reorder_blocks_0): Walk the existing block tree
13791 to unmark all blocks.
13792 (reorder_blocks_1): Create block fragments when duplicate block
13793 notes are seen.
13794 (reorder_fix_fragments): New.
13795 (reorder_blocks): Call it.
13796 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13797
13798 2001-07-28 Richard Henderson <rth@redhat.com>
13799
13800 * emit-rtl.c (adjust_address): Make a copy of the memory address.
13801
13802 2001-07-28 Richard Henderson <rth@redhat.com>
13803
13804 * flow.c (add_to_mem_set_list): New function.
13805 (init_propagate_block_info): Use it.
13806 (mark_set_1): Likewise.
13807 (insn_dead_p): Canonicalize memory address for dead store
13808 comparison. Allow wider mode stores to kill narrower mode stores.
13809 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
13810 (invalidate_mems_from_set): Don't handle MEMs.
13811
13812 2001-07-28 Kazu Hirata <kazu@hxi.com>
13813
13814 * config/h8300/h8300.h: Fix formatting.
13815
13816 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13817
13818 * basic-block.h (EDGE_FREQUENCY): New macro.
13819 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
13820 for new BB/edges.
13821 * flow.c (find_sub_basic_blocks): Likewise.
13822 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
13823 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
13824
13825 * predict.c (DEF_PREDICTOR): New argument FLAGS.
13826 (HITRATE): New macro.
13827 (PRED_FLAG_FIRST_MATCH): New constant.
13828 (predictor_info): New field flgags.
13829 (combine_predictions_for_insn): Use DS theory to combine
13830 probabilities; set the edge probabilities when finished.
13831 (estimate_probability): Avoid duplicated matches
13832 of LOOP_BRANCH heuristics for nested loops; update comment.
13833 * predict.def: Add flags for each prediction, set probabilities
13834 according to B&L paper.
13835 * predict.h (DEF_PREDICTOR): New argument FLAGS.
13836
13837 * profile.c (compute_branch_probabilities): Cleanup way the edge
13838 probabilities are computed and REG_BR_PROB notes are dropped; if
13839 values does not match, emit error.
13840 (init_branch_prob): Do error instead of warning when profile driven
13841 feedback is missing or corrupt.
13842
13843 2001-07-27 DJ Delorie <dj@redhat.com>
13844
13845 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
13846 against a constant, try to adjust the compare to have the desired
13847 constant in it so that min/max optimizations happen more often.
13848
13849 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13850
13851 * flow.c (last_loop_beg_note): New function.
13852 (redirect_edge_and_branch): Use it.
13853 (split_edge): Likewise.
13854
13855 * alias.c (loop_p): Avoid uninitialized memory access.
13856
13857 * flow.c (try_forward_edges): Avoid accessing freed memory.
13858
13859 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
13860 variable access.
13861
13862 2001-07-26 Andrew Haley <aph@redhat.com>
13863 Joern Rennecke <amylaar@redhat.com>
13864
13865 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
13866 (SUBTARGET_CPP_ENDIAN_SPEC): New.
13867 (SUBTARGET_CPP_SPEC): New.
13868 (CPP_SPEC): Remove.
13869 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
13870 (SUBTARGET_CPP_PTR_SPEC): New.
13871 (CPP_DEFAULT_CPU_SPEC): New.
13872 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
13873 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13874 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
13875 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13876 (SUBTARGET_CPP_SPEC): Define as an empty string.
13877
13878 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13879
13880 * doc/install.texi (Configuration): Properly link the host
13881 specific instructions also when generating HTML.
13882
13883 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
13884
13885 * flow.c (redirect_edge_and_branch_force): Test
13886 target->global_live_at_start.
13887
13888 2001-07-26 Richard Henderson <rth@redhat.com>
13889
13890 * simplify-rtx.c (avoid_constant_pool_reference): Export.
13891 * rtl.h (avoid_constant_pool_reference): Declare it.
13892 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
13893 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
13894
13895 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13896
13897 * rtl.h (cleanup_barriers): Declare.
13898 * jump.c (cleanup_barriers): New function.
13899 * toplev.c (rest_of_compilation): Call cleanup_barriers
13900 before loop optimizer and after bb_reorder.
13901
13902 * flow.c (back_edge_of_syntactic_loop_p): New.
13903 (split_edge): Use it.
13904
13905 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13906
13907 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
13908
13909 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
13910
13911 * cse.c (cse_process_notes): Replace any registers if the address
13912 remains valid.
13913
13914 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
13915
13916 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
13917 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
13918 (propagate_block): Update prototype.
13919 * flow.c (update_life_info): Simplify the CFG and
13920 recalculate the global regs which are alive when
13921 removing dead code during a global update.
13922 (propagate_block): Return non-zero if an INSN is
13923 deleted.
13924
13925 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13926
13927 * Makefile.in (LIBICONV): Define.
13928
13929 2001-07-26 Catherine Moore <clm@redhat.com>
13930
13931 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
13932 of conditional to avoid tree checking errors.
13933
13934 2001-07-26 Kazu Hirata <kazu@hxi.com>
13935
13936 * regmove.c (regmove_optimize): Don't replace a reg with
13937 another reg of a different mode.
13938
13939 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
13940
13941 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
13942 limit length of dependency flush list.
13943 * params.h (MAX_PENDING_LIST_LENGTH): Define.
13944 * sched-int.h (struct deps): Add pending_flush_length field.
13945 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
13946 has 1 element in it.
13947 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
13948 (sched_analyze): After a jump, if the pending memory flush list is too
13949 large, flush the pending lists.
13950 (init_deps): Initialize pending_flush_length to 0.
13951 * doc/invoke.texi (max_pending_list_length): Document parameter.
13952
13953 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
13954
13955 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
13956 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
13957 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
13958
13959 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13960
13961 * cpphash.h (struct_lexer_state): Delete was_skipping.
13962 Move skipping here from struct cpp_reader.
13963 * cpplex.c (parse_identifier): Update.
13964 (_cpp_lex_token): Don't skip tokens in a directive.
13965 * cpplib.c (struct if_stack): Update.
13966 (start_directive, end_directive): Don't change skipping state.
13967 (_cpp_handle_directive): Update.
13968 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
13969 (do_else, do_endif): Update; only check for excess tokens if not
13970 in a skipped conditional block.
13971 (push_conditional): Update for new struct if_stack.
13972
13973 2001-07-26 Graham Stott <grahams@redhat.com>
13974
13975 * function.c (locate_and_pad_parm): Also pad initial offset
13976 so that the total argument size also includes the padding.
13977
13978 2001-07-26 Graham Stott <grahams@redhat.com>
13979
13980 * gensupport.c (alter_output_for_insn): Correct enable checking failure
13981 change XSTR to XTMPL.
13982
13983 (process_one_cond_exec): Likewise
13984
13985 2001-07-25 Richard Henderson <rth@redhat.com>
13986
13987 * varasm.c (assemble_variable): Create DECL_RTL before setting
13988 TREE_ASM_WRITTEN.
13989
13990 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
13991
13992 * predict.c (estimate_probability): Avoid duplicated predictions.
13993
13994 * loop.c (find_and_verify_loops): Grok multiple barriers.
13995
13996 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13997
13998 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
13999
14000 * dbxout.c: Consistently use putc instead of fputc.
14001 (print_wide_int): New function; call instead of direct fprintf.
14002 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14003 (dbxout_type_fields, dbxout_type_method_1): Likewise.
14004 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14005 (print_int_cst_octal): Likewise.
14006 (print_octal): Show we wrote characters.
14007 (dbxout_type): Set have_used_extensions in more places.
14008
14009 2001-07-25 Catherine Moore <clm@redhat.com>
14010
14011 * config/v850/v850.c (v850_va_arg): Use addr
14012 instead of valist to build incr.
14013
14014 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
14015
14016 * flow.c (delete_dead_jumptables): New function.
14017 (life_analyzis): Call it.
14018 * bb-reorder.c (skip_insns_after_block): Handle contradictory
14019 sequences.
14020
14021 2001-07-25 Richard Henderson <rth@redhat.com>
14022
14023 * except.c (reachable_handlers): Handle a region being removed
14024 out from under a RESX.
14025
14026 2001-07-25 Richard Henderson <rth@redhat.com>
14027
14028 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
14029 swap GE/GT if it is an fp comparison.
14030
14031 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
14032
14033 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14034 operands.
14035
14036 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
14037
14038 * ssa.c (rename_insn_1): Do not wrap an assignment to a
14039 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
14040 glitch.
14041
14042 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14043 throw an exception.
14044 (visit_expression): When attempting to simplify an expression,
14045 retrieve any modes for arguments before they are simplified
14046 to constants.
14047
14048 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14049 Janis Johnson <janis@us.ibm.com>
14050
14051 * stmt.c (expand_goto): A nonlocal goto can be a call too.
14052 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14053 pointer parameters to match documented usage of nonlocal_goto.
14054 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14055 parameters to their correct order.
14056 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14057 parameters to their correct order.
14058
14059 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14060
14061 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14062
14063 2001-07-25 Jan Hubicka <jh@suse.cz>
14064 Richard Henderson <rth@redhat.com>
14065
14066 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14067 the sequence.
14068 (make_edges): New argument update_p; populate the edge cache if set.
14069 (find_basic_blocks): Update make_edges invocation.
14070
14071 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14072
14073 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14074
14075 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14076
14077 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14078 -Acpu and -Amachine.h.
14079 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14080 Corrected header to say ELF not a.out.
14081 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14082 when given -msoft-float.
14083
14084 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14085
14086 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14087 extra multilib parts like arm-elf.
14088 (i960-*-coff*, i960-*-rtems): Should not use collect2.
14089 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14090 crtfini.o as extra multilib parts.
14091
14092 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14093
14094 * configure.in: Add rtems as a supported thread model.
14095 * gthr-rtems.h: Add missing entry point __gthread_active_p.
14096 * configure: Rebuilt.
14097
14098 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
14099
14100 * stor-layout.c (get_mode_alignment): make it work when
14101 BITS_PER_UNIT is not a power of two.
14102 * builtins.c (get_pointer_alignment): Likewise.
14103
14104 2001-07-24 Richard Henderson <rth@redhat.com>
14105
14106 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14107 the retrieved constant into the expected mode.
14108
14109 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14110
14111 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14112 (verify_flow_info): Check for duplicated edges; clarify
14113 error reporting.
14114
14115 * flow.c (block_label): Update basic_block_for_insn.
14116 (commit_edge_insertions): Call compute_bb_for_insn.
14117
14118 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14119 returns too.
14120
14121 * flow.c (redirect_edge_and_branch,
14122 try_optimize_cfg): Use redirect_edge_succ_nodup
14123 (redirect_edge_succ_nodup): New.
14124 * basic_block.h (redirect_edge_succ_nodup): Declare.
14125
14126 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14127 after gcse.
14128
14129 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14130
14131 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14132 (try_crossjump_to_edge): Update commetns.
14133 (try_crossjump_bb): Likewise.
14134
14135 2001-07-24 Richard Henderson <rth@redhat.com>
14136
14137 * combine.c (distribute_notes): Move set of need_refresh
14138 for noop_move_p down to catch all cases.
14139
14140 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14141
14142 * recog.c (split_all_insns_noflow): New.
14143 * rtl.h (split_all_insns_noflow): Declare.
14144 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14145 * m68hc11.c (m68hc11_reorg): Likewise.
14146 * sh.c (machine_dependent_reorg): Likewise.
14147 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14148 call.
14149
14150 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14151
14152 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14153 (ashlsi3_n splitter): Likewise.
14154 (lshrsi3_n splitter): Likewise.
14155
14156 (GOTaddr2picreg): Make const SImode.
14157 (sym_label2reg): Likewise.
14158 (symGOT2reg): Likewise.
14159 (symGOTOFF2reg) Likewise.
14160
14161 (casesi_worker_0): Make unspec SImode.
14162
14163 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14164
14165 * config/sh/sh.c (barrier_align): Check that an operand really is
14166 an insn before extracting its INSN_CODE.
14167
14168 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14169
14170 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14171 dangling else.
14172
14173 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14174 for SImode to prevent overflow.
14175
14176 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14177
14178 * config/mips/irix6-libc-compat.c: New file.
14179 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14180 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14181 passing workaround.
14182
14183 2001-07-24 lars brinkhoff <lars@nocrew.org>
14184
14185 * rtl.texi (REG_POINTER): Document.
14186 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14187 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14188
14189 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14190
14191 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14192
14193 2001-07-23 Richard Henderson <rth@redhat.com>
14194
14195 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14196
14197 2001-07-23 Kazu Hirata <kazu@hxi.com>
14198
14199 * config/h8300/h8300-protos.h: Add a prototype for
14200 general_operand_dst_push.
14201 * config/h8300/h8300.c (general_operand_dst_push): New.
14202 * config/h8300/h8300.h (OK_FOR_T): New.
14203 (EXTRA_CONSTRAINT): Use it.
14204 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14205 the existing movqi pattern.
14206 (movhi_push): Likewise.
14207
14208 * reload.c: Fix comment typos.
14209
14210 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14211
14212 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14213
14214 2001-07-23 H.J. Lu (hjl@gnu.org)
14215
14216 * doc/extend.texi: Update __builtin_return_address and
14217 __builtin_frame_address.
14218
14219 2001-07-23 Richard Henderson <rth@redhat.com>
14220
14221 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14222 before CSE.
14223 * config/i386/i386.md: New setcc+movzbl peephole2.
14224
14225 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14226
14227 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14228 * objc/objc-act.c: Include debug.h.
14229 (synth_module_prologue): Save and restore debug hooks too.
14230
14231 2001-07-23 lars brinkhoff <lars@nocrew.org>
14232
14233 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14234 and C4X_FLOAT_FORMAT.
14235 (BOOL_TYPE_SIZE): Document.
14236
14237 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14238
14239 * unroll.c (loop_iterations): Fix miscalculation of initial
14240 giv offset.
14241
14242 2001-07-13 Andrew Haley <aph@redhat.com>
14243
14244 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14245 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14246 * config/sh/sh.c (sh_can_redirect_branch): New function.
14247 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14248 * reorg.c (steal_delay_list_from_target): Use
14249 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14250
14251 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14252
14253 * flow.c (try_simplify_condjump): Unlink insn chain on
14254 fallthru edge; use can_fallthru.
14255
14256 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14257
14258 * basic-block.h (find_sub_basic_block): Declare.
14259 * flow.c (make_edges): New arguments MIN and MAX;
14260 (find_sub_basic_blocks): Revamp to use make_edges
14261 and purge_dead_edges.
14262 (find_basic_blocks): Update call of find_sub_basic_block.
14263
14264 * recog.c (split_all_insns): Always expect CFG to be consistent;
14265 call find_sub_basic_blocks in case something has changed.
14266 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14267 has been built.
14268
14269 * basic-block.h (delete_noop_moves): Declare.
14270 * combine.c (combine_instructions): Call it.
14271 (recog_for_combine): Tolerate noop moves
14272 (distribute_notes): Force refresh when register dies at noop move.
14273 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14274 too.
14275 (life_analysis): Update delete_noop_moves call.
14276 (set_noop_p): Move too ...
14277 * rtlanal.c (noop_move_p): ... here.
14278 * rtl.h (noop_move_p): Declare.
14279
14280 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14281 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14282 after combine.
14283 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14284 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14285
14286 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14287
14288 * reload.c (push_reload): Fix typo in comment.
14289 (find_reloads_address): Ditto.
14290 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14291
14292 2001-07-22 Richard Henderson <rth@redhat.com>
14293
14294 * flow.c: Grammar check and clarify a lot of comments.
14295 (try_simplify_condjump): Rename variables to be clearer.
14296 (try_forward_edges): Skip complex and fallthru edges.
14297 Rearrange tests to avoid duplicate checks.
14298 (flow_find_cross_jump): Likewise.
14299 (outgoing_edges_match): Allow match if neither branch has
14300 probability data. Loosen probability match to 5%.
14301 (try_crossjump_to_edge): Hoist repeated indirection into
14302 local variables.
14303 (try_crossjump_bb): Don't check complex edges. Eliminate
14304 redundant crossjump tests.
14305 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
14306 checks before more expensive checks.
14307
14308 2001-07-22 Richard Henderson <rth@redhat.com>
14309
14310 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14311 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14312 arguments.
14313
14314 2001-07-22 Richard Henderson <rth@redhat.com>
14315
14316 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14317 (const_sint32_operand): Likewise.
14318 * m68k.md (anon mulsi pattern): Use const_int_operand not
14319 const_sint32_operand.
14320 (umulsi3_highpart): Zero extend a constant input.
14321 (smulsi3_highpart): Don't bother checking SImode constant.
14322 (const_umulsi3_highpart): Give op3 DImode.
14323 (const_smulsi3_highpart): Likewise.
14324
14325 2001-07-22 Richard Henderson <rth@redhat.com>
14326
14327 * flow.c (split_block): Make sure bb_note is included in the
14328 new block when splitting before a label.
14329
14330 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
14331
14332 * basic-block.h (redirect_edge_and_branch_force,
14333 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14334 * flow.c (redirect_edge_and_branch_force,
14335 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14336 (redirect_edge_and_branch_force): Fix copying of lifeness information.
14337 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14338 * ifcvt.c (dead_or_predictable): Take BB as an new destination
14339 instead of label; update CFG after transformation.
14340 (find_if_case_1): Update call, use redirect_edge_and_branch_force
14341 for finishing the transformation; handle even case where ELSE
14342 does not follow THEN.
14343 (find_if_case_2): Update call of dead_or_predictable; simplify
14344 CFG update.
14345
14346 * emit-rtl.c (split_branch_probability): New global variable.
14347 (try_split): Take care to set split_branch_probability and
14348 create REG_BR_PROB note for new jump insns.
14349 * md.texi (define_split): Document new feature.
14350
14351 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14352
14353 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14354
14355 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14356 (asm_out_file): Remove redundant declaration.
14357 (assemble_asm): Remove old #if 0 block.
14358 (assemble_variable): Remove end of function; debug output is
14359 now handled with global_decl. Remove old #if 0 block. Update.
14360 Remove saved_in_section and associated no-op code.
14361 * Makefile.in (varasm.o): Correct dependencies.
14362
14363 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
14364
14365 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14366 the definition in defaults.h.
14367
14368 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
14369
14370 * jump.c: Update comments.
14371 (delete_barrier_successors, delete_unreferenced_labels,
14372 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14373 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14374 jump_optimize, jump_optimize_minimal): Kill.
14375 (rebuild_jump_labels): Move code from jump_optimize_1.
14376 (purge_line_number_notes): Likewise.
14377 (copy_loop_headers): Likewise.
14378 * reg-stack.c: Update comment.
14379 * stmt.c: Likewise.
14380 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14381 JUMP_AFTER_REGSCAN): Kill.
14382 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14383 purge_line_number_notes and copy_loop_headers.
14384
14385 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14386 Richard Henderson <rth@redhat.com>
14387
14388 * dbxout.c (dbxout_global_decl): New.
14389 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14390 * sdbout.c (sdbout_finish): New.
14391 (sdbout_debug_hooks): Use it, add comments.
14392 (sdbout_global_decl): Defer initialised public vars to
14393 sdbout_finish.
14394 * varasm.c (assemble_variable): Don't output debug information
14395 for file-scope variables.
14396
14397 2001-07-22 Richard Henderson <rth@redhat.com>
14398
14399 * config/alpha/alpha.c (get_trap_mode_suffix): New.
14400 (get_round_mode_suffix): New.
14401 (print_operand): Use them for [/]. Remove support for [&'`()+].
14402 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14403 * config/alpha/alpha.md (attr round_suffix): New.
14404 (attr trap_suffix): New.
14405 (all insns): Set them appropriately. Use %/ instead of the
14406 myriad punctuators.
14407
14408 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14409
14410 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14411
14412 2001-07-22 Richard Henderson <rth@redhat.com>
14413
14414 * regrename.c (regrename_optimize): Compute nregs for each
14415 potential target register.
14416
14417 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
14418 Richard Henderson <rth@redhat.com>
14419
14420 * dbxout.c (dbxout_global_decl): New.
14421 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14422 * sdbout.c (sdbout_finish): New.
14423 (sdbout_debug_hooks): Use it, add comments.
14424 (sdbout_global_decl): Defer initialised public vars to
14425 sdbout_finish.
14426 * varasm.c (assemble_variable): Don't output debug information
14427 for file-scope variables.
14428
14429 2001-07-21 H.J. Lu (hjl@gnu.org)
14430
14431 * config/mips/mips.c (mips_cpu): Moved into ...
14432 (override_options): Here.
14433
14434 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14435 mips_tune.
14436 (mips_cpu): Removed.
14437
14438 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14439
14440 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14441 ("iorqi3"): Likewise.
14442 ("xorqi3"): Likewise.
14443 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14444 ("*subhi3_sp): Likewise.
14445 ("*subhi3"): Likewise.
14446 ("extendhisi2"): Accept D, X and Y as source operand to avoid
14447 reload problems.
14448
14449 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
14450
14451 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14452 * config/freebsd.h: Likewise.
14453 * config/linux.h: Likewise.
14454 * config/openbsd.h: Likewise.
14455 * config/alpha/linux-elf.h: Likewise.
14456 * config/arm/linux-elf.h: Likewise.
14457 * config/d30v/d30v.h: Likewise.
14458 * config/fr30/fr30.h: Likewise.
14459 * config/ia64/aix.h: Likewise.
14460 * config/ia64/ia64.h: Likewise.
14461 * config/mips/linux.h: Likewise.
14462 * config/pj/pj.h: Likewise.
14463 * config/rs6000/linux.h: Likewise.
14464 * config/sparc/linux.h: Likewise.
14465 * config/sparc/linux64.h: Likewise.
14466
14467 2001-07-20 Bruce Korb <bkorb@gnu.org>
14468
14469 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14470 because getc() and char* may disagree on signedness.
14471
14472 2001-07-20 Richard Henderson <rth@redhat.com>
14473
14474 * doc/rtl.texi (REG_DEAD): Update for current semantics.
14475
14476 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14477 insns to delete in the presence of cc0 in a jump insn.
14478
14479 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
14480 Jan Hubicka <jh@suse.cz>
14481
14482 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14483 of doing the change by hand.
14484
14485 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14486
14487 * rtlanal.c (set_noop_p): Return true for noop jumps.
14488
14489 * expr.c (emit_single_push_insn): Add call to push expander.
14490 * expr.h (optab_index): Add OTI_push
14491 (push_optab): New constant.
14492 * genopinit.c (optabs): Add push_optab.
14493 * optabs.c (init_optab): Init push optab.
14494 * md.texi (push??1): Document
14495
14496 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14497
14498 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14499 expand to emit the pattern; put a REG_INC note for push/pop
14500 instructions.
14501 ("movdf", "movdf_internal"): Likewise.
14502 ("movsi", "movsi_internal"): Likewise.
14503 ("movsf", "movsf_internal"): Likewise.
14504 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14505
14506 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14507
14508 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14509 gen_highpart.
14510
14511 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
14512
14513 * params.def: Change default max inline insns to 100.
14514
14515 2001-07-20 Diego Novillo <dnovillo@redhat.com>
14516
14517 * combine.c (combine_simplify_rtx): Generate a new shift operation
14518 when simplifying the first operand of a (neg (ashift)) expression.
14519
14520 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14521
14522 * regclass.c (N_REG_INTS): Use only 32 bits per element.
14523
14524 2001-07-20 Kelley Cook <kelley.cook@home.com>
14525
14526 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14527 information. Move rest into ...
14528 (*-*-solaris): ... here. Eliminate redundant information and
14529 reword necessary packages section. Delete 4.x assembler bug info.
14530 (sparc-sun-*): Merge into ...
14531 (sparc-sun-sunos*): here.
14532
14533 2001-07-20 Catherine Moore <clm@redhat.com>
14534
14535 * config/v850/v850.md (casesi): Generate LABEL_REF
14536 with Pmode.
14537
14538 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
14539
14540 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14541 * i386.c (ix86_zero_extend_to_Pmode): Make global.
14542 * i386.md (strclrsi expander): Use it.
14543
14544 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14545
14546 * integrate.c (copy_insn_list): handle
14547 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14548 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14549 identically as to CODE_LABEL.
14550
14551 * fold-const (fold): Convert A/B/C to A/(B*C) and
14552 A/(B/C) to (A/B)*C
14553
14554 * except.c (connect_post_landing_pads): Delete the RESX insns.
14555
14556 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
14557
14558 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14559
14560 * config/mips/mips.md (nmadd/nmsub): Use macro.
14561
14562 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
14563
14564 * cppinit.c (remove_dup_dir): Make static.
14565 (remove_dup_dirs): Make static. Only warn about preempting a
14566 system directory with a non-system directory.
14567
14568 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14569
14570 * ifcvt.c (noce_try_store_flag_constants): Correct order
14571 of parameters to trunc_int_for_mode.
14572
14573 2001-07-19 Mark Mitchell <mark@codesourcery.com>
14574
14575 * reorg.c (fill_simple_delay_slots): If an instruction might throw
14576 an exception that will be caught within this function, do not fill
14577 its delay slot with any subsequent instruction.
14578
14579 2001-07-19 Steve Ellcey <sje@cup.hp.com>
14580
14581 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14582 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14583 pointer extension instruction.
14584 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14585 * simplify-rtx.c (simplify_unary_operation) Likewise.
14586 * explow.c (convert_memory_address) Check value of
14587 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14588 less than zero.
14589 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14590 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14591 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14592 Add Multilib Support.
14593 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
14594 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14595 Add Multilib Support.
14596 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14597 support.
14598 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14599 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14600 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14601
14602 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
14603
14604 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14605 old and new operands in `<', `3' and `b'.
14606
14607 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14608
14609 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14610 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14611 (toplev.o): Don't depend on xcoffout.h.
14612 * c-decl.c: Include debug.h
14613 (duplicate_decls): Use debug hook.
14614 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14615 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14616 (dbxout_types): Remove.
14617 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14618 * debug.c (do_nothing_debug_hooks): Update.
14619 (debug_true_tree, debug_nothing_rtx): New.
14620 * debug.h (struct rtx_def): New.
14621 (struct gcc_debug_hooks): New hooks ignore_block,
14622 outlining_inline_function and label.
14623 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14624 dwarf2out_frame_finish): New.
14625 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14626 Make static, update prototype.
14627 (dwarf2_debug_hooks): Update.
14628 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14629 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14630 * dwarfout.c (dwarf_debug_hooks): Update.
14631 * emit-rtl.c: Include debug.h.
14632 (remove_unnecessary_notes): Use debug hook.
14633 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14634 (final_scan_insn): Use debug hook.
14635 * integrate.c (output_inline_function): Use debug hook.
14636 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14637 (sdb_debug_hooks): Update.
14638 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14639 * toplev.c: Don't include xcoffout.h.
14640 (note_outlining_of_inline_function, debug_ignore_block): Remove.
14641 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14642 Remove.
14643 * tree.h (dwarf2out_do_frame): Remove.
14644
14645 2001-07-19 Catherine Moore <clm@cygnus.com>
14646
14647 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14648
14649 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14650
14651 * reload1.c (eliminate_regs_in_insn): When updating a set
14652 to the frame pointer to the hardware frame pointer, perform
14653 the update always not just when REPLACE is set.
14654
14655 * reload1.c (choose_reload_regs): Don't inherit a reload
14656 that crosses multiple registers if registers past the first
14657 don't fit in the desired class.
14658
14659 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14660 when negating constants.
14661
14662 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
14663
14664 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14665 * doc/tree.texi: Ditto.
14666
14667 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
14668 Jakub Jelinek <jakub@redhat.com>
14669
14670 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14671 (extract_cie_info): Handle "eh" augmentation properly,
14672 remember eh_ptr.
14673 (struct frame_state, __frame_state_for): New.
14674
14675 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14676
14677 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14678 HANDLE_SYSV_PRAGMA): Define.
14679 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14680 previous args.
14681 (copy_object): Caller changed.
14682
14683 2001-07-19 Andreas Schwab <schwab@suse.de>
14684
14685 * configure.in (assembler dwarf2 debug_line support): Define nop
14686 insn for m68k.
14687 * configure: Regenerated.
14688
14689 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14690
14691 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14692 dwarfout.h.
14693 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14694 to conditionally compiled block.
14695 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14696 * dbxout.h (dbxout_function): Remove.
14697 * debug.c (do_nothing_debug_hooks): Update.
14698 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14699 global_decl, deferred_inline_function.
14700 * dwarf2out.c (dwarf2_debug_hooks): Update.
14701 (dwarf2out_global_decl): New.
14702 * dwarfout.c: Don't include dwarfout.h.
14703 (dwarfout_global_decl, dwarfout_function_decl,
14704 dwarfout_deferred_inline_function): New.
14705 (dwarf_debug_hooks): Update.
14706 * dwarfout.h: Remove.
14707 * final.c: Don't include dwarfout.h.
14708 * sdbout.c (sdbout_global_decl): New.
14709 (sdbout_debug_hooks): Update.
14710 * toplev.c: Don't include dwarfout.h.
14711 (check_global_declarations, rest_of_compilation): Use new debug hooks.
14712 (note_deferral_of_defined_inline_function): Remove.
14713 * toplev.h (note_deferral_of_defined_inline_function): Remove.
14714 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14715 * ch/lex.c: Don't include dwarfout.h.
14716 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14717 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14718 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14719 * cp/optimize.c: Include debug.h.
14720 (maybe_clone_body): Use debug hook.
14721 * cp/semantics.c: Include debug.h.
14722 (expand_body): Use debug hook.
14723 * po/POTFILES.in: Remove dwarfout.h.
14724
14725 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14726
14727 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14728 * c-parse.in (yyerror, _yylex): Similarly.
14729 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14730 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14731 Update comments.
14732 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14733 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14734
14735 2001-07-18 Jeff Sturm <jsturm@one-point.com>
14736
14737 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14738 in-class declaration at -g1. Fixes c++/2814.
14739
14740 2001-07-18 Richard Henderson <rth@redhat.com>
14741
14742 * doc/md.texi (reload_in/out): Document restrictions in predicates
14743 and constraints for these patterns. Document empty string matching
14744 ALL_REGS.
14745
14746 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14747
14748 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14749
14750 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14751
14752 * cse.c: Undo my previous patch.
14753
14754 2001-07-18 Tom Tromey <tromey@redhat.com>
14755
14756 For PR java/2812:
14757 * configure: Rebuilt.
14758 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14759 instead.
14760 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14761
14762 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
14763 Jan Hubicka <jh@suse.cz>
14764
14765 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14766 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14767 * jump.c (mark_jump_label): Do not forward branches.
14768
14769 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
14770
14771 * cse.c (delete_trivially_dead_insns): Delete the libcall block
14772 when return value is unused.
14773
14774 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14775
14776 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14777
14778 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
14779
14780 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14781 on error. We can't blindly return the result of
14782 pthread_mutex_trylock because it returns a positive number on
14783 error, while we must return -1 on error.
14784 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14785 fixes.
14786 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14787
14788 2001-07-18 Andreas Jaeger <aj@suse.de>
14789
14790 * integrate.c (output_inline_function): Correct type of debug_hooks.
14791
14792 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
14793
14794 * combine.c (combine_simplify_rtx): DIV can be treated
14795 associatively for floats if unsafe math optimisations are enabled.
14796
14797 2001-07-17 Richard Henderson <rth@redhat.com>
14798
14799 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
14800
14801 2001-07-17 Richard Henderson <rth@redhat.com>
14802
14803 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
14804 don't force the function address into a register.
14805 (expand_call, emit_library_call_value_1): Update callers.
14806 * builtins.c (expand_builtin_apply): Likewise.
14807 * expr.h (prepare_call_address): Update decl.
14808
14809 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
14810
14811 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
14812 config directory.
14813 * config/i386/chorus.h: Move up.
14814 * config/sparc/chorus.h: Likewise.
14815 * config/rs6000/chorus.h: Likewise.
14816 * config/chorus.h: Moved here.
14817
14818 2001-07-17 Andreas Schwab <schwab@suse.de>
14819
14820 * configure.in (assembler eh_frame optimization): Handle big
14821 endian.
14822 * configure: Regenerated.
14823
14824 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
14825
14826 * expr.c (epxand_expr): Convert divisions into multiplications by
14827 reciprocals if -ffast-math.
14828
14829 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
14830
14831 * dbxout.c (dbxout_really_begin_function): Rename to
14832 dbxout_begin_function.
14833 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14834 (dbxout_begin_function): Remove.
14835 (dbxout_function): Update.
14836 (dbxout_source_line): Update prototype.
14837 * dbxout.h (dbxout_begin_function): Remove.
14838 * debug.c (do_nothing_debug_hooks): Update.
14839 (debug_nothing_tree): Update.
14840 (debug_nothing_charstar_rtx): Remove.
14841 * debug.h (union tree_node): Declare.
14842 (struct rtx_def): Remove.
14843 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
14844 begin_function. Change source_line prototype.
14845 (debug_nothing_tree): New.
14846 (debug_nothing_charstar_rtx): Delete.
14847 (dwarf2out_begin_prologue): Moved from ...
14848 * tree.h: ... here.
14849 * dwarf2out.c (dwarf2_debug_hooks): Update.
14850 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
14851 debug info, call dwarf2out_source_line.
14852 (dwarf2out_souce_line): Update prototype.
14853 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
14854 Change prototype, make static.
14855 (dwarfout_source_line): Update prototype.
14856 (dwarf_debug_hooks): Update.
14857 * dwarfout.h (dwarfout_begin_function): Remove.
14858 * final.c (final_start_function, final_scan_insn): Use appropriate
14859 debug hooks, update to use notice_source_line.
14860 (output_source_line): Rename notice_source_line. Don't call the
14861 source_line debug hook.
14862 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
14863 make static, update prototype.
14864 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
14865 prototype.
14866 (sdbout_end_prologue): New.
14867 (sdbout_source_line): Update prototype.
14868 (sdbout_debug_hooks): Update.
14869 (sdbout_symbol): Remove unused var.
14870 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
14871 Delete.
14872 * varasm.c: Include debug.h.
14873 (assemble_start_function): Use begin_function debug_hook.
14874 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14875 update with prototype.
14876 (xcoffout_source_line): Update prototype.
14877 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14878 update prototype.
14879 (xcoffout_source_line): Update prototype.
14880
14881 2001-07-17 Richard Henderson <rth@redhat.com>
14882
14883 * c-typeck.c (build_binary_op): Do not shorten unsigned
14884 right shift after sign extension.
14885
14886 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
14887
14888 * combine.c (combine_simplify_rtx): Attempt to simplify
14889 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
14890
14891 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
14892 (simplify_binary_operation, simplify_unary_operation,
14893 simplify_relational_operation): Use it.
14894
14895 * combine.c (combine_simplify_rtx): Don't do associative law
14896 on divisions; allow associative law on floats.
14897
14898 2001-07-17 H.J. Lu <hjl@gnu.org>
14899 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14900
14901 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
14902 ASM_OUTPUT_WEAK_ALIAS are defined.
14903 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
14904 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
14905 Moved ...
14906 * config/mips/iris5.h: ... here.
14907 (HANDLE_SYSV_PRAGMA): Defined as 1.
14908 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
14909 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
14910 symbol.
14911
14912 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14913
14914 * c-parse.in (all_prefix_attributes): New variable.
14915 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
14916 (maybe_resetattrs): New production.
14917 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
14918 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
14919 notype_initdcl, nested_function, notype_nested_function,
14920 component_decl, components, components_notype,
14921 component_declarator, component_notype_declarator,
14922 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
14923 ivars, mydecl, myparm): Update. Avoid prefix attributes just
14924 after a comma being applied to more than one declarator.
14925 * doc/extend.texi (Attribute Syntax): Update. Remove
14926 documentation of bugs that are no longer present.
14927
14928 2001-07-13 Eric Christopher <echristo@redhat.com>
14929
14930 * config/mips/mips.h: Change TUNE_MIPS* options to use
14931 mips_tune.
14932 (EXTRA_SPECS): Add cc1_cpu_spec.
14933 * config/mips/mips.md (muldf3): Fix typo.
14934
14935 2001-07-16 Richard Henderson <rth@redhat.com>
14936
14937 * config/m68k/m68k.c: Include expr.h and reload.h.
14938 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
14939 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
14940
14941 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14942 Richard Henderson <rth@redhat.com>
14943
14944 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
14945 (insn_live_p): Fix fall off end of function.
14946 (dead_libcall_p): Remove COUNTS argument; update callers.
14947 (delete_trivially_dead_insns): Remove unused variables.
14948
14949 2001-07-17 Andreas Jaeger <aj@suse.de>
14950
14951 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
14952 x86-64 pic support.
14953
14954 * lcm.c (optimize_mode_switching): Avoid warning for unused
14955 variable if !NORMAL_MODE.
14956
14957 * flow.c (try_crossjump_to_edge): Remove unused variable.
14958
14959 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
14960
14961 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14962 atexit declaration in stdlib.h.
14963
14964 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
14965
14966 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
14967
14968 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14969
14970 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
14971 * except.c (finish_eh_generation): Update call of cleanup_cfg;
14972 do rebuild_jump_labels instead of jump_optimize
14973 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
14974 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
14975 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
14976
14977 * flow.c: Include timevar.h
14978 (find_basic_block): Push/pop timevar;
14979 (cleanup_cfg): Likewise.
14980 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
14981 * Makefile: Add dependencies on timevar.h
14982
14983 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
14984 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
14985
14986 * rtl.h (delete_trivially_dead_insns): Add new parameter.
14987 * toplev.c (rest_of_compilation): Update calls.
14988 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
14989 (delete_trivially_dead_insns): ... here; accept new argument
14990 preserve_basic_blocks; preserve basic blocks if set.
14991
14992 * reg-stack.c (stack_regs_mentioned): Return 0 if
14993 stack_regs_mentioned_data is not initialized.
14994 (reg_to_stack): Make stack_regs_mentioned survive after the
14995 reg-stack is completted; do not call cleanup_cfg.
14996 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
14997 make cleanup_cfg after bb-reorder to output to debug file.
14998
14999 2001-07-16 Richard Henderson <rth@redhat.com>
15000
15001 * regclass.c (init_reg_sets): Use only 32 bits per initializer
15002 from int_reg_class_contents.
15003
15004 2001-07-16 Richard Henderson <rth@redhat.com>
15005
15006 * hard-reg-set.h (regs_invalidated_by_call): Declare.
15007 * regclass.c (regs_invalidated_by_call): Move from cse.c.
15008 (init_reg_sets_1): Move initialization from cse_main.
15009 * cse.c (regs_invalidated_by_call): Move to regclass.c.
15010 (cse_main): Move its initialization also.
15011 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15012 * flow.c (propagate_one_insn): Likewise.
15013 * gcse.c (compute_hash_table): Likewise.
15014 (compute_kill_rd, compute_store_table): Likewise.
15015 * sched-deps.c (sched_analyze_1): Likewise.
15016
15017 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
15018
15019 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15020 gen_rtx_SET.
15021
15022 2001-07-16 Steve Ellcey <sje@cup.hp.com>
15023
15024 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15025 in if statement so we don't access undefined memory.
15026
15027 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
15028
15029 * gcse.c: Update comment at top.
15030 Update comment on mem handling.
15031 mem_last_set, mem_first_set, mem_set_in_block: gone.
15032 Declaration of reg_set_info: gone.
15033 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15034 pointless with load_killed_in_block_p (they are *more*
15035 conservative then it, not less, and less accurate).
15036 (oprs_not_set_p): Ditto.
15037 (alloc_gcse_mem): Don't allocate mem_set_in_block
15038 (free_gcse_mem): Don't free it, either.
15039 (record_last_mem_set_info): Update comment in front, remove
15040 mem_*set_* stuff. Note the reason we don't handle stores directly
15041 here.
15042 (compute_hash_table): Update comments to reflect reality. Remove
15043 mem_*set_* references.
15044 (reset_opr_set_tables): Remove mem_*set_* references.
15045 (mark_call): Ditto.
15046 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
15047 (mark_clobber): Ditto (on both parts, we double set here too).
15048 (expr_killed_p): Remove mem_set_in_block test.
15049 (compute_transp): Remove mem_set_in_block test.
15050
15051 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
15052 of edge, and removal of phi alternative to dump file.
15053 (ssa_ccp_substitute_constants): Add note about register now being
15054 constant, and which uses were replaced in what insns to dump file.
15055
15056 2001-07-16 Andreas Jaeger <aj@suse.de>
15057
15058 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15059 variables of type HOST_WIDEST_INT.
15060
15061 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15062 (__bb_exit_func): Correct type of count_max to avoid overflow.
15063 (num_digits): Handle long long argument.
15064
15065 * combine.c (gen_lowpart_for_combine): Remove unused variable.
15066
15067 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15068
15069 * output.h (sdb_begin_function_line): Restore as an extern
15070 variable.
15071 * sdbout.c (sdb_begin_function_line): Make extern.
15072
15073 2001-07-15 Richard Henderson <rth@redhat.com>
15074
15075 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15076 * genrecog.c (maybe_both_true_mode): New.
15077 (maybe_both_true_2): Use it.
15078 (write_switch): Don't put Pmode in a switch.
15079 * rtl.c (mode arrays): Don't explicitly size them.
15080
15081 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15082
15083 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15084 handling; move unconditional splitting before mode switching.
15085
15086 * i386.md (type): Add fistp type.
15087 (i387, length_attr, scheduling definitions): Handle this type.
15088 (fix_trunc?f?i2): Revamp to use mode switching.
15089 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15090 * i386.h (fp_cw_mode): New enum
15091 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15092 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15093
15094 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15095
15096 * Makefile.in (integrate.o): Add debug.h.
15097 * integrate.c (debug.h): Add.
15098 (output_inline_function): Save, reset, and restore debug_hooks.
15099
15100 2001-07-15 Richard Henderson <rth@redhat.com>
15101
15102 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15103 instead of COMPARE for the EQUIV expression.
15104
15105 2001-07-15 Richard Henderson <rth@redhat.com>
15106
15107 * flow.c (redirect_edge_and_branch_force): Initialize
15108 global_live_at_start and global_live_at_end.
15109 (allocate_bb_life_data): Export.
15110 * basic-block.h (allocate_bb_life_data): Declare.
15111 * toplev.c (rest_of_compilation): Call it.
15112
15113 2001-07-15 Richard Henderson <rth@redhat.com>
15114
15115 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15116 (alpha_tablejump_best_label): New.
15117 * config/alpha/alpha-protos.h: Declare them.
15118 * config/alpha/alpha.md: Use braced strings for code blocks.
15119 (tablejump_osf): Break out add with r29.
15120 (tablejump_osf_internal): Remove.
15121 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15122 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15123
15124 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15125
15126 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15127 of the movable.
15128
15129 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15130
15131 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15132 (ix86_fp_jump_nontrivial_p): New.
15133 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15134 use ix86_fp_jump_nontrivial_p.
15135 * i386.c (ix86_fp_jump_nontrivial_p): New.
15136 (ix86_split_fp_branch): Accept code instead of rtx.
15137 (ix86_expand_compare): Expand comparison early in case
15138 doing so is resonably cheap.
15139
15140 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15141
15142 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15143 not 'machine'.
15144 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15145 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15146
15147 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15148
15149 * dbxout.c (dbxout_source_line): Make static, update prototype.
15150 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15151 (dbxout_init, dbxout_finish, dbxout_source_line,
15152 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15153 * dbxout.h (dbxout_source_line): Delete.
15154 * debug.c (debug_nothing_file, debug_nothing_file_int,
15155 debug_nothing_file_charstar_rtx): New.
15156 (do_nothing_debug_hooks): Update.
15157 (debug_nothing_void, debug_nothing_charstar_rtx,
15158 dwarf2out_end_epilogue): New.
15159 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15160 * debug.h (struct rtx_def): Declare.
15161 (gcc_debug_hooks): New hooks source_line, end_epilogue
15162 and end_function.
15163 (debug_nothing_void, debug_nothing_charstar_rtx,
15164 dwarf2out_end_epilogue): New.
15165 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15166 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15167 (dwarf2_debug_hooks): Update.
15168 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15169 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15170 * dwarf2out.h (dwarf2out_source_line): Remove.
15171 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15172 Make static, update prototype.
15173 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15174 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15175 (dwarf_debug_hooks): Update.
15176 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15177 dwarfout_end_function): Remove.
15178 * final.c (profile_function): Use debug hooks for ending functions
15179 and epilogues.
15180 (output_source_line, final_end_function): Update prototype,
15181 use debug hooks.
15182 (final_start_function, final_scan_insn): Update.
15183 * output.h (sdb_begin_function_line): Remove.
15184 (final_end_function): Update prototype.
15185 * sdbout.c (sdb_begin_function_line): Make static.
15186 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15187 (sdbout_source_line): New.
15188 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15189 prototypes.
15190 (sdb_debug_hooks): Update.
15191 (sdbout_init, sdbout_source_line,
15192 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15193 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15194 * toplev.c (compile_file, rest_of_compilation): Update.
15195 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15196 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15197 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15198 Update for prototype changes.
15199 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15200 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15201
15202 2001-07-15 Richard Henderson <rth@redhat.com>
15203
15204 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15205 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15206 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15207 * config/alpha/alpha.c: Likewise.
15208 * config/alpha/alpha.md: Likewise.
15209 * config/alpha/alpha32.h: Likewise.
15210 * config/alpha/vms.h: Likewise.
15211 (OPEN_VMS): Remove.
15212
15213 2001-07-14 Richard Henderson <rth@redhat.com>
15214
15215 * config/alpha/alpha.md: Use define_constants for unspec values.
15216 Substitute throughout.
15217
15218 2001-07-14 Tim Josling <tej@melbpc.org.au>
15219
15220 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15221
15222 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15223
15224 * pa.md: Remove unused constraints from define_split's.
15225
15226 2001-04-14 Richard Henderson <rth@redhat.com>
15227
15228 * ifcvt.c (find_cond_trap): Test for exit block.
15229
15230 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15231
15232 Re-install recently reverted patch.
15233 * emit-rtl.c (try_split): Update mark_jump_label call.
15234 * flow.c (find_sub_basic_blocks): Likewise.
15235 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15236 jump_back_p): Kill.
15237 (mark_all_labels): Kill second parameter.
15238 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15239 (rebuild_jump_labels, jump_optimize_minimal): Update call
15240 of jump_optimize_1.
15241 (jump_optimize_1): Kill crossjumping code.
15242 (mark_jump_label): Kill cross_jump parameter.
15243 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15244 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15245 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15246 splitting.
15247 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15248 DFI_bpro.
15249 (dump_file_info): Likewise.
15250 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15251 reorganize passes to do reg-stack first, bb-reorder second.
15252 * invoke.texi (-d letters doc): Remove the jump2 pass.
15253
15254 2001-07-14 Richard Henderson <rth@redhat.com>
15255
15256 * ifcvt.c (find_cond_trap): New.
15257 (find_if_header): Call it.
15258 (merge_if_block): Relax existing jump sanity check.
15259 * jump.c (jump_optimize_1): Remove conditional trap handling.
15260
15261 2001-07-14 Alan Modra <amodra@bigpond.net.au>
15262
15263 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15264 millicode.
15265 (insn_refs_are_delayed): Correct comment.
15266 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15267 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15268 instead of r31. Make associated insn !TARGET_64BIT, and
15269 provide an additional 64-bit insn that clobbers r2.
15270 (divsi3): Likewise.
15271 (udivsi3): Likewise.
15272 (modsi3): Likewise.
15273 (umodsi3): Likewise.
15274
15275 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15276
15277 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15278
15279 * flow.c (redirect_edge_and_branch_force, split_edge,
15280 try_crossjump_to_edge): Use set_block_for_new_insns.
15281 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15282
15283 2001-07-13 H.J. Lu (hjl@gnu.org)
15284
15285 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15286 the correct patch.
15287
15288 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15289
15290 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15291
15292 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15293
15294 * c-common.c (decl_attributes): Take a pointer to the node to
15295 which attributes are to be attached, and a flags argument.
15296 * c-common.h (enum attribute_flags): New.
15297 (decl_attributes): Update prototype.
15298 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15299 finish_enum, start_function): Update calls to decl_attributes.
15300 * c-parse.in (component_declarator, component_notype_declarator,
15301 label): Update calls to decl_attributes.
15302
15303 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
15304
15305 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15306 * config/avr/avr.c (legitimate_address_p): Return value changed
15307 from letter to register classes. For better debugging.
15308
15309 2001-07-13 Kazu Hirata <kazu@hxi.com>
15310
15311 * jump.c (reversed_comparison_code_parts): Fix comment typos.
15312
15313 2001-07-13 H.J. Lu (hjl@gnu.org)
15314
15315 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15316
15317 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
15318
15319 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
15320 correctly for shared configurations.
15321 * config/t-libgcc-pic: New.
15322 * config/{i386,m68k,sparc}/t-openbsd: New.
15323 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
15324 Support -shared. Support debugging libraries with -g.
15325 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
15326 frame information does not emit pointer diffs.
15327 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
15328 emit pointer diffs.
15329
15330 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15331
15332 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15333
15334 2001-07-13 David Edelsohn <edelsohn@gnu.org>
15335
15336 * combine.c (try_combine): Ensure const_int pow2 is positive.
15337
15338 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
15339
15340 * config.gcc: Add configuration for s/390.
15341 * config/s390/s390.c: New. Subroutines for code generation.
15342 * config/s390/s390.h: New. Definitions for s/390.
15343 * config/s390/s390-protos.h: New. Prototypes.
15344 * config/s390/linux.h: New. Definitions for linux for s/390.
15345 * config/s390/linux64.h: New. Definitions for linux for zSeries.
15346 * config/s390/t-linux: New. Makefile fragment.
15347 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15348 * config/s390/fixdfdi.h: New. Fix L_fix*di.
15349
15350 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
15351
15352 * emit-rtl.c (try_split): Update mark_jump_label call.
15353 * flow.c (find_sub_basic_blocks): Likewise.
15354 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15355 jump_back_p): Kill.
15356 (mark_all_labels): Kill second parameter.
15357 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15358 (rebuild_jump_labels, jump_optimize_minimal): Update call
15359 of jump_optimize_1.
15360 (jump_optimize_1): Kill crossjumping code.
15361 (mark_jump_label): Kill cross_jump parameter.
15362 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15363 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15364 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15365 splitting.
15366 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15367 DFI_bpro.
15368 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15369 reorganize passes to do reg-stack first, bb-reorder second.
15370 * invoke.texi (-d letters doc): Remove the jump2 pass.
15371
15372 2001-07-12 Steve Ellcey <sje@cup.hp.com>
15373
15374 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15375
15376 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15377
15378 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15379 basic blocks.
15380 (verify_flow_info): Make diagnostics prettier.
15381
15382 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
15383
15384 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15385
15386 * flow.c (outgoing_edges_match): Return early if condition reversal
15387 failed.
15388
15389 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
15390
15391 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15392 (mips_move_2words): When splitting a move into two instructions,
15393 prefix the second address operand with '%D'.
15394
15395 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
15396
15397 * Makefile.in (final.o): Depend on debug.h.
15398 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15399 (dbx_debug_hooks): Add new hooks.
15400 (xcoff_debug_hooks): New.
15401 * debug.c (debug_nothing_file_int_int): New.
15402 (do_nothing_debug_hooks): Update.
15403 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15404 (debug_nothing_file_int_int): New.
15405 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15406 static, update prototype.
15407 (dwarf2_debug_hooks): Update.
15408 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15409 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15410 static, update prototype.
15411 (dwarf_debug_hooks): Update.
15412 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15413 * final.c: Include debug.h.
15414 (final_scan_insn): Use debug hooks when beginning and ending blocks.
15415 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15416 static, update prototype.
15417 (sdb_debug_hooks): Update.
15418 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15419 * toplev.c: Distinguish between xcoff and dbx.
15420
15421 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15422 Call all debug hooks, not just dwarf ones.
15423
15424 2001-07-11 Timothy Wall <twall@redhat.com>
15425
15426 * config.gcc: Add configuration for AIX5/IA64.
15427 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
15428 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
15429 support prefix/suffix code.
15430 * config/ia64/t-aix: New. Makefile fragment.
15431 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
15432
15433 2001-07-11 Kazu Hirata <kazu@hxi.com>
15434
15435 * recog.c (validate_change): Fix a comment typo.
15436
15437 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
15438
15439 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
15440 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15441 hooks directly.
15442 * dbxout.c (dbx_debug_hooks): Add new hooks.
15443 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15444 make static.
15445 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15446 make static.
15447 * dbxout.h (dbxout_start_new_source_file,
15448 dbxout_resume_previous_source_file): Delete.
15449 * debug.c (do_nothing_debug_hooks): Add new hooks.
15450 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15451 (debug_nothing_int_charstar, debug_nothing_int): New.
15452 * debug.h (gcc_debug_hooks): New hooks define, undef,
15453 start_source_file and end_source_file.
15454 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15455 (debug_nothing_int_charstar, debug_nothing_int): New.
15456 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
15457 the conditionally compiled section.
15458 (dwarf2out_start_source_file, dwarf2out_end_source_file,
15459 dwarf2out_define, dwarf2out_undef): Make static.
15460 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15461 dwarf2out_define, dwarf2out_undef): Remove.
15462 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15463 (dwarfout_start_source_file, dwarfout_end_source_file,
15464 dwarfout_define, dwarfout_undef): Make static.
15465 (dwarfout_start_source_file_check,
15466 dwarfout_end_source_file_check): New.
15467 (dwarfout_define, dwarfout_finish): Update.
15468 * dwarfout.h (dwarfout_start_new_source_file,
15469 dwarfout_resume_previous_source_file, dwarfout_define,
15470 dwarfout_undef): Remove.
15471 * sdbout.c (sdb_debug_hooks): Add new hooks.
15472 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15473 make static.
15474 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15475 make static, take an arg.
15476 * sdbout.h (sdbout_start_new_source_file,
15477 sdbout_resume_previous_source_file): Delete.
15478 * toplev.c (debug_start_source_file, debug_end_source_file,
15479 debug_define, debug_undef): Delete.
15480 * toplev.h (debug_start_source_file, debug_end_source_file,
15481 debug_define, debug_undef): Delete.
15482
15483 * java/jcf-parse.c: Include debug.h.
15484 (parse_class_file): Update to use debug hooks directly.
15485 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15486
15487 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15488
15489 * alias.c (set_mem_alias_set): New function.
15490 * rtl.h (set_mem_alias_set): Declare it.
15491 * builtins.c (expand_builtin_return_addr): Call it instead of
15492 using MEM_ALIAS_SET accessor.
15493 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15494 (get_memory_rtx, expand_builtin_va_arg): Likewise.
15495 (expand_builtin_va_copy):Likewise.
15496 * caller-save.c (setup_save_areas): Likewise.
15497 * calls.c (compute_argument_addresses): Likewise.
15498 * explow.c (set_mem_attributes): Likewise.
15499 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15500 (expand_assignment, store_constructor_field, store_field): Likewise.
15501 (expand_expr_unaligned): Likewise.
15502 * function.c (assign_stack_temp_for_type): Likewise.
15503 (put_reg_into_stack, gen_mem_addressof): Likewise.
15504 * ifcvt.c (noce_try_cmove_arith): Likewise.
15505 * reload1.c (reload, alter_reg): Likewise.
15506 * config/alpha/alpha.c (get_aligned_mem): Likewise.
15507 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15508 (alpha_expand_unaligned_store): Likewise
15509 (alpha_expand_unaligned_load_words): Likewise.
15510 (alpha_expand_unaligned_store_words): Likewise.
15511 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15512 (alpha_expand_epilogue): Likewise.
15513 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15514 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15515 * config/i386/i386.c (legitimize_pic_address): Likewise.
15516 * config/i960/i960.c (setup_incoming_varargs): Likewise.
15517 * config/ia64/ia64.c (spill_restore_mem): Likewise.
15518 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15519 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15520 * config/mips/mips.c (mips_va_arg): Likewise.
15521 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15522 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15523 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15524 (setup_incoming_varargs, rs6000_va_arg): Likewise.
15525 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15526 (rs6000_emit_epilogue): Likewise.
15527 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15528 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15529 * config/v850/v850.c (v850_va_arg): Likewise.
15530
15531 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
15532
15533 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15534 when fallthru edge is present.
15535 (mege_blocks): Handle case where creation of jump insn
15536 is required.
15537
15538 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15539 CLEANUP_POST_REGSTACK): New constants.
15540 * except.c (finish_eh_generation): Update call of cleanup_cfg,
15541 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15542 * output.h (cleanup_cfg): Update prototype.
15543 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15544 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15545 cleanup_cfg call; kill missleading comment.
15546 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15547 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15548 parameter; control optimizations performed using it.
15549 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15550 try_crossjump_bb): New functions.
15551
15552 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15553
15554 * pa.c (pa_output_function_prologue): Delete prototype. Make function
15555 extern.
15556 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15557 pa_output_function_prologue.
15558 * pa-protos.h (pa_output_function_prologue): New prototype.
15559
15560 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15561
15562 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15563 and low to get correct sign extension in low+high test.
15564
15565 2001-07-11 Janis Johnson <janis@us.ibm.com>
15566
15567 * gcov.c (arcdata): Use gcov_type to fix branch percentage
15568 for large hit count.
15569
15570 * profile.c (branch_prob): Fix .bbg info for computed gotos
15571 and C++ EH code.
15572
15573 2001-07-11 Mark Mitchell <mark@codesourcery.com>
15574
15575 * stmt.c (parse_output_constraint): New function, split out
15576 from ...
15577 (expand_asm_operands): ... here. Use parse_output_constraint.
15578 * tree.h (parse_output_constraint): Declare it.
15579
15580 2001-07-11 Richard Henderson <rth@redhat.com>
15581
15582 * bitmap.c: Comment some functions; fiddle whitespace.
15583 (bitmap_free): Don't export.
15584 (bitmap_element_allocate): Use memset.
15585 * bitmap.h (bitmap_free): Don't declare.
15586
15587 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
15588
15589 * gcse.c, lcm.c, sched-deps.c:
15590 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15591
15592 * flow.c (flow_loops_find): Free dom if we found no loops, since
15593 we aren't going to save it.
15594
15595 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15596 done.
15597
15598 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
15599
15600 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15601
15602 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15603
15604 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15605 #ifndef DWARF2_DEBUGGING_INFO.
15606
15607 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15608
15609 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15610
15611 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15612
15613 * config/mips/mips.c (gen_int_relational): Tell the caller not to
15614 reverse a branch if a NE comparison is implemented with GTU.
15615
15616 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15617 H.J. Lu <hjl@gnu.org>
15618
15619 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15620 constant addresses.
15621 (call_internal2): Likewise.
15622 (call_value_internal1): Likewise.
15623 (call_value_internal2): Likewise.
15624 (call_value_multiple_internal1): Likewise.
15625 (call_value_multiple_internal2): Likewise.
15626
15627 2001-07-10 Kazu Hirata <kazu@hxi.com>
15628
15629 * calls.c (emit_library_call_value_1): Fix a comment typo.
15630 * dwarf2out.c (mem_loc_descriptor): Likewise.
15631 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15632
15633 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
15634
15635 * simplify-rtx.c (simplify_subreg): Fix typo in comment
15636
15637 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15638
15639 * recog.c (offsettable_address_p): Handle LO_SUM case.
15640 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15641 instead of plus_constant.
15642
15643 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15644
15645 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15646 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15647
15648 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15649
15650 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15651 adjust_address_nv instead of plus_constant.
15652
15653 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
15654
15655 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15656 dwarf2out.o): Depend on debug.h, wrap long lines.
15657 * dbxout.c: Include debug.h.
15658 (dbx_debug_hooks): New.
15659 (dbxout_init): Make static, take just 2 args.
15660 (dbxout_finish): Make static.
15661 * dbxout.h (dbxout_init, dbxout_finish): Delete.
15662 * debug.c: New file.
15663 * debug.h: New file.
15664 * dwarf2out.c: Include debug.h.
15665 (dwarf2_debug_hooks): New.
15666 (dwarf2out_init): Make static.
15667 (dwarf2out_finish): Make static, take 2 args.
15668 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15669 * dwarfout.c: Include debug.h.
15670 (dwarf_debug_hooks): New.
15671 (dwarfout_init): Make static.
15672 (dwarfout_finish): Make static, take 2 args.
15673 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15674 * sdbout.c: Include debug.h.
15675 (sdb_debug_hooks): New.
15676 (sdbout_init): Make static, take 2 args.
15677 * sdbout.h (sdbout_init): Delete.
15678 * toplev.c: Include debug.h.
15679 (debug_hooks): New.
15680 (compile_file): Set deubg_hooks based on command line options.
15681 Use the hooks unconditionally rather than conditional compilation.
15682
15683 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
15684
15685 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
15686 first_insn_after_basic_block_note instead.
15687
15688 * df.c (df_bb_refs_unlink): #if 0 out for now.
15689
15690 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
15691
15692 * ssa.h: Add prototype for ssa_const_prop
15693 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15694 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15695 (ssa_fast_dce): Remove unused variable
15696
15697 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15698
15699 * diagnostic.c (finish_diagnostic): Rename to
15700 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
15701 calls thourghout.
15702
15703 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
15704
15705 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15706 .loc support.
15707
15708 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15709 (dump_file): Only pad the demangled name with spaces if the
15710 mangled name was padded with spaces.
15711
15712 2001-07-10 Bernd Schmidt <bernds@redhat.com>
15713
15714 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15715 edge detection.
15716
15717 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15718
15719 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15720 extraction if no direct load if either EXPAND_CONST_ADDRESS or
15721 EXPAND_INITIALIZER.
15722
15723 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15724 whether can put offset inside LO_SUM to check mode alignment, not size.
15725
15726 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15727
15728 * doc/tm.texi (Misc): Fix thinko.
15729
15730 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
15731
15732 * regmove.c (replace_in_call_usage): Fix warnings.
15733 * sched-deps.c (add_dependence): Fix warnings.
15734 * simplify-rtx.c (simplify_subreg): Likewise.
15735 Return NULL_RTX instead of NULL.
15736
15737 * reg-stack.c (emit_swap_insn): Eliminate warnings.
15738 (subst_asm_stack_regs): Likewise.
15739
15740 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15741 warnings.
15742
15743 * dwarf2out.c (output_call_frame_info): Declare i as int.
15744 (build_abbrev_table): Declare n_alloc as int.
15745 (dwarf2out_finish): Initialize die.
15746 * except.c: Declare sjlj_funcdef_number as unsigned.
15747 (connect_post_landing_pads): Declare j as unsigned.
15748 (convert_to_eh_region_ranges): Initialize call_site.
15749 (output_function_exception_table): Initialize tt_format_size.
15750 * expr.c (move_by_pieces_1): Initialize to1.
15751 (store_constructor): Initialize minelt and maxelt.
15752 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15753 * function.c (instantiate_decls): Avoid signed/unsigned warning.
15754
15755 * c-decl.c (combine_parm_decls): Unused, remove.
15756 * c-tree.h: Remove prototype for combine_parm_decls.
15757
15758 * reload.c (push_reload): Fix warning.
15759 (regno_clobbered_p): Likewise.
15760 * reload1.c (replace_pseudos_in_call_usage): Likewise.
15761 (reload_combine): Likewise.
15762
15763 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15764 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15765 warnings.
15766 * bitmap.c (bitmap_operation): Change user.
15767 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15768
15769 2001-07-10 Eric Christopher <echristo@redhat.com>
15770
15771 * config/mips/mips.c (override_options): Fix typo.
15772
15773 2001-07-09 Stan Shebs <shebs@apple.com>
15774
15775 * target.h (struct gcc_target): New fields init_builtins and
15776 expand_builtin.
15777 * target-def.h (TARGET_INIT_BUILTINS): New macro.
15778 (TARGET_EXPAND_BUILTIN): New macro.
15779 (TARGET_INITIALIZER): Add them.
15780 * builtins.c: Include target.h.
15781 (expand_builtin): Use targetm.expand_builtin.
15782 (default_init_builtins): New function.
15783 (default_expand_builtin): New function.
15784 * expr.h (default_init_builtins): Declare.
15785 (default_expand_builtin): Declare.
15786 * c-common.c (c_common_nodes_and_builtins): Use
15787 targetm.init_builtins.
15788 * defaults.h (MD_INIT_BUILTINS): Remove.
15789 * Makefile.in (builtins.o): Depend on target.h.
15790
15791 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15792 (TARGET_EXPAND_BUILTIN): Define.
15793 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15794 (MD_EXPAND_BUILTIN): Remove.
15795
15796 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15797 (TARGET_EXPAND_BUILTIN): Define.
15798 (c4x_init_builtins): Make endlink arg a local.
15799 (c4x_print_operand): Fix typos in adjust_address usages.
15800 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
15801 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
15802 (MD_EXPAND_BUILTIN): Remove.
15803
15804 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
15805 (TARGET_EXPAND_BUILTIN): Define.
15806 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
15807 (ix86_init_builtins): Call new function only if TARGET_MMX.
15808 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
15809 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
15810 (MD_EXPAND_BUILTIN): Remove.
15811
15812 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
15813 (TARGET_EXPAND_BUILTIN): Define.
15814 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
15815 (MD_EXPAND_BUILTIN): Remove.
15816
15817 * doc/tm.texi: Document these changes.
15818
15819 2001-07-09 Diego Novillo <dnovillo@redhat.com>
15820
15821 * basic-block.h (tree_node): Forward declare if needed.
15822 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
15823 (BLOCK_HEAD_TREE): Define.
15824 (BLOCK_END_TREE): Define.
15825 (struct loops): Rename field 'tree' to 'tree_root'.
15826 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
15827 'end_tree'.
15828 (flow_loops_tree_build): Rename reference to field 'tree' to
15829 'tree_root'.
15830 (flow_loops_level_compute): Ditto.
15831 * predict.c (estimate_bb_frequencies): Ditto.
15832 * tree.h (struct tree_common): Add field 'aux'.
15833
15834 2001-07-09 Stan Shebs <shebs@apple.com>
15835
15836 * config/darwin.c (darwin_encode_section_info): Don't mark any
15837 DECL_EXTERNAL node as defined.
15838
15839 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
15840
15841 * pa.c (pa_init_machine_status, pa_mark_machine_status,
15842 pa_free_machine_status, hppa_init_pic_save): Delete.
15843 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
15844 (hppa_profile_hook): Use hppa_pic_save_rtx.
15845 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
15846 hppa_init_pic_save): Delete.
15847 (hppa_pic_save_rtx): Declare.
15848 * pa.md (call, call_value, sibcall, sibcall_value,
15849 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
15850
15851 2001-07-09 Kazu Hirata <kazu@hxi.com>
15852
15853 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
15854 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
15855
15856 2001-07-09 Andreas Jaeger <aj@suse.de>
15857
15858 * output.h: Add declaration of final_forward_branch_p.
15859
15860 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
15861
15862 * varray.c: Include errors.h for internal_error and trim_filename
15863 declarations.
15864
15865 * Makefile.in (varray.o): Add errors.h.
15866
15867 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
15868
15869 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
15870 * optabs.c (have_add2_insn): Check whether the add insn chosen
15871 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
15872 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
15873
15874 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
15875
15876 * Makefile.in (OBJS): Add ssa-ccp.o
15877 (ssa-ccp.o): Add dependencies.
15878 * toplev.c (DFI_ssa_ccp): New dump file enum.
15879 (dump_file): Add entry for dumping after SSA CCP.
15880 (flag_ssa_ccp): New flag variable.
15881 (f_options): Add -fssa-ccp.
15882 (rest_of_compilation): Run SSA CCP if requested.
15883 * timevar.def (TV_SSA_CCP): New timevar.
15884 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
15885 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
15886 Fix minor typo in SSA DCE documentation.
15887 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
15888 Add documentation for new dump option. Renumber dump files
15889 appropriately.
15890
15891 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15892
15893 * emit-rtl.c (gen_highpart_mode): New.
15894 * rtl.h (gen_highpart_mode): Declare.
15895 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
15896 operand can be VOIDmode constant.
15897
15898 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
15899
15900 * flow.c (redirect_edge_and_branch_force): New.
15901 (can_fallthru): Ensure that basic blocks are succeeding.
15902 (try_optimize_cfg): Do not delete basic block if it is the last one.
15903
15904 * flow.c (try_redirect_by_replacing_jump): Do not remove
15905 jumps with side effects, unlink chain on fallthru edge;
15906 set block for new jump instruction; avoid basic block to
15907 over by line number note.
15908
15909 * flow.c (try_simplify_condjump): Verify that the condjump
15910 is not always falling through.
15911
15912 Re-install patch:
15913 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15914
15915 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15916 (try_redirect_by_replacing_jump): Update properly the count
15917 and frequency information.
15918
15919 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15920
15921 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
15922 address that is a LO_SUM specially.
15923 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
15924
15925 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
15926
15927 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
15928 (operand_subword): Use them.
15929 (change_address_1): Renamed from change_address; new arg VALIDATE.
15930 * expr.h: Reflect above changes; change_address now macro.
15931 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
15932 making MEM.
15933 * cselib.c (add_mem_for_addr): Likewise.
15934 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
15935 * regmove.c (try_apply_stack_adjustment): Likewise.
15936 * reload.c (push_reload, make_memloc): Likewise.
15937 * reload1.c (eliminate_regs): Likewise.
15938 * simplify-rtx.c (simplify_replace_rtx): Likewise.
15939 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
15940 adjust_addess.
15941 * combine.c (make_extraction, simplify_shift_const): Likewise.
15942 (gen_lowpart_for_combine): Likewise.
15943 * cse.c (gen_lowpart_if_possible): Likewise.
15944 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
15945 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
15946 * optabs.c (gen_move_insn): Likewise.
15947 * reload1.c (alter_reg): Likewise.
15948 * simplify-rtx.c (simplify_subreg): Likewise.
15949 * stmt.c (expand_anon_union_decl): Likewise.
15950 * recog.c (validate_replace_rtx_1): Likewise.
15951 (expr.h): Include.
15952 * Makefile.in (recog.o): Add $(EXPR_H).
15953 * explow.c (stabilize): Call replace_equiv_address.
15954 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
15955 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
15956
15957 2001-07-03 Andrew Haley <aph@redhat.com>
15958
15959 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
15960 the mode of the memory location.
15961
15962 2001-07-09 Bo Thorsen <bo@suse.co.uk>
15963
15964 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
15965
15966 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
15967
15968 * final.c (output_addr_const): Use target opening and
15969 closing parentheses.
15970 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
15971 defaults, add to TARGET_ASM_OUT.
15972 * target.h (struct gcc_target): Add open_paren and close_paren.
15973 * doc/md.texi: Update.
15974 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
15975 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
15976 TARGET_ASM_CLOSE_PAREN.
15977 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15978 Override.
15979 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15980 Override.
15981 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
15982 * config/a29k/a29k.h: Similarly.
15983 * config/alpha/alpha.h: Similarly.
15984 * config/arc/arc.h: Similarly.
15985 * config/arm/aof.h: Similarly.
15986 * config/arm/aout.h: Similarly.
15987 * config/avr/avr.h: Similarly.
15988 * config/c4x/c4x.h: Similarly.
15989 * config/clipper/clipper.h: Similarly.
15990 * config/convex/convex.h: Similarly.
15991 * config/d30v/d30v.h: Similarly.
15992 * config/dsp16xx/dsp16xx.h: Similarly.
15993 * config/elxsi/elxsi.h: Similarly.
15994 * config/fr30/fr30.h: Similarly.
15995 * config/h8300/h8300.h: Similarly.
15996 * config/i370/i370.h: Similarly.
15997 * config/i386/i386.h: Similarly.
15998 * config/i860/i860.h: Similarly.
15999 * config/i960/i960.h: Similarly.
16000 * config/ia64/ia64.h: Similarly.
16001 * config/m32r/m32r.h: Similarly.
16002 * config/m68hc11/m68hc11.h: Similarly.
16003 * config/m68k/m68k.h: Similarly.
16004 * config/m88k/m88k.h: Similarly.
16005 * config/mcore/mcore.h: Similarly.
16006 * config/mips/mips.h: Similarly.
16007 * config/mn10200/mn10200.h: Similarly.
16008 * config/mn10300/mn10300.h: Similarly.
16009 * config/ns32k/ns32k.h: Similarly.
16010 * config/pa/pa.h: Similarly.
16011 * config/pdp11/pdp11.h: Similarly.
16012 * config/pj/pj.h: Similarly.
16013 * config/romp/romp.h: Similarly.
16014 * config/rs6000/rs6000.h: Similarly.
16015 * config/sh/sh.h: Similarly.
16016 * config/sparc/sparc.h: Similarly.
16017 * config/v850/v850.h: Similarly.
16018 * config/vax/vax.h: Similarly.
16019 * config/we32k/we32k.h: Similarly.
16020
16021 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
16022
16023 * doc/c-tree.texi: Document representation of attributes.
16024
16025 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16026
16027 * doc/tm.texi: Update some places for the rename of target to
16028 targetm. Fix typo.
16029
16030 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16031
16032 * target.h (struct gcc_target): Add insert_attributes.
16033 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16034 (TARGET_INITIALIZER): Update.
16035 * tree.c, tree.h (default_insert_attributes): New function.
16036 Update comments on other default functions to refer to targetm,
16037 not target.
16038 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16039 TARGET_INSERT_ATTRIBUTES.
16040 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16041 * c-common.c (decl_attributes): Use targetm.insert_attributes.
16042 Don't use PRAGMA_INSERT_ATTRIBUTES.
16043 * Makefile.in (c-common.o): Depend on $(TARGET_H).
16044 * c-decl.c (start_decl, start_function): Don't call
16045 SET_DEFAULT_DECL_ATTRIBUTES.
16046 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16047 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16048 declare.
16049 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16050 (c4x_check_attribute): Avoid modifying attribute list itself.
16051 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16052 Make static.
16053 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16054 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16055 declare.
16056 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16057 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16058 Make static.
16059 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16060 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16061 declare.
16062 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16063 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16064 Adjust parameters. Make static.
16065
16066 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16067
16068 * c-common.c (decl_attributes): Only take a single attributes
16069 parameter.
16070 * c-common.h (decl_attributes): Update prototype.
16071 * c-decl.c (start_decl, start_function): Only take a single
16072 attributes parameter. Update calls to decl_attributes.
16073 (finish_struct, finish_enum): Update calls to decl_attributes.
16074 (push_parm_decl): Expect unified list of attributes. Update call
16075 to decl_attributes.
16076 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16077 notype_nested_function, component_declarator,
16078 component_notype_declarator, label): Update calls to
16079 decl_attributes.
16080 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16081 lists that are passed to push_parm_decl.
16082 * c-tree.h (start_function, start_decl): Update prototypes.
16083 * config/sh/sh-protos.h, config/sh/sh.c
16084 (sh_pragma_insert_attributes): Only take a single attributes
16085 parameter.
16086 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16087 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16088 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16089 build_module_descriptor, generate_static_references,
16090 generate_strings, build_selector_translation_table,
16091 generate_descriptor_table, generate_protocols,
16092 generate_ivars_list, generate_dispatch_table,
16093 generate_protocol_list, generate_category,
16094 generate_shared_structures, really_start_method, add_objc_decls,
16095 generate_classref_translation_entry): Update calls to start_decl
16096 and start_function.
16097 (build_tmp_function_decl, start_method_def): Unify attribute lists
16098 that are passed to push_parm_decl.
16099
16100 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16101
16102 * final.c (no_asm_to_stream): New.
16103 (final_scan_insn): Use target structures for prologue ends
16104 and epilogue starts.
16105 * output.h (no_asm_to_stream): New.
16106 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16107 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16108 (TARGET_ASM_OUT): Update.
16109 * target.h (struct gcc_target): New members function_end_prologue
16110 and function_begin_epilogue.
16111 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16112 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16113 * config/alpha/alpha.c (output_end_prologue): Rename to
16114 alpha_output_function_end_prologue. Use in target struct
16115 and make static.
16116 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16117 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16118 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16119 ia64_output_function_end_prologue. Use in target struct
16120 and make static.
16121 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16122 mistyped prototypes.
16123 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16124 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16125 Delete.
16126 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16127 an use in target struct, make static.
16128 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16129 Delete.
16130
16131 2001-07-08 Richard Henderson <rth@redhat.com>
16132
16133 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16134
16135 2001-07-08 Richard Henderson <rth@redhat.com>
16136
16137 * config/i386/i386.md: Remove constraints strings from define_split
16138 and define_peephole2 patterns.
16139 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16140 (eh_return): Use them.
16141
16142 2001-07-08 Richard Henderson <rth@redhat.com>
16143
16144 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16145 Document MD_FALLBACK_FRAME_STATE_FOR.
16146
16147 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16148
16149 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16150 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16151 elimination.
16152 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16153
16154 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16155
16156 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16157 of the label inside NAME as opposed to just the end of NAME.
16158
16159 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16160
16161 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16162 * config/alpha/alpha.c (alpha_init_machine_status,
16163 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16164 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16165 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16166 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16167
16168 2001-07-06 Stan Shebs <shebs@apple.com>
16169
16170 * target.h (targetm): Rename global from "target", so as not to
16171 conflict with local variables.
16172 * c-decl.c: Ditto.
16173 * c-typeck.c: Ditto.
16174 * final.c: Ditto.
16175 * tree.c: Ditto.
16176 * cp/decl.c: Ditto.
16177 * cp/decl2.c: Ditto.
16178 * cp/typeck.c: Ditto.
16179 * 1750a/1750a.c: Ditto.
16180 * a29k/a29k.c: Ditto.
16181 * arc/arc.c: Ditto.
16182 * arm/arm.c: Ditto.
16183 * avr/avr.c: Ditto.
16184 * clipper/clipper.c: Ditto.
16185 * convex/convex.c: Ditto.
16186 * d30v/d30v.c: Ditto.
16187 * dsp16xx/dsp16xx.c: Ditto.
16188 * elxsi/elxsi.c: Ditto.
16189 * fr30/fr30.c: Ditto.
16190 * h8300/h8300.c: Ditto.
16191 * i370/i370.c: Ditto.
16192 * i386/i386.c: Ditto.
16193 * i860/i860.c: Ditto.
16194 * i960/i960.c: Ditto.
16195 * ia64/ia64.c: Ditto.
16196 * m32r/m32r.c: Ditto.
16197 * m68hc11/m68hc11.c: Ditto.
16198 * m68k/m68k.c: Ditto.
16199 * m88k/m88k.c: Ditto.
16200 * mips/mips.c: Ditto.
16201 * ns32k/ns32k.c: Ditto.
16202 * pa/pa.c: Ditto.
16203 * pdp11/pdp11.c: Ditto.
16204 * romp/romp.c: Ditto.
16205 * rs6000/rs6000.c: Ditto.
16206 * sh/sh.c: Ditto.
16207 * sparc/sparc.c: Ditto.
16208 * vax/vax.c: Ditto.
16209 * we32k/we32k.c: Ditto.
16210 * doc/tm.texi: Update the manual to match.
16211
16212 2001-07-06 Richard Henderson <rth@redhat.com>
16213
16214 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16215 DWARF2_UNWIND_INFO not just whether it is defined.
16216
16217 2001-07-06 Diego Novillo <dnovillo@redhat.com>
16218
16219 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16220 call to simplify_binary_operation returns a new pattern.
16221
16222 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16223
16224 * glimits.h (__SHRT_MAX__): New.
16225 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16226 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16227
16228 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16229
16230 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16231 avoid warnings.
16232
16233 2001-07-06 Richard Henderson <rth@redhat.com>
16234
16235 * bitmap.c (bitmap_release_memory): Move adjacent to the
16236 allocation functions.
16237 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16238 the implementation. Binary search for the set bit.
16239 (bitmap_union_of_diff): Allocate the temporary on the stack
16240 instead of using xmalloc.
16241
16242 2001-07-06 Richard Henderson <rth@redhat.com>
16243
16244 * genrecog.c (validate_pattern): Warn for constraints in
16245 define_{expand,split,peephole2}. Remove strict_low_part
16246 before looking up match_dup.
16247
16248 2001-07-06 DJ Delorie <dj@redhat.com>
16249
16250 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16251 chapter about various build hints and history. Add section
16252 talking about the various types of native and cross builds.
16253
16254 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16255
16256 * Makefile.in (final.o): Depend on target.h.
16257 * final.c: Include target.h.
16258 (default_function_pro_epilogue): New.
16259 (final_start_function): Use target structure for function prologues.
16260 (final_end_function): Use target structure for function epilogues.
16261 * fold-const.c (real_hex_to_f): Constify s and p.
16262 * output.h (default_function_pro_epilogue): New.
16263 * real.h (real_hex_to_f): Update prototype.
16264 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16265 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16266 (TARGET_INITIALIZER): Update.
16267 * target.h (gcc_target): Add struct asm_out.
16268 * doc/tm.texi: Update.
16269
16270 config:
16271 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16272 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16273 in cpu/cpu.c, or rename old functions consistently. Take
16274 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16275 redundant macros and prototypes. Make new functions static.
16276
16277 * 1750a/1750a.c: Similarly.
16278 * 1750a/1750a.h: Similarly.
16279 * a29k/a29k-protos.h: Similarly.
16280 * a29k/a29k.c: Similarly.
16281 * a29k/a29k.h: Similarly.
16282 * arc/arc-protos.h: Similarly.
16283 * arc/arc.c: Similarly.
16284 * arc/arc.h: Similarly.
16285 * arm/arm-protos.h: Similarly.
16286 * arm/arm.c: Similarly.
16287 * arm/arm.h: Similarly.
16288 * avr/avr-protos.h: Similarly.
16289 * avr/avr.c: Similarly.
16290 * avr/avr.h: Similarly.
16291 * clipper/clipper-protos.h: Similarly.
16292 * clipper/clipper.c: Similarly.
16293 * clipper/clipper.h: Similarly.
16294 * convex/convex.c: Similarly.
16295 * convex/convex.h: Similarly.
16296 * d30v/d30v-protos.h: Similarly.
16297 * d30v/d30v.c: Similarly.
16298 * d30v/d30v.h: Similarly.
16299 * d30v/d30v.md: Similarly.
16300 * dsp16xx/dsp16xx-protos.h: Similarly.
16301 * dsp16xx/dsp16xx.c: Similarly.
16302 * dsp16xx/dsp16xx.h: Similarly.
16303 * elxsi/elxsi.c: Similarly.
16304 * elxsi/elxsi.h: Similarly.
16305 * fr30/fr30.c: Similarly.
16306 * fr30/fr30.md: Similarly.
16307 * h8300/h8300-protos.h: Similarly.
16308 * h8300/h8300.c: Similarly.
16309 * h8300/h8300.h: Similarly.
16310 * i370/i370-protos.h: Similarly.
16311 * i370/i370.c: Similarly.
16312 * i370/i370.h: Similarly.
16313 * i386/i386.c: Similarly.
16314 * i386/osf1elf.h: Similarly.
16315 * i386/osfrose.h: Similarly.
16316 * i860/i860-protos.h: Similarly.
16317 * i860/i860.c: Similarly.
16318 * i860/i860.h: Similarly.
16319 * i960/i960-protos.h: Similarly.
16320 * i960/i960.c: Similarly.
16321 * i960/i960.h: Similarly.
16322 * ia64/ia64-protos.h: Similarly.
16323 * ia64/ia64.c: Similarly.
16324 * ia64/ia64.h: Similarly.
16325 * m32r/m32r-protos.h: Similarly.
16326 * m32r/m32r.c: Similarly.
16327 * m32r/m32r.h: Similarly.
16328 * m68hc11/m68hc11-protos.h: Similarly.
16329 * m68hc11/m68hc11.c: Similarly.
16330 * m68hc11/m68hc11.h: Similarly.
16331 * m68k/crds.h: Similarly.
16332 * m68k/dpx2.h: Similarly.
16333 * m68k/m68k-protos.h: Similarly.
16334 * m68k/m68k.c: Similarly.
16335 * m68k/m68k.h: Similarly.
16336 * m68k/news.h: Similarly.
16337 * m88k/m88k-protos.h: Similarly.
16338 * m88k/m88k.c: Similarly.
16339 * m88k/m88k.h: Similarly.
16340 * mips/mips-protos.h: Similarly.
16341 * mips/mips.c: Similarly.
16342 * mips/mips.h: Similarly.
16343 * ns32k/merlin.h: Similarly.
16344 * ns32k/ns32k.c: Similarly.
16345 * ns32k/ns32k.h: Similarly.
16346 * ns32k/tek6000.h: Similarly.
16347 * pa/pa-protos.h: Similarly.
16348 * pa/pa.c: Similarly.
16349 * pa/pa.h: Similarly.
16350 * pdp11/2bsd.h: Similarly.
16351 * pdp11/pdp11-protos.h: Similarly.
16352 * pdp11/pdp11.c: Similarly.
16353 * pdp11/pdp11.h: Similarly.
16354 * romp/romp-protos.h: Similarly.
16355 * romp/romp.c: Similarly.
16356 * romp/romp.h: Similarly.
16357 * rs6000/rs6000-protos.h: Similarly.
16358 * rs6000/rs6000.c: Similarly.
16359 * rs6000/rs6000.h: Similarly.
16360 * rs6000/sysv4.h: Similarly.
16361 * sh/sh-protos.h: Similarly.
16362 * sh/sh.c: Similarly.
16363 * sh/sh.h: Similarly.
16364 * sparc/sparc-protos.h: Similarly.
16365 * sparc/sparc.c: Similarly.
16366 * sparc/sparc.h: Similarly.
16367 * vax/vax.c: Similarly.
16368 * vax/vax.h: Similarly.
16369 * vax/vms.h: Similarly.
16370 * we32k/we32k.c: Similarly.
16371 * we32k/we32k.h: Similarly.
16372
16373 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
16374
16375 * basic-block.h (first_insn_after_basic_block_note): Declare.
16376 * flow.c (first_insn_after_basic_block_note): Define. Moved
16377 from...
16378 * ssa.c (first_insn_after_basic_block_note): Remove.
16379 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16380 necessary.
16381 (ssa_eliminate_dead_code): Properly update the CFG and PHI
16382 nodes when we find a dead conditional branch. Insert BARRIERs
16383 after any blocks with no successors, but which do not have
16384 any BARRIERs.
16385
16386 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16387
16388 * varray.c (varray_check_failed): Use internal_error.
16389
16390 2001-07-05 Andrew Haley <aph@redhat.com>
16391
16392 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16393 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16394 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16395
16396 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
16397
16398 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16399 reference if the target constant is also a SYMBOL_REF.
16400
16401 2001-07-05 Eric Christopher <echristo@redhat.com>
16402
16403 * config/mips/mips.h (MASK_MIPS3900): Remove.
16404 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16405 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16406 (TARGET_MIPS3900): Change to use mips_arch.
16407 (TARGET_MIPS4000): New.
16408 (TARGET_MIPS4100): New.
16409 (TARGET_MIPS4300): New.
16410 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16411 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16412 for -mipsX.
16413 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16414 (ISA_HAS_BRANCHLIKELY): To here.
16415 (CC1_CPU_SPEC): New.
16416 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
16417 (mips_arch_string): Declare.
16418 (mips_arch): Declare.
16419 (TARGET_OPTIONS): Add -march and -mtune.
16420
16421 * config/mips/mips.c (mips_arch_string): New.
16422 (mips_arch): New.
16423 (override_options): Handle -march for codegen and -mtune
16424 for scheduling. Use mips_arch. Move tx39 target default here.
16425 (mips_parse_cpu): Move error message to override_options.
16426
16427 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16428
16429 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16430
16431 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16432 (MIPS Options): Ditto. Change mcpu entry to historical text.
16433
16434 2001-07-05 H.J. Lu (hjl@gnu.org)
16435
16436 * config/mips/mips.c (mips_parse_cpu): New function to parse
16437 -march=*/-mcpu=*.
16438
16439 2001-07-05 Jim Wilson <wilson@redhat.com>
16440
16441 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16442 * config/ia64/t-ia64: Likewise.
16443 (LIB1ASMFUNCS): Update comment.
16444
16445 2001-07-05 David Edelsohn <edelsohn@gnu.org>
16446
16447 * doc/install.texi (Install GCC: Binaries): Fix typo.
16448
16449 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16450
16451 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16452 reference using the stack pointer, adjust it since we push Y
16453 temporarily.
16454 ("*ashrsi3"): Likewise.
16455 ("*lshrsi3"): Likewise.
16456
16457 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16458
16459 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16460 when -fomit-frame-pointer is used.
16461
16462 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
16463
16464 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16465 (try_redirect_by_replacing_jump): Reverse updating properly the
16466 count and frequency information. Reverse removing cc0 setter.
16467 (forwarder_block_p): Reverse fixing for fallthru blocks.
16468
16469 2001-07-05 DJ Delorie <dj@redhat.com>
16470
16471 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16472 (translate_options): If the above is defined, use it to map
16473 given options to new options.
16474 * doc/tm.texi: Document it.
16475
16476 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
16477 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16478
16479 * doc/invoke.texi (Optimize Options): Document that -fgcse may
16480 cause programs using computed gotos to run more slowly.
16481
16482 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16483
16484 * doc/install.texi (Specific): Markup, spelling and typo fixes.
16485 Fixed sorting.
16486 Consistently require binutils 2.11.2, not prereleases.
16487 (Specific, decstation-*): Canonicalize as mips-dec-*.
16488 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16489 always necessary.
16490 (Specific, m68k-altos): Removed reference to README.altos, deleted.
16491 (Specific, mips-*): Reword MIPS C compiler requirements.
16492 (Specific, powerpc*-*-*): New, mention --with-cpu once.
16493 (Specific, sunv5): Removed, obsolete.
16494
16495 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
16496
16497 * dwarf2out.c (output_loc_list): Use an all ones mask for
16498 .text asm output and don't rely on long long
16499 literals. Reformat some long lines.
16500
16501 2001-07-05 Andreas Jaeger <aj@suse.de>
16502
16503 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16504 section.
16505
16506 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16507
16508 * dwarf2out.c (dwarf2out_define): Update comment.
16509 (dwarf2out_undef): Ditto.
16510 (dwarf2out_start_source_file): Ditto.
16511 (dwarf2out_end_source_file): Ditto.
16512 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16513 since we never call the start/end debug hook for the primary file.
16514
16515 2001-07-04 Kazu Hirata <kazu@hxi.com>
16516
16517 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16518 from shll.
16519
16520 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16521
16522 * cppinit.c (remove_dup_dirs): Inform if a system include
16523 directory is being reordered.
16524 * doc/invoke.texi (Directory Options): GCC warns if you hide a
16525 system include.
16526 * doc/cpp.texi (Search Paths): Likewise.
16527 * doc/gcc.texi (Interoperation): Remove information about
16528 -I/usr/include.
16529
16530 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16531
16532 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16533 (VARRAY_TOP_CHAR_PTR): Likewise.
16534
16535 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16536
16537 * gcc.c (process_command): Don't assign elements of a const char*.
16538
16539 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16540
16541 * emit-rtl.c (change_address): Don't abort if invalid address while
16542 reload is in progress.
16543
16544 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16545
16546 * c-lex.c (cb_file_change): Pass line number to
16547 debug_start_source_file.
16548 (cb_undefine): Pass correct line number to debug_undef.
16549
16550 * toplev.c (debug_start_source_file): Add line number to
16551 parameters. Pass it along to dwarf2out_start_source_file.
16552 (decode_g_option): Stop resetting debug level back to normal when
16553 we change debug formats, unless the current level is
16554 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16555 3).
16556
16557 * toplev.h (debug_start_source_file): Add line number to
16558 parameters.
16559
16560 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16561 parameters.
16562
16563 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16564 parameters.
16565 Output debug_macinfo data for starting file if requested.
16566 (dwarf2out_end_source_file): Output debug_macinfo data for ending
16567 file if requested.
16568 (dwarf2out_define): Output debug_macinfo data for defining a macro
16569 if requested.
16570 (dwarf2out_undef): Output debug_macinfo data for undefining a
16571 macro if requested.
16572 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16573 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16574 (macinfo_section_label): New. DWARF2 macro info section label.
16575 (dwarf2out_init): If we want macro info, output the start label
16576 for the section.
16577 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16578 attribute to the compilation unit die pointing to the macro info.
16579
16580 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16581
16582 * dwarf2out.c (new_loc_list): Move to inside #ifdef
16583 DWARF2_DEBUGGING_INFO.
16584 (add_loc_descr_to_loc_list): Ditto.
16585 (output_loc_list): Ditto.
16586 Also, fix thinko in curr not being initialized.
16587 (gen_internal_sym): Ditto.
16588
16589 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16590
16591 * emit-rtl.c (replace_equiv_address): New function.
16592 * expr.h (replace_equiv_address): New declaration.
16593 * explow.c (validize_mem): Call it instead of change_address and
16594 also call if -fforce-addr and address is constant.
16595 * expr.c: Replace more calls to change_address with adjust_address
16596 and/or replace_equiv_address or to validize_mem.
16597 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16598 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16599 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16600 * config/i370/i370.md, config/i860/i860.md: Likewise.
16601 * config/i960/i960.md, config/mips/mips.c: Likewise.
16602 * config/mips/mips.md, config/pa/pa.md: Likewise.
16603 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16604 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16605
16606 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16607
16608 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16609
16610 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16611 function.
16612
16613 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
16614
16615 * doc/include: New directory.
16616 * doc/fdl.texi: Move to doc/include/fdl.texi.
16617 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16618 * doc/include/funding.texi, doc/include/gpl.texi: New files.
16619 * doc/gcc.texi: Use funding.texi and gpl.texi.
16620 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16621 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16622 Update dependencies and use -I $(docdir)/include.
16623
16624 2001-07-04 Anthony Green <green@redhat.com>
16625
16626 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16627
16628 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16629
16630 * doc/install.texi (sparc64-*-*): Remove garbage.
16631
16632 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
16633
16634 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16635 Fix typo in last change to use adjust_address.
16636
16637 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16638
16639 * doc/install.texi (Specific): Update information for *-*-solaris*.
16640
16641 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16642
16643 * explow.c (plus_constant_wide): Reinitialize Y for restart.
16644
16645 2001-07-03 Stan Shebs <shebs@apple.com>
16646
16647 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16648 case for flag_no_mach_text_sections.
16649 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16650 * config/darwin.c (flag_no_mach_text_sections): Remove.
16651 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16652
16653 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16654
16655 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16656 and avoid checking for constant as first operand.
16657 * recog.c (find_constant_term_loc): No longer static.
16658 (adj_offettable_operand): Delete.
16659 * rtl.h (adj_offsettable_operand): Delete declaration.
16660 (find_constant_term): Add declaration.
16661 * caller-save.c: Replace calls to adj_offsettable_operand with calls
16662 to adjust_address.
16663 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16664 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16665 * config/i386/i386.c, config/i386/i386.md: Likewise.
16666 * config/i860/i860.c, config/i960/i960.c: Likewise.
16667 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16668 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16669 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16670 * config/mips/mips.c, config/mips/mips.md: Likewise.
16671 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16672 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16673 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16674 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16675 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16676 * config/ns32k/ns32k.md: Likewise.
16677
16678 2001-07-03 Zack Weinberg <zackw@stanford.edu>
16679
16680 * rtl.c (copy_rtx): Handle 'T' format letter.
16681 * gensupport.c (collect_insn_data): Likewise.
16682 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16683
16684 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
16685
16686 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16687 -B option. Use 'dir' not 'foo' as example directory name.
16688
16689 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16690
16691 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16692 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16693
16694 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16695
16696 * doc/cppinternals.texi: Improve formatting and logical markup.
16697
16698 2001-07-03 Andreas Jaeger <aj@suse.de>
16699
16700 * Makefile.in (insn-recog.o): Add dependency on reload.h.
16701
16702 * genrecog.c (write_header): Include reload.h for prototypes in
16703 insn-recog.c.
16704
16705 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
16706
16707 config:
16708 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16709 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16710 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16711 i386_pe_valid_type_attribute_p): Add.
16712 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16713 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16714
16715 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16716
16717 * explow.c (plus_constant_wide, case LO_SUM): New case.
16718 (plus_constant_for_output_wide): Delete.
16719 * rtl.h (plus_constant_for_output): Delete.
16720 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16721 instead of plus_constant_for_output.
16722 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16723 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16724 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16725 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16726 * config/sparc/sparc.md: Likewise.
16727 Convert some change_address calls to adjust_address.
16728
16729 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16730
16731 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16732 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
16733 documentation of -std and -Wwrite-strings.
16734
16735 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16736
16737 * cse.c (canon_hash): Don't register registers in very small
16738 register classes, as extending their lifetime might cause
16739 reload to fail.
16740
16741 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16742
16743 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16744
16745 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16746 (try_redirect_by_replacing_jump): Update properly the count
16747 and frequency information.
16748
16749 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
16750
16751 * toplev.c (dump_file_index): Move SSA dumps just after first
16752 jump dump.
16753 (dump_file): Corresponding changes.
16754 (rest_of_compilation): Move SSA path to just after the first
16755 jump pass.
16756 * doc/gcc.texi (Passes): Update due to movement of SSA path.
16757 * doc/invoke.texi: Update dump file #s as they were completely
16758 out of date with reality.
16759
16760 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16761
16762 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16763
16764 * expr.c (emit_move_insn_1): Deal with non-default
16765 STACK_PUSH_CODE.
16766
16767 * expr.c (emit_single_push_insn): Fix warning.
16768
16769 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
16770
16771 * expr.c (emit_move_insn_1): Avoid modifying
16772 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16773
16774 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16775
16776 * emit-rtl.c (adjust_address): New function.
16777 * expr.h (adjust_address): Add declaration.
16778 * builtins.c: Replace some calls to change_address with calls to it
16779 or to validize_mem.
16780 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16781 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16782 * config/arm/arm.c, config/convex/convex.c: Likewise.
16783 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16784 * config/i386/i386.c, config/i386/i386.md: Likewise.
16785 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16786 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16787 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16788 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16789 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16790
16791 2001-07-02 Jim Wilson <wilson@redhat.com>
16792
16793 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16794
16795 2001-07-02 Steve Ellcey <sje@cup.hp.com>
16796
16797 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16798 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16799
16800 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16801
16802 * cppinit.c (lang_defaults): New table.
16803 (set_lang): Just read from lang_defaults into the live options
16804 structure.
16805
16806 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16807
16808 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
16809 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
16810 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
16811
16812 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16813
16814 * doc/install.texi: Various spelling and markup fixes.
16815 (Installing GCC): Component specific installation instructions are
16816 gone.
16817 Fix reference.
16818 Warn about removing old install dir in the presence of shared libs.
16819 (Configuration): Invoke with options target to match configure
16820 --help.
16821 Consistently refer to gas, gld pathnames.
16822 Invert --enable-multilib documentation.
16823 Remove references to old compiler versions.
16824
16825 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16826
16827 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
16828
16829 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16830
16831 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
16832 section.
16833 (Specific, mips*-sgi-irix5): Note IDO download.
16834 Reworded MIPS C hints.
16835 Use GNU as instead of GAS.
16836 Markup fixes.
16837 Removed SGI Freeware reference, IRIX 6 only.
16838 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
16839 Note N64 library requirement/workaround.
16840 Update O32 hints.
16841 Complete list of structure passing bug victims.
16842
16843 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16844
16845 * doc/install.texi: Remove CVS Id.
16846
16847 2001-07-02 Andreas Jaeger <aj@suse.de>
16848
16849 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
16850 (find_inherently_necessary): Remove unused variable.
16851
16852 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
16853
16854 * c-common.h (TDI_inlined): New ast dump phase.
16855 (dump_flag_name): New function.
16856 * c-dump.c (dump_files): Add inlined phase.
16857 (dump_flag_name): Define.
16858 * doc/invoke.texi (-fdump-ast-inlined): Document.
16859
16860 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16861
16862 * stor-layout.c (layout_decl): Revert change to handling of alignment
16863 in packed types.
16864
16865 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16866
16867 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
16868 for FIELD_DECL.
16869
16870 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
16871
16872 * doc/tm.texi (FUNCTION_ARG): Document that the last call
16873 is special.
16874
16875 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
16876
16877 * tlink.c (recompile_files): Remove COMPILER_PATH and
16878 LIBRARY_PATH from the environment.
16879
16880 2001-07-01 Zack Weinberg <zackw@stanford.edu>
16881
16882 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
16883 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
16884 enumerators.
16885 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
16886
16887 * c-parse.in (OBJC_STRING): Kill.
16888 (objc_string): Decompose to [objc_string] '@' STRING.
16889 (reswords): Take the leading '@' off all the Objective C keywords.
16890 (objc_rid_sans_at): Kill.
16891 (init_reswords): Don't initialize it.
16892 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
16893 (_yylex): Kill reconsider label. Look ahead one token after
16894 an '@'; if we get an identifier, check whether it's an
16895 Objective C @-keyword. If so, return the keyword. Otherwise,
16896 put back the token and return the '@' as a terminal.
16897
16898 * cpplib.c (lex_macro_node): Remove unnecessary check for
16899 leading '@' on identifier. Clarify control flow and commentary.
16900
16901 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16902
16903 * cse.c (new_label_ref): Variable deleted.
16904 (insert): Remove set of new_label_ref.
16905 (check_for_label_ref): New function.
16906 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16907
16908 See ChangeLog.5 for earlier changes.