Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner that works if LN_S...
[gcc.git] / gcc / ChangeLog
1 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
2
3 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
4 that works if LN_S = cp.
5
6 * config/alpha/x-vms (version): Change "." to "_".
7
8 * configure.in: Hardcode that vfork works on VMS host.
9 * configure: Regenerated.
10
11 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
12
13 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
14 unless do_obj true.
15 (process_command): Modify calls to convert_filename.
16
17 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18
19 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
20
21 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
22
23 * combine.c (known_cond): Check mode of each operand to determine
24 if COND is comparing floating point values.
25
26 2001-12-10 David Edelsohn <edelsohn@gnu.org>
27
28 * rs6000.h (processor_type): Add PPC405.
29 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
30 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
31 rios1, rs64, and ppc630 processors.
32 * rs6000.c (processor_target_table): Add PPC405.
33
34 2001-12-10 Richard Henderson <rth@redhat.com>
35
36 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
37 instead of hardcoding subregs into the _be and _le patterns.
38
39 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
40
41 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
42
43 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
44
45 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
46 what insn does.
47
48 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
49
50 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
51 copyright notice formerly conditioned on @ifinfo on @ifnottex
52 instead.
53
54 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
55
56 * vmsdbgout.c (lookup_filename): Remove warning.
57
58 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
59
60 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
61
62 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
63 (exeext, target_alias, prefix, local_prefix): Define.
64 * config/alpha/x-vms (USE_COLLECT2): Make empty.
65 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
66 file specifications. Remove ".".
67 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
68 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
69
70 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
71
72 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
73
74 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
75
76 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
77 Add rules for building [vp]crt0.o
78 * config/alpha/vms.h (START_FILE_SPEC): Define.
79 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
80 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
81 * doc/invoke.texi: Document special Alpha/VMS options.
82
83 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
84
85 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
86 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
87 not GNUC.
88
89 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
90 Douglas B. Rupp <rupp@gnat.com>
91
92 * tree.c (append_random_char): Conditionalize INO for VMS.
93
94 2001-12-09 Richard Henderson <rth@redhat.com>
95
96 * cfgcleanup.c (label_is_jump_target_p): New function.
97 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
98 target of a JUMP_INSN from the preceding block.
99
100 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
101
102 * vmsdbgout.c (lookup_filename): Assign null string instead
103 of null pointer to fnam.
104
105 2001-12-09 Richard Henderson <rth@redhat.com>
106
107 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
108 immediately after a call; insert nops before a call.
109
110 2001-12-09 Richard Henderson <rth@redhat.com>
111
112 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
113 not FUNCTION_BOUNDARY.
114 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
115 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
116 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
117
118 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
119
120 * config/mmix/mmix.c (mmix_function_block_profiler,
121 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
122 unused functions.
123 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
124 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
125 prototypes.
126
127 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
128 Delete obsoleted macros.
129
130 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
131
132 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
133 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
134
135 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
136 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
137 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
138 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
139 config/i370/i370.c, config/i386/i386.c,
140 config/i386/i386-interix.h, config/i386/i386.md,
141 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
142 config/m32r/m32r-protos.h, config/mcore/mcore.h,
143 config/rs6000/rs6000.h, config/sparc/linux64.h,
144 config/sparc/sparc.c, config/v850/v850-protos.h,
145 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
146 spelling errors.
147
148 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
149
150 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
151 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
152
153 * config/rs6000/rs6000.c: Ditto.
154
155 * config/rs6000/rs6000.md: Ditto.
156
157 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
158
159 * 1750a.md: Add default case in switch.
160 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
161 if-else statement.
162 * dsp16xx.c (print_operand_address): Likewise.
163 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
164 * ia64.md: Add missing braces.
165 * rs6000-protos.h (s8bit_cint_operand): Prototype.
166 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
167 if-else statement.
168 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
169 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
170 * dbxout.c (dbxout_source_file): Move a variable into the scope
171 where it is used.
172 * final.c (profile_function): Mark parameter with
173 ATTRIBUTE_UNUSED.
174 * genemit.c (gen_expand): Likewise for generated file.
175 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
176
177 * vmsdbg.h: Delete spurious close-comment.
178 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
179 * vmsdbgout.c (write_modbeg): Define return type.
180
181 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
182 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
183 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
184 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
185 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
186 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
187 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
188
189 2001-12-08 Tom Rix <trix@redhat.com>
190
191 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
192 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
193 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
194 for powerpc64.
195 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
196 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
197 * config/rs6000/rs6000.c (expand_block_move): Do not use
198 gen_movstrsi_2reg and powerpc64.
199
200 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
201
202 * c-common.h (rid): Add RID_CHOOSE_EXPR and
203 RID_TYPES_COMPATIBLE_P.
204
205 * c-parse.in (reswords): Add __builtin_choose_expr.
206 Add __builtin_types_compatible_p.
207 Add CHOOSE_EXPR token.
208 Add TYPES_COMPATIBLE_P token.
209 Add production for CHOOSE_EXPR.
210 Add production for TYPES_COMPATIBLE_P.
211
212 * doc/extend.texi (__builtin_choose_expr): Add documentation.
213 (__builtin_types_compatible_p): Likewise.
214
215 2001-12-08 David Edelsohn <edelsohn@gnu.org>
216
217 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
218 to unions.
219
220 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
221
222 * c-parse.in: Take string literals in assembler constructs,
223 not expressions.
224 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
225 check the strings are STRING_CSTs.
226
227 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
228
229 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
230 using combine_strings to do the concatenation.
231 * c-parse.in: Replace uses of the string non-terminal with STRING.
232 Don't attempt string concatenation.
233 (OBJC_STRING): New terminal.
234 (string): Remove non-terminal.
235 (_yylex): Call combine_strings on function names. Generate
236 OBJC_STRING terminals; don't pass '@' on to yacc.
237 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
238 (build_asm_stmt): Similarly.
239
240 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
241
242 * rtlanal.c (get_jump_table_offset): Delete unused variable.
243
244 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
245
246 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
247 (prefetch): Rewrite using PREFETCH RTL primitive.
248 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
249 * arm.c (arm_init_builtins): Don't initialize a builtin for
250 __builtin_prefetch here.
251 (arm_expand_builtin): Don't expand __builtin_prefetch here.
252
253 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
254
255 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
256 in test for a subreg.
257
258 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
259
260 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
261 strings.
262
263 2001-12-07 Richard Henderson <rth@redhat.com>
264
265 * doc/extend.texi: Fix typo last change.
266
267 * c-decl.c (c_language): Remove duplicate.
268
269 2001-12-07 Dale Johannesen <dalej@apple.com>
270
271 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
272 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
273 specific codegen, eliminate a register copy.
274 (print_operand_address): Add support for Darwin's lo16(constant)
275 syntax.
276 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
277 generation of addresses within very large data objects.
278 (s8bit_cint_operand): New.
279 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
280 Move "mtjmpr" to correct functional unit for 750/7400/7450.
281 Add imul2 and imul3 insn types for multiplication by 16- and
282 8-bit constants.
283 Change tablejump patterns to strongly discourage using LR
284 rather than CTR.
285 Add %lo16 patterns for Darwin loads and stores.
286
287 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
288
289 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
290
291 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
292
293 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
294 with %sp because it can cause the delayed instruction to load
295 below the stack.
296
297 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298
299 * alpha.c (alpha_expand_unaligned_store,
300 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
301 call to immed_double_const.
302
303 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
304
305 * doc/extend.texi (Variable Attributes): Document vector_size.
306
307 * attribs.c (c_common_attribute_table): Add vector_size.
308 (handle_vector_size_attribute): New.
309 (vector_size_helper): New.
310 (decl_attributes): Relayout the decl after calculating attribs.
311
312 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
313
314 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
315 description for Trouble section.
316 * doc/install-old.texi: Adjust for inclusion as chapter of new
317 installation manual.
318 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
319 Adjust to include old installation chapter as chapter of new
320 installation manual.
321
322 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
323
324 * rtl.h (get_jump_table_offset): Declare.
325 * rtlanal.c (get_jump_table_offset): Implement.
326
327 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
328
329 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
330 Deleted; were used only by BB profiler code.
331 (sbb_head, sbb_tail, sbb_label_num): Likewise.
332 (end_final): Delete now-unused vars I, PTR, and SPTR.
333
334 * expr.c (store_field): Remove warning.
335 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
336 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
337 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
338 divisor constant power of 2.
339 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
340
341 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
344 shifting.
345
346 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
347
348 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
349 (DWARF_FRAME_REGISTERS): Delete.
350
351 2001-12-06 Janis Johnson <janis187@us.ibm.com>
352
353 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
354 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
355 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
356 with defaults for read prefetch with high degree of locality.
357 * doc/extend.texi (__builtin_prefetch): Update documentation.
358 * doc/md.texi (prefetch): Add documentation.
359
360 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
361
362 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
363 UNIX V5.1A stdio.h.
364 * fixinc/fixincl.x: Regenerate.
365 Fixes PR libf2c/4826.
366
367 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
368 Richard Henderson <rth@redhat.com>
369
370 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
371 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
372
373 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
374 to PRE_GCC3_DWARF_FRAME_REGISTERS.
375 (frame_state): Same.
376 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
377
378 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
379
380 * langhooks.c (lhd_staticp): Mark parameter with
381 ATTRIBUTE_UNUSED.
382
383 2001-12-06 H.J. Lu <hjl@gnu.org>
384
385 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
386 reduce noise.
387 (.po.pox): Likewise.
388 (o/$(PACKAGE).pot): Likewise.
389
390 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
391
392 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
393 * tree-inline.c (expand_call_inline): ... here.
394
395 2001-12-06 H.J. Lu <hjl@gnu.org>
396
397 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
398 (.po.pox): Likewise.
399 (o/$(PACKAGE).pot): Likewise.
400
401 2001-12-06 David O'Brien <obrien@FreeBSD.org>
402
403 * config.gcc: Include dbxelf.h before elfos.h.
404 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
405
406 2001-12-06 Zack Weinberg <zack@codesourcery.com>
407
408 * cppfiles.c (open_file): If we've opened a directory by
409 mistake, close it.
410 (find_include_file): Avoid turning / into // or // into ///.
411
412 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
413
414 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
415 (STRUCT_VALUE_REGNUM): Restore definition.
416
417 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
418
419 * flow.c (find_regno_partial): Return register, not the expression
420 the register is in.
421
422 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
423
424 * function.c (handle_epilogue_set): Check for FP setting case when
425 SP is set from FP in same insn.
426
427 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
428
429 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
430 RTX when calling alter_subreg().
431 (store_multiple_sequence): Pass pointer to RTX when calling
432 alter_subreg().
433
434 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
435
436 * function.c (assing_parms): Fix typo in last change.
437 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
438 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
439 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
440 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
441
442 2001-12-06 Alan Modra <amodra@bigpond.net.au>
443
444 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
445 correct code selecting section.
446
447 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
448
449 * final.c (count_basic_block, add_bb, add_bb_string):
450 Kill.
451 (end_final, final_start_function, final, final_scan_insn,
452 leaf_function_p): Kill BB profiler related code.
453 * flags.h (profile_block_flag): Kill.
454 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
455 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
456 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
457 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
458 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
459 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
460 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
461 __bb_init_trace_func): Kill.
462 * toplev.c (profile_block_flag): Kill.
463 (indepdendent_decode_option, process_options): Kill -a related code.
464 * alpha.c (direct_call_operand): Likewise.
465 * arm.c (arm_expand_prologue, thumb_expand_prologue,
466 thumb_expand_epilogue): Likewise.
467 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
468 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
469 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
470 MACHINE_STATE_RESTORE): Kill.
471 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
472 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
473 MACHINE_STATE_RESTORE): Kill.
474 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
475 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
476 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
477 code.
478 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
479 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
480 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
481 MACHINE_STATE_RESTORE): Kill.
482 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
483 * i960.c (i960_output_function_prologue): Kill BB profiler related
484 code.
485 * ia64.c (ia64_compute_frame_size): Likewise.
486 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
487 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
488 MACHINE_STATE_RESTORE): Kill.
489 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
490 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
491 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
492 MACHINE_STATE_RESTORE): Kill.
493 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
494 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
495 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
496 MACHINE_STATE_RESTORE): Kill.
497 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
498 Kill BB profiler related code.
499 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
500 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
501 MACHINE_STATE_RESTORE): Kill.
502 * mips.c (mips_expand_prologue): Kill BB profiler related code.
503 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
504 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
505 MACHINE_STATE_RESTORE): Kill.
506 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
507 * s960.c (s390_function_prologue): Kill BB profiler related code.
508 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
509 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
510 MACHINE_STATE_RESTORE): Kill.
511 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
512 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
513 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
514 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
515 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
516 sparc_nonflat_function_epilogue): Kill BB profiler related code.
517 (sparc_function_block_profiler, sparc_block_profiler,
518 sparc_function_block_profiler_exit): Kill.
519 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
520 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
521 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
522 MACHINE_STATE_RESTORE): Kill.
523 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
524 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
525 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
526 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
527 MACHINE_STATE_RESTORE): Kill.
528 * doc/invoke.texi: Kill documentation of -a and -ax.
529 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
530 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
531 MACHINE_STATE_RESTORE): Kill.
532
533 2001-10-26 Steve Christiansen <smc@us.ibm.com>
534
535 * doc/rtl.texi: Use a table to display RTL format characters.
536
537 2001-12-06 Bo Thorsen <bo@suse.co.uk>
538
539 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
540
541 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
542
543 * function.c (keep_stack_depressed): Check global_live_at_start
544 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
545
546 2001-12-05 David O'Brien <obrien@FreeBSD.org>
547
548 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
549 as set by the generic FreeBSD configure framework.
550
551 2001-12-04 Jason Merrill <jason@redhat.com>
552
553 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
554 start_inlining, end_inlining.
555 * tree-inline.c (expand_call_inline): Call them.
556 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
557 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
558 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
559 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
560 (lhd_tree_inlining_end_inlining): New fn.
561
562 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
563
564 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
565 * c-common.h (shadow_warning): New.
566 * c-decl.c: Include c-common.h.
567 (warn_if_shadowing): New, broken out of pushdecl.
568 (pushdecl): Use warn_if_shadowing.
569 (store_parm_decls): Prevent duplicate -Wshadow warnings.
570
571 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
572
573 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
574 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
575 (LIB_SPEC): Remove.
576
577 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
578
579 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
580 (QUAL_UNION_TYPE): New type.
581
582 * varasm.c (output_constant, case ERROR_MARK): New case.
583
584 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
585 (c_com): Delete its reference.
586 * builtins.c: Delete memory checking code.
587 * calls.c, expr.c, function.c, stmt.c: Likewise.
588 * builtins.c (expand_builtin_arg_info): Remove reference to
589 EXPAND_MEMORY_USE_* modifiers.
590 * explow.c (expr_size): Likewise.
591 * expr.c (expand_expr, expand_increment): Likewise.
592 * expr.h (ARGS_SIZE_RTX): Likewise.
593 * function.c (assign_parms, expand_pending_sizeso): Likewise.
594 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
595 * expr.c (in_check_memory_usage): Delete.
596 (get_push_address, get_memory_usage_from_modifier): Delete.
597 (expand_assigment): Use EXPAND_WRITE on destination.
598 (expand_expr): Delete ro_modifier.
599 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
600 add EXPAND_WRITE.
601 (memory_use_mode): Delete.
602 * flags.h (flag_check_memory_usage): Deleted.
603 (flag_prefix_function_name): Likewise.
604 * function.c (expand_function_start): Don't set
605 current_function_check_memory_usage.
606 * function.h (check_memory_usage): Delete.
607 * libfuncs.h, optabs.c: Delete chkr_* stuff.
608 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
609 EXPAND_WRITE.
610 * toplev.c (flag_check_memory_usage): Deleted.
611 (flag_prefix_function_name): Likewise.
612 (f_options, process_options): Delete references to above.
613 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
614 * varasm.c (CHKR_PREFIX): Deleted.
615 (make_decl_rtl): Remove flag_prefix_function_name handling.
616 (assemble_name): Likewise.
617 * doc/extend.texi: Remove no_check_memory_usage attribute.
618 * doc/invoke.texi: Remove -fcheck-memory-usage
619 and -fprefix-function-name.
620
621 2001-12-05 Andreas Schwab <schwab@suse.de>
622
623 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
624 from autoconf.
625
626 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
627
628 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
629
630 2001-12-05 William Cohen <wcohen@redhat.com>
631
632 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
633 instruction.
634
635 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
636
637 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
638 builtins.
639
640 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
641 better reflect reality (change from Apple's tree).
642 Add more of altivec instructions.
643 Add ftruncv4sf2 pattern.
644 Remove more unspecs (vector merge instructions, etc).
645
646 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
647 builtins.
648 (bdesc_1arg): New, for 1 argument altivec builtins.
649 (altivec_expand_builtin): Handle unary and ternary ops.
650 (altivec_init_builtins): Ditto.
651
652 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
653
654 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
655 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
656
657 2001-12-05 Jakub Jelinek <jakub@redhat.com>
658
659 * gcse.c (store_killed_in_insn): Consider pure calls
660 as potential store killers in addition to normal calls.
661
662 2001-12-05 Jakub Jelinek <jakub@redhat.com>
663
664 * expr.c (expand_expr): When checking promoted value, use
665 DECL_MODE (exp) and not mode.
666
667 2001-12-05 Jakub Jelinek <jakub@redhat.com>
668
669 * c-typeck.c (output_init_element): Call digest_init
670 just once, not in each if branch and check its return value for
671 error_mark_node.
672
673 2001-12-05 Jakub Jelinek <jakub@redhat.com>
674
675 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
676 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
677 (finish_struct): Break the loop if n_incomplete went to 0.
678 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
679
680 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
681
682 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
683
684 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
685 Douglas B. Rupp <rupp@gnat.com>
686
687 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
688 * doc/invoke.texi: Add -gvms.
689 * doc/passes.texi: Add mention of vmsdbgout.c.
690 * doc/tm.texi: Document VMS debugging output.
691
692 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
693
694 * function.h (tree, rtx): Remove no-longer-needed definitions.
695
696 * function.c (keep_stack_depressed): Refine check for register
697 clobbered over call.
698
699 * expr.c (store_expr): When copying string constant into array,
700 use functions that update memrefs instead of computations on
701 addresses to better track MEMs. Also properly handle 32/64 pointers.
702 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
703 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
704
705 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
706 underneath COMPONENT_REFs.
707 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
708
709 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
710
711 * toplev.c (display_target_options): Don't print twice.
712
713 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
714
715 * emit-rtl.c (set_unique_reg_note): Don't set
716 a REG_EQUAL or REG_EQUIV note if multiple sets
717 are present.
718
719 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
720
721 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
722 CASE_DROPS_THROUGH.
723
724 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
725
726 * rtl.h (initialize_uninitialized_subregs): New prototype.
727 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
728 when optimization is on.
729 * flow.c (find_regno_partial): Find subregs within an expression.
730 (initialize_uninitialized_subregs): Initialize live on entry registers
731 which are used in subreg expressions.
732
733 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
734
735 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
736
737 2001-12-04 DJ Delorie <dj@redhat.com>
738
739 * fixinc/fixincl.c (initialize): Avoid problemsome macro
740 parameter names (PR 3388).
741
742 2001-12-05 Alan Modra <amodra@bigpond.net.au>
743
744 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
745 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
746
747 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
748
749 * c-common.def (COMPOUND_LITERAL_EXPR): New.
750 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
751 (c_staticp): New function.
752 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
753 (c_staticp): Declare.
754 * c-typeck.c (default_function_array_conversion, build_unary_op):
755 Don't handle CONSTRUCTOR specially.
756 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
757 * c-decl.c (build_compound_literal): New function.
758 * c-tree.h (build_compound_literal): Declare.
759 * c-parse.in (primary): Use build_compound_literal.
760 * c-lang.c (LANG_HOOKS_STATICP): Define.
761 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
762 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
763 * doc/extend.texi: Update documentation of compound literals.
764 Fixes PR c/4787.
765
766 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
767
768 * langhooks.h (struct lang_hooks): Add staticp.
769 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
770 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
771 * langhooks.c (lhd_staticp): New function.
772 * tree.c (staticp): Call lang_hooks.staticp for language-specific
773 tree codes.
774
775 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
776
777 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
778 * gcc.c (process_command): Ensure the cpp driver sees
779 --help and --target-help, and that the help is printed
780 exactly once.
781
782 2001-12-04 David Edelsohn <edelsohn@gnu.org>
783
784 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
785
786 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
787
788 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
789 flag_strict_aliasing. Use separate assignment statements.
790
791 2001-12-04 Zack Weinberg <zack@codesourcery.com>
792
793 * build-make, cross-make: Delete file.
794 * configure.in: Set and substitute CROSS, ALL,
795 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
796 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
797 whether build == host and host == target. Do not
798 AC_SUBST_FILE build_overrides or cross_overrides. Do not
799 AC_SUBST cross_defines or extra_c_flags.
800 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
801 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
802 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
803 partially or completely with autoconf-substituted @variable@
804 notation.
805 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
806 @build_overrides@, @extra_c_flags@, all.build, install-build,
807 install-cross-rest, install-float-h-cross): Deleted.
808 (install-normal): Rename to install. Delete old "install"
809 indirection rule.
810
811 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
812
813 * stmt.c (expand_return): Clear destination instead of clobbering it
814 when setting a return value via bitsets.
815
816 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
817
818 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
819 it has DECL_SAVED_TREE.
820
821 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
822 is in a different binding level, get its abstract origin to be
823 olddecl.
824 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
825 check earlier.
826 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
827 DECL_INITIAL is NULL.
828
829 2001-12-04 Jakub Jelinek <jakub@redhat.com>
830
831 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
832 Return correct value if one of the subexpressions was optimized to
833 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
834 (and_reg_cond): Similarly.
835
836 2001-12-04 Jakub Jelinek <jakub@redhat.com>
837
838 * function.c (assign_parms): Set last_named only for last named
839 argument.
840
841 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
842
843 * doc/install.texi: Use the GFDL. Include years from old install
844 manual in copyright notice. Include copyright and GFDL notice on
845 HTML index page. Include usual footer on testing.html.
846 * doc/install.texi2html: Build gfdl.html. Use -I
847 $SOURCEDIR/include.
848 * doc/include/fdl.texi: Adapt for use in the install manual.
849
850 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
851
852 * doc/install.texi: Document that installed native compiler for
853 building cross compilers should be GCC 2.95 or later.
854
855 2001-12-03 Eric Christopher <echristo@redhat.com>
856
857 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
858 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
859 patterns.
860
861 2001-12-03 Janis Johnson <janis187@us.ibm.com>
862
863 * rtl.def (PREFETCH): New rtx code.
864 * doc/rtl.texi (PREFETCH): Add documentation.
865 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
866 * rtlanal.c (reg_referenced_p): Ditto.
867 * sched-vis.c (print_exp): Ditto.
868 * ssa-dce.c (find_inherently_necessary): Ditto.
869
870 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
871 (PREFETCH_BLOCK): Define.
872 * config/ia64/ia64.md (itanium_class): Add lfetch.
873 (prefetch, prefetch_internal): New.
874
875 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
876 * builtins.def (BUILT_IN_PREFETCH): New.
877 * builtins.c (expand_builtin_expect): New.
878 (expand_builtin): Call it.
879 * doc/extend.texi: Document __builtin_prefetch.
880
881 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
882 conflicts with new generic prefetch functionality.
883 * config/i386/i386.c (ix86_expand_builtin): Use new name for
884 prefetch_sse.
885
886 2001-12-02 Ziemowit Laski <zlaski@apple.com>
887
888 * objc/Make-lang.in: Update copyright.
889 (OBJC_OBJS): Add objc-lang.o.
890 (objc-lang.o): New rule.
891 * objc/config-lang.in: Fix file description and update
892 copyright.
893 * objc/objc-act.c: Do not include langhooks.h and
894 langhooks-def.h
895 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
896 (objc_post_options): Move to objc-lang.c.
897 (objc_init_options): Move to objc-lang.c.
898 (objc_init): Make non-static.
899 (objc_decode_option): Make non-static.
900 (HASHFUNCTION): Remove macro.
901 (hash_func): New function.
902 (hash_enter): Replace HASHFUNCTION with hash_func.
903 (hash_lookup): Replace HASHFUNCTION with hash_func.
904 (maybe_objc_tree_codes): New function.
905 (init_objc): Move ObjC tree code initialization to
906 maybe_objc_tree_codes().
907 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
908 (objc_init): New public prototype.
909 (objc_decode_option): New public prototype.
910 (maybe_add_objc_tree_codes): New public prototype.
911 * objc/objc-lang.c: New file.
912 (lang_hooks): Moved from objc-act.c.
913 (objc_post_options): Moved from objc-act.c.
914 (objc_init_options): Moved from objc-act.c.
915
916 2001-12-03 Geoff Keating <geoffk@redhat.com>
917
918 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
919 of array elements.
920
921 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
922
923 PR c/4988
924 * gcc.c (process_command): Don't add a preprocessor option for
925 --help and --target-help; cc1 is enough.
926
927 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
928
929 * c-decl.c (grokdeclarator): Use ISO word.
930 * cppinit.c: Remove leading capital from diagnostic messages, as
931 per GNU coding standards.
932 * emit-rtl.c: Similarly.
933 * final.c: Similarly.
934 * gcc.c: Similarly.
935 * tradcpp.c: Similarly.
936 * config/arm/arm.c: Similarly.
937 * config/arm/arm.h: Similarly.
938 * config/avr/avr.c: Similarly.
939 * config/avr/avr.h: Similarly.
940 * config/c4x/c4x.c: Similarly.
941 * config/cris/cris.c: Similarly.
942 * config/cris/cris.h: Similarly.
943 * config/d30v/d30v.c: Similarly.
944 * config/dsp16xx/dsp16xx.c: Similarly.
945 * config/dsp16xx/dsp16xx.h: Similarly.
946 * config/h8300/h8300.c: Similarly.
947 * config/i386/i386.c: Similarly.
948 * config/i386/xm-djgpp.h: Similarly.
949 * config/i960/i960.h: Similarly.
950 * config/m32r/m32r.c: Similarly.
951 * config/m68hc11/m68hc11.c: Similarly.
952 * config/m88k/m88k.c: Similarly.
953 * config/m88k/m88k.h: Similarly.
954 * config/mcore/mcore.c: Similarly.
955 * config/mcore/mcore.h: Similarly.
956 * config/mips/mips.c: Similarly.
957 * config/mmix/mmix.c: Similarly.
958 * config/pa/pa.c: Similarly.
959 * config/rs6000/rs6000.c: Similarly.
960 * config/rs6000/sysv4.h: Similarly.
961 * config/s390/s390.c: Similarly.
962 * config/sparc/sparc.c: Similarly.
963 * config/v850/v850-c.c: Similarly.
964 * config/v850/v850.c: Similarly.
965
966 2001-12-03 Zack Weinberg <zack@codesourcery.com>
967
968 * rs6000.h (RETURN_IN_MEMORY): Cast result of
969 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
970
971 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
972
973 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
974 bit twiddling constant.
975
976 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
977
978 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
979 call purge_dead_edges after removing.
980 (delete_null_pointer_checks): Do not handle delete_list.
981
982 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
983 (count_basic_blocks): ... here.
984 (find_basic_blocks, find_bb_boundaries): Cleanup.
985
986 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
987 overflow for types greater then 2 * HOST_WIDE_INT.
988
989 * reload.c (find_reloads): Update the duplicates after swapingg.
990
991 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
992
993 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
994
995 2001-12-02 Zack Weinberg <zack@codesourcery.com>
996
997 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
998 MASK_LONG_DOUBLE_128): Delete.
999 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
1000 TARGET_AIX_STRUCT_RET): New flags.
1001 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
1002 -mlong-double-64. Add entries for -m(no-)aix-struct-return
1003 and -m(no-)svr4-struct-return.
1004 (TARGET_OPTIONS): Add entry for -mlong-double-.
1005 (rs6000_long_double_size_string, rs6000_long_double_type_size,
1006 rs6000_altivec_abi): Declare.
1007 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1008 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1009 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1010 structures of size <= 8 bytes in registers.
1011 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1012
1013 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1014 rs6000_long_double_type_size, rs6000_altivec_abi): New
1015 globals.
1016 (rs6000_override_options): Set rs6000_long_double_type_size
1017 from rs6000_long_double_size_string, if nonzero. Set the
1018 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1019 not already set.
1020 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1021 target_flags bit.
1022 (rs6000_init_builtins): This hook now takes no arguments.
1023
1024 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1025 DRAFT_V4_STRUCT_RET to 1.
1026
1027 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
1028
1029 * c-typeck.c (really_start_incremental_init, push_init_level):
1030 Avoid constructor_max_index being other than an INTEGER_CST.
1031
1032 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1033
1034 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1035 unsigned.
1036 (ASM_GENERATE_INTERNAL_LABEL): Same.
1037 (UNIQUE_SECTION): Fix typo.
1038
1039 2001-12-02 Richard Henderson <rth@redhat.com>
1040
1041 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1042
1043 2001-12-02 Richard Henderson <rth@redhat.com>
1044
1045 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1046 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1047 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1048 * expr.h, final.c, reload1.c: Adjust users.
1049
1050 * alias.c (nonoverlapping_component_refs_p): New.
1051 (decl_for_component_ref, adjust_offset_for_component_ref): New.
1052 (nonoverlapping_memrefs_p): Use them.
1053 * emit-rtl.c (component_ref_for_mem_expr): New.
1054 (set_mem_attributes): Use it.
1055 (set_mem_offset): New.
1056 * expr.c (expand_assignment): Call set_mem_attributes for
1057 inner references; adjust the memory offset as needed.
1058 * print-rtl.c (print_mem_expr): New.
1059 (print_rtx): Use it.
1060
1061 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
1062
1063 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1064
1065 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1066 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1067 (ASM_SPEC): Don't redefine.
1068 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1069 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1070 * config/alpha/vms-dwarf2.asm: New file.
1071
1072 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1073 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1074 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1075 (vmsdbgout_after_prologue): New declaration.
1076 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1077 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1078 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1079 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1080 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1081 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1082 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1083 Test VMS_DEBUGGING_INFO.
1084 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1085 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1086 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1087 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1088 VMS_AND_DWARF2_DEBUG.
1089 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1090 (decode_g_option): Add "vms" to debug_type_names.
1091 (process_options): Set vmsdbg_debug_hooks if -gvms.
1092 (lang_independent_init): Emit line number for VMS unless -g0.
1093 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1094 * vmsdbg.h, vmsdbgout.c: New files.
1095
1096 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1097
1098 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1099
1100 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1101
1102 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1103 * dwarf2out.c (is_cxx): Prototype.
1104 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1105 warning.
1106 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1107
1108 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1109
1110 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1111
1112 2001-12-02 Geoff Keating <geoffk@redhat.com>
1113
1114 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1115 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1116 rather than simplify_subreg. Check for volatile-ness. Check that
1117 we're not splitting one slow operation into two slow operations.
1118
1119 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1120
1121 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1122 before shifting.
1123
1124 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1125
1126 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1127 capital from diagnostics.
1128 * c-lex.c (cb_file_change): Similarly.
1129 * c-parse.in : Similarly.
1130 * cfgrtl.c (verify_flow_info): Similarly.
1131 * collect2.c: Similarly.
1132 * cppfiles.c (find_include_file): Similarly.
1133 * cppinit.c (cpp_handle_option): Similarly.
1134 * cpplex.c (cpp_spell_token): Similarly.
1135 * cppmain.c (do_preprocessing): Similarly.
1136 * gcc.c (translate_options, process_command, do_spec1,
1137 main, pfatal_execute): Similarly.
1138 * genattr.c (main): Similarly.
1139 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1140 write_test_expr, main): Similarly.
1141 * gencodes.c (main): Similarly.
1142 * genconfig.c (main): Similarly.
1143 * genconstants.c (main): Similarly.
1144 * genemit.c (main): Similarly.
1145 * genextract.c (main): Similarly.
1146 * genflags.c (main): Similarly.
1147 * genopinit.c (main): Similarly.
1148 * genoutput.c (process_template, main): Similarly.
1149 * genpeep.c (main): Similarly.
1150 * genrecog.c (main): Similarly.
1151 * gensupport.c (is_predicable, identify_predicable_attribute,
1152 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1153 * ggc-page.c (alloc_anon): Similarly.
1154 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1155 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1156 parse_stabs_common, parse_stabs, write_varray, write_object,
1157 read_seek, copy_object, main, error): Similarly.
1158 * profile.c (compute_branch_probabilities): Similarly.
1159 * reg-stack.c (check_asm_stack_operands): Similarly.
1160 * reload.c (find_reloads): Similarly.
1161 * reload1.c (spill_failure, failed_reload): Similarly.
1162 * rtl-error.c (_fatal_insn_not_found): Similarly.
1163 * toplev.c (read_integral_parameter, crash_signal,
1164 decode_f_option, set_target_switch, parse_options_and_default_flags)
1165 : Similarly.
1166 * tradcif.y (parse_number, yylex): Similarly.
1167 * tradcpp.c (main, fancy_abort): Similarly.
1168 * tree.c (tree_check_failed): Similarly.
1169 * varray.c (varray_check_failed): Similarly.
1170 * xcoffout.c (xcoff_output_standard_types): Similarly.
1171 objc:
1172 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1173 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1174 finish_message_expr, build_protocol_expr, is_public,
1175 start_class): Similarly.
1176
1177 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1178
1179 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1180 trailing period from diagnostics.
1181 * c-lex.c (cb_file_change): Similarly.
1182 * cppmacro.c (check_trad_stringification): Similarly.
1183 * gcc.c (do_spec_1): Similarly.
1184 * genattr.c (main): Similarly.
1185 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1186 * gencodes.c (main): Similarly.
1187 * genconfig.c (main): Similarly.
1188 * genconstants.c (main): Similarly.
1189 * genemit.c (main): Similarly.
1190 * genextract.c (main): Similarly.
1191 * genopinit.c (main): Similarly.
1192 * genoutput.c (main): Similarly.
1193 * genpeep.c (main): Similarly.
1194 * genrecog.c (main): Similarly.
1195 * mips-tfile.c (add_file, error): Similarly.
1196 * profile.c (init_branch_prob): Similarly.
1197 * reload1.c (spill_failure): Similarly.
1198 * stmt.c (parse_output_constraint): Similarly.
1199 * varasm.c (assemble_variable): Similarly.
1200
1201 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1202
1203 * m68k.c (init_FPA_table): Provide static prototype.
1204 * mips/abi64.h (mips_function_value): Move prototype to ...
1205 * mips-protos.h (mips_function_value): ... here.
1206 * mips.c: Include halfpic.h.
1207 * output.h (rdata_section): Prototype.
1208
1209 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1210 * m88k.c (m88k_svr3_asm_out_constructor,
1211 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1212 !OBJECT_FORMAT_ELF.
1213 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1214 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1215 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1216
1217 2001-12-01 Geoff Keating <geoffk@redhat.com>
1218
1219 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1220 LO_SUM addresses less than word size are not legitimate,
1221 because they lead to invalid SUBREGs.
1222 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1223
1224 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
1225
1226 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1227 while scanning for multiple back edges.
1228
1229 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1230
1231 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1232 * config/rs6000/tramp.asm: Use it.
1233
1234 2001-12-01 Zack Weinberg <zack@codesourcery.com>
1235
1236 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1237 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1238 xmalloc.
1239
1240 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1241
1242 * pa.c (output_ascii): Cast `p' to unsigned char.
1243
1244 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1245
1246 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1247 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1248 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1249 (altivec_init_builtins): Ditto.
1250 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1251
1252 * config/rs6000/rs6000.md: Add attribute types vecsimple,
1253 veccomplex, vecfloat, and vecperm, for altivec instructions.
1254 Modify altivec patterns to use appropriate attribute type.
1255 Modify altivec patterns to match RTL operations where appropriate
1256 (IE no unspec where we can avoid it).
1257 Add vector unit scheduling for ppc7450.
1258 Rename patterns to what they are where appropriate
1259 (altivec_vaddfp->addv4sf3, etc)
1260
1261 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1262 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1263
1264 * config/rs6000/sysv4.h: Add -mcpu=7450.
1265
1266 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1267 _builtin_altivec_ld_interal function.
1268
1269 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1270
1271 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1272 strchr, strrchr, isascii, gettimeofday.
1273 * config.in, configure: Regenerate.
1274
1275 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1276
1277 * unroll.c (unroll_loop): Correct special exit cases.
1278
1279 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1280
1281 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1282 accept DFmode and DImode only.
1283
1284 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1285
1286 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1287 (STACK_DYNAMIC_OFFSET): Same.
1288
1289 2001-11-30 Richard Henderson <rth@redhat.com>
1290
1291 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1292
1293 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1294
1295 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1296 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1297 the values in call_used_registers.
1298
1299 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1300
1301 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1302 gthr-single.
1303
1304 2001-11-30 Jason Merrill <jason@redhat.com>
1305
1306 * dwarf2out.c (is_cxx): New fn.
1307 (add_data_member_location_attribute): Check it.
1308 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1309
1310 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1311
1312 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1313
1314 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1315
1316 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1317 MODE_VECTOR_FLOAT as allowed.
1318
1319 2001-11-29 Zack Weinberg <zack@codesourcery.com>
1320
1321 Purge cruft now we have build libiberty.
1322
1323 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1324 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1325 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1326 USE_HOST_STRSTR): Delete variables.
1327 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1328 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1329 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1330 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1331 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1332 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1333 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1334 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1335 (HOST_LIBS): Ditto.
1336 (HOST_RTL): Remove hashtab.o safe-ctype.o.
1337 (OBJS): Remove splay-tree.o.
1338 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1339 (distclean): No need to delete splay-tree.c obstack.c
1340 hashtab.c safe-ctype.c.
1341 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1342 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1343 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1344 Delete.
1345 * configure.in: Don't use them.
1346 Set and substitute @FORBUILD@.
1347 * config.in, configure: Regenerate.
1348 * doprint.c: Move to libiberty/_doprnt.c.
1349 * doc/configterms.texi: Document that libiberty is now built
1350 up to three times. Fix typo.
1351
1352 2001-11-30 Jason Merrill <jason@redhat.com>
1353
1354 * dwarf2out.c (add_data_member_location_attribute): Do the
1355 right thing for virtual bases.
1356 * dbxout.c (dbxout_type): For a virtual base, print the offset
1357 within the vtable.
1358
1359 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1360
1361 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1362
1363 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
1364
1365 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1366 go in memory.
1367 Remove unused attribute for named.
1368
1369 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1370
1371 * genattrtab.c (attr_rtx_1): New function containing the
1372 majority of `attr_rtx'. Move variable declarations into the
1373 scope where they are used. Eliminate unnecessary gotos.
1374 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1375 VA_FIXEDARG, and VA_CLOSE.
1376
1377 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
1378
1379 * config/cris/cris.c (cris_notice_update_cc): Check first
1380 destination also against overlap with cc_status.value2 and second
1381 destination against overlap with cc_status.value1. For overlaps,
1382 clear overlapped value, don't just CC_STATUS_INIT.
1383
1384 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1385 Fix typo in comment.
1386 (LINK_SPEC): Remove whitespace at end of line.
1387
1388 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1389
1390 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1391
1392 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1393
1394 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1395 macros for the supported debugging types.
1396
1397 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
1398
1399 PR other/4932
1400 * config/i386/i386.c (print_operand): Verify that the
1401 argument to %c is a constant and not a conditional which
1402 needs to be reversed.
1403
1404 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
1405
1406 * emit-rtl.c (gen_lowpart_common): Fix conversion of
1407 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
1408 of low part of those arrays for 32bit and 64bit hosts.
1409
1410 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1411
1412 * Makefile.in (insn-output.o): Depend on insn-codes.h.
1413
1414 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1415
1416 * configure.in (target_list): Add generated-manpages.
1417 * configure: Regenerate.
1418 * Makefile.in (generated-manpages): Depend on
1419 lang.generated-manpages.
1420 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1421
1422 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
1423
1424 * config/arm/crti.asm (_init): Add .thumb_func if compiled
1425 with -mthumb.
1426 (_fini): Add .thumb_func if compiled with -mthumb.
1427
1428 2001-11-28 Eric Christopher <echristo@redhat.com>
1429
1430 * config/mips/mips.c (override_options): Fix thinko in mips_tune
1431 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1432
1433 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
1434
1435 * alpha.md (tablejump): Use pic_offset_table_rtx
1436 instead of gen_rtx_REG.
1437
1438 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
1439
1440 * expr.c (store_expr): When copying a string constant into an
1441 array, reset the known alignment of the MEM for the section to
1442 be cleared to BITS_PER_UNIT.
1443
1444 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1445
1446 * config/cris/cris.c: Remove whitespace at end of line.
1447
1448 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
1449
1450 * config.gcc (i[34567]86-*-interix3*): New case.
1451 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1452 New files.
1453
1454 2001-11-28 Richard Henderson <rth@redhat.com>
1455
1456 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1457 symbolic_operand as the predicate.
1458
1459 2001-11-28 Richard Henderson <rth@redhat.com>
1460
1461 * doloop.c (doloop_modify_runtime): Properly select induction
1462 variable; skip late entry test if biv initializer created by loop.
1463
1464 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1465
1466 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1467 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1468
1469 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1470
1471 * tree.h: Add missing checks on some macros; make formatting more
1472 consistent.
1473
1474 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1475 level; only add to pending_sizes if find it.
1476
1477 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1478
1479 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1480 Add casts to remove warnings.
1481
1482 * Makefile.in (OBJS): Sort alphabetically.
1483
1484 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1485 Also minor cleanups.
1486
1487 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
1488
1489 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1490 (FLAGS_TO_PASS): Add STAGE_PREFIX.
1491 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1492 to STAGE_PREFIX.
1493
1494 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
1495
1496 * cse.c (true_dependence_in_rtx): New function.
1497 (invalidate): Use it.
1498
1499 * c-common.h (GOTO_FAKE_P): New macro.
1500 * tree-inline.c (GOTO_FAKE_P): Set.
1501 * c-tree.texi (GOTO_FAKE_P): Document.
1502
1503 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1504 containing pointers.
1505 (output_addressed_constants): Check for local/external relocations.
1506 * elfos.h (SELECT_SECTION): Classify data section.
1507 * tm.texi (SELECT_SECTION): Update documentation.
1508
1509 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1510 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1511
1512 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1513
1514 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1515 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1516 OBJECT_FORMAT_ROSE.
1517
1518 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1519
1520 * config/cris/cris.c: Tweak spacing for prototypes.
1521 (LOSE_AND_RETURN): New macro.
1522 (cris_operand_lossage): New function.
1523 (cris_print_index, cris_print_base): Use cris_operand_lossage
1524 rather than fatal_insn.
1525 (cris_print_operand, cris_print_operand_address): Use
1526 LOSE_AND_RETURN rather than fatal_insn and internal_error.
1527 (cris_output_addr_const): Use LOSE_AND_RETURN and
1528 output_operand_lossage rather than fatal_insn and internal_error
1529 for valid but unexpected rtx expressions.
1530
1531 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1532 for a SUBREG in src or dest, abort instead.
1533
1534 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1535
1536 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1537 doc.
1538
1539 2001-11-27 Jakub Jelinek <jakub@redhat.com>
1540
1541 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1542 preprocessor define. If only DBX_DEBUGGING_INFO or only
1543 DWARF2_DEBUGGING_INFO is supported for the target, provide
1544 appropriate definitions.
1545
1546 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1547
1548 * Makefile.in: Update, and add c-objc-common.o dependencies.
1549 * c-lang.c: Remove unnecessary includes.
1550 (c_init): Move bulk of code to c_objc_common_init, and call it.
1551 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1552 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1553 c-objc-common.c.
1554 * c-objc-common.c: New. Mostly pulled from c-lang.c.
1555 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1556 c_objc_common_init, c_missing_noreturn_ok_p): New.
1557 * toplev.c: Update comment.
1558 * doc/passes.texi: Update.
1559 objc:
1560 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1561 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1562 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1563 (objc_init): Update to use c_objc_common_init.
1564
1565 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1566
1567 * cpphash.c (_cpp_init_hashtable): Update.
1568 * cpphash.h (struct spec_nodes): Remove n_L.
1569 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1570
1571 2001-11-17 Richard Henderson <rth@redhat.com>
1572
1573 * unroll.c (loop_iterations): Move last change ...
1574 * doloop.c (doloop_modify_runtime): ... here.
1575
1576 2001-11-17 Corey Minyard <minyard@acm.org>
1577 Richard Henderson <rth@redhat.com>
1578
1579 * unroll.c (loop_iterations): Detect one situation in which we
1580 overestimate the number of iterations.
1581
1582 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1583
1584 * gcc.c (set_input): Export.
1585 Move declaration ...
1586 gcc.h (set_input): ... here.
1587
1588 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1589
1590 * gcc.c (set_collect_gcc_options): New function, split out from
1591 main.
1592 Ignore elided switches.
1593 (do_spec): Invoke before executing command.
1594 (do_spec_1): Likewise.
1595 Fixes PR other/3968.
1596
1597 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
1598
1599 * config/cris/cris.h (INT_ASM_OP): Remove.
1600
1601 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1602
1603 * config/i386/sol2.h (WINT_TYPE): Redefine.
1604 (WINT_TYPE_SIZE): Likewise.
1605
1606 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1607
1608 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1609 (dup2): Make static and add prototype.
1610 * m68k/plexus.h: Don't define NO_DUP2.
1611 * configure.in (AC_CHECK_FUNCS): Add dup2.
1612 * config.in, configure: Regenerate.
1613
1614 * ia64/aix.h (REG_SIZE): Don't #undef.
1615 * sparc.h (REG_SIZE): Delete.
1616 * flow.c (mark_used_regs): Don't use REG_SIZE.
1617 * regs.h (REG_SIZE): Delete.
1618
1619 2001-11-27 Andreas Schwab <schwab@suse.de>
1620
1621 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1622 PREFERRED_DEBUGGING_TYPE.
1623
1624 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1625
1626 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1627 (expr.o, varasm.o): Depends on langhooks.h.
1628 * c-common.c (c_safe_from_p): Always declare.
1629 (c_expand_expr): Refine when declared.
1630 * c-lang.c (c-common.h): Now include.
1631 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1632 (c_init): Don't set lang_safe_from_expr.
1633 * expr.c (langhooks.h): Now include.
1634 (lang_safe_from_p): No longer define.
1635 (safe_from_p): Use lang hook.
1636 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1637 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1638 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1639 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1640 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1641 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1642 * langhooks.h (struct lang_hooks): New fields expand_constant
1643 and safe_from_p.
1644 * output.h (output_constant): Size arg is HOST_WIDE_INT.
1645 * stmt.c (expand_decl_init): No longer need to expand constant
1646 for CONST_DECL.
1647 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1648 * toplev.c (lang_expand_constant): Delete var.
1649 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1650 operations on SAVE_EXPR.
1651 * varasm.c (langhooks.h): Now include.
1652 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1653 (record_constant_1, output_addressed_constants): Likewise.
1654 (initializer_constant_valid_p, output_constant): Likewise.
1655 (output_constant_def): Process no-defer of string constant.
1656 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1657 (output_constant): Strip more conversions.
1658 Track our size and pad for the rest.
1659 (array_size_for_constructor): Remove code for non-byte STRING_CST.
1660 (output_constructor): SIZE now HOST_WIDE_INT.
1661
1662 2001-11-27 Richard Henderson <rth@redhat.com>
1663
1664 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1665 in computing DIFF.
1666
1667 2001-11-27 Zack Weinberg <zack@codesourcery.com>
1668
1669 * cppfiles.c (read_include_file): Add comment.
1670
1671 2001-11-26 Richard Henderson <rth@redhat.com>
1672
1673 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1674
1675 2001-11-26 Richard Henderson <rth@redhat.com>
1676
1677 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1678 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1679 commented out override.
1680
1681 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1682
1683 * cppfiles.c (stack_include_file): Don't optimize zero-length
1684 files.
1685 (read_include_file): NUL-terminate read files.
1686 * cpplex.c (handle_newline, skip_escaped_newlines,
1687 get_effective_char, skip_whitespace, parse_identifier,
1688 parse_identifier_slow, parse_number, parse_string,
1689 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1690 NUL-terminated.
1691 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1692 Be sure buffers are NUL terminated.
1693 * cppmacro.c (warn_of_redefinition): Kill compile warning.
1694
1695 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1696
1697 * c-common.c: Include tree-inline.h.
1698 (c_language): Move separate definitions here.
1699 (c_common_init_options, c_common_post_options): New.
1700 (c_common_lang_init): Rename c_common_init.
1701 * c-common.h (c_common_lang_init): Similarly.
1702 (c_common_init_options, c_common_post_options): New.
1703 * c-lang.c (c_post_options): Move body to c_common_post_options.
1704 (c_init_options): Use c_common_init_options.
1705 (c_init): Update.
1706 * langhooks.def: Rearrange.
1707 * langhooks.h: Rearrange, and improve comments.
1708 * toplev.c (do_compile): New function.
1709 (toplev_main): Use it.
1710 (lang_independent_f_options, parse_options_and_default_flags,
1711 process_options): Remove trailing periods.
1712 * Makefile.in: Update.
1713 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1714 functions.
1715 (ojbc_init): Update.
1716
1717 2001-11-26 Richard Henderson <rth@redhat.com>
1718
1719 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1720
1721 2001-11-26 DJ Delorie <dj@redhat.com>
1722
1723 * expr.c (store_constructor): Actually use the value computed
1724 if WORD_REGISTER_OPERATIONS.
1725
1726 2001-11-26 Richard Henderson <rth@redhat.com>
1727
1728 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1729 for CONSTRUCTOR.
1730
1731 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1732
1733 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1734 correct function on AIX.
1735
1736 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
1737
1738 * toplev.c (process_options): Don't force
1739 flag_optimize_sibling_calls to zero just because exceptions are
1740 enabled.
1741
1742 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
1743
1744 * df.h (transfer_function_sbitmap): Use PARAMS around argument
1745 list in function prototypes.
1746 (transfer_function_bitmap): Likewise.
1747
1748 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1749
1750 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1751 * config/i386/netbsd-elf.h: Likewise.
1752
1753 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1754
1755 * doc/trouble.texi: Remove outdated RS/6000 comments.
1756
1757 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
1758
1759 * final.c (walk_alter_subreg): Fix return value.
1760
1761 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
1762
1763 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1764 alter_subreg.
1765 * sparc.md (post-reload splitters): Do not call alter_subreg.
1766 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1767
1768 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
1769
1770 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1771
1772 2001-11-26 Alan Modra <amodra@bigpond.net.au>
1773
1774 * final.c: (insn_lengths): Make it an int *, so that large jump
1775 tables don't overflow.
1776
1777 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
1778
1779 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1780 (format_types): Use it for scanf.
1781 (dollar_arguments_pointer_p): New.
1782 (init_dollar_format_checking): Store details of which arguments
1783 are pointers.
1784 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1785 (finish_dollar_format_checking): Take extra parameter
1786 pointer_gap_ok. Treat unused arguments differently if
1787 pointer_gap_ok and the unused arguments are pointers.
1788 (check_format_info_main): Pass extra argument to
1789 finish_dollar_format_checking.
1790 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1791 unused arguments are present between used arguments with operand
1792 numbers.
1793
1794 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
1795
1796 * df.c: Add prototypes for hybrid_search_bitmap and
1797 hybrid_search_sbitmap.
1798 (hybrid_search_bitmap): New function.
1799 (hybrid_search_sbitmap): New function.
1800 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1801 (iterative_dataflow_bitmap): Ditto.
1802
1803 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1804
1805 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1806 address computations.
1807
1808 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1809
1810 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1811 register b (low part of d).
1812
1813 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1814
1815 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1816 passed to mcount.
1817
1818 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
1819
1820 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1821 * config/alpha/x-vms: New file, to compile the above.
1822 * config.gcc (alpha*-dec-vms*): Add x-vms.
1823
1824 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
1825
1826 * genextract.c (main): Set ro_loc for peepholes.
1827
1828 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
1829
1830 * fix-header.c (main): Move inf_buffer termination and inf_limit
1831 calculation to after read.
1832
1833 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1834 (__UNIX_FOPEN): Define.
1835
1836 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1837
1838 * function.c (assign_stack_temp_for_type): Clear alias set before
1839 setting new one.
1840
1841 2001-11-23 David Edelsohn <edelsohn@gnu.org>
1842
1843 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1844 format.
1845 * rs6000.md (cmptf): Fix typo.
1846
1847 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
1848
1849 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1850 * varasm.c (output_constructor): Use assemble_integer rather
1851 than ASM_OUTPUT_BYTE.
1852
1853 2001-11-23 Andreas Jaeger <aj@suse.de>
1854
1855 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1856 extension.
1857
1858 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
1859
1860 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1861 default definition.
1862 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1863 (MULTILIB_DEFAULTS): Remove previous definition.
1864
1865 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
1866
1867 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1868 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1869
1870 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1871
1872 * cris.h: Revert thinko in last patch.
1873
1874 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1875
1876 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1877 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1878 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1879 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1880 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1881 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1882
1883 * predict.c, reg-stack.c: Fix spelling errors.
1884
1885 2001-10-09 Andrew Haley <aph@redhat.com>
1886
1887 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1888 start of stack slot.
1889
1890 2001-11-22 Graham Stott <grahams@redhat.com>
1891
1892 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1893 replacement jump after original jump.
1894
1895 (verify_flow_info): Remove redundent initialisation.
1896 Handle reaching end of insn list before finding a BARRIER.
1897 Only issue one missing barrier diagnostic.
1898
1899 2001-11-22 Graham Stott <grahams@redhat.com>
1900
1901 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1902
1903 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1904
1905 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1906 insn actually does.
1907
1908 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
1909
1910 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1911 Fix typo -mm32rx=> -m32rx.
1912
1913 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1914 targets.
1915
1916 * config.gcc (xscale-coff): Add necessary header files to
1917 tm_file variable.
1918
1919 2001-11-20 Zack Weinberg <zack@codesourcery.com>
1920
1921 * rs6000.c (output_cbranch): Use $, not %$, in output template.
1922
1923 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1924
1925 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1926 (lang_type_quals): Declare.
1927 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1928 retrieve language-specific qualifiers for a type node, instead of
1929 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1930 lang_dump_tree.
1931 * tree-dump.h: Rename from c-dump.h.
1932 * c-common.h (C_TYPE_QUALS): Removed.
1933 Move declarations for tree-dump.c interface to...
1934 * tree.h: ... here. Remove lang_dump_tree.
1935 * langhooks.h (struct lang_hooks_for_tree_dump): New.
1936 (struct lang_hooks): Add tree_dump hooks.
1937 * langhooks.c (lhd_tree_dump_dump_tree): New function.
1938 (lhd_tree_dump_type_quals): New function.
1939 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1940 Declare.
1941 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1942 * Makefile.in: Move tree-dump.o to language-independent back-end.
1943
1944 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1945
1946 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1947 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1948 * arc.h (DBX_REGISTER_NUMBER): Likewise.
1949 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1950 * avr.h (DBX_REGISTER_NUMBER): Likewise.
1951 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1952 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1953 * convex.h (DBX_REGISTER_NUMBER): Likewise.
1954 * cris.h (DBX_REGISTER_NUMBER): Likewise.
1955 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1956 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1957 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1958 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1959 * i370.h (DBX_REGISTER_NUMBER): Likewise.
1960 * i860.h (DBX_REGISTER_NUMBER): Likewise.
1961 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1962 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1963 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1964 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1965 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1966 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1967 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1968 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1969 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1970 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1971 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1972 * romp.h (DBX_REGISTER_NUMBER): Likewise.
1973 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1974 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1975 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1976 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1977 * v850.h (DBX_REGISTER_NUMBER): Likewise.
1978 * vax.h (DBX_REGISTER_NUMBER): Likewise.
1979 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
1980
1981 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
1982 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
1983
1984 2001-11-21 H.J. Lu <hjl@gnu.org>
1985
1986 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
1987
1988 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1989
1990 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
1991 emit_cmp_and_jump_insns.
1992
1993 * stormy16.c (xstormy16_expand_builtin_va_arg,
1994 xstormy16_expand_casesi): Likewise.
1995
1996 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1997
1998 * function.c (keep_stack_depressed): Major rework.
1999 (handle_epilogue_set, emit_equiv_load): New functions.
2000 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
2001 has return value.
2002 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
2003 * rtl.h (SET_IS_RETURN_P): New macro.
2004
2005 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2006 and also support TREE_ADDRESSABLE.
2007 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2008
2009 2001-11-21 David Edelsohn <edelsohn@gnu.org>
2010
2011 * rs6000.md (cmptf_internal1): Replace %$ with $.
2012
2013 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
2014
2015 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2016 (read_include_file): Use STAT_SIZE_TOO_BIG.
2017
2018 * cppinit.c (INO_T_COPY): Define.
2019 (INO_T_EQ): Uppercase parameters.
2020 (append_include_chain): Use INO_T_COPY.
2021
2022 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
2023
2024 * cfg.c: Fix typos and formatting in the introductory comment.
2025
2026 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
2027
2028 * profile.c (compute_branch_probabilites): Compute probabilities
2029 for entry/exit edges; estimate probabilities for zero counts.
2030
2031 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2032
2033 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2034 to emit_library_call.
2035 * function.c (expand_main_function, expand_function_start,
2036 expand_function_end): Likewise.
2037 * profile.c (output_func_start_profiler): Likewise.
2038 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2039 second argument to emit_library_call.
2040 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2041 as second argument to emit_library_call.
2042 * calls.c (emit_library_call): Update fn_type description.
2043
2044 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2045
2046 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2047 if fndecl is still DECL_INLINE and has DECL_RESULT.
2048
2049 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2050
2051 * clipper.c (clipper_movstr): Avoid uninitialized warning.
2052 * i960.c (is_mask, legitimize_address): Likewise.
2053 * m88k.c (m88k_expand_prologue): Likewise.
2054 * m88k.md: Likewise.
2055 * mcore.c (emit_new_cond_insn): Likewise.
2056 * stormy16.c (xstormy16_emit_cbranch): Likewise.
2057
2058 2001-11-20 Zack Weinberg <zack@codesourcery.com>
2059
2060 * config.gcc: Delete powerpcle-*-solaris2* stanza.
2061 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2062 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2063 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2064 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2065 config/rs6000/t-ppcos: Expunge all references to Solaris.
2066
2067 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2068
2069 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2070 output templates.
2071 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2072 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2073
2074 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2075
2076 * sh.md: Avoid uninitialized warnings.
2077 * vax.c (vax_rtx_cost): Likewise.
2078
2079 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2080
2081 * rs6000.c (direct_return): Check if we are saving altivec
2082 registers.
2083 (first_altivec_reg_to_save): New.
2084 Updated stack frame layout comments.
2085 (rs6000_stack_info): Calculate altivec register save size.
2086 Save link register if we saved some altivec registers.
2087 (rs6000_stack_info): Align save size to 16 if altivec abi or
2088 abi_darwin.
2089 (rs6000_stack_info): Calculate altivec register offsets.
2090 (rs6000_stack_info): Add altivec info to save_size.
2091 (debug_stack_info): Add altivec debug info.
2092 (rs6000_emit_prologue): Save altivec registers and vrsave.
2093 (compute_vrsave_mask): New.
2094 (altivec_expand_builtin): Remove unused variables.
2095 (rs6000_parse_abi_options): Add static qualifier.
2096 (rs6000_expand_builtin): Remove unused parameters.
2097 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2098 (altivec_init_builtins): Same.
2099 (is_altivec_return_reg): New.
2100 (vrsave_operation): New.
2101 (ALTIVEC_REG_BIT): New.
2102 (generate_set_vrsave): New.
2103
2104 * rs6000.md (get_vrsave): New.
2105 (set_vrsave): New.
2106 (*set_vrsave_internal): New.
2107
2108 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2109 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2110 altivec_padding_size, vrsave_mask.
2111 (TOTAL_ALTIVEC_REGS): New.
2112 (EPILOGUE_USES): Add VRSAVE_REGNO.
2113
2114 2001-11-20 Jeff Law <law@redhat.com>
2115
2116 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2117 exit label as necessary.
2118
2119 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
2120
2121 * reload1.c (elimination_effects): Use function_invariant_p
2122 instead of CONSTANT_P when considering register equivalences.
2123
2124 2001-11-20 David O'Brien <obrien@FreeBSD.org>
2125
2126 * config.gcc: Add FreeBSD/PowerPC target.
2127 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2128 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2129 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2130 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2131 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2132 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2133 freebsd-spec.h to tm_file.
2134 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2135 * config/freebsd.h: Tidy up.
2136 (USING_CONFIG_FREEBSD): Define.
2137 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2138 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2139 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2140 (TARGET_HAS_F_SETLKW): Define.
2141 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2142 * config/freebsd-spec.h: New file.
2143 * config/rs6000/freebsd.h: New file.
2144 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2145 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2146 USING_SVR4_H to know when to turn on ELF support.
2147 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2148 define only if not already defined.
2149 Add FreeBSD support.
2150 * config/rs6000/aix.h (TARGET_VERSION): Define.
2151 * config/rs6000/beos.h: Likewise.
2152 * config/rs6000/darwin.h: Likewise.
2153 * config/rs6000/mach.h: Likewise.
2154 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2155 Don't include lynx.h directly.
2156
2157 2001-11-20 Graham Stott <grahams@redhat.com>
2158
2159 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2160 Fix lossage in last change return OB.
2161
2162 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2163
2164 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2165 Remove unneeded exit related macros.
2166
2167 2001-11-20 David Edelsohn <edelsohn@gnu.org>
2168
2169 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2170
2171 * rs6000.c (rs6000_emit_move): Add TFmode case.
2172 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2173 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2174 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2175 * rs6000.h: ... to here.
2176 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2177 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2178 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2179
2180 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2181
2182 * emit-rtl.c (get_mem_attrs): Fix typo.
2183
2184 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2185
2186 * c-lang.c (finish_file): Backout 2001-11-16
2187 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2188 before calling c_expand_deferred_function.
2189
2190 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2191
2192 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2193 Don't register empty .eh_frame sections.
2194 (__deregister_frame_info_bases, __deregister_frame): Don't
2195 unregister them either.
2196
2197 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2198
2199 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2200 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2201 * configure: Regenerate.
2202 * config.in: Add dummy definitions of new flags.
2203 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2204 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2205 * gcc.c (ASM_DEBUG_SPEC): New macro.
2206 (asm_debug): New static variable.
2207 (default_compilers): Add asm_debug when assembling from
2208 user input.
2209 (static_specs): Add asm_debug.
2210
2211 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
2212
2213 * config.gcc (*-*-freebsd*): Remove configuration block.
2214
2215 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2216
2217 bootstrap/4422
2218 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2219 fixinc *as if* it were a proper lang subdirectory.
2220 * configure: Rebuilt.
2221
2222 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2223
2224 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2225
2226 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2227
2228 * 1750a.md: Don't use hex format for a const_int.
2229
2230 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2231
2232 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2233
2234 2001-11-19 Zack Weinberg <zack@codesourcery.com>
2235
2236 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2237 defined (prevents link errors when gettext isn't in the system
2238 library).
2239
2240 2001-11-19 DJ Delorie <dj@redhat.com>
2241
2242 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2243 (validate_const_int): New.
2244 (read_rtx): Validate constant integers.
2245 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2246
2247 2001-11-19 Jakub Jelinek <jakub@redhat.com>
2248
2249 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2250
2251 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2252
2253 * toplev.c (DUMPFILE_FORMAT): Define default.
2254 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2255 (close_dump_file, compile_file): Likewise.
2256 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2257 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2258
2259 2001-11-19 Jeff Law <law@redhat.com>
2260
2261 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2262 a nop-jump.
2263
2264 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
2265
2266 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2267 Don't fall off the base token run.
2268
2269 2001-11-19 Jason Wilkins <fenix@io.com>
2270
2271 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2272
2273 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2274
2275 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2276 * tree.h (handled_component_p): New declaration.
2277 * alias.c (handled_component_p): Move function from here ...
2278 * expr.c (handled_component_p): ... to here and non longer static.
2279 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2280 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2281 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2282 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2283 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2284 (expand_expr, cse ADDR_EXPR): No need to copy if already
2285 BIGGEST_ALIGNMENT.
2286 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2287 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2288 (output_constant): Handle VIEW_CONVERT_EXPR.
2289 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2290 Add new case for VIEW_CONVERT_EXPR.
2291
2292 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2293
2294 * a29k/unix.h (ASM_FILE_START): Const-ify.
2295 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2296 * i386/isc.h (ASM_FILE_START): Const-ify.
2297 * i386/sun386.h (ASM_FILE_START): Likewise.
2298 * m32r.md: Likewise.
2299 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2300 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2301 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2302 * mn10200.md: Initialize variable.
2303
2304 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2305
2306 * gcse.c (try_replace_reg): Copy RTX before creating note.
2307
2308 * df.h (df_ref_flags): New uenum.
2309 (DF_REF_FLAGS): New macro.
2310 (struct ref): Add field "flags".
2311 * df.c (HANDLE_SUBREG): Remove.
2312 (df_ref_create): Likewise; set flags field of ref.
2313 (df_def_record_1): Strip down read_write subreg; remove
2314 commented out code; set READ_WRITE flag.
2315 (read_modify_subreg_p): New static function.
2316 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2317 new argument "flags".
2318 (df_insn_refs_record): Update call of df_uses_record.
2319 (df_insn_modify): Avoid #if 0 around comment.
2320 (df_dump): Dump the read/write flag.
2321
2322 * predict.c (propagate_freq): Make cyclic_probability and frequency
2323 volatile
2324
2325 * i386.c (ix86_cc_mode): Accept USE.
2326
2327 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
2328 jump is turned into simplejump.
2329
2330 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2331
2332 * doc/fragments.texi, doc/trouble.texi: Remove links to old
2333 installation chapter.
2334 * doc/gcc.texi: Don't claim that this manual documents
2335 installation. Mark Installation menu entry as being out of date.
2336
2337 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
2338
2339 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2340 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2341 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2342
2343 2001-11-19 Jason Merrill <jason@redhat.com>
2344
2345 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2346 cur_token, not after.
2347
2348 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2349 Lose ASM_OUTPUT_CONSTRUCTOR.
2350 * system.h: Poison it and INT_ASM_OP.
2351 * c-lang.c (finish_file): Don't check for it.
2352 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2353
2354 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2355
2356 * mmix.c (mmix_cc1_ignored_option): Const-ify.
2357 (mmix_init_machine_status): Make static to match declaration.
2358 (mmix_unique_section): Const-ify.
2359 (mmix_output_quoted_string): Avoid automatic aggregate
2360 initialization.
2361 (mmix_output_register_setting): Likewise.
2362 (mmix_output_shiftvalue_op_from_str): Likewise.
2363
2364 * mmix.h (mmix_cc1_ignored_option): Const-ify.
2365 (ASM_OUTPUT_BYTE): Fix format specifier warning.
2366 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2367
2368 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2369
2370 PR c/4448
2371 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2372 name __objc_thread_exit_status so that it matches the
2373 variable defined in objc/thr.h.
2374
2375 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2376
2377 PR bootstrap/4020
2378 * mklibgcc.in: Add missing semi-colons.
2379 * Makefile.in: Same.
2380
2381 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2382
2383 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2384 after re-laying out decl in incomplete case.
2385 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2386
2387 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2388
2389 * doc/install-old.texi: Move some sections out to ...
2390 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2391 ... here. New files. Make into chapters rather than sections.
2392 * doc/gcc.texi: Include the new files and add menu entries for
2393 them.
2394 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2395
2396 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2397
2398 * tree.h (TYPE_ALIGN_OK): New flag.
2399 * emit-rtl.c (set_mem_attributes): Handle it.
2400 * expr.c (emit_single_push_insn): Only set to alias set 0 if
2401 doing sibcall optimization.
2402 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2403 when make temporary.
2404 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2405 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2406
2407 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2408
2409 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2410
2411 * c-decl.c (c_decode_option): Give deprecation warning for
2412 -traditional.
2413 * doc/invoke.texi (-traditional): Note that this option is
2414 deprecated.
2415
2416 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2417
2418 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2419 arg to HOST_WIDE_INT, not long.
2420
2421 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2422 (HAS_INIT_SECTION): Define.
2423 (REAL_ARITHMETIC): Don't undefine.
2424
2425 2001-11-18 Egor Duda <deo@logos-m.ru>
2426
2427 * config/i386/cygwin.h: Strip leading '*' from name, if any.
2428
2429 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2430
2431 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2432 * c-common.c: Include diagnostic.h.
2433 (c_common_finish): New.
2434 * c-common.h (c_common_finish): New.
2435 * c-lang.c (LANG_HOOKS_FINISH): Override.
2436 * c-parse.in: Don't include diagnostic.h.
2437 (finish_parse): Remove.
2438 * langhooks.h: Update comments.
2439 * toplev.c (lang_dependent_init): New prototype.
2440 (finalize): New.
2441 (compile_file): Split cleanup code out to finalize.
2442 (lang_dependent_init): Stop if lang_hooks.init fails.
2443 (toplev_main): Update.
2444 * tree.h (finish_parse): Remove.
2445 objc:
2446 * objc-act.c (LANG_HOOKS_FINISH): Override.
2447
2448 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
2449
2450 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2451 * config/alpha/vms_tramp.asm: New file.
2452 * config/alpha/vms-tramp.asm: Removed.
2453
2454 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2455
2456 * c-common.c (struct disabled_builtin, disabled_builtins,
2457 disable_builtin_function, builtin_function_disabled_p): New.
2458 (builtin_function_2): Check for disabled built-in functions.
2459 * c-common.h (disable_builtin_function): Declare.
2460 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2461 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2462 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2463
2464 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
2465
2466 PR target/4606
2467 * config.gcc: Remove reference to va-clipper.h.
2468
2469 2001-11-17 Stan Shebs <shebs@apple.com>
2470
2471 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2472 AltiVec-related bitfields.
2473
2474 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2475
2476 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2477 (mark_eh_region, case ERT_UKNONW): New case.
2478
2479 2001-11-17 Christopher Faylor <cgf@redhat.com>
2480 Corinna Vinschen <vinschen@redhat.com>
2481
2482 * config/i386/cygwin.h: Search target specific include directory for
2483 w32api stuff, if appropriate.
2484
2485 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
2486
2487 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2488
2489 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
2490
2491 * config/rs6000/rs6000.md: Change all ldvx to lvx.
2492
2493 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
2494
2495 * gensupport.c (process_rtx): Don't assume filename is the first
2496 argument of any rtl.
2497
2498 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2499
2500 * vax-protos.h (reg_was_0_p): New prototype.
2501 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2502 * vax.c (follows_p, reg_was_0_p): New functions.
2503
2504 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2505
2506 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2507 (casesi1): Likewise. Define new pattern which arises by simplification
2508 when operand 1 is a constant int. Correct pattern which arises by
2509 simplification when operand 1 is zero.
2510
2511 2001-11-16 David O'Brien <obrien@FreeBSD.org>
2512
2513 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2514 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2515 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2516 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2517 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2518 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2519 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2520 * config/arm/aof.h: Don't include arm.h.
2521 * config/arm/aout.h: Likewise.
2522 * config/arm/coff.h: Don't include semi.h and aout.h.
2523 * config/arm/elf.h: Don't include aout.h.
2524 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2525 (TARGET_VERSION): Undef before defining.
2526 (ARM_OS_NAME): Likewise
2527 (TARGET_DEFAULT): Likewise
2528 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2529 * config/arm/pe.h: Don't include arm/coff.h.
2530 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2531 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2532 * config/arm/riscix1-1.h: Likewise.
2533 * config/arm/rix-gas.h: Don't include riscix.h.
2534 (DBX_CONTIN_LENGTH): Undef before defining.
2535 * config/arm/semi.h: Don't include aout.h.
2536 * config/arm/semiaof.h: Don't include aof.h.
2537 * config/arm/strongarm-coff.h: Don't include coff.h.
2538 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2539 * config/arm/vxarm.h: Don't include arm/coff.h.
2540 * config/arm/xscale-coff.h: Don't include coff.h.
2541
2542 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2543
2544 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2545 emit_cmp_insn.
2546
2547 2001-11-16 Andreas Jaeger <aj@suse.de>
2548
2549 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2550 to ....
2551 (fixup_fallthru_exit_predecessor): ... this.
2552 Change callers and prototype.
2553
2554 2001-11-16 Bernd Schmidt <bernds@redhat.com>
2555
2556 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2557 hand; don't use gen_setcc_2.
2558 (ix86_expand_builtin): Fix pshufw.
2559 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2560 case UNORDERED to emit the right assembler instruction.
2561 (mmx_pshufw): Lose operand 2.
2562 (cvtsi2ss): Fix representation.
2563 From Graham Stott:
2564 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2565
2566 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
2567
2568 * doc/include/linux-and-gnu.texi: Remove.
2569 * doc/gnu.texi: New.
2570 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2571 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2572
2573 2001-11-16 Kazu Hirata <kazu@hxi.com>
2574
2575 * config/a29k/a29k.c: Fix comment formatting.
2576 * config/a29k/a29k.h: Likewise.
2577 * config/arc/arc.c: Likewise.
2578 * config/arc/arc.h: Likewise.
2579 * config/vax/vax.c: Likewise.
2580 * config/vax/vax.h: Likewise.
2581 * config/we32k/we32k.c: Likewise.
2582 * config/we32k/we32k.h: Likewise.
2583
2584 2001-11-16 Jeff Law <law@redhat.com>
2585
2586 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2587 creating a new jump insn.
2588
2589 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2590
2591 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2592 copy misaligned data.
2593 * varasm.c (assemble_variable): Set alignment into MEM when changed.
2594
2595 2001-11-16 Graham Stott <grahams@redhat.com>
2596
2597 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2598 OPALIGN type.
2599
2600 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
2601
2602 * except.c: Support for catching a list of types with a single handler
2603 (struct eh_region): Change type and filter to lists for catch regions.
2604 (mark_eh_region): Mark the filter list for GC also.
2605 (expand_start_catch): Always build a list if argument not NULL and
2606 register each type of the list through add_type_for_runtime.
2607 (duplicate_eh_region_1): Change type into type_list for catch regions.
2608 (assign_filter_values): Assign a filter to each type associated with a
2609 catch region. Assign filter for NULL types in a unique entry in the
2610 filter list.
2611 (build_post_landing_pads): Emit compare and jump for each filter of
2612 the list associated with a catch region.
2613 (reachable_next_level): When the type thrown is known, stop the search
2614 as soon as one type within a catch list matches. Also, a handler is
2615 potentially reachable only if at least one of the types it catches
2616 has not been previously caught.
2617 (collect_one_action_chain): Retrieve the filter for a NULL type list
2618 from the first filter list entry. For non NULL type lists, add an
2619 action record for every filter assigned.
2620 * except.h: Reflect changes in comment before expand_start_catch.
2621
2622 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2623
2624 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2625 BLKmode.
2626
2627 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
2628
2629 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2630
2631 2001-11-16 Jakub Jelinek <jakub@redhat.com>
2632
2633 * c-lang.c (finish_file): Don't emit static inline functions if
2634 they weren't referenced.
2635
2636 2001-11-15 Stan Shebs <shebs@apple.com>
2637
2638 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2639
2640 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2641
2642 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2643 call.
2644 * config/i386/i386.md: Likewise.
2645
2646 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2647
2648 * timevar.c (rtl.h): Include so get fancy abort.
2649
2650 2001-11-15 Dale Johannesen <dalej@apple.com>
2651
2652 * config/darwin.h (SELECT_RTX_SECTION): Force address
2653 initializers into 'const' section
2654 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
2655 if_then_else to match result, not operands
2656
2657 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2658
2659 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2660 * emit-rtl.c (change_address): Fix typo in default alignment.
2661 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2662 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2663 * rtl.h (REGNO_PTR_FRAME_P): New macro.
2664
2665 * expr.c (store_field): Pass tree instead of max size; callers changed.
2666 Change handling of alignment.
2667 Only copy to_rtx if is TARGET.
2668 (expand_expr_unaligned): Delete; callers now use expand_expr.
2669 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2670 (expand_assignment): Change handling of alignment.
2671 Only copy to_rtx if was original.
2672 (get_inner_reference): No longer return alginment; callers changed.
2673 (expand_expr, case COMPONENT_REF): Change handling of alignment.
2674 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2675 (compare_from_rtx): Delete ALIGN parm; all callers changed.
2676 (do_compare_rtx_and_jump): Likewise.
2677 * expr.h: Reflect above changes.
2678 * tree.h: Likewise.
2679 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2680 to get_inner_reference.
2681 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2682 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2683 * optabs.c: Likewise.
2684 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
2685 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2686 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2687 compare_rtx_and_jump, and emit_cmp_jump_insns.
2688 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2689 * function.c (assign_stack_temp_for_type): No longer static.
2690 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2691 (prepare_cmp_insn): Delete declaration.
2692 * rtl.h (assign_stack_temp_for_type): Add declaration.
2693 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2694 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2695 * config/i386/i386.c,config/mips/mips.c: Likewise.
2696 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2697 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2698
2699 2001-11-15 Stan Shebs <shebs@apple.com>
2700
2701 * config/rs6000/rs6000.h: Fix a comment typo.
2702 (RTX_COSTS): Sort processor versions better.
2703
2704 2001-11-15 Kazu Hirata <kazu@hxi.com>
2705
2706 * config/h8300/h8300.md: Fix insn length of bit insns.
2707
2708 2001-11-15 Jason Merrill <jason@redhat.com>
2709
2710 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2711 DIEs if there were errors in the source.
2712
2713 * config/alpha/alpha-interix.h, config/alpha/elf.h,
2714 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2715 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2716 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2717 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2718 config/elfos.h, config/lynx.h, config/netware.h,
2719 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2720 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2721 uses to use ASM_LONG.
2722
2723 2001-11-15 Alan Matsuoka <alanm@redhat.com>
2724
2725 * gensupport.c process_include : Change call to alloca to
2726 xmalloc.
2727
2728 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2729
2730 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2731 templates.
2732
2733 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2734
2735 * final.c (alter_subreg): If simplify_subreg can't do anything,
2736 handle REG ourselves and abort for others.
2737
2738 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
2739
2740 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2741 routines.
2742
2743 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2744
2745 * fix-header.c (read_scan_file): Update.
2746
2747 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2748
2749 * toplev.c (toplev_main): Don't start timing until after
2750 command-line options are parsed.
2751
2752 2001-11-15 Andreas Schwab <schwab@suse.de>
2753
2754 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2755 makefile frag, not host makefile frag.
2756 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2757 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2758 used.
2759 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2760 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2761 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2762 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2763 * config/i386/t-dgux (STMP_FIXPROTO): Define.
2764 * config/x-interix: Don't define STMP_FIXPROTO and
2765 FIXPROTO_DEFINES.
2766 * config/t-interix: New file, define STMP_FIXPROTO.
2767 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2768 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2769 * config/t-svr4 (FIXPROTO_DEFINES): Define.
2770 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2771 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2772 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2773 * config/m68k/t-hp3200: Renamed from x-hp3200.
2774 * config/i370/t-oe: Renamed from x-oe.
2775 * config/mips/t-iris: Renamed from x-iris.
2776 * config/pa/t-bsd: Renamed from x-pa.
2777 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2778 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2779 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2780 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2781 config/rs6000/x-cygwin: Remove files.
2782
2783 * configure.in: Check for target objdump and use that in eh_frame
2784 optimization test.
2785 * configure: Regenerated.
2786
2787 2001-11-15 Jakub Jelinek <jakub@redhat.com>
2788
2789 * jump.c (squeeze_notes): Return true if no real insns were found.
2790 * rtl.h (squeeze_notes): Adjust prototype.
2791 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2792 squeeze_notes finds no real instructions, abort.
2793 (merge_blocks_move_successor_nojumps): Likewise.
2794 * loop.c (find_and_verify_loops): Likewise.
2795 * stmt.c (expand_end_case): Likewise.
2796 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2797 find any real instructions.
2798
2799 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2800
2801 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2802 conditional jump, request updating life into for the block
2803 containing it. Fix a typo which prevented life info update.
2804 Clear blocks bitmap before using it.
2805
2806 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2807
2808 * c-common.c: Include c-lex.h.
2809 (c_common_lang_init): Change prototype. Call init_c_lex and
2810 init_pragma from here.
2811 * c-common.h (c_common_lang_init): Change prototype.
2812 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
2813 * c-lang.c (c_init): Change prototype. Update.
2814 (c_init_options): Update.
2815 * c-lex.c (cpp_filename): Remove.
2816 (init_c_lex): Update. Read the main file, and get the original
2817 file name.
2818 (yyparse): Finish the command line options.
2819 * c-parse.in (c_parse_init): Call init_reswords here.
2820 (init_parse): Remove.
2821 * c-tree.h (c_init_decl_processing): New.
2822 * cpphash.c (_cpp_init_hashtable): After initializing the hash
2823 table, populate it.
2824 * cppinit.c (read_original_filename, cpp_finish_options): New.
2825 (cpp_create_reader): New prototype. Defer hash table initialization.
2826 (cpp_start_read): Rename cpp_read_main_file. Initialize the
2827 hash table. Get the original filename.
2828 * cpplib.h (cpp_create_reader): Update.
2829 (cpp_start_read): Remove.
2830 (cpp_read_main_file, cpp_finish_options): New.
2831 * cppmain.c (main, do_preprocessing): Update.
2832 * langhooks.h (struct langhooks): Update init prototype.
2833 * toplev.c (general_init, parse_options_and_default_flags,
2834 process_options, lang_indpendent_init, lang_dependent_init,
2835 init_asm_output): New; perform the bulk of initialization.
2836 (compile_file): Move most of initialization to above functions.
2837 (debug_hooks): Initialize statically.
2838 (set_Wunused): Relocate.
2839 (toplev_main): Move most of initialization to other init functions.
2840 Have a clear logic flow.
2841 * tree.h (init_parse, init_decl_processing): Remove.
2842 objc:
2843 * objc-act.c (objc_init): Update prototype, combine with old
2844 init_parse.
2845 (objc_init_options): Update.
2846
2847
2848 2001-11-15 Andreas Jaeger <aj@suse.de>
2849
2850 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2851 portability.
2852 * basic-block.h: Adjust prototype.
2853
2854 2001-11-15 Kazu Hirata <kazu@hxi.com>
2855
2856 * config/rs6000/aix31.h: Fix comment formatting.
2857 * config/rs6000/beos.h: Likewise.
2858 * config/rs6000/darwin.h: Likewise.
2859 * config/rs6000/eabi.asm: Likewise.
2860 * config/rs6000/linux.h: Likewise.
2861 * config/rs6000/linux64.h: Likewise.
2862 * config/rs6000/lynx.h: Likewise.
2863 * config/rs6000/netbsd.h: Likewise.
2864 * config/rs6000/rs6000.c: Likewise.
2865 * config/rs6000/rs6000.h: Likewise.
2866 * config/rs6000/rs6000.md: Likewise.
2867 * config/rs6000/sol2.h: Likewise.
2868 * config/rs6000/tramp.asm: Likewise.
2869 * config/rs6000/xcoff.h: Likewise.
2870 * config/rs6000/xm-beos.h: Likewise.
2871
2872 2001-11-14 Alan Matsuoka <alanm@redhat.com>
2873
2874 * rtl.def (INCLUDE) : Define.
2875 * gensupport.c (init_include_reader, process_include,
2876 save_string) : New functions to implement an include facility
2877 in .md files.
2878 * gensupport.h : Add prototype for init_md_reader_args.
2879 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2880 genextract.c genflags.c genopinit.c genoutput.c
2881 genpeep.c genrecog.c: Change call to init_md_reader to
2882 init_md_reader_args.
2883 * md.texi: Document (include "path") and -I directives for RTL
2884 generation tools.
2885
2886 2001-11-14 DJ Delorie <dj@redhat.com>
2887
2888 * integrate.c (get_hard_reg_initial_reg): New.
2889 * integrate.h (get_hard_reg_initial_reg): Prototype.
2890 * local-alloc.c (block_alloc): Don't tie pseudos that
2891 represent call-saved hard regs' initial values.
2892
2893 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2894
2895 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2896 recursion.
2897
2898 2001-11-14 Roger Sayle <roger@eyesopen.com>
2899
2900 * fold-const.c (fold): Optimize strlen comparisons against zero.
2901
2902 2001-11-14 David O'Brien <obrien@FreeBSD.org>
2903
2904 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2905 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2906 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2907 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2908 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2909 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2910 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2911 Include various CPU headers via tm_file. a.out based platforms now
2912 properly include sparc/aout.h. sol2.h usage now implies including
2913 elfos.h, svr4.h, and sparc/sysv4.h.
2914 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2915 Also define to '1'.
2916 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2917 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2918 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2919 Remove. They are a.out specific and belong in sparc/aout.h.
2920 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2921 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2922 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
2923 sparc/sparc.h.
2924 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2925 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2926 Moved here from sparc/sparc.h.
2927 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2928 defining.
2929 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2930 * config/sparc/lynx.h: Don't include lynx.h.
2931 (SELECT_SECTION): Do not undef.
2932 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2933 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2934 and sparc/sysv4.h.
2935 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2936 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
2937 sparc/aout.h now.
2938 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2939 Don't undef, there is no need.
2940 * config/sparc/splet.h (CPP_PREDEFINES): Define.
2941 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2942 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2943 Don't include sparc/sparc.h.
2944 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2945 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2946 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
2947 elfos.h and svr4.h.
2948 (TARGET_VERSION): Define.
2949 * config/sparc/vxsim.h (TARGET_VERSION): Define.
2950
2951 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
2952
2953 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2954 (cfg_layout_finalize): Use it.
2955 * bb-reorder.c (HAVE_epilogue): Remove.
2956 (make_reorder_chain): Do not care special placement of
2957 last basic block.
2958
2959 * predict.c (expected_value_to_br_prob): Delete the note
2960 once transformed.
2961
2962 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2963 measure integration time separately.
2964
2965 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2966
2967 * function.c (struct temp_slot): ALIGN now unsigned.
2968
2969 2001-11-14 Kazu Hirata <kazu@hxi.com>
2970
2971 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2972 * config/dsp16xx/dsp16xx.h: Likewise.
2973 * config/dsp16xx/dsp16xx.md: Likewise.
2974
2975 2001-11-14 Kazu Hirata <kazu@hxi.com>
2976
2977 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2978 that deals with 7-bit shifts in HImode.
2979
2980 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
2981
2982 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
2983 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
2984 (final_scan_insn): Update call of alter_subreg.
2985 (cleanup_subreg_operands): Likewise.
2986 (alter_subreg): Rewrite using simplify_subreg.
2987 (output_address, output_operand): Update call of alter_subreg.
2988 * output.h (alter_subreg): Update prototype.
2989 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
2990 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
2991 * Makefile.in (final.o): Add dependency on expr.h
2992
2993 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2994
2995 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
2996
2997 2001-11-13 Jeff Sturm <jsturm@one-point.com>
2998
2999 * doc/install.texi (sparc-*-linux*): Mention requirements for
3000 binutils and glibc.
3001
3002 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
3003
3004 * Makefile.in (POD2MAN): Don't include --section=1.
3005 (manext): Rename to man1ext. All users changed.
3006 (man7ext): New.
3007 (man7dir): New.
3008 (generated-manpages): Also depend on $(docdir)/gfdl.7,
3009 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3010 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3011 --section=1 in calls to $(POD2MAN).
3012 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3013 (maintainer-clean, install, uninstall): Handle the new man pages.
3014 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3015 (installdirs): Create man7dir.
3016 * doc/cpp.texi: Include GFDL in this manual. In the man page,
3017 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
3018 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
3019 the SEE ALSO man page section.
3020 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
3021 and fsf-funding(7) in the SEE ALSO man page section.
3022 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
3023 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3024 * doc/include/fdl.texi, doc/include/funding.texi,
3025 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3026 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3027
3028 2001-11-13 Richard Henderson <rth@redhat.com>
3029
3030 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3031 as appropriate for the artificial decl.
3032
3033 2001-11-13 Richard Henderson <rth@redhat.com>
3034
3035 * loop.c (combine_movables): Turn off combination until
3036 move_movables validation bugs are fixed.
3037
3038 2001-11-13 DJ Delorie <dj@redhat.com>
3039
3040 * config.gcc (powerpc|rs6000): Set default cpp options based
3041 on --with-cpu settings.
3042 * config/rs6000/softfloat.h: New.
3043
3044 2001-11-13 Kazu Hirata <kazu@hxi.com>
3045
3046 * config/h8300/h8300.c (shift_alg_si): Use special code for
3047 25-bit shifts on H8/S.
3048 (get_shift_alg): Generate special code for 25-bit shifts on
3049 H8/S.
3050
3051 2001-11-13 Jakub Jelinek <jakub@redhat.com>
3052
3053 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3054 (adjust_automodify_address_1): New.
3055 * expr.h (adjust_address, adjust_address_nv): Adjust.
3056 (adjust_automodify_address, adjust_automodify_address_nv): Define.
3057 (adjust_address_1): Update prototype.
3058 (adjust_automodify_address_1): Add prototype.
3059 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3060 (store_by_pieces_2): Likewise.
3061
3062 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3063
3064 * Makefile.in (explow.o): Now depends on ggc.h.
3065 * explow.c (ggc.h): Include.
3066 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3067
3068 * Makefile.in (expr.o): Depends on insn-attr.h.
3069 * expr.c (insn-attr.h): New include.
3070 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3071 of MEM.
3072 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3073 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3074 clean up related usage in ADDR_EXPR.
3075 (expand_expr_unaligned): Likewise.
3076
3077 * emit-rtl.c (change_address): Fix typo in alias setting.
3078
3079 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3080
3081 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3082
3083 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3084
3085 PR bootstrap/3451
3086 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3087 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3088
3089 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3090
3091 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3092 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3093 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3094 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3095 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3096 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3097 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3098 sparc64-*-linux*): Include various CPU headers via tm_file.
3099 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3100 (SELECT_SECTION): Likewise.
3101 (SELECT_RTX_SECTION): Likewise.
3102 * config/sparc/sparc_bi.h: New file.
3103 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3104 * config/sparc/linux-aout.h: Likewise.
3105 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3106 * config/sparc/linux64.h: Likewise.
3107 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3108 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3109 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3110 and dbxcoff.h
3111 (ASM_OUTPUT_IDENT): Do not #undef.
3112 (SELECT_SECTION): Likewise.
3113 (SELECT_RTX_SECTION): Likewise.
3114 * config/sparc/liteelf.h: Don't include gofast.h.
3115 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3116 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3117 * config/sparc/pbd.h: Likewise.
3118 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3119 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3120 * config/sparc/rtemself.h: Don't include rtems.h.
3121 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3122 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3123 sparc_bi.h instead.
3124 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3125 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3126 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3127 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3128 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3129 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3130 * config/sparc/splet.h: Don't include sparc/aout.h.
3131 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3132 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3133 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3134 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3135 * config/sparc/vxsparc64.h: Don't include gofast.h.
3136 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3137
3138 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3139
3140 * doc/standards.texi: Mention C99 TC1.
3141
3142 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3143
3144 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3145 * mips.c (mips_output_conditional_branch): Likewise.
3146
3147 2001-11-12 Kazu Hirata <kazu@hxi.com>
3148
3149 * config/h8300/h8300.c (shift_alg_si): Use special code for
3150 15-bit logical shifts and 31-bit logical shifts.
3151 (get_shift_alg): Generate special code for 15-bit and 31-bit
3152 logical shifts.
3153
3154 2001-11-12 Kazu Hirata <kazu@hxi.com>
3155
3156 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3157 doing 6-bit logical shifts on H8/S.
3158 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3159 (get_shift_alg): Generate special code for 21-bit shifts on
3160 H8/S.
3161
3162 2001-11-12 Kazu Hirata <kazu@hxi.com>
3163
3164 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3165 label.
3166
3167 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3168
3169 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3170 if both size and offset known.
3171
3172 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3173
3174 * config/ia64/freebsd.h: Fix misspelling.
3175
3176 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3177
3178 * doc/gcc.texi: Move several chapters out to ...
3179 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3180 doc/include/linux-and-gnu.texi, doc/interface.texi,
3181 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3182 ... here. New files.
3183 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3184 contrib.texi.
3185 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3186
3187 2001-11-12 Kazu Hirata <kazu@hxi.com>
3188
3189 * config/alpha/alpha-interix.h: Fix comment formatting.
3190 * config/alpha/alpha.c: Likewise.
3191 * config/alpha/alpha.h: Likewise.
3192 * config/alpha/alpha32.h: Likewise.
3193 * config/alpha/freebsd.h: Likewise.
3194 * config/alpha/unicosmk.h: Likewise.
3195 * config/alpha/vms.h: Likewise.
3196
3197 2001-11-12 Kazu Hirata <kazu@hxi.com>
3198
3199 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3200
3201 2001-11-12 Jakub Jelinek <jakub@redhat.com>
3202
3203 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3204 numbers.
3205
3206 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3207
3208 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3209 from type.
3210 (replace_equiv_address): Call update_temp_slot_address.
3211
3212 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3213
3214 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3215
3216 2001-11-12 Kazu Hirata <kazu@hxi.com>
3217
3218 * config/h8300/h8300.c (shift_alg_qi): New.
3219 (shift_alg_hi): Likewise.
3220 (shift_alg_si): Likewise.
3221 (get_shift_alg): Change the type of count to unsigned int.
3222 Use the tables.
3223
3224 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
3225
3226 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3227 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3228 to decide whether to defer a function.
3229 (finish_function): Adjust.
3230 (c_expand_deferred_function): New function.
3231 * c-lang.c (deferred_fns): New variable.
3232 (c_init): Initialize it, and mark it as a root.
3233 (defer_fn): New function.
3234 (finish_file): Expand all deferred functions.
3235 * c-tree.h (defer_fn): Declare.
3236 (c_expand_deferred_function): Likewise.
3237 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3238 * objc-act.c (deferred_fns): New variable.
3239 (objc_init): Initialize it, and mark it as a root.
3240 (defer_fn): New function.
3241 (finish_file): Expand all deferred functions.
3242
3243 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3244
3245 * alpha.c (unicosmk_special_name): Prototype.
3246 (unicosmk_ssib_name): Delete unused variable.
3247 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3248 * alpha/vms.h (PREFIX): Undef before defining.
3249 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3250 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3251 controlling usage. Const-ify.
3252 (alias_number): Delete unused variable.
3253 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3254 (m32r_expand_block_move): Fix uninitialized warnings.
3255 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3256 always true' warnings.
3257 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3258 * sh/sh.c: Include "integrate.h".
3259 (output_far_jump): Fix uninitialized warning.
3260 * final.c (shorten_branches): Avoid automatic aggregate
3261 initialization.
3262 * integrate.c (subst_constants): Likewise.
3263
3264 2001-11-11 Kazu Hirata <kazu@hxi.com>
3265
3266 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3267 (get_shift_alg): Remove redundant code.
3268
3269 2001-11-11 Kazu Hirata <kazu@hxi.com>
3270
3271 * config/pa/milli64.S: Fix comment formatting.
3272 * config/pa/pa-64.h: Likewise.
3273 * config/pa/pa-linux.h: Likewise.
3274 * config/pa/pa-protos.h: Likewise.
3275 * config/pa/pa.c: Likewise.
3276 * config/pa/pa.h: Likewise.
3277 * config/pa/pa32-linux.h: Likewise.
3278 * config/pa/pa32-regs.h: Likewise.
3279 * config/pa/pa64-hpux.h: Likewise.
3280 * config/pa/pa64-regs.h: Likewise.
3281 * config/pa/som.h: Likewise.
3282
3283 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3284
3285 * doc/gcc.texi: Move several chapters out to ...
3286 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3287 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3288 doc/vms.texi: ... here. New files.
3289 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3290
3291 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3292
3293 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3294 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3295 collect2.c, combine.c, config.in, configure, configure.in,
3296 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3297 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3298 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3299 spelling errors.
3300
3301 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3302
3303 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3304 Adjust operand number in CONST_DOUBLE.
3305
3306 * expmed.c (extract_bit_field): No longer pass in alignment.
3307 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3308 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3309 Likewise.
3310 * expr.c (store_constructor, store_constructor_field): Likewise.
3311 (store_field, emit_group_load, emit_group_store): Likewise.
3312 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3313 (store_bit_field, extract_bit_field): Likewise.
3314 * calls.c, expr.c, function.c: Change calls to above functions.
3315 * ifcvt.c, stmt.c: Likewise.
3316
3317 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3318 constant and one is on frame.
3319 If know memref offset, adjust size from decl.
3320
3321 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3322
3323 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3324 format specifier warning.
3325 * convex.h (ASM_OUTPUT_BYTE): Likewise.
3326 * elfos.h (ALIGN_ASM_OP): Undef before defining.
3327 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3328 warning.
3329 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3330 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3331 * i386-interix.h (gen_stdcall_suffix): Prototype.
3332 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3333 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3334 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3335 * i386/interix.c (gen_stdcall_suffix): Const-ify.
3336 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3337 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3338 specifier warnings.
3339 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3340 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3341 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3342 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3343 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3344 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3345 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3346 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3347 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3348 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3349 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3350 Likewise.
3351 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3352 Likewise.
3353 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3354 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3355 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3356 Likewise.
3357 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3358 Likewise.
3359 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3360 Likewise.
3361 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3362 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3363 * m68k/news.h (PRINT_OPERAND): Likewise.
3364 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3365 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3366 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3367 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3368 definition.
3369 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3370 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3371 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3372 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3373 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3374 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3375 PRINT_OPERAND): Likewise.
3376 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3377 Likewise.
3378 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3379 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3380 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3381 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3382 * mips.c (mips_output_external_libcall): Mark parameter with
3383 ATTRIBUTE_UNUSED.
3384 (mips_asm_file_start): Move variable into the scope where it's
3385 used.
3386 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3387 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3388 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3389 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3390 * ns32k.c (print_operand): Likewise.
3391 * pa.c (print_operand, output_div_insn): Likewise.
3392 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3393 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3394 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3395 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3396 specifier warnings.
3397 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3398 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3399 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3400 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3401 specifier warnings.
3402 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3403
3404 * sdbout.c (sdbout_end_epilogue): Mark parameter with
3405 ATTRIBUTE_UNUSED.
3406 * varasm.c (assemble_global): Likewise.
3407
3408 2001-11-11 H.J. Lu <hjl@gnu.org>
3409
3410 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3411
3412 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
3413
3414 * final.c (*_MAX_SKIP): Use *_max_skip variables.
3415 * flags.h (align_loops_max_skip, align_jumps_max_skip,
3416 align_labels_max_skip): New global variables.
3417 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3418 align_labels_max_skip): New global variables.
3419 (toplev_main): Set new variables.
3420 * i386.c (override_options): Set max_skip values.
3421
3422 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
3423
3424 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3425 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3426 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3427 don't print an @fptr for labels either.
3428 (xstormy16_output_addr_vec): Don't print @fptr here.
3429 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3430
3431 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
3432
3433 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3434 an ANSI/ISO definitino.
3435 (ssa_const_prop): Likewise.
3436
3437 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
3438
3439 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3440 altivec registers.
3441
3442 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3443
3444 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3445 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3446 * cppmain.c (general_init): Call hex_init.
3447 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3448
3449 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3450
3451 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3452 of dgux.c:output_file_start().
3453
3454 * i386/dgux.c: Delete file.
3455
3456 2001-11-09 Richard Henderson <rth@redhat.com>
3457
3458 * config/alpha/alpha.c (decl_in_text_section): New.
3459 (current_file_function_operand): Use it.
3460 (alpha_encode_section_info, alpha_end_function): Likewise.
3461
3462 2001-11-07 David O'Brien <obrien@FreeBSD.org>
3463
3464 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3465 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3466 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3467 so OS specific files and use CPP_PREDEFINES for their needs.
3468 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
3469 target headers to tm_file.
3470 * config/ia64/aix.h (TARGET_VERSION): Likewise.
3471 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3472 * config/ia64/linux.h (TARGET_VERSION): Likewise.
3473 (FUNCTION_PROFILER): Remove.
3474 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3475 version in config/ia64/linux.h.
3476 * config/ia64/freebsd.h: New file.
3477 * config/freebsd.h: Tidy up.
3478 (_USING_CONFIG_FREEBSD): Define.
3479 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3480 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3481 (FBSD_STARTFILE_SPEC): Likewise.
3482 (FBSD_ENDFILE_SPEC): Likewise.
3483 (FBSD_LIB_SPEC): Likewise.
3484 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3485 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3486 set an ELF-improper one.
3487
3488 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3489
3490 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3491 constant can be loaded in a single instruction to a register. When
3492 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
3493 depdi for insertion of most significant 32-bits on 64-bit hosts.
3494 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3495 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3496 * pa.md: New addmove pattern for adding constant_int to HImode
3497 register and moving result to HImode register. Remove HImode HIGH
3498 and LO_SUM patterns.
3499
3500 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3501
3502 * Makefile.in: Update.
3503 * c-decl.c (print_lang_decl, print_lang_type): Remove.
3504 (print_lang_identifier): Rename c_print_identifier.
3505 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3506 (print_lang_statistics, lang_print_xnode): Remove.
3507 * c-parse.in (set_yydebug): Rename c_set_yydebug.
3508 * c-tree.h (c_set_yydebug, c_print_identifier): New.
3509 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3510 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3511 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3512 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3513 (LANG_HOOKS_INITIALIZER): Update.
3514 * langhooks.h (struct lang_hooks): New members.
3515 (lang_print_tree_hook): New.
3516 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3517 * print-tree.c: Include langhooks.h.
3518 (print_node): Update.
3519 * toplev.c (decode_d_option): Update.
3520 * tree.c: Include langhooks.h.
3521 (dump_tree_statistics): Update.
3522 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3523 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3524 objc:
3525 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3526 LANG_HOOKS_SET_YYDEBUG): Override.
3527 (lang_print_xnode, print_lang_statistics): Remove.
3528
3529 2001-11-09 Richard Henderson <rth@redhat.com>
3530
3531 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3532 on the symbol string.
3533
3534 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3535
3536 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3537 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3538 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3539
3540 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3541
3542 * tlink.c (recompile_files): Copy strings passed to `putenv'.
3543
3544 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
3545
3546 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3547 (TYPE_READONLY): Likewise.
3548
3549 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3550
3551 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3552 don't pass --gdwarf2 to the assembler if the compiler will also
3553 provide debug info.
3554
3555 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3556 Don't change INDEX.
3557
3558 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3559
3560 * alias.c (nonoverlapping_memrefs_p): New function.
3561 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3562
3563 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3564
3565 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
3566
3567 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3568 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3569 generating altivec code.
3570 (FIXED_REGISTERS): VRSAVE is fixed.
3571 (CALL_USED_REGISTERS): VRSAVE is call used.
3572
3573 2001-11-09 Jason Eckhardt <jle@rice.edu>
3574
3575 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3576 code the branch target as ".+16/.+12", but rather use labels.
3577
3578 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
3579
3580 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3581 to work around limitations of certain versions of GAS.
3582
3583 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3584 (muldi3): Update due to SUBREG_BYTE changes.
3585 (casesi): Similarly.
3586
3587 2001-11-09 Zack Weinberg <zack@codesourcery.com>
3588
3589 * doc/invoke.texi: Remove comment referring to -xf77-version.
3590
3591 2001-11-09 Kazu Hirata <kazu@hxi.com>
3592
3593 * config/convex/convex.c: Fix comment formatting.
3594 * config/convex/convex.h: Likewise.
3595
3596 2001-11-08 Zack Weinberg <zack@codesourcery.com>
3597
3598 * Makefile.in (.po.pox): Look both in srcdir and builddir
3599 for $(PACKAGE).pot.
3600 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3601 to the source directory.
3602
3603 2001-11-09 Ben Elliston <bje@redhat.com>
3604 Michael Meissner <meissner@redhat.com>
3605 Andrew MacLeod <amacleod@redhat.com>
3606 Richard Henderson <rth@redhat.com>
3607 Nick Clifton <nickc@redhat.com>
3608 Catherine Moore <clm@redhat.com>
3609
3610 * m32r.c: Add support for m32rx processor.
3611 * m32r.h: Ditto.
3612 * m32r.md: Ditto.
3613 * t-m32r: Ditto.
3614 * m32r-protos.h: Add prototypes for m32rx functions.
3615 * doc/invoke.texi: Document -m32rx option.
3616
3617 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3618
3619 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3620 or after reload.
3621
3622 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3623
3624 * doc/install.texi2html: Use $MAKEINFO --no-split.
3625
3626 2001-11-09 Andreas Schwab <schwab@suse.de>
3627
3628 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3629 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3630 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3631 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3632 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3633
3634 2001-11-09 H.J. Lu <hjl@gnu.org>
3635
3636 * config/mips/mips.c (mips_output_function_prologues): Cast
3637 `tsize' to long for output.
3638
3639 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3640
3641 * c-lang.c (LANG_HOOKS_NAME): New.
3642 (lang_hooks): Constify.
3643 (c_init_options): Update.
3644 (lang_identify): Remove.
3645 * c-parse.in (language_string): Remove.
3646 * dbxout.c: Include langhooks.h.
3647 (dbxout_symbol_location): Update.
3648 * dwarf2out.c: Include langhooks.h.
3649 (gen_compile_unit_die): Update.
3650 * dwarfout.c: Include langhooks.h.
3651 (prototyped_attribute, output_compile_unit_die): Update.
3652 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3653 (LANG_HOOKS_INITIALIZER): Update.
3654 * langhooks.h (struct lang_hooks): New members. Constify.
3655 * stringpool.c: Don't include toplev.h.
3656 (set_identifier_size): Remove.
3657 * toplev.c (toplev_main): Initialize identifier size.
3658 (print_version): Update.
3659 * tree.h (language_string, init_lex, lang_identify,
3660 set_identifier_size): Remove.
3661 * Makefile.in: Update dependencies.
3662 * config/darwin.c: Include langhooks.h.
3663 (func_name_maybe_scoped): Update.
3664 * config/darwin.h (ASM_END_FILE): Update.
3665 * config/nextstep.h (ASM_END_FILE): Update.
3666 * config/nextstep21.h (ASM_END_FILE): Update.
3667 * config/i386/sun386.h (ASM_END_FILE): Update.
3668 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3669 (rs6000_output_function_epilogue): Update.
3670 objc:
3671 * objc-act.c (LANG_HOOKS_NAME): Override.
3672 (struct lang_hooks): Constify.
3673 (objc_init_options): Update.
3674 (lang_identify): Remove.
3675
3676 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
3677
3678 * fold-const.c (lshift_double): Honor PREC.
3679 (rshift_double): Likewise.
3680
3681 2001-11-08 Kazu Hirata <kazu@hxi.com>
3682
3683 * config/1750a/1750a.c: Fix comment formatting.
3684 * config/1750a/1750a.h: Likewise.
3685
3686 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
3687
3688 * configure.in (--enable-languages): Be more permissive about
3689 syntax. Check for empty lists better. Warn about $LANGUAGES.
3690 * configure: Regenerated.
3691
3692 2001-11-08 Richard Henderson <rth@redhat.com>
3693
3694 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3695
3696 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
3697
3698 * config.gcc: Rename stormy16 to xstormy16.
3699 * config/stormy16/stormy-abi: Likewise.
3700 * config/stormy16/stormy16-protos.h: Likewise.
3701 * config/stormy16/stormy16.c: Likewise.
3702 * config/stormy16/stormy16.h: Likewise.
3703 * config/stormy16/stormy16.md: Likewise.
3704
3705 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
3706
3707 * tree.h (TYPE_VOLATILE): Add enable-checking code.
3708 (TYPE_READONLY): Likewise.
3709
3710 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3711
3712 * reload1.c (reload): Don't delete equiv insn if can throw.
3713
3714 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3715 (clear_storage): Likewise, for OBJECT.
3716
3717 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
3718
3719 * pa.c (emit_move_sequence): Fix SUBREG expression to
3720 use proper byte offset when extending a constant from
3721 SImode to DImode.
3722
3723 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3724
3725 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3726 which cannot throw.
3727
3728 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3729
3730 * explow.c (convert_memory_address, case SUBREG): Only return
3731 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3732
3733 2001-11-08 Richard Henderson <rth@redhat.com>
3734
3735 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3736 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3737 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3738
3739 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
3740
3741 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3742
3743 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3744
3745 * dwarf2out.c (debug_str_hash): New.
3746 (struct indirect_string_node): New.
3747 (struct dw_val_struct): Change type of val_str to it.
3748 (DEBUG_STR_SECTION_FLAGS): Define.
3749 (add_AT_string): Push string into hashtable, increment reference
3750 counter.
3751 (AT_string): Return string from ht_identifier.
3752 (AT_string_form): New.
3753 (free_AT): For dw_val_class_str, just decrement reference counter.
3754 (size_of_string): Remove.
3755 (size_of_die): Use AT_string_form to decide what size the string
3756 occupies in DIE.
3757 (size_of_pubnames): Use strlen instead of size_of_string.
3758 (value_format): Use AT_string_form for dw_val_class_str.
3759 (output_die): Output DW_FORM_strp strings using
3760 dw2_asm_output_offset.
3761 (indirect_string_alloc, output_indirect_string): New.
3762 (dwarf2out_finish): Emit .debug_str strings if there are any.
3763
3764 2001-11-08 Andreas Franck <afranck@gmx.de>
3765
3766 * configure.in: Add AC_ARG_PROGRAM to support program name
3767 transformation with --program-prefix, --program-suffix and
3768 --program-transform-name.
3769 * configure: Regenerated.
3770 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3771 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3772 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3773 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3774 program_transform_name the way suggested by autoconf.
3775 (GCC_TARGET_INSTALL_NAME): Define.
3776 (install-driver): Use the transformed target alias name.
3777
3778 2001-11-08 Richard Henderson <rth@redhat.com>
3779
3780 * config/mips/mips.c (save_restore_insns): Remove GP from the
3781 restore registers mask early instead of special casing it inside
3782 the loop.
3783
3784 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
3785
3786 * cp/decl.c (shadow_warning): New function.
3787 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
3788 and an error when a block scope decl shadows a parameter.
3789
3790 2001-11-08 Richard Henderson <rth@redhat.com>
3791
3792 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3793 case as well.
3794
3795 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3796
3797 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3798 to implement floating negation on processors prior to PA 2.0.
3799
3800 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3801
3802 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3803 (USE_LINKONCE_INDIRECT): Define.
3804 (dw2_output_indirect_constant_1): Try to output indirect constants
3805 into linkonce sections if possible.
3806 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
3807 (dw2_output_indirect_constants): Likewise.
3808
3809 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3810
3811 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3812
3813 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
3814
3815 * c-decl.c (pushdecl): Remove file and line.
3816 * c-typeck.c (pop_init_level): Remove size.
3817
3818 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3819
3820 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3821 for rs6000.
3822
3823 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3824 (TARGET_ALTIVEC): New.
3825 (TARGET_SWITCHES): Add altivec.
3826 (FIRST_PSEUDO_REGISTER): Change to 109.
3827 (CALL_USED_REGISTERS): Same.
3828 (FIRST_ALTIVEC_REGNO): New.
3829 (LAST_ALTIVEC_REGNO): New.
3830 (ALTIVEC_REGNO_P): New.
3831 (UNITS_PER_ALTIVEC_WORD): New.
3832 (ALTIVEC_VECTOR_MODE): New.
3833 (FIXED_REGISTERS): Add altivec registers.
3834 (REG_ALLOC_ORDER): Same.
3835 (HARD_REGNO_NREGS): Adjust for altivec registers.
3836 (HARD_REGNO_MODE_OK): Same.
3837 (MODES_TIEABLE_P): Same.
3838 (REGISTER_MOVE_COST): Same.
3839 (REGNO_REG_CLASS): Same.
3840 (reg_class): Add ALTIVEC_REGS.
3841 (REG_CLASS_NAMES): Same.
3842 (REG_CLASS_CONTENTS): Same.
3843 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
3844 (ALTIVEC_ARG_RETURN): New.
3845 (FUNCTION_VALUE): Handle VECTOR_TYPE.
3846 (LIBCALL_VALUE): Handle altivec vector modes.
3847 (VECTOR_MODE_SUPPORTED_P): New.
3848 (ALTIVEC_ARG_MIN_REG): New.
3849 (ALTIVEC_ARG_MAX_REG): New.
3850 (ALTIVEC_ARG_NUM_REG): New.
3851 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
3852 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
3853 (REGISTER_NAMES): Add altivec regs.
3854 (DEBUG_REGISTER_NAMES): Same.
3855 (ADDITIONAL_REGISTER_NAMES): Same.
3856 (rs6000_builtins): New.
3857 (MD_EXPAND_BUILTIN): New.
3858 (MD_INIT_BUILTINS): New.
3859 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
3860 for AltiVec instructions.
3861 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
3862 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
3863 registers.
3864 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
3865 (TARGET_SWITCHES): Add no-altivec.
3866 (DATA_ALIGNMENT): Align vectors to 128 bits.
3867 (TARGET_OPTIONS): Add abi= option.
3868 Add rs6000_abi_string extern.
3869 (LOCAL_ALIGNMENT): New.
3870 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
3871 (MASK_ALTIVEC_ABI): New.
3872 (TARGET_ALTIVEC_ABI): New.
3873 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
3874 call-saved.
3875 (STACK_BOUNDARY): Adjust for altivec.
3876 (BIGGEST_ALIGNMENT): Same.
3877 (rs6000_args): Add vregno.
3878 (USE_ALTIVEC_FOR_ARG_P): New.
3879 (FIXED_REGISTERS): Add vrsave register.
3880 (CALL_USED_REGISTERS): Same.
3881 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
3882 (VRSAVE_REGNO): New.
3883 (reg_class): Add VRSAVE_REGS.
3884 (REG_CLASS_NAMES): Same.
3885 (REG_CLASS_CONTENTS): Same.
3886 (REGNO_REG_CLASS): Same.
3887
3888 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
3889 (ABI_STACK_BOUNDARY): Same.
3890 (BIGGEST_ALIGNMENT): Same.
3891 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
3892 (ROUND_TYPE_ALIGN): Same.
3893
3894 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3895 to 64.
3896
3897 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3898 to 64.
3899
3900 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3901 to 64.
3902
3903 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
3904 (altivec_expand_builtin): New.
3905 (altivec_init_builtins): New.
3906 (TARGET_EXPAND_BUILTIN): New.
3907 (TARGET_INIT_BUILTINS): New.
3908 (rs6000_init_builtins): New.
3909 (struct builtin_description): New.
3910 (bdesc_2arg): New.
3911 (rs6000_reg_names): Add altivec registers.
3912 (alt_reg_names): Same.
3913 (secondary_reload_class): Altivec regs can hold altivec regs and
3914 memory.
3915 (rs6000_emit_move): Force constants into memory for AltiVec moves.
3916 (print_operand): Add 'y' case for printing altivec memory
3917 operands.
3918 (rs6000_legitimize_address): Legitimize vector addresses into
3919 [REG+REG] or [REG].
3920 (altivec_expand_binop_builtin): New.
3921 New string rs6000_current_abi.
3922 (rs6000_override_options): Call rs6000_parse_abi_options.
3923 (rs6000_parse_abi_options): New.
3924 (function_arg_boundary): Vector arguments must be 16
3925 byte aligned.
3926 (function_arg_advance): Handle vector arguments.
3927 (function_arg_partial_nregs): Same.
3928 (init_cumulative_args): Same.
3929 (function_arg): Same.
3930
3931 * config/rs6000/rs6000.md (altivec_lvx): New.
3932 (type): Add altivec attribute.
3933 (movv4si): New.
3934 (*movv4si_internal): New.
3935 (movv16qi): New.
3936 (*movv16qi_internal): New.
3937 (movv8hi): New.
3938 (*movv8hi_internal1): New.
3939 (movv4sf): New.
3940 (*movv4sf_internal1): New.
3941 (altivec_stvx): New.
3942 (vaddubm): New.
3943 (vadduhm): New.
3944 (vadduwm): New.
3945 (vaddfp): New.
3946 (vaddcuw): New.
3947 (vaddubs): New.
3948 (vaddsbs): New.
3949 (vadduhs): New.
3950 (vaddshs): New.
3951 (vadduws): New.
3952 (vaddsws): New.
3953 (vand): New.
3954 (vandc): New.
3955 (vavgub): New.
3956 (vavgsb): New.
3957 (vavguh): New.
3958 (vavgsh): New.
3959 (vavguw): New.
3960 (vavgsw): New.
3961 (vcmpbfp): New.
3962 (vcmpequb): New.
3963 (vcmpequh): New.
3964 (vcmpequw): New.
3965 (vcmpeqfp): New.
3966 (vcmpgefp): New.
3967 (vcmpgtub): New.
3968 (vcmpgtsb): New.
3969 (vcmpgtuh): New.
3970 (vcmpgtsh): New.
3971 (vcmpgtuw): New.
3972 (vcmpgtsw): New.
3973 (vcmpgtfp): New.
3974 (vcmpgefp): New.
3975 (vcmpgtub): New.
3976 (vcmpgtsb): New.
3977 (vcmpgtuh): New.
3978 (vcmpgtsh): New.
3979 (vcmpgtuw): New.
3980 (vcmpgtsw): New.
3981 (vcmpgtfp): New.
3982 (vmaxub): New.
3983 (vmaxsb): New.
3984 (vmaxuh): New.
3985 (vmaxsh): New.
3986 (vmaxuw): New.
3987 (vmaxsw): New.
3988 (vmaxfp): New.
3989 (vmrghb): New.
3990 (vmrghh): New.
3991 (vmrghw): New.
3992 (vmrglb): New.
3993 (vmrglh): New.
3994 (vmrglw): New.
3995 (vminub): New.
3996 (vminsb): New.
3997 (vminuh): New.
3998 (vminsh): New.
3999 (vminuw): New.
4000 (vminsw): New.
4001 (vminfp): New.
4002 (vmuleub): New.
4003 (vmulesb): New.
4004 (vmuleuh): New.
4005 (vmulesh): New.
4006 (vmuloub): New.
4007 (vmulosb): New.
4008 (vmulouh): New.
4009 (vmulosh): New.
4010 (vnor): New.
4011 (vor): New.
4012 (vpkuhum): New.
4013 (vpkuwum): New.
4014 (vpkpx): New.
4015 (vpkuhss): New.
4016 (vpkshss): New.
4017 (vpkuwss): New.
4018 (vpkswss): New.
4019 (vpkuhus): New.
4020 (vpkshus): New.
4021 (vpkuwus): New.
4022 (vpkswus): New.
4023 (vrlb): New.
4024 (vrlh): New.
4025 (vrlw): New.
4026 (vslb): New.
4027 (vslh): New.
4028 (vslw): New.
4029 (vsl): New.
4030 (vslo): New.
4031 (vsrb): New.
4032 (vrsh): New.
4033 (vrsw): New.
4034 (vsrab): New.
4035 (vsrah): New.
4036 (vsraw): New.
4037 (vsr): New.
4038 (vsro): New.
4039 (vsububm): New.
4040 (vsubuhm): New.
4041 (vsubuwm): New.
4042 (vsubfp): New.
4043 (vsubcuw): New.
4044 (vsububs): New.
4045 (vsubsbs): New.
4046 (vsubuhs): New.
4047 (vsubshs): New.
4048 (vsubuws): New.
4049 (vsubsws): New.
4050 (vsum4ubs): New.
4051 (vsum4sbs): New.
4052 (vsum4shs): New.
4053 (vsum2sws): New.
4054 (vsumsws): New.
4055 (vxor): New.
4056
4057 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
4058
4059 * Makefile.in (df.o): Add fibheap.h to dependencies.
4060
4061 * df.h: Add prototypes for transfer functions, iterative_dataflow
4062 functions.
4063 (enum df_flow_dir): New enum.
4064 (enum df_confluence_op): New enum.
4065 (struct df): Add inverse_rts_map.
4066
4067 * df.c: Add sbitmap.h to the list of includes.
4068 (df_rd_global_compute): Removed.
4069 (df_ru_global_compute): Removed.
4070 (df_lr_global_compute): Removed.
4071 (df_rd_transfer_function): New function.
4072 (df_ru_transfer_function): New function.
4073 (df_lr_transfer_function): New function.
4074 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4075 Use iterative_dataflow_bitmap instead of df_*_global_compute.
4076 (iterative_dataflow_sbitmap): New function.
4077 (iterative_dataflow_bitmap): New function.
4078
4079 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4080
4081 * doc/gcc.texi: Move terminology and spelling conventions to
4082 htdocs/codingconventions.html.
4083
4084 2001-11-07 Graham Stott <grahams@redhat.com>
4085
4086 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4087
4088 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
4089
4090 * expmed.c (expand_mult): Force operand to register before computing
4091 cost.
4092 * i386.c (x86_decompose_lea): New global vairable.
4093 * i386.h (x86_decompose_lea): Declare.
4094 (TARGET_DECOMPOSE_LEA): New macro.
4095 (RTX_COST): Handle leas properly.
4096
4097 2001-11-06 Richard Henderson <rth@redhat.com>
4098
4099 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4100 defined for a CONSTRUCTOR; don't check it.
4101
4102 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4103
4104 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4105 test for absolute pathnames.
4106
4107 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
4108
4109 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4110 instructions up to the target pc inclusive.
4111
4112 2001-11-06 Steve Christiansen <smc@us.ibm.com>
4113
4114 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4115
4116 2001-11-06 Eric Christopher <echristo@redhat.com>
4117
4118 * config/mips/mips.md(movdf_internal2): Add constraints for float
4119 to general register move.
4120 * config/mips/elf64.h: Add default ABI.
4121
4122 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4123
4124 * alias.c:: Include langhooks.h.
4125 * emit-rtl.c: Similarly.
4126 * toplev.c: Similarly.
4127 * tree-inline.c: Similarly.
4128 * langhooks-def.h: New, the old langhooks.h. Give the default
4129 hooks a common prefix.
4130 * langhooks.h: Contents extracted from toplev.h.
4131 * toplev.h: Move langhook stuff to langhooks.h.
4132 * langhooks.c: Give default hooks a common prefix.
4133
4134 * c-lang.c: Include langhooks-def.h.
4135 * objc/objc-act.c: Similarly.
4136 * Makefile.in: Update.
4137 * objc/Make-lang.in: Update.
4138
4139 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4140
4141 * doc/install.texi: Document that configure options not listed in
4142 this file are unsupported. Document --with-system-zlib.
4143
4144 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4145
4146 * rtl.h (mem_for_const_double): New declaration.
4147 * varasm.c (mem_for_const_double): New function.
4148 * config/convex/convex.md (movdf): Use it.
4149 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4150 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4151 * config/m68k/m68kv4.h: Likewise.
4152
4153 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4154 of new GP reg classes.
4155
4156 * expr.c (store_field): When making temp object for unaligned
4157 component, set it to alias set 0.
4158
4159 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4160
4161 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4162 non-lvalue arrays if C99.
4163 * c-typeck.c (default_conversion): Split out code handling
4164 array-to-pointer and function-to-pointer conversions into a
4165 separate default_function_array_conversion function.
4166 (default_function_array_conversion): New function. Keep track of
4167 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4168 arrays unchanged outside C99 mode instead of giving an error for
4169 them.
4170 (build_component_ref): Use pedantic_non_lvalue when handling
4171 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4172 (convert_arguments): Use default_function_array_conversion.
4173 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4174 non-lvalues are OK.
4175 (unary_complex_lvalue): Likewise.
4176 (internal_build_compound_expr): Use
4177 default_function_array_conversion. Apply default conversions to
4178 function in compound expression.
4179 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4180 Use default_function_array_conversion.
4181 * doc/extend.texi: Update documentation of subscripting non-lvalue
4182 arrays.
4183 Fixes PR c/461.
4184
4185 2001-11-05 Zack Weinberg <zack@codesourcery.com>
4186
4187 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4188 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4189 corresponding to the complete set of .po and .gmo files in
4190 the source directory's po subdir, modified by LINGUAS. Don't
4191 look at ALL_LINGUAS.
4192 * configure.in: Don't set ALL_LINGUAS.
4193 * configure: Regenerate.
4194
4195 * Makefile.in (.po.gmo): Don't move into source directory.
4196 (.po.pox): Clarify comments.
4197 (install-po): Look for .gmo files in both srcdir and objdir;
4198 don't fail if a file is totally missing.
4199 (distclean): rmdir ada subdirectory too.
4200
4201 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4202
4203 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4204 CONSTRUCTORs _correctly_.
4205
4206 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4207
4208 * c-decl.c (delete_block): Remove.
4209 * c-tree.h (delete_block): Remove.
4210
4211 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4212
4213 * cppexp.c (lex, parse_defined): Update warning about defined.
4214
4215 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4216
4217 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4218 CONSTRUCTORs too.
4219
4220 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4221
4222 * config/arm/arm.c (arm_return_in_memory): Cope with
4223 int_size_in_bytes returning -1.
4224
4225 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4226 DECL being NULL.
4227
4228 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4229
4230 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4231 remove unneeded dependencies;
4232 (cfglayout.o): New.
4233 * cfglayout.c, cfglayout.h: New files; break out from ...
4234 * bb-reorder.c: ... here; Remove unneeded includes;
4235
4236 2001-11-04 Alan Modra <amodra@bigpond.net.au>
4237
4238 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4239
4240 2001-11-04 David Edelsohn <edelsohn@gnu.org>
4241
4242 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4243 mode as well. Do not explicitly create intermediate regs.
4244
4245 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4246
4247 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4248 (common_section): Delete unused variable.
4249 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4250 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4251 * arm-protos.h (arm_poke_function_name, aof_add_import,
4252 aof_delete_import): Const-ify.
4253 * arm.c (legitimize_pic_address): Wrap variables in the macro
4254 controlling their usage.
4255 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4256 (arm_poke_function_name, pic_chain, import, aof_add_import,
4257 aof_delete_import): Const-ify.
4258 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4259 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4260 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4261 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4262 * i860/sysv3.h: Add missing comment closure.
4263 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4264 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4265 to symbolic_operand.
4266
4267 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4268 (i960-*-*): Set tmake_file.
4269 (sparc86x-*-elf*): Fix typo in header name.
4270
4271 * sched-rgn.c (schedule_insns): Delete unused variable.
4272
4273 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4274
4275 PR c/2820
4276 * c-typeck.c (lookup_field): Rework to return a chain down to
4277 the looked-up field.
4278 (build_component_ref): Use the new lookup_field to handle
4279 nested anonymous entities correctly.
4280
4281 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4282
4283 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4284 Change parameters to gen_rtx_CONST_DOUBLE.
4285 (GEN_INT64, sparc_emit_set_const64): Likewise.
4286 * config/sparc/sparc.md (movdf split): Likewise.
4287
4288 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
4289
4290 * unroll.c (calculate_giv_inc): Use find_last_value rather
4291 than just hoping the last instruction is the right SET.
4292 [Fixes 990604-1.c on stormy16.]
4293
4294 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4295 library at all if -T is used.
4296
4297 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4298 some uses of uninitialized variables in error cases.
4299
4300 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4301 look at 'temp' if we won't be using it.
4302
4303 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4304 (RTX_COSTS): Define.
4305 (ADDRESS_COST): Define.
4306 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4307
4308 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4309
4310 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4311 stormy16_asm_output_mi_thunk.
4312 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4313 function.
4314 * config/stormy16/stormy16-protos.h
4315 (stormy16_asm_output_mi_thunk): New prototype.
4316
4317 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4318
4319 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4320 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4321 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4322 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4323 sched-int.h, toplev.c, config/alpha/alpha.c,
4324 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4325 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4326 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4327 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4328 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4329 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4330 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4331
4332 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4333
4334 * Makefile.in (dbxout.o): Depend on function.h.
4335 * collect2.c (is_in_list): Hide unused function.
4336 * dbxout.c: Include function.h.
4337 (source_label_number, dbxout_source_line, dbxout_source_file,
4338 dbxout_function_end, dbxout_begin_function): Wrap/move inside
4339 macros controlling usage.
4340 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4341 * output.h (exports_section): Prototype.
4342
4343 * convex.c (convex_output_function_prologue): Fix format specifier
4344 warning.
4345 (asm_declare_function_name): Fix signed/unsigned warning.
4346 (print_operand): Fix format specifier warning.
4347 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4348 * dsp16xx-protos.h (uns_comparison_operator,
4349 num_1600_core_shifts): Prototype.
4350 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4351 (frame_size, frame_pointer_offset): Delete.
4352 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4353 Make static. Fix format specifier warnings.
4354 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4355 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4356 * dsp16xx.md: Add default case in switches.
4357 * fr30.h (IN_RANGE): Delete.
4358 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4359 * mcore-protos.h (mcore_output_cmov): Const-ify.
4360 * mcore.c (mcore_output_cmov): Likewise.
4361 * mcore.h (switch_to_section): Make static and prototype.
4362 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4363 unsigned>=0 warnings.
4364 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4365 * rs6000-protos.h (read_only_data_section,
4366 read_only_private_data_section): Prototype.
4367 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4368 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4369 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4370
4371 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4372
4373 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4374 ATTRIBUTE_UNUSED.
4375 * final.c (final_scan_insn): Add brackets around body of if-stmt.
4376 * gcc.c (convert_filename): Add static prototype. Const-ify.
4377 Wrap variable in macros controlling its use.
4378 * output.h (sdata_section): Add prototype.
4379
4380 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4381 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4382 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4383 (ASM_FILE_START): Const-ify.
4384 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4385 specifier warning.
4386 * c4x.md: Don't use the 'U' integer suffix.
4387 * clipper.md (clipper_movstr): Delete declaration.
4388 * d30v-protos.h (d30v_move_2words): Const-ify.
4389 (debug_stack_info): Add prototype.
4390 * d30v.c: Include "integrate.h".
4391 (d30v_function_arg_boundary, d30v_function_arg,
4392 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4393 signed/unsigned warnings.
4394 (d30v_print_operand_memory_reference, d30v_move_2words):
4395 Const-ify.
4396 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4397 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4398 * fr30.md: Const-ify.
4399 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4400 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4401 (mvs_get_label_page): Hide unused static function.
4402 * i860.c (current_function_original_name): Const-ify.
4403 * i860/sysv3.h (current_function_original_name): Likewise.
4404 * i860/sysv4.h (current_function_original_name): Likewise.
4405 * i960.md: Add default case in switches. Remove unused variable.
4406 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4407 * m32r.md: Const-ify.
4408 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4409 * m68hc11.c: Include "reload.h".
4410 (static_chain_reg, print_options, m68hc11_asm_file_start):
4411 Const-ify.
4412 * m68hc11.md: Delete unused variable. Const-ify. Add parens
4413 around & in comparison.
4414 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4415 * mn10200.c (shift_mode): Remove trailing comma.
4416 * mn10300-protos.h (output_tst): Const-ify.
4417 * mn10300.c (output_tst): Likewise.
4418 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4419 warnings.
4420 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4421 * pa.c (output_ascii): Likewise.
4422 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4423 * pdp11.md (expand_unop): Delete declarations.
4424 * pj-protos.h (pj_output_addsi3): Const-ify.
4425 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4426 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4427 unique_src_operand): Add prototypes.
4428 (pj_output_store_into_lval): Make definition static.
4429 (pj_function_incoming_arg): Don't use unary plus.
4430 (pj_output_addsi3): Const-ify.
4431 * romp.md (get_symref): Delete declarations.
4432 * v850-c.c (mark_current_function_as_interrupt): Don't return
4433 value from void function.
4434 * v850.c: Include "integrate.h".
4435 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4436 * vax-protos.h (const_section): Add prototype.
4437
4438 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
4439
4440 * machmode.def: Add documentation for the seventh argument in
4441 vector modes.
4442
4443 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4444
4445 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4446 consistently.
4447 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4448 <-melf>: Don't have markup for ELF acronym.
4449
4450 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4451
4452 * config.gcc (mmix-*-*): New target.
4453 * doc/invoke.texi: Document MMIX options.
4454 * doc/contrib.texi: Add note about MMIX port to my entry.
4455 * config/mmix/t-mmix: New file.
4456 * config/mmix/mmix.h: New file.
4457 * config/mmix/mmix-protos.h: New file.
4458 * config/mmix/mmix.c: New file.
4459 * config/mmix/mmix.md: New file.
4460 * config/mmix/crti.asm: New file.
4461 * config/mmix/crtn.asm: New file.
4462
4463 2001-11-03 Kazu Hirata <kazu@hxi.com>
4464
4465 * config/sparc/linux-aout.h: Fix comment formatting.
4466 * config/sparc/linux.h: Likewise.
4467 * config/sparc/linux64.h: Likewise.
4468 * config/sparc/lynx.h: Likewise.
4469 * config/sparc/pbd.h: Likewise.
4470 * config/sparc/sol2-sld-64.h: Likewise.
4471 * config/sparc/sol2.h: Likewise.
4472 * config/sparc/sparc.c: Likewise.
4473 * config/sparc/sparc.h: Likewise.
4474 * config/sparc/sparc.md: Likewise.
4475 * config/sparc/sunos4.h: Likewise.
4476 * config/sparc/vxsim.h: Likewise.
4477 * config/sparc/vxsparc.h: Likewise.
4478 * config/sparc/vxsparc64.h: Likewise.
4479
4480 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4481
4482 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4483 reference to CONST_DOUBLE_MEM in comment.
4484 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4485 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4486 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4487 * function.c (pop_function_context_from): Don't call
4488 restore_varasm_status.
4489 * function.h (restore_varasm_status): Delete declaration.
4490 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4491 * rtl.c: Likewise.
4492 * rtl.def (CONST_DOUBLE): Update comment.
4493 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4494 (CONST_DOUBLE_CHAIN): Likewise.
4495 (CONST_DOUBLE_MEM): Delete.
4496 (gen_rtx_CONST_DOUBLE): Update parameters.
4497 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4498 Remove reference to CONST_DOUBLE_MEM.
4499 (const_alias_set): New variable.
4500 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4501 (immed_real_const_1): Adjust tests for 0, 1, and 2.
4502 Don't set CONST_DOUBLE_MEM.
4503 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4504 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4505 Put constant in const_alias_set.
4506 (struct pool_constant): ALIGN now unsigned.
4507 OFFSET now HOST_WIDE_INT.
4508 Delete LABEL.
4509 (restore_varasm_status): Deleted.
4510 (mark_pool_constant): Mark desc->rtl.
4511 (force_const_mem): Rework to store rtl in hash table,
4512 not CONST_DOUBLE_MEM.
4513 Put constant in const_alias_set.
4514 (find_pool_constant): Check desc->rtl.
4515 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4516 (init_varasm_once): Initialize const_alias_set.
4517
4518 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4519 force_const_mem.
4520
4521 * reload.c (combine_reloads): Don't combine an output reload if there
4522 are other reloads around for part of the output.
4523
4524 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4525 constant expression.
4526 (set_mem_decl): New function.
4527 * expr.h (set_mem_decl): New declaration.
4528 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4529 (output_asm_operand_names): Add tab.
4530 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4531
4532 * builtins.c (get_memory_rtx): Properly set MEM alias set and
4533 attributes.
4534
4535 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4536
4537 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4538 Use "invalid" instead of "illegal". Use @r in comments in
4539 examples.
4540
4541 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
4542
4543 * c-decl.c (pushdecl): Move block inside if conditional to remove
4544 possibility of a segfault. Lookup block-level extern
4545 variables in enclosing scopes correctly.
4546
4547 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4548
4549 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4550
4551 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4552 SUBREG so we avoid SUBREGing memory.
4553
4554 * expmed.c (store_bit_field): Same.
4555
4556 2001-11-02 DJ Delorie <dj@redhat.com>
4557
4558 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4559 using FP registers for DImode mem-mem moves is acceptable.
4560
4561 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4562
4563 * builtins.c (apply_args_size): Handle vector arguments.
4564 (apply_result_size): Same.
4565
4566 * machmode.def: Set WIDER mode field for all vector entries.
4567
4568 2001-11-02 Graham Stott <grahams@redhat.com>
4569
4570 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
4571
4572 2001-11-01 Eric Christopher <echristo@redhat.com>
4573
4574 * config.gcc: Revert part of earlier patch.
4575 * config/mips/linux.h: Ditto.
4576 * df.c: Include tm_p.h to avoid warnings.
4577 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
4578 #if/#endif.
4579 * config/mips/mips.c: Define mips_abi regardless.
4580 (mips_output_function_prologues): Add long casts for .frame
4581 output.
4582 (override_options): Allow use of ABI_32.
4583
4584 2001-11-01 Kazu Hirata <kazu@hxi.com>
4585
4586 * config/m68hc11/m68hc11.c: Fix comment formatting.
4587 * config/m68hc11/m68hc11.h: Likewise.
4588 * config/m68hc11/m68hc11.md: Likewise.
4589
4590 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
4591
4592 * c-typeck.c (default_conversion): Retain the original expression
4593 codes.
4594 * gcc.dg/Wparentheses.c: New tests.
4595
4596 2001-11-01 David S. Miller <davem@redhat.com>
4597
4598 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4599 64-bit Sparc description more in line with reality.
4600
4601 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
4602
4603 * Makefile.in (GCOV_OBJS): Add version.o.
4604 * gcov.c: Include "version.h" and <getopt.h>.
4605 (gcov_version_string): Remove.
4606 (print_usage): Take a parameter to determine whether this is a
4607 call from --help or an error message. Give fuller output that
4608 follows the GNU Coding Standards for --help.
4609 (print_version): New function.
4610 (options): New.
4611 (process_args): Use getopt_long. Support long options. Follow
4612 GNU Coding Standards for --help and --version.
4613 * doc/gcov.texi: Document long options.
4614 Addresses part of PR other/704.
4615
4616 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4617
4618 * pa.c (output_move_double): Fix typo in double load.
4619
4620 2001-11-01 Kazu Hirata <kazu@hxi.com>
4621
4622 * config/h8300/h8300.c (h8300_encode_label): Compute a string
4623 before passing it to ggc_alloc_string.
4624
4625 2001-11-01 Kazu Hirata <kazu@hxi.com>
4626
4627 * config/m68k/3b1.h: Fix comment formatting.
4628 * config/m68k/3b1g.h: Likewise.
4629 * config/m68k/a-ux.h: Likewise.
4630 * config/m68k/amix.h: Likewise.
4631 * config/m68k/apollo68.h: Likewise.
4632 * config/m68k/atari.h: Likewise.
4633 * config/m68k/aux-exit.c: Likewise.
4634 * config/m68k/ccur-GAS.h: Likewise.
4635 * config/m68k/crds.h: Likewise.
4636 * config/m68k/dpx2.h: Likewise.
4637 * config/m68k/dpx2g.h: Likewise.
4638 * config/m68k/hp310.h: Likewise.
4639 * config/m68k/hp320.h: Likewise.
4640 * config/m68k/isi.h: Likewise.
4641 * config/m68k/linux.h: Likewise.
4642 * config/m68k/lynx.h: Likewise.
4643 * config/m68k/m68k-psos.h: Likewise.
4644 * config/m68k/m68k.c: Likewise.
4645 * config/m68k/m68k.h: Likewise.
4646 * config/m68k/m68k.md: Likewise.
4647 * config/m68k/m68kelf.h: Likewise.
4648 * config/m68k/m68kv4.h: Likewise.
4649 * config/m68k/mot3300.h: Likewise.
4650 * config/m68k/news.h: Likewise.
4651 * config/m68k/next.h: Likewise.
4652 * config/m68k/pbb.h: Likewise.
4653 * config/m68k/plexus.h: Likewise.
4654 * config/m68k/sgs.h: Likewise.
4655 * config/m68k/sun3.h: Likewise.
4656 * config/m68k/tower.h: Likewise.
4657 * config/m68k/vxm68k.h: Likewise.
4658
4659 2001-10-31 DJ Delorie <dj@redhat.com>
4660
4661 * config/mips/mips.h (mips_cache_flush_func): Prototype.
4662 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4663 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4664 * config/mips/mips.c (mips_cache_flush_func): New.
4665 * doc/invoke.texi: Document the new options.
4666
4667 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
4668
4669 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4670 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4671
4672 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4673
4674 * config/cris/cris.c: Include output.h after tree.h but before
4675 target.h.
4676
4677 2001-10-31 Zack Weinberg <zack@codesourcery.com>
4678
4679 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4680 (INTL_SUBDIRS): Just intl.
4681 (.SUFFIXES): Add .gmo .po .pox.
4682 (native): Also depend on build-@POSUB@.
4683 (intl.all, intl.install): Depend on config.h and things it includes.
4684 (po-generated): New target; depend on c-parse.c and tradcif.c.
4685 (install-normal): Also depend on install-@POSUB@.
4686 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4687 (build-, install-, build-po, update-po, install-po,
4688 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4689
4690 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4691 * configure.in: Don't munge XGETTEXT. Don't generate
4692 po/Makefile.in.
4693 * configure: Regenerate.
4694
4695 * exgettext: Delete.
4696 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4697 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4698
4699 2001-10-31 Kazu Hirata <kazu@hxi.com>
4700
4701 * config/h8300/h8300.md (two anonymous patterns): New.
4702
4703 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
4704
4705 * tree.h (tree_index): Add support for V16QI and V8HI.
4706 (V8HI_type_node): New.
4707 (V16QI_type_node): New.
4708
4709 * tree.c (build_common_tree_nodes_2): Same.
4710
4711 * c-common.c (type_for_mode): Same.
4712
4713 2001-10-31 Kazu Hirata <kazu@hxi.com>
4714
4715 * config/i386/att.h: Fix comment formatting.
4716 * config/i386/beos-elf.h: Likewise.
4717 * config/i386/bsd.h: Likewise.
4718 * config/i386/bsd386.h: Likewise.
4719 * config/i386/crtdll.h: Likewise.
4720 * config/i386/cygwin.asm: Likewise.
4721 * config/i386/cygwin.h: Likewise.
4722 * config/i386/djgpp.h: Likewise.
4723 * config/i386/freebsd-aout.h: Likewise.
4724 * config/i386/freebsd.h: Likewise.
4725 * config/i386/gas.h: Likewise.
4726 * config/i386/i386-interix.h: Likewise.
4727 * config/i386/i386-protos.h: Likewise.
4728 * config/i386/i386.c: Likewise.
4729 * config/i386/i386.h: Likewise.
4730 * config/i386/i386.md: Likewise.
4731 * config/i386/i386elf.h: Likewise.
4732 * config/i386/interix.c: Likewise.
4733 * config/i386/isc.h: Likewise.
4734 * config/i386/isccoff.h: Likewise.
4735 * config/i386/iscdbx.h: Likewise.
4736 * config/i386/linux.h: Likewise.
4737 * config/i386/lynx.h: Likewise.
4738 * config/i386/mingw32.h: Likewise.
4739 * config/i386/netbsd-elf.h: Likewise.
4740 * config/i386/next.h: Likewise.
4741 * config/i386/osf1elf.h: Likewise.
4742 * config/i386/osfrose.h: Likewise.
4743 * config/i386/sco5.h: Likewise.
4744 * config/i386/seq-gas.h: Likewise.
4745 * config/i386/seq-sysv3.h: Likewise.
4746 * config/i386/sequent.h: Likewise.
4747 * config/i386/sol2.h: Likewise.
4748 * config/i386/sun386.h: Likewise.
4749 * config/i386/uwin.asm: Likewise.
4750 * config/i386/uwin.h: Likewise.
4751 * config/i386/vxi386.h: Likewise.
4752 * config/i386/win32.h: Likewise.
4753 * config/i386/winnt.c: Likewise.
4754 * config/i386/xm-cygwin.h: Likewise.
4755 * config/i386/xm-mingw32.h: Likewise.
4756
4757 2001-10-31 Kazu Hirata <kazu@hxi.com>
4758
4759 * builtins.def: Fix comment typos.
4760 * config/alpha.c: Likewise.
4761 * config/arm/arm.c: Likewise.
4762 * config/avr/avr.h: Likewise.
4763 * config/d30v/d30v.c: Likewise.
4764 * config/d30v/d30v.h: Likewise.
4765 * config/d30v/d30v.md: Likewise.
4766 * config/dsp16xx/dsp16xx.c: Likewise.
4767 * config/fr30/fr30.c: Likewise.
4768 * config/fr30/fr30.md: Likewise.
4769 * config/i386/i386.c: Likewise.
4770 * config/i860/i860.c: Likewise.
4771 * config/i960/i960.c: Likewise.
4772 * config/ia64/ia64.c: Likewise.
4773 * config/mips/mips.c: Likewise.
4774 * config/pa/pa.c: Likewise.
4775 * config/rs6000/rs6000.c: Likewise.
4776 * config/s390/s390.c: Likewise.
4777 * config/sparc/sparc.c: Likewise.
4778
4779 2001-10-30 Kazu Hirata <kazu@hxi.com>
4780
4781 * config/mips/elf.h: Fix comment formatting.
4782 * config/mips/elf64.h: Likewise.
4783 * config/mips/iris5.h: Likewise.
4784 * config/mips/iris5gas.h: Likewise.
4785 * config/mips/iris6.h: Likewise.
4786 * config/mips/isa3264.h: Likewise.
4787 * config/mips/linux.h: Likewise.
4788 * config/mips/mips.c: Likewise.
4789 * config/mips/mips.h: Likewise.
4790 * config/mips/mips.md: Likewise.
4791 * config/mips/mips16.S: Likewise.
4792 * config/mips/netbsd.h: Likewise.
4793 * config/mips/osfrose.h: Likewise.
4794 * config/mips/r3900.h: Likewise.
4795 * config/mips/sni-svr4.h: Likewise.
4796 * config/mips/svr4-t.h: Likewise.
4797 * config/mips/ultrix.h: Likewise.
4798
4799 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
4800
4801 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4802 when we update head->current.
4803
4804 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
4805
4806 * tree.c (id_string_size): Remove.
4807 (dump_tree_statistics): Update.
4808 * toplev.c (compile_file): If dumping stats, dump tree stats too.
4809
4810 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
4811
4812 * sched-rgn.c (schedule_insns): Fix comment.
4813
4814 2001-10-30 Zack Weinberg <zack@codesourcery.com>
4815
4816 * configure.in: Correct previous change: don't assume that
4817 gas's version number _isn't_ the last thing on the line, or
4818 isn't the only number on the line, either.
4819 * configure: Regenerate.
4820
4821 2001-10-30 Kazu Hirata <kazu@hxi.com>
4822
4823 * cfgcleanup.c: Fix a comment typo.
4824
4825 2001-10-30 Kazu Hirata <kazu@hxi.com>
4826
4827 * alias.c: Fix comment formatting.
4828 * recog.c: Likewise.
4829 * config/cris/cris.c: Likewise.
4830 * config/cris/cris.h: Likewise.
4831 * config/i960/i960.c: Likewise.
4832 * config/i960/i960.h: Likewise.
4833
4834 2001-10-30 Kazu Hirata <kazu@hxi.com>
4835
4836 * config/arm/arm.c: Fix a comment typo.
4837 * config/arm/arm.h: Likewise.
4838 * config/ia64/ia64.c: Likewise.
4839
4840 2001-10-30 Jakub Jelinek <jakub@redhat.com>
4841
4842 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
4843 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
4844 * rtl.h (set_unique_reg_note): Change return value.
4845 * gcse.c (try_replace_reg): Use set_unique_reg_note.
4846 * cse.c (cse_insn): Likewise.
4847 * expr.c (emit_move_insn): Likewise.
4848 * explow.c (force_reg): Likewise.
4849 * local-alloc (update_equiv_regs): Likewise.
4850 * loop.c (move_moveables, load_mems): Likewise.
4851 * reload (find_reloads): Likewise.
4852
4853 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
4854
4855 Localization fixes.
4856 * c-decl.c (parmlist_tags_warning, start_struct,
4857 check_for_loop_decls): Separate messages for struct, union and
4858 enum cases to allow for languages in which they have different
4859 genders.
4860 * c-format.c (scanf_flag_specs): Separate short and long name of
4861 the assignment suppression feature.
4862 (check_format_types): Localize "pointer" and "different types"
4863 strings.
4864 * c-lex.c (lex_number): Localize "an unsigned long int" and
4865 related strings.
4866 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
4867 warning message.
4868 * c-typeck.c (build_unary_up): Separate messages for increment and
4869 decrement cases to allow for languages in which they use different
4870 articles. Localize the strings "increment" and "decrement" in one
4871 case.
4872
4873 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
4874
4875 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
4876 when no changes has been made.
4877
4878 * gcse.c (reg_set_bitmap): Turn into reg_set.
4879 (modify_mem_list_set, canon_modify_mem_list_set)
4880 (clear_modify_mem_tables, free_modify_mem_tables): New.
4881 (gcse_main); Use free_modify_mem_tables.
4882 (free_gcse_mem): Likewise; free the bitmaps.
4883 (alloc_gcse_main): Initialize the bitmaps.
4884 (canon_list_insert): Set canon_modify_mem_list_set.
4885 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
4886 (compute_hash_table): Use clear_modify_mem_tables.
4887 (reset_opr_set_tables): Likewise.
4888 (oprs_not_set_p): reg_set_bitmap is regset.
4889 (mark_set, mark_clobber): Likewise.
4890
4891 * df.h (DF_EQUIV_NOTES): New constant.
4892 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
4893 when asked for.
4894
4895 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
4896 (init_regions, schedule_insns): Conditionalize the checking
4897 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
4898
4899 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
4900
4901 * i386.md (movti_rex64 splitter): Fix condition.
4902
4903 2001-10-29 Zack Weinberg <zack@codesourcery.com>
4904
4905 * configure.in: Do not assume that gas's version number is the
4906 last thing on the first line of as --version output.
4907 * configure: Regenerate.
4908
4909 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
4910 MT_WARNING, MT_ERROR, MT_FATAL.
4911 (main): Call gcc_init_libintl.
4912 (v_message): Call gettext on msgid and "warning: "
4913 * tradcif.y: Include intl.h.
4914 (yyerror): Make parameter definition consistent with
4915 prototype. Call gettext on msgid argument.
4916
4917 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4918
4919 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
4920 warnings.
4921
4922 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
4923
4924 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4925
4926 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
4927 before referencing it.
4928
4929 2001-10-26 DJ Delorie <dj@redhat.com>
4930
4931 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
4932 override -G, and force -G0.
4933
4934 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4935
4936 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
4937 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
4938 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
4939 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
4940
4941 * loop.h (struct induction): Rename ext_dependant to
4942 ext_dependent.
4943 * loop.c: Change all uses.
4944 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
4945 All callers changed.
4946 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
4947
4948 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
4949
4950 * c-parse.in (expr_no_commas, primary), c-typeck.c
4951 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
4952
4953 2001-10-29 David Edelsohn <edelsohn@gnu.org>
4954
4955 Undo assemble_name change in earlier patch.
4956
4957 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
4958
4959 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
4960 determining the type of the receiver, do not check that TREE_CODE
4961 of receiver is CALL_EXPR before calling receiver_is_class_object().
4962 (receiver_is_class_object): For the GNU runtime: recognize
4963 the case that the receiver is self in a class method context.
4964 Check that TREE_CODE of receiver is CALL_EXPR when checking that
4965 the receiver is a call to objc_get_class.
4966
4967 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
4968
4969 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
4970
4971 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4972
4973 * Makefile.in (OBJS): Put all files in alphabetical order.
4974
4975 * dwarf2out.c (add_const_value_attribute): Fix error in last
4976 change.
4977
4978 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
4979
4980 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
4981 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
4982 fix warning.
4983 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
4984 (life_analysis): call purge_all_dead_edges after deleting noops.
4985 (delete_noop_move): Do not purge CFG.
4986 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
4987
4988 2001-10-28 David Edelsohn <edelsohn@gnu.org>
4989
4990 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
4991 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
4992 (ASM_GLOBALIZE_LABEL): Use assemble_name.
4993 (ASM_OUTPUT_COMMON): Likewise.
4994 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
4995 (rs6000_output_function_epilogue): Likewise.
4996 (output_mi_thunk): Fix typo.
4997 (rs6000_output_symbol_ref): Use assemble_name.
4998 (output_toc): Likewise.
4999 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
5000 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
5001 assemble_name calls STRIP_NAME_ENCODING.
5002 (ASM_OUTPUT_LABEL): Use assemble_name.
5003 (ASM_GLOBALIZE_LABEL): Likewise.
5004 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5005 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
5006 (ASM_OUTPUT_LOCAL): Likewise.
5007
5008 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5009
5010 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5011 (expand_builtin_apply, expand_builtin_return): Likewise.
5012 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5013
5014 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5015
5016 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5017 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5018 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5019 configure, configure.in, except.c, except.h, flow.c, function.c,
5020 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5021 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5022 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5023 unroll.c: Fix spelling errors.
5024
5025 * doc/extend.texi, doc/invoke.texi: Fix spelling.
5026
5027 * doc/gcc.texi: Document use of "dependent" and American spelling.
5028
5029 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
5030
5031 * expr.c (emit_group_load): Support CONCATs by storing them to memory
5032 and reloading.
5033
5034 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5035
5036 * expr.c (store_constructor_field): Only call adjust_address on MEM.
5037
5038 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
5039
5040 * genrecog.c (write_switch): Output if before switch for
5041 DT_elt_zero_wide_safe.
5042
5043 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5044
5045 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5046 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5047 (FUNCTION_PROFILER): Const-ify.
5048 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5049 (eliminate_constant_term, assemble_name, output_addr_const):
5050 Remove declarations.
5051 (ptr_half_pic_address_p, half_pic_hash): Prototype.
5052 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5053 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5054 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5055 (half_pic_declare, half_pic_external): Const-ify.
5056 * toplev.c: Include "halfpic.h".
5057
5058 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5059
5060 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5061 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5062 config/i386/i386.c, config/i386/i386-interix.h,
5063 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5064 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5065 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5066 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5067 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5068 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5069 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5070 spelling errors.
5071
5072 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5073 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5074 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5075 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5076 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5077 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5078 system.h, toplev.c: Fix spelling errors.
5079
5080 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5081
5082 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5083
5084 * dwarf2out.c (reg_number): Abort if pseudo.
5085 (reg_loc_descriptor): Return 0 if pseudo.
5086 (is_based_loc): Return 0 if pseudo.
5087 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5088 recursive calls.
5089 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5090 (loc_descriptor): Return 0 if can't find location and handle 0
5091 return from recursive calls.
5092 (loc_descriptor_from_tree): Likewise.
5093 Fix handling of indirect.
5094 Also return 0 for PLACEHOLDER_EXPR.
5095 Clean up COMPONENT_REF cases.
5096 (add_AT_location_descriptor): Simplify, but handle 0 return from
5097 loc_descriptor.
5098 (add_const_value_attribute): Avoid shift count warning.
5099 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5100 Set comp_unit_die as context if not in function.
5101
5102 * config/mips/mips-protos.h: Break up long lines.
5103 Remove needless #ifdef/#endif blocks.
5104 Don't declare functions declared in file made by genpreds or recog.h.
5105 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5106 is now HOST_WIDE_INT; delete unneeded casts.
5107 * config/mips/mips.h: Don't use #elif.
5108
5109 * expr.c (stor_constructor_field): Always call adjust_address.
5110 Copy TARGET before changing its alias set.
5111 (store_field): Likewise, for TO_RTX.
5112 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5113 replacement.
5114 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5115 (find_placeholder): Return 0 if can't find object.
5116 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5117 returns 0.
5118
5119 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5120
5121 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5122
5123 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5124
5125 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5126 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5127 (merge_blocks): Properly udpate life after making edge nonfallthru.
5128 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5129
5130 2001-10-26 Kazu Hirata <kazu@hxi.com>
5131
5132 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5133
5134 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5135
5136 * c-typeck.c (convert_arguments): When comparing for enumeral
5137 type equality, use TYPE_MAIN_VARIANT.
5138 * gcc.dg/Wconversion.c: New tests.
5139
5140 2001-10-26 Kazu Hirata <kazu@hxi.com>
5141
5142 * s390/s390.c: Fix comment typos.
5143 * s390/s390.h: Likewise.
5144 * s390/s390.md: Likewise.
5145
5146 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5147
5148 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5149 (walk_tree): Use it for tail calls where appropriate.
5150
5151 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5152
5153 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5154 non-local label_refs.
5155
5156 2001-10-26 Kazu Hirata <kazu@hxi.com>
5157
5158 * config/h8300/h8300.md (4 anonymous patterns): New.
5159
5160 2001-10-26 Kazu Hirata <kazu@hxi.com>
5161
5162 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5163 algorithm through the shift_info structure.
5164 (emit_a_shift): Update the use of get_shift_alg.
5165
5166 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
5167
5168 * sched-rgn.c: Remove bitset typedef.
5169 Change bitset to sbitmap in prototypes / variable types.
5170 Remove bbset_size.
5171 Remove edgeset_bits.
5172 Remove edgeset_size.
5173 s/BITSET_ADD/SET_BIT/g
5174 s/BITSET_INVERT/sbitmap_ones/g
5175 s/BITSET_INTER/sbitmap_a_and_b/g
5176 s/BITSET_UNION/sbitmap_a_or_b/g
5177 s/BITSET_DIFFER/sbitmap_difference/g
5178 s/bitset_member/TEST_BIT/g
5179 (BITSET_*): Removed.
5180 (bitset_member): Removed.
5181 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5182 EXECUTE_IF_SET_IN_SBITMAP.
5183 (split_edges): Rewrite, use sbitmap functions instead of bitset
5184 operations.
5185 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5186
5187 2001-10-26 Andreas Schwab <schwab@suse.de>
5188
5189 * reload1.c (emit_input_reload_insns): Fix parens in last
5190 (undocumented) change that was supposed to change only whitespace.
5191
5192 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5193
5194 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5195
5196 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5197 ASM_OPERANDS.
5198
5199 2001-10-26 Andreas Jaeger <aj@suse.de>
5200
5201 * flow.c (clear_log_links): Remove unused variable.
5202 * cfgcleanup.c (cleanup_cfg): Likewise.
5203
5204 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5205
5206 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5207 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5208
5209 2001-10-26 Richard Henderson <rth@redhat.com>
5210
5211 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5212 rename PV_REG to R27_REG.
5213 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5214 (REG_CLASS_FROM_LETTER): Update.
5215 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5216 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5217 (udivsi3, modsi3, umodsi3): Likewise.
5218 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5219
5220 2001-10-26 Richard Henderson <rth@redhat.com>
5221
5222 * cfg.c (clear_aux_for_blocks): Split out of ...
5223 (free_aux_for_blocks): here.
5224 (clear_aux_for_edges): Split from ...
5225 (free_aux_for_edges): here.
5226 * basic-block.h: Declare them.
5227 * lcm.c (compute_antinout_edge): Use them.
5228 (compute_laterin, compute_available, compute_nearerout): Likewise.
5229 (optimize_mode_switching): Likewise.
5230
5231 2001-10-26 Richard Henderson <rth@redhat.com>
5232
5233 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5234 moving everything back to the main build directory.
5235
5236 2001-10-26 Christopher Faylor <cgf@redhat.com>
5237
5238 * config/i386/cygwin.h: Search target specific include directory, if
5239 appropriate.
5240
5241 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5242
5243 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5244 of macro guards. Fix #endif comment.
5245
5246 * output.h (default_exception_section, default_eh_frame_section):
5247 Move prototypes outside of macro guard.
5248
5249 * crtstuff.c: Fix #endif comment.
5250
5251 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5252
5253 * doc/md.texi (movMM): Clarify semantics of storing into a
5254 non-paradoxical SUBREG.
5255
5256 2001-10-25 Zack Weinberg <zack@codesourcery.com>
5257
5258 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5259 (lang_hook_default_get_alias_set): Move next to other alias
5260 hooks.
5261 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5262 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5263 (LANG_HOOKS_INITIALIZER): Add it.
5264 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5265 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5266 instead of a loop calling poplevel.
5267
5268 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5269
5270 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5271 occurrences of #elif with #if...#endif.
5272
5273 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5274
5275 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5276
5277 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5278
5279 * alias.c (can_address_p): No longer static.
5280 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5281 Return 0 if all parameters are default values.
5282 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5283 (adjust_address_1): Try harder to compute a size.
5284 * expr.c (expand_assignment, store_constructor): If can't address,
5285 set MEM_KEEP_ALIAS_SET_P.
5286 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5287 (store_field): Likewise.
5288 (store_constructor): Simplify call to store_constructor_field.
5289 * expr.h (can_address_p): New declaration.
5290 * gensupport.c (gen_rtx_CONST_INT): New function.
5291 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5292 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5293 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5294
5295 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5296
5297 2001-10-24 Christopher Faylor <cgf@redhat.com>
5298
5299 * config/i386/cygwin.h: Use proper path for mingw crt files when
5300 -mno-cygwin.
5301
5302 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5303
5304 * dwarf2out.c (file_info_cmp): Always return consistent results.
5305
5306 2001-10-24 Roger Sayle <roger@eyesopen.com>
5307
5308 * stmt.c (expand_end_case): Index jumptables from zero for
5309 suitably small values of minval.
5310
5311 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5312
5313 * stor-layout.c (place_union_field): If any field was aligned with
5314 attribute aligned, set record type's TYPE_USER_ALIGN.
5315 (place_field): Likewise.
5316 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5317 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5318
5319 2001-10-24 Zack Weinberg <zack@codesourcery.com>
5320
5321 * c-common.h (struct c_common_identifier): Remove rid_code field.
5322 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5323
5324 * c-typeck.c (constructor_designated): New local flag.
5325 (struct constructor_stack): Add "designated" field to match.
5326 (start_init): Clear it.
5327 (really_start_incremental_init, push_init_level): Push and
5328 clear it.
5329 (pop_init_level): Pop it.
5330 (set_designator): Set it.
5331
5332 (pop_init_level): Suppress "missing initializer" warnings if
5333 constructor_designated is true.
5334 (process_init_element): Suppress warning about union
5335 initialization under traditional C, if constructor_designated
5336 is true.
5337
5338 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5339
5340 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5341 change.
5342
5343 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
5344
5345 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5346
5347 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5348
5349 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5350 the node was already a set to a constant.
5351
5352 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5353
5354 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5355 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5356
5357 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5358
5359 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5360 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
5361 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5362 * s390.c (s390_final_chunkify): Don't use string concatenation.
5363 (s390_function_prologue, s390_function_epilogue): Const-ify.
5364 * s390.h (FUNCTION_PROFILER): Remove unused variable.
5365
5366 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5367
5368 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5369 prototypes.
5370
5371 2001-10-23 Stan Shebs <shebs@apple.com>
5372
5373 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5374 -traditional-cpp in first-stage compilation.
5375
5376 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5377
5378 * gensupport.c (target_flags): Add.
5379
5380 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5381
5382 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5383 if needed.
5384 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5385 * except.c (expand_builtin_frob_return_addr): Likewise.
5386 (expand_builtin_eh_return): Likewise.
5387 * stmt.c (expand_computed_goto): Likewise.
5388 * explow.c (memory_address): Likewise.
5389 (allocate_dynamic_stack_space): Clean up predicate testing.
5390 (probe_stack_range): Convert SIZE to Pmode.
5391 * calls.c (rtx_for_function_call): Only call convert_memory_address
5392 if needed.
5393 Pass function call operand as ptr_mode, not Pmode.
5394 * expr.c (expand_assignment): Clean up calls to convert_memory
5395 address by only doing so when needed and making offsets Pmode.
5396 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5397 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5398 is in Pmode, not ptr_mode.
5399
5400 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5401
5402 * darwin-protos.h (constructor_section, destructor_section,
5403 mod_init_section, mod_term_section): Prototype.
5404 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5405 Const-ify.
5406 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5407 Likewise.
5408 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
5409 objc_section_init declaration.
5410 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5411 (objc_section_init, try_section_alias): Make static.
5412 (alias_section): Make static and hide unused function.
5413 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5414
5415 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5416
5417 * alias.c (can_address_p): Compnonents are not addressable if
5418 the containing type has alias set 0.
5419 (get_alias_set): Rework to use STRIP_NOPS.
5420 Only call front-end routine on object, type, or object with
5421 NOPs stripped, not inner values.
5422 Use language hook to call front-end routine.
5423 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5424 (expand_builtin_apply): Call set_mem_align on MEMs we make.
5425 Don't pass alignment to emit_block_move.
5426 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5427 (expand_builtin_memset): Likewise, but for clear_storage.
5428 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5429 and remove C++ specific parts.
5430 * c-common.h (c_common_get_alias_set): Add declaration.
5431 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5432 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5433 (save_fixed_argument_area): Call set_mem_align.
5434 Remove alignment in call to emit_block_move.
5435 (emit_library_call_value_1, store_one_arg): Likewise.
5436 (target_for_arg): Remove; disabled long ago.
5437 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5438 once and similar cleanups.
5439 (offset_address): Use proper introductory comment.
5440 * expr.c (emit_block_move): Use alignment from that of MEM args, not
5441 from explicit operand; all callers changed.
5442 (clear_storage): Likewise.
5443 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5444 (store_field): Remove kludge on alias set used for to_rtx.
5445 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5446 (expand_expr_unaligned): Call set_mem_attributes instead of
5447 set_mem_alias_set.
5448 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5449 * function.c (assign_stack_temp_for_type): Set MEM alignment.
5450 (expand_function_end): Track MEM attributes of trampolines.
5451 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5452 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5453 attributes from original.
5454 * langhooks.c (lang_hook_default_get_alias_set): New function.
5455 (hook_get_alias_set_0): New function.
5456 * langhooks.h (hook_get_alias_set_0): New declaration.
5457 (lang_hook_default_get_alias_set): Likewise.
5458 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5459 * reload1.c (alter_reg): Use adjust_address_nv.
5460 * rtl.c (get_mode_alignment): Moved to here.
5461 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5462 change default if unknown from 1 to BITS_PER_UNIT.
5463 * stor-layout.c (get_mode_alignment): Remove from here.
5464 * toplev.h (struct lang_hoks): Add get_alias_set field.
5465 * tree.h (lang_get_alias_set): Delete declaration.
5466 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5467 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5468 (ix86_va_arg): Likewise.
5469 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5470 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5471 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5472 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5473 (expand_block_move_mem): Remove dead code.
5474
5475 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
5476
5477 * c-common.c (warn_div_by_zero): New.
5478 * c-common.h (warn_div_by_zero): New.
5479 * c-decl.c (c_decode_option): Take it on the command line.
5480 * c-typeck.c (build_binary_op): Warn about division by zero.
5481 * doc/invoke.texi: Document the new command line option, fix
5482 documentation of -Wmultichar.
5483 * testsuite/gcc.dg/divbyzero.c: New tests.
5484 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5485
5486 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5487
5488 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5489
5490 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5491 to avoid update_life_info call.
5492 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5493 * cfgcleanup.c (bb_flags): New enum.
5494 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5495 (notice_new_block, update_forwarder_flag): New functions.
5496 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5497 (try_forward_edges): Likewise; update flags.
5498 (merge_blocks): Likewise.
5499 (outgoing_edges_match): Likewise.
5500 (try_crossjump_to_edge): Likewise.
5501 (try_optimize_cfg): Likewise; initialize and clear the flags;
5502 recompute life info if needed.
5503 (cleanup_cfg): No need to clear aux pointers.
5504
5505 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
5506
5507 * config/i386/i386.c (override_options): Default to minimum
5508 stack alignment when optimizing for code size.
5509 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5510 change.
5511
5512 * config/i386/i386.c (override_options): Set upper limit of
5513 -mpreferred-stack-boundary to 12.
5514
5515 2001-10-22 Zack Weinberg <zack@codesourcery.com>
5516
5517 * recog.c (peephole2_optimize): Add default case to switch.
5518
5519 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
5520
5521 * doc/gcc.texi (Sending Patches): Remove.
5522
5523 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
5524
5525 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5526 fields when comparing.
5527
5528 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5529
5530 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
5531 * arm.c (HOST_INT, HOST_UINT): Likewise.
5532
5533 2001-10-22 Stan Shebs <shebs@apple.com>
5534
5535 * config/darwin-protos.h (darwin_exception_section): Declare.
5536 (darwin_eh_frame_section): Declare.
5537
5538 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5539
5540 * i386.md (movti_rex64): Fix mode.
5541
5542 2001-10-22 Stan Shebs <shebs@apple.com>
5543
5544 * target.h (struct gcc_target): Add asm_out.exception_section,
5545 asm_out.eh_frame_section.
5546 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5547 (TARGET_ASM_EH_FRAME_SECTION): New.
5548 (TARGET_INITIALIZER): Update.
5549 * output.h (default_exception_section): Declare.
5550 (default_eh_frame_section): Declare.
5551 * dwarf2out.c: Include target.h.
5552 (output_call_frame_info): Call target hook for eh frames.
5553 (default_eh_frame_section): New function.
5554 * except.c: Include target.h.
5555 (output_function_exception_table): Call target hook for exception
5556 section.
5557 * varasm.c (default_exception_section): Rename from
5558 exception_section, remove EXCEPTION_SECTION macro.
5559
5560 * config/darwin.h (darwin_eh_frame_section): New function.
5561 (EXCEPTION_SECTION): Remove.
5562 (TARGET_ASM_EXCEPTION_SECTION): Define.
5563 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5564 (nextstep_exception_section): New function.
5565 (nextstep_eh_frame_section): New function.
5566 (TARGET_ASM_EXCEPTION_SECTION): Define.
5567 (TARGET_ASM_EH_FRAME_SECTION): Define.
5568
5569 * config/pa/som.h (EXCEPTION_SECTION): Remove.
5570 (TARGET_ASM_EXCEPTION_SECTION): Define.
5571 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5572 (EXCEPTION_SECTION): Remove.
5573 (TARGET_ASM_EXCEPTION_SECTION): Define.
5574 * config/stormy16/stormy16.h: Remove comments referencing
5575 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5576
5577 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5578 TARGET_ASM_EH_FRAME_SECTION.
5579
5580 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
5581
5582 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5583 terms.
5584
5585 * c-format.c: Fix spelling typo in comment.
5586
5587 * sched-int.h: Fix typo in GCC preamble.
5588
5589 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5590
5591 PR debug/4252
5592 * doc/invoke.texi: Remove references to -fdump-translation-unit.
5593
5594 2001-10-22 Richard Henderson <rth@redhat.com>
5595
5596 * config/i386/i386.c (ix86_expand_clear): New.
5597 * config/i386/i386-protos.h: Declare it.
5598 * config/i386/i386.md (setcc peep2s): Use it.
5599 (movsi_xor): Unexport.
5600
5601 2001-10-22 Richard Henderson <rth@redhat.com>
5602
5603 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5604 free_EXPR_LIST_list for LOG_LINKS.
5605
5606 2001-10-21 Robert Lipe <robertlipe@usa.net>
5607
5608 * config/i386/i386.c (sco_asm_named_section): Delete.
5609 (sco_asm_out_constructor): Delete.
5610 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5611 (ASM_OUTPUT_DOUBLE_INT): Likewise.
5612 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
5613 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5614 (EXCEPTION_SECTION): Delete EH scn renaming hack.
5615
5616 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5617
5618 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5619 and/or fold extra calls into fewer ones.
5620 * collect2.c (dump_file): Likewise.
5621 * cppexp.c (parse_number): Likewise.
5622 * cpplex.c (_cpp_lex_direct): Likewise.
5623 * final.c (output_asm_insn, asm_fprintf): Likewise.
5624 * fix-header.c (inf_scan_ident, main): Likewise.
5625 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5626 Likewise.
5627 * fold-const.c (real_hex_to_f): Likewise.
5628 * gen-protos.c (parse_fn_proto): Likewise.
5629 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5630 * genrecog.c (change_state, write_action): Likewise.
5631 * gensupport.c (shift_output_template): Likewise.
5632 * local-alloc.c (requires_inout): Likewise.
5633 * mips-tfile.c (IS_ASM_IDENT): Likewise.
5634 * protoize.c (is_id_char, main): Likewise.
5635 * real.c (asctoeg): Likewise.
5636 * recog.c (asm_operand_ok): Likewise.
5637 * reload.c (find_reloads): Likewise.
5638 * scan.c (scan_identget_token): Likewise.
5639 * sched-vis.c (print_value): Likewise.
5640 * stringpool.c (ggc_alloc_string): Likewise.
5641 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5642 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5643 * tradcpp.c (rescan): Likewise.
5644 * tree.c (clean_symbol_name): Likewise.
5645 * varasm.c (decode_reg_name): Likewise.
5646
5647 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5648 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5649 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5650 * m88k.c (output_ascii): Likewise.
5651 * m88k.h (OVERRIDE_OPTIONS): Likewise.
5652 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5653 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5654 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5655
5656 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5657
5658 * langhooks.c (lang_hook_default_do_nothing,
5659 lang_hook_default_decode_option): New defaults.
5660 * langhooks.h: Make hooks unconditional and non-NULL.
5661 * toplev.c (compile_file, toplev_main): Update.
5662 * toplev.h: Update comments.
5663 * objc/objc-act.c (lang_hooks): Update to new paradigm.
5664
5665 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5666
5667 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5668
5669 * system.h (IN_RANGE): New macro.
5670
5671 2001-10-21 Zack Weinberg <zack@codesourcery.com>
5672
5673 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5674 INTLDEPS variable, which does not include $LIBICONV.
5675 * Makefile.in: Use INTLDEPS in LIBDEPS.
5676 * configure: Regenerate.
5677
5678 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5679
5680 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5681 * cpplex.c (lex_percent, lex_dot): Remove.
5682 (get_effective_char, skip_block_comment, skip_line_comment,
5683 parse_identifier_slow, parse_number, parse_string, save_comment,
5684 _cpp_lex_direct): Update to do lookback freely.
5685 (IF_NEXT_IS, BACKUP): New macros.
5686 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5687 * cppmacro.c (paste_tokens): Update.
5688
5689 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
5690
5691 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5692
5693 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
5694
5695 * reload1.c (reload): Check CONSTANT_P before calling
5696 LEGITIMATE_PIC_OPERAND_P.
5697 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5698 workaround of 2001-10-13.
5699
5700 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5701
5702 * i386.c (split_di): Handle splitting of DFmode.
5703
5704 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5705
5706 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5707 (adjust_address_1, offset_address): Likewise.
5708
5709 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5710 (output_asm_insn): Call it for each line output.
5711 Don't record an operand more than once.
5712
5713 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5714 * main.c: Include config.h and system.h, but not ansidecl.h.
5715 * Makefile.in (main.o): Update accordingly.
5716
5717 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5718
5719 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5720
5721 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
5722
5723 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5724 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5725 Break out from ...
5726 (find_sub_basic_blocks): ... here;
5727 (find_many_sub_basic_blocks): New.
5728 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5729
5730 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5731
5732 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5733
5734 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5735
5736 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5737 * flow.c (update_life_info): Measure time.
5738 * c-decl.c: Include timevar.h
5739 (c_expand_body): Measure time.
5740 * toplev.c (rest_of_compilation): Measure time of mode switching
5741 separately.
5742 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5743
5744 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5745 (lang_independent_options): Add asynchronous-unwind-tables
5746 (toplev_main): flag_asynchronous_unwind_tables implies
5747 flag_unwind_tables.
5748 * flags.h (flag_asynchronous_unwind_tables): Declare.
5749 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5750 flag_asynchronous_unwind_tables.
5751 (output_call_frame_info): Likewise.
5752 * invoke.texi (-fasynchronous-unwind-tables): Document.
5753 * i386.c (optimization_options): Enable
5754 flag_asynchronous_unwind_tables.
5755
5756 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
5757 * i386.md (s* expanders): Destination is QImode.
5758
5759 * toplev.c (rest_of_compilation): Do not call clear_log_links.
5760 * rtl.h (clear_log_links): Kill.
5761 * flow.c (clear_log_links): Make static; accept blocks parameter;
5762 do no clear life info.
5763 (update_life_info): Call clear_log_links.
5764
5765 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5766
5767 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
5768
5769 * cpplex.c (handle_newline, skip_escaped_newlines,
5770 get_effective_char, skip_block_comment, skip_line_comment,
5771 parse_identifier_slow, parse_number, parse_string,
5772 _cpp_lex_direct): Update to do more stepping back.
5773 (trigraph_ok): Similarly. Rename trigraph_p.
5774 (SAVE_STATE, RESTORE_STATE): Remove.
5775 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
5776
5777 * cpplib.c (destringize): Rename destringize_and_run, and
5778 call run_directive directly.
5779 (_cpp_do__Pragma): Simplify.
5780
5781 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5782
5783 * pe.c (arm_pe_unique_section): Const-ify.
5784 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5785 (switch_to_section): Add static prototype.
5786
5787 * output.h (drectve_section): Prototype.
5788
5789 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5790
5791 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5792 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5793 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5794 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5795 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5796 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5797 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5798 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5799 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5800 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5801 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5802 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5803 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5804 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
5805 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
5806 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
5807 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
5808 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
5809 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
5810 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
5811 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
5812 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
5813 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
5814 cris-*-none, cris-*-linux*: Update ${tmfile} list.
5815 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
5816 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
5817 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
5818 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
5819 v850-*-*): Delete superflous ${cpu_type} setting.
5820 * config/linux.h: Delete svr4.h include.
5821 (SET_ASM_OP): Delete.
5822 * config/netware.h (INT_ASM_OP): Undef before define.
5823 * config/ptx4.h: Delete elfos.h include.
5824 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
5825 * config/svr4.h: Delete elfos.h include. Update commentary.
5826 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
5827 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
5828 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
5829 config/v850/v850.h: Delete svr4.h include.
5830 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
5831 config/m68k/m68kv4.h, config/m88k/sysv4.h,
5832 config/sparc/sysv4.h: Update includes.
5833 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
5834 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
5835 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
5836 config/m88k/dguxbcs.h: Delete includes.
5837 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
5838 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
5839 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
5840 it.
5841 * config/m88k/dgux.h: Delete include.
5842 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
5843 defining it.
5844 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
5845 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
5846 * config/sh/elf.h: Update include.
5847 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
5848 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
5849
5850 2001-10-19 Catherine Moore <clm@redhat.com>
5851
5852 * config/stormy16/stormy-abi: Updates to varargs descriptions.
5853 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
5854 base and count fields.
5855 (stormy16_expand_builtin_va_start): last_reg_count changed to
5856 size_of_reg_args. Use count + size in first comparison.
5857
5858 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5859
5860 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
5861 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
5862 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
5863 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
5864 Set alignment from type if INDIRECT_REF.
5865 (adjust_address_1, offset_address): Simplify alignment compuitation.
5866 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
5867 here; done by set_mem_attributes.
5868
5869 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5870
5871 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
5872 * arm-protos.h (rdata_section, zero_init_section, common_section):
5873 Prototype.
5874 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
5875 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
5876 traditional mode stringification.
5877 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
5878 in macros controling its use.
5879 * rtlanal.c: Include tm_p.h.
5880 * varasm.c (asm_output_aligned_bss): Mark parameter with
5881 ATTRIBUTE_UNUSED.
5882 (assemble_constant_align, assemble_start_function, assemble_align,
5883 assemble_variable, assemble_trampoline_template,
5884 output_constant_def_contents): Wrap potentially empty if-stmt body
5885 in brackets.
5886
5887 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5888
5889 * a29k-protos.h (literal_section): Prototype.
5890 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
5891 * a29k.md: Ensure function pointers are prototyped.
5892 * genattrtab.c (write_eligible_delay): Mark parameter with
5893 ATTRIBUTE_UNUSED.
5894
5895 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5896
5897 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5898 * 1750a.c (print_operand): Fix format specifier warning.
5899 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
5900 * 1750a.md: Likewise.
5901 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
5902 * genemit.c (output_add_clobbers): Mark parameter with
5903 ATTRIBUTE_UNUSED.
5904 * genrecog.c (write_subroutine): Likewise.
5905 * integrate.c (expand_inline_function): Delete unused variable.
5906 * varasm.c (remove_from_pending_weak_list): Wrap with
5907 ASM_WEAKEN_LABEL.
5908
5909 2001-10-19 Jakub Jelinek <jakub@redhat.com>
5910
5911 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
5912 field is different to previous argument's neg field.
5913
5914 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
5915
5916 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5917
5918 * final.c (get_decl_from_op): New function.
5919 (output_asm_insn): Call it; write "*" when item with decl is address.
5920
5921 2001-10-19 Janis Johnson <janis187@us.ibm.com>
5922
5923 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
5924 about 64-bit support from the 3.0_branch version.
5925
5926 2001-10-19 Zack Weinberg <zack@codesourcery.com>
5927
5928 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
5929 USE_INCLUDED_LIBINTL when appropriate.
5930 * configure, config.in: Regenerate.
5931 * Makefile.in (datadir): Set to @datadir@.
5932 (intl.o): Also depend on $(CONFIG_H) and system.h.
5933
5934 * intl.c: Factor out common gettext initialization sequence.
5935 (gcc_init_libintl): New function.
5936 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
5937 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
5938 off NLS. Add multiple include guard. No need to #ifdef-guard
5939 an #undef. Prototype gcc_init_libintl here.
5940
5941 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
5942 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
5943 Use gcc_init_libintl.
5944
5945 2001-10-19 Catherine Moore <clm@redhat.com>
5946
5947 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
5948
5949 * config/stormy16/stormy16.c (stormy16_split_move): Make
5950 sure that REG_INC notes are present for auto_inc operands.
5951
5952 2001-10-19 Andreas Jaeger <aj@suse.de>
5953
5954 * configure: Regenerated.
5955 * configure.in: Add x86_64 to switch statements.
5956
5957 2001-10-18 Richard Henderson <rth@redhat.com>
5958
5959 * config/alpha/alpha.md (sibcall_osf_1): Load destination
5960 address into $27 explicitly.
5961 (sibcall_value_osf_1): Likewise.
5962
5963 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5964
5965 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
5966 (offset_address): New function.
5967 (free_emit_status): Free regno_decl.
5968 (init_emit): Pass proper number of elements to xcalloc.
5969 Allocate regno_decl.
5970 (mark_emit_status): Mark regno_decl values.
5971 * expr.c (highest_pow2_factor): New function.
5972 (expand_assigment): Use it and offset_address.
5973 Properly handle ptr_mode vs. Pmode in offset calculation.
5974 (store_constructor, expand_expr_unaligned): Likewise.
5975 (expand_expr, case COMPONENT_EXPR): Likewise.
5976 * expr.h (offset_address): New decl.
5977 * function.h (struct emit_status): Add regno_decl.
5978 (REGNO_DECL): New macro.
5979 * final.c (output_asm_name): Move in file and don't conditionalize
5980 on flag_print_asm_name.
5981 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
5982 Output names of operands, if known.
5983 * function.c (assign_parms): Set REGNO_DECL.
5984 * integrate.c (integrate_decl_tree): Likewise.
5985 * stmt.c (expand_decl): Likewise.
5986 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
5987
5988 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
5989
5990 * attribs.c (handle_noinline_attribute): New function.
5991 (handle_used_attribute): Likewise.
5992 (c_common_attribute_table): Added noinline and used.
5993 * doc/extend.texi (Function Attributes): Document them.
5994 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
5995 Warn when merging inline with attribute noinline.
5996 (start_decl, start_function): Warn if inline and attribute
5997 noinline appear in the same declaration.
5998
5999 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
6000
6001 * config.gcc: Update c4x and i370 for C front end-specific
6002 dependencies.
6003 * config/c4x/c4x-c.c: New.
6004 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6005 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6006 New declarations.
6007 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6008 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6009 Make extern.
6010 (c4x_init_pragma): Remove.
6011 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6012 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6013 c4x_pr_ignored): Move to c4x-c.c.
6014 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6015 * config/c4x/t-c4x: Update.
6016 * config/i370/i370-c.c: New.
6017 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6018 (i370_pr_map): Move to i370-c.c.
6019 * config/i370/t-i370: New.
6020
6021 * doc/tm.texi: Update.
6022
6023 2001-10-17 Stan Shebs <shebs@apple.com>
6024
6025 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6026 typo fixes throughout.
6027 (machopic_output_stub): Remove some dead code.
6028
6029 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
6030
6031 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6032 leak.
6033
6034 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6035
6036 * Makefile.in (print-rtl.o): Depend on TREE_H.
6037 * alias.c (get_alias_set): Make two passes over objects to first
6038 see if inner object is access via restricted pointer.
6039 Defer allocating alias set for restricted pointer until here.
6040 Call find_placeholder with second arg nonzero.
6041 Minor cleanups.
6042 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6043 set for restricted pointer types.
6044 * emit-rtl.c (set_mem_attributes): Set more attributes.
6045 (set_mem_align, change_address, adjust_address_1): New functions.
6046 (change_address_1): Now static.
6047 (adjust_address, adjust_address_nv): Deleted.
6048 (replace_equiv_address): Call change_address_1.
6049 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6050 (find_placeholder): Get starting point from PLIST arg.
6051 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6052 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6053 (adjust_address, adjust_address_nv): New macros.
6054 * print-rtl.c (tree.h): New include.
6055 (print_rtx, case MEM): Print all memory attributes.
6056
6057 2001-10-17 Richard Henderson <rth@redhat.com>
6058
6059 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6060
6061 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6062
6063 * c-tree.texi: Eliminate duplicated word.
6064 * cpp.texi: Likewise.
6065 * install.texi: Likewise.
6066 * invoke.texi: Likewise.
6067 * tm.texi: Likewise.
6068
6069 2001-10-17 Michael Collison <collison@isisinc.net>
6070
6071 * dsp16xx.c: Fix comment formatting to match GNU standards.
6072 (dsp16xx_output_function_prologue): Change type of 'size'
6073 parameter from 'int' to HOST_WIDE_INT.
6074 (dsp16xx_output_function_epilogue): Change type of 'size'
6075 parameter from 'int' to HOST_WIDE_INT.
6076
6077 2001-10-16 Richard Henderson <rth@redhat.com>
6078
6079 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6080 * configure, config.in: Rebuild.
6081
6082 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6083 (ix86_output_addr_diff_elt): New.
6084 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6085 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6086 (JUMP_TABLES_IN_TEXT_SECTION): New.
6087 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6088 * config/i386/i386-protos.h: Update.
6089
6090 * config/i386/386bsd.h, config/i386/beos-elf.h,
6091 config/i386/freebsd-aout.h, config/i386/freebsd.h,
6092 config/i386/i386-interix.h, config/i386/i386elf.h,
6093 config/i386/linux.h, config/i386/netbsd-elf.h,
6094 config/i386/netbsd.h, config/i386/openbsd.h,
6095 config/i386/ptx4-i.h, config/i386/rtemself.h,
6096 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6097 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6098
6099 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6100
6101 * stmt.c (expand_asm_operands): Update commentary.
6102
6103 2001-10-16 Stan Shebs <shebs@apple.com>
6104
6105 * config/darwin.h (GCC_NAME): Remove, no longer used.
6106 (NO_MATH_LIBRARY): Ditto.
6107 (MATH_LIBRARY): Define to emptiness.
6108 (DWARF2_DEBUGGING_INFO): Define.
6109 (PREFERRED_DEBUGGING_TYPE): Define.
6110 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6111 (EXCEPTION_SECTION): Define.
6112 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6113 * config/darwin.c (darwin_encode_section_info): Handle case of
6114 DECL_INITIAL being error_mark_node.
6115
6116 2001-10-16 Richard Henderson <rth@redhat.com>
6117
6118 * alpha.c (current_file_function_operand): Don't fail for profiling.
6119 (direct_call_operand): New.
6120 * alpha-protos.h: Declare it.
6121 * alpha.h (EXTRA_CONSTRAINT): Use it.
6122 (PREDICATE_CODES): Add it.
6123 (ASM_OUTPUT_MI_THUNK): Remove.
6124 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6125 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6126
6127 2001-10-16 Krister Walfridsson <cato@df.lth.se>
6128
6129 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6130 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6131
6132 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6133
6134 * cfg.c (free_edge): Break out from ....
6135 (remove_edge): ... here.
6136 (clear_edges): Use free_edge.
6137
6138 * att.h (ASM_QUAD): Add comment.
6139 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6140
6141 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6142
6143 * i386.c (split_ti): New function.
6144 (ix86_split_to_parts): Support TImodes.
6145 * i386.h (VALID_INT_MODE_P): Add TImode.
6146 * i386.md (movdi splitter): Fix.
6147 (movti): Support 64bit integer registers.
6148 (movti_rex64): New function and splitter.
6149
6150 * i386.c (*_cost): Add movsx/movzx cost.
6151 * i386.h (struct processor_costs): Add movsx/movzx fields.
6152 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6153 64bit operations require split on 64bit machine.
6154 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6155
6156 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6157 (ix86_expand_move): Avoid pushes of memory if size does not match;
6158 move long constants to register.
6159 (x86_initialize_trampoline): Fix mode.
6160 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6161 Use ASM_QUAD on 64bit.
6162 * i386.md (test pattern): Disallow impossible constants.
6163 (tablejump PIC expander): Fix emitting of sum.
6164 (movdicc_rex64): Rename to movdicc.
6165 * linux64.h (LINK_SPEC): Add missing '%'.
6166
6167 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
6168
6169 * tree-inline.c (inlinable_function_p): Leave it up to the
6170 front-end to turn -finline-functions into DECL_INLINE set for all
6171 functions.
6172
6173 2001-10-16 Stan Shebs <shebs@apple.com>
6174
6175 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6176
6177 2001-10-16 Alan Modra <amodra@bigpond.net.au>
6178
6179 * recog.c: Formatting and comment typo fixes.
6180
6181 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6182 version in single tree build.
6183 * configure: Regenerate.
6184
6185 2001-10-15 David Edelsohn <edelsohn@gnu.org>
6186
6187 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6188 MODE arguments to gen_rtx and compare operand with const0_rtx.
6189
6190 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6191
6192 * system.h: Poison old unused target macros.
6193 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6194 * config/stormy16/stormy16.c: Update references to obsolete macros.
6195 * config/stormy16/stormy16.h: Similarly.
6196 * config/stormy16/stormy16.md: Similarly.
6197 * config/cris/cris.h: Similarly.
6198
6199 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6200
6201 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6202 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6203 cpp_register_pragma): Update accordingly.
6204
6205 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6206
6207 * c-pragma.h (cpp_register_pragma_space): Remove.
6208 * cpplib.h (cpp_register_pragma_space): Remove.
6209 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6210 (cpp_register_pragma_space): Remove.
6211 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6212 add sanity checks.
6213 (do_pragma): Similarly.
6214 (_cpp_init_internal_pragmas): Don't register namespaces.
6215
6216 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6217 Don't register namespaces.
6218 * cp/lex.c (init_cp_pragma): Similarly.
6219 * doc/tm.texi: Update.
6220
6221 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6222
6223 PR c/4157
6224 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6225
6226 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6227
6228 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6229 add scheduling support.
6230 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6231 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6232 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6233
6234
6235 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
6236
6237 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6238 missing CONSTANT_P test in core GCC.
6239
6240 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6241
6242 * cppmain.c (struct printer): New member source.
6243 (scan_translation_unit): Fix spacing at start of lines.
6244 (cb_line_change): Update.
6245
6246 * gcc.dg/cpp/spacing2.c: New test.
6247
6248 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
6249
6250 * config/cris/arit.c: Use __builtin_labs, not abs.
6251
6252 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6253
6254 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6255 misplaced sprintf and fprintf argument.
6256
6257 2001-10-12 Zack Weinberg <zack@codesourcery.com>
6258
6259 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6260 * configure.in, Makefile.in: Take out obsolete check-po logic.
6261 * configure, config.in: Regenerate.
6262
6263 2001-10-12 Ziemowit Laski <zlaski@apple.com>
6264
6265 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6266 symtab declarations.
6267
6268 2001-10-12 Stan Shebs <shebs@apple.com>
6269
6270 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6271 declarations of arguments and local variables.
6272
6273 2001-10-12 Christopher Faylor <cgf@redhat.com>
6274
6275 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6276 ENDFILE_SPEC definition.
6277
6278 2001-10-12 Kazu Hirata <kazu@hxi.com>
6279
6280 * gthr-dce.h: Fix comment formatting.
6281 * gthr-posix.h: Likewise.
6282 * gthr-single.h: Likewise.
6283 * gthr-solaris.h: Likewise.
6284 * gthr-vxworks.h: Likewise.
6285 * gthr-win32.h: Likewise.
6286
6287 2001-10-12 Jakub Jelinek <jakub@redhat.com>
6288
6289 * final.c (output_asm_insn): Make sure assembly dialects are
6290 terminated, not nested. Output `|' and `}' characters if they
6291 don't appear inside assembly dialect selection.
6292 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6293 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6294 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6295 strsetsi_rex_1): Add {} braces.
6296
6297 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6298
6299 * toplev.c (compile_file): Ignore return value from yyparse.
6300 Always pop any nested binding levels after yyparse returns.
6301
6302 2001-10-11 Richard Henderson <rth@redhat.com>
6303
6304 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6305
6306 2001-10-11 Richard Henderson <rth@redhat.com>
6307
6308 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6309 fall back to add_AT_long_long for large CONST_INT.
6310
6311 2001-10-11 Richard Henderson <rth@redhat.com>
6312
6313 * config/i386/i386.md (setcc splitters): Add four splitters to
6314 simplify compound compares that simplify_comparison can't handle.
6315
6316 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6317
6318 * cpplex.c (digraph_spellings, token_spellings): Make static.
6319
6320 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6321
6322 * unroll.c (loop_iterations): Fixup last patch.
6323
6324 2001-10-11 Richard Henderson <rth@redhat.com>
6325
6326 * rtl.h (REG_VTABLE_REF): New.
6327 * rtl.c (reg_note_name): Add it.
6328 * combine.c (distribute_notes): Handle it.
6329 * final.c (final_scan_insn): Handle it.
6330 * tree.def (VTABLE_REF): New.
6331 * expr.c (expand_expr): Handle it.
6332 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6333 * output.h: Declare them.
6334
6335 2001-10-11 Richard Henderson <rth@redhat.com>
6336
6337 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6338 for a DECL_INITIAL.
6339
6340 2001-10-11 David Edelsohn <edelsohn@gnu.org>
6341
6342 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6343 available in 64-bit mode.
6344
6345 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6346
6347 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6348 cris-*-linux* cases.
6349 * config/cris/cris-protos.h: New file.
6350 * config/cris/cris.c: New file.
6351 * config/cris/cris.h: New file.
6352 * config/cris/cris.md: New file.
6353 * config/cris/linux.h: New file.
6354 * config/cris/aout.h: New file.
6355 * config/cris/arit.c: New file.
6356 * config/cris/cris_abi_symbol.c: New file.
6357 * config/cris/mulsi3.asm: New file.
6358 * config/cris/t-aout: New file.
6359 * config/cris/t-cris: New file.
6360 * config/cris/t-elfmulti: New file.
6361 * config/cris/t-linux: New file.
6362 * doc/invoke.texi: Add CRIS options.
6363 * doc/install.texi (Specific): Add blurb for CRIS.
6364
6365 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6366
6367 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6368 before using it.
6369 * config/float/i32.h: Likewise.
6370 * config/float-i386.h: Likewise.
6371 * config/float-i64.h: Likewise.
6372 * config/float-m68k.h: Likewise.
6373 * config/float-sh.h: Likewise.
6374 * config/float-sparc.h: Likewise.
6375
6376 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6377
6378 * doc/contrib.texi: Add note about CRIS port to my entry.
6379
6380 2001-10-11 Kazu Hirata <kazu@hxi.com>
6381
6382 * basic-block.h: Fix formatting.
6383 * bitmap.h: Likewise.
6384 * cpplib.h: Likewise.
6385 * c-tree.h: Likewise.
6386 * diagnostic.h: Likewise.
6387 * flags.h: Likewise.
6388 * ggc.h: Likewise.
6389 * longlong.h: Likewise.
6390 * real.h: Likewise.
6391 * reload.h: Likewise.
6392 * rtl.h: Likewise.
6393 * tree.h: Likewise.
6394
6395 2001-10-10 Richard Henderson <rth@redhat.com>
6396
6397 * c-parse.in (asm_operand): Allow named operands.
6398 * genconfig.c (max_recog_operands): Set to 29.
6399 * local-alloc.c (requires_inout): Skip multiple digits.
6400 * recog.c (asm_operand_ok): Likewise.
6401 (preprocess_constraints): Use strtoul for matching constraints.
6402 (constrain_operands): Likewise.
6403 * regmove.c (find_matches): Likewise.
6404 * reload.c (find_reloads): Likewise.
6405 * stmt.c (parse_output_constraint): Don't reject in-out
6406 constraint on operands > 9. Reject '[' in constraint.
6407 (expand_asm_operands): Handle named operands. Use strtoul
6408 for matching constraints.
6409 (check_operand_nalternatives): Split out from expand_asm_operands.
6410 (check_unique_operand_names): New.
6411 (resolve_operand_names, resolve_operand_name_1): New.
6412
6413 * doc/extend.texi (Extended Asm): Document named operands.
6414 * doc/md.texi (Simple Constraints): Document matching constraints
6415 on operands > 9.
6416
6417 2001-10-10 Richard Henderson <rth@redhat.com>
6418
6419 * combine.c (try_combine): Handle a SEQUENCE of one insn.
6420
6421 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6422 (jcc splitters): Add two splitters to simplify compound compares
6423 that simplify_comparison can't handle.
6424
6425 2001-10-10 Richard Henderson <rth@redhat.com>
6426
6427 * langhooks.c: Include langhooks.h.
6428 * Makefile.in (langhooks.o): Depend on it.
6429
6430 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
6431
6432 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6433 should not be considered as a no-op.
6434 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6435
6436 2001-10-10 Stan Shebs <shebs@apple.com>
6437
6438 * alias.c: Remove uses of "register" specifier in declarations
6439 of arguments and local variables.
6440 * c-common.c: Ditto.
6441 * c-convert.c: Ditto.
6442 * c-decl.c: Ditto.
6443 * c-format.c: Ditto.
6444 * c-semantics.c: Ditto.
6445 * c-typeck.c: Ditto.
6446 * caller-save.c: Ditto.
6447 * calls.c: Ditto.
6448 * cfg.c: Ditto.
6449 * cfgbuild.c: Ditto.
6450 * cfgrtl.c: Ditto.
6451 * collect2.c: Ditto.
6452 * combine.c: Ditto.
6453 * convert.c: Ditto.
6454 * cppexp.c: Ditto.
6455 * cppfiles.c: Ditto.
6456 * cse.c: Ditto.
6457 * dbxout.c: Ditto.
6458 * defaults.h: Ditto.
6459 * df.c: Ditto.
6460 * dwarf2out.c: Ditto.
6461 * dwarfout.c: Ditto.
6462 * emit-rtl.c: Ditto.
6463 * explow.c: Ditto.
6464 * expmed.c: Ditto.
6465 * expr.c: Ditto.
6466 * final.c: Ditto.
6467 * fix-header.c: Ditto.
6468 * floatlib.c: Ditto.
6469 * flow.c: Ditto.
6470 * fold-const.c: Ditto.
6471 * function.c: Ditto.
6472 * gcc.c: Ditto.
6473 * gcse.c: Ditto.
6474 * gen-protos.c: Ditto.
6475 * genattrtab.c: Ditto.
6476 * gencheck.c: Ditto.
6477 * genconfig.c: Ditto.
6478 * genemit.c: Ditto.
6479 * genextract.c: Ditto.
6480 * genflags.c: Ditto.
6481 * gengenrtl.c: Ditto.
6482 * genoutput.c: Ditto.
6483 * genpeep.c: Ditto.
6484 * genrecog.c: Ditto.
6485 * gensupport.c: Ditto.
6486 * global.c: Ditto.
6487 * gmon.c: Ditto.
6488 * graph.c: Ditto.
6489 * haifa-sched.c: Ditto.
6490 * hard-reg-set.h: Ditto.
6491 * hash.c: Ditto.
6492 * integrate.c: Ditto.
6493 * jump.c: Ditto.
6494 * lists.c: Ditto.
6495 * local-alloc.c: Ditto.
6496 * loop.c: Ditto.
6497 * mips-tdump.c: Ditto.
6498 * mips-tfile.c: Ditto.
6499 * optabs.c: Ditto.
6500 * prefix.c: Ditto.
6501 * print-rtl.c: Ditto.
6502 * read-rtl.c: Ditto.
6503 * real.c: Ditto.
6504 * recog.c: Ditto.
6505 * reg-stack.c: Ditto.
6506 * regclass.c: Ditto.
6507 * regmove.c: Ditto.
6508 * reload.c: Ditto.
6509 * reload1.c: Ditto.
6510 * reorg.c: Ditto.
6511 * resource.c: Ditto.
6512 * rtl.c: Ditto.
6513 * rtlanal.c: Ditto.
6514 * scan.c: Ditto.
6515 * sched-deps.c: Ditto.
6516 * sched-rgn.c: Ditto.
6517 * sdbout.c: Ditto.
6518 * simplify-rtx.c: Ditto.
6519 * stmt.c: Ditto.
6520 * stor-layout.c: Ditto.
6521 * toplev.c: Ditto.
6522 * tradcif.y: Ditto.
6523 * tradcpp.c: Ditto.
6524 * tree.c: Ditto.
6525 * unroll.c: Ditto.
6526 * varasm.c: Ditto.
6527 * xcoffout.c: Ditto.
6528
6529 2001-10-10 Richard Henderson <rth@redhat.com>
6530
6531 * rtl.h (can_reverse_comparison_p): Remove.
6532
6533 2001-10-10 Christopher Faylor <cgf@redhat.com>
6534
6535 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6536 used.
6537
6538 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6539
6540 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6541 (Thanks to Chris Faylor for suggesting macro name).
6542 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6543 WIN32 defines.
6544 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6545 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6546 (MATH_LIBRARY): Undef before definition.
6547 (OUTPUT_QUOTED_STRING): Likewise.
6548 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6549
6550 2001-10-10 Richard Henderson <rth@redhat.com>
6551
6552 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6553 (fde_unencoded_compare): Likewise. Don't use subtraction to get
6554 a tristate comparison value.
6555 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6556
6557 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6558
6559 PR c++/4512
6560 * unroll.c (loop_iterations): Ignore insns generated by loop
6561 unrolling.
6562
6563 * config.gcc (mips*-*-gnu*): Delete support.
6564 * config/mips/gnu.h: Remove.
6565
6566 2001-10-10 Kazu Hirata <kazu@hxi.com>
6567
6568 * calls.c: Fix formatting.
6569 * c-decl.c: Likewise.
6570 * cfgcleanup.c: Likewise.
6571 * combine.c: Likewise.
6572 * cppfiles.c: Likewise.
6573 * cpplib.c: Likewise.
6574 * cppmacro.c: Likewise.
6575 * crtstuff.c: Likewise.
6576 * cse.c: Likewise.
6577 * dwarf2out.c: Likewise.
6578 * expmed.c: Likewise.
6579 * expr.c: Likewise.
6580 * fold-const.c: Likewise.
6581 * function.c: Likewise.
6582 * gcse.c: Likewise.
6583 * genattrtab.c: Likewise.
6584 * ggc-page.c: Likewise.
6585 * integrate.c: Likewise.
6586 * libgcc2.c: Likewise.
6587 * loop.c: Likewise.
6588 * optabs.c: Likewise.
6589 * profile.c: Likewise.
6590 * protoize.c: Likewise.
6591 * real.c: Likewise.
6592 * recog.c: Likewise.
6593 * reload1.c: Likewise.
6594 * reload.c: Likewise.
6595 * reorg.c: Likewise.
6596 * resource.c: Likewise.
6597 * sched-rgn.c: Likewise.
6598 * sdbout.c: Likewise.
6599 * stmt.c: Likewise.
6600 * toplev.c: Likewise.
6601 * varasm.c: Likewise.
6602
6603 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
6604
6605 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6606 * Makefile.in (langhooks.o): Add dependencies.
6607
6608 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
6609
6610 * rs6000.c (rs6000_emit_load_toc_table): Don't
6611 strdup the toc label.
6612 (create_TOC_reference): Likewise.
6613
6614 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6615
6616 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6617 version default.
6618
6619 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6620
6621 * config/i386/i386.c (ix86_attribute_table): Correct
6622 min_len, max_len fields for dllimport, dllexport and shared.
6623
6624 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
6625
6626 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6627 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6628 Consistently use "nonzero" instead of "non-zero".
6629
6630 2001-10-09 Kazu Hirata <kazu@hxi.com>
6631
6632 * acconfig.h: Fix comment formatting.
6633 * c-dump.h: Likewise.
6634 * c-tree.h: Likewise.
6635 * conditions.h: Likewise.
6636 * expr.h: Likewise.
6637 * function.h: Likewise.
6638 * gthr.h: Likewise.
6639 * hwint.h: Likewise.
6640 * integrate.h: Likewise.
6641 * intl.h: Likewise.
6642 * loop.h: Likewise.
6643 * optabs.h: Likewise.
6644
6645 2001-10-09 Kazu Hirata <kazu@hxi.com>
6646
6647 * c-common.h: Fix comment formatting.
6648 * c-dump.c: Likewise.
6649 * cfg.c: Likewise.
6650 * diagnostic.h: Likewise.
6651 * except.c: Likewise.
6652 * gcc.h: Likewise.
6653 * gcov-io.h: Likewise.
6654 * genattrtab.c: Likewise.
6655 * output.h: Likewise.
6656 * predict.h: Likewise.
6657 * reload1.c: Likewise.
6658 * reload.h: Likewise.
6659 * resource.h: Likewise.
6660 * scan.h: Likewise.
6661 * system.h: Likewise.
6662 * tree.h: Likewise.
6663 * tree-inline.c: Likewise.
6664 * tsystem.h: Likewise.
6665 * varasm.c: Likewise.
6666 * xcoffout.h: Likewise.
6667
6668 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6669
6670 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6671
6672 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6673
6674 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6675 config/i386/i386elf.h, config/i386/netbsd-elf.h,
6676 config/i386/netware.h, config/mcore/gfloat.h,
6677 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6678 config/netware.h, gccbug.in: Update FSF address.
6679
6680 2001-10-09 Kazu Hirata <kazu@hxi.com>
6681
6682 * c-common.c: Fix comment typos.
6683 * cfgrtl.c: Likewise.
6684 * collect2.c: Likewise.
6685 * cpplex.c: Likewise.
6686 * doloop.c: Likewise.
6687 * dwarf2out.c: Likewise.
6688 * dwarfout.c: Likewise.
6689 * expr.c: Likewise.
6690 * fold-const.c: Likewise.
6691 * gcc.c: Likewise.
6692 * gcov.c: Likewise.
6693 * gcse.c: Likewise.
6694 * global.c: Likewise.
6695 * ifcvt.c: Likewise.
6696 * loop.c: Likewise.
6697 * optabs.c: Likewise.
6698 * protoize.c: Likewise.
6699 * regclass.c: Likewise.
6700 * reorg.c: Likewise.
6701 * rtl.h: Likewise.
6702 * stmt.c: Likewise.
6703 * tree.h: Likewise.
6704 * doc/cpp.texi: Likewise.
6705 * doc/c-tree.texi: Likewise.
6706 * doc/extend.texi: Likewise.
6707 * doc/invoke.texi: Likewise.
6708 * doc/objc.texi: Likewise.
6709 * doc/tm.texi: Likewise.
6710
6711 2001-10-08 Richard Henderson <rth@redhat.com>
6712
6713 * varasm.c (set_named_section_flags): Initialize "declared".
6714
6715 2001-10-08 Robert Lipe <robertlipe@usa.net>
6716
6717 * varasm.c (struct in_named_entry): Add declared.
6718 (named_section_first_declaration): New function.
6719 (default_elf_asm_named_section): Use it.
6720 * output.h (named_section_first_declaration): New.
6721
6722 2001-10-08 Richard Henderson <rth@redhat.com>
6723
6724 * i386.md (movsi_xor): Export.
6725 (setcc peep2): Use it when available; add an alternative to
6726 match zero_extendhisi2_and.
6727
6728 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6729
6730 * romp-protos.h (romp_initialize_trampoline): New function.
6731 * romp.c (romp_initialize_trampoline): Likewise.
6732 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6733 romp_initialize_trampoline.
6734
6735 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6736
6737 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6738 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6739 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6740 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6741
6742 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6743
6744 * unroll.c (loop_iterations): Extend check for multiple back edges.
6745
6746 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
6747
6748 * langhooks.h: New file.
6749 * Makefile.in (OBJS): Added langhooks.o.
6750 (c-lang.o): Depend on langhooks.h.
6751 (c-common.o): Don't depend on tree-inline.h.
6752 (tree-inline.o): Depend on toplev.h.
6753 (langhooks.o): New rule.
6754 * c-common.c: Don't include tree-inline.h.
6755 (c_mark_lang_decl): Mark argument c as unused.
6756 (c_common_lang_init): Don't initialize hooks here.
6757 * c-lang.c: Include langhooks.h, then override some macros.
6758 (lang_hooks): Initialize with macros in langhooks.h.
6759 (c_init): Don't initialize hooks here.
6760 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6761 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
6762 * tree-inline.c: Include toplev.h. Don't define hook variables.
6763 * tree-inline.h: Don't define hook types nor declare hook
6764 variables. Move macros to...
6765 * langhooks.c: ... new file, as functions. Adjust all callers.
6766
6767 2001-10-08 Jeffrey A Law <law@cygnus.com>
6768
6769 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6770 purge_mem_unchanging_flag on all instructions, not just on those
6771 before NOTE_INSN_FUNCTION_BEG.
6772
6773 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6774
6775 * cppmacro.c (_cpp_create_definition): Leave comments off.
6776
6777 * doc/cpp.texi: Update.
6778
6779 2001-10-08 DJ Delorie <dj@redhat.com>
6780
6781 * c-decl.c (grokfield): Make sure the only unnamed fields
6782 we're allowing are either structs or unions.
6783 * doc/extend.texi: Add documentation for the unnamed field
6784 extension.
6785
6786 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6787
6788 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6789 * configure.in: Use it.
6790 * configure: Regenerated.
6791 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6792 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6793
6794 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6795
6796 * cppfiles.c (open_file): Don't mark zero-length files
6797 never-reread here. Don't output diagnostics here either.
6798 (stack_include_file): Mark them never-reread here.
6799 (_cpp_read_file): Update.
6800
6801 2001-10-08 Richard Henderson <rth@redhat.com>
6802
6803 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6804
6805 2001-10-08 Richard Henderson <rth@redhat.com>
6806
6807 * expr.c (store_expr): When converting a CONST_INT for storage
6808 in a SUBREG, convert it to both SUBREG modes before stripping
6809 the SUBREG.
6810
6811 2001-10-08 Richard Henderson <rth@redhat.com>
6812
6813 * varasm.c (restore_varasm_status): New.
6814 * function.h: Declare it.
6815 * function.c (pop_function_context_from): Call it.
6816
6817 2001-10-08 Richard Henderson <rth@redhat.com>
6818
6819 * c-common.h (struct c_lang_decl): Add declared_inline.
6820 * c-tree.h (DECL_DECLARED_INLINE_P): New.
6821 * c-lang.c (c_disregard_inline_limits): Use it.
6822 * c-decl.c (duplicate_decls): Likewise.
6823 (pushdecl, redeclaration_error_message): Likewise.
6824 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
6825 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
6826 Set DECL_INLINE if -finline-functions.
6827 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
6828
6829 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6830
6831 * cppmacro.c (funlike_invocation_p): Move some logic to caller
6832 in enter_macro_context. Create a padding token in its own context
6833 if necessary when the search for '(' fails.
6834 (enter_macro_context): Update.
6835
6836 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6837
6838 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
6839 genmultilib, toplev.c: Fix spelling errors of "separate" as
6840 "seperate", and corresponding spelling errors of related words.
6841
6842 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6843
6844 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
6845 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
6846 Likewise.
6847 * c-dump.c (dump_option_value_info): Likewise.
6848 * c-format.c (format_length_info, format_char_info,
6849 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
6850 * collect2.c (names): Likewise.
6851 * cppdefault.h (default_include): Likewise.
6852 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
6853 * flow.c (life_analysis): Likewise.
6854 * gcc.c (dir_separator_str, modify_target, option_map,
6855 target_option_translations, spec_list_1, extra_specs_1,
6856 init_spec): Likewise.
6857 * gcov.c (gcov_version_string): Likewise.
6858 * genattr.c (write_units): Likewise.
6859 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
6860 * gengenrtl.c (rtx_definition, defs): Likewise.
6861 * genrecog.c (pred_table): Likewise.
6862 * global.c (global_alloc): Likewise.
6863 * lcm.c (optimize_mode_switching): Likewise.
6864 * local-alloc.c (find_free_reg): Likewise.
6865 * params.h (param_info): Likewise.
6866 * predict.c (predictor_info): Likewise.
6867 * protoize.c (unexpansion_struct): Likewise.
6868 * real.c (bmask): Likewise.
6869 * recog.h (insn_operand_data, insn_data): Likewise.
6870 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
6871 * stmt.c (expand_nl_goto_receiver): Likewise.
6872 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
6873 target_switches, target_options): Likewise.
6874 * tradcif.y (token, tokentab2, yylex): Likewise.
6875 * tree.h (attribute_spec): Likewise.
6876
6877 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
6878 Likewise.
6879 * arc.c (arc_output_function_epilogue): Likewise.
6880 * arm.c (processors, all_cores, all_architectures,
6881 arm_override_options, isr_attribute_arg, isr_attribute_args,
6882 arm_isr_value): Likewise.
6883 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
6884 Likewise.
6885 * c4x.c (c4x_int_reglist): Likewise.
6886 * d30v.c (override_options): Likewise.
6887 * h8300.c (shift_insn): Likewise.
6888 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
6889 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
6890 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
6891 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
6892 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
6893 * i386.h (processor_costs, ix86_cost): Likewise.
6894 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
6895 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
6896 * m68k.c (codes_68881, codes_FPA): Likewise.
6897 * m88k.c (mode_from_align, max_from_align, all_from_align,
6898 best_from_align, m_options): Likewise.
6899 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
6900 * mcore.c (mode_from_align): Likewise.
6901 * mips/elf64.h (UNIQUE_SECTION): Likewise.
6902 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
6903 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
6904 * mips.h (mips_regno_to_class): Likewise.
6905 * ns32k.c (scales): Likewise.
6906 * pa.c (import_string, magic_milli): Likewise.
6907 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
6908 * sparc.c (leaf_reg_remap, sparc_override_options,
6909 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
6910 Likewise.
6911 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
6912
6913 2001-10-07 Dale Johannesen <dalej@apple.com>
6914
6915 * reload1.c (reload_reg_free_p): Teach register interference
6916 checking that multiple output reloads are emitted in
6917 reverse order.
6918 reload1.c (reload_reg_reaches_end_p): Ditto.
6919 reload1.c (reloads_conflict): Ditto.
6920
6921 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6922
6923 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
6924 NULL_TREE inside @code.
6925
6926 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
6927
6928 * doc/gcc.texi: Document consistent style of "32-bit",
6929 "Objective-C", and "@code{NULL}".
6930
6931 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6932
6933 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
6934 (cpp_token_len, cpp_spell_token, cpp_output_token,
6935 _cpp_equiv_tokens): Handle it.
6936 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
6937 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
6938 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
6939 error messages.
6940
6941 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6942
6943 * gcc.c (default_compilers): Remove .ada.
6944
6945 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
6946
6947 * doc/cppinternals.texi: Update.
6948
6949 2001-10-06 Zack Weinberg <zack@codesourcery.com>
6950
6951 * gcc.c (main): Set this_file_error if the appropriate
6952 compiler for a language has not been installed.
6953
6954 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
6955
6956 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
6957
6958 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
6959
6960 * gccbug.in (CATEGORIES): Add ada.
6961
6962 2001-10-05 Catherine Moore <clm@redhat.com>
6963
6964 * config/stormy16/stormy-abi: Document abi changes.
6965 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
6966 (ICALL_REGS): New register class.
6967 (NUM_ARGUMENT_REGISTERS): Now 6.
6968 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
6969 in registers.
6970 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
6971 * config/stormy16.md (call_internal, call_value_internal,
6972 indirect_jump): Use new 'z' constraint.
6973
6974 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6975
6976 * doc/cppinternals.texi: Update.
6977
6978 2001-10-05 Richard Henderson <rth@redhat.com>
6979
6980 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
6981 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
6982 the gas section-name-as-label feature.
6983
6984 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
6985
6986 * doc/cppinternals.texi: Update.
6987
6988 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6989
6990 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
6991 to ensure valid SImode constants.
6992
6993 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
6994
6995 * Makefile.in (c-decl.o): Depend on tree-inline.h.
6996 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
6997 * c-decl.c: Include tree-inline.h.
6998 (c_expand_body): Call optimize_inline_calls. Determine whether
6999 a function is inlinable upfront, and only clear
7000 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
7001 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
7002 (c_disregard_inline_limits): New function.
7003 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
7004 (c_post_options): Enable tree inlining if inlining is enabled.
7005 Don't inline trees when instrumenting functions.
7006 (c_init): Initialize lang_disregard_inline_limits and
7007 lang_cannot_inline_tree_fn.
7008 * tree-inline.c (initialize_inlined_parameters): Handle calls
7009 with fewer arguments than declared parameters, and fewer
7010 parameters than passed arguments. Don't assume value is a
7011 DECL.
7012 (declare_return_variable): Convert return value back to the
7013 original type, if it was promoted.
7014 (tree_inlinable_function_p): New function.
7015 (inlinable_function_p): Don't look at DECL_INLINE if we're
7016 inlining all functions. Make it work with a NULL id.
7017 Re-check DECL_UNINLINABLE after language-specific checks.
7018 * tree-inline.h (tree_inlinable_function_p): Declare it.
7019 * integrate.c (save_for_inline): Don't bother to prepare argvec
7020 when not inlining.
7021 * cse.c (check_for_label_ref): Don't check deleted labels.
7022
7023 * Makefile.in (tree-inline.o): Depend on newly-included headers.
7024 * tree-inline.c: Include headers needed for the functions moved in.
7025 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7026 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7027 (copy_body, initialize_inlined_parameters): Likewise.
7028 (declare_return_variable, inlinable_function_p): Likewise.
7029 (expand_call_inline, expand_calls_inline): Likewise.
7030 (optimize_inline_calls, clone_body): Likewise.
7031 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7032 (copy_tree_r, remap_save_expr): Likewise.
7033
7034 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
7035
7036 * Makefile.in (OBJS): Added tree-inline.o.
7037 (c-common.o): Depend on tree-inline.h.
7038 (tree-inline.o): New target.
7039 * c-common.c: Include tree-inline.h.
7040 (c_mark_lang_decl): Don't mark saved_tree.
7041 (c_common_lang_init): Set lang_anon_aggr_type_p.
7042 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7043 (struct c_lang_decl): Moved saved_tree to tree_decl.
7044 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7045 * integrate.h (function_attribute_inlinable_p): Declare it.
7046 * integrate.c (function_attribute_inlinable_p): Export it.
7047 * tree-inline.c: New file. Define variables declared in...
7048 * tree-inline.h: New file. Declare functions to be moved to
7049 tree-inline.c. Define macros and declare types and hooks for
7050 language-specific tree inlining.
7051 (flag_inline_trees): Moved definition from cp/decl2.c.
7052 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7053 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7054 (struct tree_decl): Moved saved_tree from c_lang_decl and
7055 inlined_fns from C++'s lang_decl.
7056
7057 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
7058
7059 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7060 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7061
7062 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
7063
7064 * doc/cppinternals.texi: Update.
7065
7066 2001-10-04 Eric Christopher <echristo@redhat.com>
7067
7068 * config/mips/mips.c (init_cumulative_args): Remember to set
7069 cum->prototype.
7070 * config.gcc: Redo linux configuration. Add target_cpu_default
7071 of soft-float to all mipsisa32 combinations and tx39.
7072 * config/mips/linux.h: Remove include of mips.h.
7073
7074 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
7075
7076 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7077 HOST_LDFLAGS and HOST_CPPFLAGS.
7078
7079 2001-10-03 Ziemowit Laski <zlaski@apple.com>
7080
7081 * c-parse.in (objc_inherit_code, objc_pq_context,
7082 objc_public_flag): Make static.
7083 (objc_interface_context, objc_implementation_context,
7084 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7085 global tree array in objc/objc-act.[ch].
7086 (methoddef): Remove unnecessary code.
7087
7088 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7089 Hoist struct definitions to objc-act.h.
7090 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7091 cat_count): Place declaration in objc-act.h.
7092 (objc_tree_index): Move enumeration to objc-act.h.
7093 (objc_global_trees): Place declaration and macro accessors in
7094 objc-act.h.
7095 (implementation_context): Remove duplicate; use
7096 objc_implementation_context instead:
7097 (method_context): Remove duplicate; use objc_method_context
7098 instead.
7099 (objc_ellipsis_node, objc_method_prototype_template,
7100 implemented_classes, function_type): Move global vars to
7101 objc_global_trees.
7102 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7103 (build_message_expr): Move actual construction of ObjC message
7104 send nodes to finish_message_expr.
7105 (finish_message_expr): New routine, contains code formerly in
7106 build_message_expr.
7107 * objc/objc-act.h (finish_message_expr): New prototype.
7108 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7109 declarations; these vars are now part of objc_global_trees.
7110 (objc_tree_index, objc_global_trees): Move definitions from
7111 objc-act.c.
7112 * objc/objc-tree.def: Update copyright info.
7113
7114 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7115
7116 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7117 op is NULL.
7118 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7119 only if TARGET_ARCH64.
7120
7121 2001-10-02 Bernd Schmidt <bernds@redhat.com>
7122
7123 * doc/extend.texi: Fix some problems with previous checkin.
7124 * doc/invoke.texi: Likewise.
7125
7126 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7127
7128 * cpphash.h: Update comments.
7129 (cpp_context): Update.
7130 (spec_nodes): Remove n__Pragma.
7131 * cppinit.c (cpp_create_reader): Update.
7132 (builtin_array): Add _Pragma.
7133 * cpplib.h: Update comments.
7134 (NODE_DISABLED, BT_PRAGMA): New.
7135 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7136 * cppmacro.c (struct cpp_macro): Remove disabled.
7137 (builtin_macro): Return int, handle _Pragma, push the new token
7138 on the context stack.
7139 (funlike_invocation_p): Unconstify, update.
7140 (enter_macro_context): Handle builtins here.
7141 (replace_args, push_token_context, push_ptoken_context):
7142 Update for prototype changes.
7143 (_cpp_pop_context): Update.
7144 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7145 (cpp_sys_macro_p): Update.
7146 (_cpp_free_definition): Clear disabled flag.
7147 (_cpp_create_definition): Upate.
7148 * cppmain.c: Update comments.
7149
7150 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
7151 Andreas Jaeger <aj@suse.de>,
7152 Jan Hubicka <jh@suse.cz>
7153
7154 * doc/invoke.texi (i386 Options): Document x86-64 options.
7155 (i386 and x86-64 Options): Rename i386 options section.
7156
7157 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7158 (TARGET_SWITCHES): Add -munwind-info.
7159 (MASK_NO_UNWIND_INFO): New.
7160 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7161 biarch compilation.
7162 (ASM_OUTPUT_DOUBLE_INT): New.
7163
7164 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7165 * config.gcc: Fix tm_file settings for x86-64.
7166 * config/i386/x86-64.h: New file with OS independent x86-64
7167 definitions.
7168 * config/i386/biarch64.h: New file used to configure compiler
7169 to biarch/64bit compilation.
7170
7171 * config/i386/i386.c: (override_options): Set flags default
7172 for 64bit compilation.
7173
7174 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7175
7176 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7177 (ix86_expand_int_movcc): Optimize DImode conditional moves with
7178 constants on x86_64.
7179 (ix86_attr_length_immediate_default): Support MODE_DI.
7180 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7181 condition.
7182 (indirect_jump, tablejump): Turn into expander.
7183
7184 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7185
7186 * c-common.c (c_format_attribute_table): Make format and
7187 format_arg attributes apply to function types rather than to
7188 decls.
7189 (is_valid_printf_arglist): Construct an attribute list and pass
7190 that to check_function_format rather than a name.
7191 * c-common.h (check_function_format): Adjust prototype.
7192 * c-decl.c (duplicate_decls): Preserve attributes from type of
7193 built-in decl when allowing for harmless conflict in types.
7194 * c-format.c (record_function_format,
7195 record_international_format, function_format_list,
7196 international_format_info, international_format_list): Remove.
7197 (function_format_info): Remove next, name and assembler_name.
7198 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7199 (decode_format_attr): New.
7200 (handle_format_attribute): Handle receiving a type rather than a
7201 decl. Call decode_format_attr. Store format information in a
7202 function_format_info.
7203 (handle_format_arg_attribute): Correct comment. Handle receiving
7204 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7205 arg_num.
7206 (check_format_info_recurse, check_format_info_main): Take argument
7207 numbers as unsigned HOST_WIDE_INT.
7208 (check_function_format): Take a list of attributes from the
7209 function type rather than a name or assembler name. Check for
7210 format attributes in that list and the attributes on the type of
7211 the current function rather than looking through
7212 function_format_list.
7213 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7214 numbers.
7215 (check_format_info_recurse): Take format_arg attributes from the
7216 type of the function calls rather than using
7217 international_format_list. Allow for multiple format_arg
7218 attributes.
7219 * c-typeck.c (build_function_call): Pass type attributes to
7220 check_function_format rather than name or assembler name. Don't
7221 require there to be a name or assembler name to check formats.
7222
7223 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7224
7225 * attribs.c (decl_attributes): Possibly call
7226 insert_default_attributes to insert default attributes on
7227 functions in a lazy manner.
7228 * builtin-attrs.def: New file; define the default format and
7229 format_arg attributes.
7230 * c-common.c (c_format_attribute_table): Move to earlier in the
7231 file.
7232 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7233 (enum built_in_attribute, built_in_attributes,
7234 c_attrs_initialized, c_init_attributes,
7235 c_common_insert_default_attributes): New.
7236 (c_common_lang_init): Don't initialize format_attribute_table. Do
7237 call c_init_attributes.
7238 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7239 * c-common.h (init_function_format_info): Don't declare.
7240 (c_common_insert_default_attributes): Declare.
7241 * c-decl.c (implicitly_declare, builtin_function): Call
7242 decl_attributes.
7243 (init_decl_processing): Don't call init_function_format_info.
7244 (insert_default_attributes): New.
7245 * c-format.c (handle_format_attribute,
7246 handle_format_arg_attribute): Be quiet about inappropriate
7247 declaration when applying default attributes.
7248 (init_function_format_info): Remove.
7249 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7250 (insert_default_attributes): Declare.
7251
7252 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7253
7254 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7255
7256 2001-10-01 Jim Wilson <wilson@redhat.com>
7257
7258 * sched-deps.c (add_dependence): When elide conditional dependence,
7259 check that insn doesn't modify cond2.
7260
7261 2001-10-01 Dale Johannesen <dalej@apple.com>
7262
7263 * config/rs6000/rs6000.h (enum processor_type): Add support
7264 for 7400 (G4) and 7450.
7265 (RTX_COSTS): Ditto.
7266 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7267 (rs6000_issue_rate): Ditto.
7268 (rs6000_adjust_cost): Fix cycle counts for compares.
7269 (debug_stack_info): Fix an obvious typo.
7270 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7271 * doc/invoke.texi: Document.
7272 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7273 for Darwin.
7274 (PROCESSOR_DEFAULT): Ditto.
7275
7276 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
7277
7278 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7279 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7280 later recursive make invocation.
7281
7282 2001-10-01 Hans Boehm <boehm@acm.org>
7283
7284 * optabs.c (emit_libcall_block): When using non-call exceptions,
7285 don't add REG_LIBCALL reg notes to trapping calls.
7286
7287 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7288
7289 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7290 (propagate_one_insn): Update for above change
7291
7292 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7293
7294 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7295 _Unwind_GetTextRelBase): Argument is unused.
7296
7297 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7298
7299 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7300 Loop through NOPs, placeholders, and components.
7301 Don't go through NOPs if change mode.
7302 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7303 * emit-rtl.c (set_mem_alias_set): Enable check.
7304 * expr.c (find_placeholder): New function.
7305 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7306 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7307 to modify it and avoid unneeded copies.
7308 * expr.h (expand_expr): Always define.
7309 (find_placeholder): New declaration.
7310
7311 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7312
7313 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7314 operand 2 is the stack pointer.
7315 ("addr-peephole"): Fix address computation peephole when operand 2
7316 is the stack pointer.
7317
7318 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7319
7320 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7321 (ix86_setup_incoming_varargs): Likewise.
7322
7323 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
7324
7325 * stor-layout.c (layout_type): Don't complain about too-large
7326 array here.
7327
7328 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7329
7330 * function.c (keep_stack_depressed): Don't use delete_insn.
7331
7332 * expr.h (set_mem_alias_set): Move decl to here.
7333 * rtl.h (mem_attrs): New typedef and struct.
7334 (union rtunion_def): Add field for mem_attrs.
7335 (X0MEMATTR, MEM_ATTRS): New macros.
7336 (MEM_ALIAS_SET): Use MEM_ATTRS.
7337 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7338 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7339 (set_mem_alias_set): Delete decl from here.
7340
7341 * alias.c (set_mem_alias_set): Delete from here.
7342 * emit-rtl.c (mem_attrs_htab): New variable.
7343 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7344 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7345 (mem_attrs_mark, get_mem_attrs): Likewise.
7346 (gen_rtx_MEM): Clear MEM_ATTRS.
7347 (set_mem_attributes): Move to here.
7348 (set_mem_alias_set): Likewise, and call get_mem_attrs.
7349 (init_emit_once): const_int_htab now deletable htab.
7350 Initialize mem_attrs_htab.
7351 * explow.c (set_mem_attributes): Delete from here.
7352 * function.c (put_var_into_stack): Clear MEM_ATTRS.
7353 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7354 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7355 * reload1.c (reload): Rework changing REG to MEM.
7356
7357 2001-09-30 H.J. Lu <hjl@gnu.org>
7358
7359 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7360 * config.in: Rebuild.
7361
7362 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7363
7364 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7365 ("tsthi_1"): Avoid allocation in register y.
7366 ("*movqi_68hc12"): Reorganize and fix constraints.
7367 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7368 ("addqi3"): Likewise.
7369 ("addhi3"): Fix constraints.
7370 ("*logicalhi3_zexthi"): Disparage soft registers.
7371
7372 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7373
7374 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7375 to tmp reg.
7376
7377 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7378
7379 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7380 that we use setjmp/longjmp exceptions.
7381
7382 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
7383
7384 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7385 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7386 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7387 _cpp_pool_alloc, _cpp_next_chunk): Remove.
7388 (_cpp_extend_buff, BUFF_ROOM): Update.
7389 (_cpp_append_extend_buff): New.
7390 (struct cpp_reader): Remove macro_pool, add a_buff.
7391 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7392 macro_pool.
7393 (cpp_destroy): Free a_buff instead of macro_pool.
7394 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7395 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7396 _cpp_pool_alloc, ): Remove.
7397 (parse_number, parse_string): Update use of _cpp_extend_buff.
7398 (_cpp_extend_buff): Update.
7399 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7400 * cpplib.c (glue_header_name, parse_answer):
7401 Update use of _cpp_extend_buff.
7402 (cpp_register_pragma, cpp_register_pragma_space): Use
7403 _cpp_aligned_alloc.
7404 (do_assert, do_unassert): Check for EOL, update.
7405 * cppmacro.c (stringify_arg, collect_args): Update to use
7406 _cpp_extend_buff and _cpp_append_extend_buff.
7407 (save_parameter, parse_params, alloc_expansion_token,
7408 _cpp_create_definition): Rework memory management.
7409
7410 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
7411
7412 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7413 update md_exec_prefix.
7414 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7415 to string constant.
7416
7417 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
7418
7419 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7420 (SELECT_CC_MODE): Use s390_select_ccmode.
7421 * config/s390/s390-protos.h (s390_select_ccmode): Add.
7422 * config/s390/s390.c (s390_select_ccmode): New.
7423 (s390_match_ccmode): Add CCLmode.
7424 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7425 (output_branch_condition, output_inverse_branch_condition): Removed.
7426 (print_operand): Use s390_branch_condition_mnemonic.
7427 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7428 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7429 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7430
7431 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7432 when converting conditional branches to far branches.
7433 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7434 cmpint_di): Use CCSmode instead of CCUmode.
7435
7436 * config/s390/s390.c (legitimate_la_operand_p): New.
7437 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7438 * config/s390/s390.md (movsi): Convert load address patterns to
7439 arithmetic operations when necessary.
7440 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7441 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7442 (*do_la_reg_0): Don't use before reload.
7443
7444 * config/s390/s390.c (legitimize_address): Make more efficient
7445 use of two-register addressing mode.
7446
7447 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7448 with -mno-backchain in some corner cases.
7449
7450 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7451
7452 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
7453
7454 * reload.c (find_reloads): Mark new USE insns with QImode.
7455 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7456 find_reloads_subreg_address): Likewise.
7457 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7458 encountered.
7459 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7460 CLOBBERs.
7461 (reload): Make sure there are no USEs with mode other than
7462 VOIDmode. At the end, remove those marked with QImode.
7463
7464 2001-09-29 Per Bothner <per@bothner.com>
7465
7466 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
7467 * Makefile.in (includedir): Rename to local_includedir.
7468 (includedir): Define as $(prefix)/include.
7469 * config.in (PREFIX_INCLUDE_DIR): New variable.
7470 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
7471
7472 2001-09-29 Bernd Schmidt <bernds@redhat.com>
7473
7474 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7475 storehps builtins.
7476 * doc/extend.texi (Vector Extensions): New node.
7477 * doc/invoke.texi (Machine Dependent Options): Add documentation for
7478 i386 -mmmx, -msse, -m3dnow.
7479
7480 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7481
7482 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7483
7484 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
7485
7486 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7487
7488 * doc/invoke.texi (Optimize Options): Delete spurious @table.
7489
7490 2001-09-28 Richard Henderson <rth@redhat.com>
7491
7492 * varasm.c (assemble_integer): Bound alignment check by
7493 BIGGEST_ALIGNMENT.
7494
7495 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7496
7497 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7498
7499 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7500
7501 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7502
7503 Mostly from Graham Stott <grahams@redhat.com>
7504 * c-common.c (type_for_mode): Add support for V2SFmode.
7505 * tree.c (build_common_tree_nodes_2): Likewise.
7506 * tree.h (enum tree_index, global_trees): Likewise.
7507 * config/i386/i386.c (x86_3dnow_a): New variable.
7508 (override_options): Support 3Dnow extensions.
7509 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7510 Athlon's version of 3Dnow.
7511 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7512 (ix86_expand_builtin): Handle them.
7513 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7514 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7515 TARGET_3DNOW_A): New macros.
7516 (TARGET_SWITCHES): Add 3Dnow switches.
7517 (VALID_MMX_REG_MODE_3DNOW): New macro.
7518 (VECTOR_MODE_SUPPORTED_P): Use it.
7519 (enum ix86_builtins): Add entries for 3Dnow builtins.
7520 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7521 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7522 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7523 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7524 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7525 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7526 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7527 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7528 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7529 sfence_insn, prefetch): Make these available if TARGET_SSE or
7530 TARGET_3DNOW_A.
7531
7532 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
7533
7534 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7535 ix86_va_start, ix86_build_va_list): Declare.
7536 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7537 ix86_va_start, ix86_build_va_list): New global functions.
7538 * i386.md (sse_prologue_save_insn): New insn.
7539 (sse_prologue_save): New expander.
7540 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7541 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7542
7543 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7544
7545 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7546 Use size_t everywhere, make definitions consistent with
7547 prototypes.
7548
7549 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
7550
7551 * gcse.c (replace_store_insn): Use delete_insn.
7552 * loop.c (move_movables): Likewise; avoid delete_insn
7553 from clobbering notes moved elsewhere.
7554 (check_dbra_loop): Use delete_insn.
7555 * ssa.c (convert_from_ssa): Likewise.
7556 * cse.c (cse_insn): Use delete_insn.
7557
7558 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7559
7560 * cpphash.h (struct cpp_buff): Make unsigned.
7561 (_cpp_get_buff): Take length of size_t.
7562 (_cpp_unaligned_alloc): New.
7563 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7564 (struct cpp_reader): Remove ident_pool. Add u_buff.
7565 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7566 (cpp_destroy): Destroy u_buff, not ident_pool.
7567 * cpplex.c (parse_number, parse_string, save_comment,
7568 cpp_token_as_text): Update to use the unaligned buffer.
7569 (new_buff): Make unsigned.
7570 (_cpp_unaligned_alloc): New.
7571 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7572 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7573 Similarly.
7574 (collect_args): Make unsigned.
7575
7576 2001-09-27 Zack Weinberg <zack@codesourcery.com>
7577
7578 * cpplex.c (cpp_output_token): Use a putc loop for
7579 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7580
7581 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7582 * configure, config.in: Regenerate.
7583 * system.h: Replace fwrite and fprintf with their unlocked
7584 variants if available.
7585
7586 2001-09-27 Richard Henderson <rth@redhat.com>
7587
7588 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7589 in favour of .eh_frame.
7590
7591 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
7592
7593 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7594 to macros.
7595 (LIBCALL_VALUE): Likewise.
7596
7597 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7598
7599 * cpphash.h: Update comment.
7600 * cpplex.c: Update comments.
7601 (_cpp_can_paste): Remove.
7602 * cpplib.h (_cpp_can_paste): Remove.
7603 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7604 lexer rather than _cpp_can_paste.
7605
7606 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7607
7608 * doc/cppinternals.texi: Update.
7609
7610 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7611
7612 * cpphash.h (struct cpp_pool): Remove locks and locked.
7613 (struct cpp_context): Add member buff.
7614 (struct cpp_reader): Remove member argument_pool.
7615 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7616 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7617 * cpplex.c (chunk_suitable): Remove pool argument.
7618 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7619 (new_buff, _cpp_extend_buff): Update.
7620 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
7621 which buffer is returned.
7622 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7623 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7624 * cppmacro.c (lock_pools, unlock_pools): Remove.
7625 (push_ptoken_context): Take a _cpp_buff.
7626 (enter_macro_context): Pool locking removed.
7627 (replace_args): Use a _cpp_buff for the replacement list with
7628 arguments replaced.
7629 (push_token_context): Clear buff.
7630 (expand_arg): Use _cpp_pop_context.
7631 (_cpp_pop_context): Free a context's buffer, if any.
7632
7633 2001-09-26 DJ Delorie <dj@redhat.com>
7634
7635 * c-typeck.c (digest_init): Check for sizeless arrays.
7636
7637 2001-09-26 Richard Henderson <rth@redhat.com>
7638
7639 * optabs.c (init_one_libfunc): Create a dummy function type
7640 instead of using error_mark_node.
7641
7642 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7643
7644 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7645 _cpp_extend_buff, _cpp_free_buff): New.
7646 (struct cpp_reader): New member free_buffs.
7647 * cppinit.c (cpp_destroy): Free buffers.
7648 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7649 _cpp_extend_buff, _cpp_free_buff): New.
7650 * cpplib.h (struct cpp_options): Remove unused member.
7651 * cppmacro.c (collect_args): New. Combines the old parse_arg
7652 and parse_args. Use _cpp_buff for memory allocation.
7653 (funlike_invocation_p, replace_args): Update.
7654
7655 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7656
7657 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7658
7659 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
7660
7661 * except.c (sjlj_mark_call_sites): Change address inside sequence.
7662
7663 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
7664
7665 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7666 glibc.
7667
7668 2001-09-25 Janis Johnson <janis187@us.ibm.com>
7669 Jim Wilson <wilson@redhat.com>
7670
7671 * doc/install.texi (Specific, ia64-*-linux): Document.
7672
7673 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7674
7675 * Makefile.in (cfgrtl.o): Add.
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): Declare.
7679 * cfg.c
7680 (HAVE_return): Undefine.
7681 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7682 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7683 free_aux_for_edge): New global functions.
7684 (first_delete_block): New static variable.
7685 (init_flow): Clear first_delete_block.
7686 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7687 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7688 try_redirect_by_replacing_jump, last_loop_beg_note,
7689 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7690 delete_insn, delete_insn_chain, create_basic_block_structure,
7691 create_basic_block, flow_delete_block, compute_bb_for_insn,
7692 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7693 set_block_for_new_insns, split_block, merge_blocks_nomove,
7694 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7695 redirect_edge_and_branch, force_nonfallthru_and_redirect,
7696 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7697 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7698 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7699 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7700 purge_all_dead_edges): Move to ....
7701 * cfgrtl.c: New file; .... Here.
7702
7703 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7704 (reroder_basic_block): Use alloc_aux_for_blocks.
7705 * predict.c (estimate_bb_frequencies): Likewise; use
7706 alloc_aux_for_edges.
7707 * profile.c (compute_branch_probabilities): Likewise.
7708 (branch_prob): Likewise.
7709 * reg-stack.c (reg_to_stack): Likewise.
7710
7711 * emit-rtl.c (emit_insns_after): Never return NULL.
7712
7713 * basic-block.h (set_block_for_new_insns): Delete.
7714 * cfgrtl.c (set_block_for_new_insns): Delete.
7715
7716 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7717 calls when crossjumping.
7718
7719 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7720 * unroll.c (copy_loop_body): Use delete_insn.
7721
7722 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7723 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7724 keep_stack_depressed): Likewise.
7725 * gcse.c (cprop_cc0_jump): Likewise.
7726 * local-alloc.c (update_equiv_regs): Likewise.
7727 * loop.c (scan_loop, loop_delete_insns): Likewise.
7728 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7729 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7730 delete_output_reload, delete_address_reloads_1,
7731 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7732 Likewise.
7733 * sibcall.c (replace_call_placeholder): Likewise.
7734 * cse.c (cse_insn): Likewise.
7735
7736 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7737
7738 From Graham Stott <grahams@redhat.com>
7739 (def_builtin): Only define builtins appropriate for target_flags. All
7740 callers changed.
7741 (builtin_decsription): Add new field mask which is used to determine
7742 when to define the builtin via the macro def_builtin.
7743
7744 (bdesc_comi): Initialise new mask fields.
7745 (bdesc_2srg): Likewise.
7746 (bdesc_1arg): Likewise.
7747
7748 * config/i386/i386.c (ix86_init_builtins): Correct return type
7749 building v4hi_ftype_v4hi_int_int tree node.
7750 (ix86_expand_sse_comi): Fix typo swapping operands.
7751 Don't swap comparision condition, it is already swapped.
7752 (ix86_expand_sse_compare): Before swapping operands
7753 move operand 1 into new rtx and not the target rtx.
7754 Don't swap comparison condition, it is already swapped.
7755 Always check whether we need to create a new TARGET.
7756
7757 * config/i386/i386.md: (sse_comi) Fix typos.
7758 (sse_ucomi): Likewise.
7759 (cvtss2si): Fix operand 0 contraint.
7760 (cvttss2si): Likewise.
7761 (sse_unpckhps): Fix mode for operand 2.
7762 (sse_unpcklps): Likewise.
7763
7764 2001-09-25 Graham Stott <grahams@redhat.com>
7765
7766 * sibcall.c (skip_copy_to_return_value): Tighten return value
7767 copy check.
7768
7769 2001-09-24 David Edelsohn <edelsohn@gnu.org>
7770
7771 * rs6000.c (lwa_operand): Address must be word aligned.
7772
7773 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7774
7775 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7776 number has been set.
7777 (type_hash_mark): Mark type itself.
7778
7779 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
7780
7781 * c-lex.c (cb_def_pragma): Update.
7782 (c_lex): Update, and skip padding.
7783 * cppexp.c (lex, parse_defined): Update, remove unused variable.
7784 * cpphash.h (struct toklist): Delete.
7785 (union utoken): New.
7786 (struct cpp_context): Update.
7787 (struct cpp_reader): New members eof, avoid_paste.
7788 (_cpp_temp_token): New.
7789 * cppinit.c (cpp_create_reader): Update.
7790 * cpplex.c (_cpp_temp_token): New.
7791 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7792 (cpp_output_token): Don't print leading whitespace.
7793 (cpp_output_line): Update.
7794 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7795 do_include_common, do_line, do_ident, do_pragma,
7796 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7797 parse_assertion): Update.
7798 (get_token_no_padding): New.
7799 * cpplib.h (CPP_PADDING): New.
7800 (AVOID_LPASTE): Delete.
7801 (struct cpp_token): New union member source.
7802 (cpp_get_token): Update.
7803 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7804 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
7805 replace_args, quote_string, stringify_arg, parse_arg, next_context,
7806 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
7807 _cpp_backup_tokens, _cpp_create_definition): Update.
7808 (push_arg_context): Delete.
7809 (padding_token, push_token_context, push_ptoken_context): New.
7810 (make_string_token, make_number_token): Update, rename.
7811 (cpp_get_token): Update to handle tokens as pointers to const,
7812 and insert padding appropriately.
7813 * cppmain.c (struct printer): New member prev.
7814 (check_multiline_token): Constify.
7815 (do_preprocessing, cb_line_change): Update.
7816 (scan_translation_unit): Update to handle spacing.
7817 * scan-decls.c (get_a_token): New.
7818 (skip_to_closing_brace, scan_decls): Update.
7819 * fix-header.c (read_scan_file): Update.
7820
7821 * doc/cpp.texi: Update.
7822
7823 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7824
7825 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
7826 leak by passing malloc'ed pointer to reconcat, not concat.
7827
7828 2001-09-24 DJ Delorie <dj@redhat.com>
7829
7830 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
7831
7832 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
7833
7834 * flow.c (delete_dead_jumptables): Delete jumptable if the only
7835 reference is from the literal pool.
7836
7837 2001-09-24 Janis Johnson <janis187@us.ibm.com>
7838
7839 * doc/install.texi (Final install): Request additional information
7840 in mail about successful builds.
7841
7842 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7843
7844 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
7845 initial value of return pointer register instead of value in frame-20.
7846 Revise comments.
7847
7848 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7849
7850 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
7851 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
7852 the libcall if there isn't a referenced identifier for the symbol.
7853
7854 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7855
7856 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
7857 non 64-bit machines. Use these as a plabel for the trampoline.
7858 (TRAMPOLINE_SIZE): Adjust size for new words.
7859 (INITIALIZE_TRAMPOLINE): Initialize new words.
7860 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
7861 pointer to the plabel in the trampoline.
7862
7863 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
7864
7865 * pa.c (function_arg): Pass floating arguments in both general and
7866 floating registers in indirect (dynamic) calls when generating code
7867 for the 32 bit ABI and the HP assembler.
7868
7869 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7870
7871 * doc/install.texi: Markup fixes.
7872 Use Solaris 2, SunOS 4 as appropriate.
7873 (Specific, *-*-solaris2*): Explain this.
7874 Unconditionally warn against /usr/ucb tools.
7875 Remove Sun as warning, obsolete.
7876 Move X11 header bug workaround here, update patches.
7877 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
7878 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
7879
7880 2001-09-23 Zack Weinberg <zack@codesourcery.com>
7881
7882 * errors.h (warning, error, fatal, internal_error): Don't mark
7883 with ATTRIBUTE_PRINTF_n.
7884 * toplev.h (internal_error, fatal_io_error, warning, error,
7885 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
7886 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
7887 Likewise.
7888
7889 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7890
7891 * function.c (pop_function_context_from): var_refs_queue
7892 and temp slots now in GC memory.
7893 (mark_function_status, free_after_compilation): Likewise;
7894 also struct function now in GC memory.
7895 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
7896 (combine_temp_slots): Likewise.
7897 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
7898 (prepare_function_start): Use GC memory for struct function.
7899 (mark_temp_slot): Deleted.
7900 (gcc_mark_struct_function): struct function now in GC memory.
7901
7902 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
7903 code for division, not modulus.
7904
7905 * rtl.def (MEM): Remove obsolete part of comment.
7906
7907 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
7908
7909 * c-format.c (init_function_format_info): Check __builtin_printf
7910 and __builtin_fprintf even if -ffreestanding. Check C99 functions
7911 in gnu89 mode.
7912
7913 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7914
7915 * c-common.c (format_attribute_table): Remove decl.
7916 * tree.h (format_attribute_table, lang_attribute_table): New decls.
7917 (lang_attribute_common): Likewise.
7918
7919 * function.c (fix_lexical_address): Use set_mem_alias_set.
7920 (expand_function_start): Likewise.
7921 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
7922
7923 * varasm.c (output_constant): Fix unused variable warning.
7924
7925 * attribs.c: New file, from c-common.c.
7926 (attribute_tables): Now four elements.
7927 (format_attribute_table, lang_attribute_common): New variables.
7928 (init_attributes): Reflect above changes.
7929 (handle_mode_attribute): Delete check for wider than uintmax.
7930 * c-common.c: Delete parts moved to attribs.c.
7931 (enum attrs): Deleted; unused.
7932 (c_format_attribute_table): New variable.
7933 (c_common_lang_init): Initialize format_attribute_table with it.
7934 * c-common.h (decl_attributes): Remove decl.
7935 * tree.h (decl_attribute): Move it to here.
7936 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
7937 (attribs.o): New rule.
7938
7939 2001-09-22 Andreas Jaeger <aj@suse.de>
7940
7941 * builtins.c (c_getstr): Remove unused variable.
7942
7943 2001-09-21 Richard Henderson <rth@redhat.com>
7944
7945 * reload1.c (reload): Use delete_insn instead of splatting
7946 NOTE_INSN_DELETED.
7947
7948 2001-09-21 Richard Henderson <rth@redhat.com>
7949
7950 * reload.c (push_secondary_reload): Don't check for "=" in output
7951 constraint after ""->ALL_REGS check.
7952
7953 2001-09-21 Richard Henderson <rth@redhat.com>
7954
7955 * predict.c (expected_value_to_br_prob): Use pc_set.
7956
7957 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
7958 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
7959
7960 2001-09-21 Richard Henderson <rth@redhat.com>
7961
7962 * rtl.h (LCT_RETURNS_TWICE): New.
7963 * calls.c (emit_call_1): Set current_function_calls_setjmp for
7964 ECF_RETURNS_TWICE.
7965 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
7966 to ECF_RETURNS_TWICE.
7967 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
7968 call to setjmp.
7969
7970 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
7971
7972 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
7973 (JMP_BUF_SIZE): New.
7974
7975 2001-09-21 Richard Henderson <rth@redhat.com>
7976
7977 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
7978 to R8_REGS.
7979
7980 2001-09-21 Richard Henderson <rth@redhat.com>
7981
7982 * tree.def (FDESC_EXPR): New.
7983 * expr.c (expand_expr): Handle it.
7984 * varasm.c (initializer_constant_valid_p): Likewise.
7985 (output_constant): Likewise.
7986 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7987 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
7988 (ASM_OUTPUT_FDESC): New.
7989 * doc/tm.texi: Document the new macros.
7990
7991 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
7992
7993 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
7994 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
7995 once merging is complete.
7996
7997 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7998
7999 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
8000
8001 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
8002
8003 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
8004 that would be invalid after a merge.
8005
8006 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
8007
8008 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8009 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8010 remove some labels.
8011 (flow_delete_insn): This one.
8012 (delete_insn_chain): Rename from ...; do not care labels.
8013 (flow_delete_insn_chain): ... this one.
8014 (flow_delete_block): Remove the insns one BB has been expunged.
8015 (merge_blocks_nomove): Likewise.
8016 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8017 updating BB boundaries.
8018 (tidy_fallthru_edge): Likewise.
8019 (commit_one_edge_insertion): Likewise.
8020 * cfgbuild.c (find_basic_block): Likewise.
8021 (find_basic_blocks_1): Likewise.
8022 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8023 (try_crossjump_to_edge): Likewise.
8024 (try_optimize_cfg): Likewise.
8025 * cse.c (delete_trivially_dead_insns): Likewise.
8026 * df.c (df_insn_delete): Likewise.
8027 * doloop.c (doloop_modify): Use delete_related_insns.
8028 * emit-rtl.c (try_split): Likewise.
8029 (remove_insn): Update BB boundaries.
8030 * expect.c (connect_post_landing_pads): Use delete_related_insns.
8031 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8032 updating BB boundaries.
8033 (propagate_block_delete_insn): Likewise.
8034 (propagate_block_delete_libcall): Likewise.
8035 * function.c (delete_handlers): Use delete_related_insns.
8036 (thread_prologue_and_epilogue_insns): Likewise.
8037 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8038 * genpeep.c (gen_peephole): Use delete_related_insns.
8039 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8040 BB boundaries.
8041 (find_cond_trap): Likewise.
8042 * integrate.c (save_for_inline): Use delete_related_insns.
8043 (copy_insn_list): Likewise.
8044 * jump.c (pruge_linie_number_notes): Likewise.
8045 (duplicate_loop_exit_test): Likewise.
8046 (delete_computation): Likewise.
8047 (delete_related_insn): Rename from ...; use delete_insn
8048 (delete_insn): ... this one.
8049 (redirect_jump): Use delete_related_insns.
8050 * loop.c (scan_loop): Likewise.
8051 (move_movables): Likewise.
8052 (find_and_verify_loops): Likewise.
8053 (check_dbra_loop): Likewise.
8054 * recog.c (peephole2_optimize): Likewise.
8055 * reg-stack.c (delete_insn_for_stacker): Remove.
8056 (move_for_stack_reg): Use delete_insn.
8057 * regmove.c (combine_stack_adjustments_for_block): Likewise.
8058 * reload1.c (delete_address_reloads): Use delete_related_insns.
8059 (fixup_abnormal_edges): Use delete_insn.
8060 * recog.c (emit_delay_sequence): Use delete_related_insns.
8061 (delete_from-delay_slot): Likewise.
8062 (delete_scheduled_jump): likewise.
8063 (optimize_skip): Likewise.
8064 (try_merge_delay_insns): Likewise.
8065 (full_simple_delay_slots): Likewise.
8066 (fill_slots_from_thread): Likewise.
8067 (relax_delay_slots): Likewise.
8068 (make_return_insns): Likewise.
8069 (dbr_schedule): Likewise.
8070 * rtl.h (delete_insn): Rename to delete_related_insns.
8071 (delete_insn, delete_insn_chain): New prototypes.
8072 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
8073 by df_insn_delete already.
8074 * ssa-dce.c (delete_insn_bb): Use delete_insn.
8075 * ssa.c (convert_from_ssa): Use delete_related_insns.
8076 * unroll.c (unroll_loop): Likewise.
8077 (calculate_giv_inc): Likewise.
8078 (copy_loop_body): Likewise.
8079
8080 * i386-protos.h (ix86_libcall_value, ix86_function_value,
8081 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8082 ix86_return_in_memory, ix86_function_value): Declare.
8083 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8084 new static valurables.
8085 (x86_64_reg_class): New enum
8086 (x86_64_reg_class_name): New array.
8087 (classify_argument, examine_argument, construct_container,
8088 merge_classes): New static functions.
8089 (optimization_options): Enable flag_omit_frame_pointer and disable
8090 flag_pcc_struct_return on 64bit.
8091 (ix86_libcall_value, ix86_function_value,
8092 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8093 ix86_return_in_memory, ix86_function_value): New global functions.
8094 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8095 (function_arg_advance): Handle x86_64 passing conventions.
8096 (function_arg): Likewise.
8097 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8098 (RETURN_IN_MEMORY): Move offline.
8099 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8100 (FUNCTION_VALUE_REGNO_P): New macro.
8101 (FUNCTION_ARG_REGNO_P): Move offline.
8102 (struct ix86_args): Add maybe_vaarg.
8103 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8104 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8105
8106 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8107
8108 * s390.md: Changed attributes for scheduling.
8109 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8110 Changed scheduling
8111
8112 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8113
8114 Table-driven attributes.
8115 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8116 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8117 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8118 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8119 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8120 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8121 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8122 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8123 * tree.h (struct tree_decl): Change machine_attributes to
8124 attributes.
8125 * doc/c-tree.texi: Document that all attributes are now attached
8126 to decls and types.
8127 * c-common.c (add_attribute, attrtab, attrtab_idx,
8128 default_valid_lang_attribute, valid_lang_attribute): Remove.
8129 (attribute_tables, attributes_initialized,
8130 c_common_attribute_table, default_lang_attribute_table): New
8131 variables.
8132 (handle_packed_attribute, handle_nocommon_attribute,
8133 handle_common_attribute, handle_noreturn_attribute,
8134 handle_unused_attribute, handle_const_attribute,
8135 handle_transparent_union_attribute, handle_constructor_attribute,
8136 handle_destructor_attribute, handle_mode_attribute,
8137 handle_section_attribute, handle_aligned_attribute,
8138 handle_weak_attribute, handle_alias_attribute,
8139 handle_no_instrument_function_attribute,
8140 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8141 handle_no_limit_stack_attribute, handle_pure_attribute): New
8142 functions.
8143 (init_attributes, decl_attributes): Rewrite to implement
8144 table-driven attributes.
8145 * c-common.h (enum attribute_flags): Move to tree.h.
8146 * c-format.c (decl_handle_format_attribute,
8147 decl_handle_format_arg_attribute): Rename to
8148 handle_format_attribute and handle_format_arg_attribute. Update
8149 for table-driven attributes.
8150 * c-common.h (decl_handle_format_attribute,
8151 decl_handle_format_arg_attribute): Remove prototypes.
8152 (handle_format_attribute, handle_format_arg_attribute): Add
8153 prototypes.
8154 * c-decl.c (grokdeclarator): Handle attributes nested inside
8155 declarators.
8156 * c-parse.in (setattrs, maybe_setattrs): Remove.
8157 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8158 Update to handle nested attributes properly.
8159 (maybe_resetattrs, after_type_declarator,
8160 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8161 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8162 properly.
8163 (make_pointer_declarator): Update to handle nested attributes
8164 properly.
8165 * doc/extend.texi: Update documentation of limits of attributes
8166 syntax. Warn about problems with attribute semantics in C++.
8167 * target.h (struct target): Remove valid_decl_attribute and
8168 valid_type_attribute. Add attribute_table and
8169 function_attribute_inlinable_p.
8170 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8171 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8172 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8173 Add.
8174 (TARGET_INITIALIZER): Update.
8175 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8176 definition.
8177 (function_attribute_inlinable_p): New function. Check for the
8178 presence of any machine attributes before using
8179 targetm.function_attribute_inlinable_p.
8180 (function_cannot_inline_p): Update.
8181 * Makefile.in (integrate.o): Update dependencies.
8182 * doc/tm.texi: Update documentation of target attributes and
8183 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8184 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8185 Remove.
8186 (default_target_attribute_table,
8187 default_function_attribute_inlinable_p): New.
8188 (lookup_attribute): Update comment to clarify handling of multiple
8189 attributes with the same name.
8190 (merge_attributes, attribute_list_contained): Allow multiple
8191 attributes with the same name but different arguments to appear in
8192 the same attribute list.
8193 * tree.h (default_valid_attribute_p): Remove prototype.
8194 (struct attribute_spec): New.
8195 (default_target_attribute_table): Declare.
8196 (enum attribute_flags): Move from c-common.h. Add
8197 ATTR_FLAG_TYPE_IN_PLACE.
8198 (default_function_attribute_inlinable_p): Declare.
8199 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8200 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8201 (TARGET_ATTRIBUTE_TABLE): Define.
8202 (vms_attribute_table): New.
8203 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8204 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8205 (TARGET_ATTRIBUTE_TABLE): Define.
8206 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8207 * config/arm/arm.c (arm_valid_type_attribute_p,
8208 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8209 Remove.
8210 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8211 define.
8212 (TARGET_ATTRIBUTE_TABLE): Define.
8213 (arm_attribute_table, arm_handle_fndecl_attribute,
8214 arm_handle_isr_attribute): New.
8215 * config/avr/avr.c (avr_valid_type_attribute,
8216 avr_valid_decl_attribute): Remove.
8217 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8218 define.
8219 (TARGET_ATTRIBUTE_TABLE): Define.
8220 (avr_attribute_table, avr_handle_progmem_attribute,
8221 avr_handle_fndecl_attribute): New.
8222 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8223 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8224 (TARGET_ATTRIBUTE_TABLE): Define.
8225 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8226 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8227 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8228 (TARGET_ATTRIBUTE_TABLE): Define.
8229 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8230 h8300_handle_eightbit_data_attribute,
8231 h8300_handle_tiny_data_attribute): New.
8232 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8233 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8234 Remove prototypes.
8235 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8236 declarations.
8237 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8238 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8239 define.
8240 (TARGET_ATTRIBUTE_TABLE): Define.
8241 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8242 ix86_handle_regparm_attribute): New.
8243 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8244 i386_pe_valid_type_attribute_p): Remove.
8245 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8246 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8247 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8248 (TARGET_ATTRIBUTE_TABLE): Define.
8249 (ia64_attribute_table): New.
8250 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8251 interrupt_ident2, model_ident1, model_ident2): Remove.
8252 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8253 (TARGET_ATTRIBUTE_TABLE): Define.
8254 (init_idents): Update.
8255 (m32r_attribute_table, m32r_handle_model_attribute): New.
8256 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8257 Remove.
8258 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8259 (TARGET_ATTRIBUTE_TABLE): Define.
8260 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8261 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8262 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8263 (TARGET_ATTRIBUTE_TABLE): Define.
8264 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8265 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8266 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8267 (TARGET_ATTRIBUTE_TABLE): Define.
8268 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8269 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8270 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8271 (TARGET_ATTRIBUTE_TABLE): Define.
8272 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8273 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8274 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8275 (TARGET_ATTRIBUTE_TABLE): Define.
8276 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8277 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8278 New.
8279 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8280 Remove.
8281 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8282 (TARGET_ATTRIBUTE_TABLE): Define.
8283 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8284 New.
8285 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8286 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8287 (TARGET_ATTRIBUTE_TABLE): Define.
8288 (v850_attribute_table, v850_handle_interrupt_attribute,
8289 v850_handle_data_area_attribute): New.
8290 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8291 Return void. Call decl_attributes instead of
8292 valid_machine_attribute.
8293
8294 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8295
8296 * sh-protos.h (sh_pr_n_sets): Declare.
8297 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8298 look at the copy to determine if PR needs to be saved.
8299 sh_pr_n_sets: New function.
8300 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8301 (ALLOCATE_INITIAL_VALUE): Define.
8302
8303 * sh.c (initial_elimination_offset):
8304 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8305
8306 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8307
8308 * integrate.c (allocate_initial_values): New function.
8309 * integrate.h (allocate_initial_values): Declare.
8310 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8311 here...
8312 * reload1.c (reload): And initialization of reg_equiv_memory_loc
8313 from here...
8314 * toplev.c (rest_of_compilation): To here.
8315 Call allocate_initial_values.
8316 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8317
8318 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8319
8320 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8321
8322 2001-09-20 DJ Delorie <dj@redhat.com>
8323
8324 * c-typeck.c (really_start_incremental_init): Discriminate
8325 between zero-length arrays and flexible arrays.
8326 (push_init_level): Detect zero-length arrays and handle them
8327 like fixed-sized arrays.
8328 * expr.c (store_constructor): Handle zero-length arrays and
8329 flexible arrays correctly.
8330 * doc/extend.texi: Update zero-length array notes.
8331
8332 2001-09-20 Jim Wilson <wilson@redhat.com>
8333
8334 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8335 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8336 for issue port conflicts.
8337 (cycle_end_fill_slots): TYPE_L instructions take two slots.
8338
8339 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
8340
8341 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8342 on ia64.
8343
8344 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8345
8346 * fold-const.c (hashtab.h): Include.
8347 (int_const_binop): Remove FORSIZE arg and compute from type; all
8348 callers changed.
8349 Call size_int_type_wide for all single-word constants.
8350 (size_htab_hash, size_htab_eq): New functions.
8351 (size_int_type_wide): Rework to use hash table.
8352 * ggc-common.c (hashtab.h): Include.
8353 (struct d_htab_root): New struct.
8354 (d_htab_roots): New variable.
8355 (ggc_add_deletable_htab, ggc_htab_delete): New functions
8356 (ggc_mark_roots): Handle deletable htabs.
8357 * ggc-page.c (ggc_marked_p): New function.
8358 * ggc-simple.c (ggc_marked_p): Likewise.
8359 * ggc.h: Reformatting throughout.
8360 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8361 * tree.c (init_obstacks): Make type_hash_table a deletable root.
8362 (type_hash_add): Allocate struct type_hash from GC memory.
8363 (mark_hash_entry, mark_type_hash): Deleted.
8364 (type_hash_marked_p, type_hash_mark): New functions.
8365 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8366
8367 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
8368
8369 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8370 than SImode.
8371
8372 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8373
8374 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8375 array-too-large test for signed sizetype.
8376
8377 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8378
8379 * i386.md (indirect_jump): Allow Pmode operand.
8380 (tablejump): LIkewise; perform expansion to 64bit mode.
8381 * i386.c (symbolic_operand): Allow 64bit PIC references.
8382 (pic_symbolic_operand): Likewise.
8383 (ix86_find_base_term): Strip the 64bit PIC references.
8384 (legitimate_pic_address_disp_p): Handle 64bit PIC.
8385 (legitimize_pic_address): Likewise.
8386 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8387 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8388
8389 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
8390
8391 * stringpool.c (get_identifier_with_length): New function.
8392 * tree.h (get_identifier_with_length): New prototype.
8393
8394 2001-09-19 Alan Modra <amodra@bigpond.net.au>
8395 David Edelsohn <edelsohn@gnu.org>
8396
8397 Revert:
8398 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8399 already sign-extended.
8400
8401 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8402 * config/rs6000/rs6000.c (logical_operand): Always compare op as
8403 HOST_WIDE_INT.
8404 (rs6000_emit_set_long_const): Avoid unnecessary shift.
8405 (output_profile_hook): Declare label_name const.
8406 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8407 to match constraints.
8408
8409 2001-09-19 Stan Shebs <shebs@apple.com>
8410
8411 * alias.c: Fix typos in comments.
8412 * sched-rgn.c (init_ready_list): Ditto.
8413 * unwind-dw2.c (uw_frame_state_for): Ditto.
8414 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8415 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8416 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8417
8418 2001-09-19 Richard Henderson <rth@redhat.com>
8419
8420 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8421 to the exit block.
8422 * Makefile.in (cfg.o): Depend on TM_P_H.
8423
8424 2001-09-19 Richard Henderson <rth@redhat.com>
8425
8426 * config/alpha/alpha.c (local_symbol_p): Split out from ...
8427 (local_symbolic_operand): ... here.
8428 (small_symbolic_operand): Check mode.
8429 (global_symbolic_operand): New.
8430 (input_operand): Reject symbolics if explicit relocs.
8431 (call_operand): Tidy.
8432 (alpha_legitimize_address): Use movdi_er_high_g.
8433 (alpha_expand_mov): Likewise.
8434 * config/alpha/alpha-protos.h: Update.
8435 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8436 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8437 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8438 (UNSPECV_LDGP2): Remove.
8439 (all call patterns): Use 's' not 'i' for symbolic constraint.
8440 (call_osf call_value_osf): Use call_operand.
8441 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
8442 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8443 (prologue_ldgp_1_er): Remove.
8444 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8445 (builtin_setjmp_receiver_er patterns): Use them.
8446 (exception_receiver_er): Likewise.
8447
8448 2001-09-19 Richard Henderson <rth@redhat.com>
8449
8450 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8451
8452 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8453 and NON_LOCAL_GOTO notes.
8454 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
8455 copy over CALL_INSN_FUNCTION_USAGE.
8456
8457 2001-09-18 Catherine Moore <clm@redhat.com>
8458
8459 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8460 Define as 0.
8461
8462 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
8463
8464 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8465 new-style tm_file specification. Specify correct tm_p_file,
8466 md_file, and out_file for s390x.
8467
8468 * config/s390/linux.h, linux64.h: Don't include other target
8469 macro header files. Now handled via tm_file.
8470
8471 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8472 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8473 are defined before use.
8474
8475 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
8476
8477 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8478 code generation only for Gnu assembler.
8479
8480 2001-09-18 Catherine Moore <clm@redhat.com>
8481
8482 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8483
8484 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
8485
8486 * config/mips/mips.c (mips_frame_set): New.
8487 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8488 a parallel frame-related expression with a set for each register.
8489
8490 2001-09-18 Philip Blundell <philb@gnu.org>
8491
8492 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8493 header files.
8494
8495 2001-09-17 Dale Johannesen <dalej@apple.com>
8496
8497 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8498 * config/rs6000/aix.h (FIXED_R2): Define.
8499 * config/rs6000/darwin.h (FIXED_R2): Define.
8500 * config/rs6000/sysv4.h (FIXED_R2): Define.
8501
8502 2001-09-17 Jeff Sturm <jsturm@one-point.com>
8503
8504 * except.c (dw2_build_landing_pads): New local
8505 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
8506 barrier after clobbers. Fixes c++/4012.
8507
8508 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8509
8510 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8511
8512 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8513
8514 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8515 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8516
8517 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8518
8519 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8520 alloca/strcpy.
8521
8522 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
8523
8524 * cpphash.h (_cpp_lex_direct): New.
8525 * cpplex.c (_cpp_lex_token): Update.
8526 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8527 and increment that pointer.
8528 * cppmacro.c (alloc_expansion_token): New.
8529 (lex_expansion_token): Lex macro expansion directly into
8530 macro storage.
8531
8532 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
8533
8534 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8535
8536 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
8537
8538 * basic-block.h (free_bb_for_insn): Declare.
8539 * bb-reorder.c (label_for_bb): Use block_label.
8540 (emit_jump_to_block_after): Remove.
8541 (insert_intra_1): Do not update block_for_insn.
8542 (insert_inter_bb_scope_notes): Likewise; update bb->end
8543 * cfg.c (free_bb_for_insn): New.
8544 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8545 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8546 (commit_one_edge_insertion): Likewise.
8547 (commit_one_edge_insertion): Do not update BB boundary.
8548 (commit_edge_insertions): Do not call compute_bb_for_insn.
8549 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8550 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8551 (merge_blocks_move_successor_nojumps): Likewise.
8552 (try_crossjump_to_edge): Do not update block_for_insn.
8553 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8554 * df.c (df_pattern_emit_later): Do not update BB boundary.
8555 (df_jump_pattern_emit_after): Likewise.
8556 (df_insn_move_before): Use emit_insn_before.
8557 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8558 properly.
8559 (add_insn_after, add_insn_before, emit_insns_after): Update BB
8560 boundaries and basic_block_for_insn.
8561 (reorder_insns_nobb): Rename from reorder_insns.
8562 (reorder_insns): New.
8563 (emit_block_insn_before, emit_block_insn_after): Kill.
8564 * flow.c (check_function_return_warnings): Do not call
8565 compute_bb_for_insn; Do not free basic_block_for_insn.
8566 (attempt_auto_inc): Do not update basic_block_for_insn.
8567 * function.c (emit_return_into_block): Likewise;
8568 do not update BB boundaries.
8569 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8570 (insert_insn_end_bb): Use emit_insn_before; Likewise.
8571 (pre_insert_copy_insn): Likewise.
8572 (update_ld_motion_notes): Likewise.
8573 (insert_insn_start_bb): Likewise.
8574 (replace_store_insn): Likewise.
8575 * ifcvt.c (noce_process_if_block): Likewise.
8576 (if_convert): Do not call compute_bb_for_insn.
8577 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8578 Use emit_insn_before and emit_insn_after.
8579 * recog.c (split_all_insns): Do not update BB boundaries;
8580 Do not call compute_bb_for_insn.
8581 (peephole2_optimize): Do not update BB boundaries.
8582 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8583 emit_insn_before.
8584 (emit_swap_insn): Likewise.
8585 (convert_regs_1): Likewise.
8586 * reload1.c (reload): Call compute_bb_for_insn.
8587 * rtl.h (reorder_insns_nobb): Declare.
8588 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8589 * toplev.c (rest_of_compilation): Call free_bb_for_insn
8590 at places CFG is invalidated; do not call compute_bb_for_insn.
8591
8592 * cfg.c (expunge_block): Invalidate BB structure.
8593
8594 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8595 array.
8596
8597 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8598
8599 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8600
8601 * cpphash.h (_cpp_lex_token): Update prototype.
8602 * cpplex.c (_cpp_lex_token): New prototype.
8603 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8604 lex_macro_node, read_flag, do_pragma_poison): Update.
8605 * cppmacro.c (cpp_get_token, parse_params,
8606 lex_expansion_token): Update.
8607
8608 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8609
8610 * cppmain.c (scan_translation_unit): Don't worry about
8611 putting a space after hashes.
8612 * cpplib.c (directive_diagnostics): New.
8613 (_cpp_handle_directive): Update to use directive_diagnostics.
8614 (run_directive): Don't toggle prevent_expansion.
8615 (do_line): Backup in case of the line extension.
8616 * cpplib.h (cpp_lexer_pos): Remove.
8617 * cppmacro.c (_cpp_create_definition): Precede a leading #
8618 with whitespace.
8619
8620 2001-09-15 Richard Henderson <rth@redhat.com>
8621
8622 * c-typeck.c (comptypes): Handle zero-length arrays properly.
8623
8624 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8625
8626 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8627
8628 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8629
8630 PR preprocessor/3571
8631 * tradcpp.c (handle_directive): Skip non-vertical space.
8632
8633 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8634
8635 * cppmain.c (setup_callbacks): Set line callback only
8636 if outputting preprocessed source.
8637
8638 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8639
8640 * collect2.c (main): Const-ification.
8641 * gcc.c (translate_options, process_command): Use xstrdup in
8642 lieu of xmalloc/strcpy.
8643 (main): Use concat in lieu of xmalloc/strcpy/strcat.
8644
8645 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8646
8647 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8648 example.
8649
8650 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8651
8652 * scan-decls.c (scan_decls): Fix typo.
8653
8654 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8655
8656 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8657 Split mlstring_pos into mls_line and mls_col.
8658 * cppinit.c (cpp_create_reader): Initialize line to 1.
8659 (cpp_destroy): Free tokenruns.
8660 (push_include): Don't update lexer_pos.
8661 * cpplex.c (unterminated, parse_string): Update.
8662 (lex_token): Don't update lexer_pos, update.
8663 * cpplib.c (if_stack): Save line instead of line + col.
8664 (start_directive, _cpp_do__Pragma, do_else, do_elif,
8665 push_conditional, _cpp_pop_buffer): Update.
8666 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8667 (_cpp_create_definition): Update.
8668
8669 2001-09-15 Eric Christopher <echristo@redhat.com>
8670
8671 * config/mips/abi64.h: Add support for MEABI.
8672
8673 2001-09-15 Eric Christopher <echristo@redhat.com>
8674
8675 * config/mips/mips.md: Add unspec #2.
8676 (reload_indi): Use.
8677 (reload_outdi): Ditto.
8678 (reload_outsi): Ditto.
8679 (HILO_delay): New.
8680
8681 2001-09-15 Eric Christopher <echristo@redhat.com>
8682 Jason Eckhardt <jle@redhat.com>
8683
8684 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8685 * config/mips/isa32-linux.h: New file.
8686 * config/mips/isa3264.h: Ditto.
8687 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8688 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8689 (output_block_mode): Support MEABI.
8690 (function_arg): Ditto. Fix floating point arg passing.
8691 (mips_va_start): Ditto.
8692 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8693 processors.
8694 (mips_asm_file_start): Add new section to pass abi to gdb.
8695 (function_arg_pass_by_reference): Support MEABI.
8696 (mips_parse_cpu): Support mips32 and mips64 processors.
8697 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8698 TARGET_MIPS5KC. Support isa32 and isa64.
8699 (processor_type): Add r4kc, r5kc, r20kc.
8700 (GENERATE_MULT3_SI): New.
8701 (GENERATE_MULT3_DI): Ditto.
8702 (GENERATE_MULT3): Remove.
8703 (ISA_HAS_64BIT_REGS): Add isa == 64.
8704 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8705 (ISA_HAS_MADD_MSUB): New.
8706 (ISA_HAS_CLZ_CLO): Ditto.
8707 (ISA_HAS_DCLZ_DCLO): Ditto.
8708 (ABI_GAS_ASM_SPEC): New.
8709 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8710 (ASM_SPEC): Ditto.
8711 (LINK_SPEC): Ditto.
8712 (SUBTARGET_CC1_SPEC): Ditto.
8713 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8714 (PAD_VARARGS_DOWN): Support MEABI.
8715 (HARD_REGNO_NREGS): Move to mips.c.
8716 (ASM_OUTPUT_IDENT): Add #undef.
8717 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8718 (mulsi3): Use GENERATE_MULT3_SI.
8719 (mulsi3_mult3): Ditto. Support mips32, mips64.
8720 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8721 (mul_sub_si): New pattern.
8722 (unnamed splitters): New.
8723 (muldi3): Use GENERATE_MULT3_DI.
8724 (muldi3_internal2): Ditto.
8725 (movdicc): Support mips32.
8726 * config/mips/t-isa3264: New file.
8727
8728 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
8729
8730 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8731 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8732 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8733
8734 * reorg.c (fill_slots_from_thread): After call to
8735 steal_delay_list_from_target, update own_thread as new_thread may
8736 have branched.
8737
8738 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
8739
8740 * cpperror.c (print_location): Take line and column, for
8741 default positioning use the previously lexed token.
8742 (_cpp_begin_message): Take line and column.
8743 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8744 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8745 * cpphash.h (_cpp_begin_message): Update prototype.
8746 * cppinit.c (push_include): Don't set output line.
8747 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8748 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8749 (do_pragma): Kludge for front ends. Don't expand macros at all.
8750 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8751 (struct cpp_token): Remove output_line.
8752 (struct cpp_callbacks): New member line_change.
8753 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8754 cpp_get_token): Preserve BOL flag.
8755 (cpp_get_line): Remove.
8756 (_cpp_backup_tokens): Remove useless abort().
8757 * cppmain.c (cb_line_change): New.
8758 (scan_translation_unit): Don't worry about starting new lines here.
8759 * scan-decls.c (scan_decls): Update.
8760 * c-lex.c (c_lex, init_c_lex): Update.
8761 (cb_line_change, src_lineno): New.
8762
8763 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
8764
8765 * tree.c (append_random_chars): Generate the random
8766 characters in a reproducable fashion.
8767
8768 2001-09-14 Richard Henderson <rth@redhat.com>
8769
8770 * config/i386/i386.c (internal_label_prefix): New.
8771 (internal_label_prefix_len): New.
8772 (override_options): Set them.
8773 (local_symbolic_operand): New.
8774 (legitimate_pic_address_disp_p): Use it.
8775 (legitimize_pic_address): Likewise.
8776
8777 2001-09-14 Marc Espie <espie@openbsd.org>
8778
8779 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
8780 correctly.
8781
8782 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8783
8784 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8785 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8786
8787 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8788
8789 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8790 invocation of SUBREG_REGNO_OFFSET.
8791
8792 * haifa-sched.c: Fix typo in FSF copyright statement.
8793 * sched-deps.c: Fix typo in FSF copyright statement.
8794 * sched-ebb.c: Fix typo in FSF copyright statement.
8795 * sched-rgn.c: Fix typo in FSF copyright statement.
8796 * sched-vis.c: Fix typo in FSF copyright statement.
8797
8798 * config.gcc: Move inclusion of arm elf specific header files
8799 from the files themselves into the tm_file variable. Make
8800 sure that elfos.h is included before target specific elf
8801 headers.
8802 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8803 already defined.
8804 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
8805 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
8806 ASM_OUTPUT_CASE_LABEL): Protect definition.
8807 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
8808 not already defined.
8809 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
8810 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
8811 Remove duplicate definition.
8812 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
8813 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
8814 (RDATA_SECTION_FUNCTION): Remove redundant definition.
8815 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
8816 Remove inclusion of arm/elf.h.
8817 * config/arm/unknown-elf.h: as for conix-elf.h.
8818 (STARTFILE_SPEC): Include crti.o and crtn.o.
8819 * config/arm/linux-elf.h: as for conix-elf.h.
8820 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
8821 * config/arm/strongarm-elf.h: Remove inclusion of
8822 unknown-elf.h.
8823 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
8824 * config/arm/unknown-elf-oabi.h: Remove inclusion of
8825 unknown-elf.h and elf.h.
8826 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
8827 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
8828 ASM_WEAKEN_LABEL): Remove redundant definition.
8829 * config/arm/elf.h: Test for inclusion of elfos.h
8830 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
8831 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
8832 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
8833 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
8834 redundant definition.
8835 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
8836 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
8837 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
8838 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
8839 Add rules to build crti.o and crtn.o
8840 * crti.asm: New file.
8841 * crtn.asm: New file.
8842
8843 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
8844
8845 * c-parse.in (_yylex): Use _cpp_backup_tokens.
8846 * cpphash.h (struct tokenrun): Add prev.
8847 (struct lexer_state): Remove bol.
8848 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
8849 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
8850 : Remove.
8851 * cppinit.c (cpp_create_reader): Don't set bol.
8852 (cpp_destroy): Don't free lookaheads.
8853 * cpplex.c (lex_directive): Remove.
8854 (next_tokenrun): Update.
8855 (_cpp_lex_token): Clean up logic.
8856 (lex_token): Update to return a pointer to lexed token, since it
8857 can move to the start of the buffer. Simpify newline handling.
8858 * cpplib.c (SEEN_EOL): Update.
8859 (skip_rest_of_line): Remove lookahead stuff.
8860 (end_directive): Line numbers are already incremented. Revert
8861 to start of lexed token buffer if we can.
8862 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
8863 parse_answer): Use _cpp_backup_tokens.
8864 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
8865 instead. Don't check for EOL.
8866 (do_include_common, do_line, do_pragma_system_header): Use
8867 skip_rest_of_line.
8868 * cpplib.h (BOL, _cpp_backup_tokens): New.
8869 * cppmacro.c (save_lookahead_token, take_lookahead_token,
8870 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
8871 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
8872 (builtin_macro): Don't use cpp_get_line.
8873 (cpp_get_line): Short term kludge.
8874 (parse_arg): Handle directives in arguments here. Back up when
8875 appropriate. Store EOF at end of argument list.
8876 (funlike_invocation_p): Use _cpp_backup_tokens.
8877 (push_arg_context): Account for EOF at end of list.
8878 (cpp_get_token): Remove lookahead stuff. Update.
8879
8880 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8881
8882 * c-parse.in (yyerror): Const-ification and/or static-ization.
8883 * c-typeck.c (push_member_name): Likewise.
8884 * collect2.c (main): Likewise.
8885 * dbxout.c (dbxout_parms): Likewise.
8886 * diagnostic.c (format_with_decl): Likewise.
8887 * dwarf2out.c (output_ranges): Likewise.
8888 * dwarfout.c (fundamental_type_code): Likewise.
8889 * except.c (dw2_output_call_site_table): Likewise.
8890 * gcc.c (do_spec_1): Likewise.
8891 * genopinit.c (optabs): Likewise.
8892 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
8893 gen_declaration_1, handle_impent): Likewise.
8894 * protoize.c (default_include, in_system_include_dir, abspath):
8895 Likewise.
8896 * sched-vis.c (visualize_stall_cycles): Likewise.
8897 * sdbout.c (plain_type_1, sdbout_end_function,
8898 sdbout_end_epilogue): Likewise.
8899 * varasm.c (decode_reg_name): Likewise.
8900
8901 * 1750a.c (mod_regno_adjust): Likewise.
8902 * alpha.c (alpha_write_one_linkage,
8903 unicosmk_output_default_externs): Likewise.
8904 * arm.c (arm_condition_codes): Likewise.
8905 * arm.h (arm_condition_codes): Likewise.
8906 * avr.c (output_movsisf, encode_section_info): Likewise.
8907 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
8908 Likewise.
8909 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8910 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8911 * m88k.c (output_function_profiler): Likewise.
8912 * mips.c (mips_output_conditional_branch): Likewise.
8913 * ns32k.c (ns32k_out_reg_names): Likewise.
8914 * ns32k.h (ns32k_out_reg_names): Likewise.
8915 * pj.c (pj_output_rval): Likewise.
8916 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
8917 * sparc.c (sparc_flat_function_prologue,
8918 sparc_flat_function_epilogue): Likewise.
8919
8920 2001-09-13 Markus Werle <numerical.simulation@web.de>
8921 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8922
8923 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
8924 Aachen University of Technology".
8925
8926 2001-09-13 Andreas Schwab <schwab@suse.de>
8927
8928 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
8929 C99.
8930
8931 2001-09-13 Richard Henderson <rth@redhat.com>
8932
8933 * config/alpha/alpha.c (small_symbolic_operand): New.
8934 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
8935 (some_operand, input_operand): Don't handle HIGH.
8936 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
8937 (alpha_expand_mov): Likewise.
8938 (print_operand) [H]: Just print HIGH symbol.
8939 (print_operand_address): Handle small data.
8940 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
8941 (TARGET_SWITCHES): Add -msmall-data/large-data.
8942 (PIC_OFFSET_TABLE_REGNUM): New.
8943 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
8944 (PREDICATE_COES): Update.
8945 * config/alpha/alpha.md (adddi_er_high): New.
8946 (adddi_er_low): Handle small data.
8947 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
8948 prefer .sdata to .rodata.
8949 (SELECT_RTX_SECTION): Likewise.
8950
8951 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
8952
8953 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
8954 defining __size_t and leaving size_t undefined.
8955
8956 2001-09-12 Diego Novillo <dnovillo@redhat.com>
8957
8958 * basic-block.h (expunge_block): Declare.
8959 * cfg.c (expunge_block): Remove static declaration.
8960
8961 2001-09-12 Richard Henderson <rth@redhat.com>
8962
8963 * integrate.c (copy_insn_list): Copy label name from
8964 NOTE_INSN_DELETED_LABEL.
8965
8966 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8967
8968 * c-common.c (c_tree_code_name): Const-ification.
8969 * c-decl.c (c_decode_option): Likewise.
8970 * c-typeck.c (warn_for_assignment): Likewise.
8971 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
8972 Likewise.
8973 * cppinit.c (output_deps): Likewise.
8974 * dependence.c (dependence_string, direction_string): Likewise.
8975 * dwarf2out.c (output_ranges): Likewise.
8976 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
8977 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
8978 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
8979 standard_startfile_prefix, standard_startfile_prefix_1,
8980 standard_startfile_prefix_2, tooldir_base_prefix,
8981 standard_bindir_prefix, find_a_file): Likewise.
8982 * genattrtab.c (make_length_attrs): Likewise.
8983 * gencheck.c (tree_codes): Likewise.
8984 * genemit.c (gen_split): Likewise.
8985 * genrecog.c (special_mode_pred_table): Likewise.
8986 * graph.c (graph_ext): Likewise.
8987 * protoize (default_include): Likewise.
8988 * reload.c (reload_when_needed_name): Likewise.
8989 * sched-vis.c (visualize_stall_cycles): Likewise.
8990 * tlink.c (recompile_files): Likewise.
8991 * toplev.c (decode_g_option): Likewise.
8992 * tradcpp.c (output_deps): Likewise.
8993 * varasm.c (decode_reg_name): Likewise.
8994
8995 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
8996 Const-ification.
8997 * arm.md: Likewise.
8998 * avr.c (avr_regnames, encode_section_info): Likewise.
8999 * c4x.c (float_reg_names): Likewise.
9000 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
9001 * elfos.h (const_section): Likewise.
9002 * i386.c (ix86_comp_type_attributes): Likewise.
9003 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9004 * ia64/aix.h (UNIQUE_SECTION): Likewise.
9005 * ia64.c (type_names): Likewise.
9006 * m68hc11.c (reg_class_names): Likewise.
9007 * m88k.c (m_options): Likewise.
9008 * mips.c (mips_output_conditional_branch, mips_unique_section):
9009 Likewise.
9010 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9011 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9012 ultra_code_names): Likewise.
9013 * sparc.h (OVERRIDE_OPTIONS): Likewise.
9014
9015 2001-09-12 Jakub Jelinek <jakub@redhat.com>
9016
9017 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9018 Use --fatal-warnings option for gas.
9019 * configure: Rebuilt.
9020
9021 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9022
9023 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9024
9025 2001-09-11 Jim Wilson <wilson@redhat.com>
9026
9027 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9028
9029 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9030
9031 * builtins.c (c_strlen): Treat an offset too large for a
9032 HOST_WIDE_INT as out of range.
9033
9034 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
9035
9036 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9037 (EDGE_CRITICAL_P): New predicate.
9038 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9039 handling.
9040 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9041 (dump_edge_info): Remove "crit".
9042 * cfganal.c (mark_critical_edges): Kill.
9043 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9044 * cfgcleanup.c (cleanup_cfg): Likewise.
9045 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9046 (find_spanning_tree): Likewise.
9047 * reg-stack.c (convert_regs_1): Likewise.
9048 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9049
9050 * basic-block.h (create_basic_block_structure): New.
9051 (create_basic_block): Update prototype.
9052 (force_nonfallthru): New.
9053 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9054 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9055 handle updating of block_for_insn, creating of empty BBs and BBs at
9056 the end of INSN chain.
9057 (create_basic_block): New function.
9058 (split_block): Use create_basic_block.
9059 (force_nonfallthru_and_redirect): Break out from ...; cleanup
9060 (redirect_edge_and_branch_force): ... here.
9061 (force_nonfallthru): New.
9062 (split_edge): Rewrite to use force_nonfallthru and create_block.
9063 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9064 (find_basic_blocks): Free basic_block_for_insn.
9065 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9066
9067 * cfg.c: Fix formating.
9068 * cfgcleanup.c: Fix formating.
9069 (merge_blocks, tail_recursion_label_p): Return bool.
9070 (merge_blocks_move_predecessor_nojumps,
9071 merge_blocks_move_successor_nojumps): Return void.
9072
9073 2001-09-11 Jakub Jelinek <jakub@redhat.com>
9074
9075 * configure.in: Check whether assembler supports section merging.
9076 * config.in: Rebuilt.
9077 * configure: Rebuilt.
9078 * varasm.c (variable_section, output_constant_pool): Pass alignment
9079 to SELECT_SECTION and SELECT_RTX_SECTION.
9080 (mergeable_string_section): New.
9081 (mergeable_constant_section): New.
9082 (default_elf_asm_named_section): Output SECTION_MERGE and
9083 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9084 * output.h (mergeable_string_section): New.
9085 (mergeable_constant_section): New.
9086 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9087 * toplev.c (flag_merge_constants): New.
9088 (f_options): Add -fmerge-constants and -fmerge-all-constants
9089 options.
9090 (toplev_main): Default to -fno-merge-constants if not optimizing.
9091 * flags.h (flag_merge_constants): Add extern.
9092 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9093 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9094 argument.
9095 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9096 Define if assembler has working .subsection -1 support.
9097 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9098 Put constant into special SHF_MERGE sections if the linker should
9099 attempt to merge duplicates.
9100 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9101 macro argument.
9102 Put constant into special SHF_MERGE sections if the linker should
9103 attempt to merge duplicates.
9104 * config/alpha/elf.h: Likewise.
9105 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9106 has working .subsection -1 support.
9107 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9108 SELECT_SECTION.
9109 * config/svr3.h: Likewise.
9110 * config/darwin.h: Likewise.
9111 * config/arm/aof.h: Likewise.
9112 * config/arm/linux-elf.h: Likewise.
9113 * config/avr/avr.h: Likewise.
9114 * config/c4x/c4x.h: Likewise.
9115 * config/d30v/d30v.h: Likewise.
9116 * config/i386/dgux.h: Likewise.
9117 * config/i386/osfrose.h: Likewise.
9118 * config/i386/sco5.h: Likewise.
9119 * config/i386/svr3gas.h: Likewise.
9120 * config/ia64/aix.h: Likewise.
9121 * config/m32r/m32r.h: Likewise.
9122 * config/m68k/m68k.h: Likewise.
9123 * config/m88k/dgux.h: Likewise.
9124 * config/m88k/m88k.h: Likewise.
9125 * config/mcore/mcore-pe.h: Likewise.
9126 * config/mips/mips.h: Likewise.
9127 * config/pa/pa.h: Likewise.
9128 * config/pa/pa-linux.h: Likewise.
9129 * config/romp/romp.h: Likewise.
9130 * config/rs6000/sysv4.h: Likewise.
9131 * config/rs6000/xcoff.h: Likewise.
9132 * config/s390/linux.h: Likewise.
9133 * config/sparc/sparc.h: Likewise.
9134 * config/sparc/sysv4.h: Likewise.
9135 * config/stormy16/stormy16.h: Likewise.
9136 * config/v850/v850.h: Likewise.
9137 * config/vax/vms.h: Likewise.
9138 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9139 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9140 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9141 default_elf_asm_named_section for SHF_MERGE sections.
9142
9143 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9144
9145 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9146 is OK.
9147
9148 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9149
9150 * c-common.c (split_specs_attrs): Allow for empty attributes with
9151 empty TREE_PURPOSE. Fixes PR c/4294.
9152
9153 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9154
9155 * basic-block.h (cached_make_edge, make_single_succ): New.
9156 (make_edge): Remove first parameter.
9157 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9158 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9159 created edge; use obstack allocation.
9160 (make_edge, make_single_succ_edge): New.
9161 (first_removed_edge): New static variable.
9162 (init_flow): Initialize first_removed_edge and n_edges.
9163 (clear_edges): Use remove_edge.
9164 (flow_delete_block): Likewise.
9165 (remove_edge): Add removed edges to the removed edges list.
9166 (split_block, redirect_edge_and_branch_force, split_edge):
9167 Use make_edge.
9168 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9169 (add_noreturn_fake_exit_edges): Likewise.
9170 (connect_infinite_loops_to_exit): Liekwise.
9171 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9172 Use cached_make_edge.
9173 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9174 * profile.c (branch_prob): Update make_edge call.
9175 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9176
9177 2001-09-11 Richard Henderson <rth@redhat.com>
9178
9179 * config/alpha/alpha.c: Tidy formatting.
9180 (local_symbolic_operand): Verify mode.
9181 (alpha_sa_mask): Ignore unicos for eh_return.
9182 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9183 * config/alpha/alpha.md (umk divsi patterns): Remove.
9184 (extendsfdf2): Remove unicos check.
9185 (tablejump): Merge vms and unicos code; always use direct set
9186 plus label_ref use.
9187
9188 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9189
9190 * config.gcc (alpha*-*-unicosmk*): New target.
9191
9192 * config/alpha/alpha-protos.h (symbolic_operand,
9193 unicosmk_add_call_info_word, unicosmk_add_extern,
9194 unicosmk_defer_case_vector, unicosmk_unique_section,
9195 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9196 unicosmk_asm_file_start, unicosmk_asm_file_end,
9197 unicosmk_output_common): Declare.
9198
9199 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9200 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9201 alpha_does_function_need_gp, alpha_end_function): Support Cray
9202 Unicos/Mk.
9203 (alpha_init_machine_status, alpha_mark_machine_status,
9204 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9205 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9206 unicosmk_asm_named_section, unicosmk_insert_attributes,
9207 unicosmk_section_type_flags, symbolic_operand,
9208 unicosmk_output_module_name, unicosmk_output_default_externs,
9209 unicosmk_output_dex, unicosmk_output_externs,
9210 unicosmk_output_addr_vec, unicosmk_ssib_name,
9211 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9212 unicosmk_asm_file_end, unicosmk_output_common,
9213 unicosmk_section_type_flags, unicosmk_unique_section,
9214 unicosmk_add_call_info_word, unicosmk_text_section,
9215 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9216 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9217 unicosmk_dex_count, unicosmk_special_name): New.
9218 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9219 TARGET_ABI_UNICOSMK.
9220 (get_aligned_mem, alpha_expand_unaligned_load,
9221 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9222 alpha_expand_unaligned_store_words): Support big-endian mode.
9223 (print_operand): Likewise. New format specifier 't'. Use
9224 TARGET_AS_SLASH_BEFORE_SUFFIX.
9225 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9226 (alpha_pv_save_size): Update with above change.
9227 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9228 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9229 Unicos/Mk.
9230
9231 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9232 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9233 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9234 (EXTRA_CONSTRAINT): New constraint 'U'.
9235 (PREDICATE_CODES): Add symbolic_operand.
9236
9237 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9238 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9239 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9240 (integer division and modulus patterns): Split in default and
9241 Unicos/Mk versions.
9242 (*divmodsi_internal, *divmoddi_internal): Disable for
9243 TARGET_ABI_UNICOSMK.
9244 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9245 little-endian and big-endian versions.
9246 (ext, ins, msk): Likewise.
9247 (extv, extzv, insv): Support big-endian mode.
9248 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9249 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9250 *tablejump_umk_internal, *call_value_umk): New.
9251 (*movdi_nofix): Add pattern for loading an address into a register on
9252 TARGET_ABI_UNICOSMK.
9253 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9254 (umk_mismatch_args, arg_home_umk): New.
9255 (various insns): Don't use mov, fmov, nop, fnop and unop.
9256 (realign): Support TARGET_ABI_UNICOSMK.
9257
9258 * config/alpha/unicosmk.h: New file.
9259 * config/alpha/t-unicosmk: New file.
9260
9261 * fixinc/inclhack.def (unicosmk_restrict): New.
9262 * fixinc/fixincl.x: Regenerate.
9263
9264 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9265 (wchar_t): Check for and define __WCHAR_T__.
9266
9267 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
9268
9269 * combine.c (simplify_shift_const): Treat shifts by the mode
9270 size as undefined.
9271
9272 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9273
9274 * cpphash.h (struct tokenrun): New.
9275 (struct cpp_context): New member bol.
9276 (struct cpp_reader): New members.
9277 (_cpp_init_tokenrun): New.
9278 * cppinit.c (cpp_create_reader): Set up the token runs.
9279 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9280 (lex_token): New internalised version of _cpp_lex_token. Don't
9281 handle directives or the multiple include optimization here any
9282 more. Simply lex a token.
9283 * cpplib.c (run_directive): Clear bol.
9284 (_cpp_pop_buffer): Set bol.
9285 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9286 arguments.
9287
9288 2001-09-11 Michael Meissner <meissner@redhat.com>
9289
9290 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9291 give an error if the user uses -mfp32.
9292 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9293 default options.
9294 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9295 floating point register size.
9296 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9297
9298 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9299 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9300 int_size_in_bytes.
9301 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9302 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9303
9304 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
9305
9306 * dbxout.c (dbxout_parms): Fix typo in comment.
9307 * unroll.c (loop_find_equiv_value): Ditto.
9308 * toplev.c (rest_of_compilation): Ditto.
9309 * loop.c (scan_loop): Ditto.
9310 * dwarf2out.c (struct dw_fde_struct): Ditto.
9311
9312 2001-09-10 Zack Weinberg <zackw@panix.com>
9313
9314 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
9315 copying identifier when we're just going to throw it away.
9316 (parse_identifier_slow): New routine to handle abnormal cases.
9317 (_cpp_lex_token): Update call site.
9318
9319 * hashtable.c (ht_lookup): Don't assume that the string we've
9320 been given is NUL-terminated.
9321 * system.h: #define __builtin_expect(a, b) to (a) if not
9322 GCC >=3.0.
9323
9324 2001-09-10 Michael Meissner <meissner@redhat.com>
9325
9326 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9327 binutils, gdb.
9328
9329 2001-09-10 David Edelsohn <edelsohn@gnu.org>
9330
9331 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9332
9333 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9334
9335 * builtins.c (c_getstr): Correct thinko in last change and further
9336 cleanup.
9337
9338 2001-09-10 Tim Freeman <tim@fungibole.com>
9339
9340 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9341 into varray's and register them as roots with the garbage
9342 collector so they are not collected too soon.
9343
9344 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
9345
9346 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9347 New.
9348 * basic-block.h (flow_obstack, label_value_list,
9349 tail_recursion_label_list): Declare
9350 (tidy_fallthru_edges): Declare.
9351 (expunge_block, last_loop_beg_note): Delete.
9352 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9353 * cfg.c: New file
9354 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9355 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9356 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9357 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9358 expunge_block, flow_delete_block, compute_bb_for_insn,
9359 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9360 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9361 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9362 try_redirect_by_replacing_jump, last_loop_beg_note,
9363 redirect_edge_and_branch, redirect_edge_and_branch_force,
9364 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9365 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9366 commit_edge_insertions, dump_flow_info, debug_flow_info,
9367 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9368 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9369 Move here from flow.c
9370 * cfganal.c: New file.
9371 (forwarder_block_p, can_fallthru, mark_critical_edges,
9372 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9373 find_unreachable_blocks, create_edge_list, free_edge_list,
9374 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9375 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9376 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9377 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9378 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9379 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9380 Move here from flow.c
9381 * cfgbuild.c: New file
9382 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9383 make_edges, find_basic_blocks_1, find_basic_blocks,
9384 find_sub_basic_blocks): Move here from flow.c
9385 * cfgcleanup.c: New file.
9386 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9387 merge_blocks_move_predecessor_nojumps,
9388 merge_blocks_move_successor_nojumps, merge_blocks,
9389 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9390 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9391 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9392 if succeeded.
9393 * cfgloop.c: New file
9394 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9395 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9396 flow_loop_exit_edges_find, flow_loop_nodes_find,
9397 flow_loop_pre_header_scan, flow_loop_pre_header_find,
9398 flow_loop_tree_node_add, flow_loops_tree_build,
9399 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9400 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9401 Move here from flow.c
9402 * flow.c: Remove everything moved elsewhere
9403 * output.h (cleanup_cfg): Return bool.
9404
9405 * bb-reorder.c (reorder_block_def): Remove 'index'.
9406 (insert_intra_1): Add argument BB, set block for new note.
9407 (make_reorder_chain): Do not depdent on BB indexes.
9408 (make_reorder_chain_1): Do not use BB indexes.
9409 (label_for_bb): Likewise; set BB for new insn.
9410 (emit_jump_to_block_after): Likewise.
9411 (fixup_reorder_chain): Sanity check that all basic blocks
9412 are chained; verify newly created insn chain; remove
9413 undocnitional jump simplifying; Do not use BB indexes;
9414 properly initialize count and frequency information;
9415 dump reordered sequence.
9416 (insert_intra_bb_scope_notes): update call of insert_intra_1.
9417 (insert_inter_bb_scope_notes): Set block for new insn.
9418 (reorder_basic_blocks): Dump flow info before reoredering.
9419
9420 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9421
9422 * alias.c (clear_reg_alias_info): Use K&R format definition.
9423 Avoid unsigned warning.
9424 * builtins.c: Use "unsigned int", not "unsigned".
9425 (target_char_cast): Use host_integerp and tree_low_cst.
9426 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9427 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9428 (c_getstr): Likewise.
9429 (std_expand_builtin_va_arg): Use int_size_in_bytes.
9430 (builtin_memcpy_read_str): Avoid unsigned warning.
9431 (expand_builtin_memcpy): Alignments are unsigned.
9432 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9433 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9434 * predict.c (expensive_function_p): LIMIT now unsigned.
9435 * resource.c (mark_target_live_regs): Make some vars unsigned.
9436 * sdbout.c: Use "unsigned int", not "unsigned".
9437 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9438 (sdbout_source_line): Likewise.
9439 (sdbout_record_type_name): Remove "const" for NAME declaration.
9440 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9441
9442 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
9443
9444 * calls.c (store_one_arg): Expand comment.
9445
9446 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9447
9448 * calls.c (store_one_arg): Make sure that the entire argument is
9449 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9450
9451 2001-09-09 Richard Henderson <rth@redhat.com>
9452
9453 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9454
9455 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
9456
9457 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9458
9459 2001-09-09 Richard Henderson <rth@redhat.com>
9460
9461 * config/alpha/alpha.c (alpha_next_sequence_number): New.
9462 (alpha_this_literal_sequence_number): New.
9463 (alpha_this_gpdisp_sequence_number): New.
9464 (some_operand, input_operand): Add HIGH.
9465 (local_symbolic_operand): New.
9466 (alpha_encode_section_info): New.
9467 (alpha_legitimate_address_p): Allow LO_SUM.
9468 (alpha_legitimize_address): Generate HIGH+LO_SUM.
9469 (alpha_expand_mov): Likewise.
9470 (secondary_reload_class): Check memory_operand not general_operand
9471 for FP_REGS test.
9472 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9473 (alpha_expand_unaligned_store): Likewise.
9474 (alpha_expand_unaligned_load_words): Likewise.
9475 (alpha_expand_unaligned_store_words): Likewise.
9476 (alpha_expand_block_clear): Likewise.
9477 (print_operand): Handle %#, %*, %H.
9478 (print_operand_address): Handle LO_SUM.
9479 (find_lo_sum): New.
9480 (alpha_does_function_need_gp): Use it.
9481 (alpha_expand_block_move): Fix signed compare warnings.
9482 (alpha_sa_mask, alpha_align_insns): Likewise.
9483 * config/alpha/alpha-protos.h: Update.
9484 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9485 (MASK_EXPLICIT_RELOCS): New.
9486 (TARGET_SWITCHES): Add -mexplicit-relocs.
9487 (EXTRA_CONSTRAINT): Add 'T'.
9488 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9489 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9490 (ENCODE_SECTION_INFO): Out line.
9491 (REDO_SECTION_INFO_P): New.
9492 (STRIP_NAME_ENCODING): New.
9493 (ASM_OUTPUT_LABELREF): New.
9494 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9495 (PREDICATE_CODES): Update.
9496 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9497 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9498 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9499 builtin_setjmp_receiver_er, exception_receiver_1_er,
9500 call_value_osf_1_er): New patterns.
9501 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9502 (movqi, movhi, movsi): Add explicit $31 base register to lda.
9503 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9504 (FINAL_PRESCAN_INSN): New.
9505
9506 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
9507
9508 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9509
9510 2001-09-08 Andreas Jaeger <aj@suse.de>
9511
9512 * i386.h (TARGET_SWITCHES): Fix description.
9513
9514 2001-09-07 David Edelsohn <edelsohn@gnu.org>
9515
9516 * rs6000.c (num_insns_constant): Compute number of instructions
9517 more accurately.
9518
9519 * doc/install.texi: Explain AIX exception handling work-around.
9520 Update URL for AIX fixes.
9521
9522 2001-09-07 Jim Wilson <wilson@redhat.com>
9523
9524 * alias.c (clear_reg_alias_info): New.
9525 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9526 * rtl.h (clear_reg_alias_info): Declare.
9527
9528 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9529
9530 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9531 available.
9532 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9533 (m16m,edivm,emulm): Change declaration to match definition.
9534
9535 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9536
9537 * reload.c (push_reload): Check for subreg_lowpart_p instead of
9538 SUBREG_BYTE being 0 when determining if the inner part of a subreg
9539 can be reloaded.
9540
9541 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9542
9543 * c-common.c (signed_or_unsigned_type): Handle machine mode types
9544 which have no corresponding C type.
9545 * fold_const.c (target_isinf,target_isnan,target_negative): Update
9546 the representation of 64-bit doubles to work with 64-bit ints.
9547
9548 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
9549
9550 * config/mips/mips.c (override_options): Do not override ISA when ABI
9551 specified if MIPS_CPU_STRING_DEFAULT was specified.
9552
9553 2001-09-07 Richard Henderson <rth@redhat.com>
9554
9555 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9556 (express_from_1): Wrap lines.
9557 * rtlanal.c (commutative_operand_precedence): Rename from
9558 operand_preference; export.
9559 * rtl.h: Declare it.
9560 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9561 (simplify_binary_operation): Invoke simplify_plus_minus on
9562 (CONST (PLUS ...)) as well.
9563 (struct simplify_plus_minus_op_data): New.
9564 (simplify_plus_minus_op_data_cmp): New.
9565 (simplify_plus_minus): Use them. Avoid infinite recursion with
9566 simplify_binary_operation wrt CONST.
9567
9568 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
9569
9570 * h8300-protos.h (general_operand_dst_push): Remove.
9571 * h8300.c (general_operand_dst_push): Likewise.
9572 * h8300.h (OK_FOR_T): Likewise.
9573 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9574 * h8300.md (pushqi_h8300): New.
9575 (pushqi_h8300hs): Likewise.
9576 (pushqi): Likewise.
9577 (pushhi_h8300): Likewise.
9578 (pushhi_h8300hs): Likewise.
9579 (pushhi): Likewise.
9580
9581 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9582
9583 * genattrtab.c (attr_printf): First arg is unsigned.
9584 Clean up formatting of callers.
9585
9586 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
9587
9588 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9589 registers.
9590
9591 2001-09-07 Andreas Jaeger <aj@suse.de>
9592
9593 * i386.h (TARGET_SWITCHES): Fix descriptions.
9594
9595 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9596
9597 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9598
9599 2001-09-06 Ira Ruben <ira@apple.com>
9600
9601 Remove OP_IDENTIFIER.
9602 * tree.def (OP_IDENTIFIER): Remove.
9603 * tree.c (tree_node_kind enum): Remove op_id_kind.
9604 (tree_node_kind_names): Remove "op_identifiers".
9605 (make_node): Remove OP_IDENTIFIER test.
9606 (build_op_identifier): Removed because it isn't being used.
9607 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9608 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9609
9610 2001-09-06 Richard Henderson <rth@redhat.com>
9611
9612 * simplify-rtx.c (simplify_binary_operation): Revert last change.
9613
9614 2001-09-06 Richard Henderson <rth@redhat.com>
9615
9616 * simplify-rtx.c (simplify_binary_operation): Simplify contents
9617 of CONST.
9618
9619 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9620
9621 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9622 number used for CR register.
9623
9624 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9625 Joern Rennecke (amylaar@cygnus.com)
9626
9627 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9628 * h8300.c (initial_offset): Handle offset between RP and FP.
9629 (h8300_return_addr_rtx): New function.
9630 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9631 return register.
9632 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9633 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9634 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9635 (CAN_ELIMINATE, REGISTER_NAMES):
9636 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9637
9638 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
9639
9640 Remove TYPE_NONCOPIED_PARTS.
9641 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9642 (struct tree_type): Remove noncopied_parts.
9643 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9644 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9645 (fixed_type_p): Remove.
9646 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9647 (expand_expr, MODIFY_EXPR): Likewise.
9648 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9649 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9650
9651 2001-09-06 Alan Modra <amodra@bigpond.net.au>
9652
9653 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9654 compiler warnings.
9655 (mask64_operand): Likewise.
9656 (includes_rldic_lshift_p): Likewise.
9657 (includes_rldicr_lshift_p): Likewise.
9658
9659 2001-09-05 Ziemowit Laski <zlaski@apple.com>
9660
9661 * objc/objc-act.c (build_message_expr): If a class method cannot
9662 be found, do not issue a warning if a corresponding instance
9663 method exists in the root class.
9664
9665 2001-09-05 Richard Henderson <rth@redhat.com>
9666
9667 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9668
9669 2001-09-05 Zack Weinberg <zack@codesourcery.com>
9670
9671 * function.c (ggc_mark_struct_function): Mark f->outer.
9672 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9673 * integrate.c (output_inline_function): ... not here.
9674
9675 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9676
9677 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9678
9679 * i386.c (size_cost): New static variable.
9680 (override_function): Use size_cost when -Os is specified.
9681
9682 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9683 properly; Use current_function_calls_eh_return.
9684 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9685 use leave to avoid dependency chain.
9686
9687 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9688 get BB loop_depth instead of computing it from LOOP notes.
9689
9690 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9691
9692 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
9693
9694 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9695 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9696 UNALIGNED_DOUBLE_INT_ASM_OP): Define
9697
9698 2001-09-05 Jeffrey A Law (law@cygnus.com)
9699 Jason Merrill (jason@redhat.com)
9700
9701 * stor-layout.c (layout_type): Complain if an array's size can
9702 not be represented in a size_t.
9703
9704 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9705
9706 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
9707
9708 * gcc.c: (process_command) Add parentheses around assignment
9709 used as truth value.
9710
9711 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9712
9713 * config/mips/mips.c (save_restore_insns): Don't mark any register
9714 save slots as unchanging if current_function_calls_eh_return.
9715
9716 2001-09-05 Richard Henderson <rth@redhat.com>
9717
9718 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9719 * config/alpha/alpha-protos.h: Declare it.
9720 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9721 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9722 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9723 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9724 (REG_OK_FOR_BASE_P): Select one of the above.
9725
9726 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9727
9728 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9729 (crti.o): Prefix name of object file with $(T).
9730 (crtn.o): Likewise.
9731
9732 2001-09-05 David S. Miller <davem@redhat.com>
9733
9734 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9735 * config/sparc/linux64.h: Likewise.
9736
9737 2001-09-05 Andreas Jaeger <aj@suse.de>
9738
9739 * doc/invoke.texi (i386 Options): -mwide-multiply is not
9740 available anymore, remove the documentation.
9741 (i386 Options): Fix typo, cleanup index entries.
9742
9743 * prefix.c (concat): Remove, we can use the version from liberty.
9744
9745 2001-09-05 Richard Henderson <rth@redhat.com>
9746
9747 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9748 New functions split out of md file expanders.
9749 * config/alpha/alpha-protos.h: Declare them.
9750 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9751
9752 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
9753
9754 * cppmacro.c (funlike_invocation_p): No need to restore context.
9755
9756 2001-09-04 Richard Henderson <rth@redhat.com>
9757
9758 * reload.c (push_reload): Export.
9759 * reload.h (push_reload): Declare it.
9760
9761 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9762 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9763 * config/alpha/alpha.c (alpha_legitimize_address): New.
9764 (alpha_legitimize_reload_address): Likewise.
9765 * config/alpha/alpha-protos.h: Declare them.
9766
9767 2001-09-04 Stan Shebs <shebs@apple.com>
9768
9769 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9770 * config/darwin.c (machopic_stub_name): Account for internally
9771 generated lib calls such as memcpy.
9772
9773 2001-09-04 Richard Henderson <rth@redhat.com>
9774
9775 * unwind.h (_UA_END_OF_STACK): New flag.
9776 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9777
9778 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9779
9780 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9781
9782 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
9783
9784 * config/mips/mips.c (save_restore_insns): Change base_offset to
9785 fp_offset in second call to mips_emit_frame_related_store.
9786
9787 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
9788
9789 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9790 sometimes be represented as a NOTE of type
9791 NOTE_INSN_DELETED_LABEL.
9792 (Insns): Document NOTE_INSN_DELETED_LABEL.
9793
9794 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
9795
9796 * c-common.h (tree_dump_index): Add more comments.
9797 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9798 (dump_option_value_info): New struct.
9799 (dump_options): New array.
9800 (dump_switch_p): Parse switch options symbolically.
9801 * doc/invoke.texi (-fdump-ast): Rename to ...
9802 (-fdump-tree): ... here. Document that options are symbolic, and
9803 not all are applicable.
9804
9805 2001-09-04 David S. Miller <davem@redhat.com>
9806
9807 * config/sparc/sparc.md (define_splits): Kill constraints.
9808
9809 Cleanup redundant and unused insn attributes.
9810 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
9811 binary, and move. Mark ialu as default.
9812 (commented out define_function_unit "alu"): Kill.
9813 (define_attr "use_clobbered"): Kill.
9814 (whole file): Kill address insn type references. Replace
9815 all unary/binary/move references with ialu.
9816 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
9817 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
9818 TYPE_IALU.
9819
9820 Simplify length insn attribute and make more judicious use
9821 of insn attribute defaulting.
9822 * config/sparc/sparc.md (all insns with length > one): Mark as
9823 insn type multi if real instructions, else use default if
9824 it is a forced splitter.
9825 (all insns with length == one): Use default insn length.
9826 (all insns of type ialu): Use default insn type.
9827
9828 Fix erroneous insn attribute settings.
9829 (addx): Set insn type to misc.
9830 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
9831 const_umulsidi3_sp64): Set insn type to imul.
9832
9833 Track SFmode vs DFmode insns according to UltraSPARC
9834 scheduling rules.
9835 * config/sparc/sparc.md ("fptype"): New attribute, default
9836 to "single".
9837 (all DFmode single insns): Mark as fptype "double".
9838
9839 2001-09-03 Jakub Jelinek <jakub@redhat.com>
9840
9841 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
9842
9843 2001-09-03 Richard Henderson <rth@redhat.com>
9844
9845 * function.h (struct function): Add arg_pointer_save_area_init.
9846 * function.c (expand_function_end): Init arg_pointer_save_area.
9847 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
9848 when called from a nested function.
9849
9850 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
9851
9852 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
9853 is enabled.
9854
9855 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9856
9857 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
9858
9859 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
9860
9861 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
9862 (emit_push_insn): Use specified padding direction when
9863 STACK_PUSH_CODE is POST_INC.
9864
9865 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
9866
9867 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9868
9869 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
9870
9871 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
9872
9873 * cppinit.c (cpp_start_read): Free the imacros list as we
9874 traverse it. Don't free the chains before returning.
9875 (_cpp_push_next_buffer): Only try pushing buffers if we've
9876 completed -imacros handling.
9877
9878 2001-08-31 Eric Christopher <echristo@redhat.com>
9879
9880 * gcc.c (handle_braces): Add explaination for abort.
9881
9882 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
9883
9884 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
9885 move adjustment of bitpos instead.
9886
9887 2001-08-31 Zack Weinberg <zack@codesourcery.com>
9888
9889 * function.c: Remove all_functions. Make outer_function_chain
9890 static.
9891 (init_function_start): Don't add new function structure to
9892 all_functions.
9893 (find_function_data, push_function_context_to,
9894 pop_function_context_from, put_var_into_stack,
9895 trampoline_address): Update for changed structure element names.
9896 (push_function_context_to): Disentangle.
9897 (free_after_compilation): Also free F.
9898 (expand_dummy_function_end): Don't free cfun here.
9899 (put_var_into_stack): Comment why we can't use find_function_data here.
9900 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
9901 (mark_function_chain): Split into maybe_mark_struct_function and
9902 ggc_mark_struct_function. Export the latter.
9903 (init_function_once): Mark from cfun and outer_function_chain;
9904 not all_functions.
9905
9906 * function.h (struct function): Kill next_global. Rename next
9907 to outer. All users updated to match.
9908 (all_functions, outer_function_chain): Don't declare.
9909
9910 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
9911 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
9912 don't touch f->inlinable, after calling rest_of_compilation.
9913
9914 * tree.h: Forward-declare struct function. Prototype
9915 ggc_mark_struct_function.
9916
9917 2001-08-31 Kazu Hirata <kazu@hxi.com>
9918
9919 * config/h8300/h8300.md (*andorhi3): Fix typos.
9920
9921 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9922
9923 * calls.c (emit_library_call_value): Don't use a fixed
9924 argument after VA_CLOSE, i.e. out of scope in traditional C.
9925
9926 * emit-rtl.c (gen_rtvec): Likewise.
9927
9928 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9929
9930 * Makefile.in (c-pragma.o): Depend on output.h.
9931 (reorg.o): Depend on except.h.
9932
9933 * c-pragma.c: Include output.h.
9934
9935 * reorg.c: Include except.h.
9936
9937 * unwind-dw2.c: Call __builtin_alloca, not alloca.
9938
9939 2001-08-31 Richard Henderson <rth@redhat.com>
9940
9941 * sched-deps.c (add_dependence): Don't elide dependency if the
9942 conditional used by insn is modified in elem.
9943
9944 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
9945
9946 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
9947
9948 2001-08-31 Diego Novillo <dnovillo@redhat.com>
9949
9950 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
9951 dump_switch_p.
9952
9953 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9954
9955 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
9956 function.
9957 (stormy16_asm_out_constructor): New function.
9958 (TARGET_ASM_CONSTRUCTOR): Define.
9959 (TARGET_ASM_DESTRUCTOR): Define.
9960
9961 2001-08-31 Andreas Jaeger <aj@suse.de>
9962
9963 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
9964 * loop.c (add_label_notes): Likewise.
9965 * reload.c (find_reloads): Likewise.
9966 * config/sh/sh.c (machine_dependent_reorg): Likewise.
9967
9968 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
9969
9970 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
9971 code here. Take _Unwind_{W,Sw}ord*.
9972 (read_encoded_value_with_base): Use them.
9973 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
9974 words.
9975 (extract_cie_info): Simplify read_?leb128 handling.
9976 (execute_stack_op, execute_cfa_program): Likewise.
9977 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
9978
9979 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
9980
9981 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
9982 the frame pointer to pop the stack if convenient.
9983
9984 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
9985 Don't use post-increment before combine.
9986 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
9987 a call-saved register.
9988
9989 2001-08-31 Andreas Jaeger <aj@suse.de>
9990
9991 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
9992 code was correct.
9993
9994 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
9995
9996 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
9997 not DIV/MOD, of course.
9998
9999 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
10000
10001 * rtl.def: Undo my patch commited 2001-08-27.
10002
10003 * genattrtab.c: Ditto.
10004
10005 * rtl.h: Ditto.
10006
10007 * sched-int.h: Ditto.
10008
10009 * target-def.h: Ditto.
10010
10011 * target.h: Ditto.
10012
10013 * haifa-sched.c: Ditto.
10014
10015 * sched-rgn.c: Ditto.
10016
10017 * sched-vis.c: Ditto.
10018
10019 * Makefile.in: Ditto.
10020
10021 * doc/md.texi: Ditto.
10022
10023 * doc/tm.texi: Ditto.
10024
10025 * doc/contrib.texi: Ditto.
10026
10027 * doc/gcc.texi: Ditto.
10028
10029 * genattrtab.h: Remove it.
10030
10031 * genautomata.c: Remove it.
10032
10033 * genattr.c: Undo my patch and Richard Henderson's patch commited
10034 2001-08-27.
10035
10036 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
10037
10038 * config.gcc (h8300-*-elf*): New case.
10039 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10040 (SUBTARGET_CPP_SPEC): Define.
10041 (EXTRA_SPECS): Define.
10042 (SUBTARGET_EXTRA_SPECS): Define.
10043 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10044 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10045
10046 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
10047
10048 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10049 (LIB2FUNCS_EXTRA): Define.
10050 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10051 config/h8300/fixunssfsi.c: New file.
10052
10053 2001-08-30 Kazu Hirata <kazu@hxi.com>
10054
10055 * config/h8300/h8300.md (zero_extendqihi2): Changes to
10056 define_expand to accommodate target-specific attributes.
10057 (anonymous zero_extendqihi2 patterns): New.
10058
10059 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
10060
10061 * h8300.md (*andorhi3): New pattern.
10062
10063 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
10064
10065 * h8300.c (dosize): Fix test for "sub".
10066
10067 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
10068
10069 * c-typeck.c (pointer_diff): Try to eliminate common term before
10070 doing conversions.
10071
10072 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
10073
10074 * config/arm/arm.c (arm_compute_initial_elimination_offset):
10075 Account for the saves of the FP registers.
10076
10077 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10078 (TEXT_SECTION_ASM_OP): Define.
10079 (INIT_SECTION_ASM_OP): Define.
10080 (FINI_SECTION_ASM_OP): Define.
10081 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10082 (RDATA_SECTION_FUNCITON): Provide prototype.
10083
10084 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
10085
10086 * reload1.c (move2add_note_store): Correct typo checking for
10087 argument pushes.
10088
10089 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
10090
10091 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10092 note should not be considered outside the libcall block.
10093
10094 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10095
10096 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10097
10098 2001-08-29 Kazu Hirata <kazu@hxi.com>
10099
10100 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10101
10102 2001-08-29 Kazu Hirata <kazu@hxi.com>
10103
10104 * config/h8300/h8300-protos.h: Add a prototype for
10105 emit_logical_op.
10106 * config/h8300/h8300.c (emit_logical_op): New.
10107 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10108 (andsi3): Likewise.
10109 (iorhi3): Likewise.
10110 (iorsi3): Likewise.
10111 (xorhi3): Likewise.
10112 (xorsi3): Likewise.
10113
10114 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10115
10116 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10117 comparison with rtx INTVAL.
10118 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10119 expression.
10120 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10121
10122 2001-08-29 Kazu Hirata <kazu@hxi.com>
10123
10124 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10125 comment typos.
10126
10127 2001-08-29 Kazu Hirata <kazu@hxi.com>
10128
10129 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10130 (reg n) to (mem (pre_dec (reg n))
10131 (anonymous movsi pattern): Likewise.
10132
10133 2001-08-29 Kazu Hirata <kazu@hxi.com>
10134
10135 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10136
10137 2001-08-29 Kazu Hirata <kazu@hxi.com>
10138
10139 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10140 several special constants.
10141
10142 2001-08-29 Kazu Hirata <kazu@hxi.com>
10143
10144 * config/h8300/lib1funcs.asm: Fix comment typos.
10145
10146 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10147
10148 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10149 Fix format specifier warnings.
10150
10151 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10152 inet_makeaddr, semctl): Prototype.
10153
10154 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10155 (save_restore_insns): Use base_offset, not gp_offset.
10156
10157 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10158 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10159
10160 2001-08-29 Richard Henderson <rth@redhat.com>
10161
10162 * bb-reorder.c (function_tail_eff_head): New.
10163 (record_effective_endpoints): Set it.
10164 (fixup_reorder_chain): Use it.
10165
10166 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10167
10168 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10169
10170 2001-08-28 Dale Johannesen <dalej@apple.com>
10171
10172 * config/darwin.c (machopic_function_base_name): Add const
10173 qualifier to a string.
10174 (darwin_encode_section_info): Ditto.
10175
10176 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10177
10178 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10179 function definition.
10180
10181 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10182
10183 * df.h (struct df): Add rts_order variable.
10184
10185 * df.c (df_visit_next_rts): New function.
10186 (df_visit_next): Renamed to df_visit_next_rc
10187 (df_analyse_1): Allocate/compute/free rts_order as well.
10188 (df_rd_global_compute): Use df_visit_next_rc instead of
10189 df_visit_next.
10190 (df_ru_global_compute): Use df_visit_next_rts instead of
10191 df_visit_next.
10192
10193 * flow.c (flow_reverse_top_sort_order_compute): New function.
10194
10195 * basic-block.h: Add prototype.
10196
10197 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10198
10199 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10200 blocks, the BB_REACHABLE is now set, rather than aux being
10201 non-NULL. Update the test to reflect this.
10202
10203 2001-08-28 Eric Christopher <echristo@redhat.com>
10204
10205 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10206 config/mips/crti.asm: Ditto.
10207
10208 2001-08-28 Eric Christopher <echristo@redhat.com>
10209 Richard Henderson <rth@redhat.com>
10210
10211 * c-pragma.h (add_weak): Move prototype from here...
10212 * output.h (add_weak): ... to here.
10213 * varasm.c (add_weak): Fix typo.
10214 * config/mips/crti.asm: New file.
10215 * config/mips/crtn.asm: Ditto.
10216 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10217 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10218 (INVOKE__main): Ditto.
10219 (INIT_SECTION_ASM_OP): New.
10220 (FINI_SECTION_ASM_OP): Ditto.
10221 (STARTFILE_SPEC): Add crti.
10222 (ENDFILE_SPEC): Add crtn.
10223 * config/mips/elf64.h: Same.
10224 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10225 Remove.
10226 * config/mips/vxworks.h: Ditto.
10227 * config/mips/t-elf: Support crti and crtn.
10228
10229 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10230
10231 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10232 INSN_LIST.
10233
10234 2001-08-28 Richard Henderson <rth@redhat.com>
10235
10236 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10237 (one_cmplbi2 splitter): Remove redundant test.
10238
10239 2001-08-28 Dale Johannesen <dalej@apple.com>
10240
10241 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10242
10243 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10244
10245 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10246
10247 2001-08-28 Stan Shebs <shebs@apple.com>
10248
10249 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10250 (UNALIGNED_SHORT_ASM_OP): Define.
10251 (UNALIGNED_INT_ASM_OP): Define.
10252
10253 2001-08-28 Will Cohen <wcohen@redhat.com>
10254
10255 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10256 generation for first set.
10257
10258 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10259
10260 * flow.c (redirect_edge_succ_nodup): Return new edge.
10261 (try_simplify_condjump): Use new edge.
10262 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10263
10264 * cse.c (cse_basic_block): Skip note instructions.
10265
10266 2001-08-27 Richard Henderson <rth@redhat.com>
10267
10268 * combine.c (combine_simplify_rtx): Don't reverse condition
10269 if there is no reverse for the condition.
10270 (simplify_comparison): Don't simplify subregs from INT to FP.
10271
10272 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10273 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10274 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10275 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10276 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10277 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10278
10279 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10280
10281 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10282 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10283 (pushqi1): New.
10284 (adddi_dilshr32, adddi_dishl32): Only data register can be
10285 source for mem destination.
10286
10287 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10288 and use bitnum to decide about register move.
10289
10290 2001-08-27 Richard Henderson <rth@redhat.com>
10291
10292 * genattr.c (main): Emit state_t even when not doing scheduling.
10293
10294 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10295 Richard Henderson <rth@redhat.com>
10296
10297 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10298 (reg_avail_info, current_bb): ... these.
10299 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10300 (compute_hash_table): Likewise.
10301
10302 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10303
10304 * flow.c (verify_flow_info): Use checksums to verify edges.
10305
10306 2001-08-27 Richard Henderson <rth@redhat.com>
10307
10308 * genautomata.c (expand_automata): Always create a description.
10309
10310 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10311
10312 * optabs.c (expand_binop): Correctly handle the carry in multiword
10313 add/subtract operations.
10314
10315 2001-08-27 Fred Fish <fnf@be.com>
10316
10317 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10318 __SIZE_TYPE__.
10319
10320 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10321
10322 * reload.c (find_reloads_toplev): Back out this change:
10323
10324 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
10325
10326 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10327 mem if the address is a mode_dependent_address_p.
10328
10329 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10330
10331 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10332 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10333 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10334 RTL constructions.
10335
10336 * genattr.c (main): New variable num_insn_reservations. Increase
10337 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10338 pipeline hazard recognizer interface.
10339
10340 * genattrtab.h: New file.
10341
10342 * genattrtab.c: Include genattrtab.h.
10343 (attr_printf, check_attr_test, make_internal_attr,
10344 make_numeric_value): Move protypes into genattrtab.h. Define them
10345 as external.
10346 (num_dfa_decls): New global variable.
10347 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10348 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10349 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10350 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10351
10352 * genautomata.c: New file.
10353
10354 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10355
10356 * sched-int.h: (curr_state): Add the external definition for
10357 automaton pipeline interface.
10358 (haifa_insn_data): Add comments for members blockage and units.
10359
10360 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10361 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10362 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10363 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10364 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10365 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10366 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10367 macros.
10368 (TARGET_SCHED): Use the new macros.
10369
10370 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10371 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10372 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10373 dfa_bubble): New members in gcc_target.sched.
10374
10375 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10376 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10377 (insn_queue): Redefine it as pointer to array.
10378 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10379 INSN_QUEUE_SIZE.
10380 (max_insn_queue_index_macro_value): New variable.
10381 (curr_state, dfa_state_size, ready_try): New varaibles for
10382 automaton interface.
10383 (ready_element, ready_remove, max_issue): New function prototypes
10384 for automaton interface.
10385 (choose_ready): New function prototype.
10386 (insn_unit, blockage_range): Add comments.
10387 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10388 FUNCTION_UNITS_SIZE == 0.
10389 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10390 actual_hazard, potential_hazard): Add comments.
10391 (insn_cost): Use cost -1 as undefined value. Remove
10392 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10393 pipeline interface.
10394 (ready_element, ready_remove): New functions for automaton
10395 interface.
10396 (schedule_insn): Add new code for automaton pipeline interface.
10397 (queue_to_ready): Add new code for automaton pipeline interface.
10398 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10399 (debug_ready_list): Print newline when the queue is empty.
10400 (max_issue): New function for automaton pipeline interface.
10401 (choose_ready): New function.
10402 (schedule_block): Add new code for automaton pipeline interface.
10403 Print ready list before scheduling each insn.
10404 (sched_init): Add new code for automaton pipeline interface.
10405 Initiate insn cost by -1.
10406 (sched_finish): Free the current automaton state and finalize
10407 automaton pipeline interface.
10408
10409 * sched-rgn.c: Include target.h.
10410 (init_ready_list, new_ready, debug_dependencies): Add new code for
10411 automaton pipeline interface.
10412
10413 * sched-vis.c: Include target.h.
10414 (get_visual_tbl_length): Add code for automaton interface.
10415 (target_units, print_block_visualization): Add comments.
10416
10417 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10418 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10419 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10420 (getruntime.o, genautomata.o): New entries.
10421 (genattrtab.o): Add new dependency file genattrtab.h.
10422 (genattrtab): Add new dependencies. Link it with `libm.a'.
10423 (getruntime.o, hashtab.o): New entries for canadian cross.
10424
10425 * doc/md.texi: Description of automaton based model.
10426
10427 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10428 Add comments.
10429 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10430 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10431 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10432 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10433 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10434 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10435 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10436 hook descriptions.
10437 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10438 MAX_DFA_ISSUE_RATE): New macro descriptions.
10439
10440 * doc/contrib.texi: Add dfa based scheduler contribution.
10441
10442 * doc/gcc.texi: Add more information about genattrtab.
10443
10444 2001-08-27 Diego Novillo <dnovillo@redhat.com>
10445
10446 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10447 an RTL basic block.
10448
10449 2001-08-27 Richard Henderson <rth@redhat.com>
10450
10451 * function.c (expand_function_end): Don't init arg_pointer_save_area.
10452 (get_arg_pointer_save_area): New. Create an init it here.
10453 (fix_lexical_addr): Use it.
10454 * function.h: Declare it.
10455 * builtins.c (expand_builtin_setjmp_receiver): Use it.
10456 * stmt.c (expand_nl_goto_receiver): Use it.
10457
10458 2001-08-27 Richard Henderson <rth@redhat.com>
10459
10460 * final.c (final_scan_insn): Don't enter APP_ON mode for
10461 empty asm strings.
10462
10463 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10464 alignment for assemble_integer for DW_EH_PE_aligned.
10465 * except.c (output_function_exception_table): Likewise.
10466
10467 2001-08-26 Andreas Jaeger <aj@suse.de>
10468
10469 * c-tree.h: Add prototyp for c_sizeof_nowarn.
10470
10471 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
10472
10473 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10474
10475 2001-08-27 Alan Modra <amodra@bigpond.net.au>
10476
10477 * config/rs6000/rs6000.c (mask_operand): Rewrite without
10478 bit-shifting loop.
10479 (mask64_operand): Likewise.
10480 (rldic_operand): Delete.
10481 (includes_lshift64_p): Delete.
10482 (includes_rldic_lshift_p): New function.
10483 (includes_rldicr_lshift_p): New function.
10484 (print_operand): Don't call rldic_operand in case 'W'.
10485 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10486 (includes_lshift64_p): Remove.
10487 (includes_rldic_lshift_p): Declare.
10488 (includes_rldicr_lshift_p): Declare.
10489 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10490 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10491 Replace match_operand rldic_operand predicate with
10492 const_int_operand. Replace includes_lshift64_p condition with
10493 includes_rldic_lshift_p.
10494 <ashldi3_internal 64 bit rldicr patterns>: New.
10495
10496 2001-08-27 Andreas Jaeger <aj@suse.de>
10497
10498 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10499 * errors.c: Likewise.
10500 * final.c: Likewise.
10501 * dwarf2asm.c: Likewise.
10502 * doprint.c (checkit): Likewise.
10503 * diagnostic.c: Likewise.
10504 * collect2.c: Likewise.
10505 * calls.c: Likewise.
10506 * c-semantics.c (build_stmt): Likewise.
10507 * c-format.c (status_warning): Likewise.
10508 * c-errors.c (pedwarn_c99): Likewise.
10509 * builtins.c (validate_arglist): Likewise.
10510 * config/pj/pj.c (pj_printf): Likewise.
10511 * fix-header.c: Likewise.
10512 * gcc.c: Likewise.
10513 * gcov.c (fnotice): Likewise.
10514 * gensupport.c (message_with_line): Likewise.
10515 * mips-tfile.c: Likewise.
10516 * protoize.c (notice): Likewise.
10517 * read-rtl.c (fatal_with_file_and_line): Likewise.
10518 * rtl-error.c: Likewise.
10519 * tradcpp.c: Likewise.
10520 * tree.c: Likewise.
10521 * cp/tree.c (build_min_nt): Likewise.
10522 (build_min): Likewise.
10523 * cp/lex.c: Likewise.
10524 * cp/errfn.c: Likewise.
10525 * cp/rtti.c (create_pseudo_type_info): Likewise.
10526
10527 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
10528
10529 * df.c (df_uses_record): Return after recording all uses
10530 in ASM_OPERANDS.
10531
10532 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
10533
10534 * df.c (df_insn_modify): Realloc the INSN table here, if
10535 necessary, here, too.
10536
10537 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
10538
10539 * config/mips/mips.c (mips_function_value): Handle complex return
10540 values.
10541
10542 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
10543
10544 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10545 unshared.
10546 * reload.c (make_memloc): Copy result if it is still
10547 reg_equiv_memory_loc[regno] on return.
10548 (subst_reloads) [ENABLE_CHECKING]: Check that none of
10549 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10550 reg_equiv_mem are modified by the substitutions.
10551
10552 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10553
10554 * predict.c (expensive_function_p): New.
10555 * rtl.h (expensive_function_p): Declare.
10556 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10557 (use_fast_prologue_epilogue): New static variable.
10558 (expand_prologue): Set it; emit short prologues if unset.
10559 (expand_epilogue): Likewise.
10560
10561 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10562
10563 * config.gcc: Add stormy16-*-elf case.
10564 * config/stormy16/stormy-abi: New file.
10565 * config/stormy16/stormy16-lib2.c: New file.
10566 * config/stormy16/stormy16-protos.h: New file.
10567 * config/stormy16/stormy16.c: New file.
10568 * config/stormy16/stormy16.h: New file.
10569 * config/stormy16/stormy16.md: New file.
10570 * config/stormy16/t-stormy16: New file.
10571
10572 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
10573
10574 * i386.h (no-accumulate-outgoing-args): Use proper mask.
10575
10576 2001-08-24 David Edelsohn <edelsohn@gnu.org>
10577
10578 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10579 descriptor members are pointer size, not constant 4.
10580 * config/rs6000/rs6000.md (define_splits): Remove more unused
10581 constraints.
10582
10583 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10584
10585 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10586
10587 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
10588
10589 * cp/rtti.c (VPARAMS): Fix parameter.
10590
10591 2001-08-24 Zack Weinberg <zackw@panix.com>
10592
10593 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10594 to zero.
10595 (mode_for_extraction): No need for #ifdefs. Add default-case abort
10596 to switch.
10597 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
10598 in if controlling use of insv.
10599 (extract_bit_field): Likewise, for extv and extzv.
10600
10601 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
10602
10603 * i386.md (movcc peep2): Fix load of 0.
10604
10605 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10606
10607 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10608 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10609
10610 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
10611
10612 * c-pragma.h: Move weak_syms and weak_decls...
10613 * varasm.c: ...here. Now static.
10614 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10615 depend on HANDLE_PRAGMA_WEAK.
10616
10617 * c-common.c (c_alignof, c_alignof_expr): Move here...
10618 * c-typeck.c: ...from here.
10619 * c-tree.h, c-common.h: Adjust.
10620
10621 2001-08-23 Bernd Schmidt <bernds@redhat.com>
10622
10623 * config/ia64/ia64.c (rws_update): If !pred, set write_count
10624 instead of incrementing it.
10625
10626 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10627 asm ready, don't try to move them all into the same array element.
10628
10629 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10630
10631 * function.c (thread_prologue_and_epilogue_insns): Avoid
10632 fallthru flag on edge to exit.
10633
10634 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10635
10636 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10637 dead edges.
10638
10639 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10640
10641 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10642 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10643 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10644 Remove prototype.
10645
10646 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10647
10648 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10649 replace "GNU CC" with "GCC".
10650
10651 2001-08-23 Richard Henderson <rth@redhat.com>
10652
10653 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10654 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
10655 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10656 Need GR between FR and not GR_AND_FR.
10657 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10658 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10659 AR regs before GR regs.
10660 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10661 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10662 (REGISTER_MOVE_COST): Update.
10663 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10664
10665 2001-08-23 Richard Henderson <rth@redhat.com>
10666
10667 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10668 a register class.
10669
10670 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10671
10672 * reload1.c (emit_reload_insns): Don't look for notes
10673 on a NULL store_insn.
10674
10675 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10676
10677 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10678 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10679 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10680 format specifier warnings.
10681 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10682
10683 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
10684
10685 * config/i386/i386-protos.h: Correct declaration of
10686 i386_pe_asm_named_section.
10687
10688 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10689
10690 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10691 variable i.
10692 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10693
10694 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10695
10696 * cpperror.c (print_location): Don't show _Pragma.
10697 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10698 and file change callback generation here.
10699 (stack_include_file): Update use of cpp_push_buffer.
10700 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10701 (struct cpp_buffer): Remove type, pfile members.
10702 * cppinit.c (cpp_handle_option): Use free_chain.
10703 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10704 (skip_escaped_newlines, get_effective_char, lex_percent): Take
10705 a cpp_reader rather than a cpp_buffer.
10706 (skip_escaped_newlines, get_effective_char, skip_block_comment,
10707 skip_line_comment, parse_string, lex_percent, lex_dot,
10708 _cpp_lex_token): Update accordingly.
10709 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10710 generation here.
10711 (cpp_push_buffer): Update prototype.
10712 (run_directive): Update use of cpp_push_buffer.
10713 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10714 handle_assertion): Update use of run_directive.
10715 * cpplib.h (enum cpp_buffer_type): Remove.
10716 (cpp_push_buffer): Update prototype.
10717 * fix-header.c (read_scan_file): Update.
10718
10719 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10720
10721 * gcc.c (struct prefix_list): Change prefix to const char *.
10722
10723 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10724
10725 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10726
10727 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
10728
10729 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10730 from a new MEM.
10731
10732 * jump.c (squeeze_notes): Take parms by reference. Handle END being
10733 a squeezable note.
10734 * rtl.h: Adjust.
10735 * ifcvt.c (dead_or_predicable): Adjust.
10736 * loop.c (find_and_verify_loops): Adjust.
10737 * stmt.c (expand_end_case): Adjust.
10738 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
10739 head and end insn pointers in the basic block, not just local copies.
10740 (merge_blocks_move_predecessor_nojumps): Likewise.
10741
10742 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
10743
10744 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10745 bitmap.h, builtin-types.def, builtins.c, builtins.def,
10746 c-aux-info.c, c-common.c, c-common.def, c-common.h,
10747 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10748 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10749 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10750 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10751 conditions.h, config.gcc, configure.frag, configure.in,
10752 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10753 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10754 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10755 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10756 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10757 emit-rtl.c, errors.c, errors.h, except.c, except.h,
10758 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10759 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10760 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10761 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10762 gencheck.c, gencodes.c, genconfig.c, genemit.c,
10763 genextract.c, genflags.c, gengenrtl.c, genmultilib,
10764 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10765 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10766 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10767 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10768 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10769 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10770 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10771 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10772 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10773 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10774 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10775 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10776 params.h, predict.c, predict.def, predict.h, prefix.c,
10777 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10778 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10779 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10780 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10781 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10782 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10783 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10784 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10785 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10786 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10787 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10788 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10789 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10790 xcoffout.h: replace "GNU CC" with "GCC".
10791
10792 2001-08-21 Richard Henderson <rth@redhat.com>
10793
10794 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10795 (final_scan_insn): Consider jump tables data even if we have no
10796 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
10797 ADDR_VEC_ALIGN.
10798 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10799 (ASM_OUTPUT_CASE_END): Remove.
10800 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10801 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10802 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10803
10804 2001-08-21 Richard Henderson <rth@redhat.com>
10805
10806 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
10807 at barrier insns. Emit stop bits before barriers.
10808
10809 * flow.c (flow_find_cross_jump): Don't consider unconditional
10810 return insns for commoning.
10811
10812 * final.c (compute_alignments): Fix typo.
10813
10814 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
10815 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
10816 (store_bit_field): Use mode_for_extraction more places.
10817 (extract_bit_field): Likewise.
10818
10819 2001-08-21 Zack Weinberg <zackw@panix.com>
10820
10821 * caller-save.c: Don't include insn-codes.h.
10822 (reg_save_code, reg_restore_code): Make arrays of int.
10823 All uses updated to match.
10824 (insert_save, insert_restore): No need to initialize "code"
10825 variable upon declaration.
10826 * Makefile.in: update dependencies; fix typo in clean rule.
10827
10828 2001-08-21 Richard Henderson <rth@redhat.com>
10829
10830 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
10831 (merge_if_block): Handle fallout from same.
10832
10833 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10834
10835 * builtins.c (type_to_class): Fix typo in last change.
10836
10837 2001-08-21 Richard Henderson <rth@redhat.com>
10838
10839 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
10840 ia64_asm_output_label.
10841
10842 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
10843 copy of gp while the real gp register contains garbage.
10844
10845 2001-08-21 Zack Weinberg <zackw@panix.com>
10846
10847 * expmed.c (mode_for_extraction): New function.
10848 (store_bit_field, extract_bit_field): Use it.
10849 * expr.h: Prototype it and provide an enum for its first argument.
10850
10851 * combine.c, function.c, recog.c: Don't include insn-codes.h.
10852 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
10853 and digging through the insn_data tables.
10854 * Makefile.in: Update dependencies.
10855
10856 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10857
10858 * cppfiles.c (stack_include_file): line-map.c now handles include
10859 depth.
10860 (handle_missing_handler): Similarly.
10861 (_cpp_execute_include): Similarly.
10862 (_cpp_pop_file_buffer): Similarly.
10863 * cpphash.h (struct cpp_reader): Remove system_include_depth,
10864 buffer_stack_depth and include_depth.
10865 * cpplib.c (do_include_common): line-map.c now handles include depth.
10866 (cpp_push_buffer): Similarly.
10867 (_cpp_pop_buffer): Similarly.
10868 * cppmacro.c (builtin_macro): Update.
10869 * line-map.c (init_line_maps): Set depth.
10870 (add_line_map): Increment "used" earlier. Update and use the
10871 include depth.
10872 (trace_include): Use the include depth.
10873 * line-map.h (struct line_maps): New member depth.
10874
10875 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10876
10877 * cppfiles.c (stack_include_file): Don't handle -H here.
10878 * cppinit.c (cpp_start_read): Set include tracing after
10879 cpp_post_options and after stacking the main file.
10880 * line-map.c (trace_include): New.
10881 (init_line_maps, add_line_map): Update.
10882 * line-map.h (struct line_maps): New member trace_includes.
10883
10884 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10885
10886 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
10887 * cppfiles.c (stack_include_file): Only stack a file if there
10888 is something to do. Return a boolean indicating whether a
10889 buffer was stacked or not.
10890 (_cpp_execute_include): Similarly.
10891 (_cpp_read_file): Similarly.
10892 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
10893
10894 2001-08-21 Sam Steingold <sds@gnu.org>
10895
10896 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
10897 (RECACHE): keep obufp_before_macroname up to date
10898
10899 2001-08-21 Zack Weinberg <zackw@panix.com>
10900
10901 * stmt.c: Don't include insn-codes.h.
10902 (expand_end_case): Machine specific logic moved to expr.c.
10903 No need to worry about __builtin_classify_type.
10904 (check_for_full_enumeration_handling, emit_case_nodes):
10905 Kill #if 0 blocks.
10906
10907 * builtins.o (expand_builtin_classify_type): Split up so code
10908 can be shared with fold_builtin_classify_type.
10909 (type_to_class, fold_builtin_classify_type): New functions.
10910 (fold_builtins): Handle __builtin_classify_type.
10911
10912 * expr.c (do_tablejump): Now static.
10913 (case_values_threshold, try_casesi, try_tablejump): New;
10914 code mostly from stmt.c (expand_end_case).
10915 (expr.h): Update prototypes.
10916
10917 * Makefile.in (stmt.o): Update dependencies.
10918
10919 2001-08-21 Will Cohen <wcohen@redhat.com>
10920
10921 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
10922 declaration of variable i.
10923 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
10924 declaration of variable i.
10925
10926 2001-08-21 Richard Henderson <rth@redhat.com>
10927
10928 * crtstuff.c: Fix thinko last change. Move list tails to start
10929 of CRT_END section. Tidy ifdefs.
10930 (__EH_FRAME_BEGIN__): Always static for ELF.
10931 (__do_global_ctors_1): Rename from __frame_dummy.
10932 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
10933 name change; don't hide __EH_FRAME_BEGIN__.
10934
10935 2001-08-21 Richard Henderson <rth@redhat.com>
10936
10937 * gdbinit.in: Move break on exit after break on fancy_abort.
10938
10939 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
10940 sized types.
10941
10942 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
10943
10944 * cpphash.h (_cpp_push_next_buffer): New.
10945 * cppinit.c (do_includes): Remove.
10946 (push_include, free_chain, _cpp_push_next_buffer): New.
10947 (cpp_start_read): Use them to rework command line option handling.
10948 (cpp_handle_option): Combine handling of -include and -imacros.
10949 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
10950 appropriate. Always insert missing \n at EOF.
10951 * cpplib.c (start_directive): Get the directive position right.
10952 * cppmain.c (cb_file_change): Always print the first line, unless
10953 preprocessed.
10954
10955 2001-08-20 Andreas Jaeger <aj@suse.de>
10956
10957 * profile.c (compute_branch_probabilities): Remove extra new-line
10958 in error message.
10959 * flow.c (verify_flow_info): Likewise.
10960
10961 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10962
10963 * basic-block.h (basic_block): Add new field 'flags'.
10964 (BB_REACHABLE): Define.
10965 (expunge_block): Declare.
10966 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
10967 (EXIT_BLOCK_PTR): Ditto.
10968 (expunge_block): Remove static declaration.
10969 (cleanup_cfg): Clear bb->aux on every basic block.
10970 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
10971 computing reachability.
10972 (delete_unreachable_blocks): Delete block b if b->flags has
10973 BB_REACHABLE unset.
10974
10975 2001-08-20 Diego Novillo <dnovillo@redhat.com>
10976
10977 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
10978
10979 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10980
10981 * sparc.c (sparc_variable_issue): Fix typo in last change.
10982
10983 2001-08-20 Richard Henderson <rth@redhat.com>
10984
10985 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
10986
10987 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
10988
10989 * pa.h (RETURN_IN_MEMORY): Improve comment.
10990
10991 2001-08-20 Janis Johnson <janis187@us.ibm.com>
10992
10993 * doc/invoke.texi (Profiling options): Clarify the interactions
10994 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
10995
10996 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
10997
10998 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
10999 command.
11000
11001 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11002
11003 * gcc.c (make_relative_prefix): Allocate a sufficiently large
11004 buffer.
11005
11006 2001-08-20 Richard Henderson <rth@redhat.com>
11007
11008 * final.c (end_final): Fix typo last change.
11009
11010 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
11011
11012 * cppinit.c (init_standard_includes): The returned buffer
11013 is already malloc-ed.
11014 * gcc.c (add_prefix): Similarly.
11015 * prefix.c (translate_name): Update to support clear buffer
11016 ownership rules.
11017 (update_path): Similarly. Be sure to free any newly allocated
11018 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11019 (tr): New function.
11020 * prefix.h (update_path): Update prototype and document.
11021 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11022 up and update to new buffer ownership rules.
11023 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11024
11025 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
11026
11027 * final.c (compute_alignments): New function.
11028 (init_insn_lengths): Do not care label_align.
11029 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11030 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11031 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11032 (shorted_branches): Realloc label_align array; do
11033 not call init_insn_lengths; Do not care about loop alignments.
11034 * output.h (compute_alignments): Declare.
11035 * toplev.c (rest_of_compilation): Call compute_alignments.
11036 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11037
11038 * predict.c (block_info_def): Add npredecesors, remove nvisited;
11039 change visited to tovisit.
11040 (propagate_freq): Use faster traversing algorithm.
11041 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11042 to tovisit; reverse meaning.
11043
11044 * predict.c (struct block_info_def): Remove nvisited.
11045 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11046 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11047
11048 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
11049
11050 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11051 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11052 (TARGET_FUSED_MADD): New.
11053 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11054 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11055 the multiply-add instructions.
11056
11057 2001-08-19 Richard Henderson <rth@redhat.com>
11058
11059 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
11060 is aligned to pointer size.
11061
11062 2001-08-19 Richard Henderson <rth@redhat.com>
11063
11064 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11065 display markers during final schedule.
11066
11067 2001-08-19 Richard Henderson <rth@redhat.com>
11068
11069 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11070
11071 2001-08-19 Richard Henderson <rth@redhat.com>
11072
11073 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11074 in the same string.
11075 (ASM_NAME_TO_STRING): Remove.
11076 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11077 in the same string. Remove support for expressions.
11078
11079 2001-08-19 Richard Henderson <rth@redhat.com>
11080
11081 * config/i386/i386.md (tablejump): Make an expander; handle
11082 pic relative addressing here.
11083 (tablejump_1): Rename from tablejump_pic.
11084 (casesi): Remove.
11085
11086 2001-08-19 Richard Henderson <rth@redhat.com>
11087
11088 * regclass.c (fix_register): Fix typo.
11089
11090 2001-08-18 Richard Henderson <rth@redhat.com>
11091
11092 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11093 (struct _Unwind_Context): Expand br_loc to hold it.
11094 (uw_frame_state_for): Handle leaf functions better.
11095 (uw_update_reg_address): Update for br_loc change.
11096
11097 2001-08-18 Richard Henderson <rth@redhat.com>
11098
11099 * crtstuff.c: Move list heads before code that uses them.
11100 (__JCR_LIST__): Remove initial null.
11101 (frame_dummy, __frame_dummy): Do java registration here ...
11102 (__do_global_ctors_aux): ... not here.
11103
11104 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11105 (__do_global_dtors_aux): Update to match.
11106 (__JCR_LIST__, __do_jv_register_classes): New.
11107 (.init): Call it.
11108 * config/ia64/crtend.asm (__JCR_END__): New.
11109 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11110 instead of an indirect LTOFF22 reloc.
11111
11112 2001-08-18 Richard Henderson <rth@redhat.com>
11113
11114 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11115 * regclass.c (init_reg_sets_1): Fix typo.
11116 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11117 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11118 (ia64_compute_frame_size): Make ar.unat live when in use.
11119 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11120 for ar.pfs; remove ar.unat handling.
11121 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11122 call-saved.
11123 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11124 * config/ia64/ia64-protos.h: Update decls.
11125 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11126 (sibcall_pic): Likewise.
11127
11128 2001-08-18 Richard Henderson <rth@redhat.com>
11129
11130 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11131 pred_rel_mutex when searching for insn_group_barrier.
11132 * config/ia64/ia64.md (cycle_display): Combine the expander
11133 and insn patterns.
11134
11135 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11136 bit before asm as needed.
11137
11138 2001-08-18 Richard Henderson <rth@redhat.com>
11139
11140 * timevar.def (TV_MACH_DEP): New.
11141 * toplev.c (rest_of_compilation): Use it.
11142 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11143
11144 2001-08-18 Zack Weinberg <zackw@panix.com>
11145
11146 * unwind-dw2.c (execute_stack_op): Add default aborts to
11147 the inner switches to prevent warnings.
11148
11149 2001-08-18 Richard Henderson <rth@redhat.com>
11150
11151 * timevar.h (struct timevar_time_def): Change element type to float.
11152 (ticks_to_msec, clocks_to_msec): Likewise.
11153 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11154 (get_time): Likewise.
11155 (timevar_print): Adjust zero check and printing to match.
11156
11157 2001-08-18 Zack Weinberg <zackw@panix.com>
11158
11159 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11160 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11161 Eliminate overfull or underfull hboxes.
11162
11163 2001-08-18 Zack Weinberg <zackw@panix.com>
11164
11165 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11166
11167 2001-08-18 Zack Weinberg <zackw@panix.com>
11168
11169 * haifa-sched.c: Convert to target hooks. Macros replaced
11170 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11171 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11172 MD_SCHED_FINISH, and HAVE_cycle_display.
11173 * target-def.h (TARGET_SCHED_ADJUST_COST,
11174 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11175 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11176 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11177 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11178 New hook #defines to be overridden.
11179 (TARGET_SCHED): Bring them all together.
11180 (TARGET_INITIALIZER): Update.
11181 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
11182 instead of 'struct rtx_def *' throughout.
11183 (struct sched): New set of hooks for the scheduler.
11184 * Makefile.in (haifa-sched.o): Depend on target.h.
11185 * doc/tm.texi: Document the new scheduler hooks, together in
11186 their own section, instead of scattered around.
11187 Fix a bunch of underfull/overfull hboxes.
11188
11189 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11190 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11191 sparc.h: Don't define any of the old scheduler macros.
11192
11193 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11194 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11195 sparc.c: Create hook functions from code extracted from
11196 corresponding target header, or make existing hooks static, as
11197 appropriate. Set the appropriate entries in targetm.
11198
11199 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11200 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11201 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11202 Remove prototypes for functions which are now static.
11203
11204 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11205 related gunk; the Haifa scheduler is now the only choice.
11206
11207 2001-08-18 Zack Weinberg <zackw@panix.com>
11208
11209 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11210 * genopinit.c: Put floating point divide insns in sdiv_optab.
11211 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11212 * config/gofast.h, config/c4x/c4x.h,
11213 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11214 config/pa/long_double.h, config/rs6000/sysv4.h,
11215 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11216 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11217 (init_optabs): Use init_optabv for overflow-trapping optabs.
11218 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11219 cmp_optab RTX codes so have_insn_for can find them.
11220
11221 * optabs.c (expand_simple_binop, expand_simple_unop,
11222 have_insn_for, gen_sub3_insn): New interfaces.
11223 * expr.h: Prototype new functions.
11224 (enum optab_methods): Move here from optabs.h.
11225
11226 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11227 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11228 Use new functions instead of working directly with optabs.
11229 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11230 unroll.c: Don't include optabs.h.
11231 * caller-save.c, combine.c, function.c, stmt.c: Just include
11232 insn-codes.h, not optabs.h.
11233 * Makefile.in: Update dependencies.
11234
11235 * combine.c (make_compound_operation, simplify_comparison):
11236 Fix typos testing for this or that instruction.
11237
11238 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11239
11240 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11241 generating libgcc.a.
11242
11243 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11244
11245 * except.c (TYPE_HASH): Delete.
11246
11247 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11248 HOST_WIDE_INT.
11249
11250 * tree.c (TYPE_HASH): Delete.
11251
11252 * tree.h (TYPE_HASH): Define.
11253
11254 2001-08-18 Graham Stott <grahams@redhat.com>
11255
11256 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11257 define_split.
11258 (adddi3_internal_2+2): Likewise.
11259 (eh_set_lr_di+1): Likewise.
11260
11261 2001-08-17 Richard Henderson <rth@redhat.com>
11262
11263 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11264 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11265 * dwarf2asm.c: ... here.
11266 * dwarfout.c: Remove them.
11267
11268 * varasm.c (assemble_integer): Add align parameter.
11269 (assemble_real, output_constant, output_constructor): Likewise.
11270 * output.h: Update decls.
11271 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11272 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11273 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11274 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11275 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11276 Update all callers.
11277
11278 * final.c (end_final): Abort profile block generation if we
11279 haven't layed it out properly.
11280 * output.h (assemble_eh_integer): Remove stale decl.
11281 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11282 (min_align): New.
11283 (assemble_integer): Handle unaligned data.
11284 (assemble_real): Abort on unaligned data.
11285 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11286 anything useful.
11287 (default_dtor_section_asm_out_destructor): Use assemble_align.
11288 (default_named_section_asm_out_constructor): Likewise.
11289 (default_ctor_section_asm_out_constructor): Likewise.
11290 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11291 (machopic_asm_out_destructor): Likewise.
11292 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11293 (nextstep_asm_out_destructor): Likewise.
11294 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11295 (vms_asm_out_destructor): Likewise.
11296
11297 2001-08-17 Richard Henderson <rth@redhat.com>
11298
11299 * config/mips/iris6.h (TARGET_IRIX6): New.
11300 (current_section_name, current_section_flags): New.
11301 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11302 (MAX_OFILE_ALIGNMENT): New.
11303 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11304 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11305 (copy_file_data): Split out from
11306 (mips_asm_file_end): ... here.
11307 (mips_asm_file_start): Remove extra .section directive. Use
11308 tmpfile instead of mips_make_temp_file.
11309 (mips_unique_section): Use const char * as needed for warnings.
11310 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11311 re-add align parameter.
11312 (iris6_asm_named_section): New.
11313 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11314 (iris6_asm_output_align, iris6_section_align_1): New.
11315 (iris6_asm_file_start, iris6_asm_file_end): New.
11316 * config/mips/mips-protos.h: Update decls.
11317
11318 2001-08-17 Janis Johnson <janis187@us.ibm.com>
11319
11320 * doc/install.texi (Install GCC): Add links to build status pages.
11321 (Specific): Ditto.
11322 (Final install): Ditto; request updates for specific info
11323
11324 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
11325
11326 * cpperror.c (print_location): Don't take a file name; use the
11327 line map instead.
11328 (_cpp_begin_message): Similarly.
11329 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11330 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11331 (cpp_pedwarn_with_file_and_line): Remove.
11332 * cppfiles.c (stack_include_file): Update; set filename to stdin
11333 here when appropriate.
11334 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11335 (_cpp_begin_message): Don't take a file name.
11336 * cppinit.c: Add comment.
11337 * cpplex.c: Fix end-of-directive indicator.
11338 * cpplib.c: Don't include intl.h.
11339 (run_directive, do_diagnostic): Update.
11340 (do_line): Update to not use nominal_fname.
11341 (cpp_push_buffer): Don't take a filename.
11342 * cpplib.h (struct ht): Remove.
11343 (cpp_push_buffer): Don't take a filename.
11344 (cpp_pedwarn_with_file_and_line): Remove.
11345 * cppmacro.c (struct cpp_macro): Remove file.
11346 (builtin_macro): Update.
11347 (_cpp_create_definition): Update.
11348 * cppmain.c: Correct comment.
11349 * fix-header.c (read_scan_file): Update.
11350
11351 2001-08-17 Kazu Hirata <kazu@hxi.com>
11352
11353 * sbitmap.c: Fix comment formatting.
11354 * sched-deps.c: Likewise.
11355 * sibcall.c: Likewise.
11356 * simplify-rtx.c: Likewise.
11357 * ssa.c: Likewise.
11358 * ssa-ccp.c: Likewise.
11359 * stor-layout.c: Likewise.
11360 * timevar.c: Likewise.
11361 * toplev.c: Likewise.
11362 * unwind-dw2.c: Likewise.
11363 * unwind-dw2-fde.c: Likewise.
11364 * varasm.c: Likewise.
11365
11366 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
11367
11368 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11369 or larger than an integer in memory.
11370
11371 2001-08-17 Zack Weinberg <zackw@panix.com>
11372
11373 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11374 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
11375 * rtl.h: Don't forward-declare union tree_node here. Don't
11376 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
11377 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11378 and tree respectively.
11379 * tree.h: Don't forward-declare struct rtx_def here. Don't
11380 typedef tree here. Change all uses of struct rtx_def *,
11381 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11382 and tree respectively.
11383
11384 2001-08-17 Richard Henderson <rth@redhat.com>
11385
11386 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11387 config/mips/openbsd.h: Fix typos last change.
11388
11389 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11390
11391 * doc/invoke.texi (Optimize Options): The default for
11392 -finline-limit is 600.
11393
11394 2001-08-17 Richard Henderson <rth@redhat.com>
11395
11396 * varasm.c (text_section): Allow TEXT_SECTION to override the
11397 printing of TEXT_SECTION_ASM_OP.
11398 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11399 (DATA_SECTION, BSS_SECTION): Remove.
11400 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11401 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11402 Rename from s/_NAME//.
11403 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11404 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11405 (TEXT_SECTION): ... here. New.
11406 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11407 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11408 * config/mips/openbsd.h: Likewise.
11409 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11410 (mips_asm_file_end): Likewise test.
11411 (mips_output_function_epilogue): Likewise. Switch back to data
11412 section after emitting the function.
11413
11414 * doc/tm.texi (Sections): Document TEXT_SECTION.
11415
11416 2001-08-17 Richard Henderson <rth@redhat.com>
11417
11418 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11419 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
11420
11421 2001-08-17 Richard Henderson <rth@redhat.com>
11422
11423 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11424 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11425 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11426 Add aligned attribute.
11427
11428 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
11429
11430 * config/sh/sh.md: Add modes to unspecs in first insn to match
11431 those in the second.
11432
11433 * Makefile.in: Fix collect2 copy for Cygwin.
11434
11435 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11436
11437 Install the proper patch.
11438 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11439 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11440 (expand_function_start): Likewise.
11441 * stmt.c (expand_decl): Likewise.
11442 * varasm.c (make_decl_rtx): Likewise.
11443
11444 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11445
11446 * final.c: Undo my previous accidental checkin.
11447 * output.h: Likewise.
11448 * tm.texi: Likewise.
11449
11450 2001-08-16 Richard Henderson <rth@redhat.com>
11451
11452 * varasm.c (named_section_flags): Remove align parameter.
11453 * varasm.c, dwarf2out.c: Update all callers.
11454 * output.h: Update prototypes.
11455
11456 * target.h (target.asm_out.named_section): Remove align parameter.
11457 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11458 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11459 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11460 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11461 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11462
11463 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11464 (get_named_section_flags, set_named_section_flags): New.
11465 (named_section_flags): Use them.
11466 (named_section): Do decl vs section flags check here...
11467 (default_section_type_flags): ... not here.
11468 (init_varasm_once): Create in_named_htab.
11469 (resolve_unique_section): Mark reloc unused.
11470
11471 2001-08-16 Richard Henderson <rth@redhat.com>
11472
11473 * varasm.c (force_const_mem): Keep pool alignment in bits.
11474 (output_constant_pool): Use assemble_align.
11475
11476 2001-08-16 Zack Weinberg <zackw@panix.com>
11477
11478 * doc/tm.texi: Remove extra @table command.
11479
11480 2001-08-16 Zack Weinberg <zackw@panix.com>
11481
11482 * final.c (shorten_branches): Clear the end of the label_align
11483 array only if we made it larger. Break up messy expressions
11484 for clarity.
11485
11486 * diagnostic.c (internal_error): Check for error recursion
11487 before doing ICE suppression.
11488
11489 * timevar.c: Timing variables now count in milliseconds.
11490 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11491 (get_time): Not here.
11492 (timevar_print): Don't print any timer whose user, cpu, and
11493 wall times are all zero as displayed.
11494 * timevar.h: Update comment aboout units. Make timevar
11495 counters unsigned.
11496
11497 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
11498
11499 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11500 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11501 (expand_function_start): Likewise.
11502 * stmt.c (expand_decl): Likewise.
11503 * varasm.c (make_decl_rtx): Likewise.
11504
11505 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
11506
11507 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11508 (finalize_record_size): Don't set TYPE_USER_ALIGN.
11509
11510 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11511
11512 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11513 variables.
11514
11515 2001-08-16 Andreas Jaeger <aj@suse.de>
11516
11517 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11518 prototype.
11519
11520 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
11521
11522 * rtl.h (only_sets_cc0_p): New prototype.
11523 * jump.c (sets_cc0_p): Handle INSN.
11524 (only_sets_cc0_p): New function.
11525 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11526 (tidy_fallthru_edge): Likewise.
11527 * integrate.c (copy_insn_list): Likewise.
11528 * unroll.c (unroll_loop): Likewise.
11529 (copy_loop_body): Likewise.
11530
11531 2001-08-15 Jason Eckhardt <jle@redhat.com>
11532
11533 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11534
11535 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
11536
11537 * predict.c (struct block_info_def): Remove nvisited.
11538 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11539 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11540
11541 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11542 (ix86_adjust_cost): Teach scheduler that latency to load operand can
11543 be masked.
11544
11545 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
11546
11547 * predict.def: Update hitrates.
11548
11549 2001-08-15 Richard Henderson <rth@redhat.com>
11550
11551 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11552
11553 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
11554
11555 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11556 note from its associated jump.
11557
11558 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
11559
11560 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11561 also on 64-bit s390x targets.
11562
11563 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
11564
11565 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11566 function.
11567 (arm_expand_prologue): Handled nested functions which take a
11568 variable argument list.
11569 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11570 macro with an invocation of
11571 arm_compute_initial_elimination_offset.
11572 * config/arm/arm-protos.h: Prototype
11573 arm_compute_initial_elimination_offset.
11574
11575 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11576
11577 * doc/install.texi (Specific, avr): Fix markup.
11578 (Specific, c4x): Ditto.
11579
11580 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11581
11582 * predict.c (dump_prediction): Change `bool' parameter to `int'.
11583
11584 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
11585
11586 * Makefile.in (OBJS): Add rtl-error.o
11587 (rtl-error.o): New rule.
11588 (diagnostic.o): Adjust dependency.
11589 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11590 error_for_asm, _fatal_insn, _fatal_insn_not_found,
11591 warning_for_asm): Move to...
11592 rtl-error.c: ...here. New file.
11593
11594 2001-08-14 Richard Henderson <rth@redhat.com>
11595
11596 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11597 if USING_SJLJ_EXCEPTIONS.
11598
11599 2001-08-14 Steve Ellcey <sje@cup.hp.com>
11600
11601 * tlink.c (scan_linker_output): Check string for unsatisfied in
11602 addition to undefined and unresolved.
11603
11604 2001-08-14 Graham Stott <grahams@redhat.com>
11605
11606 * libgcc2.c (*): Replace EH_FRAME_SECTION with
11607 EH_FRAME_SECTION_NAME.
11608
11609 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11610
11611 * genattrtab.c (simplify_test_exp_in_temp): New function.
11612 (simplify_test_exp): Avoid explicit use of temporary obstack.
11613 (simplify_cond, insert_right_side, evaluate_eq_attr,
11614 simplify_and_tree, simplify_or_tree, eliminate_known_true):
11615 Use simplify_test_exp_in_temp.
11616 (optimize_attrs): Iterate until expression stabilizes.
11617
11618 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
11619
11620 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11621 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11622
11623 2001-08-13 Richard Henderson <rth@redhat.com>
11624
11625 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11626 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11627 * config/arm/conix-elf.h: Likewise.
11628
11629 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11630
11631 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11632 in gcc.c.
11633 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11634
11635 * gcse.c (hash_scan_set): Expressions that are set as part of
11636 jump instructions are not available.
11637
11638 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
11639
11640 * config/s390/s390.c (print_operand, s390_function_prologue,
11641 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11642
11643 2001-08-13 Richard Henderson <rth@redhat.com>
11644
11645 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11646 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11647 * doc/tm.texi (Exception Region Output): Document it.
11648
11649 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11650
11651 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11652 DWARF2 instead of stabs by default.
11653
11654 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11655
11656 * config/rs6000/rs6000.c: Include optabs.h.
11657
11658 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11659
11660 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11661 save/restore routines.
11662 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11663
11664 2001-08-13 Andreas Jaeger <aj@suse.de>
11665
11666 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11667 the english is correct.
11668
11669 2001-08-13 Zack Weinberg <zackw@panix.com>
11670
11671 * expr.h: Split out optab- and libfunc-related code to...
11672 * optabs.h, libfuncs.h: ... these new headers.
11673
11674 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11675 (OPTABS_H): New.
11676 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11677 dependencies.
11678 * mkconfig.sh: Don't include insn-codes.h from config.h.
11679
11680 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11681 enum insn_code is available. Move reload_in_optab and
11682 reload_out_optab array declarations to optabs.h.
11683 * regmove.c (gen_add3_insn): Move to optabs.c, export from
11684 there, prototype in expr.h.
11685 * gencodes.c: Cleanup: zap global variables, don't use
11686 printf where puts will do, don't bother defining MAX_INSN_CODE
11687 which nothing uses, let CODE_FOR_nothing get its value implicitly.
11688
11689 * genemit.c, genopinit.c: Include optabs.h in generated file.
11690 * genoutput.c: Include insn-codes.h in generated file.
11691 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11692 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11693 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11694 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11695 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11696 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11697 Include optabs.h.
11698 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11699 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11700 config/m88k/m88k.c, config/sparc/sparc.c:
11701 Include libfuncs.h.
11702 * reload.c: Include expr.h and optabs.h before reload.h.
11703 * config/alpha/alpha.c: Include tree.h before reload.h.
11704 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11705 and reload.h in that order.
11706 * config/sparc/sparc.c: Include debug.h.
11707 * recog.c: Include insn-codes.h.
11708
11709 2001-08-13 Andreas Jaeger <aj@suse.de>
11710
11711 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11712 s390*linux.
11713
11714 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11715
11716 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11717 * gcc.c (init_spec): Fix typo in comment.
11718 * varasm.c (data_section): Fix typo in comment.
11719
11720 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
11721
11722 * predict.c (dump_prediction): New argument "USED".
11723 (combine_predictions_for_insn): Determine the used heuristics,
11724 output the case no heuristic applied.
11725 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11726
11727 2001-08-13 Andreas Jaeger <aj@suse.de>
11728
11729 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11730 register %rip.
11731
11732 2001-08-13 Kazu Hirata <kazu@hxi.com>
11733
11734 * jump.c: Fix formatting.
11735
11736 2001-08-13 Kazu Hirata <kazu@hxi.com>
11737
11738 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11739 length.
11740
11741 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
11742
11743 * loop.c (check_dbra_loop): Use condjump_label to compute
11744 jump_label.
11745
11746 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11747 to better document the files they're in.
11748
11749 2001-08-12 Zack Weinberg <zackw@panix.com>
11750
11751 * recog.h (struct insn_operand_data): Shrink 'mode' field
11752 to 16 bits.
11753
11754 2001-08-12 Kazu Hirata <kazu@hxi.com>
11755
11756 * gcc.c: Fix comment formatting.
11757 * gccspec.c: Likewise.
11758 * gcov.c: Likewise.
11759 * gcse.c: Likewise.
11760 * genemit.c: Likewise.
11761 * gengenrtl.c: Likewise.
11762 * genrecog.c: Likewise.
11763 * gensupport.c: Likewise.
11764 * ggc-page.c: Likewise.
11765 * global.c: Likewise.
11766 * graph.c: Likewise.
11767 * ifcvt.c: Likewise.
11768 * integrate.c: Likewise.
11769 * lcm.c: Likewise.
11770 * libgcc2.c: Likewise.
11771 * loop.c: Likewise.
11772 * mbchar.c: Likewise.
11773 * optabs.c: Likewise.
11774 * predict.c: Likewise.
11775 * prefix.c: Likewise.
11776 * profile.c: Likewise.
11777 * protoize.c: Likewise.
11778 * real.c: Likewise.
11779 * recog.c: Likewise.
11780 * regclass.c: Likewise.
11781 * regmove.c: Likewise.
11782 * reg-stack.c: Likewise.
11783 * reload1.c: Likewise.
11784 * resource.c: Likewise.
11785 * rtlanal.c: Likewise.
11786 * rtl.c: Likewise.
11787
11788 2001-08-12 Kazu Hirata <kazu@hxi.com>
11789
11790 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11791 a tree representing a constant is passed to the macro.
11792
11793 2001-08-12 Richard Henderson <rth@redhat.com>
11794
11795 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11796 (rs6000_elf_asm_out_destructor): New.
11797 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11798 (DTORS_SECTION_ASM_OP): Remove.
11799 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11800 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11801
11802 2001-08-12 David Edelsohn <edelsohn@gnu.org>
11803
11804 Revert:
11805 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11806 * gcc.c (set_collect_gcc_options): New function, split out from
11807 main.
11808 Ignore elided switches.
11809 (do_spec_1): Invoke before executing command.
11810 (set_input): Export.
11811 Move declaration ...
11812 * gcc.h (set_input): ... here.
11813 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11814 file.
11815
11816 2001-08-12 Richard Henderson <rth@redhat.com>
11817
11818 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
11819 thinko wrt TARGET_RELOCATABLE.
11820
11821 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
11822
11823 * fix-header.c (cb_file_change): Update prototype.
11824
11825 2001-08-11 Zack Weinberg <zackw@panix.com>
11826
11827 * toplev.c (set_float_handler): Make static.
11828 * toplev.h: Don't prototype set_float_handler.
11829
11830 * simplify-rtx.c: Don't include setjmp.h.
11831 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
11832 New functions.
11833 (simplify_unary_operation, simplify_binary_operation): Use them,
11834 via do_float_handler.
11835
11836 * fold-const.c: Don't include setjmp.h.
11837 (exact_real_inverse_1): New function.
11838 (exact_real_inverse): Use it, via do_float_handler.
11839
11840 * varasm.c: Don't include setjmp.h.
11841 (assemble_real_1): New function.
11842 (assemble_real): Use it, via do_float_handler.
11843 Call internal_error if we get a trap here.
11844
11845 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
11846 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
11847
11848 2001-08-11 Zack Weinberg <zackw@panix.com>
11849
11850 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
11851 STACK_BOUNDARY if not already defined.
11852
11853 * calls.c, function.c, reload1.c, explow.c: Don't default
11854 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
11855 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
11856
11857 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
11858 to run-time test.
11859
11860 * doc/tm.texi: Document that STACK_BOUNDARY is required;
11861 clarify difference between it and PREFERRED_STACK_BOUNDARY.
11862
11863 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11864
11865 * cppmacro.c (enter_macro_context): Push macro expansions even
11866 if empty.
11867
11868 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11869
11870 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
11871 (rs6000_elf_section_type_flags): Actually return a value.
11872
11873 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11874
11875 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
11876 Clean up code: add missing comments and prototypes, fix warnings,
11877 remove obsolete code, fix spacing to conform to coding style.
11878
11879 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
11880
11881 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
11882 and TARGET_ASM_CLOSE_PAREN.
11883 (regclass_map): CC register belongs to class NO_REGS.
11884 (legitimize_pic_address): Don't generate unnecessary moves
11885 (to avoid confusing loop optimization).
11886 (check_and_change_labels): Replace jump_long by indirect_jump.
11887 (s390_final_chunkify): Don't start a new literal pool on section
11888 switch in 64-bit code.
11889 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
11890
11891 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
11892 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
11893 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
11894 modes correctly.
11895 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
11896 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
11897 (CONST_COSTS): Fixed incorrect costs.
11898
11899 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
11900 Use emit_jump instead of emit_jump_insn (gen_jump).
11901 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
11902 (to avoid confusing flow analysis).
11903 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
11904 (casesi, casesi_jump): New.
11905 (jump_long): Removed. Functionality merged into indirect_jump.
11906 (indirect_jump): Accept address_operand, not just register_operand.
11907 (cjump_long, icjump_long): Use same logic as indirect_jump.
11908 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
11909 Fixed broken setjmp/longjmp handling.
11910 (do_builtin_setjmp_setup): Removed.
11911
11912 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
11913 broken GNU as versions that don't accept .quad with large
11914 negative values. Use hexadecimal output instead.
11915 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
11916 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
11917 FUNCTION_EPILOGUE): Removed. Now in targetm.
11918
11919 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
11920
11921 * config/s390/fixdfdi.h: Add missing copyright statement.
11922 Fix type conflicts on 64-bit. Add missing SFmode routines.
11923
11924 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
11925 email address.
11926
11927 2001-08-11 Richard Henderson <rth@redhat.com>
11928
11929 * rtl.h (REG_EH_RETHROW): Remove.
11930 * rtl.c (reg_note_name): Update.
11931 * combine.c (distribute_notes): Don't check for it.
11932
11933 2001-08-11 Richard Henderson <rth@redhat.com>
11934
11935 * combine.c (distribute_notes): Place REG_SETJMP.
11936
11937 2001-08-11 Richard Henderson <rth@redhat.com>
11938
11939 * doc/extend.texi (Arrays and pointers implementation): Discourage
11940 relying on sign-extension of pointers.
11941
11942 2001-08-11 H.J. Lu <hjl@gnu.org>
11943
11944 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
11945 in_dtors.
11946 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
11947 RDATA_SECTION_ASM_OP.
11948
11949 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11950
11951 * doc/install.texi (Specific, c4x): Fix cross-reference to the
11952 main manual to work both for info and HTML versions.
11953
11954 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11955 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11956
11957 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
11958 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
11959 (struct cpp_pool): New member first.
11960 * cppinit.c (append_include_chain): Plug memory leaks.
11961 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
11962 Allocate pragma structures from the (aligned) macro pool to
11963 avoid leaking memory.
11964 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
11965 so we don't leak memory.
11966 * hashtable.c (ht_destroy): New.
11967 * hashtable.h (ht_destroy): New.
11968
11969 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
11970 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11971
11972 * c-lex.c (map): Make const.
11973 (cb_file_change): Update for callback passing a line map.
11974 Don't assume we have a previous map. Remove sanity check
11975 about popping too many files.
11976 * cpperror.c (print_location): Make map const.
11977 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
11978 (cpp_make_system_header): Similarly.
11979 (search_from): Similarly.
11980 (_cpp_execute_include): Don't remember where we came from.
11981 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
11982 (struct cpp_reader): Make map const.
11983 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
11984 * cpplib.c (do_line): Update; line maps now hold sysp.
11985 (cpp_push_buffer): Similarly.
11986 (_cpp_do_file_change): Similarly; callback with map instead.
11987 (cpp_get_line_maps): Constify return value.
11988 (_cpp_pop_buffer): Update.
11989 * cpplib.h (struct cpp_file_change): Remove.
11990 (struct cpp_callbacks): Update.
11991 (cpp_get_line_maps): Constify return value.
11992 * cppmacro.c (_cpp_create_definition): Update.
11993 * cppmain.c (struct printer): Constify map.
11994 (maybe_print_line): Similarly.
11995 (print_line): Similarly. Deduce flags 1 and 2 here.
11996 (cb_file_change): Update.
11997 * line-map.c (free_line_maps): Warn regardless.
11998 (add_line_map): Return pointer to const. When passed NULL to_file
11999 with LC_LEAVE, use the obvious values for the return point so the
12000 caller doesn't have to figure them out.
12001 (lookup_line): Return pointer to const.
12002 (print_containing_files): Take pointer to const.
12003 * line-map.h (struct line_map): New members reason, sysp.
12004 (add_line_map): Return pointer to const.
12005 (lookup_line): Similarly.
12006 (print_containing_files): Take pointer to const.
12007
12008 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
12009 Richard Henderson <rth@redhat.com>
12010
12011 * regmove.c (regmove_optimize): Avoid setting a register twice in
12012 a parallel set.
12013
12014 2001-08-10 Richard Henderson <rth@redhat.com>
12015
12016 * doc/extend.texi (Arrays and pointers implementation): Document
12017 behavior of pointer/integer conversion.
12018
12019 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
12020
12021 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
12022
12023 2001-08-10 Richard Henderson <rth@redhat.com>
12024
12025 * doc/extend.texi (C Implementation): New chapter.
12026 * doc/gcc.texi (Top): Link it in.
12027
12028 2001-08-10 Andrew Cagney <ac131313@redhat.com>
12029
12030 * doc/install.texi (Specific): Fix CVS merge botch.
12031
12032 2001-08-10 Richard Henderson <rth@redhat.com>
12033
12034 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12035 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12036
12037 2001-08-10 Zack Weinberg <zackw@stanford.edu>
12038
12039 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12040 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
12041 this macro is now required.
12042
12043 * cselib.c (cselib_process_insn), flow.c (propagate_block),
12044 loop.c (find_and_verify_loops), reload.c (reload): Check
12045 for rtx code of CALL_INSN, not CALL, when deciding if we
12046 need to check for REG_SETJMP note.
12047
12048 * gcse.c (compute_hash_table, compute_store_table): Update
12049 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12050 logic.
12051
12052 * config/avr/avr.c: Fix typo.
12053 * config/convex/convex.c (expand_movstr): Use adjust_address.
12054 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12055 variable.
12056 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12057 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12058 Fix typo.
12059 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12060 Do define STACK_BOUNDARY.
12061 * config/i370/i370.c: Include expr.h.
12062 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12063 config/pa/som.h, config/v850/v850.h: Take in_ctors and
12064 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12065 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12066 * config/m88k/m88k.c: Include c-tree.h after expr.h.
12067 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12068 * config/romp/romp.c: Include expr.h after tree.h.
12069 Include toplev.h.
12070 (output_fpop): Use xmalloc, not oballoc.
12071 * config/we32k/we32k.c: Include expr.h.
12072
12073 2001-08-10 Kazu Hirata <kazu@hxi.com>
12074
12075 * config/h8300/h8300.h: Fix formatting.
12076
12077 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12078
12079 * c-common.h (RETURN_NULLIFIED_P): Lose.
12080 * c-semantics.c (genrtl_return_stmt): Don't check it.
12081
12082 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12083
12084 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12085 (mips_annotate_frame_insn): New function.
12086 (mips_emit_frame_related_store): New function.
12087 (save_restore_insns): Don't mark instructions that set up the base
12088 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
12089 the store instructions instead.
12090 (mips_expand_prologue): If the stack size is moved into a temporary
12091 register, do not mark that move as frame-related. Add a
12092 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12093
12094 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12095
12096 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12097 stack slot as unchanging if current_function_calls_eh_return.
12098
12099 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12100
12101 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12102 access the second half of the TFmode scratch operand.
12103
12104 2001-08-10 Anthony Green <green@redhat.com>
12105
12106 * java/class.c (emit_register_classes): Conditionalize code on
12107 JCR_SECTION_NAME.
12108
12109 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12110
12111 * doc/install.texi (Specific, avr): Fix cross-reference to the
12112 main manual to work both for info and HTML versions.
12113
12114 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12115
12116 * stmt.c (expand_null_return_1): Remove code to generate simple returns
12117 and "use_goto" argument.
12118 (expand_null_return, expand_value_return): Update all callers.
12119 * function.c (expand_function_end): Remove code to generate simple
12120 return.
12121 * config/vax/vax.md (epilogue): New expander for function return.
12122 * doc/md.texi (epilogue): Remove "if defined".
12123
12124 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12125
12126 * Makefile.in: Partially revert my previous change:
12127 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12128 of the hashtab.o and safe-ctype.o rules.
12129
12130 2001-08-09 Richard Henderson <rth@redhat.com>
12131
12132 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12133 (USE_COLLECT2): Remove duplicate definition.
12134 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12135 (use_collect2): Remove dead code.
12136 * configure.in (use_collect2): Remove will_use_collect2 and
12137 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12138 * configure: Rebuild.
12139
12140 * target.h (targetm.asm_out.constructor): New.
12141 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12142 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12143 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12144 * varasm.c (in_ctors, in_dtors): New.
12145 (assemble_constructor, assemble_destructor): Remove.
12146 (default_stabs_asm_out_destructor): New.
12147 (default_named_section_asm_out_destructor): New.
12148 (dtors_section, default_dtor_section_asm_out_destructor): New.
12149 (default_stabs_asm_out_constructor): New.
12150 (default_named_section_asm_out_constructor): New.
12151 (ctors_section, default_ctor_section_asm_out_constructor): New.
12152 * output.h: Update declarations.
12153 * c-decl.c (c_expand_body): Use target hooks instead of
12154 assemble_constructor and assemble_destructor.
12155 * profile.c (output_func_start_profiler): Likewise.
12156 * objc/objc-act.c (finish_objc): Likewise.
12157 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12158 for the constructor.
12159 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12160
12161 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12162 (DTORS_SECTION_ASM_OP): Likewise.
12163 (__CTOR_LIST__): Use attribute section when possible.
12164 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12165
12166 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12167 ASM_OUTPUT_CONSTRUCTOR.
12168
12169 * config/darwin.c (machopic_asm_out_constructor): New.
12170 (machopic_asm_out_destructor): New.
12171 * config/darwin-protos.h: Update declarations.
12172 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12173 (ASM_OUTPUT_DESTRUCTOR): Remove.
12174 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12175 * config/nextstep.c (nextstep_asm_out_constructor): New.
12176 (nextstep_asm_out_destructor): New.
12177 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12178 (ASM_OUTPUT_DESTRUCTOR): Remove.
12179 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12180 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12181 ASM_OUTPUT_*STRUCTOR.
12182 * config/i386/aix386ng.h: Likewise.
12183
12184 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12185 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12186 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12187 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12188 * config/lynx.h: Likewise.
12189 * config/netware.h: Likewise.
12190 * config/psos.h: Likewise.
12191 * config/alpha/alpha-interix.h: Likewise.
12192 * config/alpha/elf.h: Likewise.
12193 * config/arc/arc.h: Likewise.
12194 * config/arm/aof.h: Likewise.
12195 * config/arm/coff.h: Likewise.
12196 * config/arm/elf.h: Likewise.
12197 * config/c4x/c4x.h: Likewise.
12198 * config/h8300/h8300.h: Likewise.
12199 * config/i386/cygwin.h: Likewise.
12200 * config/i386/djgpp.h: Likewise.
12201 * config/i386/i386-coff.h: Likewise.
12202 * config/i386/i386-interix.h: Likewise.
12203 * config/i386/sco5.h: Likewise.
12204 * config/i386/vsta.h: Likewise.
12205 * config/i386/win32.h: Likewise.
12206 * config/i960/i960-coff.h: Likewise.
12207 * config/ia64/sysv4.h: Likewise.
12208 * config/m68hc11/m68hc11.h: Likewise.
12209 * config/m68k/coff.h: Likewise.
12210 * config/m68k/mot3300.h: Likewise.
12211 * config/m88k/m88k.h: Likewise.
12212 * config/mcore/mcore-pe.h: Likewise.
12213 * config/mcore/mcore.h: Likewise.
12214 * config/mips/elf.h: Likewise.
12215 * config/mips/elf64.h: Likewise.
12216 * config/mips/iris6.h: Likewise.
12217 * config/pa/pa64-hpux.h: Likewise.
12218 * config/rs6000/sysv4.h: Likewise.
12219 * config/sh/sh.h: Likewise.
12220 * config/sparc/litecoff.h: Likewise.
12221
12222 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12223 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12224 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12225 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12226 (ASM_OUTPUT_DESTRUCTOR): Remove.
12227 * config/a29k/a29k.c: Move include of tree.h.
12228 * config/a29k/udi.h: Delete file.
12229 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12230 (vms_asm_out_destructor): New.
12231 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12232 (EXTRA_SECTION_FUNCTIONS): Likewise.
12233 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12234 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12235 * config/c4x/c4x.c: Move include of tree.h.
12236 * config/clipper/clipper.c (clix_asm_out_constructor): New.
12237 (clix_asm_out_destructor): New.
12238 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12239 (ASM_OUTPUT_DESTRUCTOR): Remove.
12240 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12241 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12242 (TARGET_ASM_CONSTRUCTOR): New.
12243 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12244 (sco_asm_out_constructor): New.
12245 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12246 * config/i386/svr3gas.h: Remove stack grows up code.
12247 Remove code duplicated from i386/sysv3.h.
12248 (TARGET_ASM_CONSTRUCTOR): New.
12249 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12250 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12251 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12252 (TARGET_ASM_CONSTRUCTOR): New.
12253 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12254 (m68hc11_asm_out_destructor): New.
12255 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12256 (TARGET_ASM_DESTRUCTOR): New.
12257 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12258 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12259 config/svr3.h pertaining to section manipulation.
12260 * config/m68k/dpx2g.h: Remove #if 0 code.
12261 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12262 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12263 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12264 (TARGET_ASM_CONSTRUCTOR): New.
12265 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12266 (m88k_svr3_asm_out_constructor): New.
12267 (m88k_svr3_asm_out_destructor): New.
12268 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12269 (ASM_OUTPUT_DESTRUCTOR): Remove.
12270 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12271 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12272 * config/rs6000/aix.h: Likewise.
12273 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12274 * config/mips/vxworks.h: Likewise.
12275 * config/rs6000/lynx.h: Likewise.
12276 * config/sh/elf.h: Likewise.
12277 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12278 (DTORS_SECTION_ASM_OP): New.
12279 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12280 (ASM_OUTPUT_DESTRUCTOR): Remove.
12281 * config/sparc/sol2-sld-64.h: Likewise.
12282 * config/vax/vax.c (vms_asm_out_constructor): New.
12283 (vms_asm_out_destructor): New.
12284 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12285 (ASM_OUTPUT_DESTRUCTOR): Remove.
12286 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12287
12288 * doc/tm.texi (@node Initialization): Update.
12289
12290 2001-08-09 Richard Henderson <rth@redhat.com>
12291
12292 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12293 (__do_global_dtors_aux): Use gp-relative static data to avoid
12294 one dynamic relocation.
12295 (__do_frame_setup): Register Java classes.
12296 * config/alpha/crtend.asm (__JCR_END__): New.
12297
12298 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12299
12300 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12301 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12302 (GEN, STAGESTUFF): Add new files.
12303 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12304 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12305 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12306 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12307 as well as insn-codes.h and insn-flags.h in config.h; and no
12308 extra headers in tconfig.h and hconfig.h.
12309
12310 * gencodes.c: Eliminate code to generate predicate declarations
12311 or #defines for md-file constants.
12312 * genconstants.c, genpreds.c: New files.
12313
12314 * i386.md: Re-order guard expressions such that TARGET_64BIT
12315 comes first, when this permits better optimization. Add
12316 TARGET_64BIT to more x86-64 patterns. Add comment explaining
12317 why this is desirable.
12318
12319 2001-08-09 Jakub Jelinek <jakub@redhat.com>
12320
12321 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12322 (find_fde_for_dso): Remove.
12323 (_Unwind_IteratePhdrCallback): New.
12324 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12325 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12326
12327 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12328
12329 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12330 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12331
12332 2001-08-09 Graham Stott <grahams@redhat.com>
12333
12334 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12335 (vis_no_unit): Use it.
12336 (visualize_no_unit): Add the insn only if room exists.
12337
12338 2001-08-09 Graham Stott <grahams@redhat.com>
12339
12340 * predict.c (estimate_probability): Replace magic numbers with
12341 appropriate enumeration.
12342
12343 2001-08-09 Graham Stott <grahams@redhat.com>
12344
12345 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12346 parameter.
12347 (EXTRACT_FLAGS): Likewise.
12348
12349 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
12350
12351 * config/mips/mips.c (mips_legitimate_address_p): Check for
12352 CONST_INT in last patch.
12353
12354 2001-08-08 Anthony Green <green@redhat.com>
12355
12356 * java/class.c (emit_register_classes): Use assemble_jcr if
12357 possible. Keep the original mechanism as a fallback.
12358 * defaults.h (JCR_SECTION_NAME): Define if we have named section
12359 and weak symbol support.
12360 * crtstuff.c (__JCR_LIST__): Define.
12361 (__JCR_END__): Define.
12362 (_Jv_RegiserClasses): Define weak symbol if possible.
12363 (__do_global_ctors_aux): Register classes for ELF targets with
12364 weak symbol support.
12365
12366 2001-08-08 Kazu Hirata <kazu@hxi.com>
12367
12368 * dbxout.c: Fix comment formatting.
12369 * dependence.c: Likewise.
12370 * df.c: Likewise.
12371 * diagnostic.c: Likewise.
12372 * dominance.c: Likewise.
12373 * doprint.c: Likewise.
12374 * dwarf2out.c: Likewise.
12375 * dwarfout.c: Likewise.
12376 * emit-rtl.c: Likewise.
12377 * except.c: Likewise.
12378 * explow.c: Likewise.
12379 * expmed.c: Likewise.
12380 * expr.c: Likewise.
12381 * flow.c: Likewise.
12382 * fold-const.c: Likewise.
12383 * function.c: Likewise.
12384
12385 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12386
12387 * global.c (retry_global_alloc): Avoid shadowing allocno.
12388
12389 2001-08-08 Mark Mitchell <mark@codesourcery.com>
12390
12391 * except.c (remove_fixup_regions): Fix typo.
12392
12393 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
12394
12395 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12396 unsigned HOST_WIDE_INT to avoid warning.
12397 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12398 * flow.c (set_block_for_new_insns): Likewise.
12399
12400 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
12401
12402 * sibcall.c (return_value_pseudo): New static variable.
12403 (skip_copy_to_return_value): Handle return_value_pseudo.
12404 (call_ends_block_p): Ensure that return_value_pseudo is set.
12405 (optimize_sibling_and_tail_recursive_call): Discover the
12406 load of pseudo return value in alternate exit block.
12407
12408 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12409
12410 * calls.c (ECF_ALWAYS_RETURN): New constant.
12411 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12412 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12413 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12414 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12415 * rtl.c (reg_note_name): New name.
12416 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12417
12418 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
12419
12420 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12421
12422 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12423
12424 * alias.c (get_alias_set): Return a previously calculated
12425 alias set for a VAR_DECL.
12426 * function.c (gen_mem_addressof): Calculate the alias set before
12427 touching the RTL.
12428
12429 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
12430
12431 * predict.def: Set hitrates according our experimental run.
12432
12433 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
12434
12435 * i386.h (HARD_REGNO_RENAME_OK): New macro.
12436
12437 2001-08-08 H.J. Lu <hjl@gnu.org>
12438
12439 * config/mips/mips.c (mips_unique_section): New. Copied from
12440 config/mips/elf.h.
12441
12442 * config/mips/mips-protos.h (mips_unique_section): New
12443 prototype.
12444
12445 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12446
12447 * config/mips/little.h: New. Generic little endian mips
12448 targets. Only mips*-*-linux* is converted to use it so far.
12449
12450 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12451 (WCHAR_TYPE): Defined
12452 (WCHAR_TYPE_SIZE): Likewise.
12453 (INIT_SUBTARGET_OPTABS): Likewise.
12454 (BSS_SECTION_ASM_OP): Likewise.
12455 (SBSS_SECTION_ASM_OP): Likewise.
12456 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12457 (ASM_DECLARE_OBJECT_NAME): Likewise.
12458 (UNIQUE_SECTION): Likewise.
12459 (EXTRA_SECTIONS): Likewise.
12460 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12461 (ASM_OUTPUT_DESTRUCTOR): Likewise.
12462 (ASM_OUTPUT_DEF): Likewise.
12463 (HANDLE_SYSV_PRAGMA): Removed.
12464 (NO_IMPLICIT_EXTERN_C): Likewise.
12465 (TARGET_MEM_FUNCTIONS): Likewise.
12466 (STARTFILE_SPEC): Likewise.
12467 (ENDFILE_SPEC): Likewise.
12468 (LIB_SPEC): Likewise.
12469 (INVOKE__main): Likewise.
12470 (CTOR_LIST_BEGIN): Likewise.
12471 (CTOR_LIST_END): Likewise.
12472 (DTOR_LIST_BEGIN): Likewise.
12473 (DTOR_LIST_END): Likewise.
12474 (SET_ASM_OP): Likewise.
12475 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12476 (ASM_OUTPUT_DEF): Likewise.
12477 (ASM_OUTPUT_IDENT): Likewise.
12478
12479 * config/mips/mips.h (ASM_SPEC): Undefine before define.
12480 (CPLUSPLUS_CPP_SPEC): Likewise.
12481 (ASM_APP_ON) Redefine only if not defined.
12482 (ASM_APP_OFF): Likewise.
12483 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12484 (ASM_OUTPUT_IDENT): Likewise.
12485
12486 * config.gcc: Update tm_file for Linux/mips.
12487
12488 2001-08-08 Bernd Schmidt <bernds@redhat.com>
12489
12490 * cselib.c (cselib_record_sets): If insn is predicated, turn
12491 sources into IF_THEN_ELSEs.
12492
12493 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12494 Turn into define_insn_and_split.
12495
12496 * sched-deps.c: Include "cselib.h".
12497 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12498 Use cselib to turn memory addresses into VALUEs.
12499 (sched_analyze): Call cselib_init/cselib_finish if necessary.
12500 * sched-int.h (struct sched_info): New member USE_CSELIB.
12501 * sched-ebb.c (ebb_sched_info): Initialize it.
12502 * sched-rgn.c (rgn_sched_info): Likewise.
12503 * Makefile.in (sched-deps.o): Update dependencies.
12504
12505 * cselib.h (cselib_subst_to_values): Declare.
12506 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
12507 that have no value and autoincs to be handled by generating a new
12508 dummy value.
12509
12510 2001-08-08 Graham Stott <grahams@redhat.com>
12511
12512 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12513 within fixed length SEQUENCE.
12514
12515 2001-08-08 Graham Stott <grahams@redhat.com>
12516
12517 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12518 (diagnostic_prefixing_rule): Likewise.
12519 (diagnostic_line_cutoff): Likewise.
12520 (diagnostic_kind_count): Likewise.
12521
12522 2001-08-08 Graham Stott <grahams@redhat.com>
12523
12524 * alias.c (find_base_decl): Delete redundent assignment.
12525
12526 2001-08-08 Graham Stott <grahams@redhat.com>
12527
12528 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12529 (abs): Uppercase and paranthesize macro parameter.
12530 (MEM_DEPENDENCY): Add whitespace.
12531
12532 2001-08-08 Graham Stott <grahams@redhat.com>
12533
12534 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12535 failure check for CONST_INT
12536
12537 2001-08-08 Graham Stott <grahams@redhat.com>
12538
12539 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12540 (libcall_dead_p): Likewise.
12541
12542 (mark_used_regs): Constify fmt.
12543 (find_use_as_address): Likewise.
12544
12545 2001-08-08 Graham Stott <grahams@redhat.com>
12546
12547 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12548 parameter.
12549
12550 2001-08-08 Graham Stott <grahams@redhat.com>
12551
12552 * combine.c (combine_simplify_rtx): Update comment and
12553 remove erroneous test.
12554
12555 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12556
12557 * cppinit.c (cpp_finish): Pop the final buffer without comment.
12558 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12559 take care to avoid multiple no-newline at EOF warnings in that
12560 case.
12561
12562 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
12563
12564 * calls.c (expand_call): Do not emit INSN_SETJMP note.
12565 (emit_library_call_value_1): Likewise.
12566 (emit_call_1): Emit REG_SETJMP note.
12567 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12568 of INSN_SETJMP
12569 * cselib.c (cselib_process_insn): Likewise.
12570 * flow.c (propagate_block): Likewise.
12571 * loop.c (find_and_verify_loops): Likewise.
12572 * reload.c (find_equiv_regs): Likewise.
12573 * reload1.c (reload): Likewise.
12574 * resource.c (mark_referenced_resources,
12575 mark_set_resources): Likewise.
12576 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12577 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12578 * haifa-sched.c (unlink_other_notes): Likewise.
12579 (reemit_notes): Likewise.
12580 * sched-ebb.c (sched_ebb): Likewise.
12581 * sched-rgc.c (sched_region): Likewise.
12582 * rtl.c (note_insn_name): Likewise.
12583 (reg_note_name): Add REG_SETJMP
12584 * rtl.h (reg_note): Add REG_SETJMP.
12585 (insn_note): Remove NOTE_INSN_SETJMP.
12586
12587 * profile.c (branch_prob): Add fake edges for setjmp.
12588
12589 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
12590
12591 * config.gcc: Quote target_cpu_default2 correctly for
12592 powerpc*-*-* targets.
12593
12594 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12595
12596 * cpplib.h, line-map.h: Update comments.
12597 * cppmain.c (printer_init): Move inline.
12598 (maybe_print_line, print_line): Take a map pointer.
12599 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12600 (cb_file_change): Don't use prior value of print.map.
12601
12602 2001-08-07 David Edelsohn <edelsohn@gnu.org>
12603
12604 * doc/install.texi: Document fine-grained multilib configuration.
12605
12606 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12607
12608 * rtlanal.c (find_first_parameter_load): Call note_stores
12609 only on the instructions.
12610
12611 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12612
12613 * alias.c (nonlocal_mentioned_p):
12614 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12615 * calls.c (emit_call_1): Likewise.
12616 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12617 * cselib.c (cselib_process_insn): Likewise.
12618 * df.c (df_insns_modify): Likewise.
12619 * flow.c (need_fake_edge_p): Likewise.
12620 (propagate_one_insn): Likewise.
12621 * haifa-sched.c (reemit_notes): Likewise.
12622 * integrate.c (copy_insn_list): Likewise.
12623 * jump.c (delete_prior_computation): Likewise.
12624 * local-alloc.c (validate_equiv_mem): Likewise.
12625 * loop.c (scan_loop): Likewise.
12626 * predict.c (estimate_probability): Likewise.
12627 * reload.c (reload): Likewise.
12628 * sched-deps (sched_analyze): Likewise.
12629 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12630 * gcse.c (compute_hash_table): Likewise.
12631 (mark_call): Likewise.
12632 (store_killed_in_insn): Likewise.
12633
12634 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
12635
12636 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12637
12638 2001-08-06 Richard Henderson <rth@redhat.com>
12639
12640 * varasm.c (assemble_gc_entry): Remove.
12641 * output.h: Likewise.
12642
12643 2001-08-06 Richard Henderson <rth@redhat.com>
12644
12645 * varasm.c (assemble_constructor): Take a symbol_ref and a
12646 priority instead of a bare string. Move priority handling
12647 here from cp/decl2.c.
12648 * output.h: Update decls.
12649
12650 * c-decl.c (c_expand_body): Update calls to assemble_constructor
12651 and assemble_destructor.
12652 * profile.c (output_func_start_profiler): Likewise.
12653 * objc/objc-act.c (finish_objc): Likewise.
12654 (build_module_descriptor): Return the symbol not the symbol name.
12655
12656 2001-08-06 David Edelsohn <edelsohn@gnu.org>
12657
12658 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12659 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12660 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12661 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12662 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12663 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12664
12665 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12666
12667 * cpperror.c (print_containing_files): Moved to line-map.c.
12668 (print_location): line-map.c handles re-listing or otherwise.
12669 * cpphash.h (struct lexer_state): Remove next_bol.
12670 (struct cpp_buffer): Remove include_stack_listed.
12671 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12672 Remove faked buffer handling.
12673 (_cpp_do_file_change): Tweak.
12674 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12675 * cppmain.c (struct printer): Remove filename.
12676 (print_line, cb_file_change): Update accordingly.
12677 * line-map.c: Include intl.h.
12678 (init_line_maps): Initialize last_listed.
12679 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12680 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12681 (print_containing_files): New.
12682 * line-map.h (struct line_maps): New member last_listed.
12683 (print_containing_files, INCLUDED_FROM): New.
12684 * Makefile.in: Update.
12685 * po/POTFILES.in: Add line-map.c.
12686
12687 2001-08-06 Richard Henderson <rth@redhat.com>
12688
12689 * except.c (convert_from_eh_region_ranges_1): Never mark
12690 USE or CLOBBER insns as throwing.
12691
12692 * expr.c (store_constructor): Don't clobber memory targets.
12693
12694 2001-08-06 Andreas Jaeger <aj@suse.de>
12695
12696 * profile.c (branch_prob): Remove unused variable insn.
12697
12698 * Makefile.in (local-alloc.o): Add dependency on except.h.
12699
12700 * local-alloc.c: Include except.h for can_throw_internal prototype.
12701
12702 2001-08-06 Richard Henderson <rth@redhat.com>
12703
12704 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12705 * function.c (expand_main_function): Implement it.
12706 * doc/tm.texi: Document it.
12707
12708 2001-08-06 Stan Shebs <shebs@apple.com>
12709
12710 * doc/install.texi: Document powerpc-*-darwin* details.
12711
12712 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
12713
12714 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12715 (ASM_CPU_SPEC): Move back to rs6000.h
12716 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12717
12718 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12719
12720 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12721 readded.
12722
12723 * config/rs6000/linux64.h: Ditto.
12724
12725 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12726 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12727 nothing.
12728
12729 Remove accidently readded definitions of FUNCTION_PROLOGUE,
12730 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12731
12732 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12733 to rs6000.h
12734
12735 2001-08-05 Richard Henderson <rth@redhat.com>
12736
12737 * local-alloc.c (update_equiv_regs): Do not move insns that
12738 can throw.
12739
12740 2001-08-05 Jan Hubicka <jh@suse.cz>
12741
12742 * Makefile.in (reload1.o): Add dedendancy on except.h
12743 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12744 prototypes.
12745 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12746 indicating wehther edges has been cleaned up.
12747 * reload1.c: Inlucde except.h
12748 (fixup_abnormal_edges): Accept deleted insns.
12749 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12750 after combine.
12751
12752 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12753
12754 * cpplib.c (do_line): Correct line number after pop_buffer.
12755
12756 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12757
12758 PR preprocessor/3824
12759 * line-map.c: Update comments.
12760 * line-map.h: Update comments.
12761 * tradcif.y: Don't consider large numbers unsigned.
12762
12763 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12764
12765 PR preprocessor/3081
12766 * c-lex.c (map): New.
12767 (cb_file_change): Update map and use it.
12768 (cb_def_pragma, cb_define, cb_undef): Use map and line.
12769 (c_lex): Update to use map.
12770 * cpperror.c (print_location): Move to using logical line numbers.
12771 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12772 (cpp_make_system_header): Similarly.
12773 (_cpp_execute_include): Stop line numbering hacks. Store the
12774 line we will return to.
12775 * cpphash.h (CPP_BUF_LINE): Remove.
12776 (struct cpp_buffer): Remove lineno and pseudo_newlines.
12777 Add map and return_to_line.
12778 (_cpp_do_file_change): Update.
12779 * cppinit.c (cpp_start_read): Update line kludge.
12780 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12781 (trigraph_ok): Use logical line numbers for diagnostics.
12782 (skip_block_comment): Likewise.
12783 (skip_whitespace): Likewise.
12784 (skip_line_comment): Use pfile->line instead.
12785 (_cpp_lex_token): Update to use logical line numbering exclusively.
12786 Handle BOL locally. Accept new lines in directives, but keep
12787 pfile->line decremented. Diagnostics use logical lines. Update
12788 directive handling.
12789 * cpplib.c (SEEN_EOL): New.
12790 (skip_rest_of_line, check_eol): Use it.
12791 (end_directive): Increase line number when accepting the newline
12792 at the end of a directive.
12793 (run_directive): Simplify.
12794 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
12795 (_cpp_do_file_change): Update to take buffer line number as an
12796 argument, and store the current map in the cpp_reader. Remove
12797 line number kludges.
12798 (_cpp_do__Pragma): Restore output position after a _Pragma.
12799 (cpp_push_buffer): Don't set output line or lineno.
12800 (_cpp_pop_buffer): Transfer more info from a faked buffer.
12801 Remove line kludge. Set output_line.
12802 * cppmacro.c (builtin_macro): Update handling of __LINE__.
12803 (parse_arg): Use logical lines.
12804 (save_lookahead_token): Save EOFs too now.
12805 * cppmain.c (struct printer): Fix comments.
12806 (printer_init): Simplify, let caller do errors.
12807 (scan_translation_unit, check_multiline_token, dump_macro): Update.
12808 (maybe_print_line): Simplify.
12809 (print_line): Don't print a linemarker if -P.
12810 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
12811 (cb_file_change): Simplify.
12812 * line-map.h (LAST_SOURCE_LINE): Fix.
12813 (CURRENT_LINE_MAP): New.
12814
12815 2001-08-05 Bernd Schmidt <bernds@redhat.com>
12816
12817 * doloop.c (doloop_modify_runtime): Properly compute number of
12818 iterations if loop was unrolled.
12819
12820 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
12821 if their CSELIB_VAL_PTRs are.
12822
12823 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
12824 (setup_spill_pointers): Initialize it.
12825 (spill_restore_mem): Set it.
12826 (do_spill, do_restore): Use it to add REG_INC note.
12827 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
12828
12829 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
12830 asms if other insns are available.
12831
12832 * config/ia64/ia64.c (condop_operator): New predicate.
12833 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
12834 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
12835 patterns.
12836
12837 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
12838 temporary register than directly using a MEM.
12839
12840 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12841
12842 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
12843 parameter in last change.
12844
12845 2001-08-04 Zack Weinberg <zackw@panix.com>
12846
12847 * sparc.md: Don't use #if inside C test expression.
12848
12849 2001-08-04 Richard Henderson <rth@redhat.com>
12850
12851 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
12852
12853 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
12854
12855 * cpphash.h (struct cpp_reader): New member directive_line.
12856 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
12857 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
12858 do_pragma): Pass line to callbacks.
12859 (start_directive): Record line of directive.
12860 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
12861 cb_include): Similarly.
12862 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
12863 Similarly.
12864
12865 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12866
12867 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
12868 comment.
12869
12870 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
12871
12872 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
12873
12874 * reload1.c (fixup_abnormal_edges): New static function.
12875 (reload): Use it.
12876
12877 * flow.c (need_fake_edge_p): New function.
12878 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
12879 avoid call insn to be very last insn in the insn stream.
12880
12881 * profile.c (branch_prob): Call flow_call_edges_add instead of
12882 doing that by hand; cleanup cfg to re-merge basic blocks once
12883 we are done.
12884
12885 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
12886
12887 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
12888 are also on line-map.h.
12889 * cppfiles.c (stack_include_file): Update.
12890 * cpphash.h (struct cpp_buffer): New member return_at_eof.
12891 (_cpp_pop_buffer): New.
12892 * cppinit.c (cpp_destroy, cpp_finish): Update.
12893 (do_includes): Mark each buffer to return at EOF.
12894 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
12895 return as requested.
12896 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
12897 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
12898 * cpplib.h (cpp_pop_buffer): Remove.
12899 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
12900 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
12901 buffers.
12902 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
12903 to pop buffers.
12904 (do_preprocessing): Update.
12905 * fix-header.c (read_scan_file): Update. No need to pop buffers.
12906 * c-parse.in (_yylex): Similarly.
12907 * scan-decls.c (scan_decls): Similarly.
12908 * line-map.h: Update comments.
12909
12910 * objc/Make-lang.in (objc-act.o): Update dependencies.
12911
12912 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12913
12914 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
12915 and soft register for operand 0.
12916 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
12917
12918 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12919
12920 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
12921 register for operand 0.
12922 ("bitcmpqi_z_used"): Allow memory for operand 0.
12923 (split "bitcmpqi"): New split to handle address reg as operand 1.
12924
12925 2001-08-04 Andreas Jaeger <aj@suse.de>
12926
12927 * gcse.c: Revert Daniel's last patch.
12928
12929 2001-08-03 Zack Weinberg <zackw@stanford.edu>
12930
12931 * sparc-protos.h: Add prototypes for fp_zero_operand and
12932 reg_or_0_operand.
12933 * sh-protos.h: Add prototype for fpul_operand.
12934
12935 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
12936
12937 * doc/extend.texi (Other Builtins): Fix typo in last change.
12938
12939 2001-08-03 Richard Henderson <rth@redhat.com>
12940
12941 * target.h (gcc_target): Add asm_out.named_section,
12942 section_type_flags, have_named_sections.
12943 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
12944 (TARGET_HAVE_NAMED_SECTIONS): New.
12945 (TARGET_SECTION_TYPE_FLAGS): New.
12946
12947 * Makefile.in (toplev.o): Depend on TARGET_H.
12948 (varasm.o, dbxout.o): Likewise.
12949 * c-common.c (decl_attributes): Check targetm.have_named_sections
12950 instead of ifdef ASM_OUTPUT_SECTION_NAME.
12951 * dbxout.c (dbxout_function_decl): Likewise.
12952 (dbxout_function_end): Likewise.
12953 * toplev.c (compile_file): Likewise.
12954 * varasm.c (exception_section): Likewise.
12955 * cp/decl2.c (finish_objects): Likewise.
12956
12957 * defaults.h (EH_FRAME_SECTION): Remove.
12958 (EH_FRAME_SECTION_ASM_OP): Remove.
12959 (EH_FRAME_SECTION_NAME): New.
12960 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
12961 (UNIQUE_SECTION_P): Remove.
12962 * dwarf2out.c (SECTION_FORMAT): Remove.
12963 (ASM_OUTPUT_SECTION): Remove.
12964 (output_call_frame_info): Use named_section_flags.
12965 (output_comp_unit, dwarf2out_start_source_file): Likewise.
12966 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
12967 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
12968 * varasm.c (in_eh_frame, eh_frame_section): Remove.
12969 (named_section_flags): New.
12970 (named_section): Use it and targetm.section_type_flags.
12971 (resolve_unique_section): New.
12972 (assemble_start_function): Use it.
12973 (asm_emit_uninitialised, assemble_variable): Likewise.
12974 (default_section_type_flags): New.
12975 (default_no_named_section, default_elf_asm_named_section): New.
12976 (default_coff_asm_named_section, default_pe_asm_named_section): New.
12977 * output.h: Update varasm.c decls.
12978 (SECTION_*): New flags.
12979
12980 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
12981 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
12982
12983 * config/elfos.h (UNIQUE_SECTION_P): Remove.
12984 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
12985 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
12986 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
12987 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
12988 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
12989 * config/mips/elf.h, config/mips/elf64.h: Likewise.
12990 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
12991 * config/pa/pa64-hpux.h,
12992
12993 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
12994 (TARGET_ASM_NAMED_SECTION): New.
12995 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
12996 * config/alpha/vms.h, config/arm/coff.h: Likewise.
12997 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
12998 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
12999 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
13000 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
13001 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13002 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
13003 * config/i386/sco5.h, config/i386/win32.h: Likewise.
13004 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13005 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13006 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13007 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13008 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13009 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13010 * config/sparc/sysv4.h: Likewise.
13011
13012 * config/nextstep.h: Error until named sections implemented.
13013
13014 * config/a29k/a29k.c (a29k_asm_named_section): New.
13015 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13016 (vms_section_type_flags, vms_asm_named_section): New.
13017 * config/arm/arm.c (arm_elf_asm_named_section): New.
13018 * config/avr/avr.c (asm_output_section_name): Remove.
13019 * config/avr/avr-protos.h: Update.
13020 * config/c4x/c4x.c (c4x_asm_named_section): New.
13021 * config/h8300/h8300.c (h8300_asm_named_section): New.
13022 * config/i386/i386.c (sco_asm_named_section): New.
13023 * config/i386/winnt.c (SECTION_PE_SHARED): New.
13024 (i386_pe_section_type_flags): New.
13025 (i386_pe_asm_named_section): New.
13026 * config/i386/i386-protos.h: Update.
13027 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13028 * config/mcore/mcore.c (mcore_asm_named_section): New.
13029 * config/mips/mips.c (iris6_asm_named_section): New.
13030 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13031 instead of UNIQUE_SECTION_P.
13032 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13033 (xcoff_asm_named_section): New.
13034 * config/sh/sh.c (sh_asm_named_section): New.
13035 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13036
13037 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13038 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13039 (EH_FRAME_SECTION_NAME): New.
13040 (EXCEPTION_SECTION): New.
13041 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13042 (DEBUG_*_SECTION): Remove.
13043 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13044 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13045 (EH_FRAME_SECTION_ASM_OP): Remove.
13046
13047 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13048 (ASM_OUTPUT_SECTION_NAME): Remove.
13049 (TARGET_ASM_NAMED_SECTION): New.
13050 (TARGET_HAVE_NAMED_SECTIONS): New.
13051 (TARGET_SECTION_TYPE_FLAGS): New.
13052 (EH_FRAME_SECTION_ASM_OP): Remove.
13053 (EH_FRAME_SECTION_NAME): New.
13054
13055 2001-08-03 Zack Weinberg <zackw@stanford.edu>
13056
13057 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13058 for complex expressions when cfun == 0.
13059 * doc/extend.texi: Document that __builtin_constant_p can be
13060 used in data initializers as well as functions.
13061
13062 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
13063
13064 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13065 variable I locally, instead of expecting a declaration in the
13066 calling context.
13067
13068 2001-08-03 Richard Henderson <rth@redhat.com>
13069
13070 * except.c (collect_one_action_chain): Add an explicit cleanup
13071 action if regions surrounding a catch were encoded entirely
13072 within the call-site entry.
13073
13074 2001-08-03 Richard Henderson <rth@redhat.com>
13075
13076 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13077 don't take REGNO of a non-register.
13078
13079 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13080
13081 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13082 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13083 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13084 (__gthread_mutex_init_function): New function for mutex initialization.
13085
13086 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13087
13088 * Makefile.in: Revert screwed up commit.
13089
13090 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13091
13092 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13093 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13094 merged by linker script to get a final _exit().
13095 (__do_global_dtors): New for destructor handling in specific exit
13096 section.
13097 (__do_global_ctors): New for constructors in specific install section.
13098 (__map_data_section): Map data sections before running constructors.
13099 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13100 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13101 (DTORS_SECTION_ASM_OP): Likewise.
13102 (CTORS_SECTION_FUNCTION): Define to force a reference to
13103 __do_global_ctors.
13104 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13105
13106 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13107
13108 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13109
13110 * Makefile.in: Add df.h to gcse.c dependencies.
13111
13112 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13113
13114 * varasm.c (output_constant_def_contents): Use for the length of a
13115 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13116 depending on which is larger.
13117
13118 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13119
13120 * gcse.c: Include df.h for use as a dataflow analyzer.
13121 Remove regvec.
13122 Declaration of reg_set_info: gone.
13123 New df_analyzer variable used by store motion.
13124 (reg_set_info): Deleted.
13125 (mark_mem_regs): New function, analyze regs used by a mem.
13126 (store_ops_ok): Use dataflow analyzer results to determine if
13127 necessary regs are changed in the block.
13128 (find_moveable_store): Remove check for symbol ref, we can handle
13129 much more complex expressions now.
13130 (compute_store_table): Remove most of the code, it's unnecessary
13131 now that the dataflow analyzer records the info for us.
13132 (store_killed_after): Add parameter to say whether to do the
13133 store_ops_okay test, used to speed up testing when we already know
13134 the answer, and just want to know if the store itself was killed.
13135 (build_store_vector): Largely rewritten to calculate the various
13136 vectors properly, and somewhat optimized.
13137 (store_motion): Init the df_analyzer, get REG_DEF chains.
13138 Also handle trapping expressions (since mems almost always trap)
13139 (simple_mem): Redefine what a simple mem is.
13140
13141 2001-08-03 DJ Delorie <dj@redhat.com>
13142
13143 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13144 set from a constant part of the condition.
13145
13146 2001-08-01 Andrew Cagney <ac131313@redhat.com>
13147
13148 * mkdeps.c (deps_add_default_target): Make local variable
13149 ``start'' a const char pointer.
13150 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13151
13152 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13153
13154 * doc/install.texi (Configuration): Fix markup.
13155 (Specific, i?86-*-udk): Likewise.
13156 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13157 --with-gnu-ld.
13158 Document --enable-threads and --enable-libgcj status.
13159 (Specific, mips-sgi-irix*): Canonicalize triples.
13160 (Specific, mips-sgi-irix5): Warn about problems with this config.
13161 Mention required GNU as patch.
13162 Native assembler problems are fixed.
13163 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13164 Document --enable-threads and --enable-libgcj status.
13165
13166 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13167
13168 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13169 of mkinstalldirs.
13170
13171 2001-08-03 Richard Henderson <rth@redhat.com>
13172
13173 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13174 constant data.
13175
13176 2001-08-03 Richard Henderson <rth@redhat.com>
13177
13178 * rtlanal.c (find_first_parameter_load): Stop if we
13179 reach a CODE_LABEL at BOUNDARY.
13180
13181 2001-08-03 Richard Henderson <rth@redhat.com>
13182
13183 * config/alpha/alpha.md (force_movdi): New insn.
13184 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13185 Tweek FRP marking of VMS prologue insns.
13186 * config/alpha/vms.h (EPILOGUE_USES): New.
13187
13188 2001-08-02 Richard Henderson <rth@redhat.com>
13189
13190 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13191
13192 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13193
13194 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13195 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13196 config/convex/convex.h, config/d30v/d30v.c,
13197 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13198 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13199 config/mips/mips.h, config/mn10200/mn10200.h,
13200 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13201 config/v850/v850.h, config/vax/openbsd.h,
13202 config/vax/openbsd1.h, config/vax/ultrix.h,
13203 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13204 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13205 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13206 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13207 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13208 in comments and documentation.
13209
13210 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13211
13212 * line-map.c: New.
13213 * line-map.h: New.
13214 * Makefile.in (line-map.o): New.
13215 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13216 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13217 * cpperror.c (print_containing_files): Similarly.
13218 (print_location): Update. Don't output a space before _Pragma.
13219 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13220 (stack_include_filee, cpp_make_system_header): Update.
13221 (_cpp_execute_include): Get logical line number right for calling
13222 as-yet-unterminated #include.
13223 * cpphash.h (struct cpp_reader): Add line_maps.
13224 (_cpp_do_file_change): Update.
13225 * cppinit.c (cpp_create_reader): Initialize line maps.
13226 (cpp_destroy): Destroy line maps.
13227 (cpp_start_read): Get logical line number right.
13228 * cpplex.c (parse_string): Only warn once for multi-line strings.
13229 Use boolean variable for null warning.
13230 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13231 already.
13232 (do_include_common): End the directive early.
13233 (do_line): Don't warn about out-of-range lines in preprocessed
13234 source. Update. Remove unused variables.
13235 (_cpp_do_file_change): Update for new line mapping.
13236 (pragma_cb): New typedef.
13237 (cpp_register_pragma): Stop looking ahead before calling the
13238 handler. Clean up.
13239 (do_pragma_system_header): End directive early.
13240 (cpp_get_line_maps): New.
13241 (cpp_pop_buffer): Fudge logical line. Update.
13242 * cpplib.h: Include line-map.h
13243 (enum cpp_fc_reason): Remove.
13244 (struct cpp_file_change): Update.
13245 (cpp_get_line_maps): New.
13246 * cppmain.c (struct_printer): New member map.
13247 (cb_file_change): Update for new mappings.
13248 * fix-header.c (cb_file_change): Similarly.
13249
13250 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13251
13252 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13253 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13254
13255 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13256
13257 * config/vax/vax.c: include expr.h.
13258
13259 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13260
13261 * Makefile.in ($(srcdir)/configure): Only rebuild in
13262 maintainer mode.
13263 ($(srcdir)/config.in): Only define in maintainer mode.
13264 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13265
13266 2001-08-02 David Edelsohn <edelsohn@gnu.org>
13267
13268 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13269
13270 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13271
13272 * gcc.c (set_collect_gcc_options): New function, split out from
13273 main.
13274 Ignore elided switches.
13275 (do_spec_1): Invoke before executing command.
13276 (set_input): Export.
13277 Move declaration ...
13278 * gcc.h (set_input): ... here.
13279 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13280 file.
13281
13282 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13283
13284 Kill -fhonor-std.
13285 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13286 interaction.
13287 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13288
13289 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
13290
13291 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13292 for the unnamed instructions it expands to.
13293
13294 2001-08-02 Richard Henderson <rth@redhat.com>
13295
13296 * regclass.c (call_really_used_regs): Conditionally define.
13297 (init_reg_sets_1): Don't use it if not defined.
13298 (fix_register): Similarly, don't set it.
13299
13300 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13301
13302 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13303 Correct comment that had been missed in the previous change.
13304
13305 2001-08-01 Stan Shebs <shebs@apple.com>
13306
13307 * config/darwin.c (machopic_stub_name): Try matching by name.
13308 (update_stubs): New function.
13309 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
13310 unconditionally.
13311
13312 2001-08-01 Richard Henderson <rth@redhat.com>
13313
13314 * except.c (output_function_exception_table): Use assemble_align.
13315 * varasm.c (assemble_eh_label): Remove.
13316 (assemble_eh_align, assemble_eh_integer): Remove.
13317
13318 2001-08-01 Robert Lipe <robertl@caldera.com>
13319
13320 * dwarfout.c: Remove reference to README.DWARF.
13321
13322 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
13323
13324 * regclass.c (call_really_used_regs): New array for registers which
13325 are actually used by a call.
13326 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13327 new array.
13328 (fix_register): Set call_really_used too.
13329 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13330 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13331
13332 2001-08-01 Richard Henderson <rth@redhat.com>
13333
13334 * read-rtl.c (read_name): Consider \r whitespace.
13335
13336 2001-07-11 Andrew Cagney <ac131313@redhat.com>
13337
13338 * config.gcc: Recognize powerpc-*-netbsd*.
13339
13340 * doc/install.texi (Host/target specific installation notes for
13341 GCC): Mention powerpc-*-netbsd*.
13342
13343 * config/rs6000/netbsd.h: New file.
13344 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13345 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13346 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13347 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13348 (TARGET_VERSION): Redefine.
13349
13350 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13351 mcall-netbsd as a match for mcall-sysv.
13352 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13353 (ncrti.S, ncrtn.S): New targets.
13354 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13355
13356 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13357 "netbsd' as a V4 ABI.
13358 (ASM_SPEC): Check for -mcall-netbsd.
13359 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13360 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13361 (LIB_SPEC, ENDFILE_SPEC): Ditto.
13362 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13363 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13364 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13365 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13366
13367 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13368 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13369
13370 2001-08-01 Mark Kettenis <kettenis@gnu.org>
13371
13372 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13373 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13374 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13375 including "unwind-pe.h".
13376
13377 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13378
13379 * rs6000.md (define_splits): Kill unused constraints.
13380
13381 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
13382 Jan Hubicka <jh@suse.cz>
13383
13384 * function.c (thread_prologue_and_epilogue_insns): Kill code
13385 dealing with non-existent CFG.
13386
13387 2001-08-01 Kazu Hirata <kazu@hxi.com>
13388
13389 * alias.c: Fix comment formatting.
13390 * bitmap.c: Likewise.
13391 * builtins.c: Likewise.
13392 * calls.c: Likewise.
13393 * c-common.c: Likewise.
13394 * c-decl.c: Likewise.
13395 * c-dump.c: Likewise.
13396 * c-lex.c: Likewise.
13397 * collect2.c: Likewise.
13398 * combine.c: Likewise.
13399 * conflict.c: Likewise.
13400 * cppfiles.c: Likewise.
13401 * cppinit.c: Likewise.
13402 * cpplex.c: Likewise.
13403 * cpplib.c: Likewise.
13404 * cppmacro.c: Likewise.
13405 * cppspec.c: Likewise.
13406 * c-pragma.c: Likewise.
13407 * crtstuff.c: Likewise.
13408 * cse.c: Likewise.
13409 * cselib.c: Likewise.
13410 * c-semantics.c: Likewise.
13411 * c-typeck.c: Likewise.
13412
13413 2001-08-01 H.J. Lu <hjl@gnu.org>
13414
13415 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13416
13417 2001-08-01 H.J. Lu <hjl@gnu.org>
13418
13419 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13420
13421 2001-08-01 Ziemowit Laski <zlaski@apple.com>
13422
13423 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13424 contextualizing Objective-C class name lookup by the lexer.
13425 (typespec_reserved_nonattr): Disable ObjC class name lookup after
13426 seeing a TYPESPEC.
13427 (protocoldef): Add support for forward @protocol declarations.
13428 (yylexname): Suppress ObjC class name lookup in certain contexts;
13429 re-enable after lookup is complete.
13430 (_yylex): Re-enable ObjC class name lookup when certain
13431 punctuation marks are seen.
13432
13433 * objc/objc-act.c (check_protocol_recursively): New function used
13434 for finding circular dependencies in protocols.
13435 (objc_declare_protocols): New function for handling forward
13436 @protocol declarations.
13437 (receiver_is_class_object): Detect the case when 'self' is used
13438 inside of a class method.
13439 (build_message_expr): Issue a warning if class method is desired
13440 but instance method is found instead.
13441 (conforms_to_protocol): Streamline.
13442 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13443 protocol Foo, even if 'Bar foo' does not.
13444 (check_protocols): Streamline.
13445 (start_protocol): Add checks for circular and duplicate protocol
13446 definitions.
13447 (encode_aggregate_within): For typedefs of structs, encode the
13448 underlying struct.
13449 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13450 (objc_declare_protocols): New prototype.
13451
13452 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13453
13454 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13455 * cpplex.c (handle_newline): Update prototype. Maintain logical
13456 line number.
13457 (skip_escaped_newlines, skip_block_comment, parse_string):
13458 Update accordingly.
13459 (_cpp_lex_token): Update, and store token position within the token.
13460 * cpplib.h (struct cpp_token): Add line and column entries.
13461 * cppmacro.c (replace_args): Position stringified tokens correctly.
13462
13463 2001-08-01 Andreas Jaeger <aj@suse.de>
13464
13465 * basic-block.h: Add prototype for last_loop_beg_note.
13466
13467 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
13468
13469 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13470 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13471 comment.
13472 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13473 while handling WITH_CLEANUP_EXPR node. Use second operand calling
13474 expand_decl_cleanup.
13475 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13476 the first RTX.
13477 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13478 operand while calling simple_cst_equal.
13479 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13480 operand is the cleanup expression, the third is the RTL_EXPR.
13481 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13482
13483 2001-07-31 Jeff Sturm <jsturm@one-point.com>
13484
13485 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13486
13487 2001-07-31 matthew green <mrg@eterna.com.au>
13488
13489 * config.gcc (i386-*-netbsdelf): New description.
13490 * config/i386/netbsd-elf.h: New file.
13491
13492 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
13493
13494 * loop.c (check_dbra_loop): Use single_set to compute
13495 jump_label.
13496
13497 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
13498
13499 PowerPC reorg and support for powerpc64-*-linux*.
13500
13501 Also fixes emitting of constants on 32 bit and 64 bit
13502 platforms.
13503
13504 * config.gcc: powerpc64-*-linux* is a new target.
13505 Things that needed aix.h now also include xcoff.h
13506
13507 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13508 xcoff.h.
13509 Move AIX specific stuff into aix.h.
13510 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13511 with more than just XCOFF now.
13512 (SET_ASM_OP): Remove, now defined where needed.
13513 (FUNCTION_PROLOGUE): New macro definition.
13514 (FUNCTION_EPILOGUE): New macro definition.
13515 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13516
13517 * config/rs6000/xcoff.h: New file.
13518
13519 * config/rs6000/linux64.h: New file.
13520
13521 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13522
13523 2001-07-31 Alan Modra <amodra@bigpond.net.au>
13524
13525 * rs6000.c (print_operand_address): Handle ELF syntax.
13526 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
13527 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13528 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13529
13530 2001-07-31 David Edelsohn <edelsohn@gnu.org>
13531
13532 * rs6000.c (rs6000_override_options): Only disable
13533 flag_function_sections for XCOFF.
13534 (exact_log2_cint_operand): New predicate.
13535 (reg_or_{add,sub}_cint64_operand): New predicates.
13536 (add_operand): Compare CONST_INT with fewer function calls.
13537 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13538 (print_operand, case 'p'): Ensure positive operand.
13539 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13540 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13541 (PREDICATE_CODES): Add new predicates.
13542 * rs6000.md (addsi3): Split 32-bit constants more correctly.
13543 (divsi3, modsi3): Ensure positive power-of-2.
13544 (adddi3): Use new predicate. Split 32-bit constants more
13545 correctly. Re-arrange splitter to handle any constant.
13546 (subdi3): Use new predicate.
13547 (divdi3, moddi3): Ensure positive power-of-2.
13548 (movdi): Use rs6000_emit_set_const.
13549 (load_toc_v4_pic_di): Delete.
13550
13551 2001-07-31 Graham Stott <grahams@redhat.com>
13552
13553 * function.c (pad_below): Revert 2001-07-26 patch.
13554
13555 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13556
13557 * reg-stack (convert_regs_1): Fix best edge condition.
13558
13559 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
13560
13561 * jump.c (duplicate_loop_exit_test): Better test for jumps
13562 entering the loop; create loop pre_header.
13563
13564 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13565
13566 * doc/install.texi: Add s390 and s390x as new targets.
13567 * doc/invoke.texi: Add documentation of S/390 and zSeries
13568 target options.
13569 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13570
13571 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13572
13573 * config/m68k/m68k.md: Replace all general_operand with
13574 nonimmediate_operand for all destinations.
13575 * config/m68k/m68k.c (not_sp_operand): Likewise.
13576
13577 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
13578
13579 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13580
13581 2001-07-30 Richard Henderson <rth@redhat.com>
13582
13583 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13584 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13585
13586 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13587
13588 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13589 Add missing doc strings
13590 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13591 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13592
13593 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
13594
13595 * i386.c (ix86_output_main_function_alignment_hack): New function.
13596 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13597
13598 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13599 edges by EDGE_DFS_BACK flag.
13600 (dump_edge_info): Add dfs_back flag.
13601 * basic-block.h (EDGE_DFS_BACK): New constant.
13602 (mark_dfs_back_edges): Declare.
13603 * alias.c (loop_p): Remove.
13604 (mark_constant_function): Use mark_dfs_back_edges.
13605
13606 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13607 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13608 (compensate_edge): Break out from ...
13609 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13610 (convert_regs_2): Set block_done once block is really done;
13611 Do updating of the predecessors counts.
13612
13613 * toplev.c (rest_of_compilation): Recompute block_for_insn
13614 before post-reload cfg_cleanup.
13615 * function.c (thread_prologue_epilogue_insns):
13616 Call set_block_for_new_insns when emitting prologue directly.
13617
13618 2001-07-30 Andreas Jaeger <aj@suse.de>
13619
13620 * jump.c: Add prototype for mark_modified_reg.
13621
13622 * cse.c (set_live_p): Add unused attribute.
13623
13624 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13625 overflow.
13626 (scan_for_source_files): Use long for count to avoid overflow.
13627 (output_data): Likewise.
13628 (output_data): Don't use string concatatenation to silence gcc
13629 -traditional.
13630
13631 * predict.c: Fix typos and grammar.
13632
13633 * gcse.c (insert_insn_end_bb): Remove unused variables.
13634
13635 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
13636
13637 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13638 (attempt_auto_inc): LIkewise.
13639 (mark_used_reg): Likewise.
13640 (try_pre_increment_1): Likewise.
13641 * regclass.c (regclass): Likewise.
13642 * global.c (allocno_compare): Update comment; change scaling factor.
13643 * local-alloc.c (QTY_CMP_PRI): Likewise.
13644 * regs.h (REG_FREQ_FROM_BB): New.
13645 (REG_FREQ_MAX): Likewise.
13646
13647 2001-07-30 H.J. Lu <hjl@gnu.org>
13648
13649 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13650 -D_GNU_SOURCE.
13651
13652 2001-07-30 H.J. Lu (hjl@gnu.org)
13653
13654 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13655 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13656 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13657
13658 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
13659
13660 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13661 as -mthumb-interwork when -mcpu=arm7 is specified.
13662
13663 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13664
13665 * predict.def (noreturn, loop branch, loop exit): Mark as first
13666 match heuristics.
13667
13668 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
13669
13670 * combine.c (try_combine): Avoid barrier after noop jumps.
13671
13672 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13673
13674 * cpphash.h (struct cpp_reader): Remove import_warning.
13675 * cpplib.c (skip_rest_of_line): Don't bother turning off
13676 macro expansion.
13677 (parse_include): Move include handling to...
13678 (do_include_common): ... here. Move import warning from...
13679 (do_import): ... here.
13680 (do_pragma_poison): Don't do a callback for poison identifiers.
13681 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13682 * cppmain.c (setup_callbacks): Similarly.
13683
13684 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13685
13686 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13687 handle multiple sets.
13688 * except.c (sjlj_mark_call_sites): .... here.
13689 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13690
13691 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13692
13693 Suggested by Richard Henderson and Richard Kenner:
13694 * combine.c (recog_for_combine): Use the fake recog
13695 only if instruction does not match.
13696 * rtl.h (NOOP_MOVE_INSN_CODE): New.
13697 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13698
13699 * combine.c (try_combine): Discover noop jump as direct jump.
13700
13701 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
13702
13703 * df.c (df_rd_global_compute): Add successors to worklist, not
13704 current item.
13705 (df_ru_global_compute): Ditto.
13706
13707 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
13708
13709 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13710 increment REG_N_SETS.
13711
13712 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
13713
13714 * sbitmap.h: New prototype for sbitmap_a_xor_b.
13715
13716 * sbitmap.c (sbitmap_a_xor_b): New function.
13717 ifdef the basic block stuff on IN_GCC.
13718
13719 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13720
13721 * cppexp.c (parse_defined): Always record the macro name.
13722 (lex): Don't worry about identifiers, or special-case
13723 CPP_NOT here.
13724 (_cpp_parse_expr): Figure out at the end of the routine
13725 whether we saw a valid !defined() expression.
13726 * cppfiles.c (stack_include_file): Update for mi_valid.
13727 (_cpp_pop_file_buffer): Similarly.
13728 * cpplex.c (_cpp_lex_token): Similarly.
13729 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13730 mi_if_not_defined, mi_lexed): Remove.
13731 (mi_valid): New.
13732 * cpplib.c (do_if): Simplify.
13733 (do_endif, push_conditional, _cpp_handle_directive): Update
13734 for renaming of mi_state to mi_valid.
13735 doc:
13736 * cpp.texi: Add index entries for digraphs, and add comment
13737 that C++ refers to them as alternative tokens.
13738
13739 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
13740
13741 * basic-block.h (CLEANUP_PRE_LOOP): New.
13742 * except.c (finish_eh_generation): Update call of cleanup_cfg.
13743 * sibcall.c (optimize_sibling_calls): Likewise.
13744 * toplev.c (rest_of_compilation): Likewise.
13745 * flow.c (try_forward_edges): Take argument MODE;
13746 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13747 (try_optimize_cfg): Update call of try_forward_edges.
13748
13749 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13750 Jan Hubicka <jh@suse.cz>
13751
13752 * (validate_replace_rtx_1): Fix simplification of MINUS.
13753
13754 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
13755
13756 PR preprocessor/3669
13757 * cppinit.c (init_dependency_output): Turn off dump requests
13758 if sending dependencies to stdout.
13759
13760 2001-07-28 Richard Henderson <rth@redhat.com>
13761
13762 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13763 not optimizing.
13764
13765 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
13766
13767 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13768
13769 2001-07-28 Kazu Hirata <kazu@hxi.com>
13770
13771 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13772 is VAR_DECL first to prevent an ICE.
13773
13774 2001-07-28 Richard Henderson <rth@redhat.com>
13775
13776 * varasm.c (immed_real_const_1): Don't elide special cases for
13777 nested functions.
13778 (clear_const_double_mem): Clear const_tiny_rtx too.
13779
13780 2001-07-28 Richard Henderson <rth@redhat.com>
13781
13782 * dwarf2out.c (dw_val_class_offset): New.
13783 (struct dw_ranges_struct, dw_ranges_ref): New.
13784 (ranges_table, ranges_table_allocated): New.
13785 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13786 (add_AT_offset, add_ranges, output_ranges): New.
13787 (print_die, output_die): Handle dw_val_class_offset.
13788 (attr_checksum, size_of_die, value_format): Likewise.
13789 (gen_lexical_block_die): Handle non-contiguous blocks.
13790 (gen_block_die): Likewise.
13791 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13792 if needed. Dump the ranges table.
13793 * final.c (final_start_function): Remove unnecessary notes and
13794 rebuild the block tree before numbering the blocks.
13795 * function.c (reorder_blocks_0): Walk the existing block tree
13796 to unmark all blocks.
13797 (reorder_blocks_1): Create block fragments when duplicate block
13798 notes are seen.
13799 (reorder_fix_fragments): New.
13800 (reorder_blocks): Call it.
13801 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13802
13803 2001-07-28 Richard Henderson <rth@redhat.com>
13804
13805 * emit-rtl.c (adjust_address): Make a copy of the memory address.
13806
13807 2001-07-28 Richard Henderson <rth@redhat.com>
13808
13809 * flow.c (add_to_mem_set_list): New function.
13810 (init_propagate_block_info): Use it.
13811 (mark_set_1): Likewise.
13812 (insn_dead_p): Canonicalize memory address for dead store
13813 comparison. Allow wider mode stores to kill narrower mode stores.
13814 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
13815 (invalidate_mems_from_set): Don't handle MEMs.
13816
13817 2001-07-28 Kazu Hirata <kazu@hxi.com>
13818
13819 * config/h8300/h8300.h: Fix formatting.
13820
13821 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13822
13823 * basic-block.h (EDGE_FREQUENCY): New macro.
13824 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
13825 for new BB/edges.
13826 * flow.c (find_sub_basic_blocks): Likewise.
13827 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
13828 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
13829
13830 * predict.c (DEF_PREDICTOR): New argument FLAGS.
13831 (HITRATE): New macro.
13832 (PRED_FLAG_FIRST_MATCH): New constant.
13833 (predictor_info): New field flgags.
13834 (combine_predictions_for_insn): Use DS theory to combine
13835 probabilities; set the edge probabilities when finished.
13836 (estimate_probability): Avoid duplicated matches
13837 of LOOP_BRANCH heuristics for nested loops; update comment.
13838 * predict.def: Add flags for each prediction, set probabilities
13839 according to B&L paper.
13840 * predict.h (DEF_PREDICTOR): New argument FLAGS.
13841
13842 * profile.c (compute_branch_probabilities): Cleanup way the edge
13843 probabilities are computed and REG_BR_PROB notes are dropped; if
13844 values does not match, emit error.
13845 (init_branch_prob): Do error instead of warning when profile driven
13846 feedback is missing or corrupt.
13847
13848 2001-07-27 DJ Delorie <dj@redhat.com>
13849
13850 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
13851 against a constant, try to adjust the compare to have the desired
13852 constant in it so that min/max optimizations happen more often.
13853
13854 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
13855
13856 * flow.c (last_loop_beg_note): New function.
13857 (redirect_edge_and_branch): Use it.
13858 (split_edge): Likewise.
13859
13860 * alias.c (loop_p): Avoid uninitialized memory access.
13861
13862 * flow.c (try_forward_edges): Avoid accessing freed memory.
13863
13864 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
13865 variable access.
13866
13867 2001-07-26 Andrew Haley <aph@redhat.com>
13868 Joern Rennecke <amylaar@redhat.com>
13869
13870 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
13871 (SUBTARGET_CPP_ENDIAN_SPEC): New.
13872 (SUBTARGET_CPP_SPEC): New.
13873 (CPP_SPEC): Remove.
13874 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
13875 (SUBTARGET_CPP_PTR_SPEC): New.
13876 (CPP_DEFAULT_CPU_SPEC): New.
13877 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
13878 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13879 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
13880 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13881 (SUBTARGET_CPP_SPEC): Define as an empty string.
13882
13883 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13884
13885 * doc/install.texi (Configuration): Properly link the host
13886 specific instructions also when generating HTML.
13887
13888 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
13889
13890 * flow.c (redirect_edge_and_branch_force): Test
13891 target->global_live_at_start.
13892
13893 2001-07-26 Richard Henderson <rth@redhat.com>
13894
13895 * simplify-rtx.c (avoid_constant_pool_reference): Export.
13896 * rtl.h (avoid_constant_pool_reference): Declare it.
13897 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
13898 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
13899
13900 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
13901
13902 * rtl.h (cleanup_barriers): Declare.
13903 * jump.c (cleanup_barriers): New function.
13904 * toplev.c (rest_of_compilation): Call cleanup_barriers
13905 before loop optimizer and after bb_reorder.
13906
13907 * flow.c (back_edge_of_syntactic_loop_p): New.
13908 (split_edge): Use it.
13909
13910 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13911
13912 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
13913
13914 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
13915
13916 * cse.c (cse_process_notes): Replace any registers if the address
13917 remains valid.
13918
13919 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
13920
13921 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
13922 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
13923 (propagate_block): Update prototype.
13924 * flow.c (update_life_info): Simplify the CFG and
13925 recalculate the global regs which are alive when
13926 removing dead code during a global update.
13927 (propagate_block): Return non-zero if an INSN is
13928 deleted.
13929
13930 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13931
13932 * Makefile.in (LIBICONV): Define.
13933
13934 2001-07-26 Catherine Moore <clm@redhat.com>
13935
13936 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
13937 of conditional to avoid tree checking errors.
13938
13939 2001-07-26 Kazu Hirata <kazu@hxi.com>
13940
13941 * regmove.c (regmove_optimize): Don't replace a reg with
13942 another reg of a different mode.
13943
13944 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
13945
13946 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
13947 limit length of dependency flush list.
13948 * params.h (MAX_PENDING_LIST_LENGTH): Define.
13949 * sched-int.h (struct deps): Add pending_flush_length field.
13950 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
13951 has 1 element in it.
13952 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
13953 (sched_analyze): After a jump, if the pending memory flush list is too
13954 large, flush the pending lists.
13955 (init_deps): Initialize pending_flush_length to 0.
13956 * doc/invoke.texi (max_pending_list_length): Document parameter.
13957
13958 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
13959
13960 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
13961 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
13962 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
13963
13964 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13965
13966 * cpphash.h (struct_lexer_state): Delete was_skipping.
13967 Move skipping here from struct cpp_reader.
13968 * cpplex.c (parse_identifier): Update.
13969 (_cpp_lex_token): Don't skip tokens in a directive.
13970 * cpplib.c (struct if_stack): Update.
13971 (start_directive, end_directive): Don't change skipping state.
13972 (_cpp_handle_directive): Update.
13973 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
13974 (do_else, do_endif): Update; only check for excess tokens if not
13975 in a skipped conditional block.
13976 (push_conditional): Update for new struct if_stack.
13977
13978 2001-07-26 Graham Stott <grahams@redhat.com>
13979
13980 * function.c (locate_and_pad_parm): Also pad initial offset
13981 so that the total argument size also includes the padding.
13982
13983 2001-07-26 Graham Stott <grahams@redhat.com>
13984
13985 * gensupport.c (alter_output_for_insn): Correct enable checking failure
13986 change XSTR to XTMPL.
13987
13988 (process_one_cond_exec): Likewise
13989
13990 2001-07-25 Richard Henderson <rth@redhat.com>
13991
13992 * varasm.c (assemble_variable): Create DECL_RTL before setting
13993 TREE_ASM_WRITTEN.
13994
13995 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
13996
13997 * predict.c (estimate_probability): Avoid duplicated predictions.
13998
13999 * loop.c (find_and_verify_loops): Grok multiple barriers.
14000
14001 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14002
14003 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
14004
14005 * dbxout.c: Consistently use putc instead of fputc.
14006 (print_wide_int): New function; call instead of direct fprintf.
14007 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14008 (dbxout_type_fields, dbxout_type_method_1): Likewise.
14009 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14010 (print_int_cst_octal): Likewise.
14011 (print_octal): Show we wrote characters.
14012 (dbxout_type): Set have_used_extensions in more places.
14013
14014 2001-07-25 Catherine Moore <clm@redhat.com>
14015
14016 * config/v850/v850.c (v850_va_arg): Use addr
14017 instead of valist to build incr.
14018
14019 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
14020
14021 * flow.c (delete_dead_jumptables): New function.
14022 (life_analyzis): Call it.
14023 * bb-reorder.c (skip_insns_after_block): Handle contradictory
14024 sequences.
14025
14026 2001-07-25 Richard Henderson <rth@redhat.com>
14027
14028 * except.c (reachable_handlers): Handle a region being removed
14029 out from under a RESX.
14030
14031 2001-07-25 Richard Henderson <rth@redhat.com>
14032
14033 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
14034 swap GE/GT if it is an fp comparison.
14035
14036 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
14037
14038 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14039 operands.
14040
14041 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
14042
14043 * ssa.c (rename_insn_1): Do not wrap an assignment to a
14044 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
14045 glitch.
14046
14047 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14048 throw an exception.
14049 (visit_expression): When attempting to simplify an expression,
14050 retrieve any modes for arguments before they are simplified
14051 to constants.
14052
14053 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14054 Janis Johnson <janis@us.ibm.com>
14055
14056 * stmt.c (expand_goto): A nonlocal goto can be a call too.
14057 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14058 pointer parameters to match documented usage of nonlocal_goto.
14059 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14060 parameters to their correct order.
14061 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14062 parameters to their correct order.
14063
14064 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14065
14066 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14067
14068 2001-07-25 Jan Hubicka <jh@suse.cz>
14069 Richard Henderson <rth@redhat.com>
14070
14071 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14072 the sequence.
14073 (make_edges): New argument update_p; populate the edge cache if set.
14074 (find_basic_blocks): Update make_edges invocation.
14075
14076 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14077
14078 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14079
14080 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14081
14082 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14083 -Acpu and -Amachine.h.
14084 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14085 Corrected header to say ELF not a.out.
14086 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14087 when given -msoft-float.
14088
14089 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14090
14091 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14092 extra multilib parts like arm-elf.
14093 (i960-*-coff*, i960-*-rtems): Should not use collect2.
14094 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14095 crtfini.o as extra multilib parts.
14096
14097 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14098
14099 * configure.in: Add rtems as a supported thread model.
14100 * gthr-rtems.h: Add missing entry point __gthread_active_p.
14101 * configure: Rebuilt.
14102
14103 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
14104
14105 * stor-layout.c (get_mode_alignment): make it work when
14106 BITS_PER_UNIT is not a power of two.
14107 * builtins.c (get_pointer_alignment): Likewise.
14108
14109 2001-07-24 Richard Henderson <rth@redhat.com>
14110
14111 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14112 the retrieved constant into the expected mode.
14113
14114 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14115
14116 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14117 (verify_flow_info): Check for duplicated edges; clarify
14118 error reporting.
14119
14120 * flow.c (block_label): Update basic_block_for_insn.
14121 (commit_edge_insertions): Call compute_bb_for_insn.
14122
14123 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14124 returns too.
14125
14126 * flow.c (redirect_edge_and_branch,
14127 try_optimize_cfg): Use redirect_edge_succ_nodup
14128 (redirect_edge_succ_nodup): New.
14129 * basic_block.h (redirect_edge_succ_nodup): Declare.
14130
14131 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14132 after gcse.
14133
14134 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14135
14136 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14137 (try_crossjump_to_edge): Update commetns.
14138 (try_crossjump_bb): Likewise.
14139
14140 2001-07-24 Richard Henderson <rth@redhat.com>
14141
14142 * combine.c (distribute_notes): Move set of need_refresh
14143 for noop_move_p down to catch all cases.
14144
14145 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14146
14147 * recog.c (split_all_insns_noflow): New.
14148 * rtl.h (split_all_insns_noflow): Declare.
14149 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14150 * m68hc11.c (m68hc11_reorg): Likewise.
14151 * sh.c (machine_dependent_reorg): Likewise.
14152 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14153 call.
14154
14155 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14156
14157 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14158 (ashlsi3_n splitter): Likewise.
14159 (lshrsi3_n splitter): Likewise.
14160
14161 (GOTaddr2picreg): Make const SImode.
14162 (sym_label2reg): Likewise.
14163 (symGOT2reg): Likewise.
14164 (symGOTOFF2reg) Likewise.
14165
14166 (casesi_worker_0): Make unspec SImode.
14167
14168 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14169
14170 * config/sh/sh.c (barrier_align): Check that an operand really is
14171 an insn before extracting its INSN_CODE.
14172
14173 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14174
14175 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14176 dangling else.
14177
14178 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14179 for SImode to prevent overflow.
14180
14181 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14182
14183 * config/mips/irix6-libc-compat.c: New file.
14184 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14185 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14186 passing workaround.
14187
14188 2001-07-24 lars brinkhoff <lars@nocrew.org>
14189
14190 * rtl.texi (REG_POINTER): Document.
14191 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14192 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14193
14194 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14195
14196 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14197
14198 2001-07-23 Richard Henderson <rth@redhat.com>
14199
14200 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14201
14202 2001-07-23 Kazu Hirata <kazu@hxi.com>
14203
14204 * config/h8300/h8300-protos.h: Add a prototype for
14205 general_operand_dst_push.
14206 * config/h8300/h8300.c (general_operand_dst_push): New.
14207 * config/h8300/h8300.h (OK_FOR_T): New.
14208 (EXTRA_CONSTRAINT): Use it.
14209 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14210 the existing movqi pattern.
14211 (movhi_push): Likewise.
14212
14213 * reload.c: Fix comment typos.
14214
14215 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14216
14217 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14218
14219 2001-07-23 H.J. Lu (hjl@gnu.org)
14220
14221 * doc/extend.texi: Update __builtin_return_address and
14222 __builtin_frame_address.
14223
14224 2001-07-23 Richard Henderson <rth@redhat.com>
14225
14226 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14227 before CSE.
14228 * config/i386/i386.md: New setcc+movzbl peephole2.
14229
14230 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14231
14232 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14233 * objc/objc-act.c: Include debug.h.
14234 (synth_module_prologue): Save and restore debug hooks too.
14235
14236 2001-07-23 lars brinkhoff <lars@nocrew.org>
14237
14238 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14239 and C4X_FLOAT_FORMAT.
14240 (BOOL_TYPE_SIZE): Document.
14241
14242 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14243
14244 * unroll.c (loop_iterations): Fix miscalculation of initial
14245 giv offset.
14246
14247 2001-07-13 Andrew Haley <aph@redhat.com>
14248
14249 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14250 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14251 * config/sh/sh.c (sh_can_redirect_branch): New function.
14252 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14253 * reorg.c (steal_delay_list_from_target): Use
14254 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14255
14256 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14257
14258 * flow.c (try_simplify_condjump): Unlink insn chain on
14259 fallthru edge; use can_fallthru.
14260
14261 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14262
14263 * basic-block.h (find_sub_basic_block): Declare.
14264 * flow.c (make_edges): New arguments MIN and MAX;
14265 (find_sub_basic_blocks): Revamp to use make_edges
14266 and purge_dead_edges.
14267 (find_basic_blocks): Update call of find_sub_basic_block.
14268
14269 * recog.c (split_all_insns): Always expect CFG to be consistent;
14270 call find_sub_basic_blocks in case something has changed.
14271 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14272 has been built.
14273
14274 * basic-block.h (delete_noop_moves): Declare.
14275 * combine.c (combine_instructions): Call it.
14276 (recog_for_combine): Tolerate noop moves
14277 (distribute_notes): Force refresh when register dies at noop move.
14278 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14279 too.
14280 (life_analysis): Update delete_noop_moves call.
14281 (set_noop_p): Move too ...
14282 * rtlanal.c (noop_move_p): ... here.
14283 * rtl.h (noop_move_p): Declare.
14284
14285 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14286 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14287 after combine.
14288 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14289 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14290
14291 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14292
14293 * reload.c (push_reload): Fix typo in comment.
14294 (find_reloads_address): Ditto.
14295 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14296
14297 2001-07-22 Richard Henderson <rth@redhat.com>
14298
14299 * flow.c: Grammar check and clarify a lot of comments.
14300 (try_simplify_condjump): Rename variables to be clearer.
14301 (try_forward_edges): Skip complex and fallthru edges.
14302 Rearrange tests to avoid duplicate checks.
14303 (flow_find_cross_jump): Likewise.
14304 (outgoing_edges_match): Allow match if neither branch has
14305 probability data. Loosen probability match to 5%.
14306 (try_crossjump_to_edge): Hoist repeated indirection into
14307 local variables.
14308 (try_crossjump_bb): Don't check complex edges. Eliminate
14309 redundant crossjump tests.
14310 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
14311 checks before more expensive checks.
14312
14313 2001-07-22 Richard Henderson <rth@redhat.com>
14314
14315 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14316 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14317 arguments.
14318
14319 2001-07-22 Richard Henderson <rth@redhat.com>
14320
14321 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14322 (const_sint32_operand): Likewise.
14323 * m68k.md (anon mulsi pattern): Use const_int_operand not
14324 const_sint32_operand.
14325 (umulsi3_highpart): Zero extend a constant input.
14326 (smulsi3_highpart): Don't bother checking SImode constant.
14327 (const_umulsi3_highpart): Give op3 DImode.
14328 (const_smulsi3_highpart): Likewise.
14329
14330 2001-07-22 Richard Henderson <rth@redhat.com>
14331
14332 * flow.c (split_block): Make sure bb_note is included in the
14333 new block when splitting before a label.
14334
14335 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
14336
14337 * basic-block.h (redirect_edge_and_branch_force,
14338 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14339 * flow.c (redirect_edge_and_branch_force,
14340 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14341 (redirect_edge_and_branch_force): Fix copying of lifeness information.
14342 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14343 * ifcvt.c (dead_or_predictable): Take BB as an new destination
14344 instead of label; update CFG after transformation.
14345 (find_if_case_1): Update call, use redirect_edge_and_branch_force
14346 for finishing the transformation; handle even case where ELSE
14347 does not follow THEN.
14348 (find_if_case_2): Update call of dead_or_predictable; simplify
14349 CFG update.
14350
14351 * emit-rtl.c (split_branch_probability): New global variable.
14352 (try_split): Take care to set split_branch_probability and
14353 create REG_BR_PROB note for new jump insns.
14354 * md.texi (define_split): Document new feature.
14355
14356 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14357
14358 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14359
14360 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14361 (asm_out_file): Remove redundant declaration.
14362 (assemble_asm): Remove old #if 0 block.
14363 (assemble_variable): Remove end of function; debug output is
14364 now handled with global_decl. Remove old #if 0 block. Update.
14365 Remove saved_in_section and associated no-op code.
14366 * Makefile.in (varasm.o): Correct dependencies.
14367
14368 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
14369
14370 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14371 the definition in defaults.h.
14372
14373 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
14374
14375 * jump.c: Update comments.
14376 (delete_barrier_successors, delete_unreferenced_labels,
14377 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14378 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14379 jump_optimize, jump_optimize_minimal): Kill.
14380 (rebuild_jump_labels): Move code from jump_optimize_1.
14381 (purge_line_number_notes): Likewise.
14382 (copy_loop_headers): Likewise.
14383 * reg-stack.c: Update comment.
14384 * stmt.c: Likewise.
14385 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14386 JUMP_AFTER_REGSCAN): Kill.
14387 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14388 purge_line_number_notes and copy_loop_headers.
14389
14390 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14391 Richard Henderson <rth@redhat.com>
14392
14393 * dbxout.c (dbxout_global_decl): New.
14394 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14395 * sdbout.c (sdbout_finish): New.
14396 (sdbout_debug_hooks): Use it, add comments.
14397 (sdbout_global_decl): Defer initialised public vars to
14398 sdbout_finish.
14399 * varasm.c (assemble_variable): Don't output debug information
14400 for file-scope variables.
14401
14402 2001-07-22 Richard Henderson <rth@redhat.com>
14403
14404 * config/alpha/alpha.c (get_trap_mode_suffix): New.
14405 (get_round_mode_suffix): New.
14406 (print_operand): Use them for [/]. Remove support for [&'`()+].
14407 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14408 * config/alpha/alpha.md (attr round_suffix): New.
14409 (attr trap_suffix): New.
14410 (all insns): Set them appropriately. Use %/ instead of the
14411 myriad punctuators.
14412
14413 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14414
14415 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14416
14417 2001-07-22 Richard Henderson <rth@redhat.com>
14418
14419 * regrename.c (regrename_optimize): Compute nregs for each
14420 potential target register.
14421
14422 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
14423 Richard Henderson <rth@redhat.com>
14424
14425 * dbxout.c (dbxout_global_decl): New.
14426 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14427 * sdbout.c (sdbout_finish): New.
14428 (sdbout_debug_hooks): Use it, add comments.
14429 (sdbout_global_decl): Defer initialised public vars to
14430 sdbout_finish.
14431 * varasm.c (assemble_variable): Don't output debug information
14432 for file-scope variables.
14433
14434 2001-07-21 H.J. Lu (hjl@gnu.org)
14435
14436 * config/mips/mips.c (mips_cpu): Moved into ...
14437 (override_options): Here.
14438
14439 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14440 mips_tune.
14441 (mips_cpu): Removed.
14442
14443 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14444
14445 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14446 ("iorqi3"): Likewise.
14447 ("xorqi3"): Likewise.
14448 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14449 ("*subhi3_sp): Likewise.
14450 ("*subhi3"): Likewise.
14451 ("extendhisi2"): Accept D, X and Y as source operand to avoid
14452 reload problems.
14453
14454 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
14455
14456 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14457 * config/freebsd.h: Likewise.
14458 * config/linux.h: Likewise.
14459 * config/openbsd.h: Likewise.
14460 * config/alpha/linux-elf.h: Likewise.
14461 * config/arm/linux-elf.h: Likewise.
14462 * config/d30v/d30v.h: Likewise.
14463 * config/fr30/fr30.h: Likewise.
14464 * config/ia64/aix.h: Likewise.
14465 * config/ia64/ia64.h: Likewise.
14466 * config/mips/linux.h: Likewise.
14467 * config/pj/pj.h: Likewise.
14468 * config/rs6000/linux.h: Likewise.
14469 * config/sparc/linux.h: Likewise.
14470 * config/sparc/linux64.h: Likewise.
14471
14472 2001-07-20 Bruce Korb <bkorb@gnu.org>
14473
14474 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14475 because getc() and char* may disagree on signedness.
14476
14477 2001-07-20 Richard Henderson <rth@redhat.com>
14478
14479 * doc/rtl.texi (REG_DEAD): Update for current semantics.
14480
14481 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14482 insns to delete in the presence of cc0 in a jump insn.
14483
14484 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
14485 Jan Hubicka <jh@suse.cz>
14486
14487 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14488 of doing the change by hand.
14489
14490 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14491
14492 * rtlanal.c (set_noop_p): Return true for noop jumps.
14493
14494 * expr.c (emit_single_push_insn): Add call to push expander.
14495 * expr.h (optab_index): Add OTI_push
14496 (push_optab): New constant.
14497 * genopinit.c (optabs): Add push_optab.
14498 * optabs.c (init_optab): Init push optab.
14499 * md.texi (push??1): Document
14500
14501 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14502
14503 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14504 expand to emit the pattern; put a REG_INC note for push/pop
14505 instructions.
14506 ("movdf", "movdf_internal"): Likewise.
14507 ("movsi", "movsi_internal"): Likewise.
14508 ("movsf", "movsf_internal"): Likewise.
14509 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14510
14511 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14512
14513 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14514 gen_highpart.
14515
14516 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
14517
14518 * params.def: Change default max inline insns to 100.
14519
14520 2001-07-20 Diego Novillo <dnovillo@redhat.com>
14521
14522 * combine.c (combine_simplify_rtx): Generate a new shift operation
14523 when simplifying the first operand of a (neg (ashift)) expression.
14524
14525 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14526
14527 * regclass.c (N_REG_INTS): Use only 32 bits per element.
14528
14529 2001-07-20 Kelley Cook <kelley.cook@home.com>
14530
14531 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14532 information. Move rest into ...
14533 (*-*-solaris): ... here. Eliminate redundant information and
14534 reword necessary packages section. Delete 4.x assembler bug info.
14535 (sparc-sun-*): Merge into ...
14536 (sparc-sun-sunos*): here.
14537
14538 2001-07-20 Catherine Moore <clm@redhat.com>
14539
14540 * config/v850/v850.md (casesi): Generate LABEL_REF
14541 with Pmode.
14542
14543 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
14544
14545 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14546 * i386.c (ix86_zero_extend_to_Pmode): Make global.
14547 * i386.md (strclrsi expander): Use it.
14548
14549 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14550
14551 * integrate.c (copy_insn_list): handle
14552 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14553 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14554 identically as to CODE_LABEL.
14555
14556 * fold-const (fold): Convert A/B/C to A/(B*C) and
14557 A/(B/C) to (A/B)*C
14558
14559 * except.c (connect_post_landing_pads): Delete the RESX insns.
14560
14561 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
14562
14563 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14564
14565 * config/mips/mips.md (nmadd/nmsub): Use macro.
14566
14567 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
14568
14569 * cppinit.c (remove_dup_dir): Make static.
14570 (remove_dup_dirs): Make static. Only warn about preempting a
14571 system directory with a non-system directory.
14572
14573 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14574
14575 * ifcvt.c (noce_try_store_flag_constants): Correct order
14576 of parameters to trunc_int_for_mode.
14577
14578 2001-07-19 Mark Mitchell <mark@codesourcery.com>
14579
14580 * reorg.c (fill_simple_delay_slots): If an instruction might throw
14581 an exception that will be caught within this function, do not fill
14582 its delay slot with any subsequent instruction.
14583
14584 2001-07-19 Steve Ellcey <sje@cup.hp.com>
14585
14586 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14587 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14588 pointer extension instruction.
14589 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14590 * simplify-rtx.c (simplify_unary_operation) Likewise.
14591 * explow.c (convert_memory_address) Check value of
14592 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14593 less than zero.
14594 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14595 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14596 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14597 Add Multilib Support.
14598 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
14599 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14600 Add Multilib Support.
14601 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14602 support.
14603 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14604 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14605 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14606
14607 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
14608
14609 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14610 old and new operands in `<', `3' and `b'.
14611
14612 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14613
14614 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14615 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14616 (toplev.o): Don't depend on xcoffout.h.
14617 * c-decl.c: Include debug.h
14618 (duplicate_decls): Use debug hook.
14619 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14620 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14621 (dbxout_types): Remove.
14622 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14623 * debug.c (do_nothing_debug_hooks): Update.
14624 (debug_true_tree, debug_nothing_rtx): New.
14625 * debug.h (struct rtx_def): New.
14626 (struct gcc_debug_hooks): New hooks ignore_block,
14627 outlining_inline_function and label.
14628 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14629 dwarf2out_frame_finish): New.
14630 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14631 Make static, update prototype.
14632 (dwarf2_debug_hooks): Update.
14633 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14634 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14635 * dwarfout.c (dwarf_debug_hooks): Update.
14636 * emit-rtl.c: Include debug.h.
14637 (remove_unnecessary_notes): Use debug hook.
14638 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14639 (final_scan_insn): Use debug hook.
14640 * integrate.c (output_inline_function): Use debug hook.
14641 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14642 (sdb_debug_hooks): Update.
14643 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14644 * toplev.c: Don't include xcoffout.h.
14645 (note_outlining_of_inline_function, debug_ignore_block): Remove.
14646 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14647 Remove.
14648 * tree.h (dwarf2out_do_frame): Remove.
14649
14650 2001-07-19 Catherine Moore <clm@cygnus.com>
14651
14652 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14653
14654 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14655
14656 * reload1.c (eliminate_regs_in_insn): When updating a set
14657 to the frame pointer to the hardware frame pointer, perform
14658 the update always not just when REPLACE is set.
14659
14660 * reload1.c (choose_reload_regs): Don't inherit a reload
14661 that crosses multiple registers if registers past the first
14662 don't fit in the desired class.
14663
14664 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14665 when negating constants.
14666
14667 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
14668
14669 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14670 * doc/tree.texi: Ditto.
14671
14672 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
14673 Jakub Jelinek <jakub@redhat.com>
14674
14675 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14676 (extract_cie_info): Handle "eh" augmentation properly,
14677 remember eh_ptr.
14678 (struct frame_state, __frame_state_for): New.
14679
14680 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14681
14682 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14683 HANDLE_SYSV_PRAGMA): Define.
14684 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14685 previous args.
14686 (copy_object): Caller changed.
14687
14688 2001-07-19 Andreas Schwab <schwab@suse.de>
14689
14690 * configure.in (assembler dwarf2 debug_line support): Define nop
14691 insn for m68k.
14692 * configure: Regenerated.
14693
14694 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14695
14696 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14697 dwarfout.h.
14698 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14699 to conditionally compiled block.
14700 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14701 * dbxout.h (dbxout_function): Remove.
14702 * debug.c (do_nothing_debug_hooks): Update.
14703 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14704 global_decl, deferred_inline_function.
14705 * dwarf2out.c (dwarf2_debug_hooks): Update.
14706 (dwarf2out_global_decl): New.
14707 * dwarfout.c: Don't include dwarfout.h.
14708 (dwarfout_global_decl, dwarfout_function_decl,
14709 dwarfout_deferred_inline_function): New.
14710 (dwarf_debug_hooks): Update.
14711 * dwarfout.h: Remove.
14712 * final.c: Don't include dwarfout.h.
14713 * sdbout.c (sdbout_global_decl): New.
14714 (sdbout_debug_hooks): Update.
14715 * toplev.c: Don't include dwarfout.h.
14716 (check_global_declarations, rest_of_compilation): Use new debug hooks.
14717 (note_deferral_of_defined_inline_function): Remove.
14718 * toplev.h (note_deferral_of_defined_inline_function): Remove.
14719 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14720 * ch/lex.c: Don't include dwarfout.h.
14721 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14722 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14723 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14724 * cp/optimize.c: Include debug.h.
14725 (maybe_clone_body): Use debug hook.
14726 * cp/semantics.c: Include debug.h.
14727 (expand_body): Use debug hook.
14728 * po/POTFILES.in: Remove dwarfout.h.
14729
14730 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14731
14732 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14733 * c-parse.in (yyerror, _yylex): Similarly.
14734 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14735 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14736 Update comments.
14737 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14738 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14739
14740 2001-07-18 Jeff Sturm <jsturm@one-point.com>
14741
14742 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14743 in-class declaration at -g1. Fixes c++/2814.
14744
14745 2001-07-18 Richard Henderson <rth@redhat.com>
14746
14747 * doc/md.texi (reload_in/out): Document restrictions in predicates
14748 and constraints for these patterns. Document empty string matching
14749 ALL_REGS.
14750
14751 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14752
14753 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14754
14755 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14756
14757 * cse.c: Undo my previous patch.
14758
14759 2001-07-18 Tom Tromey <tromey@redhat.com>
14760
14761 For PR java/2812:
14762 * configure: Rebuilt.
14763 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14764 instead.
14765 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14766
14767 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
14768 Jan Hubicka <jh@suse.cz>
14769
14770 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14771 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14772 * jump.c (mark_jump_label): Do not forward branches.
14773
14774 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
14775
14776 * cse.c (delete_trivially_dead_insns): Delete the libcall block
14777 when return value is unused.
14778
14779 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14780
14781 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14782
14783 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
14784
14785 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14786 on error. We can't blindly return the result of
14787 pthread_mutex_trylock because it returns a positive number on
14788 error, while we must return -1 on error.
14789 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14790 fixes.
14791 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14792
14793 2001-07-18 Andreas Jaeger <aj@suse.de>
14794
14795 * integrate.c (output_inline_function): Correct type of debug_hooks.
14796
14797 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
14798
14799 * combine.c (combine_simplify_rtx): DIV can be treated
14800 associatively for floats if unsafe math optimisations are enabled.
14801
14802 2001-07-17 Richard Henderson <rth@redhat.com>
14803
14804 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
14805
14806 2001-07-17 Richard Henderson <rth@redhat.com>
14807
14808 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
14809 don't force the function address into a register.
14810 (expand_call, emit_library_call_value_1): Update callers.
14811 * builtins.c (expand_builtin_apply): Likewise.
14812 * expr.h (prepare_call_address): Update decl.
14813
14814 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
14815
14816 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
14817 config directory.
14818 * config/i386/chorus.h: Move up.
14819 * config/sparc/chorus.h: Likewise.
14820 * config/rs6000/chorus.h: Likewise.
14821 * config/chorus.h: Moved here.
14822
14823 2001-07-17 Andreas Schwab <schwab@suse.de>
14824
14825 * configure.in (assembler eh_frame optimization): Handle big
14826 endian.
14827 * configure: Regenerated.
14828
14829 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
14830
14831 * expr.c (epxand_expr): Convert divisions into multiplications by
14832 reciprocals if -ffast-math.
14833
14834 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
14835
14836 * dbxout.c (dbxout_really_begin_function): Rename to
14837 dbxout_begin_function.
14838 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14839 (dbxout_begin_function): Remove.
14840 (dbxout_function): Update.
14841 (dbxout_source_line): Update prototype.
14842 * dbxout.h (dbxout_begin_function): Remove.
14843 * debug.c (do_nothing_debug_hooks): Update.
14844 (debug_nothing_tree): Update.
14845 (debug_nothing_charstar_rtx): Remove.
14846 * debug.h (union tree_node): Declare.
14847 (struct rtx_def): Remove.
14848 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
14849 begin_function. Change source_line prototype.
14850 (debug_nothing_tree): New.
14851 (debug_nothing_charstar_rtx): Delete.
14852 (dwarf2out_begin_prologue): Moved from ...
14853 * tree.h: ... here.
14854 * dwarf2out.c (dwarf2_debug_hooks): Update.
14855 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
14856 debug info, call dwarf2out_source_line.
14857 (dwarf2out_souce_line): Update prototype.
14858 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
14859 Change prototype, make static.
14860 (dwarfout_source_line): Update prototype.
14861 (dwarf_debug_hooks): Update.
14862 * dwarfout.h (dwarfout_begin_function): Remove.
14863 * final.c (final_start_function, final_scan_insn): Use appropriate
14864 debug hooks, update to use notice_source_line.
14865 (output_source_line): Rename notice_source_line. Don't call the
14866 source_line debug hook.
14867 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
14868 make static, update prototype.
14869 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
14870 prototype.
14871 (sdbout_end_prologue): New.
14872 (sdbout_source_line): Update prototype.
14873 (sdbout_debug_hooks): Update.
14874 (sdbout_symbol): Remove unused var.
14875 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
14876 Delete.
14877 * varasm.c: Include debug.h.
14878 (assemble_start_function): Use begin_function debug_hook.
14879 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14880 update with prototype.
14881 (xcoffout_source_line): Update prototype.
14882 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14883 update prototype.
14884 (xcoffout_source_line): Update prototype.
14885
14886 2001-07-17 Richard Henderson <rth@redhat.com>
14887
14888 * c-typeck.c (build_binary_op): Do not shorten unsigned
14889 right shift after sign extension.
14890
14891 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
14892
14893 * combine.c (combine_simplify_rtx): Attempt to simplify
14894 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
14895
14896 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
14897 (simplify_binary_operation, simplify_unary_operation,
14898 simplify_relational_operation): Use it.
14899
14900 * combine.c (combine_simplify_rtx): Don't do associative law
14901 on divisions; allow associative law on floats.
14902
14903 2001-07-17 H.J. Lu <hjl@gnu.org>
14904 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14905
14906 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
14907 ASM_OUTPUT_WEAK_ALIAS are defined.
14908 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
14909 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
14910 Moved ...
14911 * config/mips/iris5.h: ... here.
14912 (HANDLE_SYSV_PRAGMA): Defined as 1.
14913 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
14914 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
14915 symbol.
14916
14917 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
14918
14919 * c-parse.in (all_prefix_attributes): New variable.
14920 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
14921 (maybe_resetattrs): New production.
14922 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
14923 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
14924 notype_initdcl, nested_function, notype_nested_function,
14925 component_decl, components, components_notype,
14926 component_declarator, component_notype_declarator,
14927 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
14928 ivars, mydecl, myparm): Update. Avoid prefix attributes just
14929 after a comma being applied to more than one declarator.
14930 * doc/extend.texi (Attribute Syntax): Update. Remove
14931 documentation of bugs that are no longer present.
14932
14933 2001-07-13 Eric Christopher <echristo@redhat.com>
14934
14935 * config/mips/mips.h: Change TUNE_MIPS* options to use
14936 mips_tune.
14937 (EXTRA_SPECS): Add cc1_cpu_spec.
14938 * config/mips/mips.md (muldf3): Fix typo.
14939
14940 2001-07-16 Richard Henderson <rth@redhat.com>
14941
14942 * config/m68k/m68k.c: Include expr.h and reload.h.
14943 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
14944 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
14945
14946 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
14947 Richard Henderson <rth@redhat.com>
14948
14949 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
14950 (insn_live_p): Fix fall off end of function.
14951 (dead_libcall_p): Remove COUNTS argument; update callers.
14952 (delete_trivially_dead_insns): Remove unused variables.
14953
14954 2001-07-17 Andreas Jaeger <aj@suse.de>
14955
14956 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
14957 x86-64 pic support.
14958
14959 * lcm.c (optimize_mode_switching): Avoid warning for unused
14960 variable if !NORMAL_MODE.
14961
14962 * flow.c (try_crossjump_to_edge): Remove unused variable.
14963
14964 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
14965
14966 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14967 atexit declaration in stdlib.h.
14968
14969 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
14970
14971 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
14972
14973 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14974
14975 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
14976 * except.c (finish_eh_generation): Update call of cleanup_cfg;
14977 do rebuild_jump_labels instead of jump_optimize
14978 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
14979 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
14980 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
14981
14982 * flow.c: Include timevar.h
14983 (find_basic_block): Push/pop timevar;
14984 (cleanup_cfg): Likewise.
14985 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
14986 * Makefile: Add dependencies on timevar.h
14987
14988 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
14989 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
14990
14991 * rtl.h (delete_trivially_dead_insns): Add new parameter.
14992 * toplev.c (rest_of_compilation): Update calls.
14993 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
14994 (delete_trivially_dead_insns): ... here; accept new argument
14995 preserve_basic_blocks; preserve basic blocks if set.
14996
14997 * reg-stack.c (stack_regs_mentioned): Return 0 if
14998 stack_regs_mentioned_data is not initialized.
14999 (reg_to_stack): Make stack_regs_mentioned survive after the
15000 reg-stack is completted; do not call cleanup_cfg.
15001 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
15002 make cleanup_cfg after bb-reorder to output to debug file.
15003
15004 2001-07-16 Richard Henderson <rth@redhat.com>
15005
15006 * regclass.c (init_reg_sets): Use only 32 bits per initializer
15007 from int_reg_class_contents.
15008
15009 2001-07-16 Richard Henderson <rth@redhat.com>
15010
15011 * hard-reg-set.h (regs_invalidated_by_call): Declare.
15012 * regclass.c (regs_invalidated_by_call): Move from cse.c.
15013 (init_reg_sets_1): Move initialization from cse_main.
15014 * cse.c (regs_invalidated_by_call): Move to regclass.c.
15015 (cse_main): Move its initialization also.
15016 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15017 * flow.c (propagate_one_insn): Likewise.
15018 * gcse.c (compute_hash_table): Likewise.
15019 (compute_kill_rd, compute_store_table): Likewise.
15020 * sched-deps.c (sched_analyze_1): Likewise.
15021
15022 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
15023
15024 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15025 gen_rtx_SET.
15026
15027 2001-07-16 Steve Ellcey <sje@cup.hp.com>
15028
15029 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15030 in if statement so we don't access undefined memory.
15031
15032 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
15033
15034 * gcse.c: Update comment at top.
15035 Update comment on mem handling.
15036 mem_last_set, mem_first_set, mem_set_in_block: gone.
15037 Declaration of reg_set_info: gone.
15038 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15039 pointless with load_killed_in_block_p (they are *more*
15040 conservative then it, not less, and less accurate).
15041 (oprs_not_set_p): Ditto.
15042 (alloc_gcse_mem): Don't allocate mem_set_in_block
15043 (free_gcse_mem): Don't free it, either.
15044 (record_last_mem_set_info): Update comment in front, remove
15045 mem_*set_* stuff. Note the reason we don't handle stores directly
15046 here.
15047 (compute_hash_table): Update comments to reflect reality. Remove
15048 mem_*set_* references.
15049 (reset_opr_set_tables): Remove mem_*set_* references.
15050 (mark_call): Ditto.
15051 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
15052 (mark_clobber): Ditto (on both parts, we double set here too).
15053 (expr_killed_p): Remove mem_set_in_block test.
15054 (compute_transp): Remove mem_set_in_block test.
15055
15056 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
15057 of edge, and removal of phi alternative to dump file.
15058 (ssa_ccp_substitute_constants): Add note about register now being
15059 constant, and which uses were replaced in what insns to dump file.
15060
15061 2001-07-16 Andreas Jaeger <aj@suse.de>
15062
15063 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15064 variables of type HOST_WIDEST_INT.
15065
15066 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15067 (__bb_exit_func): Correct type of count_max to avoid overflow.
15068 (num_digits): Handle long long argument.
15069
15070 * combine.c (gen_lowpart_for_combine): Remove unused variable.
15071
15072 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15073
15074 * output.h (sdb_begin_function_line): Restore as an extern
15075 variable.
15076 * sdbout.c (sdb_begin_function_line): Make extern.
15077
15078 2001-07-15 Richard Henderson <rth@redhat.com>
15079
15080 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15081 * genrecog.c (maybe_both_true_mode): New.
15082 (maybe_both_true_2): Use it.
15083 (write_switch): Don't put Pmode in a switch.
15084 * rtl.c (mode arrays): Don't explicitly size them.
15085
15086 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15087
15088 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15089 handling; move unconditional splitting before mode switching.
15090
15091 * i386.md (type): Add fistp type.
15092 (i387, length_attr, scheduling definitions): Handle this type.
15093 (fix_trunc?f?i2): Revamp to use mode switching.
15094 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15095 * i386.h (fp_cw_mode): New enum
15096 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15097 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15098
15099 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15100
15101 * Makefile.in (integrate.o): Add debug.h.
15102 * integrate.c (debug.h): Add.
15103 (output_inline_function): Save, reset, and restore debug_hooks.
15104
15105 2001-07-15 Richard Henderson <rth@redhat.com>
15106
15107 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15108 instead of COMPARE for the EQUIV expression.
15109
15110 2001-07-15 Richard Henderson <rth@redhat.com>
15111
15112 * flow.c (redirect_edge_and_branch_force): Initialize
15113 global_live_at_start and global_live_at_end.
15114 (allocate_bb_life_data): Export.
15115 * basic-block.h (allocate_bb_life_data): Declare.
15116 * toplev.c (rest_of_compilation): Call it.
15117
15118 2001-07-15 Richard Henderson <rth@redhat.com>
15119
15120 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15121 (alpha_tablejump_best_label): New.
15122 * config/alpha/alpha-protos.h: Declare them.
15123 * config/alpha/alpha.md: Use braced strings for code blocks.
15124 (tablejump_osf): Break out add with r29.
15125 (tablejump_osf_internal): Remove.
15126 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15127 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15128
15129 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15130
15131 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15132 of the movable.
15133
15134 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15135
15136 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15137 (ix86_fp_jump_nontrivial_p): New.
15138 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15139 use ix86_fp_jump_nontrivial_p.
15140 * i386.c (ix86_fp_jump_nontrivial_p): New.
15141 (ix86_split_fp_branch): Accept code instead of rtx.
15142 (ix86_expand_compare): Expand comparison early in case
15143 doing so is resonably cheap.
15144
15145 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15146
15147 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15148 not 'machine'.
15149 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15150 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15151
15152 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15153
15154 * dbxout.c (dbxout_source_line): Make static, update prototype.
15155 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15156 (dbxout_init, dbxout_finish, dbxout_source_line,
15157 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15158 * dbxout.h (dbxout_source_line): Delete.
15159 * debug.c (debug_nothing_file, debug_nothing_file_int,
15160 debug_nothing_file_charstar_rtx): New.
15161 (do_nothing_debug_hooks): Update.
15162 (debug_nothing_void, debug_nothing_charstar_rtx,
15163 dwarf2out_end_epilogue): New.
15164 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15165 * debug.h (struct rtx_def): Declare.
15166 (gcc_debug_hooks): New hooks source_line, end_epilogue
15167 and end_function.
15168 (debug_nothing_void, debug_nothing_charstar_rtx,
15169 dwarf2out_end_epilogue): New.
15170 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15171 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15172 (dwarf2_debug_hooks): Update.
15173 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15174 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15175 * dwarf2out.h (dwarf2out_source_line): Remove.
15176 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15177 Make static, update prototype.
15178 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15179 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15180 (dwarf_debug_hooks): Update.
15181 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15182 dwarfout_end_function): Remove.
15183 * final.c (profile_function): Use debug hooks for ending functions
15184 and epilogues.
15185 (output_source_line, final_end_function): Update prototype,
15186 use debug hooks.
15187 (final_start_function, final_scan_insn): Update.
15188 * output.h (sdb_begin_function_line): Remove.
15189 (final_end_function): Update prototype.
15190 * sdbout.c (sdb_begin_function_line): Make static.
15191 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15192 (sdbout_source_line): New.
15193 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15194 prototypes.
15195 (sdb_debug_hooks): Update.
15196 (sdbout_init, sdbout_source_line,
15197 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15198 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15199 * toplev.c (compile_file, rest_of_compilation): Update.
15200 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15201 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15202 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15203 Update for prototype changes.
15204 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15205 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15206
15207 2001-07-15 Richard Henderson <rth@redhat.com>
15208
15209 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15210 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15211 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15212 * config/alpha/alpha.c: Likewise.
15213 * config/alpha/alpha.md: Likewise.
15214 * config/alpha/alpha32.h: Likewise.
15215 * config/alpha/vms.h: Likewise.
15216 (OPEN_VMS): Remove.
15217
15218 2001-07-14 Richard Henderson <rth@redhat.com>
15219
15220 * config/alpha/alpha.md: Use define_constants for unspec values.
15221 Substitute throughout.
15222
15223 2001-07-14 Tim Josling <tej@melbpc.org.au>
15224
15225 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15226
15227 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15228
15229 * pa.md: Remove unused constraints from define_split's.
15230
15231 2001-04-14 Richard Henderson <rth@redhat.com>
15232
15233 * ifcvt.c (find_cond_trap): Test for exit block.
15234
15235 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15236
15237 Re-install recently reverted patch.
15238 * emit-rtl.c (try_split): Update mark_jump_label call.
15239 * flow.c (find_sub_basic_blocks): Likewise.
15240 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15241 jump_back_p): Kill.
15242 (mark_all_labels): Kill second parameter.
15243 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15244 (rebuild_jump_labels, jump_optimize_minimal): Update call
15245 of jump_optimize_1.
15246 (jump_optimize_1): Kill crossjumping code.
15247 (mark_jump_label): Kill cross_jump parameter.
15248 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15249 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15250 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15251 splitting.
15252 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15253 DFI_bpro.
15254 (dump_file_info): Likewise.
15255 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15256 reorganize passes to do reg-stack first, bb-reorder second.
15257 * invoke.texi (-d letters doc): Remove the jump2 pass.
15258
15259 2001-07-14 Richard Henderson <rth@redhat.com>
15260
15261 * ifcvt.c (find_cond_trap): New.
15262 (find_if_header): Call it.
15263 (merge_if_block): Relax existing jump sanity check.
15264 * jump.c (jump_optimize_1): Remove conditional trap handling.
15265
15266 2001-07-14 Alan Modra <amodra@bigpond.net.au>
15267
15268 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15269 millicode.
15270 (insn_refs_are_delayed): Correct comment.
15271 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15272 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15273 instead of r31. Make associated insn !TARGET_64BIT, and
15274 provide an additional 64-bit insn that clobbers r2.
15275 (divsi3): Likewise.
15276 (udivsi3): Likewise.
15277 (modsi3): Likewise.
15278 (umodsi3): Likewise.
15279
15280 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15281
15282 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15283
15284 * flow.c (redirect_edge_and_branch_force, split_edge,
15285 try_crossjump_to_edge): Use set_block_for_new_insns.
15286 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15287
15288 2001-07-13 H.J. Lu (hjl@gnu.org)
15289
15290 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15291 the correct patch.
15292
15293 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15294
15295 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15296
15297 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15298
15299 * c-common.c (decl_attributes): Take a pointer to the node to
15300 which attributes are to be attached, and a flags argument.
15301 * c-common.h (enum attribute_flags): New.
15302 (decl_attributes): Update prototype.
15303 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15304 finish_enum, start_function): Update calls to decl_attributes.
15305 * c-parse.in (component_declarator, component_notype_declarator,
15306 label): Update calls to decl_attributes.
15307
15308 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
15309
15310 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15311 * config/avr/avr.c (legitimate_address_p): Return value changed
15312 from letter to register classes. For better debugging.
15313
15314 2001-07-13 Kazu Hirata <kazu@hxi.com>
15315
15316 * jump.c (reversed_comparison_code_parts): Fix comment typos.
15317
15318 2001-07-13 H.J. Lu (hjl@gnu.org)
15319
15320 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15321
15322 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
15323
15324 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
15325 correctly for shared configurations.
15326 * config/t-libgcc-pic: New.
15327 * config/{i386,m68k,sparc}/t-openbsd: New.
15328 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
15329 Support -shared. Support debugging libraries with -g.
15330 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
15331 frame information does not emit pointer diffs.
15332 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
15333 emit pointer diffs.
15334
15335 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15336
15337 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15338
15339 2001-07-13 David Edelsohn <edelsohn@gnu.org>
15340
15341 * combine.c (try_combine): Ensure const_int pow2 is positive.
15342
15343 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
15344
15345 * config.gcc: Add configuration for s/390.
15346 * config/s390/s390.c: New. Subroutines for code generation.
15347 * config/s390/s390.h: New. Definitions for s/390.
15348 * config/s390/s390-protos.h: New. Prototypes.
15349 * config/s390/linux.h: New. Definitions for linux for s/390.
15350 * config/s390/linux64.h: New. Definitions for linux for zSeries.
15351 * config/s390/t-linux: New. Makefile fragment.
15352 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15353 * config/s390/fixdfdi.h: New. Fix L_fix*di.
15354
15355 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
15356
15357 * emit-rtl.c (try_split): Update mark_jump_label call.
15358 * flow.c (find_sub_basic_blocks): Likewise.
15359 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15360 jump_back_p): Kill.
15361 (mark_all_labels): Kill second parameter.
15362 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15363 (rebuild_jump_labels, jump_optimize_minimal): Update call
15364 of jump_optimize_1.
15365 (jump_optimize_1): Kill crossjumping code.
15366 (mark_jump_label): Kill cross_jump parameter.
15367 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15368 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15369 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15370 splitting.
15371 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15372 DFI_bpro.
15373 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15374 reorganize passes to do reg-stack first, bb-reorder second.
15375 * invoke.texi (-d letters doc): Remove the jump2 pass.
15376
15377 2001-07-12 Steve Ellcey <sje@cup.hp.com>
15378
15379 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15380
15381 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15382
15383 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15384 basic blocks.
15385 (verify_flow_info): Make diagnostics prettier.
15386
15387 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
15388
15389 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15390
15391 * flow.c (outgoing_edges_match): Return early if condition reversal
15392 failed.
15393
15394 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
15395
15396 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15397 (mips_move_2words): When splitting a move into two instructions,
15398 prefix the second address operand with '%D'.
15399
15400 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
15401
15402 * Makefile.in (final.o): Depend on debug.h.
15403 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15404 (dbx_debug_hooks): Add new hooks.
15405 (xcoff_debug_hooks): New.
15406 * debug.c (debug_nothing_file_int_int): New.
15407 (do_nothing_debug_hooks): Update.
15408 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15409 (debug_nothing_file_int_int): New.
15410 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15411 static, update prototype.
15412 (dwarf2_debug_hooks): Update.
15413 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15414 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15415 static, update prototype.
15416 (dwarf_debug_hooks): Update.
15417 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15418 * final.c: Include debug.h.
15419 (final_scan_insn): Use debug hooks when beginning and ending blocks.
15420 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15421 static, update prototype.
15422 (sdb_debug_hooks): Update.
15423 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15424 * toplev.c: Distinguish between xcoff and dbx.
15425
15426 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15427 Call all debug hooks, not just dwarf ones.
15428
15429 2001-07-11 Timothy Wall <twall@redhat.com>
15430
15431 * config.gcc: Add configuration for AIX5/IA64.
15432 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
15433 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
15434 support prefix/suffix code.
15435 * config/ia64/t-aix: New. Makefile fragment.
15436 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
15437
15438 2001-07-11 Kazu Hirata <kazu@hxi.com>
15439
15440 * recog.c (validate_change): Fix a comment typo.
15441
15442 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
15443
15444 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
15445 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15446 hooks directly.
15447 * dbxout.c (dbx_debug_hooks): Add new hooks.
15448 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15449 make static.
15450 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15451 make static.
15452 * dbxout.h (dbxout_start_new_source_file,
15453 dbxout_resume_previous_source_file): Delete.
15454 * debug.c (do_nothing_debug_hooks): Add new hooks.
15455 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15456 (debug_nothing_int_charstar, debug_nothing_int): New.
15457 * debug.h (gcc_debug_hooks): New hooks define, undef,
15458 start_source_file and end_source_file.
15459 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15460 (debug_nothing_int_charstar, debug_nothing_int): New.
15461 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
15462 the conditionally compiled section.
15463 (dwarf2out_start_source_file, dwarf2out_end_source_file,
15464 dwarf2out_define, dwarf2out_undef): Make static.
15465 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15466 dwarf2out_define, dwarf2out_undef): Remove.
15467 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15468 (dwarfout_start_source_file, dwarfout_end_source_file,
15469 dwarfout_define, dwarfout_undef): Make static.
15470 (dwarfout_start_source_file_check,
15471 dwarfout_end_source_file_check): New.
15472 (dwarfout_define, dwarfout_finish): Update.
15473 * dwarfout.h (dwarfout_start_new_source_file,
15474 dwarfout_resume_previous_source_file, dwarfout_define,
15475 dwarfout_undef): Remove.
15476 * sdbout.c (sdb_debug_hooks): Add new hooks.
15477 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15478 make static.
15479 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15480 make static, take an arg.
15481 * sdbout.h (sdbout_start_new_source_file,
15482 sdbout_resume_previous_source_file): Delete.
15483 * toplev.c (debug_start_source_file, debug_end_source_file,
15484 debug_define, debug_undef): Delete.
15485 * toplev.h (debug_start_source_file, debug_end_source_file,
15486 debug_define, debug_undef): Delete.
15487
15488 * java/jcf-parse.c: Include debug.h.
15489 (parse_class_file): Update to use debug hooks directly.
15490 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15491
15492 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15493
15494 * alias.c (set_mem_alias_set): New function.
15495 * rtl.h (set_mem_alias_set): Declare it.
15496 * builtins.c (expand_builtin_return_addr): Call it instead of
15497 using MEM_ALIAS_SET accessor.
15498 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15499 (get_memory_rtx, expand_builtin_va_arg): Likewise.
15500 (expand_builtin_va_copy):Likewise.
15501 * caller-save.c (setup_save_areas): Likewise.
15502 * calls.c (compute_argument_addresses): Likewise.
15503 * explow.c (set_mem_attributes): Likewise.
15504 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15505 (expand_assignment, store_constructor_field, store_field): Likewise.
15506 (expand_expr_unaligned): Likewise.
15507 * function.c (assign_stack_temp_for_type): Likewise.
15508 (put_reg_into_stack, gen_mem_addressof): Likewise.
15509 * ifcvt.c (noce_try_cmove_arith): Likewise.
15510 * reload1.c (reload, alter_reg): Likewise.
15511 * config/alpha/alpha.c (get_aligned_mem): Likewise.
15512 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15513 (alpha_expand_unaligned_store): Likewise
15514 (alpha_expand_unaligned_load_words): Likewise.
15515 (alpha_expand_unaligned_store_words): Likewise.
15516 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15517 (alpha_expand_epilogue): Likewise.
15518 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15519 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15520 * config/i386/i386.c (legitimize_pic_address): Likewise.
15521 * config/i960/i960.c (setup_incoming_varargs): Likewise.
15522 * config/ia64/ia64.c (spill_restore_mem): Likewise.
15523 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15524 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15525 * config/mips/mips.c (mips_va_arg): Likewise.
15526 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15527 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15528 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15529 (setup_incoming_varargs, rs6000_va_arg): Likewise.
15530 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15531 (rs6000_emit_epilogue): Likewise.
15532 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15533 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15534 * config/v850/v850.c (v850_va_arg): Likewise.
15535
15536 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
15537
15538 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15539 when fallthru edge is present.
15540 (mege_blocks): Handle case where creation of jump insn
15541 is required.
15542
15543 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15544 CLEANUP_POST_REGSTACK): New constants.
15545 * except.c (finish_eh_generation): Update call of cleanup_cfg,
15546 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15547 * output.h (cleanup_cfg): Update prototype.
15548 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15549 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15550 cleanup_cfg call; kill missleading comment.
15551 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15552 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15553 parameter; control optimizations performed using it.
15554 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15555 try_crossjump_bb): New functions.
15556
15557 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15558
15559 * pa.c (pa_output_function_prologue): Delete prototype. Make function
15560 extern.
15561 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15562 pa_output_function_prologue.
15563 * pa-protos.h (pa_output_function_prologue): New prototype.
15564
15565 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15566
15567 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15568 and low to get correct sign extension in low+high test.
15569
15570 2001-07-11 Janis Johnson <janis@us.ibm.com>
15571
15572 * gcov.c (arcdata): Use gcov_type to fix branch percentage
15573 for large hit count.
15574
15575 * profile.c (branch_prob): Fix .bbg info for computed gotos
15576 and C++ EH code.
15577
15578 2001-07-11 Mark Mitchell <mark@codesourcery.com>
15579
15580 * stmt.c (parse_output_constraint): New function, split out
15581 from ...
15582 (expand_asm_operands): ... here. Use parse_output_constraint.
15583 * tree.h (parse_output_constraint): Declare it.
15584
15585 2001-07-11 Richard Henderson <rth@redhat.com>
15586
15587 * bitmap.c: Comment some functions; fiddle whitespace.
15588 (bitmap_free): Don't export.
15589 (bitmap_element_allocate): Use memset.
15590 * bitmap.h (bitmap_free): Don't declare.
15591
15592 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
15593
15594 * gcse.c, lcm.c, sched-deps.c:
15595 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15596
15597 * flow.c (flow_loops_find): Free dom if we found no loops, since
15598 we aren't going to save it.
15599
15600 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15601 done.
15602
15603 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
15604
15605 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15606
15607 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15608
15609 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15610 #ifndef DWARF2_DEBUGGING_INFO.
15611
15612 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15613
15614 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15615
15616 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15617
15618 * config/mips/mips.c (gen_int_relational): Tell the caller not to
15619 reverse a branch if a NE comparison is implemented with GTU.
15620
15621 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15622 H.J. Lu <hjl@gnu.org>
15623
15624 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15625 constant addresses.
15626 (call_internal2): Likewise.
15627 (call_value_internal1): Likewise.
15628 (call_value_internal2): Likewise.
15629 (call_value_multiple_internal1): Likewise.
15630 (call_value_multiple_internal2): Likewise.
15631
15632 2001-07-10 Kazu Hirata <kazu@hxi.com>
15633
15634 * calls.c (emit_library_call_value_1): Fix a comment typo.
15635 * dwarf2out.c (mem_loc_descriptor): Likewise.
15636 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15637
15638 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
15639
15640 * simplify-rtx.c (simplify_subreg): Fix typo in comment
15641
15642 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15643
15644 * recog.c (offsettable_address_p): Handle LO_SUM case.
15645 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15646 instead of plus_constant.
15647
15648 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15649
15650 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15651 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15652
15653 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15654
15655 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15656 adjust_address_nv instead of plus_constant.
15657
15658 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
15659
15660 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15661 dwarf2out.o): Depend on debug.h, wrap long lines.
15662 * dbxout.c: Include debug.h.
15663 (dbx_debug_hooks): New.
15664 (dbxout_init): Make static, take just 2 args.
15665 (dbxout_finish): Make static.
15666 * dbxout.h (dbxout_init, dbxout_finish): Delete.
15667 * debug.c: New file.
15668 * debug.h: New file.
15669 * dwarf2out.c: Include debug.h.
15670 (dwarf2_debug_hooks): New.
15671 (dwarf2out_init): Make static.
15672 (dwarf2out_finish): Make static, take 2 args.
15673 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15674 * dwarfout.c: Include debug.h.
15675 (dwarf_debug_hooks): New.
15676 (dwarfout_init): Make static.
15677 (dwarfout_finish): Make static, take 2 args.
15678 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15679 * sdbout.c: Include debug.h.
15680 (sdb_debug_hooks): New.
15681 (sdbout_init): Make static, take 2 args.
15682 * sdbout.h (sdbout_init): Delete.
15683 * toplev.c: Include debug.h.
15684 (debug_hooks): New.
15685 (compile_file): Set deubg_hooks based on command line options.
15686 Use the hooks unconditionally rather than conditional compilation.
15687
15688 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
15689
15690 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
15691 first_insn_after_basic_block_note instead.
15692
15693 * df.c (df_bb_refs_unlink): #if 0 out for now.
15694
15695 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
15696
15697 * ssa.h: Add prototype for ssa_const_prop
15698 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15699 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15700 (ssa_fast_dce): Remove unused variable
15701
15702 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15703
15704 * diagnostic.c (finish_diagnostic): Rename to
15705 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
15706 calls thourghout.
15707
15708 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
15709
15710 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15711 .loc support.
15712
15713 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15714 (dump_file): Only pad the demangled name with spaces if the
15715 mangled name was padded with spaces.
15716
15717 2001-07-10 Bernd Schmidt <bernds@redhat.com>
15718
15719 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15720 edge detection.
15721
15722 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15723
15724 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15725 extraction if no direct load if either EXPAND_CONST_ADDRESS or
15726 EXPAND_INITIALIZER.
15727
15728 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15729 whether can put offset inside LO_SUM to check mode alignment, not size.
15730
15731 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15732
15733 * doc/tm.texi (Misc): Fix thinko.
15734
15735 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
15736
15737 * regmove.c (replace_in_call_usage): Fix warnings.
15738 * sched-deps.c (add_dependence): Fix warnings.
15739 * simplify-rtx.c (simplify_subreg): Likewise.
15740 Return NULL_RTX instead of NULL.
15741
15742 * reg-stack.c (emit_swap_insn): Eliminate warnings.
15743 (subst_asm_stack_regs): Likewise.
15744
15745 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15746 warnings.
15747
15748 * dwarf2out.c (output_call_frame_info): Declare i as int.
15749 (build_abbrev_table): Declare n_alloc as int.
15750 (dwarf2out_finish): Initialize die.
15751 * except.c: Declare sjlj_funcdef_number as unsigned.
15752 (connect_post_landing_pads): Declare j as unsigned.
15753 (convert_to_eh_region_ranges): Initialize call_site.
15754 (output_function_exception_table): Initialize tt_format_size.
15755 * expr.c (move_by_pieces_1): Initialize to1.
15756 (store_constructor): Initialize minelt and maxelt.
15757 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15758 * function.c (instantiate_decls): Avoid signed/unsigned warning.
15759
15760 * c-decl.c (combine_parm_decls): Unused, remove.
15761 * c-tree.h: Remove prototype for combine_parm_decls.
15762
15763 * reload.c (push_reload): Fix warning.
15764 (regno_clobbered_p): Likewise.
15765 * reload1.c (replace_pseudos_in_call_usage): Likewise.
15766 (reload_combine): Likewise.
15767
15768 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15769 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15770 warnings.
15771 * bitmap.c (bitmap_operation): Change user.
15772 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15773
15774 2001-07-10 Eric Christopher <echristo@redhat.com>
15775
15776 * config/mips/mips.c (override_options): Fix typo.
15777
15778 2001-07-09 Stan Shebs <shebs@apple.com>
15779
15780 * target.h (struct gcc_target): New fields init_builtins and
15781 expand_builtin.
15782 * target-def.h (TARGET_INIT_BUILTINS): New macro.
15783 (TARGET_EXPAND_BUILTIN): New macro.
15784 (TARGET_INITIALIZER): Add them.
15785 * builtins.c: Include target.h.
15786 (expand_builtin): Use targetm.expand_builtin.
15787 (default_init_builtins): New function.
15788 (default_expand_builtin): New function.
15789 * expr.h (default_init_builtins): Declare.
15790 (default_expand_builtin): Declare.
15791 * c-common.c (c_common_nodes_and_builtins): Use
15792 targetm.init_builtins.
15793 * defaults.h (MD_INIT_BUILTINS): Remove.
15794 * Makefile.in (builtins.o): Depend on target.h.
15795
15796 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15797 (TARGET_EXPAND_BUILTIN): Define.
15798 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15799 (MD_EXPAND_BUILTIN): Remove.
15800
15801 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15802 (TARGET_EXPAND_BUILTIN): Define.
15803 (c4x_init_builtins): Make endlink arg a local.
15804 (c4x_print_operand): Fix typos in adjust_address usages.
15805 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
15806 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
15807 (MD_EXPAND_BUILTIN): Remove.
15808
15809 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
15810 (TARGET_EXPAND_BUILTIN): Define.
15811 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
15812 (ix86_init_builtins): Call new function only if TARGET_MMX.
15813 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
15814 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
15815 (MD_EXPAND_BUILTIN): Remove.
15816
15817 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
15818 (TARGET_EXPAND_BUILTIN): Define.
15819 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
15820 (MD_EXPAND_BUILTIN): Remove.
15821
15822 * doc/tm.texi: Document these changes.
15823
15824 2001-07-09 Diego Novillo <dnovillo@redhat.com>
15825
15826 * basic-block.h (tree_node): Forward declare if needed.
15827 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
15828 (BLOCK_HEAD_TREE): Define.
15829 (BLOCK_END_TREE): Define.
15830 (struct loops): Rename field 'tree' to 'tree_root'.
15831 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
15832 'end_tree'.
15833 (flow_loops_tree_build): Rename reference to field 'tree' to
15834 'tree_root'.
15835 (flow_loops_level_compute): Ditto.
15836 * predict.c (estimate_bb_frequencies): Ditto.
15837 * tree.h (struct tree_common): Add field 'aux'.
15838
15839 2001-07-09 Stan Shebs <shebs@apple.com>
15840
15841 * config/darwin.c (darwin_encode_section_info): Don't mark any
15842 DECL_EXTERNAL node as defined.
15843
15844 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
15845
15846 * pa.c (pa_init_machine_status, pa_mark_machine_status,
15847 pa_free_machine_status, hppa_init_pic_save): Delete.
15848 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
15849 (hppa_profile_hook): Use hppa_pic_save_rtx.
15850 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
15851 hppa_init_pic_save): Delete.
15852 (hppa_pic_save_rtx): Declare.
15853 * pa.md (call, call_value, sibcall, sibcall_value,
15854 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
15855
15856 2001-07-09 Kazu Hirata <kazu@hxi.com>
15857
15858 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
15859 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
15860
15861 2001-07-09 Andreas Jaeger <aj@suse.de>
15862
15863 * output.h: Add declaration of final_forward_branch_p.
15864
15865 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
15866
15867 * varray.c: Include errors.h for internal_error and trim_filename
15868 declarations.
15869
15870 * Makefile.in (varray.o): Add errors.h.
15871
15872 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
15873
15874 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
15875 * optabs.c (have_add2_insn): Check whether the add insn chosen
15876 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
15877 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
15878
15879 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
15880
15881 * Makefile.in (OBJS): Add ssa-ccp.o
15882 (ssa-ccp.o): Add dependencies.
15883 * toplev.c (DFI_ssa_ccp): New dump file enum.
15884 (dump_file): Add entry for dumping after SSA CCP.
15885 (flag_ssa_ccp): New flag variable.
15886 (f_options): Add -fssa-ccp.
15887 (rest_of_compilation): Run SSA CCP if requested.
15888 * timevar.def (TV_SSA_CCP): New timevar.
15889 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
15890 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
15891 Fix minor typo in SSA DCE documentation.
15892 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
15893 Add documentation for new dump option. Renumber dump files
15894 appropriately.
15895
15896 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15897
15898 * emit-rtl.c (gen_highpart_mode): New.
15899 * rtl.h (gen_highpart_mode): Declare.
15900 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
15901 operand can be VOIDmode constant.
15902
15903 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
15904
15905 * flow.c (redirect_edge_and_branch_force): New.
15906 (can_fallthru): Ensure that basic blocks are succeeding.
15907 (try_optimize_cfg): Do not delete basic block if it is the last one.
15908
15909 * flow.c (try_redirect_by_replacing_jump): Do not remove
15910 jumps with side effects, unlink chain on fallthru edge;
15911 set block for new jump instruction; avoid basic block to
15912 over by line number note.
15913
15914 * flow.c (try_simplify_condjump): Verify that the condjump
15915 is not always falling through.
15916
15917 Re-install patch:
15918 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15919
15920 * flow.c (forwarder_block_p): Fix for fallthru blocks.
15921 (try_redirect_by_replacing_jump): Update properly the count
15922 and frequency information.
15923
15924 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15925
15926 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
15927 address that is a LO_SUM specially.
15928 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
15929
15930 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
15931
15932 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
15933 (operand_subword): Use them.
15934 (change_address_1): Renamed from change_address; new arg VALIDATE.
15935 * expr.h: Reflect above changes; change_address now macro.
15936 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
15937 making MEM.
15938 * cselib.c (add_mem_for_addr): Likewise.
15939 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
15940 * regmove.c (try_apply_stack_adjustment): Likewise.
15941 * reload.c (push_reload, make_memloc): Likewise.
15942 * reload1.c (eliminate_regs): Likewise.
15943 * simplify-rtx.c (simplify_replace_rtx): Likewise.
15944 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
15945 adjust_addess.
15946 * combine.c (make_extraction, simplify_shift_const): Likewise.
15947 (gen_lowpart_for_combine): Likewise.
15948 * cse.c (gen_lowpart_if_possible): Likewise.
15949 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
15950 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
15951 * optabs.c (gen_move_insn): Likewise.
15952 * reload1.c (alter_reg): Likewise.
15953 * simplify-rtx.c (simplify_subreg): Likewise.
15954 * stmt.c (expand_anon_union_decl): Likewise.
15955 * recog.c (validate_replace_rtx_1): Likewise.
15956 (expr.h): Include.
15957 * Makefile.in (recog.o): Add $(EXPR_H).
15958 * explow.c (stabilize): Call replace_equiv_address.
15959 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
15960 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
15961
15962 2001-07-03 Andrew Haley <aph@redhat.com>
15963
15964 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
15965 the mode of the memory location.
15966
15967 2001-07-09 Bo Thorsen <bo@suse.co.uk>
15968
15969 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
15970
15971 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
15972
15973 * final.c (output_addr_const): Use target opening and
15974 closing parentheses.
15975 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
15976 defaults, add to TARGET_ASM_OUT.
15977 * target.h (struct gcc_target): Add open_paren and close_paren.
15978 * doc/md.texi: Update.
15979 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
15980 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
15981 TARGET_ASM_CLOSE_PAREN.
15982 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15983 Override.
15984 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
15985 Override.
15986 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
15987 * config/a29k/a29k.h: Similarly.
15988 * config/alpha/alpha.h: Similarly.
15989 * config/arc/arc.h: Similarly.
15990 * config/arm/aof.h: Similarly.
15991 * config/arm/aout.h: Similarly.
15992 * config/avr/avr.h: Similarly.
15993 * config/c4x/c4x.h: Similarly.
15994 * config/clipper/clipper.h: Similarly.
15995 * config/convex/convex.h: Similarly.
15996 * config/d30v/d30v.h: Similarly.
15997 * config/dsp16xx/dsp16xx.h: Similarly.
15998 * config/elxsi/elxsi.h: Similarly.
15999 * config/fr30/fr30.h: Similarly.
16000 * config/h8300/h8300.h: Similarly.
16001 * config/i370/i370.h: Similarly.
16002 * config/i386/i386.h: Similarly.
16003 * config/i860/i860.h: Similarly.
16004 * config/i960/i960.h: Similarly.
16005 * config/ia64/ia64.h: Similarly.
16006 * config/m32r/m32r.h: Similarly.
16007 * config/m68hc11/m68hc11.h: Similarly.
16008 * config/m68k/m68k.h: Similarly.
16009 * config/m88k/m88k.h: Similarly.
16010 * config/mcore/mcore.h: Similarly.
16011 * config/mips/mips.h: Similarly.
16012 * config/mn10200/mn10200.h: Similarly.
16013 * config/mn10300/mn10300.h: Similarly.
16014 * config/ns32k/ns32k.h: Similarly.
16015 * config/pa/pa.h: Similarly.
16016 * config/pdp11/pdp11.h: Similarly.
16017 * config/pj/pj.h: Similarly.
16018 * config/romp/romp.h: Similarly.
16019 * config/rs6000/rs6000.h: Similarly.
16020 * config/sh/sh.h: Similarly.
16021 * config/sparc/sparc.h: Similarly.
16022 * config/v850/v850.h: Similarly.
16023 * config/vax/vax.h: Similarly.
16024 * config/we32k/we32k.h: Similarly.
16025
16026 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
16027
16028 * doc/c-tree.texi: Document representation of attributes.
16029
16030 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16031
16032 * doc/tm.texi: Update some places for the rename of target to
16033 targetm. Fix typo.
16034
16035 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16036
16037 * target.h (struct gcc_target): Add insert_attributes.
16038 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16039 (TARGET_INITIALIZER): Update.
16040 * tree.c, tree.h (default_insert_attributes): New function.
16041 Update comments on other default functions to refer to targetm,
16042 not target.
16043 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16044 TARGET_INSERT_ATTRIBUTES.
16045 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16046 * c-common.c (decl_attributes): Use targetm.insert_attributes.
16047 Don't use PRAGMA_INSERT_ATTRIBUTES.
16048 * Makefile.in (c-common.o): Depend on $(TARGET_H).
16049 * c-decl.c (start_decl, start_function): Don't call
16050 SET_DEFAULT_DECL_ATTRIBUTES.
16051 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16052 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16053 declare.
16054 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16055 (c4x_check_attribute): Avoid modifying attribute list itself.
16056 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16057 Make static.
16058 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16059 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16060 declare.
16061 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16062 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16063 Make static.
16064 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16065 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16066 declare.
16067 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16068 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16069 Adjust parameters. Make static.
16070
16071 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16072
16073 * c-common.c (decl_attributes): Only take a single attributes
16074 parameter.
16075 * c-common.h (decl_attributes): Update prototype.
16076 * c-decl.c (start_decl, start_function): Only take a single
16077 attributes parameter. Update calls to decl_attributes.
16078 (finish_struct, finish_enum): Update calls to decl_attributes.
16079 (push_parm_decl): Expect unified list of attributes. Update call
16080 to decl_attributes.
16081 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16082 notype_nested_function, component_declarator,
16083 component_notype_declarator, label): Update calls to
16084 decl_attributes.
16085 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16086 lists that are passed to push_parm_decl.
16087 * c-tree.h (start_function, start_decl): Update prototypes.
16088 * config/sh/sh-protos.h, config/sh/sh.c
16089 (sh_pragma_insert_attributes): Only take a single attributes
16090 parameter.
16091 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16092 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16093 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16094 build_module_descriptor, generate_static_references,
16095 generate_strings, build_selector_translation_table,
16096 generate_descriptor_table, generate_protocols,
16097 generate_ivars_list, generate_dispatch_table,
16098 generate_protocol_list, generate_category,
16099 generate_shared_structures, really_start_method, add_objc_decls,
16100 generate_classref_translation_entry): Update calls to start_decl
16101 and start_function.
16102 (build_tmp_function_decl, start_method_def): Unify attribute lists
16103 that are passed to push_parm_decl.
16104
16105 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16106
16107 * final.c (no_asm_to_stream): New.
16108 (final_scan_insn): Use target structures for prologue ends
16109 and epilogue starts.
16110 * output.h (no_asm_to_stream): New.
16111 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16112 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16113 (TARGET_ASM_OUT): Update.
16114 * target.h (struct gcc_target): New members function_end_prologue
16115 and function_begin_epilogue.
16116 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16117 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16118 * config/alpha/alpha.c (output_end_prologue): Rename to
16119 alpha_output_function_end_prologue. Use in target struct
16120 and make static.
16121 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16122 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16123 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16124 ia64_output_function_end_prologue. Use in target struct
16125 and make static.
16126 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16127 mistyped prototypes.
16128 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16129 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16130 Delete.
16131 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16132 an use in target struct, make static.
16133 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16134 Delete.
16135
16136 2001-07-08 Richard Henderson <rth@redhat.com>
16137
16138 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16139
16140 2001-07-08 Richard Henderson <rth@redhat.com>
16141
16142 * config/i386/i386.md: Remove constraints strings from define_split
16143 and define_peephole2 patterns.
16144 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16145 (eh_return): Use them.
16146
16147 2001-07-08 Richard Henderson <rth@redhat.com>
16148
16149 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16150 Document MD_FALLBACK_FRAME_STATE_FOR.
16151
16152 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16153
16154 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16155 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16156 elimination.
16157 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16158
16159 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16160
16161 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16162 of the label inside NAME as opposed to just the end of NAME.
16163
16164 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16165
16166 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16167 * config/alpha/alpha.c (alpha_init_machine_status,
16168 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16169 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16170 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16171 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16172
16173 2001-07-06 Stan Shebs <shebs@apple.com>
16174
16175 * target.h (targetm): Rename global from "target", so as not to
16176 conflict with local variables.
16177 * c-decl.c: Ditto.
16178 * c-typeck.c: Ditto.
16179 * final.c: Ditto.
16180 * tree.c: Ditto.
16181 * cp/decl.c: Ditto.
16182 * cp/decl2.c: Ditto.
16183 * cp/typeck.c: Ditto.
16184 * 1750a/1750a.c: Ditto.
16185 * a29k/a29k.c: Ditto.
16186 * arc/arc.c: Ditto.
16187 * arm/arm.c: Ditto.
16188 * avr/avr.c: Ditto.
16189 * clipper/clipper.c: Ditto.
16190 * convex/convex.c: Ditto.
16191 * d30v/d30v.c: Ditto.
16192 * dsp16xx/dsp16xx.c: Ditto.
16193 * elxsi/elxsi.c: Ditto.
16194 * fr30/fr30.c: Ditto.
16195 * h8300/h8300.c: Ditto.
16196 * i370/i370.c: Ditto.
16197 * i386/i386.c: Ditto.
16198 * i860/i860.c: Ditto.
16199 * i960/i960.c: Ditto.
16200 * ia64/ia64.c: Ditto.
16201 * m32r/m32r.c: Ditto.
16202 * m68hc11/m68hc11.c: Ditto.
16203 * m68k/m68k.c: Ditto.
16204 * m88k/m88k.c: Ditto.
16205 * mips/mips.c: Ditto.
16206 * ns32k/ns32k.c: Ditto.
16207 * pa/pa.c: Ditto.
16208 * pdp11/pdp11.c: Ditto.
16209 * romp/romp.c: Ditto.
16210 * rs6000/rs6000.c: Ditto.
16211 * sh/sh.c: Ditto.
16212 * sparc/sparc.c: Ditto.
16213 * vax/vax.c: Ditto.
16214 * we32k/we32k.c: Ditto.
16215 * doc/tm.texi: Update the manual to match.
16216
16217 2001-07-06 Richard Henderson <rth@redhat.com>
16218
16219 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16220 DWARF2_UNWIND_INFO not just whether it is defined.
16221
16222 2001-07-06 Diego Novillo <dnovillo@redhat.com>
16223
16224 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16225 call to simplify_binary_operation returns a new pattern.
16226
16227 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16228
16229 * glimits.h (__SHRT_MAX__): New.
16230 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16231 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16232
16233 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16234
16235 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16236 avoid warnings.
16237
16238 2001-07-06 Richard Henderson <rth@redhat.com>
16239
16240 * bitmap.c (bitmap_release_memory): Move adjacent to the
16241 allocation functions.
16242 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16243 the implementation. Binary search for the set bit.
16244 (bitmap_union_of_diff): Allocate the temporary on the stack
16245 instead of using xmalloc.
16246
16247 2001-07-06 Richard Henderson <rth@redhat.com>
16248
16249 * genrecog.c (validate_pattern): Warn for constraints in
16250 define_{expand,split,peephole2}. Remove strict_low_part
16251 before looking up match_dup.
16252
16253 2001-07-06 DJ Delorie <dj@redhat.com>
16254
16255 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16256 chapter about various build hints and history. Add section
16257 talking about the various types of native and cross builds.
16258
16259 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16260
16261 * Makefile.in (final.o): Depend on target.h.
16262 * final.c: Include target.h.
16263 (default_function_pro_epilogue): New.
16264 (final_start_function): Use target structure for function prologues.
16265 (final_end_function): Use target structure for function epilogues.
16266 * fold-const.c (real_hex_to_f): Constify s and p.
16267 * output.h (default_function_pro_epilogue): New.
16268 * real.h (real_hex_to_f): Update prototype.
16269 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16270 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16271 (TARGET_INITIALIZER): Update.
16272 * target.h (gcc_target): Add struct asm_out.
16273 * doc/tm.texi: Update.
16274
16275 config:
16276 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16277 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16278 in cpu/cpu.c, or rename old functions consistently. Take
16279 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16280 redundant macros and prototypes. Make new functions static.
16281
16282 * 1750a/1750a.c: Similarly.
16283 * 1750a/1750a.h: Similarly.
16284 * a29k/a29k-protos.h: Similarly.
16285 * a29k/a29k.c: Similarly.
16286 * a29k/a29k.h: Similarly.
16287 * arc/arc-protos.h: Similarly.
16288 * arc/arc.c: Similarly.
16289 * arc/arc.h: Similarly.
16290 * arm/arm-protos.h: Similarly.
16291 * arm/arm.c: Similarly.
16292 * arm/arm.h: Similarly.
16293 * avr/avr-protos.h: Similarly.
16294 * avr/avr.c: Similarly.
16295 * avr/avr.h: Similarly.
16296 * clipper/clipper-protos.h: Similarly.
16297 * clipper/clipper.c: Similarly.
16298 * clipper/clipper.h: Similarly.
16299 * convex/convex.c: Similarly.
16300 * convex/convex.h: Similarly.
16301 * d30v/d30v-protos.h: Similarly.
16302 * d30v/d30v.c: Similarly.
16303 * d30v/d30v.h: Similarly.
16304 * d30v/d30v.md: Similarly.
16305 * dsp16xx/dsp16xx-protos.h: Similarly.
16306 * dsp16xx/dsp16xx.c: Similarly.
16307 * dsp16xx/dsp16xx.h: Similarly.
16308 * elxsi/elxsi.c: Similarly.
16309 * elxsi/elxsi.h: Similarly.
16310 * fr30/fr30.c: Similarly.
16311 * fr30/fr30.md: Similarly.
16312 * h8300/h8300-protos.h: Similarly.
16313 * h8300/h8300.c: Similarly.
16314 * h8300/h8300.h: Similarly.
16315 * i370/i370-protos.h: Similarly.
16316 * i370/i370.c: Similarly.
16317 * i370/i370.h: Similarly.
16318 * i386/i386.c: Similarly.
16319 * i386/osf1elf.h: Similarly.
16320 * i386/osfrose.h: Similarly.
16321 * i860/i860-protos.h: Similarly.
16322 * i860/i860.c: Similarly.
16323 * i860/i860.h: Similarly.
16324 * i960/i960-protos.h: Similarly.
16325 * i960/i960.c: Similarly.
16326 * i960/i960.h: Similarly.
16327 * ia64/ia64-protos.h: Similarly.
16328 * ia64/ia64.c: Similarly.
16329 * ia64/ia64.h: Similarly.
16330 * m32r/m32r-protos.h: Similarly.
16331 * m32r/m32r.c: Similarly.
16332 * m32r/m32r.h: Similarly.
16333 * m68hc11/m68hc11-protos.h: Similarly.
16334 * m68hc11/m68hc11.c: Similarly.
16335 * m68hc11/m68hc11.h: Similarly.
16336 * m68k/crds.h: Similarly.
16337 * m68k/dpx2.h: Similarly.
16338 * m68k/m68k-protos.h: Similarly.
16339 * m68k/m68k.c: Similarly.
16340 * m68k/m68k.h: Similarly.
16341 * m68k/news.h: Similarly.
16342 * m88k/m88k-protos.h: Similarly.
16343 * m88k/m88k.c: Similarly.
16344 * m88k/m88k.h: Similarly.
16345 * mips/mips-protos.h: Similarly.
16346 * mips/mips.c: Similarly.
16347 * mips/mips.h: Similarly.
16348 * ns32k/merlin.h: Similarly.
16349 * ns32k/ns32k.c: Similarly.
16350 * ns32k/ns32k.h: Similarly.
16351 * ns32k/tek6000.h: Similarly.
16352 * pa/pa-protos.h: Similarly.
16353 * pa/pa.c: Similarly.
16354 * pa/pa.h: Similarly.
16355 * pdp11/2bsd.h: Similarly.
16356 * pdp11/pdp11-protos.h: Similarly.
16357 * pdp11/pdp11.c: Similarly.
16358 * pdp11/pdp11.h: Similarly.
16359 * romp/romp-protos.h: Similarly.
16360 * romp/romp.c: Similarly.
16361 * romp/romp.h: Similarly.
16362 * rs6000/rs6000-protos.h: Similarly.
16363 * rs6000/rs6000.c: Similarly.
16364 * rs6000/rs6000.h: Similarly.
16365 * rs6000/sysv4.h: Similarly.
16366 * sh/sh-protos.h: Similarly.
16367 * sh/sh.c: Similarly.
16368 * sh/sh.h: Similarly.
16369 * sparc/sparc-protos.h: Similarly.
16370 * sparc/sparc.c: Similarly.
16371 * sparc/sparc.h: Similarly.
16372 * vax/vax.c: Similarly.
16373 * vax/vax.h: Similarly.
16374 * vax/vms.h: Similarly.
16375 * we32k/we32k.c: Similarly.
16376 * we32k/we32k.h: Similarly.
16377
16378 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
16379
16380 * basic-block.h (first_insn_after_basic_block_note): Declare.
16381 * flow.c (first_insn_after_basic_block_note): Define. Moved
16382 from...
16383 * ssa.c (first_insn_after_basic_block_note): Remove.
16384 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16385 necessary.
16386 (ssa_eliminate_dead_code): Properly update the CFG and PHI
16387 nodes when we find a dead conditional branch. Insert BARRIERs
16388 after any blocks with no successors, but which do not have
16389 any BARRIERs.
16390
16391 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16392
16393 * varray.c (varray_check_failed): Use internal_error.
16394
16395 2001-07-05 Andrew Haley <aph@redhat.com>
16396
16397 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16398 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16399 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16400
16401 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
16402
16403 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16404 reference if the target constant is also a SYMBOL_REF.
16405
16406 2001-07-05 Eric Christopher <echristo@redhat.com>
16407
16408 * config/mips/mips.h (MASK_MIPS3900): Remove.
16409 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16410 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16411 (TARGET_MIPS3900): Change to use mips_arch.
16412 (TARGET_MIPS4000): New.
16413 (TARGET_MIPS4100): New.
16414 (TARGET_MIPS4300): New.
16415 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16416 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16417 for -mipsX.
16418 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16419 (ISA_HAS_BRANCHLIKELY): To here.
16420 (CC1_CPU_SPEC): New.
16421 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
16422 (mips_arch_string): Declare.
16423 (mips_arch): Declare.
16424 (TARGET_OPTIONS): Add -march and -mtune.
16425
16426 * config/mips/mips.c (mips_arch_string): New.
16427 (mips_arch): New.
16428 (override_options): Handle -march for codegen and -mtune
16429 for scheduling. Use mips_arch. Move tx39 target default here.
16430 (mips_parse_cpu): Move error message to override_options.
16431
16432 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16433
16434 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16435
16436 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16437 (MIPS Options): Ditto. Change mcpu entry to historical text.
16438
16439 2001-07-05 H.J. Lu (hjl@gnu.org)
16440
16441 * config/mips/mips.c (mips_parse_cpu): New function to parse
16442 -march=*/-mcpu=*.
16443
16444 2001-07-05 Jim Wilson <wilson@redhat.com>
16445
16446 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16447 * config/ia64/t-ia64: Likewise.
16448 (LIB1ASMFUNCS): Update comment.
16449
16450 2001-07-05 David Edelsohn <edelsohn@gnu.org>
16451
16452 * doc/install.texi (Install GCC: Binaries): Fix typo.
16453
16454 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16455
16456 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16457 reference using the stack pointer, adjust it since we push Y
16458 temporarily.
16459 ("*ashrsi3"): Likewise.
16460 ("*lshrsi3"): Likewise.
16461
16462 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16463
16464 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16465 when -fomit-frame-pointer is used.
16466
16467 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
16468
16469 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16470 (try_redirect_by_replacing_jump): Reverse updating properly the
16471 count and frequency information. Reverse removing cc0 setter.
16472 (forwarder_block_p): Reverse fixing for fallthru blocks.
16473
16474 2001-07-05 DJ Delorie <dj@redhat.com>
16475
16476 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16477 (translate_options): If the above is defined, use it to map
16478 given options to new options.
16479 * doc/tm.texi: Document it.
16480
16481 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
16482 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16483
16484 * doc/invoke.texi (Optimize Options): Document that -fgcse may
16485 cause programs using computed gotos to run more slowly.
16486
16487 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16488
16489 * doc/install.texi (Specific): Markup, spelling and typo fixes.
16490 Fixed sorting.
16491 Consistently require binutils 2.11.2, not prereleases.
16492 (Specific, decstation-*): Canonicalize as mips-dec-*.
16493 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16494 always necessary.
16495 (Specific, m68k-altos): Removed reference to README.altos, deleted.
16496 (Specific, mips-*): Reword MIPS C compiler requirements.
16497 (Specific, powerpc*-*-*): New, mention --with-cpu once.
16498 (Specific, sunv5): Removed, obsolete.
16499
16500 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
16501
16502 * dwarf2out.c (output_loc_list): Use an all ones mask for
16503 .text asm output and don't rely on long long
16504 literals. Reformat some long lines.
16505
16506 2001-07-05 Andreas Jaeger <aj@suse.de>
16507
16508 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16509 section.
16510
16511 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16512
16513 * dwarf2out.c (dwarf2out_define): Update comment.
16514 (dwarf2out_undef): Ditto.
16515 (dwarf2out_start_source_file): Ditto.
16516 (dwarf2out_end_source_file): Ditto.
16517 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16518 since we never call the start/end debug hook for the primary file.
16519
16520 2001-07-04 Kazu Hirata <kazu@hxi.com>
16521
16522 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16523 from shll.
16524
16525 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16526
16527 * cppinit.c (remove_dup_dirs): Inform if a system include
16528 directory is being reordered.
16529 * doc/invoke.texi (Directory Options): GCC warns if you hide a
16530 system include.
16531 * doc/cpp.texi (Search Paths): Likewise.
16532 * doc/gcc.texi (Interoperation): Remove information about
16533 -I/usr/include.
16534
16535 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16536
16537 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16538 (VARRAY_TOP_CHAR_PTR): Likewise.
16539
16540 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16541
16542 * gcc.c (process_command): Don't assign elements of a const char*.
16543
16544 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16545
16546 * emit-rtl.c (change_address): Don't abort if invalid address while
16547 reload is in progress.
16548
16549 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16550
16551 * c-lex.c (cb_file_change): Pass line number to
16552 debug_start_source_file.
16553 (cb_undefine): Pass correct line number to debug_undef.
16554
16555 * toplev.c (debug_start_source_file): Add line number to
16556 parameters. Pass it along to dwarf2out_start_source_file.
16557 (decode_g_option): Stop resetting debug level back to normal when
16558 we change debug formats, unless the current level is
16559 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16560 3).
16561
16562 * toplev.h (debug_start_source_file): Add line number to
16563 parameters.
16564
16565 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16566 parameters.
16567
16568 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16569 parameters.
16570 Output debug_macinfo data for starting file if requested.
16571 (dwarf2out_end_source_file): Output debug_macinfo data for ending
16572 file if requested.
16573 (dwarf2out_define): Output debug_macinfo data for defining a macro
16574 if requested.
16575 (dwarf2out_undef): Output debug_macinfo data for undefining a
16576 macro if requested.
16577 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16578 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16579 (macinfo_section_label): New. DWARF2 macro info section label.
16580 (dwarf2out_init): If we want macro info, output the start label
16581 for the section.
16582 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16583 attribute to the compilation unit die pointing to the macro info.
16584
16585 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16586
16587 * dwarf2out.c (new_loc_list): Move to inside #ifdef
16588 DWARF2_DEBUGGING_INFO.
16589 (add_loc_descr_to_loc_list): Ditto.
16590 (output_loc_list): Ditto.
16591 Also, fix thinko in curr not being initialized.
16592 (gen_internal_sym): Ditto.
16593
16594 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16595
16596 * emit-rtl.c (replace_equiv_address): New function.
16597 * expr.h (replace_equiv_address): New declaration.
16598 * explow.c (validize_mem): Call it instead of change_address and
16599 also call if -fforce-addr and address is constant.
16600 * expr.c: Replace more calls to change_address with adjust_address
16601 and/or replace_equiv_address or to validize_mem.
16602 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16603 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16604 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16605 * config/i370/i370.md, config/i860/i860.md: Likewise.
16606 * config/i960/i960.md, config/mips/mips.c: Likewise.
16607 * config/mips/mips.md, config/pa/pa.md: Likewise.
16608 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16609 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16610
16611 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16612
16613 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16614
16615 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16616 function.
16617
16618 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
16619
16620 * doc/include: New directory.
16621 * doc/fdl.texi: Move to doc/include/fdl.texi.
16622 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16623 * doc/include/funding.texi, doc/include/gpl.texi: New files.
16624 * doc/gcc.texi: Use funding.texi and gpl.texi.
16625 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16626 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16627 Update dependencies and use -I $(docdir)/include.
16628
16629 2001-07-04 Anthony Green <green@redhat.com>
16630
16631 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16632
16633 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16634
16635 * doc/install.texi (sparc64-*-*): Remove garbage.
16636
16637 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
16638
16639 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16640 Fix typo in last change to use adjust_address.
16641
16642 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16643
16644 * doc/install.texi (Specific): Update information for *-*-solaris*.
16645
16646 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16647
16648 * explow.c (plus_constant_wide): Reinitialize Y for restart.
16649
16650 2001-07-03 Stan Shebs <shebs@apple.com>
16651
16652 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16653 case for flag_no_mach_text_sections.
16654 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16655 * config/darwin.c (flag_no_mach_text_sections): Remove.
16656 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16657
16658 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16659
16660 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16661 and avoid checking for constant as first operand.
16662 * recog.c (find_constant_term_loc): No longer static.
16663 (adj_offettable_operand): Delete.
16664 * rtl.h (adj_offsettable_operand): Delete declaration.
16665 (find_constant_term): Add declaration.
16666 * caller-save.c: Replace calls to adj_offsettable_operand with calls
16667 to adjust_address.
16668 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16669 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16670 * config/i386/i386.c, config/i386/i386.md: Likewise.
16671 * config/i860/i860.c, config/i960/i960.c: Likewise.
16672 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16673 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16674 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16675 * config/mips/mips.c, config/mips/mips.md: Likewise.
16676 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16677 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16678 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16679 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16680 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16681 * config/ns32k/ns32k.md: Likewise.
16682
16683 2001-07-03 Zack Weinberg <zackw@stanford.edu>
16684
16685 * rtl.c (copy_rtx): Handle 'T' format letter.
16686 * gensupport.c (collect_insn_data): Likewise.
16687 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16688
16689 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
16690
16691 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16692 -B option. Use 'dir' not 'foo' as example directory name.
16693
16694 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16695
16696 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16697 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16698
16699 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16700
16701 * doc/cppinternals.texi: Improve formatting and logical markup.
16702
16703 2001-07-03 Andreas Jaeger <aj@suse.de>
16704
16705 * Makefile.in (insn-recog.o): Add dependency on reload.h.
16706
16707 * genrecog.c (write_header): Include reload.h for prototypes in
16708 insn-recog.c.
16709
16710 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
16711
16712 config:
16713 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16714 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16715 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16716 i386_pe_valid_type_attribute_p): Add.
16717 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16718 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16719
16720 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16721
16722 * explow.c (plus_constant_wide, case LO_SUM): New case.
16723 (plus_constant_for_output_wide): Delete.
16724 * rtl.h (plus_constant_for_output): Delete.
16725 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16726 instead of plus_constant_for_output.
16727 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16728 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16729 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16730 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16731 * config/sparc/sparc.md: Likewise.
16732 Convert some change_address calls to adjust_address.
16733
16734 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16735
16736 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16737 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
16738 documentation of -std and -Wwrite-strings.
16739
16740 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16741
16742 * cse.c (canon_hash): Don't register registers in very small
16743 register classes, as extending their lifetime might cause
16744 reload to fail.
16745
16746 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16747
16748 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16749
16750 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16751 (try_redirect_by_replacing_jump): Update properly the count
16752 and frequency information.
16753
16754 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
16755
16756 * toplev.c (dump_file_index): Move SSA dumps just after first
16757 jump dump.
16758 (dump_file): Corresponding changes.
16759 (rest_of_compilation): Move SSA path to just after the first
16760 jump pass.
16761 * doc/gcc.texi (Passes): Update due to movement of SSA path.
16762 * doc/invoke.texi: Update dump file #s as they were completely
16763 out of date with reality.
16764
16765 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16766
16767 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16768
16769 * expr.c (emit_move_insn_1): Deal with non-default
16770 STACK_PUSH_CODE.
16771
16772 * expr.c (emit_single_push_insn): Fix warning.
16773
16774 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
16775
16776 * expr.c (emit_move_insn_1): Avoid modifying
16777 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16778
16779 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16780
16781 * emit-rtl.c (adjust_address): New function.
16782 * expr.h (adjust_address): Add declaration.
16783 * builtins.c: Replace some calls to change_address with calls to it
16784 or to validize_mem.
16785 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16786 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16787 * config/arm/arm.c, config/convex/convex.c: Likewise.
16788 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16789 * config/i386/i386.c, config/i386/i386.md: Likewise.
16790 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16791 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16792 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16793 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16794 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16795
16796 2001-07-02 Jim Wilson <wilson@redhat.com>
16797
16798 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16799
16800 2001-07-02 Steve Ellcey <sje@cup.hp.com>
16801
16802 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16803 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16804
16805 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16806
16807 * cppinit.c (lang_defaults): New table.
16808 (set_lang): Just read from lang_defaults into the live options
16809 structure.
16810
16811 2001-07-02 Zack Weinberg <zackw@stanford.edu>
16812
16813 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
16814 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
16815 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
16816
16817 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16818
16819 * doc/install.texi: Various spelling and markup fixes.
16820 (Installing GCC): Component specific installation instructions are
16821 gone.
16822 Fix reference.
16823 Warn about removing old install dir in the presence of shared libs.
16824 (Configuration): Invoke with options target to match configure
16825 --help.
16826 Consistently refer to gas, gld pathnames.
16827 Invert --enable-multilib documentation.
16828 Remove references to old compiler versions.
16829
16830 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16831
16832 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
16833
16834 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16835
16836 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
16837 section.
16838 (Specific, mips*-sgi-irix5): Note IDO download.
16839 Reworded MIPS C hints.
16840 Use GNU as instead of GAS.
16841 Markup fixes.
16842 Removed SGI Freeware reference, IRIX 6 only.
16843 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
16844 Note N64 library requirement/workaround.
16845 Update O32 hints.
16846 Complete list of structure passing bug victims.
16847
16848 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16849
16850 * doc/install.texi: Remove CVS Id.
16851
16852 2001-07-02 Andreas Jaeger <aj@suse.de>
16853
16854 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
16855 (find_inherently_necessary): Remove unused variable.
16856
16857 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
16858
16859 * c-common.h (TDI_inlined): New ast dump phase.
16860 (dump_flag_name): New function.
16861 * c-dump.c (dump_files): Add inlined phase.
16862 (dump_flag_name): Define.
16863 * doc/invoke.texi (-fdump-ast-inlined): Document.
16864
16865 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16866
16867 * stor-layout.c (layout_decl): Revert change to handling of alignment
16868 in packed types.
16869
16870 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16871
16872 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
16873 for FIELD_DECL.
16874
16875 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
16876
16877 * doc/tm.texi (FUNCTION_ARG): Document that the last call
16878 is special.
16879
16880 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
16881
16882 * tlink.c (recompile_files): Remove COMPILER_PATH and
16883 LIBRARY_PATH from the environment.
16884
16885 2001-07-01 Zack Weinberg <zackw@stanford.edu>
16886
16887 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
16888 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
16889 enumerators.
16890 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
16891
16892 * c-parse.in (OBJC_STRING): Kill.
16893 (objc_string): Decompose to [objc_string] '@' STRING.
16894 (reswords): Take the leading '@' off all the Objective C keywords.
16895 (objc_rid_sans_at): Kill.
16896 (init_reswords): Don't initialize it.
16897 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
16898 (_yylex): Kill reconsider label. Look ahead one token after
16899 an '@'; if we get an identifier, check whether it's an
16900 Objective C @-keyword. If so, return the keyword. Otherwise,
16901 put back the token and return the '@' as a terminal.
16902
16903 * cpplib.c (lex_macro_node): Remove unnecessary check for
16904 leading '@' on identifier. Clarify control flow and commentary.
16905
16906 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16907
16908 * cse.c (new_label_ref): Variable deleted.
16909 (insert): Remove set of new_label_ref.
16910 (check_for_label_ref): New function.
16911 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16912
16913 See ChangeLog.5 for earlier changes.