Fixed objc problem with bitfields of enumerated types
[gcc.git] / gcc / ChangeLog
1 Wed Dec 12 08:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
2
3 * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
4 enumeral types - encode them using 'i'.
5
6 2001-12-12 Nathan Sidwell <nathan@codesourcery.com>
7
8 * doc/extend.texi (Deprecated Features): Deprecate implicit
9 typename. Document that named return and initializer lists are now
10 removed.
11
12 2001-12-11 Roger Sayle <roger@eyesopen.com>
13
14 * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
15 compiler warning about enumeration values not being handled.
16
17 2001-12-11 Momchil Velikov <velco@fadata.bg>
18
19 * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
20 shifts.
21
22 2001-12-11 Richard Henderson <rth@redhat.com>
23
24 * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
25 * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
26 * config/alpha/alpha.md (prefetch): New.
27
28 2001-12-11 Richard Henderson <rth@redhat.com>
29
30 * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
31 if C has only low bits set and doesn't intersect with X or Y.
32
33 Tue Dec 11 23:58:39 EST 2001 John Wehle (john@feith.com)
34
35 * basic-block.h (flow_preorder_transversal_compute): Declare.
36 * cfganal.c (flow_preorder_transversal_compute): Implement.
37
38 Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
39
40 * cfganal.c (flow_depth_first_order_compute): Always
41 increment dfsnum.
42
43 2001-11-30 Alan Matsuoka <alanm@redhat.com>
44
45 * combine.c (combine_simplify_rtx) : Can't simplify
46 cases that use mode class MODE_CC.
47
48 2001-12-11 Richard Henderson <rth@redhat.com>
49
50 * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
51 which there is no divide expander.
52
53 2001-12-11 Richard Henderson <rth@redhat.com>
54
55 * except.c (sjlj_find_directly_reachable_regions): Don't
56 consider RNL_BLOCKED a directly reachable region.
57 (sjlj_assign_call_site_values): Trust directly_reachable.
58 (sjlj_emit_dispatch_table): Likewise.
59
60 2001-12-11 Richard Henderson <rth@redhat.com>
61
62 * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
63 we represent the address load's dependency on the gp.
64 (divmoddi_internal_er): Likewise.
65 (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
66
67 2001-12-11 Richard Henderson <rth@redhat.com>
68
69 * emit-rtl.c (widen_memory_access): New.
70 * expr.h (widen_memory_access): Declare it.
71 * config/alpha/alpha.c (get_aligned_mem): Use it.
72
73 2001-12-11 Richard Henderson <rth@redhat.com>
74
75 * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
76 simplification above out of range check.
77
78 2001-12-11 Dan Nicolaescu <dann@ics.uci.edu>
79
80 * config/sparc/sparc.md (prefetch): New.
81
82 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
83
84 * output.h (regno_uninitialized): Make argument unsigned.
85
86 * flow.c (regno_uninitialized): Make regno unsigned.
87
88 2001-12-11 David O'Brien <obrien@FreeBSD.org>
89
90 * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
91 * config/cris/cris.h (ENDFILE_SPEC): Define.
92 * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
93 * config/pa/elf.h: Likewise.
94
95 2001-12-11 Richard Henderson <rth@redhat.com>
96
97 * objc/objc-act.c (build_string_class_template): New.
98 (build_objc_string_object): Call it.
99
100 2001-12-11 Steve Ellcey <sje@cup.hp.com>
101
102 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
103 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
104 * calls.c (store_unaligned_arguments_into_pseudos): Check
105 FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
106 are passed/returned.
107 * expr.c (move_block_from_reg): Ditto.
108 (move_block_from_reg): Ditto.
109 (copy_blkmode_from_reg): Ditto.
110 * stmt.c (expand_return): Ditto.
111 * stor-layout.c (compute_record_mode): If
112 FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
113 MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
114 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
115 so that Structures of one field are still treated as structures.
116 (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
117 (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
118 (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
119 * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
120 * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
121 to special case handling of structure padding.
122
123 2001-12-11 Daniel Berlin <dan@cgsoftware.com>
124
125 * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
126 (may_trap_exp): Stores only are risk if they trap, too, not just
127 if code == MEM.
128
129 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
130
131 * flow.c (find_regno_partial): Indent properly. Add a default to
132 switch.
133
134 2001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
135
136 * c-common.c (combine_strings): Complain if concatenating
137 __FUNCTION__.
138 * c-parse.in (yylexname): Flag artificial strings.
139 * tree.h (TREE_ARTIFICIAL_STRING_P): New.
140 doc:
141 * extend.texi: Update.
142
143 2001-12-11 Aldy Hernandez <aldyh@redhat.com>
144
145 * c-common.c (type_for_mode): Handle unsigned vectors.
146 (type_for_mode): Remove redundant calls to TYPE_MODE.
147
148 * tree.c (make_vector): New.
149 (build_common_tree_nodes_2): Use make_vector for vector types.
150 Add unsigned vector types.
151
152 * tree.h (tree_index): Add unsigned types for vectors.
153 (unsigned_V16QI_type_node): New.
154 (unsigned_V4SI_type_node): New.
155 (unsigned_V8QI_type_node): New.
156 (unsigned_V8HI_type_node): New.
157 (unsigned_V4HI_type_node): New.
158 (unsigned_V2SI_type_node): New.
159
160 2001-12-11 Stan Shebs <shebs@apple.com>
161
162 * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
163 test of class names.
164
165 2001-12-11 David O'Brien <obrien@FreeBSD.org>
166
167 * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
168 cpu configuration headers.
169 * config/h8300/elf.h: Include dbxelf.h.
170 * config/m68k/linux.h: Likewise.
171 * config/m68k/m68020-elf.h: Likewise.
172 * config/m68k/m68kv4.h: Likewise.
173 * config/sh/elf.h: Likewise.
174 * config/m68k/m68kemb.h: Add comment about the its purpose.
175
176 2001-12-11 Richard Henderson <rth@redhat.com>
177
178 * objc/objc-act.c (build_constructor): Cast initializer values
179 to the proper field types.
180
181 2001-12-11 Jakub Jelinek <jakub@redhat.com>
182
183 * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
184
185 2001-12-10 Roger Sayle <roger@eyesopen.com>
186
187 * builtins.c (expand_builtin): Use a switch statement to list
188 those functions not expanded without optimizations, instead of a
189 series of equality tests.
190
191 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
192
193 * config/alpha/vms.h (LIB_SPEC): Define.
194 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
195
196 * libgcc2.c (_bb): Remove ctime declaration.
197
198 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
199 that works if LN_S = cp.
200
201 * config/alpha/x-vms (version): Change "." to "_".
202
203 * configure.in: Hardcode that vfork works on VMS host.
204 * configure: Regenerated.
205
206 Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
207
208 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
209 unless do_obj true.
210 (process_command): Modify calls to convert_filename.
211
212 2001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
213
214 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
215
216 Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
217
218 * combine.c (known_cond): Check mode of each operand to determine
219 if COND is comparing floating point values.
220
221 2001-12-10 David Edelsohn <edelsohn@gnu.org>
222
223 * rs6000.h (processor_type): Add PPC405.
224 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
225 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
226 rios1, rs64, and ppc630 processors.
227 * rs6000.c (processor_target_table): Add PPC405.
228
229 2001-12-10 Richard Henderson <rth@redhat.com>
230
231 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
232 instead of hardcoding subregs into the _be and _le patterns.
233
234 2001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
235
236 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
237
238 Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
239
240 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
241 what insn does.
242
243 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
244
245 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
246 copyright notice formerly conditioned on @ifinfo on @ifnottex
247 instead.
248
249 Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
250
251 * vmsdbgout.c (lookup_filename): Remove warning.
252
253 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
254
255 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
256
257 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
258 (exeext, target_alias, prefix, local_prefix): Define.
259 * config/alpha/x-vms (USE_COLLECT2): Make empty.
260 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
261 file specifications. Remove ".".
262 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
263 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
264
265 2001-12-09 Nathan Sidwell <nathan@codesourcery.com>
266
267 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
268
269 Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
270
271 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
272 Add rules for building [vp]crt0.o
273 * config/alpha/vms.h (START_FILE_SPEC): Define.
274 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
275 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
276 * doc/invoke.texi: Document special Alpha/VMS options.
277
278 Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
279
280 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
281 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
282 not GNUC.
283
284 Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
285 Douglas B. Rupp <rupp@gnat.com>
286
287 * tree.c (append_random_char): Conditionalize INO for VMS.
288
289 2001-12-09 Richard Henderson <rth@redhat.com>
290
291 * cfgcleanup.c (label_is_jump_target_p): New function.
292 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
293 target of a JUMP_INSN from the preceding block.
294
295 Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
296
297 * vmsdbgout.c (lookup_filename): Assign null string instead
298 of null pointer to fnam.
299
300 2001-12-09 Richard Henderson <rth@redhat.com>
301
302 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
303 immediately after a call; insert nops before a call.
304
305 2001-12-09 Richard Henderson <rth@redhat.com>
306
307 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
308 not FUNCTION_BOUNDARY.
309 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
310 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
311 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
312
313 2001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
314
315 * config/mmix/mmix.c (mmix_function_block_profiler,
316 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
317 unused functions.
318 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
319 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
320 prototypes.
321
322 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
323 Delete obsoleted macros.
324
325 2001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
326
327 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
328 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
329
330 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
331 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
332 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
333 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
334 config/i370/i370.c, config/i386/i386.c,
335 config/i386/i386-interix.h, config/i386/i386.md,
336 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
337 config/m32r/m32r-protos.h, config/mcore/mcore.h,
338 config/rs6000/rs6000.h, config/sparc/linux64.h,
339 config/sparc/sparc.c, config/v850/v850-protos.h,
340 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
341 spelling errors.
342
343 2001-12-09 Daniel Berlin <dan@cgsoftware.com>
344
345 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
346 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
347
348 * config/rs6000/rs6000.c: Ditto.
349
350 * config/rs6000/rs6000.md: Ditto.
351
352 2001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
353
354 * 1750a.md: Add default case in switch.
355 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
356 if-else statement.
357 * dsp16xx.c (print_operand_address): Likewise.
358 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
359 * ia64.md: Add missing braces.
360 * rs6000-protos.h (s8bit_cint_operand): Prototype.
361 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
362 if-else statement.
363 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
364 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
365 * dbxout.c (dbxout_source_file): Move a variable into the scope
366 where it is used.
367 * final.c (profile_function): Mark parameter with
368 ATTRIBUTE_UNUSED.
369 * genemit.c (gen_expand): Likewise for generated file.
370 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
371
372 * vmsdbg.h: Delete spurious close-comment.
373 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
374 * vmsdbgout.c (write_modbeg): Define return type.
375
376 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
377 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
378 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
379 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
380 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
381 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
382 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
383
384 2001-12-08 Tom Rix <trix@redhat.com>
385
386 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
387 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
388 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
389 for powerpc64.
390 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
391 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
392 * config/rs6000/rs6000.c (expand_block_move): Do not use
393 gen_movstrsi_2reg and powerpc64.
394
395 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
396
397 * c-common.h (rid): Add RID_CHOOSE_EXPR and
398 RID_TYPES_COMPATIBLE_P.
399
400 * c-parse.in (reswords): Add __builtin_choose_expr.
401 Add __builtin_types_compatible_p.
402 Add CHOOSE_EXPR token.
403 Add TYPES_COMPATIBLE_P token.
404 Add production for CHOOSE_EXPR.
405 Add production for TYPES_COMPATIBLE_P.
406
407 * doc/extend.texi (__builtin_choose_expr): Add documentation.
408 (__builtin_types_compatible_p): Likewise.
409
410 2001-12-08 David Edelsohn <edelsohn@gnu.org>
411
412 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
413 to unions.
414
415 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
416
417 * c-parse.in: Take string literals in assembler constructs,
418 not expressions.
419 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
420 check the strings are STRING_CSTs.
421
422 2001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
423
424 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
425 using combine_strings to do the concatenation.
426 * c-parse.in: Replace uses of the string non-terminal with STRING.
427 Don't attempt string concatenation.
428 (OBJC_STRING): New terminal.
429 (string): Remove non-terminal.
430 (_yylex): Call combine_strings on function names. Generate
431 OBJC_STRING terminals; don't pass '@' on to yacc.
432 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
433 (build_asm_stmt): Similarly.
434
435 2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
436
437 * rtlanal.c (get_jump_table_offset): Delete unused variable.
438
439 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
440
441 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
442 (prefetch): Rewrite using PREFETCH RTL primitive.
443 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
444 * arm.c (arm_init_builtins): Don't initialize a builtin for
445 __builtin_prefetch here.
446 (arm_expand_builtin): Don't expand __builtin_prefetch here.
447
448 2001-12-08 Richard Earnshaw <rearnsha@arm.com>
449
450 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
451 in test for a subreg.
452
453 2001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
454
455 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
456 strings.
457
458 2001-12-07 Richard Henderson <rth@redhat.com>
459
460 * doc/extend.texi: Fix typo last change.
461
462 * c-decl.c (c_language): Remove duplicate.
463
464 2001-12-07 Dale Johannesen <dalej@apple.com>
465
466 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
467 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
468 specific codegen, eliminate a register copy.
469 (print_operand_address): Add support for Darwin's lo16(constant)
470 syntax.
471 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
472 generation of addresses within very large data objects.
473 (s8bit_cint_operand): New.
474 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
475 Move "mtjmpr" to correct functional unit for 750/7400/7450.
476 Add imul2 and imul3 insn types for multiplication by 16- and
477 8-bit constants.
478 Change tablejump patterns to strongly discourage using LR
479 rather than CTR.
480 Add %lo16 patterns for Darwin loads and stores.
481
482 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
483
484 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
485
486 2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
487
488 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
489 with %sp because it can cause the delayed instruction to load
490 below the stack.
491
492 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
493
494 * alpha.c (alpha_expand_unaligned_store,
495 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
496 call to immed_double_const.
497
498 2001-12-07 Aldy Hernandez <aldyh@redhat.com>
499
500 * doc/extend.texi (Variable Attributes): Document vector_size.
501
502 * attribs.c (c_common_attribute_table): Add vector_size.
503 (handle_vector_size_attribute): New.
504 (vector_size_helper): New.
505 (decl_attributes): Relayout the decl after calculating attribs.
506
507 2001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
508
509 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
510 description for Trouble section.
511 * doc/install-old.texi: Adjust for inclusion as chapter of new
512 installation manual.
513 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
514 Adjust to include old installation chapter as chapter of new
515 installation manual.
516
517 Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
518
519 * rtl.h (get_jump_table_offset): Declare.
520 * rtlanal.c (get_jump_table_offset): Implement.
521
522 Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
523
524 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
525 Deleted; were used only by BB profiler code.
526 (sbb_head, sbb_tail, sbb_label_num): Likewise.
527 (end_final): Delete now-unused vars I, PTR, and SPTR.
528
529 * expr.c (store_field): Remove warning.
530 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
531 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
532 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
533 divisor constant power of 2.
534 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
535
536 2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
537
538 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
539 shifting.
540
541 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
542
543 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
544 (DWARF_FRAME_REGISTERS): Delete.
545
546 2001-12-06 Janis Johnson <janis187@us.ibm.com>
547
548 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
549 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
550 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
551 with defaults for read prefetch with high degree of locality.
552 * doc/extend.texi (__builtin_prefetch): Update documentation.
553 * doc/md.texi (prefetch): Add documentation.
554
555 2001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
556
557 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
558 UNIX V5.1A stdio.h.
559 * fixinc/fixincl.x: Regenerate.
560 Fixes PR libf2c/4826.
561
562 2001-12-06 Aldy Hernandez <aldyh@redhat.com>
563 Richard Henderson <rth@redhat.com>
564
565 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
566 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
567
568 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
569 to PRE_GCC3_DWARF_FRAME_REGISTERS.
570 (frame_state): Same.
571 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
572
573 2001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
574
575 * langhooks.c (lhd_staticp): Mark parameter with
576 ATTRIBUTE_UNUSED.
577
578 2001-12-06 H.J. Lu <hjl@gnu.org>
579
580 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
581 reduce noise.
582 (.po.pox): Likewise.
583 (o/$(PACKAGE).pot): Likewise.
584
585 2001-12-06 Alexandre Oliva <aoliva@redhat.com>
586
587 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
588 * tree-inline.c (expand_call_inline): ... here.
589
590 2001-12-06 H.J. Lu <hjl@gnu.org>
591
592 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
593 (.po.pox): Likewise.
594 (o/$(PACKAGE).pot): Likewise.
595
596 2001-12-06 David O'Brien <obrien@FreeBSD.org>
597
598 * config.gcc: Include dbxelf.h before elfos.h.
599 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
600
601 2001-12-06 Zack Weinberg <zack@codesourcery.com>
602
603 * cppfiles.c (open_file): If we've opened a directory by
604 mistake, close it.
605 (find_include_file): Avoid turning / into // or // into ///.
606
607 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
608
609 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
610 (STRUCT_VALUE_REGNUM): Restore definition.
611
612 2001-12-06 Andrew MacLeod <amacleod@redhat.com>
613
614 * flow.c (find_regno_partial): Return register, not the expression
615 the register is in.
616
617 Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
618
619 * function.c (handle_epilogue_set): Check for FP setting case when
620 SP is set from FP in same insn.
621
622 2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
623
624 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
625 RTX when calling alter_subreg().
626 (store_multiple_sequence): Pass pointer to RTX when calling
627 alter_subreg().
628
629 Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
630
631 * function.c (assing_parms): Fix typo in last change.
632 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
633 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
634 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
635 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
636
637 2001-12-06 Alan Modra <amodra@bigpond.net.au>
638
639 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
640 correct code selecting section.
641
642 Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
643
644 * final.c (count_basic_block, add_bb, add_bb_string):
645 Kill.
646 (end_final, final_start_function, final, final_scan_insn,
647 leaf_function_p): Kill BB profiler related code.
648 * flags.h (profile_block_flag): Kill.
649 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
650 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
651 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
652 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
653 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
654 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
655 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
656 __bb_init_trace_func): Kill.
657 * toplev.c (profile_block_flag): Kill.
658 (indepdendent_decode_option, process_options): Kill -a related code.
659 * alpha.c (direct_call_operand): Likewise.
660 * arm.c (arm_expand_prologue, thumb_expand_prologue,
661 thumb_expand_epilogue): Likewise.
662 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
663 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
664 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
665 MACHINE_STATE_RESTORE): Kill.
666 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
667 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
668 MACHINE_STATE_RESTORE): Kill.
669 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
670 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
671 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
672 code.
673 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
674 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
675 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
676 MACHINE_STATE_RESTORE): Kill.
677 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
678 * i960.c (i960_output_function_prologue): Kill BB profiler related
679 code.
680 * ia64.c (ia64_compute_frame_size): Likewise.
681 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
682 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
683 MACHINE_STATE_RESTORE): Kill.
684 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
685 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
686 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
687 MACHINE_STATE_RESTORE): Kill.
688 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
689 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
690 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
691 MACHINE_STATE_RESTORE): Kill.
692 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
693 Kill BB profiler related code.
694 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
695 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
696 MACHINE_STATE_RESTORE): Kill.
697 * mips.c (mips_expand_prologue): Kill BB profiler related code.
698 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
699 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
700 MACHINE_STATE_RESTORE): Kill.
701 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
702 * s960.c (s390_function_prologue): Kill BB profiler related code.
703 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
704 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
705 MACHINE_STATE_RESTORE): Kill.
706 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
707 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
708 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
709 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
710 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
711 sparc_nonflat_function_epilogue): Kill BB profiler related code.
712 (sparc_function_block_profiler, sparc_block_profiler,
713 sparc_function_block_profiler_exit): Kill.
714 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
715 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
716 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
717 MACHINE_STATE_RESTORE): Kill.
718 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
719 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
720 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
721 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
722 MACHINE_STATE_RESTORE): Kill.
723 * doc/invoke.texi: Kill documentation of -a and -ax.
724 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
725 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
726 MACHINE_STATE_RESTORE): Kill.
727
728 2001-10-26 Steve Christiansen <smc@us.ibm.com>
729
730 * doc/rtl.texi: Use a table to display RTL format characters.
731
732 2001-12-06 Bo Thorsen <bo@suse.co.uk>
733
734 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
735
736 Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
737
738 * function.c (keep_stack_depressed): Check global_live_at_start
739 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
740
741 2001-12-05 David O'Brien <obrien@FreeBSD.org>
742
743 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
744 as set by the generic FreeBSD configure framework.
745
746 2001-12-04 Jason Merrill <jason@redhat.com>
747
748 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
749 start_inlining, end_inlining.
750 * tree-inline.c (expand_call_inline): Call them.
751 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
752 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
753 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
754 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
755 (lhd_tree_inlining_end_inlining): New fn.
756
757 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
758
759 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
760 * c-common.h (shadow_warning): New.
761 * c-decl.c: Include c-common.h.
762 (warn_if_shadowing): New, broken out of pushdecl.
763 (pushdecl): Use warn_if_shadowing.
764 (store_parm_decls): Prevent duplicate -Wshadow warnings.
765
766 Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
767
768 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
769 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
770 (LIB_SPEC): Remove.
771
772 Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
773
774 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
775 (QUAL_UNION_TYPE): New type.
776
777 * varasm.c (output_constant, case ERROR_MARK): New case.
778
779 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
780 (c_com): Delete its reference.
781 * builtins.c: Delete memory checking code.
782 * calls.c, expr.c, function.c, stmt.c: Likewise.
783 * builtins.c (expand_builtin_arg_info): Remove reference to
784 EXPAND_MEMORY_USE_* modifiers.
785 * explow.c (expr_size): Likewise.
786 * expr.c (expand_expr, expand_increment): Likewise.
787 * expr.h (ARGS_SIZE_RTX): Likewise.
788 * function.c (assign_parms, expand_pending_sizeso): Likewise.
789 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
790 * expr.c (in_check_memory_usage): Delete.
791 (get_push_address, get_memory_usage_from_modifier): Delete.
792 (expand_assigment): Use EXPAND_WRITE on destination.
793 (expand_expr): Delete ro_modifier.
794 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
795 add EXPAND_WRITE.
796 (memory_use_mode): Delete.
797 * flags.h (flag_check_memory_usage): Deleted.
798 (flag_prefix_function_name): Likewise.
799 * function.c (expand_function_start): Don't set
800 current_function_check_memory_usage.
801 * function.h (check_memory_usage): Delete.
802 * libfuncs.h, optabs.c: Delete chkr_* stuff.
803 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
804 EXPAND_WRITE.
805 * toplev.c (flag_check_memory_usage): Deleted.
806 (flag_prefix_function_name): Likewise.
807 (f_options, process_options): Delete references to above.
808 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
809 * varasm.c (CHKR_PREFIX): Deleted.
810 (make_decl_rtl): Remove flag_prefix_function_name handling.
811 (assemble_name): Likewise.
812 * doc/extend.texi: Remove no_check_memory_usage attribute.
813 * doc/invoke.texi: Remove -fcheck-memory-usage
814 and -fprefix-function-name.
815
816 2001-12-05 Andreas Schwab <schwab@suse.de>
817
818 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
819 from autoconf.
820
821 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
822
823 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
824
825 2001-12-05 William Cohen <wcohen@redhat.com>
826
827 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
828 instruction.
829
830 2001-12-05 Daniel Berlin <dan@cgsoftware.com>
831
832 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
833 builtins.
834
835 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
836 better reflect reality (change from Apple's tree).
837 Add more of altivec instructions.
838 Add ftruncv4sf2 pattern.
839 Remove more unspecs (vector merge instructions, etc).
840
841 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
842 builtins.
843 (bdesc_1arg): New, for 1 argument altivec builtins.
844 (altivec_expand_builtin): Handle unary and ternary ops.
845 (altivec_init_builtins): Ditto.
846
847 Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
848
849 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
850 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
851
852 2001-12-05 Jakub Jelinek <jakub@redhat.com>
853
854 * gcse.c (store_killed_in_insn): Consider pure calls
855 as potential store killers in addition to normal calls.
856
857 2001-12-05 Jakub Jelinek <jakub@redhat.com>
858
859 * expr.c (expand_expr): When checking promoted value, use
860 DECL_MODE (exp) and not mode.
861
862 2001-12-05 Jakub Jelinek <jakub@redhat.com>
863
864 * c-typeck.c (output_init_element): Call digest_init
865 just once, not in each if branch and check its return value for
866 error_mark_node.
867
868 2001-12-05 Jakub Jelinek <jakub@redhat.com>
869
870 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
871 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
872 (finish_struct): Break the loop if n_incomplete went to 0.
873 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
874
875 Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
876
877 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
878
879 Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
880 Douglas B. Rupp <rupp@gnat.com>
881
882 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
883 * doc/invoke.texi: Add -gvms.
884 * doc/passes.texi: Add mention of vmsdbgout.c.
885 * doc/tm.texi: Document VMS debugging output.
886
887 Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
888
889 * function.h (tree, rtx): Remove no-longer-needed definitions.
890
891 * function.c (keep_stack_depressed): Refine check for register
892 clobbered over call.
893
894 * expr.c (store_expr): When copying string constant into array,
895 use functions that update memrefs instead of computations on
896 addresses to better track MEMs. Also properly handle 32/64 pointers.
897 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
898 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
899
900 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
901 underneath COMPONENT_REFs.
902 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
903
904 2001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
905
906 * toplev.c (display_target_options): Don't print twice.
907
908 Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
909
910 * emit-rtl.c (set_unique_reg_note): Don't set
911 a REG_EQUAL or REG_EQUIV note if multiple sets
912 are present.
913
914 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
915
916 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
917 CASE_DROPS_THROUGH.
918
919 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
920
921 * rtl.h (initialize_uninitialized_subregs): New prototype.
922 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
923 when optimization is on.
924 * flow.c (find_regno_partial): Find subregs within an expression.
925 (initialize_uninitialized_subregs): Initialize live on entry registers
926 which are used in subreg expressions.
927
928 2001-12-04 Phil Edwards <pme@gcc.gnu.org>
929
930 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
931
932 2001-12-04 DJ Delorie <dj@redhat.com>
933
934 * fixinc/fixincl.c (initialize): Avoid problemsome macro
935 parameter names (PR 3388).
936
937 2001-12-05 Alan Modra <amodra@bigpond.net.au>
938
939 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
940 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
941
942 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
943
944 * c-common.def (COMPOUND_LITERAL_EXPR): New.
945 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
946 (c_staticp): New function.
947 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
948 (c_staticp): Declare.
949 * c-typeck.c (default_function_array_conversion, build_unary_op):
950 Don't handle CONSTRUCTOR specially.
951 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
952 * c-decl.c (build_compound_literal): New function.
953 * c-tree.h (build_compound_literal): Declare.
954 * c-parse.in (primary): Use build_compound_literal.
955 * c-lang.c (LANG_HOOKS_STATICP): Define.
956 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
957 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
958 * doc/extend.texi: Update documentation of compound literals.
959 Fixes PR c/4787.
960
961 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
962
963 * langhooks.h (struct lang_hooks): Add staticp.
964 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
965 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
966 * langhooks.c (lhd_staticp): New function.
967 * tree.c (staticp): Call lang_hooks.staticp for language-specific
968 tree codes.
969
970 2001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
971
972 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
973 * gcc.c (process_command): Ensure the cpp driver sees
974 --help and --target-help, and that the help is printed
975 exactly once.
976
977 2001-12-04 David Edelsohn <edelsohn@gnu.org>
978
979 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
980
981 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
982
983 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
984 flag_strict_aliasing. Use separate assignment statements.
985
986 2001-12-04 Zack Weinberg <zack@codesourcery.com>
987
988 * build-make, cross-make: Delete file.
989 * configure.in: Set and substitute CROSS, ALL,
990 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
991 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
992 whether build == host and host == target. Do not
993 AC_SUBST_FILE build_overrides or cross_overrides. Do not
994 AC_SUBST cross_defines or extra_c_flags.
995 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
996 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
997 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
998 partially or completely with autoconf-substituted @variable@
999 notation.
1000 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
1001 @build_overrides@, @extra_c_flags@, all.build, install-build,
1002 install-cross-rest, install-float-h-cross): Deleted.
1003 (install-normal): Rename to install. Delete old "install"
1004 indirection rule.
1005
1006 2001-12-04 Andrew MacLeod <amacleod@redhat.com>
1007
1008 * stmt.c (expand_return): Clear destination instead of clobbering it
1009 when setting a return value via bitsets.
1010
1011 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
1012
1013 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
1014 it has DECL_SAVED_TREE.
1015
1016 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
1017 is in a different binding level, get its abstract origin to be
1018 olddecl.
1019 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
1020 check earlier.
1021 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
1022 DECL_INITIAL is NULL.
1023
1024 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1025
1026 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
1027 Return correct value if one of the subexpressions was optimized to
1028 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
1029 (and_reg_cond): Similarly.
1030
1031 2001-12-04 Jakub Jelinek <jakub@redhat.com>
1032
1033 * function.c (assign_parms): Set last_named only for last named
1034 argument.
1035
1036 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1037
1038 * doc/install.texi: Use the GFDL. Include years from old install
1039 manual in copyright notice. Include copyright and GFDL notice on
1040 HTML index page. Include usual footer on testing.html.
1041 * doc/install.texi2html: Build gfdl.html. Use -I
1042 $SOURCEDIR/include.
1043 * doc/include/fdl.texi: Adapt for use in the install manual.
1044
1045 2001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1046
1047 * doc/install.texi: Document that installed native compiler for
1048 building cross compilers should be GCC 2.95 or later.
1049
1050 2001-12-03 Eric Christopher <echristo@redhat.com>
1051
1052 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
1053 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
1054 patterns.
1055
1056 2001-12-03 Janis Johnson <janis187@us.ibm.com>
1057
1058 * rtl.def (PREFETCH): New rtx code.
1059 * doc/rtl.texi (PREFETCH): Add documentation.
1060 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
1061 * rtlanal.c (reg_referenced_p): Ditto.
1062 * sched-vis.c (print_exp): Ditto.
1063 * ssa-dce.c (find_inherently_necessary): Ditto.
1064
1065 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
1066 (PREFETCH_BLOCK): Define.
1067 * config/ia64/ia64.md (itanium_class): Add lfetch.
1068 (prefetch, prefetch_internal): New.
1069
1070 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
1071 * builtins.def (BUILT_IN_PREFETCH): New.
1072 * builtins.c (expand_builtin_expect): New.
1073 (expand_builtin): Call it.
1074 * doc/extend.texi: Document __builtin_prefetch.
1075
1076 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
1077 conflicts with new generic prefetch functionality.
1078 * config/i386/i386.c (ix86_expand_builtin): Use new name for
1079 prefetch_sse.
1080
1081 2001-12-02 Ziemowit Laski <zlaski@apple.com>
1082
1083 * objc/Make-lang.in: Update copyright.
1084 (OBJC_OBJS): Add objc-lang.o.
1085 (objc-lang.o): New rule.
1086 * objc/config-lang.in: Fix file description and update
1087 copyright.
1088 * objc/objc-act.c: Do not include langhooks.h and
1089 langhooks-def.h
1090 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
1091 (objc_post_options): Move to objc-lang.c.
1092 (objc_init_options): Move to objc-lang.c.
1093 (objc_init): Make non-static.
1094 (objc_decode_option): Make non-static.
1095 (HASHFUNCTION): Remove macro.
1096 (hash_func): New function.
1097 (hash_enter): Replace HASHFUNCTION with hash_func.
1098 (hash_lookup): Replace HASHFUNCTION with hash_func.
1099 (maybe_objc_tree_codes): New function.
1100 (init_objc): Move ObjC tree code initialization to
1101 maybe_objc_tree_codes().
1102 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
1103 (objc_init): New public prototype.
1104 (objc_decode_option): New public prototype.
1105 (maybe_add_objc_tree_codes): New public prototype.
1106 * objc/objc-lang.c: New file.
1107 (lang_hooks): Moved from objc-act.c.
1108 (objc_post_options): Moved from objc-act.c.
1109 (objc_init_options): Moved from objc-act.c.
1110
1111 2001-12-03 Geoff Keating <geoffk@redhat.com>
1112
1113 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
1114 of array elements.
1115
1116 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
1117
1118 PR c/4988
1119 * gcc.c (process_command): Don't add a preprocessor option for
1120 --help and --target-help; cc1 is enough.
1121
1122 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
1123
1124 * c-decl.c (grokdeclarator): Use ISO word.
1125 * cppinit.c: Remove leading capital from diagnostic messages, as
1126 per GNU coding standards.
1127 * emit-rtl.c: Similarly.
1128 * final.c: Similarly.
1129 * gcc.c: Similarly.
1130 * tradcpp.c: Similarly.
1131 * config/arm/arm.c: Similarly.
1132 * config/arm/arm.h: Similarly.
1133 * config/avr/avr.c: Similarly.
1134 * config/avr/avr.h: Similarly.
1135 * config/c4x/c4x.c: Similarly.
1136 * config/cris/cris.c: Similarly.
1137 * config/cris/cris.h: Similarly.
1138 * config/d30v/d30v.c: Similarly.
1139 * config/dsp16xx/dsp16xx.c: Similarly.
1140 * config/dsp16xx/dsp16xx.h: Similarly.
1141 * config/h8300/h8300.c: Similarly.
1142 * config/i386/i386.c: Similarly.
1143 * config/i386/xm-djgpp.h: Similarly.
1144 * config/i960/i960.h: Similarly.
1145 * config/m32r/m32r.c: Similarly.
1146 * config/m68hc11/m68hc11.c: Similarly.
1147 * config/m88k/m88k.c: Similarly.
1148 * config/m88k/m88k.h: Similarly.
1149 * config/mcore/mcore.c: Similarly.
1150 * config/mcore/mcore.h: Similarly.
1151 * config/mips/mips.c: Similarly.
1152 * config/mmix/mmix.c: Similarly.
1153 * config/pa/pa.c: Similarly.
1154 * config/rs6000/rs6000.c: Similarly.
1155 * config/rs6000/sysv4.h: Similarly.
1156 * config/s390/s390.c: Similarly.
1157 * config/sparc/sparc.c: Similarly.
1158 * config/v850/v850-c.c: Similarly.
1159 * config/v850/v850.c: Similarly.
1160
1161 2001-12-03 Zack Weinberg <zack@codesourcery.com>
1162
1163 * rs6000.h (RETURN_IN_MEMORY): Cast result of
1164 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
1165
1166 Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
1167
1168 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
1169 bit twiddling constant.
1170
1171 Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
1172
1173 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
1174 call purge_dead_edges after removing.
1175 (delete_null_pointer_checks): Do not handle delete_list.
1176
1177 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
1178 (count_basic_blocks): ... here.
1179 (find_basic_blocks, find_bb_boundaries): Cleanup.
1180
1181 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
1182 overflow for types greater then 2 * HOST_WIDE_INT.
1183
1184 * reload.c (find_reloads): Update the duplicates after swapingg.
1185
1186 Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
1187
1188 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
1189
1190 2001-12-02 Zack Weinberg <zack@codesourcery.com>
1191
1192 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
1193 MASK_LONG_DOUBLE_128): Delete.
1194 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
1195 TARGET_AIX_STRUCT_RET): New flags.
1196 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
1197 -mlong-double-64. Add entries for -m(no-)aix-struct-return
1198 and -m(no-)svr4-struct-return.
1199 (TARGET_OPTIONS): Add entry for -mlong-double-.
1200 (rs6000_long_double_size_string, rs6000_long_double_type_size,
1201 rs6000_altivec_abi): Declare.
1202 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1203 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1204 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1205 structures of size <= 8 bytes in registers.
1206 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1207
1208 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1209 rs6000_long_double_type_size, rs6000_altivec_abi): New
1210 globals.
1211 (rs6000_override_options): Set rs6000_long_double_type_size
1212 from rs6000_long_double_size_string, if nonzero. Set the
1213 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1214 not already set.
1215 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1216 target_flags bit.
1217 (rs6000_init_builtins): This hook now takes no arguments.
1218
1219 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1220 DRAFT_V4_STRUCT_RET to 1.
1221
1222 2001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
1223
1224 * c-typeck.c (really_start_incremental_init, push_init_level):
1225 Avoid constructor_max_index being other than an INTEGER_CST.
1226
1227 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1228
1229 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1230 unsigned.
1231 (ASM_GENERATE_INTERNAL_LABEL): Same.
1232 (UNIQUE_SECTION): Fix typo.
1233
1234 2001-12-02 Richard Henderson <rth@redhat.com>
1235
1236 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1237
1238 2001-12-02 Richard Henderson <rth@redhat.com>
1239
1240 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1241 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1242 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1243 * expr.h, final.c, reload1.c: Adjust users.
1244
1245 * alias.c (nonoverlapping_component_refs_p): New.
1246 (decl_for_component_ref, adjust_offset_for_component_ref): New.
1247 (nonoverlapping_memrefs_p): Use them.
1248 * emit-rtl.c (component_ref_for_mem_expr): New.
1249 (set_mem_attributes): Use it.
1250 (set_mem_offset): New.
1251 * expr.c (expand_assignment): Call set_mem_attributes for
1252 inner references; adjust the memory offset as needed.
1253 * print-rtl.c (print_mem_expr): New.
1254 (print_rtx): Use it.
1255
1256 Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
1257
1258 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1259
1260 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1261 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1262 (ASM_SPEC): Don't redefine.
1263 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1264 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1265 * config/alpha/vms-dwarf2.asm: New file.
1266
1267 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1268 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1269 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1270 (vmsdbgout_after_prologue): New declaration.
1271 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1272 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1273 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1274 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1275 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1276 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1277 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1278 Test VMS_DEBUGGING_INFO.
1279 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1280 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1281 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1282 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1283 VMS_AND_DWARF2_DEBUG.
1284 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1285 (decode_g_option): Add "vms" to debug_type_names.
1286 (process_options): Set vmsdbg_debug_hooks if -gvms.
1287 (lang_independent_init): Emit line number for VMS unless -g0.
1288 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1289 * vmsdbg.h, vmsdbgout.c: New files.
1290
1291 Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1292
1293 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1294
1295 2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1296
1297 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1298 * dwarf2out.c (is_cxx): Prototype.
1299 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1300 warning.
1301 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1302
1303 Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1304
1305 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1306
1307 2001-12-02 Geoff Keating <geoffk@redhat.com>
1308
1309 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1310 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1311 rather than simplify_subreg. Check for volatile-ness. Check that
1312 we're not splitting one slow operation into two slow operations.
1313
1314 2001-12-02 David Edelsohn <edelsohn@gnu.org>
1315
1316 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1317 before shifting.
1318
1319 2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1320
1321 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1322 capital from diagnostics.
1323 * c-lex.c (cb_file_change): Similarly.
1324 * c-parse.in : Similarly.
1325 * cfgrtl.c (verify_flow_info): Similarly.
1326 * collect2.c: Similarly.
1327 * cppfiles.c (find_include_file): Similarly.
1328 * cppinit.c (cpp_handle_option): Similarly.
1329 * cpplex.c (cpp_spell_token): Similarly.
1330 * cppmain.c (do_preprocessing): Similarly.
1331 * gcc.c (translate_options, process_command, do_spec1,
1332 main, pfatal_execute): Similarly.
1333 * genattr.c (main): Similarly.
1334 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1335 write_test_expr, main): Similarly.
1336 * gencodes.c (main): Similarly.
1337 * genconfig.c (main): Similarly.
1338 * genconstants.c (main): Similarly.
1339 * genemit.c (main): Similarly.
1340 * genextract.c (main): Similarly.
1341 * genflags.c (main): Similarly.
1342 * genopinit.c (main): Similarly.
1343 * genoutput.c (process_template, main): Similarly.
1344 * genpeep.c (main): Similarly.
1345 * genrecog.c (main): Similarly.
1346 * gensupport.c (is_predicable, identify_predicable_attribute,
1347 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1348 * ggc-page.c (alloc_anon): Similarly.
1349 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1350 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1351 parse_stabs_common, parse_stabs, write_varray, write_object,
1352 read_seek, copy_object, main, error): Similarly.
1353 * profile.c (compute_branch_probabilities): Similarly.
1354 * reg-stack.c (check_asm_stack_operands): Similarly.
1355 * reload.c (find_reloads): Similarly.
1356 * reload1.c (spill_failure, failed_reload): Similarly.
1357 * rtl-error.c (_fatal_insn_not_found): Similarly.
1358 * toplev.c (read_integral_parameter, crash_signal,
1359 decode_f_option, set_target_switch, parse_options_and_default_flags)
1360 : Similarly.
1361 * tradcif.y (parse_number, yylex): Similarly.
1362 * tradcpp.c (main, fancy_abort): Similarly.
1363 * tree.c (tree_check_failed): Similarly.
1364 * varray.c (varray_check_failed): Similarly.
1365 * xcoffout.c (xcoff_output_standard_types): Similarly.
1366 objc:
1367 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1368 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1369 finish_message_expr, build_protocol_expr, is_public,
1370 start_class): Similarly.
1371
1372 2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1373
1374 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1375 trailing period from diagnostics.
1376 * c-lex.c (cb_file_change): Similarly.
1377 * cppmacro.c (check_trad_stringification): Similarly.
1378 * gcc.c (do_spec_1): Similarly.
1379 * genattr.c (main): Similarly.
1380 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1381 * gencodes.c (main): Similarly.
1382 * genconfig.c (main): Similarly.
1383 * genconstants.c (main): Similarly.
1384 * genemit.c (main): Similarly.
1385 * genextract.c (main): Similarly.
1386 * genopinit.c (main): Similarly.
1387 * genoutput.c (main): Similarly.
1388 * genpeep.c (main): Similarly.
1389 * genrecog.c (main): Similarly.
1390 * mips-tfile.c (add_file, error): Similarly.
1391 * profile.c (init_branch_prob): Similarly.
1392 * reload1.c (spill_failure): Similarly.
1393 * stmt.c (parse_output_constraint): Similarly.
1394 * varasm.c (assemble_variable): Similarly.
1395
1396 2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1397
1398 * m68k.c (init_FPA_table): Provide static prototype.
1399 * mips/abi64.h (mips_function_value): Move prototype to ...
1400 * mips-protos.h (mips_function_value): ... here.
1401 * mips.c: Include halfpic.h.
1402 * output.h (rdata_section): Prototype.
1403
1404 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1405 * m88k.c (m88k_svr3_asm_out_constructor,
1406 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1407 !OBJECT_FORMAT_ELF.
1408 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1409 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1410 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1411
1412 2001-12-01 Geoff Keating <geoffk@redhat.com>
1413
1414 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1415 LO_SUM addresses less than word size are not legitimate,
1416 because they lead to invalid SUBREGs.
1417 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1418
1419 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
1420
1421 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1422 while scanning for multiple back edges.
1423
1424 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1425
1426 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1427 * config/rs6000/tramp.asm: Use it.
1428
1429 2001-12-01 Zack Weinberg <zack@codesourcery.com>
1430
1431 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1432 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1433 xmalloc.
1434
1435 2001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1436
1437 * pa.c (output_ascii): Cast `p' to unsigned char.
1438
1439 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1440
1441 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1442 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1443 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1444 (altivec_init_builtins): Ditto.
1445 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1446
1447 * config/rs6000/rs6000.md: Add attribute types vecsimple,
1448 veccomplex, vecfloat, and vecperm, for altivec instructions.
1449 Modify altivec patterns to use appropriate attribute type.
1450 Modify altivec patterns to match RTL operations where appropriate
1451 (IE no unspec where we can avoid it).
1452 Add vector unit scheduling for ppc7450.
1453 Rename patterns to what they are where appropriate
1454 (altivec_vaddfp->addv4sf3, etc)
1455
1456 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1457 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1458
1459 * config/rs6000/sysv4.h: Add -mcpu=7450.
1460
1461 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1462 _builtin_altivec_ld_interal function.
1463
1464 2001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1465
1466 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1467 strchr, strrchr, isascii, gettimeofday.
1468 * config.in, configure: Regenerate.
1469
1470 2001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1471
1472 * unroll.c (unroll_loop): Correct special exit cases.
1473
1474 2001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1475
1476 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1477 accept DFmode and DImode only.
1478
1479 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1480
1481 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1482 (STACK_DYNAMIC_OFFSET): Same.
1483
1484 2001-11-30 Richard Henderson <rth@redhat.com>
1485
1486 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1487
1488 2001-11-30 Aldy Hernandez <aldyh@redhat.com>
1489
1490 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1491 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1492 the values in call_used_registers.
1493
1494 Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1495
1496 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1497 gthr-single.
1498
1499 2001-11-30 Jason Merrill <jason@redhat.com>
1500
1501 * dwarf2out.c (is_cxx): New fn.
1502 (add_data_member_location_attribute): Check it.
1503 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1504
1505 Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1506
1507 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1508
1509 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
1510
1511 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1512 MODE_VECTOR_FLOAT as allowed.
1513
1514 2001-11-29 Zack Weinberg <zack@codesourcery.com>
1515
1516 Purge cruft now we have build libiberty.
1517
1518 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1519 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1520 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1521 USE_HOST_STRSTR): Delete variables.
1522 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1523 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1524 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1525 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1526 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1527 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1528 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1529 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1530 (HOST_LIBS): Ditto.
1531 (HOST_RTL): Remove hashtab.o safe-ctype.o.
1532 (OBJS): Remove splay-tree.o.
1533 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1534 (distclean): No need to delete splay-tree.c obstack.c
1535 hashtab.c safe-ctype.c.
1536 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1537 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1538 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1539 Delete.
1540 * configure.in: Don't use them.
1541 Set and substitute @FORBUILD@.
1542 * config.in, configure: Regenerate.
1543 * doprint.c: Move to libiberty/_doprnt.c.
1544 * doc/configterms.texi: Document that libiberty is now built
1545 up to three times. Fix typo.
1546
1547 2001-11-30 Jason Merrill <jason@redhat.com>
1548
1549 * dwarf2out.c (add_data_member_location_attribute): Do the
1550 right thing for virtual bases.
1551 * dbxout.c (dbxout_type): For a virtual base, print the offset
1552 within the vtable.
1553
1554 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1555
1556 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1557
1558 2001-11-29 Aldy Hernandez <aldyh@redhat.com>
1559
1560 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1561 go in memory.
1562 Remove unused attribute for named.
1563
1564 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1565
1566 * genattrtab.c (attr_rtx_1): New function containing the
1567 majority of `attr_rtx'. Move variable declarations into the
1568 scope where they are used. Eliminate unnecessary gotos.
1569 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1570 VA_FIXEDARG, and VA_CLOSE.
1571
1572 2001-11-30 Hans-Peter Nilsson <hp@axis.com>
1573
1574 * config/cris/cris.c (cris_notice_update_cc): Check first
1575 destination also against overlap with cc_status.value2 and second
1576 destination against overlap with cc_status.value1. For overlaps,
1577 clear overlapped value, don't just CC_STATUS_INIT.
1578
1579 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1580 Fix typo in comment.
1581 (LINK_SPEC): Remove whitespace at end of line.
1582
1583 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1584
1585 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1586
1587 2001-11-29 Jakub Jelinek <jakub@redhat.com>
1588
1589 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1590 macros for the supported debugging types.
1591
1592 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
1593
1594 PR other/4932
1595 * config/i386/i386.c (print_operand): Verify that the
1596 argument to %c is a constant and not a conditional which
1597 needs to be reversed.
1598
1599 Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
1600
1601 * emit-rtl.c (gen_lowpart_common): Fix conversion of
1602 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
1603 of low part of those arrays for 32bit and 64bit hosts.
1604
1605 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1606
1607 * Makefile.in (insn-output.o): Depend on insn-codes.h.
1608
1609 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
1610
1611 * configure.in (target_list): Add generated-manpages.
1612 * configure: Regenerate.
1613 * Makefile.in (generated-manpages): Depend on
1614 lang.generated-manpages.
1615 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1616
1617 2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
1618
1619 * config/arm/crti.asm (_init): Add .thumb_func if compiled
1620 with -mthumb.
1621 (_fini): Add .thumb_func if compiled with -mthumb.
1622
1623 2001-11-28 Eric Christopher <echristo@redhat.com>
1624
1625 * config/mips/mips.c (override_options): Fix thinko in mips_tune
1626 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1627
1628 Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
1629
1630 * alpha.md (tablejump): Use pic_offset_table_rtx
1631 instead of gen_rtx_REG.
1632
1633 Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
1634
1635 * expr.c (store_expr): When copying a string constant into an
1636 array, reset the known alignment of the MEM for the section to
1637 be cleared to BITS_PER_UNIT.
1638
1639 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1640
1641 * config/cris/cris.c: Remove whitespace at end of line.
1642
1643 Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
1644
1645 * config.gcc (i[34567]86-*-interix3*): New case.
1646 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1647 New files.
1648
1649 2001-11-28 Richard Henderson <rth@redhat.com>
1650
1651 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1652 symbolic_operand as the predicate.
1653
1654 2001-11-28 Richard Henderson <rth@redhat.com>
1655
1656 * doloop.c (doloop_modify_runtime): Properly select induction
1657 variable; skip late entry test if biv initializer created by loop.
1658
1659 Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1660
1661 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1662 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1663
1664 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1665
1666 * tree.h: Add missing checks on some macros; make formatting more
1667 consistent.
1668
1669 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1670 level; only add to pending_sizes if find it.
1671
1672 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1673
1674 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1675 Add casts to remove warnings.
1676
1677 * Makefile.in (OBJS): Sort alphabetically.
1678
1679 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1680 Also minor cleanups.
1681
1682 Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
1683
1684 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1685 (FLAGS_TO_PASS): Add STAGE_PREFIX.
1686 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1687 to STAGE_PREFIX.
1688
1689 Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
1690
1691 * cse.c (true_dependence_in_rtx): New function.
1692 (invalidate): Use it.
1693
1694 * c-common.h (GOTO_FAKE_P): New macro.
1695 * tree-inline.c (GOTO_FAKE_P): Set.
1696 * c-tree.texi (GOTO_FAKE_P): Document.
1697
1698 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1699 containing pointers.
1700 (output_addressed_constants): Check for local/external relocations.
1701 * elfos.h (SELECT_SECTION): Classify data section.
1702 * tm.texi (SELECT_SECTION): Update documentation.
1703
1704 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1705 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1706
1707 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1708
1709 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1710 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1711 OBJECT_FORMAT_ROSE.
1712
1713 2001-11-28 Hans-Peter Nilsson <hp@axis.com>
1714
1715 * config/cris/cris.c: Tweak spacing for prototypes.
1716 (LOSE_AND_RETURN): New macro.
1717 (cris_operand_lossage): New function.
1718 (cris_print_index, cris_print_base): Use cris_operand_lossage
1719 rather than fatal_insn.
1720 (cris_print_operand, cris_print_operand_address): Use
1721 LOSE_AND_RETURN rather than fatal_insn and internal_error.
1722 (cris_output_addr_const): Use LOSE_AND_RETURN and
1723 output_operand_lossage rather than fatal_insn and internal_error
1724 for valid but unexpected rtx expressions.
1725
1726 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1727 for a SUBREG in src or dest, abort instead.
1728
1729 2001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1730
1731 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1732 doc.
1733
1734 2001-11-27 Jakub Jelinek <jakub@redhat.com>
1735
1736 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1737 preprocessor define. If only DBX_DEBUGGING_INFO or only
1738 DWARF2_DEBUGGING_INFO is supported for the target, provide
1739 appropriate definitions.
1740
1741 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1742
1743 * Makefile.in: Update, and add c-objc-common.o dependencies.
1744 * c-lang.c: Remove unnecessary includes.
1745 (c_init): Move bulk of code to c_objc_common_init, and call it.
1746 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1747 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1748 c-objc-common.c.
1749 * c-objc-common.c: New. Mostly pulled from c-lang.c.
1750 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1751 c_objc_common_init, c_missing_noreturn_ok_p): New.
1752 * toplev.c: Update comment.
1753 * doc/passes.texi: Update.
1754 objc:
1755 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1756 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1757 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1758 (objc_init): Update to use c_objc_common_init.
1759
1760 2001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
1761
1762 * cpphash.c (_cpp_init_hashtable): Update.
1763 * cpphash.h (struct spec_nodes): Remove n_L.
1764 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1765
1766 2001-11-17 Richard Henderson <rth@redhat.com>
1767
1768 * unroll.c (loop_iterations): Move last change ...
1769 * doloop.c (doloop_modify_runtime): ... here.
1770
1771 2001-11-17 Corey Minyard <minyard@acm.org>
1772 Richard Henderson <rth@redhat.com>
1773
1774 * unroll.c (loop_iterations): Detect one situation in which we
1775 overestimate the number of iterations.
1776
1777 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1778
1779 * gcc.c (set_input): Export.
1780 Move declaration ...
1781 gcc.h (set_input): ... here.
1782
1783 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1784
1785 * gcc.c (set_collect_gcc_options): New function, split out from
1786 main.
1787 Ignore elided switches.
1788 (do_spec): Invoke before executing command.
1789 (do_spec_1): Likewise.
1790 Fixes PR other/3968.
1791
1792 2001-11-27 Hans-Peter Nilsson <hp@axis.com>
1793
1794 * config/cris/cris.h (INT_ASM_OP): Remove.
1795
1796 2001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1797
1798 * config/i386/sol2.h (WINT_TYPE): Redefine.
1799 (WINT_TYPE_SIZE): Likewise.
1800
1801 2001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1802
1803 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1804 (dup2): Make static and add prototype.
1805 * m68k/plexus.h: Don't define NO_DUP2.
1806 * configure.in (AC_CHECK_FUNCS): Add dup2.
1807 * config.in, configure: Regenerate.
1808
1809 * ia64/aix.h (REG_SIZE): Don't #undef.
1810 * sparc.h (REG_SIZE): Delete.
1811 * flow.c (mark_used_regs): Don't use REG_SIZE.
1812 * regs.h (REG_SIZE): Delete.
1813
1814 2001-11-27 Andreas Schwab <schwab@suse.de>
1815
1816 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1817 PREFERRED_DEBUGGING_TYPE.
1818
1819 Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1820
1821 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1822 (expr.o, varasm.o): Depends on langhooks.h.
1823 * c-common.c (c_safe_from_p): Always declare.
1824 (c_expand_expr): Refine when declared.
1825 * c-lang.c (c-common.h): Now include.
1826 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1827 (c_init): Don't set lang_safe_from_expr.
1828 * expr.c (langhooks.h): Now include.
1829 (lang_safe_from_p): No longer define.
1830 (safe_from_p): Use lang hook.
1831 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1832 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1833 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1834 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1835 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1836 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1837 * langhooks.h (struct lang_hooks): New fields expand_constant
1838 and safe_from_p.
1839 * output.h (output_constant): Size arg is HOST_WIDE_INT.
1840 * stmt.c (expand_decl_init): No longer need to expand constant
1841 for CONST_DECL.
1842 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1843 * toplev.c (lang_expand_constant): Delete var.
1844 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1845 operations on SAVE_EXPR.
1846 * varasm.c (langhooks.h): Now include.
1847 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1848 (record_constant_1, output_addressed_constants): Likewise.
1849 (initializer_constant_valid_p, output_constant): Likewise.
1850 (output_constant_def): Process no-defer of string constant.
1851 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1852 (output_constant): Strip more conversions.
1853 Track our size and pad for the rest.
1854 (array_size_for_constructor): Remove code for non-byte STRING_CST.
1855 (output_constructor): SIZE now HOST_WIDE_INT.
1856
1857 2001-11-27 Richard Henderson <rth@redhat.com>
1858
1859 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1860 in computing DIFF.
1861
1862 2001-11-27 Zack Weinberg <zack@codesourcery.com>
1863
1864 * cppfiles.c (read_include_file): Add comment.
1865
1866 2001-11-26 Richard Henderson <rth@redhat.com>
1867
1868 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1869
1870 2001-11-26 Richard Henderson <rth@redhat.com>
1871
1872 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1873 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1874 commented out override.
1875
1876 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1877
1878 * cppfiles.c (stack_include_file): Don't optimize zero-length
1879 files.
1880 (read_include_file): NUL-terminate read files.
1881 * cpplex.c (handle_newline, skip_escaped_newlines,
1882 get_effective_char, skip_whitespace, parse_identifier,
1883 parse_identifier_slow, parse_number, parse_string,
1884 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1885 NUL-terminated.
1886 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1887 Be sure buffers are NUL terminated.
1888 * cppmacro.c (warn_of_redefinition): Kill compile warning.
1889
1890 2001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
1891
1892 * c-common.c: Include tree-inline.h.
1893 (c_language): Move separate definitions here.
1894 (c_common_init_options, c_common_post_options): New.
1895 (c_common_lang_init): Rename c_common_init.
1896 * c-common.h (c_common_lang_init): Similarly.
1897 (c_common_init_options, c_common_post_options): New.
1898 * c-lang.c (c_post_options): Move body to c_common_post_options.
1899 (c_init_options): Use c_common_init_options.
1900 (c_init): Update.
1901 * langhooks.def: Rearrange.
1902 * langhooks.h: Rearrange, and improve comments.
1903 * toplev.c (do_compile): New function.
1904 (toplev_main): Use it.
1905 (lang_independent_f_options, parse_options_and_default_flags,
1906 process_options): Remove trailing periods.
1907 * Makefile.in: Update.
1908 objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1909 functions.
1910 (ojbc_init): Update.
1911
1912 2001-11-26 Richard Henderson <rth@redhat.com>
1913
1914 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1915
1916 2001-11-26 DJ Delorie <dj@redhat.com>
1917
1918 * expr.c (store_constructor): Actually use the value computed
1919 if WORD_REGISTER_OPERATIONS.
1920
1921 2001-11-26 Richard Henderson <rth@redhat.com>
1922
1923 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1924 for CONSTRUCTOR.
1925
1926 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1927
1928 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1929 correct function on AIX.
1930
1931 2001-11-26 Alexandre Oliva <aoliva@redhat.com>
1932
1933 * toplev.c (process_options): Don't force
1934 flag_optimize_sibling_calls to zero just because exceptions are
1935 enabled.
1936
1937 Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
1938
1939 * df.h (transfer_function_sbitmap): Use PARAMS around argument
1940 list in function prototypes.
1941 (transfer_function_bitmap): Likewise.
1942
1943 2001-11-26 Loren J. Rittle <ljrittle@acm.org>
1944
1945 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1946 * config/i386/netbsd-elf.h: Likewise.
1947
1948 2001-11-26 David Edelsohn <edelsohn@gnu.org>
1949
1950 * doc/trouble.texi: Remove outdated RS/6000 comments.
1951
1952 Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
1953
1954 * final.c (walk_alter_subreg): Fix return value.
1955
1956 Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
1957
1958 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1959 alter_subreg.
1960 * sparc.md (post-reload splitters): Do not call alter_subreg.
1961 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1962
1963 2001-11-25 Aldy Hernandez <aldyh@redhat.com>
1964
1965 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1966
1967 2001-11-26 Alan Modra <amodra@bigpond.net.au>
1968
1969 * final.c: (insn_lengths): Make it an int *, so that large jump
1970 tables don't overflow.
1971
1972 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
1973
1974 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1975 (format_types): Use it for scanf.
1976 (dollar_arguments_pointer_p): New.
1977 (init_dollar_format_checking): Store details of which arguments
1978 are pointers.
1979 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1980 (finish_dollar_format_checking): Take extra parameter
1981 pointer_gap_ok. Treat unused arguments differently if
1982 pointer_gap_ok and the unused arguments are pointers.
1983 (check_format_info_main): Pass extra argument to
1984 finish_dollar_format_checking.
1985 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1986 unused arguments are present between used arguments with operand
1987 numbers.
1988
1989 2001-11-25 Daniel Berlin <dan@cgsoftware.com>
1990
1991 * df.c: Add prototypes for hybrid_search_bitmap and
1992 hybrid_search_sbitmap.
1993 (hybrid_search_bitmap): New function.
1994 (hybrid_search_sbitmap): New function.
1995 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1996 (iterative_dataflow_bitmap): Ditto.
1997
1998 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1999
2000 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
2001 address computations.
2002
2003 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2004
2005 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
2006 register b (low part of d).
2007
2008 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2009
2010 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
2011 passed to mcount.
2012
2013 Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
2014
2015 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
2016 * config/alpha/x-vms: New file, to compile the above.
2017 * config.gcc (alpha*-dec-vms*): Add x-vms.
2018
2019 2001-11-24 Hans-Peter Nilsson <hp@axis.com>
2020
2021 * genextract.c (main): Set ro_loc for peepholes.
2022
2023 Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
2024
2025 * fix-header.c (main): Move inf_buffer termination and inf_limit
2026 calculation to after read.
2027
2028 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
2029 (__UNIX_FOPEN): Define.
2030
2031 Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2032
2033 * function.c (assign_stack_temp_for_type): Clear alias set before
2034 setting new one.
2035
2036 2001-11-23 David Edelsohn <edelsohn@gnu.org>
2037
2038 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
2039 format.
2040 * rs6000.md (cmptf): Fix typo.
2041
2042 2001-11-23 Richard Sandiford <rsandifo@redhat.com>
2043
2044 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
2045 * varasm.c (output_constructor): Use assemble_integer rather
2046 than ASM_OUTPUT_BYTE.
2047
2048 2001-11-23 Andreas Jaeger <aj@suse.de>
2049
2050 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
2051 extension.
2052
2053 2001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
2054
2055 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
2056 default definition.
2057 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
2058 (MULTILIB_DEFAULTS): Remove previous definition.
2059
2060 2001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
2061
2062 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
2063 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
2064
2065 2001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2066
2067 * cris.h: Revert thinko in last patch.
2068
2069 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
2070
2071 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
2072 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
2073 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
2074 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
2075 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
2076 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
2077
2078 * predict.c, reg-stack.c: Fix spelling errors.
2079
2080 2001-10-09 Andrew Haley <aph@redhat.com>
2081
2082 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
2083 start of stack slot.
2084
2085 2001-11-22 Graham Stott <grahams@redhat.com>
2086
2087 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
2088 replacement jump after original jump.
2089
2090 (verify_flow_info): Remove redundent initialisation.
2091 Handle reaching end of insn list before finding a BARRIER.
2092 Only issue one missing barrier diagnostic.
2093
2094 2001-11-22 Graham Stott <grahams@redhat.com>
2095
2096 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
2097
2098 Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2099
2100 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
2101 insn actually does.
2102
2103 2001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
2104
2105 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
2106 Fix typo -mm32rx=> -m32rx.
2107
2108 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
2109 targets.
2110
2111 * config.gcc (xscale-coff): Add necessary header files to
2112 tm_file variable.
2113
2114 2001-11-20 Zack Weinberg <zack@codesourcery.com>
2115
2116 * rs6000.c (output_cbranch): Use $, not %$, in output template.
2117
2118 2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2119
2120 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
2121 (lang_type_quals): Declare.
2122 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
2123 retrieve language-specific qualifiers for a type node, instead of
2124 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
2125 lang_dump_tree.
2126 * tree-dump.h: Rename from c-dump.h.
2127 * c-common.h (C_TYPE_QUALS): Removed.
2128 Move declarations for tree-dump.c interface to...
2129 * tree.h: ... here. Remove lang_dump_tree.
2130 * langhooks.h (struct lang_hooks_for_tree_dump): New.
2131 (struct lang_hooks): Add tree_dump hooks.
2132 * langhooks.c (lhd_tree_dump_dump_tree): New function.
2133 (lhd_tree_dump_type_quals): New function.
2134 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
2135 Declare.
2136 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
2137 * Makefile.in: Move tree-dump.o to language-independent back-end.
2138
2139 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2140
2141 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
2142 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
2143 * arc.h (DBX_REGISTER_NUMBER): Likewise.
2144 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
2145 * avr.h (DBX_REGISTER_NUMBER): Likewise.
2146 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
2147 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
2148 * convex.h (DBX_REGISTER_NUMBER): Likewise.
2149 * cris.h (DBX_REGISTER_NUMBER): Likewise.
2150 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
2151 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
2152 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
2153 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
2154 * i370.h (DBX_REGISTER_NUMBER): Likewise.
2155 * i860.h (DBX_REGISTER_NUMBER): Likewise.
2156 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
2157 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
2158 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2159 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
2160 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
2161 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
2162 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
2163 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
2164 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
2165 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
2166 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
2167 * romp.h (DBX_REGISTER_NUMBER): Likewise.
2168 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
2169 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2170 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
2171 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
2172 * v850.h (DBX_REGISTER_NUMBER): Likewise.
2173 * vax.h (DBX_REGISTER_NUMBER): Likewise.
2174 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
2175
2176 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
2177 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
2178
2179 2001-11-21 H.J. Lu <hjl@gnu.org>
2180
2181 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
2182
2183 2001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2184
2185 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
2186 emit_cmp_and_jump_insns.
2187
2188 * stormy16.c (xstormy16_expand_builtin_va_arg,
2189 xstormy16_expand_casesi): Likewise.
2190
2191 Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2192
2193 * function.c (keep_stack_depressed): Major rework.
2194 (handle_epilogue_set, emit_equiv_load): New functions.
2195 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
2196 has return value.
2197 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
2198 * rtl.h (SET_IS_RETURN_P): New macro.
2199
2200 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2201 and also support TREE_ADDRESSABLE.
2202 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2203
2204 2001-11-21 David Edelsohn <edelsohn@gnu.org>
2205
2206 * rs6000.md (cmptf_internal1): Replace %$ with $.
2207
2208 Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
2209
2210 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2211 (read_include_file): Use STAT_SIZE_TOO_BIG.
2212
2213 * cppinit.c (INO_T_COPY): Define.
2214 (INO_T_EQ): Uppercase parameters.
2215 (append_include_chain): Use INO_T_COPY.
2216
2217 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
2218
2219 * cfg.c: Fix typos and formatting in the introductory comment.
2220
2221 Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
2222
2223 * profile.c (compute_branch_probabilites): Compute probabilities
2224 for entry/exit edges; estimate probabilities for zero counts.
2225
2226 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2227
2228 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2229 to emit_library_call.
2230 * function.c (expand_main_function, expand_function_start,
2231 expand_function_end): Likewise.
2232 * profile.c (output_func_start_profiler): Likewise.
2233 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2234 second argument to emit_library_call.
2235 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2236 as second argument to emit_library_call.
2237 * calls.c (emit_library_call): Update fn_type description.
2238
2239 2001-11-21 Jakub Jelinek <jakub@redhat.com>
2240
2241 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2242 if fndecl is still DECL_INLINE and has DECL_RESULT.
2243
2244 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2245
2246 * clipper.c (clipper_movstr): Avoid uninitialized warning.
2247 * i960.c (is_mask, legitimize_address): Likewise.
2248 * m88k.c (m88k_expand_prologue): Likewise.
2249 * m88k.md: Likewise.
2250 * mcore.c (emit_new_cond_insn): Likewise.
2251 * stormy16.c (xstormy16_emit_cbranch): Likewise.
2252
2253 2001-11-20 Zack Weinberg <zack@codesourcery.com>
2254
2255 * config.gcc: Delete powerpcle-*-solaris2* stanza.
2256 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2257 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2258 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2259 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2260 config/rs6000/t-ppcos: Expunge all references to Solaris.
2261
2262 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2263
2264 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2265 output templates.
2266 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2267 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2268
2269 2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2270
2271 * sh.md: Avoid uninitialized warnings.
2272 * vax.c (vax_rtx_cost): Likewise.
2273
2274 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2275
2276 * rs6000.c (direct_return): Check if we are saving altivec
2277 registers.
2278 (first_altivec_reg_to_save): New.
2279 Updated stack frame layout comments.
2280 (rs6000_stack_info): Calculate altivec register save size.
2281 Save link register if we saved some altivec registers.
2282 (rs6000_stack_info): Align save size to 16 if altivec abi or
2283 abi_darwin.
2284 (rs6000_stack_info): Calculate altivec register offsets.
2285 (rs6000_stack_info): Add altivec info to save_size.
2286 (debug_stack_info): Add altivec debug info.
2287 (rs6000_emit_prologue): Save altivec registers and vrsave.
2288 (compute_vrsave_mask): New.
2289 (altivec_expand_builtin): Remove unused variables.
2290 (rs6000_parse_abi_options): Add static qualifier.
2291 (rs6000_expand_builtin): Remove unused parameters.
2292 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2293 (altivec_init_builtins): Same.
2294 (is_altivec_return_reg): New.
2295 (vrsave_operation): New.
2296 (ALTIVEC_REG_BIT): New.
2297 (generate_set_vrsave): New.
2298
2299 * rs6000.md (get_vrsave): New.
2300 (set_vrsave): New.
2301 (*set_vrsave_internal): New.
2302
2303 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2304 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2305 altivec_padding_size, vrsave_mask.
2306 (TOTAL_ALTIVEC_REGS): New.
2307 (EPILOGUE_USES): Add VRSAVE_REGNO.
2308
2309 2001-11-20 Jeff Law <law@redhat.com>
2310
2311 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2312 exit label as necessary.
2313
2314 2001-11-20 Brad Kaiser <bkaiser@acelink.net>
2315
2316 * reload1.c (elimination_effects): Use function_invariant_p
2317 instead of CONSTANT_P when considering register equivalences.
2318
2319 2001-11-20 David O'Brien <obrien@FreeBSD.org>
2320
2321 * config.gcc: Add FreeBSD/PowerPC target.
2322 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2323 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2324 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2325 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2326 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2327 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2328 freebsd-spec.h to tm_file.
2329 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2330 * config/freebsd.h: Tidy up.
2331 (USING_CONFIG_FREEBSD): Define.
2332 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2333 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2334 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2335 (TARGET_HAS_F_SETLKW): Define.
2336 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2337 * config/freebsd-spec.h: New file.
2338 * config/rs6000/freebsd.h: New file.
2339 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2340 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2341 USING_SVR4_H to know when to turn on ELF support.
2342 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2343 define only if not already defined.
2344 Add FreeBSD support.
2345 * config/rs6000/aix.h (TARGET_VERSION): Define.
2346 * config/rs6000/beos.h: Likewise.
2347 * config/rs6000/darwin.h: Likewise.
2348 * config/rs6000/mach.h: Likewise.
2349 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2350 Don't include lynx.h directly.
2351
2352 2001-11-20 Graham Stott <grahams@redhat.com>
2353
2354 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2355 Fix lossage in last change return OB.
2356
2357 Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2358
2359 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2360 Remove unneeded exit related macros.
2361
2362 2001-11-20 David Edelsohn <edelsohn@gnu.org>
2363
2364 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2365
2366 * rs6000.c (rs6000_emit_move): Add TFmode case.
2367 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2368 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2369 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2370 * rs6000.h: ... to here.
2371 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2372 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2373 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2374
2375 Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2376
2377 * emit-rtl.c (get_mem_attrs): Fix typo.
2378
2379 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2380
2381 * c-lang.c (finish_file): Backout 2001-11-16
2382 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2383 before calling c_expand_deferred_function.
2384
2385 2001-11-20 Jakub Jelinek <jakub@redhat.com>
2386
2387 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2388 Don't register empty .eh_frame sections.
2389 (__deregister_frame_info_bases, __deregister_frame): Don't
2390 unregister them either.
2391
2392 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2393
2394 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2395 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2396 * configure: Regenerate.
2397 * config.in: Add dummy definitions of new flags.
2398 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2399 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2400 * gcc.c (ASM_DEBUG_SPEC): New macro.
2401 (asm_debug): New static variable.
2402 (default_compilers): Add asm_debug when assembling from
2403 user input.
2404 (static_specs): Add asm_debug.
2405
2406 2001-11-20 Loren J. Rittle <ljrittle@acm.org>
2407
2408 * config.gcc (*-*-freebsd*): Remove configuration block.
2409
2410 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2411
2412 bootstrap/4422
2413 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2414 fixinc *as if* it were a proper lang subdirectory.
2415 * configure: Rebuilt.
2416
2417 2001-11-19 Loren J. Rittle <ljrittle@acm.org>
2418
2419 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2420
2421 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2422
2423 * 1750a.md: Don't use hex format for a const_int.
2424
2425 2001-11-19 Geoffrey Keating <geoffk@redhat.com>
2426
2427 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2428
2429 2001-11-19 Zack Weinberg <zack@codesourcery.com>
2430
2431 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2432 defined (prevents link errors when gettext isn't in the system
2433 library).
2434
2435 2001-11-19 DJ Delorie <dj@redhat.com>
2436
2437 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2438 (validate_const_int): New.
2439 (read_rtx): Validate constant integers.
2440 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2441
2442 2001-11-19 Jakub Jelinek <jakub@redhat.com>
2443
2444 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2445
2446 Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2447
2448 * toplev.c (DUMPFILE_FORMAT): Define default.
2449 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2450 (close_dump_file, compile_file): Likewise.
2451 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2452 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2453
2454 2001-11-19 Jeff Law <law@redhat.com>
2455
2456 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2457 a nop-jump.
2458
2459 2000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
2460
2461 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2462 Don't fall off the base token run.
2463
2464 2001-11-19 Jason Wilkins <fenix@io.com>
2465
2466 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2467
2468 Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2469
2470 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2471 * tree.h (handled_component_p): New declaration.
2472 * alias.c (handled_component_p): Move function from here ...
2473 * expr.c (handled_component_p): ... to here and non longer static.
2474 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2475 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2476 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2477 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2478 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2479 (expand_expr, cse ADDR_EXPR): No need to copy if already
2480 BIGGEST_ALIGNMENT.
2481 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2482 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2483 (output_constant): Handle VIEW_CONVERT_EXPR.
2484 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2485 Add new case for VIEW_CONVERT_EXPR.
2486
2487 2001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2488
2489 * a29k/unix.h (ASM_FILE_START): Const-ify.
2490 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2491 * i386/isc.h (ASM_FILE_START): Const-ify.
2492 * i386/sun386.h (ASM_FILE_START): Likewise.
2493 * m32r.md: Likewise.
2494 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2495 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2496 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2497 * mn10200.md: Initialize variable.
2498
2499 Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2500
2501 * gcse.c (try_replace_reg): Copy RTX before creating note.
2502
2503 * df.h (df_ref_flags): New uenum.
2504 (DF_REF_FLAGS): New macro.
2505 (struct ref): Add field "flags".
2506 * df.c (HANDLE_SUBREG): Remove.
2507 (df_ref_create): Likewise; set flags field of ref.
2508 (df_def_record_1): Strip down read_write subreg; remove
2509 commented out code; set READ_WRITE flag.
2510 (read_modify_subreg_p): New static function.
2511 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2512 new argument "flags".
2513 (df_insn_refs_record): Update call of df_uses_record.
2514 (df_insn_modify): Avoid #if 0 around comment.
2515 (df_dump): Dump the read/write flag.
2516
2517 * predict.c (propagate_freq): Make cyclic_probability and frequency
2518 volatile
2519
2520 * i386.c (ix86_cc_mode): Accept USE.
2521
2522 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
2523 jump is turned into simplejump.
2524
2525 2001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
2526
2527 * doc/fragments.texi, doc/trouble.texi: Remove links to old
2528 installation chapter.
2529 * doc/gcc.texi: Don't claim that this manual documents
2530 installation. Mark Installation menu entry as being out of date.
2531
2532 Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
2533
2534 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2535 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2536 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2537
2538 2001-11-19 Jason Merrill <jason@redhat.com>
2539
2540 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2541 cur_token, not after.
2542
2543 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2544 Lose ASM_OUTPUT_CONSTRUCTOR.
2545 * system.h: Poison it and INT_ASM_OP.
2546 * c-lang.c (finish_file): Don't check for it.
2547 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2548
2549 2001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2550
2551 * mmix.c (mmix_cc1_ignored_option): Const-ify.
2552 (mmix_init_machine_status): Make static to match declaration.
2553 (mmix_unique_section): Const-ify.
2554 (mmix_output_quoted_string): Avoid automatic aggregate
2555 initialization.
2556 (mmix_output_register_setting): Likewise.
2557 (mmix_output_shiftvalue_op_from_str): Likewise.
2558
2559 * mmix.h (mmix_cc1_ignored_option): Const-ify.
2560 (ASM_OUTPUT_BYTE): Fix format specifier warning.
2561 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2562
2563 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2564
2565 PR c/4448
2566 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2567 name __objc_thread_exit_status so that it matches the
2568 variable defined in objc/thr.h.
2569
2570 2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
2571
2572 PR bootstrap/4020
2573 * mklibgcc.in: Add missing semi-colons.
2574 * Makefile.in: Same.
2575
2576 Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2577
2578 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2579 after re-laying out decl in incomplete case.
2580 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2581
2582 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2583
2584 * doc/install-old.texi: Move some sections out to ...
2585 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2586 ... here. New files. Make into chapters rather than sections.
2587 * doc/gcc.texi: Include the new files and add menu entries for
2588 them.
2589 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2590
2591 Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2592
2593 * tree.h (TYPE_ALIGN_OK): New flag.
2594 * emit-rtl.c (set_mem_attributes): Handle it.
2595 * expr.c (emit_single_push_insn): Only set to alias set 0 if
2596 doing sibcall optimization.
2597 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2598 when make temporary.
2599 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2600 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2601
2602 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2603
2604 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2605
2606 * c-decl.c (c_decode_option): Give deprecation warning for
2607 -traditional.
2608 * doc/invoke.texi (-traditional): Note that this option is
2609 deprecated.
2610
2611 Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
2612
2613 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2614 arg to HOST_WIDE_INT, not long.
2615
2616 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2617 (HAS_INIT_SECTION): Define.
2618 (REAL_ARITHMETIC): Don't undefine.
2619
2620 2001-11-18 Egor Duda <deo@logos-m.ru>
2621
2622 * config/i386/cygwin.h: Strip leading '*' from name, if any.
2623
2624 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
2625
2626 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2627 * c-common.c: Include diagnostic.h.
2628 (c_common_finish): New.
2629 * c-common.h (c_common_finish): New.
2630 * c-lang.c (LANG_HOOKS_FINISH): Override.
2631 * c-parse.in: Don't include diagnostic.h.
2632 (finish_parse): Remove.
2633 * langhooks.h: Update comments.
2634 * toplev.c (lang_dependent_init): New prototype.
2635 (finalize): New.
2636 (compile_file): Split cleanup code out to finalize.
2637 (lang_dependent_init): Stop if lang_hooks.init fails.
2638 (toplev_main): Update.
2639 * tree.h (finish_parse): Remove.
2640 objc:
2641 * objc-act.c (LANG_HOOKS_FINISH): Override.
2642
2643 Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
2644
2645 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2646 * config/alpha/vms_tramp.asm: New file.
2647 * config/alpha/vms-tramp.asm: Removed.
2648
2649 2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
2650
2651 * c-common.c (struct disabled_builtin, disabled_builtins,
2652 disable_builtin_function, builtin_function_disabled_p): New.
2653 (builtin_function_2): Check for disabled built-in functions.
2654 * c-common.h (disable_builtin_function): Declare.
2655 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2656 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2657 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2658
2659 2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
2660
2661 PR target/4606
2662 * config.gcc: Remove reference to va-clipper.h.
2663
2664 2001-11-17 Stan Shebs <shebs@apple.com>
2665
2666 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2667 AltiVec-related bitfields.
2668
2669 Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2670
2671 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2672 (mark_eh_region, case ERT_UKNONW): New case.
2673
2674 2001-11-17 Christopher Faylor <cgf@redhat.com>
2675 Corinna Vinschen <vinschen@redhat.com>
2676
2677 * config/i386/cygwin.h: Search target specific include directory for
2678 w32api stuff, if appropriate.
2679
2680 Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
2681
2682 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2683
2684 2001-11-16 Aldy Hernandez <aldyh@redhat.com>
2685
2686 * config/rs6000/rs6000.md: Change all ldvx to lvx.
2687
2688 2001-11-16 Alexandre Oliva <aoliva@redhat.com>
2689
2690 * gensupport.c (process_rtx): Don't assume filename is the first
2691 argument of any rtl.
2692
2693 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2694
2695 * vax-protos.h (reg_was_0_p): New prototype.
2696 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2697 * vax.c (follows_p, reg_was_0_p): New functions.
2698
2699 2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2700
2701 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2702 (casesi1): Likewise. Define new pattern which arises by simplification
2703 when operand 1 is a constant int. Correct pattern which arises by
2704 simplification when operand 1 is zero.
2705
2706 2001-11-16 David O'Brien <obrien@FreeBSD.org>
2707
2708 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2709 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2710 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2711 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2712 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2713 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2714 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2715 * config/arm/aof.h: Don't include arm.h.
2716 * config/arm/aout.h: Likewise.
2717 * config/arm/coff.h: Don't include semi.h and aout.h.
2718 * config/arm/elf.h: Don't include aout.h.
2719 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2720 (TARGET_VERSION): Undef before defining.
2721 (ARM_OS_NAME): Likewise
2722 (TARGET_DEFAULT): Likewise
2723 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2724 * config/arm/pe.h: Don't include arm/coff.h.
2725 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2726 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2727 * config/arm/riscix1-1.h: Likewise.
2728 * config/arm/rix-gas.h: Don't include riscix.h.
2729 (DBX_CONTIN_LENGTH): Undef before defining.
2730 * config/arm/semi.h: Don't include aout.h.
2731 * config/arm/semiaof.h: Don't include aof.h.
2732 * config/arm/strongarm-coff.h: Don't include coff.h.
2733 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2734 * config/arm/vxarm.h: Don't include arm/coff.h.
2735 * config/arm/xscale-coff.h: Don't include coff.h.
2736
2737 Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2738
2739 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2740 emit_cmp_insn.
2741
2742 2001-11-16 Andreas Jaeger <aj@suse.de>
2743
2744 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2745 to ....
2746 (fixup_fallthru_exit_predecessor): ... this.
2747 Change callers and prototype.
2748
2749 2001-11-16 Bernd Schmidt <bernds@redhat.com>
2750
2751 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2752 hand; don't use gen_setcc_2.
2753 (ix86_expand_builtin): Fix pshufw.
2754 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2755 case UNORDERED to emit the right assembler instruction.
2756 (mmx_pshufw): Lose operand 2.
2757 (cvtsi2ss): Fix representation.
2758 From Graham Stott:
2759 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2760
2761 2001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
2762
2763 * doc/include/linux-and-gnu.texi: Remove.
2764 * doc/gnu.texi: New.
2765 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2766 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2767
2768 2001-11-16 Kazu Hirata <kazu@hxi.com>
2769
2770 * config/a29k/a29k.c: Fix comment formatting.
2771 * config/a29k/a29k.h: Likewise.
2772 * config/arc/arc.c: Likewise.
2773 * config/arc/arc.h: Likewise.
2774 * config/vax/vax.c: Likewise.
2775 * config/vax/vax.h: Likewise.
2776 * config/we32k/we32k.c: Likewise.
2777 * config/we32k/we32k.h: Likewise.
2778
2779 2001-11-16 Jeff Law <law@redhat.com>
2780
2781 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2782 creating a new jump insn.
2783
2784 Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2785
2786 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2787 copy misaligned data.
2788 * varasm.c (assemble_variable): Set alignment into MEM when changed.
2789
2790 2001-11-16 Graham Stott <grahams@redhat.com>
2791
2792 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2793 OPALIGN type.
2794
2795 2001-11-16 Olivier Hainque <hainque@act-europe.fr>
2796
2797 * except.c: Support for catching a list of types with a single handler
2798 (struct eh_region): Change type and filter to lists for catch regions.
2799 (mark_eh_region): Mark the filter list for GC also.
2800 (expand_start_catch): Always build a list if argument not NULL and
2801 register each type of the list through add_type_for_runtime.
2802 (duplicate_eh_region_1): Change type into type_list for catch regions.
2803 (assign_filter_values): Assign a filter to each type associated with a
2804 catch region. Assign filter for NULL types in a unique entry in the
2805 filter list.
2806 (build_post_landing_pads): Emit compare and jump for each filter of
2807 the list associated with a catch region.
2808 (reachable_next_level): When the type thrown is known, stop the search
2809 as soon as one type within a catch list matches. Also, a handler is
2810 potentially reachable only if at least one of the types it catches
2811 has not been previously caught.
2812 (collect_one_action_chain): Retrieve the filter for a NULL type list
2813 from the first filter list entry. For non NULL type lists, add an
2814 action record for every filter assigned.
2815 * except.h: Reflect changes in comment before expand_start_catch.
2816
2817 Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2818
2819 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2820 BLKmode.
2821
2822 Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
2823
2824 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2825
2826 2001-11-16 Jakub Jelinek <jakub@redhat.com>
2827
2828 * c-lang.c (finish_file): Don't emit static inline functions if
2829 they weren't referenced.
2830
2831 2001-11-15 Stan Shebs <shebs@apple.com>
2832
2833 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2834
2835 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2836
2837 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2838 call.
2839 * config/i386/i386.md: Likewise.
2840
2841 Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2842
2843 * timevar.c (rtl.h): Include so get fancy abort.
2844
2845 2001-11-15 Dale Johannesen <dalej@apple.com>
2846
2847 * config/darwin.h (SELECT_RTX_SECTION): Force address
2848 initializers into 'const' section
2849 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
2850 if_then_else to match result, not operands
2851
2852 Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2853
2854 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2855 * emit-rtl.c (change_address): Fix typo in default alignment.
2856 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2857 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2858 * rtl.h (REGNO_PTR_FRAME_P): New macro.
2859
2860 * expr.c (store_field): Pass tree instead of max size; callers changed.
2861 Change handling of alignment.
2862 Only copy to_rtx if is TARGET.
2863 (expand_expr_unaligned): Delete; callers now use expand_expr.
2864 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2865 (expand_assignment): Change handling of alignment.
2866 Only copy to_rtx if was original.
2867 (get_inner_reference): No longer return alginment; callers changed.
2868 (expand_expr, case COMPONENT_REF): Change handling of alignment.
2869 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2870 (compare_from_rtx): Delete ALIGN parm; all callers changed.
2871 (do_compare_rtx_and_jump): Likewise.
2872 * expr.h: Reflect above changes.
2873 * tree.h: Likewise.
2874 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2875 to get_inner_reference.
2876 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2877 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2878 * optabs.c: Likewise.
2879 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
2880 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2881 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2882 compare_rtx_and_jump, and emit_cmp_jump_insns.
2883 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2884 * function.c (assign_stack_temp_for_type): No longer static.
2885 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2886 (prepare_cmp_insn): Delete declaration.
2887 * rtl.h (assign_stack_temp_for_type): Add declaration.
2888 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2889 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2890 * config/i386/i386.c,config/mips/mips.c: Likewise.
2891 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2892 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2893
2894 2001-11-15 Stan Shebs <shebs@apple.com>
2895
2896 * config/rs6000/rs6000.h: Fix a comment typo.
2897 (RTX_COSTS): Sort processor versions better.
2898
2899 2001-11-15 Kazu Hirata <kazu@hxi.com>
2900
2901 * config/h8300/h8300.md: Fix insn length of bit insns.
2902
2903 2001-11-15 Jason Merrill <jason@redhat.com>
2904
2905 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2906 DIEs if there were errors in the source.
2907
2908 * config/alpha/alpha-interix.h, config/alpha/elf.h,
2909 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2910 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2911 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2912 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2913 config/elfos.h, config/lynx.h, config/netware.h,
2914 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2915 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2916 uses to use ASM_LONG.
2917
2918 2001-11-15 Alan Matsuoka <alanm@redhat.com>
2919
2920 * gensupport.c process_include : Change call to alloca to
2921 xmalloc.
2922
2923 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
2924
2925 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2926 templates.
2927
2928 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2929
2930 * final.c (alter_subreg): If simplify_subreg can't do anything,
2931 handle REG ourselves and abort for others.
2932
2933 2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
2934
2935 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2936 routines.
2937
2938 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
2939
2940 * fix-header.c (read_scan_file): Update.
2941
2942 Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2943
2944 * toplev.c (toplev_main): Don't start timing until after
2945 command-line options are parsed.
2946
2947 2001-11-15 Andreas Schwab <schwab@suse.de>
2948
2949 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2950 makefile frag, not host makefile frag.
2951 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2952 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2953 used.
2954 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2955 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2956 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2957 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2958 * config/i386/t-dgux (STMP_FIXPROTO): Define.
2959 * config/x-interix: Don't define STMP_FIXPROTO and
2960 FIXPROTO_DEFINES.
2961 * config/t-interix: New file, define STMP_FIXPROTO.
2962 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2963 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2964 * config/t-svr4 (FIXPROTO_DEFINES): Define.
2965 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2966 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2967 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2968 * config/m68k/t-hp3200: Renamed from x-hp3200.
2969 * config/i370/t-oe: Renamed from x-oe.
2970 * config/mips/t-iris: Renamed from x-iris.
2971 * config/pa/t-bsd: Renamed from x-pa.
2972 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2973 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2974 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2975 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2976 config/rs6000/x-cygwin: Remove files.
2977
2978 * configure.in: Check for target objdump and use that in eh_frame
2979 optimization test.
2980 * configure: Regenerated.
2981
2982 2001-11-15 Jakub Jelinek <jakub@redhat.com>
2983
2984 * jump.c (squeeze_notes): Return true if no real insns were found.
2985 * rtl.h (squeeze_notes): Adjust prototype.
2986 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2987 squeeze_notes finds no real instructions, abort.
2988 (merge_blocks_move_successor_nojumps): Likewise.
2989 * loop.c (find_and_verify_loops): Likewise.
2990 * stmt.c (expand_end_case): Likewise.
2991 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2992 find any real instructions.
2993
2994 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2995
2996 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2997 conditional jump, request updating life into for the block
2998 containing it. Fix a typo which prevented life info update.
2999 Clear blocks bitmap before using it.
3000
3001 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
3002
3003 * c-common.c: Include c-lex.h.
3004 (c_common_lang_init): Change prototype. Call init_c_lex and
3005 init_pragma from here.
3006 * c-common.h (c_common_lang_init): Change prototype.
3007 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
3008 * c-lang.c (c_init): Change prototype. Update.
3009 (c_init_options): Update.
3010 * c-lex.c (cpp_filename): Remove.
3011 (init_c_lex): Update. Read the main file, and get the original
3012 file name.
3013 (yyparse): Finish the command line options.
3014 * c-parse.in (c_parse_init): Call init_reswords here.
3015 (init_parse): Remove.
3016 * c-tree.h (c_init_decl_processing): New.
3017 * cpphash.c (_cpp_init_hashtable): After initializing the hash
3018 table, populate it.
3019 * cppinit.c (read_original_filename, cpp_finish_options): New.
3020 (cpp_create_reader): New prototype. Defer hash table initialization.
3021 (cpp_start_read): Rename cpp_read_main_file. Initialize the
3022 hash table. Get the original filename.
3023 * cpplib.h (cpp_create_reader): Update.
3024 (cpp_start_read): Remove.
3025 (cpp_read_main_file, cpp_finish_options): New.
3026 * cppmain.c (main, do_preprocessing): Update.
3027 * langhooks.h (struct langhooks): Update init prototype.
3028 * toplev.c (general_init, parse_options_and_default_flags,
3029 process_options, lang_indpendent_init, lang_dependent_init,
3030 init_asm_output): New; perform the bulk of initialization.
3031 (compile_file): Move most of initialization to above functions.
3032 (debug_hooks): Initialize statically.
3033 (set_Wunused): Relocate.
3034 (toplev_main): Move most of initialization to other init functions.
3035 Have a clear logic flow.
3036 * tree.h (init_parse, init_decl_processing): Remove.
3037 objc:
3038 * objc-act.c (objc_init): Update prototype, combine with old
3039 init_parse.
3040 (objc_init_options): Update.
3041
3042
3043 2001-11-15 Andreas Jaeger <aj@suse.de>
3044
3045 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
3046 portability.
3047 * basic-block.h: Adjust prototype.
3048
3049 2001-11-15 Kazu Hirata <kazu@hxi.com>
3050
3051 * config/rs6000/aix31.h: Fix comment formatting.
3052 * config/rs6000/beos.h: Likewise.
3053 * config/rs6000/darwin.h: Likewise.
3054 * config/rs6000/eabi.asm: Likewise.
3055 * config/rs6000/linux.h: Likewise.
3056 * config/rs6000/linux64.h: Likewise.
3057 * config/rs6000/lynx.h: Likewise.
3058 * config/rs6000/netbsd.h: Likewise.
3059 * config/rs6000/rs6000.c: Likewise.
3060 * config/rs6000/rs6000.h: Likewise.
3061 * config/rs6000/rs6000.md: Likewise.
3062 * config/rs6000/sol2.h: Likewise.
3063 * config/rs6000/tramp.asm: Likewise.
3064 * config/rs6000/xcoff.h: Likewise.
3065 * config/rs6000/xm-beos.h: Likewise.
3066
3067 2001-11-14 Alan Matsuoka <alanm@redhat.com>
3068
3069 * rtl.def (INCLUDE) : Define.
3070 * gensupport.c (init_include_reader, process_include,
3071 save_string) : New functions to implement an include facility
3072 in .md files.
3073 * gensupport.h : Add prototype for init_md_reader_args.
3074 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
3075 genextract.c genflags.c genopinit.c genoutput.c
3076 genpeep.c genrecog.c: Change call to init_md_reader to
3077 init_md_reader_args.
3078 * md.texi: Document (include "path") and -I directives for RTL
3079 generation tools.
3080
3081 2001-11-14 DJ Delorie <dj@redhat.com>
3082
3083 * integrate.c (get_hard_reg_initial_reg): New.
3084 * integrate.h (get_hard_reg_initial_reg): Prototype.
3085 * local-alloc.c (block_alloc): Don't tie pseudos that
3086 represent call-saved hard regs' initial values.
3087
3088 2001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3089
3090 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
3091 recursion.
3092
3093 2001-11-14 Roger Sayle <roger@eyesopen.com>
3094
3095 * fold-const.c (fold): Optimize strlen comparisons against zero.
3096
3097 2001-11-14 David O'Brien <obrien@FreeBSD.org>
3098
3099 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
3100 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
3101 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
3102 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
3103 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
3104 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
3105 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
3106 Include various CPU headers via tm_file. a.out based platforms now
3107 properly include sparc/aout.h. sol2.h usage now implies including
3108 elfos.h, svr4.h, and sparc/sysv4.h.
3109 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
3110 Also define to '1'.
3111 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
3112 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3113 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
3114 Remove. They are a.out specific and belong in sparc/aout.h.
3115 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
3116 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
3117 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
3118 sparc/sparc.h.
3119 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
3120 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
3121 Moved here from sparc/sparc.h.
3122 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
3123 defining.
3124 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
3125 * config/sparc/lynx.h: Don't include lynx.h.
3126 (SELECT_SECTION): Do not undef.
3127 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
3128 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
3129 and sparc/sysv4.h.
3130 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
3131 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
3132 sparc/aout.h now.
3133 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
3134 Don't undef, there is no need.
3135 * config/sparc/splet.h (CPP_PREDEFINES): Define.
3136 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
3137 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
3138 Don't include sparc/sparc.h.
3139 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
3140 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3141 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
3142 elfos.h and svr4.h.
3143 (TARGET_VERSION): Define.
3144 * config/sparc/vxsim.h (TARGET_VERSION): Define.
3145
3146 Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
3147
3148 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
3149 (cfg_layout_finalize): Use it.
3150 * bb-reorder.c (HAVE_epilogue): Remove.
3151 (make_reorder_chain): Do not care special placement of
3152 last basic block.
3153
3154 * predict.c (expected_value_to_br_prob): Delete the note
3155 once transformed.
3156
3157 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
3158 measure integration time separately.
3159
3160 Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3161
3162 * function.c (struct temp_slot): ALIGN now unsigned.
3163
3164 2001-11-14 Kazu Hirata <kazu@hxi.com>
3165
3166 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
3167 * config/dsp16xx/dsp16xx.h: Likewise.
3168 * config/dsp16xx/dsp16xx.md: Likewise.
3169
3170 2001-11-14 Kazu Hirata <kazu@hxi.com>
3171
3172 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
3173 that deals with 7-bit shifts in HImode.
3174
3175 Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
3176
3177 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
3178 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
3179 (final_scan_insn): Update call of alter_subreg.
3180 (cleanup_subreg_operands): Likewise.
3181 (alter_subreg): Rewrite using simplify_subreg.
3182 (output_address, output_operand): Update call of alter_subreg.
3183 * output.h (alter_subreg): Update prototype.
3184 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
3185 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
3186 * Makefile.in (final.o): Add dependency on expr.h
3187
3188 Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3189
3190 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
3191
3192 2001-11-13 Jeff Sturm <jsturm@one-point.com>
3193
3194 * doc/install.texi (sparc-*-linux*): Mention requirements for
3195 binutils and glibc.
3196
3197 2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
3198
3199 * Makefile.in (POD2MAN): Don't include --section=1.
3200 (manext): Rename to man1ext. All users changed.
3201 (man7ext): New.
3202 (man7dir): New.
3203 (generated-manpages): Also depend on $(docdir)/gfdl.7,
3204 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3205 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3206 --section=1 in calls to $(POD2MAN).
3207 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3208 (maintainer-clean, install, uninstall): Handle the new man pages.
3209 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3210 (installdirs): Create man7dir.
3211 * doc/cpp.texi: Include GFDL in this manual. In the man page,
3212 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
3213 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
3214 the SEE ALSO man page section.
3215 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
3216 and fsf-funding(7) in the SEE ALSO man page section.
3217 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
3218 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3219 * doc/include/fdl.texi, doc/include/funding.texi,
3220 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3221 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3222
3223 2001-11-13 Richard Henderson <rth@redhat.com>
3224
3225 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3226 as appropriate for the artificial decl.
3227
3228 2001-11-13 Richard Henderson <rth@redhat.com>
3229
3230 * loop.c (combine_movables): Turn off combination until
3231 move_movables validation bugs are fixed.
3232
3233 2001-11-13 DJ Delorie <dj@redhat.com>
3234
3235 * config.gcc (powerpc|rs6000): Set default cpp options based
3236 on --with-cpu settings.
3237 * config/rs6000/softfloat.h: New.
3238
3239 2001-11-13 Kazu Hirata <kazu@hxi.com>
3240
3241 * config/h8300/h8300.c (shift_alg_si): Use special code for
3242 25-bit shifts on H8/S.
3243 (get_shift_alg): Generate special code for 25-bit shifts on
3244 H8/S.
3245
3246 2001-11-13 Jakub Jelinek <jakub@redhat.com>
3247
3248 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3249 (adjust_automodify_address_1): New.
3250 * expr.h (adjust_address, adjust_address_nv): Adjust.
3251 (adjust_automodify_address, adjust_automodify_address_nv): Define.
3252 (adjust_address_1): Update prototype.
3253 (adjust_automodify_address_1): Add prototype.
3254 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3255 (store_by_pieces_2): Likewise.
3256
3257 Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3258
3259 * Makefile.in (explow.o): Now depends on ggc.h.
3260 * explow.c (ggc.h): Include.
3261 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3262
3263 * Makefile.in (expr.o): Depends on insn-attr.h.
3264 * expr.c (insn-attr.h): New include.
3265 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3266 of MEM.
3267 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3268 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3269 clean up related usage in ADDR_EXPR.
3270 (expand_expr_unaligned): Likewise.
3271
3272 * emit-rtl.c (change_address): Fix typo in alias setting.
3273
3274 2001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3275
3276 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3277
3278 2001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3279
3280 PR bootstrap/3451
3281 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3282 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3283
3284 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3285
3286 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3287 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3288 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3289 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3290 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3291 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3292 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3293 sparc64-*-linux*): Include various CPU headers via tm_file.
3294 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3295 (SELECT_SECTION): Likewise.
3296 (SELECT_RTX_SECTION): Likewise.
3297 * config/sparc/sparc_bi.h: New file.
3298 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3299 * config/sparc/linux-aout.h: Likewise.
3300 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3301 * config/sparc/linux64.h: Likewise.
3302 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3303 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3304 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3305 and dbxcoff.h
3306 (ASM_OUTPUT_IDENT): Do not #undef.
3307 (SELECT_SECTION): Likewise.
3308 (SELECT_RTX_SECTION): Likewise.
3309 * config/sparc/liteelf.h: Don't include gofast.h.
3310 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3311 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3312 * config/sparc/pbd.h: Likewise.
3313 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3314 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3315 * config/sparc/rtemself.h: Don't include rtems.h.
3316 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3317 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3318 sparc_bi.h instead.
3319 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3320 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3321 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3322 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3323 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3324 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3325 * config/sparc/splet.h: Don't include sparc/aout.h.
3326 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3327 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3328 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3329 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3330 * config/sparc/vxsparc64.h: Don't include gofast.h.
3331 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3332
3333 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3334
3335 * doc/standards.texi: Mention C99 TC1.
3336
3337 2001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3338
3339 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3340 * mips.c (mips_output_conditional_branch): Likewise.
3341
3342 2001-11-12 Kazu Hirata <kazu@hxi.com>
3343
3344 * config/h8300/h8300.c (shift_alg_si): Use special code for
3345 15-bit logical shifts and 31-bit logical shifts.
3346 (get_shift_alg): Generate special code for 15-bit and 31-bit
3347 logical shifts.
3348
3349 2001-11-12 Kazu Hirata <kazu@hxi.com>
3350
3351 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3352 doing 6-bit logical shifts on H8/S.
3353 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3354 (get_shift_alg): Generate special code for 21-bit shifts on
3355 H8/S.
3356
3357 2001-11-12 Kazu Hirata <kazu@hxi.com>
3358
3359 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3360 label.
3361
3362 Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3363
3364 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3365 if both size and offset known.
3366
3367 2001-11-12 David O'Brien <obrien@FreeBSD.org>
3368
3369 * config/ia64/freebsd.h: Fix misspelling.
3370
3371 2001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3372
3373 * doc/gcc.texi: Move several chapters out to ...
3374 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3375 doc/include/linux-and-gnu.texi, doc/interface.texi,
3376 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3377 ... here. New files.
3378 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3379 contrib.texi.
3380 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3381
3382 2001-11-12 Kazu Hirata <kazu@hxi.com>
3383
3384 * config/alpha/alpha-interix.h: Fix comment formatting.
3385 * config/alpha/alpha.c: Likewise.
3386 * config/alpha/alpha.h: Likewise.
3387 * config/alpha/alpha32.h: Likewise.
3388 * config/alpha/freebsd.h: Likewise.
3389 * config/alpha/unicosmk.h: Likewise.
3390 * config/alpha/vms.h: Likewise.
3391
3392 2001-11-12 Kazu Hirata <kazu@hxi.com>
3393
3394 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3395
3396 2001-11-12 Jakub Jelinek <jakub@redhat.com>
3397
3398 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3399 numbers.
3400
3401 Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3402
3403 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3404 from type.
3405 (replace_equiv_address): Call update_temp_slot_address.
3406
3407 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3408
3409 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3410
3411 2001-11-12 Kazu Hirata <kazu@hxi.com>
3412
3413 * config/h8300/h8300.c (shift_alg_qi): New.
3414 (shift_alg_hi): Likewise.
3415 (shift_alg_si): Likewise.
3416 (get_shift_alg): Change the type of count to unsigned int.
3417 Use the tables.
3418
3419 2001-11-11 Alexandre Oliva <aoliva@redhat.com>
3420
3421 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3422 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3423 to decide whether to defer a function.
3424 (finish_function): Adjust.
3425 (c_expand_deferred_function): New function.
3426 * c-lang.c (deferred_fns): New variable.
3427 (c_init): Initialize it, and mark it as a root.
3428 (defer_fn): New function.
3429 (finish_file): Expand all deferred functions.
3430 * c-tree.h (defer_fn): Declare.
3431 (c_expand_deferred_function): Likewise.
3432 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3433 * objc-act.c (deferred_fns): New variable.
3434 (objc_init): Initialize it, and mark it as a root.
3435 (defer_fn): New function.
3436 (finish_file): Expand all deferred functions.
3437
3438 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3439
3440 * alpha.c (unicosmk_special_name): Prototype.
3441 (unicosmk_ssib_name): Delete unused variable.
3442 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3443 * alpha/vms.h (PREFIX): Undef before defining.
3444 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3445 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3446 controlling usage. Const-ify.
3447 (alias_number): Delete unused variable.
3448 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3449 (m32r_expand_block_move): Fix uninitialized warnings.
3450 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3451 always true' warnings.
3452 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3453 * sh/sh.c: Include "integrate.h".
3454 (output_far_jump): Fix uninitialized warning.
3455 * final.c (shorten_branches): Avoid automatic aggregate
3456 initialization.
3457 * integrate.c (subst_constants): Likewise.
3458
3459 2001-11-11 Kazu Hirata <kazu@hxi.com>
3460
3461 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3462 (get_shift_alg): Remove redundant code.
3463
3464 2001-11-11 Kazu Hirata <kazu@hxi.com>
3465
3466 * config/pa/milli64.S: Fix comment formatting.
3467 * config/pa/pa-64.h: Likewise.
3468 * config/pa/pa-linux.h: Likewise.
3469 * config/pa/pa-protos.h: Likewise.
3470 * config/pa/pa.c: Likewise.
3471 * config/pa/pa.h: Likewise.
3472 * config/pa/pa32-linux.h: Likewise.
3473 * config/pa/pa32-regs.h: Likewise.
3474 * config/pa/pa64-hpux.h: Likewise.
3475 * config/pa/pa64-regs.h: Likewise.
3476 * config/pa/som.h: Likewise.
3477
3478 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3479
3480 * doc/gcc.texi: Move several chapters out to ...
3481 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3482 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3483 doc/vms.texi: ... here. New files.
3484 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3485
3486 2001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3487
3488 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3489 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3490 collect2.c, combine.c, config.in, configure, configure.in,
3491 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3492 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3493 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3494 spelling errors.
3495
3496 Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3497
3498 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3499 Adjust operand number in CONST_DOUBLE.
3500
3501 * expmed.c (extract_bit_field): No longer pass in alignment.
3502 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3503 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3504 Likewise.
3505 * expr.c (store_constructor, store_constructor_field): Likewise.
3506 (store_field, emit_group_load, emit_group_store): Likewise.
3507 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3508 (store_bit_field, extract_bit_field): Likewise.
3509 * calls.c, expr.c, function.c: Change calls to above functions.
3510 * ifcvt.c, stmt.c: Likewise.
3511
3512 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3513 constant and one is on frame.
3514 If know memref offset, adjust size from decl.
3515
3516 2001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3517
3518 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3519 format specifier warning.
3520 * convex.h (ASM_OUTPUT_BYTE): Likewise.
3521 * elfos.h (ALIGN_ASM_OP): Undef before defining.
3522 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3523 warning.
3524 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3525 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3526 * i386-interix.h (gen_stdcall_suffix): Prototype.
3527 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3528 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3529 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3530 * i386/interix.c (gen_stdcall_suffix): Const-ify.
3531 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3532 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3533 specifier warnings.
3534 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3535 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3536 ASM_OUTPUT_LONG_DOUBLE): Likewise.
3537 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3538 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3539 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3540 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3541 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3542 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3543 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3544 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3545 Likewise.
3546 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3547 Likewise.
3548 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3549 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3550 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3551 Likewise.
3552 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3553 Likewise.
3554 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3555 Likewise.
3556 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3557 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3558 * m68k/news.h (PRINT_OPERAND): Likewise.
3559 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3560 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3561 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3562 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3563 definition.
3564 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3565 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3566 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3567 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3568 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3569 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3570 PRINT_OPERAND): Likewise.
3571 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3572 Likewise.
3573 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3574 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3575 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3576 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3577 * mips.c (mips_output_external_libcall): Mark parameter with
3578 ATTRIBUTE_UNUSED.
3579 (mips_asm_file_start): Move variable into the scope where it's
3580 used.
3581 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3582 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3583 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3584 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3585 * ns32k.c (print_operand): Likewise.
3586 * pa.c (print_operand, output_div_insn): Likewise.
3587 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3588 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3589 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3590 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3591 specifier warnings.
3592 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3593 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3594 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3595 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3596 specifier warnings.
3597 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3598
3599 * sdbout.c (sdbout_end_epilogue): Mark parameter with
3600 ATTRIBUTE_UNUSED.
3601 * varasm.c (assemble_global): Likewise.
3602
3603 2001-11-11 H.J. Lu <hjl@gnu.org>
3604
3605 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3606
3607 Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
3608
3609 * final.c (*_MAX_SKIP): Use *_max_skip variables.
3610 * flags.h (align_loops_max_skip, align_jumps_max_skip,
3611 align_labels_max_skip): New global variables.
3612 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3613 align_labels_max_skip): New global variables.
3614 (toplev_main): Set new variables.
3615 * i386.c (override_options): Set max_skip values.
3616
3617 2001-11-10 Geoffrey Keating <geoffk@redhat.com>
3618
3619 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3620 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3621 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3622 don't print an @fptr for labels either.
3623 (xstormy16_output_addr_vec): Don't print @fptr here.
3624 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3625
3626 Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
3627
3628 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3629 an ANSI/ISO definitino.
3630 (ssa_const_prop): Likewise.
3631
3632 2001-11-10 Aldy Hernandez <aldyh@redhat.com>
3633
3634 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3635 altivec registers.
3636
3637 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3638
3639 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3640 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3641 * cppmain.c (general_init): Call hex_init.
3642 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3643
3644 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3645
3646 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3647 of dgux.c:output_file_start().
3648
3649 * i386/dgux.c: Delete file.
3650
3651 2001-11-09 Richard Henderson <rth@redhat.com>
3652
3653 * config/alpha/alpha.c (decl_in_text_section): New.
3654 (current_file_function_operand): Use it.
3655 (alpha_encode_section_info, alpha_end_function): Likewise.
3656
3657 2001-11-07 David O'Brien <obrien@FreeBSD.org>
3658
3659 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3660 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3661 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3662 so OS specific files and use CPP_PREDEFINES for their needs.
3663 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
3664 target headers to tm_file.
3665 * config/ia64/aix.h (TARGET_VERSION): Likewise.
3666 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3667 * config/ia64/linux.h (TARGET_VERSION): Likewise.
3668 (FUNCTION_PROFILER): Remove.
3669 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3670 version in config/ia64/linux.h.
3671 * config/ia64/freebsd.h: New file.
3672 * config/freebsd.h: Tidy up.
3673 (_USING_CONFIG_FREEBSD): Define.
3674 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3675 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3676 (FBSD_STARTFILE_SPEC): Likewise.
3677 (FBSD_ENDFILE_SPEC): Likewise.
3678 (FBSD_LIB_SPEC): Likewise.
3679 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3680 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3681 set an ELF-improper one.
3682
3683 2001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
3684
3685 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3686 constant can be loaded in a single instruction to a register. When
3687 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
3688 depdi for insertion of most significant 32-bits on 64-bit hosts.
3689 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3690 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3691 * pa.md: New addmove pattern for adding constant_int to HImode
3692 register and moving result to HImode register. Remove HImode HIGH
3693 and LO_SUM patterns.
3694
3695 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3696
3697 * Makefile.in: Update.
3698 * c-decl.c (print_lang_decl, print_lang_type): Remove.
3699 (print_lang_identifier): Rename c_print_identifier.
3700 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3701 (print_lang_statistics, lang_print_xnode): Remove.
3702 * c-parse.in (set_yydebug): Rename c_set_yydebug.
3703 * c-tree.h (c_set_yydebug, c_print_identifier): New.
3704 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3705 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3706 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3707 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3708 (LANG_HOOKS_INITIALIZER): Update.
3709 * langhooks.h (struct lang_hooks): New members.
3710 (lang_print_tree_hook): New.
3711 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3712 * print-tree.c: Include langhooks.h.
3713 (print_node): Update.
3714 * toplev.c (decode_d_option): Update.
3715 * tree.c: Include langhooks.h.
3716 (dump_tree_statistics): Update.
3717 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3718 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3719 objc:
3720 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3721 LANG_HOOKS_SET_YYDEBUG): Override.
3722 (lang_print_xnode, print_lang_statistics): Remove.
3723
3724 2001-11-09 Richard Henderson <rth@redhat.com>
3725
3726 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3727 on the symbol string.
3728
3729 2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3730
3731 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3732 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3733 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3734
3735 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3736
3737 * tlink.c (recompile_files): Copy strings passed to `putenv'.
3738
3739 2001-11-09 Geoffrey Keating <geoffk@redhat.com>
3740
3741 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3742 (TYPE_READONLY): Likewise.
3743
3744 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3745
3746 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3747 don't pass --gdwarf2 to the assembler if the compiler will also
3748 provide debug info.
3749
3750 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3751 Don't change INDEX.
3752
3753 Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3754
3755 * alias.c (nonoverlapping_memrefs_p): New function.
3756 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3757
3758 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3759
3760 2001-11-09 Aldy Hernandez <aldyh@redhat.com>
3761
3762 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3763 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3764 generating altivec code.
3765 (FIXED_REGISTERS): VRSAVE is fixed.
3766 (CALL_USED_REGISTERS): VRSAVE is call used.
3767
3768 2001-11-09 Jason Eckhardt <jle@rice.edu>
3769
3770 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3771 code the branch target as ".+16/.+12", but rather use labels.
3772
3773 Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
3774
3775 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3776 to work around limitations of certain versions of GAS.
3777
3778 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3779 (muldi3): Update due to SUBREG_BYTE changes.
3780 (casesi): Similarly.
3781
3782 2001-11-09 Zack Weinberg <zack@codesourcery.com>
3783
3784 * doc/invoke.texi: Remove comment referring to -xf77-version.
3785
3786 2001-11-09 Kazu Hirata <kazu@hxi.com>
3787
3788 * config/convex/convex.c: Fix comment formatting.
3789 * config/convex/convex.h: Likewise.
3790
3791 2001-11-08 Zack Weinberg <zack@codesourcery.com>
3792
3793 * Makefile.in (.po.pox): Look both in srcdir and builddir
3794 for $(PACKAGE).pot.
3795 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3796 to the source directory.
3797
3798 2001-11-09 Ben Elliston <bje@redhat.com>
3799 Michael Meissner <meissner@redhat.com>
3800 Andrew MacLeod <amacleod@redhat.com>
3801 Richard Henderson <rth@redhat.com>
3802 Nick Clifton <nickc@redhat.com>
3803 Catherine Moore <clm@redhat.com>
3804
3805 * m32r.c: Add support for m32rx processor.
3806 * m32r.h: Ditto.
3807 * m32r.md: Ditto.
3808 * t-m32r: Ditto.
3809 * m32r-protos.h: Add prototypes for m32rx functions.
3810 * doc/invoke.texi: Document -m32rx option.
3811
3812 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3813
3814 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3815 or after reload.
3816
3817 2001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3818
3819 * doc/install.texi2html: Use $MAKEINFO --no-split.
3820
3821 2001-11-09 Andreas Schwab <schwab@suse.de>
3822
3823 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3824 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3825 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3826 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3827 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3828
3829 2001-11-09 H.J. Lu <hjl@gnu.org>
3830
3831 * config/mips/mips.c (mips_output_function_prologues): Cast
3832 `tsize' to long for output.
3833
3834 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
3835
3836 * c-lang.c (LANG_HOOKS_NAME): New.
3837 (lang_hooks): Constify.
3838 (c_init_options): Update.
3839 (lang_identify): Remove.
3840 * c-parse.in (language_string): Remove.
3841 * dbxout.c: Include langhooks.h.
3842 (dbxout_symbol_location): Update.
3843 * dwarf2out.c: Include langhooks.h.
3844 (gen_compile_unit_die): Update.
3845 * dwarfout.c: Include langhooks.h.
3846 (prototyped_attribute, output_compile_unit_die): Update.
3847 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3848 (LANG_HOOKS_INITIALIZER): Update.
3849 * langhooks.h (struct lang_hooks): New members. Constify.
3850 * stringpool.c: Don't include toplev.h.
3851 (set_identifier_size): Remove.
3852 * toplev.c (toplev_main): Initialize identifier size.
3853 (print_version): Update.
3854 * tree.h (language_string, init_lex, lang_identify,
3855 set_identifier_size): Remove.
3856 * Makefile.in: Update dependencies.
3857 * config/darwin.c: Include langhooks.h.
3858 (func_name_maybe_scoped): Update.
3859 * config/darwin.h (ASM_END_FILE): Update.
3860 * config/nextstep.h (ASM_END_FILE): Update.
3861 * config/nextstep21.h (ASM_END_FILE): Update.
3862 * config/i386/sun386.h (ASM_END_FILE): Update.
3863 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3864 (rs6000_output_function_epilogue): Update.
3865 objc:
3866 * objc-act.c (LANG_HOOKS_NAME): Override.
3867 (struct lang_hooks): Constify.
3868 (objc_init_options): Update.
3869 (lang_identify): Remove.
3870
3871 Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
3872
3873 * fold-const.c (lshift_double): Honor PREC.
3874 (rshift_double): Likewise.
3875
3876 2001-11-08 Kazu Hirata <kazu@hxi.com>
3877
3878 * config/1750a/1750a.c: Fix comment formatting.
3879 * config/1750a/1750a.h: Likewise.
3880
3881 2001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
3882
3883 * configure.in (--enable-languages): Be more permissive about
3884 syntax. Check for empty lists better. Warn about $LANGUAGES.
3885 * configure: Regenerated.
3886
3887 2001-11-08 Richard Henderson <rth@redhat.com>
3888
3889 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3890
3891 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
3892
3893 * config.gcc: Rename stormy16 to xstormy16.
3894 * config/stormy16/stormy-abi: Likewise.
3895 * config/stormy16/stormy16-protos.h: Likewise.
3896 * config/stormy16/stormy16.c: Likewise.
3897 * config/stormy16/stormy16.h: Likewise.
3898 * config/stormy16/stormy16.md: Likewise.
3899
3900 2001-11-06 Geoffrey Keating <geoffk@redhat.com>
3901
3902 * tree.h (TYPE_VOLATILE): Add enable-checking code.
3903 (TYPE_READONLY): Likewise.
3904
3905 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3906
3907 * reload1.c (reload): Don't delete equiv insn if can throw.
3908
3909 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3910 (clear_storage): Likewise, for OBJECT.
3911
3912 Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
3913
3914 * pa.c (emit_move_sequence): Fix SUBREG expression to
3915 use proper byte offset when extending a constant from
3916 SImode to DImode.
3917
3918 2001-11-09 Jakub Jelinek <jakub@redhat.com>
3919
3920 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3921 which cannot throw.
3922
3923 Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3924
3925 * explow.c (convert_memory_address, case SUBREG): Only return
3926 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3927
3928 2001-11-08 Richard Henderson <rth@redhat.com>
3929
3930 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3931 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3932 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3933
3934 2001-11-08 Aldy Hernandez <aldyh@redhat.com>
3935
3936 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3937
3938 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3939
3940 * dwarf2out.c (debug_str_hash): New.
3941 (struct indirect_string_node): New.
3942 (struct dw_val_struct): Change type of val_str to it.
3943 (DEBUG_STR_SECTION_FLAGS): Define.
3944 (add_AT_string): Push string into hashtable, increment reference
3945 counter.
3946 (AT_string): Return string from ht_identifier.
3947 (AT_string_form): New.
3948 (free_AT): For dw_val_class_str, just decrement reference counter.
3949 (size_of_string): Remove.
3950 (size_of_die): Use AT_string_form to decide what size the string
3951 occupies in DIE.
3952 (size_of_pubnames): Use strlen instead of size_of_string.
3953 (value_format): Use AT_string_form for dw_val_class_str.
3954 (output_die): Output DW_FORM_strp strings using
3955 dw2_asm_output_offset.
3956 (indirect_string_alloc, output_indirect_string): New.
3957 (dwarf2out_finish): Emit .debug_str strings if there are any.
3958
3959 2001-11-08 Andreas Franck <afranck@gmx.de>
3960
3961 * configure.in: Add AC_ARG_PROGRAM to support program name
3962 transformation with --program-prefix, --program-suffix and
3963 --program-transform-name.
3964 * configure: Regenerated.
3965 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3966 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3967 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3968 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3969 program_transform_name the way suggested by autoconf.
3970 (GCC_TARGET_INSTALL_NAME): Define.
3971 (install-driver): Use the transformed target alias name.
3972
3973 2001-11-08 Richard Henderson <rth@redhat.com>
3974
3975 * config/mips/mips.c (save_restore_insns): Remove GP from the
3976 restore registers mask early instead of special casing it inside
3977 the loop.
3978
3979 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
3980
3981 * cp/decl.c (shadow_warning): New function.
3982 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
3983 and an error when a block scope decl shadows a parameter.
3984
3985 2001-11-08 Richard Henderson <rth@redhat.com>
3986
3987 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3988 case as well.
3989
3990 2001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3991
3992 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3993 to implement floating negation on processors prior to PA 2.0.
3994
3995 2001-11-08 Jakub Jelinek <jakub@redhat.com>
3996
3997 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3998 (USE_LINKONCE_INDIRECT): Define.
3999 (dw2_output_indirect_constant_1): Try to output indirect constants
4000 into linkonce sections if possible.
4001 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
4002 (dw2_output_indirect_constants): Likewise.
4003
4004 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
4005
4006 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
4007
4008 2001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
4009
4010 * c-decl.c (pushdecl): Remove file and line.
4011 * c-typeck.c (pop_init_level): Remove size.
4012
4013 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
4014
4015 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
4016 for rs6000.
4017
4018 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
4019 (TARGET_ALTIVEC): New.
4020 (TARGET_SWITCHES): Add altivec.
4021 (FIRST_PSEUDO_REGISTER): Change to 109.
4022 (CALL_USED_REGISTERS): Same.
4023 (FIRST_ALTIVEC_REGNO): New.
4024 (LAST_ALTIVEC_REGNO): New.
4025 (ALTIVEC_REGNO_P): New.
4026 (UNITS_PER_ALTIVEC_WORD): New.
4027 (ALTIVEC_VECTOR_MODE): New.
4028 (FIXED_REGISTERS): Add altivec registers.
4029 (REG_ALLOC_ORDER): Same.
4030 (HARD_REGNO_NREGS): Adjust for altivec registers.
4031 (HARD_REGNO_MODE_OK): Same.
4032 (MODES_TIEABLE_P): Same.
4033 (REGISTER_MOVE_COST): Same.
4034 (REGNO_REG_CLASS): Same.
4035 (reg_class): Add ALTIVEC_REGS.
4036 (REG_CLASS_NAMES): Same.
4037 (REG_CLASS_CONTENTS): Same.
4038 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
4039 (ALTIVEC_ARG_RETURN): New.
4040 (FUNCTION_VALUE): Handle VECTOR_TYPE.
4041 (LIBCALL_VALUE): Handle altivec vector modes.
4042 (VECTOR_MODE_SUPPORTED_P): New.
4043 (ALTIVEC_ARG_MIN_REG): New.
4044 (ALTIVEC_ARG_MAX_REG): New.
4045 (ALTIVEC_ARG_NUM_REG): New.
4046 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
4047 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
4048 (REGISTER_NAMES): Add altivec regs.
4049 (DEBUG_REGISTER_NAMES): Same.
4050 (ADDITIONAL_REGISTER_NAMES): Same.
4051 (rs6000_builtins): New.
4052 (MD_EXPAND_BUILTIN): New.
4053 (MD_INIT_BUILTINS): New.
4054 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
4055 for AltiVec instructions.
4056 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
4057 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
4058 registers.
4059 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
4060 (TARGET_SWITCHES): Add no-altivec.
4061 (DATA_ALIGNMENT): Align vectors to 128 bits.
4062 (TARGET_OPTIONS): Add abi= option.
4063 Add rs6000_abi_string extern.
4064 (LOCAL_ALIGNMENT): New.
4065 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
4066 (MASK_ALTIVEC_ABI): New.
4067 (TARGET_ALTIVEC_ABI): New.
4068 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
4069 call-saved.
4070 (STACK_BOUNDARY): Adjust for altivec.
4071 (BIGGEST_ALIGNMENT): Same.
4072 (rs6000_args): Add vregno.
4073 (USE_ALTIVEC_FOR_ARG_P): New.
4074 (FIXED_REGISTERS): Add vrsave register.
4075 (CALL_USED_REGISTERS): Same.
4076 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
4077 (VRSAVE_REGNO): New.
4078 (reg_class): Add VRSAVE_REGS.
4079 (REG_CLASS_NAMES): Same.
4080 (REG_CLASS_CONTENTS): Same.
4081 (REGNO_REG_CLASS): Same.
4082
4083 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
4084 (ABI_STACK_BOUNDARY): Same.
4085 (BIGGEST_ALIGNMENT): Same.
4086 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
4087 (ROUND_TYPE_ALIGN): Same.
4088
4089 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4090 to 64.
4091
4092 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4093 to 64.
4094
4095 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4096 to 64.
4097
4098 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
4099 (altivec_expand_builtin): New.
4100 (altivec_init_builtins): New.
4101 (TARGET_EXPAND_BUILTIN): New.
4102 (TARGET_INIT_BUILTINS): New.
4103 (rs6000_init_builtins): New.
4104 (struct builtin_description): New.
4105 (bdesc_2arg): New.
4106 (rs6000_reg_names): Add altivec registers.
4107 (alt_reg_names): Same.
4108 (secondary_reload_class): Altivec regs can hold altivec regs and
4109 memory.
4110 (rs6000_emit_move): Force constants into memory for AltiVec moves.
4111 (print_operand): Add 'y' case for printing altivec memory
4112 operands.
4113 (rs6000_legitimize_address): Legitimize vector addresses into
4114 [REG+REG] or [REG].
4115 (altivec_expand_binop_builtin): New.
4116 New string rs6000_current_abi.
4117 (rs6000_override_options): Call rs6000_parse_abi_options.
4118 (rs6000_parse_abi_options): New.
4119 (function_arg_boundary): Vector arguments must be 16
4120 byte aligned.
4121 (function_arg_advance): Handle vector arguments.
4122 (function_arg_partial_nregs): Same.
4123 (init_cumulative_args): Same.
4124 (function_arg): Same.
4125
4126 * config/rs6000/rs6000.md (altivec_lvx): New.
4127 (type): Add altivec attribute.
4128 (movv4si): New.
4129 (*movv4si_internal): New.
4130 (movv16qi): New.
4131 (*movv16qi_internal): New.
4132 (movv8hi): New.
4133 (*movv8hi_internal1): New.
4134 (movv4sf): New.
4135 (*movv4sf_internal1): New.
4136 (altivec_stvx): New.
4137 (vaddubm): New.
4138 (vadduhm): New.
4139 (vadduwm): New.
4140 (vaddfp): New.
4141 (vaddcuw): New.
4142 (vaddubs): New.
4143 (vaddsbs): New.
4144 (vadduhs): New.
4145 (vaddshs): New.
4146 (vadduws): New.
4147 (vaddsws): New.
4148 (vand): New.
4149 (vandc): New.
4150 (vavgub): New.
4151 (vavgsb): New.
4152 (vavguh): New.
4153 (vavgsh): New.
4154 (vavguw): New.
4155 (vavgsw): New.
4156 (vcmpbfp): New.
4157 (vcmpequb): New.
4158 (vcmpequh): New.
4159 (vcmpequw): New.
4160 (vcmpeqfp): New.
4161 (vcmpgefp): New.
4162 (vcmpgtub): New.
4163 (vcmpgtsb): New.
4164 (vcmpgtuh): New.
4165 (vcmpgtsh): New.
4166 (vcmpgtuw): New.
4167 (vcmpgtsw): New.
4168 (vcmpgtfp): New.
4169 (vcmpgefp): New.
4170 (vcmpgtub): New.
4171 (vcmpgtsb): New.
4172 (vcmpgtuh): New.
4173 (vcmpgtsh): New.
4174 (vcmpgtuw): New.
4175 (vcmpgtsw): New.
4176 (vcmpgtfp): New.
4177 (vmaxub): New.
4178 (vmaxsb): New.
4179 (vmaxuh): New.
4180 (vmaxsh): New.
4181 (vmaxuw): New.
4182 (vmaxsw): New.
4183 (vmaxfp): New.
4184 (vmrghb): New.
4185 (vmrghh): New.
4186 (vmrghw): New.
4187 (vmrglb): New.
4188 (vmrglh): New.
4189 (vmrglw): New.
4190 (vminub): New.
4191 (vminsb): New.
4192 (vminuh): New.
4193 (vminsh): New.
4194 (vminuw): New.
4195 (vminsw): New.
4196 (vminfp): New.
4197 (vmuleub): New.
4198 (vmulesb): New.
4199 (vmuleuh): New.
4200 (vmulesh): New.
4201 (vmuloub): New.
4202 (vmulosb): New.
4203 (vmulouh): New.
4204 (vmulosh): New.
4205 (vnor): New.
4206 (vor): New.
4207 (vpkuhum): New.
4208 (vpkuwum): New.
4209 (vpkpx): New.
4210 (vpkuhss): New.
4211 (vpkshss): New.
4212 (vpkuwss): New.
4213 (vpkswss): New.
4214 (vpkuhus): New.
4215 (vpkshus): New.
4216 (vpkuwus): New.
4217 (vpkswus): New.
4218 (vrlb): New.
4219 (vrlh): New.
4220 (vrlw): New.
4221 (vslb): New.
4222 (vslh): New.
4223 (vslw): New.
4224 (vsl): New.
4225 (vslo): New.
4226 (vsrb): New.
4227 (vrsh): New.
4228 (vrsw): New.
4229 (vsrab): New.
4230 (vsrah): New.
4231 (vsraw): New.
4232 (vsr): New.
4233 (vsro): New.
4234 (vsububm): New.
4235 (vsubuhm): New.
4236 (vsubuwm): New.
4237 (vsubfp): New.
4238 (vsubcuw): New.
4239 (vsububs): New.
4240 (vsubsbs): New.
4241 (vsubuhs): New.
4242 (vsubshs): New.
4243 (vsubuws): New.
4244 (vsubsws): New.
4245 (vsum4ubs): New.
4246 (vsum4sbs): New.
4247 (vsum4shs): New.
4248 (vsum2sws): New.
4249 (vsumsws): New.
4250 (vxor): New.
4251
4252 2001-11-07 Daniel Berlin <dan@cgsoftware.com>
4253
4254 * Makefile.in (df.o): Add fibheap.h to dependencies.
4255
4256 * df.h: Add prototypes for transfer functions, iterative_dataflow
4257 functions.
4258 (enum df_flow_dir): New enum.
4259 (enum df_confluence_op): New enum.
4260 (struct df): Add inverse_rts_map.
4261
4262 * df.c: Add sbitmap.h to the list of includes.
4263 (df_rd_global_compute): Removed.
4264 (df_ru_global_compute): Removed.
4265 (df_lr_global_compute): Removed.
4266 (df_rd_transfer_function): New function.
4267 (df_ru_transfer_function): New function.
4268 (df_lr_transfer_function): New function.
4269 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4270 Use iterative_dataflow_bitmap instead of df_*_global_compute.
4271 (iterative_dataflow_sbitmap): New function.
4272 (iterative_dataflow_bitmap): New function.
4273
4274 2001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4275
4276 * doc/gcc.texi: Move terminology and spelling conventions to
4277 htdocs/codingconventions.html.
4278
4279 2001-11-07 Graham Stott <grahams@redhat.com>
4280
4281 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4282
4283 Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
4284
4285 * expmed.c (expand_mult): Force operand to register before computing
4286 cost.
4287 * i386.c (x86_decompose_lea): New global vairable.
4288 * i386.h (x86_decompose_lea): Declare.
4289 (TARGET_DECOMPOSE_LEA): New macro.
4290 (RTX_COST): Handle leas properly.
4291
4292 2001-11-06 Richard Henderson <rth@redhat.com>
4293
4294 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4295 defined for a CONSTRUCTOR; don't check it.
4296
4297 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4298
4299 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4300 test for absolute pathnames.
4301
4302 2001-11-06 Olivier Hainque <hainque@act-europe.fr>
4303
4304 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4305 instructions up to the target pc inclusive.
4306
4307 2001-11-06 Steve Christiansen <smc@us.ibm.com>
4308
4309 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4310
4311 2001-11-06 Eric Christopher <echristo@redhat.com>
4312
4313 * config/mips/mips.md(movdf_internal2): Add constraints for float
4314 to general register move.
4315 * config/mips/elf64.h: Add default ABI.
4316
4317 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4318
4319 * alias.c:: Include langhooks.h.
4320 * emit-rtl.c: Similarly.
4321 * toplev.c: Similarly.
4322 * tree-inline.c: Similarly.
4323 * langhooks-def.h: New, the old langhooks.h. Give the default
4324 hooks a common prefix.
4325 * langhooks.h: Contents extracted from toplev.h.
4326 * toplev.h: Move langhook stuff to langhooks.h.
4327 * langhooks.c: Give default hooks a common prefix.
4328
4329 * c-lang.c: Include langhooks-def.h.
4330 * objc/objc-act.c: Similarly.
4331 * Makefile.in: Update.
4332 * objc/Make-lang.in: Update.
4333
4334 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4335
4336 * doc/install.texi: Document that configure options not listed in
4337 this file are unsupported. Document --with-system-zlib.
4338
4339 Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4340
4341 * rtl.h (mem_for_const_double): New declaration.
4342 * varasm.c (mem_for_const_double): New function.
4343 * config/convex/convex.md (movdf): Use it.
4344 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4345 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4346 * config/m68k/m68kv4.h: Likewise.
4347
4348 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4349 of new GP reg classes.
4350
4351 * expr.c (store_field): When making temp object for unaligned
4352 component, set it to alias set 0.
4353
4354 2001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4355
4356 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4357 non-lvalue arrays if C99.
4358 * c-typeck.c (default_conversion): Split out code handling
4359 array-to-pointer and function-to-pointer conversions into a
4360 separate default_function_array_conversion function.
4361 (default_function_array_conversion): New function. Keep track of
4362 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4363 arrays unchanged outside C99 mode instead of giving an error for
4364 them.
4365 (build_component_ref): Use pedantic_non_lvalue when handling
4366 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4367 (convert_arguments): Use default_function_array_conversion.
4368 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4369 non-lvalues are OK.
4370 (unary_complex_lvalue): Likewise.
4371 (internal_build_compound_expr): Use
4372 default_function_array_conversion. Apply default conversions to
4373 function in compound expression.
4374 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4375 Use default_function_array_conversion.
4376 * doc/extend.texi: Update documentation of subscripting non-lvalue
4377 arrays.
4378 Fixes PR c/461.
4379
4380 2001-11-05 Zack Weinberg <zack@codesourcery.com>
4381
4382 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4383 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4384 corresponding to the complete set of .po and .gmo files in
4385 the source directory's po subdir, modified by LINGUAS. Don't
4386 look at ALL_LINGUAS.
4387 * configure.in: Don't set ALL_LINGUAS.
4388 * configure: Regenerate.
4389
4390 * Makefile.in (.po.gmo): Don't move into source directory.
4391 (.po.pox): Clarify comments.
4392 (install-po): Look for .gmo files in both srcdir and objdir;
4393 don't fail if a file is totally missing.
4394 (distclean): rmdir ada subdirectory too.
4395
4396 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4397
4398 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4399 CONSTRUCTORs _correctly_.
4400
4401 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4402
4403 * c-decl.c (delete_block): Remove.
4404 * c-tree.h (delete_block): Remove.
4405
4406 2001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4407
4408 * cppexp.c (lex, parse_defined): Update warning about defined.
4409
4410 2001-11-05 Geoffrey Keating <geoffk@redhat.com>
4411
4412 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4413 CONSTRUCTORs too.
4414
4415 2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4416
4417 * config/arm/arm.c (arm_return_in_memory): Cope with
4418 int_size_in_bytes returning -1.
4419
4420 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4421 DECL being NULL.
4422
4423 Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4424
4425 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4426 remove unneeded dependencies;
4427 (cfglayout.o): New.
4428 * cfglayout.c, cfglayout.h: New files; break out from ...
4429 * bb-reorder.c: ... here; Remove unneeded includes;
4430
4431 2001-11-04 Alan Modra <amodra@bigpond.net.au>
4432
4433 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4434
4435 2001-11-04 David Edelsohn <edelsohn@gnu.org>
4436
4437 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4438 mode as well. Do not explicitly create intermediate regs.
4439
4440 2001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4441
4442 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4443 (common_section): Delete unused variable.
4444 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4445 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4446 * arm-protos.h (arm_poke_function_name, aof_add_import,
4447 aof_delete_import): Const-ify.
4448 * arm.c (legitimize_pic_address): Wrap variables in the macro
4449 controlling their usage.
4450 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4451 (arm_poke_function_name, pic_chain, import, aof_add_import,
4452 aof_delete_import): Const-ify.
4453 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4454 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4455 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4456 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4457 * i860/sysv3.h: Add missing comment closure.
4458 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4459 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4460 to symbolic_operand.
4461
4462 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4463 (i960-*-*): Set tmake_file.
4464 (sparc86x-*-elf*): Fix typo in header name.
4465
4466 * sched-rgn.c (schedule_insns): Delete unused variable.
4467
4468 2001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4469
4470 PR c/2820
4471 * c-typeck.c (lookup_field): Rework to return a chain down to
4472 the looked-up field.
4473 (build_component_ref): Use the new lookup_field to handle
4474 nested anonymous entities correctly.
4475
4476 Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4477
4478 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4479 Change parameters to gen_rtx_CONST_DOUBLE.
4480 (GEN_INT64, sparc_emit_set_const64): Likewise.
4481 * config/sparc/sparc.md (movdf split): Likewise.
4482
4483 2001-11-03 Geoffrey Keating <geoffk@redhat.com>
4484
4485 * unroll.c (calculate_giv_inc): Use find_last_value rather
4486 than just hoping the last instruction is the right SET.
4487 [Fixes 990604-1.c on stormy16.]
4488
4489 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4490 library at all if -T is used.
4491
4492 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4493 some uses of uninitialized variables in error cases.
4494
4495 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4496 look at 'temp' if we won't be using it.
4497
4498 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4499 (RTX_COSTS): Define.
4500 (ADDRESS_COST): Define.
4501 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4502
4503 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4504
4505 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4506 stormy16_asm_output_mi_thunk.
4507 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4508 function.
4509 * config/stormy16/stormy16-protos.h
4510 (stormy16_asm_output_mi_thunk): New prototype.
4511
4512 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4513
4514 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4515 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4516 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4517 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4518 sched-int.h, toplev.c, config/alpha/alpha.c,
4519 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4520 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4521 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4522 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4523 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4524 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4525 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4526
4527 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4528
4529 * Makefile.in (dbxout.o): Depend on function.h.
4530 * collect2.c (is_in_list): Hide unused function.
4531 * dbxout.c: Include function.h.
4532 (source_label_number, dbxout_source_line, dbxout_source_file,
4533 dbxout_function_end, dbxout_begin_function): Wrap/move inside
4534 macros controlling usage.
4535 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4536 * output.h (exports_section): Prototype.
4537
4538 * convex.c (convex_output_function_prologue): Fix format specifier
4539 warning.
4540 (asm_declare_function_name): Fix signed/unsigned warning.
4541 (print_operand): Fix format specifier warning.
4542 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4543 * dsp16xx-protos.h (uns_comparison_operator,
4544 num_1600_core_shifts): Prototype.
4545 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4546 (frame_size, frame_pointer_offset): Delete.
4547 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4548 Make static. Fix format specifier warnings.
4549 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4550 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4551 * dsp16xx.md: Add default case in switches.
4552 * fr30.h (IN_RANGE): Delete.
4553 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4554 * mcore-protos.h (mcore_output_cmov): Const-ify.
4555 * mcore.c (mcore_output_cmov): Likewise.
4556 * mcore.h (switch_to_section): Make static and prototype.
4557 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4558 unsigned>=0 warnings.
4559 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4560 * rs6000-protos.h (read_only_data_section,
4561 read_only_private_data_section): Prototype.
4562 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4563 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4564 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4565
4566 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4567
4568 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4569 ATTRIBUTE_UNUSED.
4570 * final.c (final_scan_insn): Add brackets around body of if-stmt.
4571 * gcc.c (convert_filename): Add static prototype. Const-ify.
4572 Wrap variable in macros controlling its use.
4573 * output.h (sdata_section): Add prototype.
4574
4575 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4576 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4577 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4578 (ASM_FILE_START): Const-ify.
4579 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4580 specifier warning.
4581 * c4x.md: Don't use the 'U' integer suffix.
4582 * clipper.md (clipper_movstr): Delete declaration.
4583 * d30v-protos.h (d30v_move_2words): Const-ify.
4584 (debug_stack_info): Add prototype.
4585 * d30v.c: Include "integrate.h".
4586 (d30v_function_arg_boundary, d30v_function_arg,
4587 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4588 signed/unsigned warnings.
4589 (d30v_print_operand_memory_reference, d30v_move_2words):
4590 Const-ify.
4591 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4592 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4593 * fr30.md: Const-ify.
4594 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4595 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4596 (mvs_get_label_page): Hide unused static function.
4597 * i860.c (current_function_original_name): Const-ify.
4598 * i860/sysv3.h (current_function_original_name): Likewise.
4599 * i860/sysv4.h (current_function_original_name): Likewise.
4600 * i960.md: Add default case in switches. Remove unused variable.
4601 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4602 * m32r.md: Const-ify.
4603 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4604 * m68hc11.c: Include "reload.h".
4605 (static_chain_reg, print_options, m68hc11_asm_file_start):
4606 Const-ify.
4607 * m68hc11.md: Delete unused variable. Const-ify. Add parens
4608 around & in comparison.
4609 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4610 * mn10200.c (shift_mode): Remove trailing comma.
4611 * mn10300-protos.h (output_tst): Const-ify.
4612 * mn10300.c (output_tst): Likewise.
4613 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4614 warnings.
4615 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4616 * pa.c (output_ascii): Likewise.
4617 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4618 * pdp11.md (expand_unop): Delete declarations.
4619 * pj-protos.h (pj_output_addsi3): Const-ify.
4620 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4621 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4622 unique_src_operand): Add prototypes.
4623 (pj_output_store_into_lval): Make definition static.
4624 (pj_function_incoming_arg): Don't use unary plus.
4625 (pj_output_addsi3): Const-ify.
4626 * romp.md (get_symref): Delete declarations.
4627 * v850-c.c (mark_current_function_as_interrupt): Don't return
4628 value from void function.
4629 * v850.c: Include "integrate.h".
4630 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4631 * vax-protos.h (const_section): Add prototype.
4632
4633 2001-11-03 Aldy Hernandez <aldyh@redhat.com>
4634
4635 * machmode.def: Add documentation for the seventh argument in
4636 vector modes.
4637
4638 2001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
4639
4640 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4641 consistently.
4642 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4643 <-melf>: Don't have markup for ELF acronym.
4644
4645 2001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
4646
4647 * config.gcc (mmix-*-*): New target.
4648 * doc/invoke.texi: Document MMIX options.
4649 * doc/contrib.texi: Add note about MMIX port to my entry.
4650 * config/mmix/t-mmix: New file.
4651 * config/mmix/mmix.h: New file.
4652 * config/mmix/mmix-protos.h: New file.
4653 * config/mmix/mmix.c: New file.
4654 * config/mmix/mmix.md: New file.
4655 * config/mmix/crti.asm: New file.
4656 * config/mmix/crtn.asm: New file.
4657
4658 2001-11-03 Kazu Hirata <kazu@hxi.com>
4659
4660 * config/sparc/linux-aout.h: Fix comment formatting.
4661 * config/sparc/linux.h: Likewise.
4662 * config/sparc/linux64.h: Likewise.
4663 * config/sparc/lynx.h: Likewise.
4664 * config/sparc/pbd.h: Likewise.
4665 * config/sparc/sol2-sld-64.h: Likewise.
4666 * config/sparc/sol2.h: Likewise.
4667 * config/sparc/sparc.c: Likewise.
4668 * config/sparc/sparc.h: Likewise.
4669 * config/sparc/sparc.md: Likewise.
4670 * config/sparc/sunos4.h: Likewise.
4671 * config/sparc/vxsim.h: Likewise.
4672 * config/sparc/vxsparc.h: Likewise.
4673 * config/sparc/vxsparc64.h: Likewise.
4674
4675 Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4676
4677 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4678 reference to CONST_DOUBLE_MEM in comment.
4679 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4680 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4681 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4682 * function.c (pop_function_context_from): Don't call
4683 restore_varasm_status.
4684 * function.h (restore_varasm_status): Delete declaration.
4685 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4686 * rtl.c: Likewise.
4687 * rtl.def (CONST_DOUBLE): Update comment.
4688 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4689 (CONST_DOUBLE_CHAIN): Likewise.
4690 (CONST_DOUBLE_MEM): Delete.
4691 (gen_rtx_CONST_DOUBLE): Update parameters.
4692 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4693 Remove reference to CONST_DOUBLE_MEM.
4694 (const_alias_set): New variable.
4695 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4696 (immed_real_const_1): Adjust tests for 0, 1, and 2.
4697 Don't set CONST_DOUBLE_MEM.
4698 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4699 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4700 Put constant in const_alias_set.
4701 (struct pool_constant): ALIGN now unsigned.
4702 OFFSET now HOST_WIDE_INT.
4703 Delete LABEL.
4704 (restore_varasm_status): Deleted.
4705 (mark_pool_constant): Mark desc->rtl.
4706 (force_const_mem): Rework to store rtl in hash table,
4707 not CONST_DOUBLE_MEM.
4708 Put constant in const_alias_set.
4709 (find_pool_constant): Check desc->rtl.
4710 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4711 (init_varasm_once): Initialize const_alias_set.
4712
4713 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4714 force_const_mem.
4715
4716 * reload.c (combine_reloads): Don't combine an output reload if there
4717 are other reloads around for part of the output.
4718
4719 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4720 constant expression.
4721 (set_mem_decl): New function.
4722 * expr.h (set_mem_decl): New declaration.
4723 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4724 (output_asm_operand_names): Add tab.
4725 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4726
4727 * builtins.c (get_memory_rtx): Properly set MEM alias set and
4728 attributes.
4729
4730 2001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4731
4732 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4733 Use "invalid" instead of "illegal". Use @r in comments in
4734 examples.
4735
4736 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
4737
4738 * c-decl.c (pushdecl): Move block inside if conditional to remove
4739 possibility of a segfault. Lookup block-level extern
4740 variables in enclosing scopes correctly.
4741
4742 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4743
4744 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4745
4746 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4747 SUBREG so we avoid SUBREGing memory.
4748
4749 * expmed.c (store_bit_field): Same.
4750
4751 2001-11-02 DJ Delorie <dj@redhat.com>
4752
4753 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4754 using FP registers for DImode mem-mem moves is acceptable.
4755
4756 2001-11-02 Aldy Hernandez <aldyh@redhat.com>
4757
4758 * builtins.c (apply_args_size): Handle vector arguments.
4759 (apply_result_size): Same.
4760
4761 * machmode.def: Set WIDER mode field for all vector entries.
4762
4763 2001-11-02 Graham Stott <grahams@redhat.com>
4764
4765 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
4766
4767 2001-11-01 Eric Christopher <echristo@redhat.com>
4768
4769 * config.gcc: Revert part of earlier patch.
4770 * config/mips/linux.h: Ditto.
4771 * df.c: Include tm_p.h to avoid warnings.
4772 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
4773 #if/#endif.
4774 * config/mips/mips.c: Define mips_abi regardless.
4775 (mips_output_function_prologues): Add long casts for .frame
4776 output.
4777 (override_options): Allow use of ABI_32.
4778
4779 2001-11-01 Kazu Hirata <kazu@hxi.com>
4780
4781 * config/m68hc11/m68hc11.c: Fix comment formatting.
4782 * config/m68hc11/m68hc11.h: Likewise.
4783 * config/m68hc11/m68hc11.md: Likewise.
4784
4785 2001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
4786
4787 * c-typeck.c (default_conversion): Retain the original expression
4788 codes.
4789 * gcc.dg/Wparentheses.c: New tests.
4790
4791 2001-11-01 David S. Miller <davem@redhat.com>
4792
4793 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4794 64-bit Sparc description more in line with reality.
4795
4796 2001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
4797
4798 * Makefile.in (GCOV_OBJS): Add version.o.
4799 * gcov.c: Include "version.h" and <getopt.h>.
4800 (gcov_version_string): Remove.
4801 (print_usage): Take a parameter to determine whether this is a
4802 call from --help or an error message. Give fuller output that
4803 follows the GNU Coding Standards for --help.
4804 (print_version): New function.
4805 (options): New.
4806 (process_args): Use getopt_long. Support long options. Follow
4807 GNU Coding Standards for --help and --version.
4808 * doc/gcov.texi: Document long options.
4809 Addresses part of PR other/704.
4810
4811 2001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4812
4813 * pa.c (output_move_double): Fix typo in double load.
4814
4815 2001-11-01 Kazu Hirata <kazu@hxi.com>
4816
4817 * config/h8300/h8300.c (h8300_encode_label): Compute a string
4818 before passing it to ggc_alloc_string.
4819
4820 2001-11-01 Kazu Hirata <kazu@hxi.com>
4821
4822 * config/m68k/3b1.h: Fix comment formatting.
4823 * config/m68k/3b1g.h: Likewise.
4824 * config/m68k/a-ux.h: Likewise.
4825 * config/m68k/amix.h: Likewise.
4826 * config/m68k/apollo68.h: Likewise.
4827 * config/m68k/atari.h: Likewise.
4828 * config/m68k/aux-exit.c: Likewise.
4829 * config/m68k/ccur-GAS.h: Likewise.
4830 * config/m68k/crds.h: Likewise.
4831 * config/m68k/dpx2.h: Likewise.
4832 * config/m68k/dpx2g.h: Likewise.
4833 * config/m68k/hp310.h: Likewise.
4834 * config/m68k/hp320.h: Likewise.
4835 * config/m68k/isi.h: Likewise.
4836 * config/m68k/linux.h: Likewise.
4837 * config/m68k/lynx.h: Likewise.
4838 * config/m68k/m68k-psos.h: Likewise.
4839 * config/m68k/m68k.c: Likewise.
4840 * config/m68k/m68k.h: Likewise.
4841 * config/m68k/m68k.md: Likewise.
4842 * config/m68k/m68kelf.h: Likewise.
4843 * config/m68k/m68kv4.h: Likewise.
4844 * config/m68k/mot3300.h: Likewise.
4845 * config/m68k/news.h: Likewise.
4846 * config/m68k/next.h: Likewise.
4847 * config/m68k/pbb.h: Likewise.
4848 * config/m68k/plexus.h: Likewise.
4849 * config/m68k/sgs.h: Likewise.
4850 * config/m68k/sun3.h: Likewise.
4851 * config/m68k/tower.h: Likewise.
4852 * config/m68k/vxm68k.h: Likewise.
4853
4854 2001-10-31 DJ Delorie <dj@redhat.com>
4855
4856 * config/mips/mips.h (mips_cache_flush_func): Prototype.
4857 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4858 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4859 * config/mips/mips.c (mips_cache_flush_func): New.
4860 * doc/invoke.texi: Document the new options.
4861
4862 2001-10-31 Hans-Peter Nilsson <hp@axis.com>
4863
4864 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4865 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4866
4867 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4868
4869 * config/cris/cris.c: Include output.h after tree.h but before
4870 target.h.
4871
4872 2001-10-31 Zack Weinberg <zack@codesourcery.com>
4873
4874 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4875 (INTL_SUBDIRS): Just intl.
4876 (.SUFFIXES): Add .gmo .po .pox.
4877 (native): Also depend on build-@POSUB@.
4878 (intl.all, intl.install): Depend on config.h and things it includes.
4879 (po-generated): New target; depend on c-parse.c and tradcif.c.
4880 (install-normal): Also depend on install-@POSUB@.
4881 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4882 (build-, install-, build-po, update-po, install-po,
4883 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4884
4885 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4886 * configure.in: Don't munge XGETTEXT. Don't generate
4887 po/Makefile.in.
4888 * configure: Regenerate.
4889
4890 * exgettext: Delete.
4891 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4892 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4893
4894 2001-10-31 Kazu Hirata <kazu@hxi.com>
4895
4896 * config/h8300/h8300.md (two anonymous patterns): New.
4897
4898 2001-10-31 Aldy Hernandez <aldyh@redhat.com>
4899
4900 * tree.h (tree_index): Add support for V16QI and V8HI.
4901 (V8HI_type_node): New.
4902 (V16QI_type_node): New.
4903
4904 * tree.c (build_common_tree_nodes_2): Same.
4905
4906 * c-common.c (type_for_mode): Same.
4907
4908 2001-10-31 Kazu Hirata <kazu@hxi.com>
4909
4910 * config/i386/att.h: Fix comment formatting.
4911 * config/i386/beos-elf.h: Likewise.
4912 * config/i386/bsd.h: Likewise.
4913 * config/i386/bsd386.h: Likewise.
4914 * config/i386/crtdll.h: Likewise.
4915 * config/i386/cygwin.asm: Likewise.
4916 * config/i386/cygwin.h: Likewise.
4917 * config/i386/djgpp.h: Likewise.
4918 * config/i386/freebsd-aout.h: Likewise.
4919 * config/i386/freebsd.h: Likewise.
4920 * config/i386/gas.h: Likewise.
4921 * config/i386/i386-interix.h: Likewise.
4922 * config/i386/i386-protos.h: Likewise.
4923 * config/i386/i386.c: Likewise.
4924 * config/i386/i386.h: Likewise.
4925 * config/i386/i386.md: Likewise.
4926 * config/i386/i386elf.h: Likewise.
4927 * config/i386/interix.c: Likewise.
4928 * config/i386/isc.h: Likewise.
4929 * config/i386/isccoff.h: Likewise.
4930 * config/i386/iscdbx.h: Likewise.
4931 * config/i386/linux.h: Likewise.
4932 * config/i386/lynx.h: Likewise.
4933 * config/i386/mingw32.h: Likewise.
4934 * config/i386/netbsd-elf.h: Likewise.
4935 * config/i386/next.h: Likewise.
4936 * config/i386/osf1elf.h: Likewise.
4937 * config/i386/osfrose.h: Likewise.
4938 * config/i386/sco5.h: Likewise.
4939 * config/i386/seq-gas.h: Likewise.
4940 * config/i386/seq-sysv3.h: Likewise.
4941 * config/i386/sequent.h: Likewise.
4942 * config/i386/sol2.h: Likewise.
4943 * config/i386/sun386.h: Likewise.
4944 * config/i386/uwin.asm: Likewise.
4945 * config/i386/uwin.h: Likewise.
4946 * config/i386/vxi386.h: Likewise.
4947 * config/i386/win32.h: Likewise.
4948 * config/i386/winnt.c: Likewise.
4949 * config/i386/xm-cygwin.h: Likewise.
4950 * config/i386/xm-mingw32.h: Likewise.
4951
4952 2001-10-31 Kazu Hirata <kazu@hxi.com>
4953
4954 * builtins.def: Fix comment typos.
4955 * config/alpha.c: Likewise.
4956 * config/arm/arm.c: Likewise.
4957 * config/avr/avr.h: Likewise.
4958 * config/d30v/d30v.c: Likewise.
4959 * config/d30v/d30v.h: Likewise.
4960 * config/d30v/d30v.md: Likewise.
4961 * config/dsp16xx/dsp16xx.c: Likewise.
4962 * config/fr30/fr30.c: Likewise.
4963 * config/fr30/fr30.md: Likewise.
4964 * config/i386/i386.c: Likewise.
4965 * config/i860/i860.c: Likewise.
4966 * config/i960/i960.c: Likewise.
4967 * config/ia64/ia64.c: Likewise.
4968 * config/mips/mips.c: Likewise.
4969 * config/pa/pa.c: Likewise.
4970 * config/rs6000/rs6000.c: Likewise.
4971 * config/s390/s390.c: Likewise.
4972 * config/sparc/sparc.c: Likewise.
4973
4974 2001-10-30 Kazu Hirata <kazu@hxi.com>
4975
4976 * config/mips/elf.h: Fix comment formatting.
4977 * config/mips/elf64.h: Likewise.
4978 * config/mips/iris5.h: Likewise.
4979 * config/mips/iris5gas.h: Likewise.
4980 * config/mips/iris6.h: Likewise.
4981 * config/mips/isa3264.h: Likewise.
4982 * config/mips/linux.h: Likewise.
4983 * config/mips/mips.c: Likewise.
4984 * config/mips/mips.h: Likewise.
4985 * config/mips/mips.md: Likewise.
4986 * config/mips/mips16.S: Likewise.
4987 * config/mips/netbsd.h: Likewise.
4988 * config/mips/osfrose.h: Likewise.
4989 * config/mips/r3900.h: Likewise.
4990 * config/mips/sni-svr4.h: Likewise.
4991 * config/mips/svr4-t.h: Likewise.
4992 * config/mips/ultrix.h: Likewise.
4993
4994 2001-10-30 Daniel Berlin <dan@cgsoftware.com>
4995
4996 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4997 when we update head->current.
4998
4999 2001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
5000
5001 * tree.c (id_string_size): Remove.
5002 (dump_tree_statistics): Update.
5003 * toplev.c (compile_file): If dumping stats, dump tree stats too.
5004
5005 Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
5006
5007 * sched-rgn.c (schedule_insns): Fix comment.
5008
5009 2001-10-30 Zack Weinberg <zack@codesourcery.com>
5010
5011 * configure.in: Correct previous change: don't assume that
5012 gas's version number _isn't_ the last thing on the line, or
5013 isn't the only number on the line, either.
5014 * configure: Regenerate.
5015
5016 2001-10-30 Kazu Hirata <kazu@hxi.com>
5017
5018 * cfgcleanup.c: Fix a comment typo.
5019
5020 2001-10-30 Kazu Hirata <kazu@hxi.com>
5021
5022 * alias.c: Fix comment formatting.
5023 * recog.c: Likewise.
5024 * config/cris/cris.c: Likewise.
5025 * config/cris/cris.h: Likewise.
5026 * config/i960/i960.c: Likewise.
5027 * config/i960/i960.h: Likewise.
5028
5029 2001-10-30 Kazu Hirata <kazu@hxi.com>
5030
5031 * config/arm/arm.c: Fix a comment typo.
5032 * config/arm/arm.h: Likewise.
5033 * config/ia64/ia64.c: Likewise.
5034
5035 2001-10-30 Jakub Jelinek <jakub@redhat.com>
5036
5037 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
5038 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
5039 * rtl.h (set_unique_reg_note): Change return value.
5040 * gcse.c (try_replace_reg): Use set_unique_reg_note.
5041 * cse.c (cse_insn): Likewise.
5042 * expr.c (emit_move_insn): Likewise.
5043 * explow.c (force_reg): Likewise.
5044 * local-alloc (update_equiv_regs): Likewise.
5045 * loop.c (move_moveables, load_mems): Likewise.
5046 * reload (find_reloads): Likewise.
5047
5048 2001-10-30 Paolo Bonzini <bonzini@gnu.org>
5049
5050 Localization fixes.
5051 * c-decl.c (parmlist_tags_warning, start_struct,
5052 check_for_loop_decls): Separate messages for struct, union and
5053 enum cases to allow for languages in which they have different
5054 genders.
5055 * c-format.c (scanf_flag_specs): Separate short and long name of
5056 the assignment suppression feature.
5057 (check_format_types): Localize "pointer" and "different types"
5058 strings.
5059 * c-lex.c (lex_number): Localize "an unsigned long int" and
5060 related strings.
5061 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
5062 warning message.
5063 * c-typeck.c (build_unary_up): Separate messages for increment and
5064 decrement cases to allow for languages in which they use different
5065 articles. Localize the strings "increment" and "decrement" in one
5066 case.
5067
5068 Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
5069
5070 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
5071 when no changes has been made.
5072
5073 * gcse.c (reg_set_bitmap): Turn into reg_set.
5074 (modify_mem_list_set, canon_modify_mem_list_set)
5075 (clear_modify_mem_tables, free_modify_mem_tables): New.
5076 (gcse_main); Use free_modify_mem_tables.
5077 (free_gcse_mem): Likewise; free the bitmaps.
5078 (alloc_gcse_main): Initialize the bitmaps.
5079 (canon_list_insert): Set canon_modify_mem_list_set.
5080 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
5081 (compute_hash_table): Use clear_modify_mem_tables.
5082 (reset_opr_set_tables): Likewise.
5083 (oprs_not_set_p): reg_set_bitmap is regset.
5084 (mark_set, mark_clobber): Likewise.
5085
5086 * df.h (DF_EQUIV_NOTES): New constant.
5087 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
5088 when asked for.
5089
5090 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
5091 (init_regions, schedule_insns): Conditionalize the checking
5092 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
5093
5094 Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
5095
5096 * i386.md (movti_rex64 splitter): Fix condition.
5097
5098 2001-10-29 Zack Weinberg <zack@codesourcery.com>
5099
5100 * configure.in: Do not assume that gas's version number is the
5101 last thing on the first line of as --version output.
5102 * configure: Regenerate.
5103
5104 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
5105 MT_WARNING, MT_ERROR, MT_FATAL.
5106 (main): Call gcc_init_libintl.
5107 (v_message): Call gettext on msgid and "warning: "
5108 * tradcif.y: Include intl.h.
5109 (yyerror): Make parameter definition consistent with
5110 prototype. Call gettext on msgid argument.
5111
5112 2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5113
5114 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
5115 warnings.
5116
5117 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
5118
5119 Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5120
5121 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
5122 before referencing it.
5123
5124 2001-10-26 DJ Delorie <dj@redhat.com>
5125
5126 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
5127 override -G, and force -G0.
5128
5129 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5130
5131 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
5132 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
5133 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
5134 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
5135
5136 * loop.h (struct induction): Rename ext_dependant to
5137 ext_dependent.
5138 * loop.c: Change all uses.
5139 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
5140 All callers changed.
5141 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
5142
5143 2001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5144
5145 * c-parse.in (expr_no_commas, primary), c-typeck.c
5146 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
5147
5148 2001-10-29 David Edelsohn <edelsohn@gnu.org>
5149
5150 Undo assemble_name change in earlier patch.
5151
5152 Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
5153
5154 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
5155 determining the type of the receiver, do not check that TREE_CODE
5156 of receiver is CALL_EXPR before calling receiver_is_class_object().
5157 (receiver_is_class_object): For the GNU runtime: recognize
5158 the case that the receiver is self in a class method context.
5159 Check that TREE_CODE of receiver is CALL_EXPR when checking that
5160 the receiver is a call to objc_get_class.
5161
5162 2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
5163
5164 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
5165
5166 Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5167
5168 * Makefile.in (OBJS): Put all files in alphabetical order.
5169
5170 * dwarf2out.c (add_const_value_attribute): Fix error in last
5171 change.
5172
5173 Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
5174
5175 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
5176 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
5177 fix warning.
5178 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
5179 (life_analysis): call purge_all_dead_edges after deleting noops.
5180 (delete_noop_move): Do not purge CFG.
5181 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
5182
5183 2001-10-28 David Edelsohn <edelsohn@gnu.org>
5184
5185 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
5186 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
5187 (ASM_GLOBALIZE_LABEL): Use assemble_name.
5188 (ASM_OUTPUT_COMMON): Likewise.
5189 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
5190 (rs6000_output_function_epilogue): Likewise.
5191 (output_mi_thunk): Fix typo.
5192 (rs6000_output_symbol_ref): Use assemble_name.
5193 (output_toc): Likewise.
5194 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
5195 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
5196 assemble_name calls STRIP_NAME_ENCODING.
5197 (ASM_OUTPUT_LABEL): Use assemble_name.
5198 (ASM_GLOBALIZE_LABEL): Likewise.
5199 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5200 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
5201 (ASM_OUTPUT_LOCAL): Likewise.
5202
5203 Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5204
5205 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5206 (expand_builtin_apply, expand_builtin_return): Likewise.
5207 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5208
5209 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5210
5211 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5212 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5213 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5214 configure, configure.in, except.c, except.h, flow.c, function.c,
5215 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5216 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5217 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5218 unroll.c: Fix spelling errors.
5219
5220 * doc/extend.texi, doc/invoke.texi: Fix spelling.
5221
5222 * doc/gcc.texi: Document use of "dependent" and American spelling.
5223
5224 Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
5225
5226 * expr.c (emit_group_load): Support CONCATs by storing them to memory
5227 and reloading.
5228
5229 Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5230
5231 * expr.c (store_constructor_field): Only call adjust_address on MEM.
5232
5233 Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
5234
5235 * genrecog.c (write_switch): Output if before switch for
5236 DT_elt_zero_wide_safe.
5237
5238 2001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5239
5240 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5241 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5242 (FUNCTION_PROFILER): Const-ify.
5243 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5244 (eliminate_constant_term, assemble_name, output_addr_const):
5245 Remove declarations.
5246 (ptr_half_pic_address_p, half_pic_hash): Prototype.
5247 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5248 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5249 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5250 (half_pic_declare, half_pic_external): Const-ify.
5251 * toplev.c: Include "halfpic.h".
5252
5253 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5254
5255 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5256 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5257 config/i386/i386.c, config/i386/i386-interix.h,
5258 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5259 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5260 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5261 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5262 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5263 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5264 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5265 spelling errors.
5266
5267 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5268 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5269 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5270 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5271 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5272 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5273 system.h, toplev.c: Fix spelling errors.
5274
5275 Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5276
5277 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5278
5279 * dwarf2out.c (reg_number): Abort if pseudo.
5280 (reg_loc_descriptor): Return 0 if pseudo.
5281 (is_based_loc): Return 0 if pseudo.
5282 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5283 recursive calls.
5284 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5285 (loc_descriptor): Return 0 if can't find location and handle 0
5286 return from recursive calls.
5287 (loc_descriptor_from_tree): Likewise.
5288 Fix handling of indirect.
5289 Also return 0 for PLACEHOLDER_EXPR.
5290 Clean up COMPONENT_REF cases.
5291 (add_AT_location_descriptor): Simplify, but handle 0 return from
5292 loc_descriptor.
5293 (add_const_value_attribute): Avoid shift count warning.
5294 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5295 Set comp_unit_die as context if not in function.
5296
5297 * config/mips/mips-protos.h: Break up long lines.
5298 Remove needless #ifdef/#endif blocks.
5299 Don't declare functions declared in file made by genpreds or recog.h.
5300 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5301 is now HOST_WIDE_INT; delete unneeded casts.
5302 * config/mips/mips.h: Don't use #elif.
5303
5304 * expr.c (stor_constructor_field): Always call adjust_address.
5305 Copy TARGET before changing its alias set.
5306 (store_field): Likewise, for TO_RTX.
5307 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5308 replacement.
5309 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5310 (find_placeholder): Return 0 if can't find object.
5311 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5312 returns 0.
5313
5314 Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5315
5316 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5317
5318 Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5319
5320 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5321 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5322 (merge_blocks): Properly udpate life after making edge nonfallthru.
5323 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5324
5325 2001-10-26 Kazu Hirata <kazu@hxi.com>
5326
5327 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5328
5329 2001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5330
5331 * c-typeck.c (convert_arguments): When comparing for enumeral
5332 type equality, use TYPE_MAIN_VARIANT.
5333 * gcc.dg/Wconversion.c: New tests.
5334
5335 2001-10-26 Kazu Hirata <kazu@hxi.com>
5336
5337 * s390/s390.c: Fix comment typos.
5338 * s390/s390.h: Likewise.
5339 * s390/s390.md: Likewise.
5340
5341 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5342
5343 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5344 (walk_tree): Use it for tail calls where appropriate.
5345
5346 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5347
5348 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5349 non-local label_refs.
5350
5351 2001-10-26 Kazu Hirata <kazu@hxi.com>
5352
5353 * config/h8300/h8300.md (4 anonymous patterns): New.
5354
5355 2001-10-26 Kazu Hirata <kazu@hxi.com>
5356
5357 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5358 algorithm through the shift_info structure.
5359 (emit_a_shift): Update the use of get_shift_alg.
5360
5361 2001-10-27 Daniel Berlin <dan@cgsoftware.com>
5362
5363 * sched-rgn.c: Remove bitset typedef.
5364 Change bitset to sbitmap in prototypes / variable types.
5365 Remove bbset_size.
5366 Remove edgeset_bits.
5367 Remove edgeset_size.
5368 s/BITSET_ADD/SET_BIT/g
5369 s/BITSET_INVERT/sbitmap_ones/g
5370 s/BITSET_INTER/sbitmap_a_and_b/g
5371 s/BITSET_UNION/sbitmap_a_or_b/g
5372 s/BITSET_DIFFER/sbitmap_difference/g
5373 s/bitset_member/TEST_BIT/g
5374 (BITSET_*): Removed.
5375 (bitset_member): Removed.
5376 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5377 EXECUTE_IF_SET_IN_SBITMAP.
5378 (split_edges): Rewrite, use sbitmap functions instead of bitset
5379 operations.
5380 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5381
5382 2001-10-26 Andreas Schwab <schwab@suse.de>
5383
5384 * reload1.c (emit_input_reload_insns): Fix parens in last
5385 (undocumented) change that was supposed to change only whitespace.
5386
5387 Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5388
5389 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5390
5391 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5392 ASM_OPERANDS.
5393
5394 2001-10-26 Andreas Jaeger <aj@suse.de>
5395
5396 * flow.c (clear_log_links): Remove unused variable.
5397 * cfgcleanup.c (cleanup_cfg): Likewise.
5398
5399 2001-10-26 Alexandre Oliva <aoliva@redhat.com>
5400
5401 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5402 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5403
5404 2001-10-26 Richard Henderson <rth@redhat.com>
5405
5406 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5407 rename PV_REG to R27_REG.
5408 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5409 (REG_CLASS_FROM_LETTER): Update.
5410 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5411 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5412 (udivsi3, modsi3, umodsi3): Likewise.
5413 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5414
5415 2001-10-26 Richard Henderson <rth@redhat.com>
5416
5417 * cfg.c (clear_aux_for_blocks): Split out of ...
5418 (free_aux_for_blocks): here.
5419 (clear_aux_for_edges): Split from ...
5420 (free_aux_for_edges): here.
5421 * basic-block.h: Declare them.
5422 * lcm.c (compute_antinout_edge): Use them.
5423 (compute_laterin, compute_available, compute_nearerout): Likewise.
5424 (optimize_mode_switching): Likewise.
5425
5426 2001-10-26 Richard Henderson <rth@redhat.com>
5427
5428 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5429 moving everything back to the main build directory.
5430
5431 2001-10-26 Christopher Faylor <cgf@redhat.com>
5432
5433 * config/i386/cygwin.h: Search target specific include directory, if
5434 appropriate.
5435
5436 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5437
5438 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5439 of macro guards. Fix #endif comment.
5440
5441 * output.h (default_exception_section, default_eh_frame_section):
5442 Move prototypes outside of macro guard.
5443
5444 * crtstuff.c: Fix #endif comment.
5445
5446 Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5447
5448 * doc/md.texi (movMM): Clarify semantics of storing into a
5449 non-paradoxical SUBREG.
5450
5451 2001-10-25 Zack Weinberg <zack@codesourcery.com>
5452
5453 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5454 (lang_hook_default_get_alias_set): Move next to other alias
5455 hooks.
5456 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5457 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5458 (LANG_HOOKS_INITIALIZER): Add it.
5459 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5460 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5461 instead of a loop calling poplevel.
5462
5463 2001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5464
5465 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5466 occurrences of #elif with #if...#endif.
5467
5468 2001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5469
5470 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5471
5472 Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5473
5474 * alias.c (can_address_p): No longer static.
5475 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5476 Return 0 if all parameters are default values.
5477 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5478 (adjust_address_1): Try harder to compute a size.
5479 * expr.c (expand_assignment, store_constructor): If can't address,
5480 set MEM_KEEP_ALIAS_SET_P.
5481 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5482 (store_field): Likewise.
5483 (store_constructor): Simplify call to store_constructor_field.
5484 * expr.h (can_address_p): New declaration.
5485 * gensupport.c (gen_rtx_CONST_INT): New function.
5486 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5487 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5488 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5489
5490 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5491
5492 2001-10-24 Christopher Faylor <cgf@redhat.com>
5493
5494 * config/i386/cygwin.h: Use proper path for mingw crt files when
5495 -mno-cygwin.
5496
5497 Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5498
5499 * dwarf2out.c (file_info_cmp): Always return consistent results.
5500
5501 2001-10-24 Roger Sayle <roger@eyesopen.com>
5502
5503 * stmt.c (expand_end_case): Index jumptables from zero for
5504 suitably small values of minval.
5505
5506 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5507
5508 * stor-layout.c (place_union_field): If any field was aligned with
5509 attribute aligned, set record type's TYPE_USER_ALIGN.
5510 (place_field): Likewise.
5511 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5512 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5513
5514 2001-10-24 Zack Weinberg <zack@codesourcery.com>
5515
5516 * c-common.h (struct c_common_identifier): Remove rid_code field.
5517 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5518
5519 * c-typeck.c (constructor_designated): New local flag.
5520 (struct constructor_stack): Add "designated" field to match.
5521 (start_init): Clear it.
5522 (really_start_incremental_init, push_init_level): Push and
5523 clear it.
5524 (pop_init_level): Pop it.
5525 (set_designator): Set it.
5526
5527 (pop_init_level): Suppress "missing initializer" warnings if
5528 constructor_designated is true.
5529 (process_init_element): Suppress warning about union
5530 initialization under traditional C, if constructor_designated
5531 is true.
5532
5533 Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5534
5535 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5536 change.
5537
5538 Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
5539
5540 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5541
5542 2001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
5543
5544 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5545 the node was already a set to a constant.
5546
5547 Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5548
5549 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5550 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5551
5552 2001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5553
5554 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5555 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
5556 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5557 * s390.c (s390_final_chunkify): Don't use string concatenation.
5558 (s390_function_prologue, s390_function_epilogue): Const-ify.
5559 * s390.h (FUNCTION_PROFILER): Remove unused variable.
5560
5561 2001-10-24 Jakub Jelinek <jakub@redhat.com>
5562
5563 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5564 prototypes.
5565
5566 2001-10-23 Stan Shebs <shebs@apple.com>
5567
5568 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5569 -traditional-cpp in first-stage compilation.
5570
5571 Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5572
5573 * gensupport.c (target_flags): Add.
5574
5575 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
5576
5577 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5578 if needed.
5579 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5580 * except.c (expand_builtin_frob_return_addr): Likewise.
5581 (expand_builtin_eh_return): Likewise.
5582 * stmt.c (expand_computed_goto): Likewise.
5583 * explow.c (memory_address): Likewise.
5584 (allocate_dynamic_stack_space): Clean up predicate testing.
5585 (probe_stack_range): Convert SIZE to Pmode.
5586 * calls.c (rtx_for_function_call): Only call convert_memory_address
5587 if needed.
5588 Pass function call operand as ptr_mode, not Pmode.
5589 * expr.c (expand_assignment): Clean up calls to convert_memory
5590 address by only doing so when needed and making offsets Pmode.
5591 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5592 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5593 is in Pmode, not ptr_mode.
5594
5595 2001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5596
5597 * darwin-protos.h (constructor_section, destructor_section,
5598 mod_init_section, mod_term_section): Prototype.
5599 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5600 Const-ify.
5601 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5602 Likewise.
5603 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
5604 objc_section_init declaration.
5605 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5606 (objc_section_init, try_section_alias): Make static.
5607 (alias_section): Make static and hide unused function.
5608 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5609
5610 Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5611
5612 * alias.c (can_address_p): Compnonents are not addressable if
5613 the containing type has alias set 0.
5614 (get_alias_set): Rework to use STRIP_NOPS.
5615 Only call front-end routine on object, type, or object with
5616 NOPs stripped, not inner values.
5617 Use language hook to call front-end routine.
5618 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5619 (expand_builtin_apply): Call set_mem_align on MEMs we make.
5620 Don't pass alignment to emit_block_move.
5621 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5622 (expand_builtin_memset): Likewise, but for clear_storage.
5623 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5624 and remove C++ specific parts.
5625 * c-common.h (c_common_get_alias_set): Add declaration.
5626 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5627 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5628 (save_fixed_argument_area): Call set_mem_align.
5629 Remove alignment in call to emit_block_move.
5630 (emit_library_call_value_1, store_one_arg): Likewise.
5631 (target_for_arg): Remove; disabled long ago.
5632 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5633 once and similar cleanups.
5634 (offset_address): Use proper introductory comment.
5635 * expr.c (emit_block_move): Use alignment from that of MEM args, not
5636 from explicit operand; all callers changed.
5637 (clear_storage): Likewise.
5638 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5639 (store_field): Remove kludge on alias set used for to_rtx.
5640 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5641 (expand_expr_unaligned): Call set_mem_attributes instead of
5642 set_mem_alias_set.
5643 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5644 * function.c (assign_stack_temp_for_type): Set MEM alignment.
5645 (expand_function_end): Track MEM attributes of trampolines.
5646 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5647 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5648 attributes from original.
5649 * langhooks.c (lang_hook_default_get_alias_set): New function.
5650 (hook_get_alias_set_0): New function.
5651 * langhooks.h (hook_get_alias_set_0): New declaration.
5652 (lang_hook_default_get_alias_set): Likewise.
5653 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5654 * reload1.c (alter_reg): Use adjust_address_nv.
5655 * rtl.c (get_mode_alignment): Moved to here.
5656 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5657 change default if unknown from 1 to BITS_PER_UNIT.
5658 * stor-layout.c (get_mode_alignment): Remove from here.
5659 * toplev.h (struct lang_hoks): Add get_alias_set field.
5660 * tree.h (lang_get_alias_set): Delete declaration.
5661 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5662 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5663 (ix86_va_arg): Likewise.
5664 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5665 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5666 * config/sparc/sparc.c (sparc_va_arg): Likewise.
5667 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5668 (expand_block_move_mem): Remove dead code.
5669
5670 2001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
5671
5672 * c-common.c (warn_div_by_zero): New.
5673 * c-common.h (warn_div_by_zero): New.
5674 * c-decl.c (c_decode_option): Take it on the command line.
5675 * c-typeck.c (build_binary_op): Warn about division by zero.
5676 * doc/invoke.texi: Document the new command line option, fix
5677 documentation of -Wmultichar.
5678 * testsuite/gcc.dg/divbyzero.c: New tests.
5679 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5680
5681 Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5682
5683 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5684
5685 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5686 to avoid update_life_info call.
5687 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5688 * cfgcleanup.c (bb_flags): New enum.
5689 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5690 (notice_new_block, update_forwarder_flag): New functions.
5691 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5692 (try_forward_edges): Likewise; update flags.
5693 (merge_blocks): Likewise.
5694 (outgoing_edges_match): Likewise.
5695 (try_crossjump_to_edge): Likewise.
5696 (try_optimize_cfg): Likewise; initialize and clear the flags;
5697 recompute life info if needed.
5698 (cleanup_cfg): No need to clear aux pointers.
5699
5700 2001-10-23 Alexandre Oliva <aoliva@redhat.com>
5701
5702 * config/i386/i386.c (override_options): Default to minimum
5703 stack alignment when optimizing for code size.
5704 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5705 change.
5706
5707 * config/i386/i386.c (override_options): Set upper limit of
5708 -mpreferred-stack-boundary to 12.
5709
5710 2001-10-22 Zack Weinberg <zack@codesourcery.com>
5711
5712 * recog.c (peephole2_optimize): Add default case to switch.
5713
5714 2001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
5715
5716 * doc/gcc.texi (Sending Patches): Remove.
5717
5718 2001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
5719
5720 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5721 fields when comparing.
5722
5723 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5724
5725 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
5726 * arm.c (HOST_INT, HOST_UINT): Likewise.
5727
5728 2001-10-22 Stan Shebs <shebs@apple.com>
5729
5730 * config/darwin-protos.h (darwin_exception_section): Declare.
5731 (darwin_eh_frame_section): Declare.
5732
5733 Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
5734
5735 * i386.md (movti_rex64): Fix mode.
5736
5737 2001-10-22 Stan Shebs <shebs@apple.com>
5738
5739 * target.h (struct gcc_target): Add asm_out.exception_section,
5740 asm_out.eh_frame_section.
5741 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5742 (TARGET_ASM_EH_FRAME_SECTION): New.
5743 (TARGET_INITIALIZER): Update.
5744 * output.h (default_exception_section): Declare.
5745 (default_eh_frame_section): Declare.
5746 * dwarf2out.c: Include target.h.
5747 (output_call_frame_info): Call target hook for eh frames.
5748 (default_eh_frame_section): New function.
5749 * except.c: Include target.h.
5750 (output_function_exception_table): Call target hook for exception
5751 section.
5752 * varasm.c (default_exception_section): Rename from
5753 exception_section, remove EXCEPTION_SECTION macro.
5754
5755 * config/darwin.h (darwin_eh_frame_section): New function.
5756 (EXCEPTION_SECTION): Remove.
5757 (TARGET_ASM_EXCEPTION_SECTION): Define.
5758 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5759 (nextstep_exception_section): New function.
5760 (nextstep_eh_frame_section): New function.
5761 (TARGET_ASM_EXCEPTION_SECTION): Define.
5762 (TARGET_ASM_EH_FRAME_SECTION): Define.
5763
5764 * config/pa/som.h (EXCEPTION_SECTION): Remove.
5765 (TARGET_ASM_EXCEPTION_SECTION): Define.
5766 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5767 (EXCEPTION_SECTION): Remove.
5768 (TARGET_ASM_EXCEPTION_SECTION): Define.
5769 * config/stormy16/stormy16.h: Remove comments referencing
5770 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5771
5772 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5773 TARGET_ASM_EH_FRAME_SECTION.
5774
5775 2001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
5776
5777 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5778 terms.
5779
5780 * c-format.c: Fix spelling typo in comment.
5781
5782 * sched-int.h: Fix typo in GCC preamble.
5783
5784 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5785
5786 PR debug/4252
5787 * doc/invoke.texi: Remove references to -fdump-translation-unit.
5788
5789 2001-10-22 Richard Henderson <rth@redhat.com>
5790
5791 * config/i386/i386.c (ix86_expand_clear): New.
5792 * config/i386/i386-protos.h: Declare it.
5793 * config/i386/i386.md (setcc peep2s): Use it.
5794 (movsi_xor): Unexport.
5795
5796 2001-10-22 Richard Henderson <rth@redhat.com>
5797
5798 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5799 free_EXPR_LIST_list for LOG_LINKS.
5800
5801 2001-10-21 Robert Lipe <robertlipe@usa.net>
5802
5803 * config/i386/i386.c (sco_asm_named_section): Delete.
5804 (sco_asm_out_constructor): Delete.
5805 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5806 (ASM_OUTPUT_DOUBLE_INT): Likewise.
5807 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
5808 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5809 (EXCEPTION_SECTION): Delete EH scn renaming hack.
5810
5811 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5812
5813 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5814 and/or fold extra calls into fewer ones.
5815 * collect2.c (dump_file): Likewise.
5816 * cppexp.c (parse_number): Likewise.
5817 * cpplex.c (_cpp_lex_direct): Likewise.
5818 * final.c (output_asm_insn, asm_fprintf): Likewise.
5819 * fix-header.c (inf_scan_ident, main): Likewise.
5820 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5821 Likewise.
5822 * fold-const.c (real_hex_to_f): Likewise.
5823 * gen-protos.c (parse_fn_proto): Likewise.
5824 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5825 * genrecog.c (change_state, write_action): Likewise.
5826 * gensupport.c (shift_output_template): Likewise.
5827 * local-alloc.c (requires_inout): Likewise.
5828 * mips-tfile.c (IS_ASM_IDENT): Likewise.
5829 * protoize.c (is_id_char, main): Likewise.
5830 * real.c (asctoeg): Likewise.
5831 * recog.c (asm_operand_ok): Likewise.
5832 * reload.c (find_reloads): Likewise.
5833 * scan.c (scan_identget_token): Likewise.
5834 * sched-vis.c (print_value): Likewise.
5835 * stringpool.c (ggc_alloc_string): Likewise.
5836 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5837 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5838 * tradcpp.c (rescan): Likewise.
5839 * tree.c (clean_symbol_name): Likewise.
5840 * varasm.c (decode_reg_name): Likewise.
5841
5842 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5843 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5844 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5845 * m88k.c (output_ascii): Likewise.
5846 * m88k.h (OVERRIDE_OPTIONS): Likewise.
5847 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5848 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5849 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5850
5851 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5852
5853 * langhooks.c (lang_hook_default_do_nothing,
5854 lang_hook_default_decode_option): New defaults.
5855 * langhooks.h: Make hooks unconditional and non-NULL.
5856 * toplev.c (compile_file, toplev_main): Update.
5857 * toplev.h: Update comments.
5858 * objc/objc-act.c (lang_hooks): Update to new paradigm.
5859
5860 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5861
5862 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5863
5864 * system.h (IN_RANGE): New macro.
5865
5866 2001-10-21 Zack Weinberg <zack@codesourcery.com>
5867
5868 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5869 INTLDEPS variable, which does not include $LIBICONV.
5870 * Makefile.in: Use INTLDEPS in LIBDEPS.
5871 * configure: Regenerate.
5872
5873 2001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
5874
5875 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5876 * cpplex.c (lex_percent, lex_dot): Remove.
5877 (get_effective_char, skip_block_comment, skip_line_comment,
5878 parse_identifier_slow, parse_number, parse_string, save_comment,
5879 _cpp_lex_direct): Update to do lookback freely.
5880 (IF_NEXT_IS, BACKUP): New macros.
5881 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5882 * cppmacro.c (paste_tokens): Update.
5883
5884 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
5885
5886 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5887
5888 2001-10-20 Hans-Peter Nilsson <hp@axis.com>
5889
5890 * reload1.c (reload): Check CONSTANT_P before calling
5891 LEGITIMATE_PIC_OPERAND_P.
5892 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5893 workaround of 2001-10-13.
5894
5895 Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
5896
5897 * i386.c (split_di): Handle splitting of DFmode.
5898
5899 Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5900
5901 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5902 (adjust_address_1, offset_address): Likewise.
5903
5904 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5905 (output_asm_insn): Call it for each line output.
5906 Don't record an operand more than once.
5907
5908 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5909 * main.c: Include config.h and system.h, but not ansidecl.h.
5910 * Makefile.in (main.o): Update accordingly.
5911
5912 Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
5913
5914 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5915
5916 Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
5917
5918 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5919 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5920 Break out from ...
5921 (find_sub_basic_blocks): ... here;
5922 (find_many_sub_basic_blocks): New.
5923 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5924
5925 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5926
5927 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5928
5929 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5930
5931 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5932 * flow.c (update_life_info): Measure time.
5933 * c-decl.c: Include timevar.h
5934 (c_expand_body): Measure time.
5935 * toplev.c (rest_of_compilation): Measure time of mode switching
5936 separately.
5937 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5938
5939 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5940 (lang_independent_options): Add asynchronous-unwind-tables
5941 (toplev_main): flag_asynchronous_unwind_tables implies
5942 flag_unwind_tables.
5943 * flags.h (flag_asynchronous_unwind_tables): Declare.
5944 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5945 flag_asynchronous_unwind_tables.
5946 (output_call_frame_info): Likewise.
5947 * invoke.texi (-fasynchronous-unwind-tables): Document.
5948 * i386.c (optimization_options): Enable
5949 flag_asynchronous_unwind_tables.
5950
5951 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
5952 * i386.md (s* expanders): Destination is QImode.
5953
5954 * toplev.c (rest_of_compilation): Do not call clear_log_links.
5955 * rtl.h (clear_log_links): Kill.
5956 * flow.c (clear_log_links): Make static; accept blocks parameter;
5957 do no clear life info.
5958 (update_life_info): Call clear_log_links.
5959
5960 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5961
5962 2001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
5963
5964 * cpplex.c (handle_newline, skip_escaped_newlines,
5965 get_effective_char, skip_block_comment, skip_line_comment,
5966 parse_identifier_slow, parse_number, parse_string,
5967 _cpp_lex_direct): Update to do more stepping back.
5968 (trigraph_ok): Similarly. Rename trigraph_p.
5969 (SAVE_STATE, RESTORE_STATE): Remove.
5970 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
5971
5972 * cpplib.c (destringize): Rename destringize_and_run, and
5973 call run_directive directly.
5974 (_cpp_do__Pragma): Simplify.
5975
5976 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5977
5978 * pe.c (arm_pe_unique_section): Const-ify.
5979 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5980 (switch_to_section): Add static prototype.
5981
5982 * output.h (drectve_section): Prototype.
5983
5984 2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5985
5986 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5987 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5988 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5989 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5990 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5991 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5992 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5993 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5994 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5995 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5996 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5997 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5998 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5999 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
6000 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
6001 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
6002 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
6003 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
6004 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
6005 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
6006 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
6007 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
6008 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
6009 cris-*-none, cris-*-linux*: Update ${tmfile} list.
6010 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
6011 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
6012 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
6013 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
6014 v850-*-*): Delete superflous ${cpu_type} setting.
6015 * config/linux.h: Delete svr4.h include.
6016 (SET_ASM_OP): Delete.
6017 * config/netware.h (INT_ASM_OP): Undef before define.
6018 * config/ptx4.h: Delete elfos.h include.
6019 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
6020 * config/svr4.h: Delete elfos.h include. Update commentary.
6021 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
6022 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
6023 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
6024 config/v850/v850.h: Delete svr4.h include.
6025 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
6026 config/m68k/m68kv4.h, config/m88k/sysv4.h,
6027 config/sparc/sysv4.h: Update includes.
6028 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
6029 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
6030 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
6031 config/m88k/dguxbcs.h: Delete includes.
6032 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
6033 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
6034 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
6035 it.
6036 * config/m88k/dgux.h: Delete include.
6037 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
6038 defining it.
6039 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
6040 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
6041 * config/sh/elf.h: Update include.
6042 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
6043 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
6044
6045 2001-10-19 Catherine Moore <clm@redhat.com>
6046
6047 * config/stormy16/stormy-abi: Updates to varargs descriptions.
6048 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
6049 base and count fields.
6050 (stormy16_expand_builtin_va_start): last_reg_count changed to
6051 size_of_reg_args. Use count + size in first comparison.
6052
6053 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6054
6055 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
6056 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
6057 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
6058 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
6059 Set alignment from type if INDIRECT_REF.
6060 (adjust_address_1, offset_address): Simplify alignment compuitation.
6061 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
6062 here; done by set_mem_attributes.
6063
6064 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6065
6066 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
6067 * arm-protos.h (rdata_section, zero_init_section, common_section):
6068 Prototype.
6069 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
6070 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
6071 traditional mode stringification.
6072 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
6073 in macros controling its use.
6074 * rtlanal.c: Include tm_p.h.
6075 * varasm.c (asm_output_aligned_bss): Mark parameter with
6076 ATTRIBUTE_UNUSED.
6077 (assemble_constant_align, assemble_start_function, assemble_align,
6078 assemble_variable, assemble_trampoline_template,
6079 output_constant_def_contents): Wrap potentially empty if-stmt body
6080 in brackets.
6081
6082 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6083
6084 * a29k-protos.h (literal_section): Prototype.
6085 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
6086 * a29k.md: Ensure function pointers are prototyped.
6087 * genattrtab.c (write_eligible_delay): Mark parameter with
6088 ATTRIBUTE_UNUSED.
6089
6090 2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6091
6092 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6093 * 1750a.c (print_operand): Fix format specifier warning.
6094 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
6095 * 1750a.md: Likewise.
6096 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
6097 * genemit.c (output_add_clobbers): Mark parameter with
6098 ATTRIBUTE_UNUSED.
6099 * genrecog.c (write_subroutine): Likewise.
6100 * integrate.c (expand_inline_function): Delete unused variable.
6101 * varasm.c (remove_from_pending_weak_list): Wrap with
6102 ASM_WEAKEN_LABEL.
6103
6104 2001-10-19 Jakub Jelinek <jakub@redhat.com>
6105
6106 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
6107 field is different to previous argument's neg field.
6108
6109 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
6110
6111 Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6112
6113 * final.c (get_decl_from_op): New function.
6114 (output_asm_insn): Call it; write "*" when item with decl is address.
6115
6116 2001-10-19 Janis Johnson <janis187@us.ibm.com>
6117
6118 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
6119 about 64-bit support from the 3.0_branch version.
6120
6121 2001-10-19 Zack Weinberg <zack@codesourcery.com>
6122
6123 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
6124 USE_INCLUDED_LIBINTL when appropriate.
6125 * configure, config.in: Regenerate.
6126 * Makefile.in (datadir): Set to @datadir@.
6127 (intl.o): Also depend on $(CONFIG_H) and system.h.
6128
6129 * intl.c: Factor out common gettext initialization sequence.
6130 (gcc_init_libintl): New function.
6131 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
6132 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
6133 off NLS. Add multiple include guard. No need to #ifdef-guard
6134 an #undef. Prototype gcc_init_libintl here.
6135
6136 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
6137 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
6138 Use gcc_init_libintl.
6139
6140 2001-10-19 Catherine Moore <clm@redhat.com>
6141
6142 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
6143
6144 * config/stormy16/stormy16.c (stormy16_split_move): Make
6145 sure that REG_INC notes are present for auto_inc operands.
6146
6147 2001-10-19 Andreas Jaeger <aj@suse.de>
6148
6149 * configure: Regenerated.
6150 * configure.in: Add x86_64 to switch statements.
6151
6152 2001-10-18 Richard Henderson <rth@redhat.com>
6153
6154 * config/alpha/alpha.md (sibcall_osf_1): Load destination
6155 address into $27 explicitly.
6156 (sibcall_value_osf_1): Likewise.
6157
6158 Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6159
6160 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
6161 (offset_address): New function.
6162 (free_emit_status): Free regno_decl.
6163 (init_emit): Pass proper number of elements to xcalloc.
6164 Allocate regno_decl.
6165 (mark_emit_status): Mark regno_decl values.
6166 * expr.c (highest_pow2_factor): New function.
6167 (expand_assigment): Use it and offset_address.
6168 Properly handle ptr_mode vs. Pmode in offset calculation.
6169 (store_constructor, expand_expr_unaligned): Likewise.
6170 (expand_expr, case COMPONENT_EXPR): Likewise.
6171 * expr.h (offset_address): New decl.
6172 * function.h (struct emit_status): Add regno_decl.
6173 (REGNO_DECL): New macro.
6174 * final.c (output_asm_name): Move in file and don't conditionalize
6175 on flag_print_asm_name.
6176 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
6177 Output names of operands, if known.
6178 * function.c (assign_parms): Set REGNO_DECL.
6179 * integrate.c (integrate_decl_tree): Likewise.
6180 * stmt.c (expand_decl): Likewise.
6181 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
6182
6183 2001-10-18 Alexandre Oliva <aoliva@redhat.com>
6184
6185 * attribs.c (handle_noinline_attribute): New function.
6186 (handle_used_attribute): Likewise.
6187 (c_common_attribute_table): Added noinline and used.
6188 * doc/extend.texi (Function Attributes): Document them.
6189 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
6190 Warn when merging inline with attribute noinline.
6191 (start_decl, start_function): Warn if inline and attribute
6192 noinline appear in the same declaration.
6193
6194 2001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
6195
6196 * config.gcc: Update c4x and i370 for C front end-specific
6197 dependencies.
6198 * config/c4x/c4x-c.c: New.
6199 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6200 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6201 New declarations.
6202 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6203 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6204 Make extern.
6205 (c4x_init_pragma): Remove.
6206 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6207 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6208 c4x_pr_ignored): Move to c4x-c.c.
6209 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6210 * config/c4x/t-c4x: Update.
6211 * config/i370/i370-c.c: New.
6212 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6213 (i370_pr_map): Move to i370-c.c.
6214 * config/i370/t-i370: New.
6215
6216 * doc/tm.texi: Update.
6217
6218 2001-10-17 Stan Shebs <shebs@apple.com>
6219
6220 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6221 typo fixes throughout.
6222 (machopic_output_stub): Remove some dead code.
6223
6224 2001-10-17 Richard Earnshaw <rearnsha@arm.com>
6225
6226 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6227 leak.
6228
6229 Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6230
6231 * Makefile.in (print-rtl.o): Depend on TREE_H.
6232 * alias.c (get_alias_set): Make two passes over objects to first
6233 see if inner object is access via restricted pointer.
6234 Defer allocating alias set for restricted pointer until here.
6235 Call find_placeholder with second arg nonzero.
6236 Minor cleanups.
6237 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6238 set for restricted pointer types.
6239 * emit-rtl.c (set_mem_attributes): Set more attributes.
6240 (set_mem_align, change_address, adjust_address_1): New functions.
6241 (change_address_1): Now static.
6242 (adjust_address, adjust_address_nv): Deleted.
6243 (replace_equiv_address): Call change_address_1.
6244 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6245 (find_placeholder): Get starting point from PLIST arg.
6246 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6247 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6248 (adjust_address, adjust_address_nv): New macros.
6249 * print-rtl.c (tree.h): New include.
6250 (print_rtx, case MEM): Print all memory attributes.
6251
6252 2001-10-17 Richard Henderson <rth@redhat.com>
6253
6254 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6255
6256 2001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6257
6258 * c-tree.texi: Eliminate duplicated word.
6259 * cpp.texi: Likewise.
6260 * install.texi: Likewise.
6261 * invoke.texi: Likewise.
6262 * tm.texi: Likewise.
6263
6264 2001-10-17 Michael Collison <collison@isisinc.net>
6265
6266 * dsp16xx.c: Fix comment formatting to match GNU standards.
6267 (dsp16xx_output_function_prologue): Change type of 'size'
6268 parameter from 'int' to HOST_WIDE_INT.
6269 (dsp16xx_output_function_epilogue): Change type of 'size'
6270 parameter from 'int' to HOST_WIDE_INT.
6271
6272 2001-10-16 Richard Henderson <rth@redhat.com>
6273
6274 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6275 * configure, config.in: Rebuild.
6276
6277 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6278 (ix86_output_addr_diff_elt): New.
6279 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6280 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6281 (JUMP_TABLES_IN_TEXT_SECTION): New.
6282 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6283 * config/i386/i386-protos.h: Update.
6284
6285 * config/i386/386bsd.h, config/i386/beos-elf.h,
6286 config/i386/freebsd-aout.h, config/i386/freebsd.h,
6287 config/i386/i386-interix.h, config/i386/i386elf.h,
6288 config/i386/linux.h, config/i386/netbsd-elf.h,
6289 config/i386/netbsd.h, config/i386/openbsd.h,
6290 config/i386/ptx4-i.h, config/i386/rtemself.h,
6291 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6292 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6293
6294 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
6295
6296 * stmt.c (expand_asm_operands): Update commentary.
6297
6298 2001-10-16 Stan Shebs <shebs@apple.com>
6299
6300 * config/darwin.h (GCC_NAME): Remove, no longer used.
6301 (NO_MATH_LIBRARY): Ditto.
6302 (MATH_LIBRARY): Define to emptiness.
6303 (DWARF2_DEBUGGING_INFO): Define.
6304 (PREFERRED_DEBUGGING_TYPE): Define.
6305 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6306 (EXCEPTION_SECTION): Define.
6307 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6308 * config/darwin.c (darwin_encode_section_info): Handle case of
6309 DECL_INITIAL being error_mark_node.
6310
6311 2001-10-16 Richard Henderson <rth@redhat.com>
6312
6313 * alpha.c (current_file_function_operand): Don't fail for profiling.
6314 (direct_call_operand): New.
6315 * alpha-protos.h: Declare it.
6316 * alpha.h (EXTRA_CONSTRAINT): Use it.
6317 (PREDICATE_CODES): Add it.
6318 (ASM_OUTPUT_MI_THUNK): Remove.
6319 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6320 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6321
6322 2001-10-16 Krister Walfridsson <cato@df.lth.se>
6323
6324 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6325 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6326
6327 Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6328
6329 * cfg.c (free_edge): Break out from ....
6330 (remove_edge): ... here.
6331 (clear_edges): Use free_edge.
6332
6333 * att.h (ASM_QUAD): Add comment.
6334 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6335
6336 Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6337
6338 * i386.c (split_ti): New function.
6339 (ix86_split_to_parts): Support TImodes.
6340 * i386.h (VALID_INT_MODE_P): Add TImode.
6341 * i386.md (movdi splitter): Fix.
6342 (movti): Support 64bit integer registers.
6343 (movti_rex64): New function and splitter.
6344
6345 * i386.c (*_cost): Add movsx/movzx cost.
6346 * i386.h (struct processor_costs): Add movsx/movzx fields.
6347 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6348 64bit operations require split on 64bit machine.
6349 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6350
6351 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6352 (ix86_expand_move): Avoid pushes of memory if size does not match;
6353 move long constants to register.
6354 (x86_initialize_trampoline): Fix mode.
6355 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6356 Use ASM_QUAD on 64bit.
6357 * i386.md (test pattern): Disallow impossible constants.
6358 (tablejump PIC expander): Fix emitting of sum.
6359 (movdicc_rex64): Rename to movdicc.
6360 * linux64.h (LINK_SPEC): Add missing '%'.
6361
6362 2001-10-16 Alexandre Oliva <aoliva@redhat.com>
6363
6364 * tree-inline.c (inlinable_function_p): Leave it up to the
6365 front-end to turn -finline-functions into DECL_INLINE set for all
6366 functions.
6367
6368 2001-10-16 Stan Shebs <shebs@apple.com>
6369
6370 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6371
6372 2001-10-16 Alan Modra <amodra@bigpond.net.au>
6373
6374 * recog.c: Formatting and comment typo fixes.
6375
6376 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6377 version in single tree build.
6378 * configure: Regenerate.
6379
6380 2001-10-15 David Edelsohn <edelsohn@gnu.org>
6381
6382 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6383 MODE arguments to gen_rtx and compare operand with const0_rtx.
6384
6385 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6386
6387 * system.h: Poison old unused target macros.
6388 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6389 * config/stormy16/stormy16.c: Update references to obsolete macros.
6390 * config/stormy16/stormy16.h: Similarly.
6391 * config/stormy16/stormy16.md: Similarly.
6392 * config/cris/cris.h: Similarly.
6393
6394 2001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6395
6396 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6397 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6398 cpp_register_pragma): Update accordingly.
6399
6400 2001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6401
6402 * c-pragma.h (cpp_register_pragma_space): Remove.
6403 * cpplib.h (cpp_register_pragma_space): Remove.
6404 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6405 (cpp_register_pragma_space): Remove.
6406 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6407 add sanity checks.
6408 (do_pragma): Similarly.
6409 (_cpp_init_internal_pragmas): Don't register namespaces.
6410
6411 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6412 Don't register namespaces.
6413 * cp/lex.c (init_cp_pragma): Similarly.
6414 * doc/tm.texi: Update.
6415
6416 2001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6417
6418 PR c/4157
6419 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6420
6421 2001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6422
6423 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6424 add scheduling support.
6425 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6426 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6427 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6428
6429
6430 2001-10-13 Hans-Peter Nilsson <hp@axis.com>
6431
6432 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6433 missing CONSTANT_P test in core GCC.
6434
6435 2001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6436
6437 * cppmain.c (struct printer): New member source.
6438 (scan_translation_unit): Fix spacing at start of lines.
6439 (cb_line_change): Update.
6440
6441 * gcc.dg/cpp/spacing2.c: New test.
6442
6443 2001-10-12 Hans-Peter Nilsson <hp@axis.com>
6444
6445 * config/cris/arit.c: Use __builtin_labs, not abs.
6446
6447 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6448
6449 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6450 misplaced sprintf and fprintf argument.
6451
6452 2001-10-12 Zack Weinberg <zack@codesourcery.com>
6453
6454 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6455 * configure.in, Makefile.in: Take out obsolete check-po logic.
6456 * configure, config.in: Regenerate.
6457
6458 2001-10-12 Ziemowit Laski <zlaski@apple.com>
6459
6460 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6461 symtab declarations.
6462
6463 2001-10-12 Stan Shebs <shebs@apple.com>
6464
6465 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6466 declarations of arguments and local variables.
6467
6468 2001-10-12 Christopher Faylor <cgf@redhat.com>
6469
6470 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6471 ENDFILE_SPEC definition.
6472
6473 2001-10-12 Kazu Hirata <kazu@hxi.com>
6474
6475 * gthr-dce.h: Fix comment formatting.
6476 * gthr-posix.h: Likewise.
6477 * gthr-single.h: Likewise.
6478 * gthr-solaris.h: Likewise.
6479 * gthr-vxworks.h: Likewise.
6480 * gthr-win32.h: Likewise.
6481
6482 2001-10-12 Jakub Jelinek <jakub@redhat.com>
6483
6484 * final.c (output_asm_insn): Make sure assembly dialects are
6485 terminated, not nested. Output `|' and `}' characters if they
6486 don't appear inside assembly dialect selection.
6487 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6488 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6489 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6490 strsetsi_rex_1): Add {} braces.
6491
6492 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6493
6494 * toplev.c (compile_file): Ignore return value from yyparse.
6495 Always pop any nested binding levels after yyparse returns.
6496
6497 2001-10-11 Richard Henderson <rth@redhat.com>
6498
6499 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6500
6501 2001-10-11 Richard Henderson <rth@redhat.com>
6502
6503 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6504 fall back to add_AT_long_long for large CONST_INT.
6505
6506 2001-10-11 Richard Henderson <rth@redhat.com>
6507
6508 * config/i386/i386.md (setcc splitters): Add four splitters to
6509 simplify compound compares that simplify_comparison can't handle.
6510
6511 2001-10-11 Zack Weinberg <zack@codesourcery.com>
6512
6513 * cpplex.c (digraph_spellings, token_spellings): Make static.
6514
6515 2001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6516
6517 * unroll.c (loop_iterations): Fixup last patch.
6518
6519 2001-10-11 Richard Henderson <rth@redhat.com>
6520
6521 * rtl.h (REG_VTABLE_REF): New.
6522 * rtl.c (reg_note_name): Add it.
6523 * combine.c (distribute_notes): Handle it.
6524 * final.c (final_scan_insn): Handle it.
6525 * tree.def (VTABLE_REF): New.
6526 * expr.c (expand_expr): Handle it.
6527 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6528 * output.h: Declare them.
6529
6530 2001-10-11 Richard Henderson <rth@redhat.com>
6531
6532 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6533 for a DECL_INITIAL.
6534
6535 2001-10-11 David Edelsohn <edelsohn@gnu.org>
6536
6537 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6538 available in 64-bit mode.
6539
6540 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6541
6542 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6543 cris-*-linux* cases.
6544 * config/cris/cris-protos.h: New file.
6545 * config/cris/cris.c: New file.
6546 * config/cris/cris.h: New file.
6547 * config/cris/cris.md: New file.
6548 * config/cris/linux.h: New file.
6549 * config/cris/aout.h: New file.
6550 * config/cris/arit.c: New file.
6551 * config/cris/cris_abi_symbol.c: New file.
6552 * config/cris/mulsi3.asm: New file.
6553 * config/cris/t-aout: New file.
6554 * config/cris/t-cris: New file.
6555 * config/cris/t-elfmulti: New file.
6556 * config/cris/t-linux: New file.
6557 * doc/invoke.texi: Add CRIS options.
6558 * doc/install.texi (Specific): Add blurb for CRIS.
6559
6560 2001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6561
6562 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6563 before using it.
6564 * config/float/i32.h: Likewise.
6565 * config/float-i386.h: Likewise.
6566 * config/float-i64.h: Likewise.
6567 * config/float-m68k.h: Likewise.
6568 * config/float-sh.h: Likewise.
6569 * config/float-sparc.h: Likewise.
6570
6571 2001-10-11 Hans-Peter Nilsson <hp@axis.com>
6572
6573 * doc/contrib.texi: Add note about CRIS port to my entry.
6574
6575 2001-10-11 Kazu Hirata <kazu@hxi.com>
6576
6577 * basic-block.h: Fix formatting.
6578 * bitmap.h: Likewise.
6579 * cpplib.h: Likewise.
6580 * c-tree.h: Likewise.
6581 * diagnostic.h: Likewise.
6582 * flags.h: Likewise.
6583 * ggc.h: Likewise.
6584 * longlong.h: Likewise.
6585 * real.h: Likewise.
6586 * reload.h: Likewise.
6587 * rtl.h: Likewise.
6588 * tree.h: Likewise.
6589
6590 2001-10-10 Richard Henderson <rth@redhat.com>
6591
6592 * c-parse.in (asm_operand): Allow named operands.
6593 * genconfig.c (max_recog_operands): Set to 29.
6594 * local-alloc.c (requires_inout): Skip multiple digits.
6595 * recog.c (asm_operand_ok): Likewise.
6596 (preprocess_constraints): Use strtoul for matching constraints.
6597 (constrain_operands): Likewise.
6598 * regmove.c (find_matches): Likewise.
6599 * reload.c (find_reloads): Likewise.
6600 * stmt.c (parse_output_constraint): Don't reject in-out
6601 constraint on operands > 9. Reject '[' in constraint.
6602 (expand_asm_operands): Handle named operands. Use strtoul
6603 for matching constraints.
6604 (check_operand_nalternatives): Split out from expand_asm_operands.
6605 (check_unique_operand_names): New.
6606 (resolve_operand_names, resolve_operand_name_1): New.
6607
6608 * doc/extend.texi (Extended Asm): Document named operands.
6609 * doc/md.texi (Simple Constraints): Document matching constraints
6610 on operands > 9.
6611
6612 2001-10-10 Richard Henderson <rth@redhat.com>
6613
6614 * combine.c (try_combine): Handle a SEQUENCE of one insn.
6615
6616 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6617 (jcc splitters): Add two splitters to simplify compound compares
6618 that simplify_comparison can't handle.
6619
6620 2001-10-10 Richard Henderson <rth@redhat.com>
6621
6622 * langhooks.c: Include langhooks.h.
6623 * Makefile.in (langhooks.o): Depend on it.
6624
6625 Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
6626
6627 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6628 should not be considered as a no-op.
6629 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6630
6631 2001-10-10 Stan Shebs <shebs@apple.com>
6632
6633 * alias.c: Remove uses of "register" specifier in declarations
6634 of arguments and local variables.
6635 * c-common.c: Ditto.
6636 * c-convert.c: Ditto.
6637 * c-decl.c: Ditto.
6638 * c-format.c: Ditto.
6639 * c-semantics.c: Ditto.
6640 * c-typeck.c: Ditto.
6641 * caller-save.c: Ditto.
6642 * calls.c: Ditto.
6643 * cfg.c: Ditto.
6644 * cfgbuild.c: Ditto.
6645 * cfgrtl.c: Ditto.
6646 * collect2.c: Ditto.
6647 * combine.c: Ditto.
6648 * convert.c: Ditto.
6649 * cppexp.c: Ditto.
6650 * cppfiles.c: Ditto.
6651 * cse.c: Ditto.
6652 * dbxout.c: Ditto.
6653 * defaults.h: Ditto.
6654 * df.c: Ditto.
6655 * dwarf2out.c: Ditto.
6656 * dwarfout.c: Ditto.
6657 * emit-rtl.c: Ditto.
6658 * explow.c: Ditto.
6659 * expmed.c: Ditto.
6660 * expr.c: Ditto.
6661 * final.c: Ditto.
6662 * fix-header.c: Ditto.
6663 * floatlib.c: Ditto.
6664 * flow.c: Ditto.
6665 * fold-const.c: Ditto.
6666 * function.c: Ditto.
6667 * gcc.c: Ditto.
6668 * gcse.c: Ditto.
6669 * gen-protos.c: Ditto.
6670 * genattrtab.c: Ditto.
6671 * gencheck.c: Ditto.
6672 * genconfig.c: Ditto.
6673 * genemit.c: Ditto.
6674 * genextract.c: Ditto.
6675 * genflags.c: Ditto.
6676 * gengenrtl.c: Ditto.
6677 * genoutput.c: Ditto.
6678 * genpeep.c: Ditto.
6679 * genrecog.c: Ditto.
6680 * gensupport.c: Ditto.
6681 * global.c: Ditto.
6682 * gmon.c: Ditto.
6683 * graph.c: Ditto.
6684 * haifa-sched.c: Ditto.
6685 * hard-reg-set.h: Ditto.
6686 * hash.c: Ditto.
6687 * integrate.c: Ditto.
6688 * jump.c: Ditto.
6689 * lists.c: Ditto.
6690 * local-alloc.c: Ditto.
6691 * loop.c: Ditto.
6692 * mips-tdump.c: Ditto.
6693 * mips-tfile.c: Ditto.
6694 * optabs.c: Ditto.
6695 * prefix.c: Ditto.
6696 * print-rtl.c: Ditto.
6697 * read-rtl.c: Ditto.
6698 * real.c: Ditto.
6699 * recog.c: Ditto.
6700 * reg-stack.c: Ditto.
6701 * regclass.c: Ditto.
6702 * regmove.c: Ditto.
6703 * reload.c: Ditto.
6704 * reload1.c: Ditto.
6705 * reorg.c: Ditto.
6706 * resource.c: Ditto.
6707 * rtl.c: Ditto.
6708 * rtlanal.c: Ditto.
6709 * scan.c: Ditto.
6710 * sched-deps.c: Ditto.
6711 * sched-rgn.c: Ditto.
6712 * sdbout.c: Ditto.
6713 * simplify-rtx.c: Ditto.
6714 * stmt.c: Ditto.
6715 * stor-layout.c: Ditto.
6716 * toplev.c: Ditto.
6717 * tradcif.y: Ditto.
6718 * tradcpp.c: Ditto.
6719 * tree.c: Ditto.
6720 * unroll.c: Ditto.
6721 * varasm.c: Ditto.
6722 * xcoffout.c: Ditto.
6723
6724 2001-10-10 Richard Henderson <rth@redhat.com>
6725
6726 * rtl.h (can_reverse_comparison_p): Remove.
6727
6728 2001-10-10 Christopher Faylor <cgf@redhat.com>
6729
6730 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6731 used.
6732
6733 2001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6734
6735 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6736 (Thanks to Chris Faylor for suggesting macro name).
6737 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6738 WIN32 defines.
6739 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6740 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6741 (MATH_LIBRARY): Undef before definition.
6742 (OUTPUT_QUOTED_STRING): Likewise.
6743 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6744
6745 2001-10-10 Richard Henderson <rth@redhat.com>
6746
6747 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6748 (fde_unencoded_compare): Likewise. Don't use subtraction to get
6749 a tristate comparison value.
6750 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6751
6752 2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6753
6754 PR c++/4512
6755 * unroll.c (loop_iterations): Ignore insns generated by loop
6756 unrolling.
6757
6758 * config.gcc (mips*-*-gnu*): Delete support.
6759 * config/mips/gnu.h: Remove.
6760
6761 2001-10-10 Kazu Hirata <kazu@hxi.com>
6762
6763 * calls.c: Fix formatting.
6764 * c-decl.c: Likewise.
6765 * cfgcleanup.c: Likewise.
6766 * combine.c: Likewise.
6767 * cppfiles.c: Likewise.
6768 * cpplib.c: Likewise.
6769 * cppmacro.c: Likewise.
6770 * crtstuff.c: Likewise.
6771 * cse.c: Likewise.
6772 * dwarf2out.c: Likewise.
6773 * expmed.c: Likewise.
6774 * expr.c: Likewise.
6775 * fold-const.c: Likewise.
6776 * function.c: Likewise.
6777 * gcse.c: Likewise.
6778 * genattrtab.c: Likewise.
6779 * ggc-page.c: Likewise.
6780 * integrate.c: Likewise.
6781 * libgcc2.c: Likewise.
6782 * loop.c: Likewise.
6783 * optabs.c: Likewise.
6784 * profile.c: Likewise.
6785 * protoize.c: Likewise.
6786 * real.c: Likewise.
6787 * recog.c: Likewise.
6788 * reload1.c: Likewise.
6789 * reload.c: Likewise.
6790 * reorg.c: Likewise.
6791 * resource.c: Likewise.
6792 * sched-rgn.c: Likewise.
6793 * sdbout.c: Likewise.
6794 * stmt.c: Likewise.
6795 * toplev.c: Likewise.
6796 * varasm.c: Likewise.
6797
6798 2001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
6799
6800 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6801 * Makefile.in (langhooks.o): Add dependencies.
6802
6803 Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
6804
6805 * rs6000.c (rs6000_emit_load_toc_table): Don't
6806 strdup the toc label.
6807 (create_TOC_reference): Likewise.
6808
6809 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6810
6811 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6812 version default.
6813
6814 2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
6815
6816 * config/i386/i386.c (ix86_attribute_table): Correct
6817 min_len, max_len fields for dllimport, dllexport and shared.
6818
6819 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
6820
6821 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6822 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6823 Consistently use "nonzero" instead of "non-zero".
6824
6825 2001-10-09 Kazu Hirata <kazu@hxi.com>
6826
6827 * acconfig.h: Fix comment formatting.
6828 * c-dump.h: Likewise.
6829 * c-tree.h: Likewise.
6830 * conditions.h: Likewise.
6831 * expr.h: Likewise.
6832 * function.h: Likewise.
6833 * gthr.h: Likewise.
6834 * hwint.h: Likewise.
6835 * integrate.h: Likewise.
6836 * intl.h: Likewise.
6837 * loop.h: Likewise.
6838 * optabs.h: Likewise.
6839
6840 2001-10-09 Kazu Hirata <kazu@hxi.com>
6841
6842 * c-common.h: Fix comment formatting.
6843 * c-dump.c: Likewise.
6844 * cfg.c: Likewise.
6845 * diagnostic.h: Likewise.
6846 * except.c: Likewise.
6847 * gcc.h: Likewise.
6848 * gcov-io.h: Likewise.
6849 * genattrtab.c: Likewise.
6850 * output.h: Likewise.
6851 * predict.h: Likewise.
6852 * reload1.c: Likewise.
6853 * reload.h: Likewise.
6854 * resource.h: Likewise.
6855 * scan.h: Likewise.
6856 * system.h: Likewise.
6857 * tree.h: Likewise.
6858 * tree-inline.c: Likewise.
6859 * tsystem.h: Likewise.
6860 * varasm.c: Likewise.
6861 * xcoffout.h: Likewise.
6862
6863 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6864
6865 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6866
6867 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
6868
6869 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6870 config/i386/i386elf.h, config/i386/netbsd-elf.h,
6871 config/i386/netware.h, config/mcore/gfloat.h,
6872 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6873 config/netware.h, gccbug.in: Update FSF address.
6874
6875 2001-10-09 Kazu Hirata <kazu@hxi.com>
6876
6877 * c-common.c: Fix comment typos.
6878 * cfgrtl.c: Likewise.
6879 * collect2.c: Likewise.
6880 * cpplex.c: Likewise.
6881 * doloop.c: Likewise.
6882 * dwarf2out.c: Likewise.
6883 * dwarfout.c: Likewise.
6884 * expr.c: Likewise.
6885 * fold-const.c: Likewise.
6886 * gcc.c: Likewise.
6887 * gcov.c: Likewise.
6888 * gcse.c: Likewise.
6889 * global.c: Likewise.
6890 * ifcvt.c: Likewise.
6891 * loop.c: Likewise.
6892 * optabs.c: Likewise.
6893 * protoize.c: Likewise.
6894 * regclass.c: Likewise.
6895 * reorg.c: Likewise.
6896 * rtl.h: Likewise.
6897 * stmt.c: Likewise.
6898 * tree.h: Likewise.
6899 * doc/cpp.texi: Likewise.
6900 * doc/c-tree.texi: Likewise.
6901 * doc/extend.texi: Likewise.
6902 * doc/invoke.texi: Likewise.
6903 * doc/objc.texi: Likewise.
6904 * doc/tm.texi: Likewise.
6905
6906 2001-10-08 Richard Henderson <rth@redhat.com>
6907
6908 * varasm.c (set_named_section_flags): Initialize "declared".
6909
6910 2001-10-08 Robert Lipe <robertlipe@usa.net>
6911
6912 * varasm.c (struct in_named_entry): Add declared.
6913 (named_section_first_declaration): New function.
6914 (default_elf_asm_named_section): Use it.
6915 * output.h (named_section_first_declaration): New.
6916
6917 2001-10-08 Richard Henderson <rth@redhat.com>
6918
6919 * i386.md (movsi_xor): Export.
6920 (setcc peep2): Use it when available; add an alternative to
6921 match zero_extendhisi2_and.
6922
6923 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6924
6925 * romp-protos.h (romp_initialize_trampoline): New function.
6926 * romp.c (romp_initialize_trampoline): Likewise.
6927 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6928 romp_initialize_trampoline.
6929
6930 2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6931
6932 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6933 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6934 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6935 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6936
6937 2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6938
6939 * unroll.c (loop_iterations): Extend check for multiple back edges.
6940
6941 2001-10-08 Alexandre Oliva <aoliva@redhat.com>
6942
6943 * langhooks.h: New file.
6944 * Makefile.in (OBJS): Added langhooks.o.
6945 (c-lang.o): Depend on langhooks.h.
6946 (c-common.o): Don't depend on tree-inline.h.
6947 (tree-inline.o): Depend on toplev.h.
6948 (langhooks.o): New rule.
6949 * c-common.c: Don't include tree-inline.h.
6950 (c_mark_lang_decl): Mark argument c as unused.
6951 (c_common_lang_init): Don't initialize hooks here.
6952 * c-lang.c: Include langhooks.h, then override some macros.
6953 (lang_hooks): Initialize with macros in langhooks.h.
6954 (c_init): Don't initialize hooks here.
6955 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6956 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
6957 * tree-inline.c: Include toplev.h. Don't define hook variables.
6958 * tree-inline.h: Don't define hook types nor declare hook
6959 variables. Move macros to...
6960 * langhooks.c: ... new file, as functions. Adjust all callers.
6961
6962 2001-10-08 Jeffrey A Law <law@cygnus.com>
6963
6964 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6965 purge_mem_unchanging_flag on all instructions, not just on those
6966 before NOTE_INSN_FUNCTION_BEG.
6967
6968 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6969
6970 * cppmacro.c (_cpp_create_definition): Leave comments off.
6971
6972 * doc/cpp.texi: Update.
6973
6974 2001-10-08 DJ Delorie <dj@redhat.com>
6975
6976 * c-decl.c (grokfield): Make sure the only unnamed fields
6977 we're allowing are either structs or unions.
6978 * doc/extend.texi: Add documentation for the unnamed field
6979 extension.
6980
6981 2001-10-08 Zack Weinberg <zack@codesourcery.com>
6982
6983 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6984 * configure.in: Use it.
6985 * configure: Regenerated.
6986 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6987 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6988
6989 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
6990
6991 * cppfiles.c (open_file): Don't mark zero-length files
6992 never-reread here. Don't output diagnostics here either.
6993 (stack_include_file): Mark them never-reread here.
6994 (_cpp_read_file): Update.
6995
6996 2001-10-08 Richard Henderson <rth@redhat.com>
6997
6998 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6999
7000 2001-10-08 Richard Henderson <rth@redhat.com>
7001
7002 * expr.c (store_expr): When converting a CONST_INT for storage
7003 in a SUBREG, convert it to both SUBREG modes before stripping
7004 the SUBREG.
7005
7006 2001-10-08 Richard Henderson <rth@redhat.com>
7007
7008 * varasm.c (restore_varasm_status): New.
7009 * function.h: Declare it.
7010 * function.c (pop_function_context_from): Call it.
7011
7012 2001-10-08 Richard Henderson <rth@redhat.com>
7013
7014 * c-common.h (struct c_lang_decl): Add declared_inline.
7015 * c-tree.h (DECL_DECLARED_INLINE_P): New.
7016 * c-lang.c (c_disregard_inline_limits): Use it.
7017 * c-decl.c (duplicate_decls): Likewise.
7018 (pushdecl, redeclaration_error_message): Likewise.
7019 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
7020 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
7021 Set DECL_INLINE if -finline-functions.
7022 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
7023
7024 2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
7025
7026 * cppmacro.c (funlike_invocation_p): Move some logic to caller
7027 in enter_macro_context. Create a padding token in its own context
7028 if necessary when the search for '(' fails.
7029 (enter_macro_context): Update.
7030
7031 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7032
7033 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
7034 genmultilib, toplev.c: Fix spelling errors of "separate" as
7035 "seperate", and corresponding spelling errors of related words.
7036
7037 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7038
7039 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
7040 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
7041 Likewise.
7042 * c-dump.c (dump_option_value_info): Likewise.
7043 * c-format.c (format_length_info, format_char_info,
7044 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
7045 * collect2.c (names): Likewise.
7046 * cppdefault.h (default_include): Likewise.
7047 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
7048 * flow.c (life_analysis): Likewise.
7049 * gcc.c (dir_separator_str, modify_target, option_map,
7050 target_option_translations, spec_list_1, extra_specs_1,
7051 init_spec): Likewise.
7052 * gcov.c (gcov_version_string): Likewise.
7053 * genattr.c (write_units): Likewise.
7054 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
7055 * gengenrtl.c (rtx_definition, defs): Likewise.
7056 * genrecog.c (pred_table): Likewise.
7057 * global.c (global_alloc): Likewise.
7058 * lcm.c (optimize_mode_switching): Likewise.
7059 * local-alloc.c (find_free_reg): Likewise.
7060 * params.h (param_info): Likewise.
7061 * predict.c (predictor_info): Likewise.
7062 * protoize.c (unexpansion_struct): Likewise.
7063 * real.c (bmask): Likewise.
7064 * recog.h (insn_operand_data, insn_data): Likewise.
7065 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
7066 * stmt.c (expand_nl_goto_receiver): Likewise.
7067 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
7068 target_switches, target_options): Likewise.
7069 * tradcif.y (token, tokentab2, yylex): Likewise.
7070 * tree.h (attribute_spec): Likewise.
7071
7072 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
7073 Likewise.
7074 * arc.c (arc_output_function_epilogue): Likewise.
7075 * arm.c (processors, all_cores, all_architectures,
7076 arm_override_options, isr_attribute_arg, isr_attribute_args,
7077 arm_isr_value): Likewise.
7078 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
7079 Likewise.
7080 * c4x.c (c4x_int_reglist): Likewise.
7081 * d30v.c (override_options): Likewise.
7082 * h8300.c (shift_insn): Likewise.
7083 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
7084 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
7085 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
7086 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
7087 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
7088 * i386.h (processor_costs, ix86_cost): Likewise.
7089 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
7090 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
7091 * m68k.c (codes_68881, codes_FPA): Likewise.
7092 * m88k.c (mode_from_align, max_from_align, all_from_align,
7093 best_from_align, m_options): Likewise.
7094 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
7095 * mcore.c (mode_from_align): Likewise.
7096 * mips/elf64.h (UNIQUE_SECTION): Likewise.
7097 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
7098 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
7099 * mips.h (mips_regno_to_class): Likewise.
7100 * ns32k.c (scales): Likewise.
7101 * pa.c (import_string, magic_milli): Likewise.
7102 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
7103 * sparc.c (leaf_reg_remap, sparc_override_options,
7104 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
7105 Likewise.
7106 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
7107
7108 2001-10-07 Dale Johannesen <dalej@apple.com>
7109
7110 * reload1.c (reload_reg_free_p): Teach register interference
7111 checking that multiple output reloads are emitted in
7112 reverse order.
7113 reload1.c (reload_reg_reaches_end_p): Ditto.
7114 reload1.c (reloads_conflict): Ditto.
7115
7116 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7117
7118 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
7119 NULL_TREE inside @code.
7120
7121 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7122
7123 * doc/gcc.texi: Document consistent style of "32-bit",
7124 "Objective-C", and "@code{NULL}".
7125
7126 2001-10-06 Zack Weinberg <zack@codesourcery.com>
7127
7128 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
7129 (cpp_token_len, cpp_spell_token, cpp_output_token,
7130 _cpp_equiv_tokens): Handle it.
7131 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
7132 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
7133 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
7134 error messages.
7135
7136 Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7137
7138 * gcc.c (default_compilers): Remove .ada.
7139
7140 2001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
7141
7142 * doc/cppinternals.texi: Update.
7143
7144 2001-10-06 Zack Weinberg <zack@codesourcery.com>
7145
7146 * gcc.c (main): Set this_file_error if the appropriate
7147 compiler for a language has not been installed.
7148
7149 2001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
7150
7151 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
7152
7153 2001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
7154
7155 * gccbug.in (CATEGORIES): Add ada.
7156
7157 2001-10-05 Catherine Moore <clm@redhat.com>
7158
7159 * config/stormy16/stormy-abi: Document abi changes.
7160 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
7161 (ICALL_REGS): New register class.
7162 (NUM_ARGUMENT_REGISTERS): Now 6.
7163 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
7164 in registers.
7165 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
7166 * config/stormy16.md (call_internal, call_value_internal,
7167 indirect_jump): Use new 'z' constraint.
7168
7169 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
7170
7171 * doc/cppinternals.texi: Update.
7172
7173 2001-10-05 Richard Henderson <rth@redhat.com>
7174
7175 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
7176 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
7177 the gas section-name-as-label feature.
7178
7179 2001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
7180
7181 * doc/cppinternals.texi: Update.
7182
7183 Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7184
7185 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
7186 to ensure valid SImode constants.
7187
7188 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
7189
7190 * Makefile.in (c-decl.o): Depend on tree-inline.h.
7191 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
7192 * c-decl.c: Include tree-inline.h.
7193 (c_expand_body): Call optimize_inline_calls. Determine whether
7194 a function is inlinable upfront, and only clear
7195 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
7196 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
7197 (c_disregard_inline_limits): New function.
7198 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
7199 (c_post_options): Enable tree inlining if inlining is enabled.
7200 Don't inline trees when instrumenting functions.
7201 (c_init): Initialize lang_disregard_inline_limits and
7202 lang_cannot_inline_tree_fn.
7203 * tree-inline.c (initialize_inlined_parameters): Handle calls
7204 with fewer arguments than declared parameters, and fewer
7205 parameters than passed arguments. Don't assume value is a
7206 DECL.
7207 (declare_return_variable): Convert return value back to the
7208 original type, if it was promoted.
7209 (tree_inlinable_function_p): New function.
7210 (inlinable_function_p): Don't look at DECL_INLINE if we're
7211 inlining all functions. Make it work with a NULL id.
7212 Re-check DECL_UNINLINABLE after language-specific checks.
7213 * tree-inline.h (tree_inlinable_function_p): Declare it.
7214 * integrate.c (save_for_inline): Don't bother to prepare argvec
7215 when not inlining.
7216 * cse.c (check_for_label_ref): Don't check deleted labels.
7217
7218 * Makefile.in (tree-inline.o): Depend on newly-included headers.
7219 * tree-inline.c: Include headers needed for the functions moved in.
7220 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7221 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7222 (copy_body, initialize_inlined_parameters): Likewise.
7223 (declare_return_variable, inlinable_function_p): Likewise.
7224 (expand_call_inline, expand_calls_inline): Likewise.
7225 (optimize_inline_calls, clone_body): Likewise.
7226 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7227 (copy_tree_r, remap_save_expr): Likewise.
7228
7229 2001-10-04 Alexandre Oliva <aoliva@redhat.com>
7230
7231 * Makefile.in (OBJS): Added tree-inline.o.
7232 (c-common.o): Depend on tree-inline.h.
7233 (tree-inline.o): New target.
7234 * c-common.c: Include tree-inline.h.
7235 (c_mark_lang_decl): Don't mark saved_tree.
7236 (c_common_lang_init): Set lang_anon_aggr_type_p.
7237 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7238 (struct c_lang_decl): Moved saved_tree to tree_decl.
7239 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7240 * integrate.h (function_attribute_inlinable_p): Declare it.
7241 * integrate.c (function_attribute_inlinable_p): Export it.
7242 * tree-inline.c: New file. Define variables declared in...
7243 * tree-inline.h: New file. Declare functions to be moved to
7244 tree-inline.c. Define macros and declare types and hooks for
7245 language-specific tree inlining.
7246 (flag_inline_trees): Moved definition from cp/decl2.c.
7247 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7248 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7249 (struct tree_decl): Moved saved_tree from c_lang_decl and
7250 inlined_fns from C++'s lang_decl.
7251
7252 2001-10-04 Loren J. Rittle <ljrittle@acm.org>
7253
7254 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7255 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7256
7257 2001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
7258
7259 * doc/cppinternals.texi: Update.
7260
7261 2001-10-04 Eric Christopher <echristo@redhat.com>
7262
7263 * config/mips/mips.c (init_cumulative_args): Remember to set
7264 cum->prototype.
7265 * config.gcc: Redo linux configuration. Add target_cpu_default
7266 of soft-float to all mipsisa32 combinations and tx39.
7267 * config/mips/linux.h: Remove include of mips.h.
7268
7269 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
7270
7271 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7272 HOST_LDFLAGS and HOST_CPPFLAGS.
7273
7274 2001-10-03 Ziemowit Laski <zlaski@apple.com>
7275
7276 * c-parse.in (objc_inherit_code, objc_pq_context,
7277 objc_public_flag): Make static.
7278 (objc_interface_context, objc_implementation_context,
7279 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7280 global tree array in objc/objc-act.[ch].
7281 (methoddef): Remove unnecessary code.
7282
7283 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7284 Hoist struct definitions to objc-act.h.
7285 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7286 cat_count): Place declaration in objc-act.h.
7287 (objc_tree_index): Move enumeration to objc-act.h.
7288 (objc_global_trees): Place declaration and macro accessors in
7289 objc-act.h.
7290 (implementation_context): Remove duplicate; use
7291 objc_implementation_context instead:
7292 (method_context): Remove duplicate; use objc_method_context
7293 instead.
7294 (objc_ellipsis_node, objc_method_prototype_template,
7295 implemented_classes, function_type): Move global vars to
7296 objc_global_trees.
7297 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7298 (build_message_expr): Move actual construction of ObjC message
7299 send nodes to finish_message_expr.
7300 (finish_message_expr): New routine, contains code formerly in
7301 build_message_expr.
7302 * objc/objc-act.h (finish_message_expr): New prototype.
7303 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7304 declarations; these vars are now part of objc_global_trees.
7305 (objc_tree_index, objc_global_trees): Move definitions from
7306 objc-act.c.
7307 * objc/objc-tree.def: Update copyright info.
7308
7309 Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7310
7311 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7312 op is NULL.
7313 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7314 only if TARGET_ARCH64.
7315
7316 2001-10-02 Bernd Schmidt <bernds@redhat.com>
7317
7318 * doc/extend.texi: Fix some problems with previous checkin.
7319 * doc/invoke.texi: Likewise.
7320
7321 2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7322
7323 * cpphash.h: Update comments.
7324 (cpp_context): Update.
7325 (spec_nodes): Remove n__Pragma.
7326 * cppinit.c (cpp_create_reader): Update.
7327 (builtin_array): Add _Pragma.
7328 * cpplib.h: Update comments.
7329 (NODE_DISABLED, BT_PRAGMA): New.
7330 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7331 * cppmacro.c (struct cpp_macro): Remove disabled.
7332 (builtin_macro): Return int, handle _Pragma, push the new token
7333 on the context stack.
7334 (funlike_invocation_p): Unconstify, update.
7335 (enter_macro_context): Handle builtins here.
7336 (replace_args, push_token_context, push_ptoken_context):
7337 Update for prototype changes.
7338 (_cpp_pop_context): Update.
7339 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7340 (cpp_sys_macro_p): Update.
7341 (_cpp_free_definition): Clear disabled flag.
7342 (_cpp_create_definition): Upate.
7343 * cppmain.c: Update comments.
7344
7345 Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
7346 Andreas Jaeger <aj@suse.de>,
7347 Jan Hubicka <jh@suse.cz>
7348
7349 * doc/invoke.texi (i386 Options): Document x86-64 options.
7350 (i386 and x86-64 Options): Rename i386 options section.
7351
7352 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7353 (TARGET_SWITCHES): Add -munwind-info.
7354 (MASK_NO_UNWIND_INFO): New.
7355 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7356 biarch compilation.
7357 (ASM_OUTPUT_DOUBLE_INT): New.
7358
7359 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7360 * config.gcc: Fix tm_file settings for x86-64.
7361 * config/i386/x86-64.h: New file with OS independent x86-64
7362 definitions.
7363 * config/i386/biarch64.h: New file used to configure compiler
7364 to biarch/64bit compilation.
7365
7366 * config/i386/i386.c: (override_options): Set flags default
7367 for 64bit compilation.
7368
7369 Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7370
7371 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7372 (ix86_expand_int_movcc): Optimize DImode conditional moves with
7373 constants on x86_64.
7374 (ix86_attr_length_immediate_default): Support MODE_DI.
7375 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7376 condition.
7377 (indirect_jump, tablejump): Turn into expander.
7378
7379 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7380
7381 * c-common.c (c_format_attribute_table): Make format and
7382 format_arg attributes apply to function types rather than to
7383 decls.
7384 (is_valid_printf_arglist): Construct an attribute list and pass
7385 that to check_function_format rather than a name.
7386 * c-common.h (check_function_format): Adjust prototype.
7387 * c-decl.c (duplicate_decls): Preserve attributes from type of
7388 built-in decl when allowing for harmless conflict in types.
7389 * c-format.c (record_function_format,
7390 record_international_format, function_format_list,
7391 international_format_info, international_format_list): Remove.
7392 (function_format_info): Remove next, name and assembler_name.
7393 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7394 (decode_format_attr): New.
7395 (handle_format_attribute): Handle receiving a type rather than a
7396 decl. Call decode_format_attr. Store format information in a
7397 function_format_info.
7398 (handle_format_arg_attribute): Correct comment. Handle receiving
7399 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7400 arg_num.
7401 (check_format_info_recurse, check_format_info_main): Take argument
7402 numbers as unsigned HOST_WIDE_INT.
7403 (check_function_format): Take a list of attributes from the
7404 function type rather than a name or assembler name. Check for
7405 format attributes in that list and the attributes on the type of
7406 the current function rather than looking through
7407 function_format_list.
7408 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7409 numbers.
7410 (check_format_info_recurse): Take format_arg attributes from the
7411 type of the function calls rather than using
7412 international_format_list. Allow for multiple format_arg
7413 attributes.
7414 * c-typeck.c (build_function_call): Pass type attributes to
7415 check_function_format rather than name or assembler name. Don't
7416 require there to be a name or assembler name to check formats.
7417
7418 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7419
7420 * attribs.c (decl_attributes): Possibly call
7421 insert_default_attributes to insert default attributes on
7422 functions in a lazy manner.
7423 * builtin-attrs.def: New file; define the default format and
7424 format_arg attributes.
7425 * c-common.c (c_format_attribute_table): Move to earlier in the
7426 file.
7427 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7428 (enum built_in_attribute, built_in_attributes,
7429 c_attrs_initialized, c_init_attributes,
7430 c_common_insert_default_attributes): New.
7431 (c_common_lang_init): Don't initialize format_attribute_table. Do
7432 call c_init_attributes.
7433 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7434 * c-common.h (init_function_format_info): Don't declare.
7435 (c_common_insert_default_attributes): Declare.
7436 * c-decl.c (implicitly_declare, builtin_function): Call
7437 decl_attributes.
7438 (init_decl_processing): Don't call init_function_format_info.
7439 (insert_default_attributes): New.
7440 * c-format.c (handle_format_attribute,
7441 handle_format_arg_attribute): Be quiet about inappropriate
7442 declaration when applying default attributes.
7443 (init_function_format_info): Remove.
7444 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7445 (insert_default_attributes): Declare.
7446
7447 2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7448
7449 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7450
7451 2001-10-01 Jim Wilson <wilson@redhat.com>
7452
7453 * sched-deps.c (add_dependence): When elide conditional dependence,
7454 check that insn doesn't modify cond2.
7455
7456 2001-10-01 Dale Johannesen <dalej@apple.com>
7457
7458 * config/rs6000/rs6000.h (enum processor_type): Add support
7459 for 7400 (G4) and 7450.
7460 (RTX_COSTS): Ditto.
7461 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7462 (rs6000_issue_rate): Ditto.
7463 (rs6000_adjust_cost): Fix cycle counts for compares.
7464 (debug_stack_info): Fix an obvious typo.
7465 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7466 * doc/invoke.texi: Document.
7467 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7468 for Darwin.
7469 (PROCESSOR_DEFAULT): Ditto.
7470
7471 2001-10-01 Loren J. Rittle <ljrittle@acm.org>
7472
7473 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7474 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7475 later recursive make invocation.
7476
7477 2001-10-01 Hans Boehm <boehm@acm.org>
7478
7479 * optabs.c (emit_libcall_block): When using non-call exceptions,
7480 don't add REG_LIBCALL reg notes to trapping calls.
7481
7482 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7483
7484 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7485 (propagate_one_insn): Update for above change
7486
7487 2001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7488
7489 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7490 _Unwind_GetTextRelBase): Argument is unused.
7491
7492 Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7493
7494 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7495 Loop through NOPs, placeholders, and components.
7496 Don't go through NOPs if change mode.
7497 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7498 * emit-rtl.c (set_mem_alias_set): Enable check.
7499 * expr.c (find_placeholder): New function.
7500 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7501 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7502 to modify it and avoid unneeded copies.
7503 * expr.h (expand_expr): Always define.
7504 (find_placeholder): New declaration.
7505
7506 2001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7507
7508 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7509 operand 2 is the stack pointer.
7510 ("addr-peephole"): Fix address computation peephole when operand 2
7511 is the stack pointer.
7512
7513 Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7514
7515 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7516 (ix86_setup_incoming_varargs): Likewise.
7517
7518 2001-10-01 Jason Merrill <jason_merrill@redhat.com>
7519
7520 * stor-layout.c (layout_type): Don't complain about too-large
7521 array here.
7522
7523 Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7524
7525 * function.c (keep_stack_depressed): Don't use delete_insn.
7526
7527 * expr.h (set_mem_alias_set): Move decl to here.
7528 * rtl.h (mem_attrs): New typedef and struct.
7529 (union rtunion_def): Add field for mem_attrs.
7530 (X0MEMATTR, MEM_ATTRS): New macros.
7531 (MEM_ALIAS_SET): Use MEM_ATTRS.
7532 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7533 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7534 (set_mem_alias_set): Delete decl from here.
7535
7536 * alias.c (set_mem_alias_set): Delete from here.
7537 * emit-rtl.c (mem_attrs_htab): New variable.
7538 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7539 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7540 (mem_attrs_mark, get_mem_attrs): Likewise.
7541 (gen_rtx_MEM): Clear MEM_ATTRS.
7542 (set_mem_attributes): Move to here.
7543 (set_mem_alias_set): Likewise, and call get_mem_attrs.
7544 (init_emit_once): const_int_htab now deletable htab.
7545 Initialize mem_attrs_htab.
7546 * explow.c (set_mem_attributes): Delete from here.
7547 * function.c (put_var_into_stack): Clear MEM_ATTRS.
7548 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7549 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7550 * reload1.c (reload): Rework changing REG to MEM.
7551
7552 2001-09-30 H.J. Lu <hjl@gnu.org>
7553
7554 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7555 * config.in: Rebuild.
7556
7557 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7558
7559 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7560 ("tsthi_1"): Avoid allocation in register y.
7561 ("*movqi_68hc12"): Reorganize and fix constraints.
7562 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7563 ("addqi3"): Likewise.
7564 ("addhi3"): Fix constraints.
7565 ("*logicalhi3_zexthi"): Disparage soft registers.
7566
7567 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7568
7569 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7570 to tmp reg.
7571
7572 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7573
7574 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7575 that we use setjmp/longjmp exceptions.
7576
7577 2001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
7578
7579 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7580 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7581 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7582 _cpp_pool_alloc, _cpp_next_chunk): Remove.
7583 (_cpp_extend_buff, BUFF_ROOM): Update.
7584 (_cpp_append_extend_buff): New.
7585 (struct cpp_reader): Remove macro_pool, add a_buff.
7586 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7587 macro_pool.
7588 (cpp_destroy): Free a_buff instead of macro_pool.
7589 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7590 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7591 _cpp_pool_alloc, ): Remove.
7592 (parse_number, parse_string): Update use of _cpp_extend_buff.
7593 (_cpp_extend_buff): Update.
7594 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7595 * cpplib.c (glue_header_name, parse_answer):
7596 Update use of _cpp_extend_buff.
7597 (cpp_register_pragma, cpp_register_pragma_space): Use
7598 _cpp_aligned_alloc.
7599 (do_assert, do_unassert): Check for EOL, update.
7600 * cppmacro.c (stringify_arg, collect_args): Update to use
7601 _cpp_extend_buff and _cpp_append_extend_buff.
7602 (save_parameter, parse_params, alloc_expansion_token,
7603 _cpp_create_definition): Rework memory management.
7604
7605 2001-09-29 Andris Pavenis <pavenis@lanet.lv>
7606
7607 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7608 update md_exec_prefix.
7609 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7610 to string constant.
7611
7612 2001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
7613
7614 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7615 (SELECT_CC_MODE): Use s390_select_ccmode.
7616 * config/s390/s390-protos.h (s390_select_ccmode): Add.
7617 * config/s390/s390.c (s390_select_ccmode): New.
7618 (s390_match_ccmode): Add CCLmode.
7619 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7620 (output_branch_condition, output_inverse_branch_condition): Removed.
7621 (print_operand): Use s390_branch_condition_mnemonic.
7622 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7623 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7624 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7625
7626 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7627 when converting conditional branches to far branches.
7628 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7629 cmpint_di): Use CCSmode instead of CCUmode.
7630
7631 * config/s390/s390.c (legitimate_la_operand_p): New.
7632 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7633 * config/s390/s390.md (movsi): Convert load address patterns to
7634 arithmetic operations when necessary.
7635 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7636 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7637 (*do_la_reg_0): Don't use before reload.
7638
7639 * config/s390/s390.c (legitimize_address): Make more efficient
7640 use of two-register addressing mode.
7641
7642 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7643 with -mno-backchain in some corner cases.
7644
7645 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7646
7647 2001-09-29 Alexandre Oliva <aoliva@redhat.com>
7648
7649 * reload.c (find_reloads): Mark new USE insns with QImode.
7650 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7651 find_reloads_subreg_address): Likewise.
7652 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7653 encountered.
7654 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7655 CLOBBERs.
7656 (reload): Make sure there are no USEs with mode other than
7657 VOIDmode. At the end, remove those marked with QImode.
7658
7659 2001-09-29 Per Bothner <per@bothner.com>
7660
7661 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
7662 * Makefile.in (includedir): Rename to local_includedir.
7663 (includedir): Define as $(prefix)/include.
7664 * config.in (PREFIX_INCLUDE_DIR): New variable.
7665 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
7666
7667 2001-09-29 Bernd Schmidt <bernds@redhat.com>
7668
7669 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7670 storehps builtins.
7671 * doc/extend.texi (Vector Extensions): New node.
7672 * doc/invoke.texi (Machine Dependent Options): Add documentation for
7673 i386 -mmmx, -msse, -m3dnow.
7674
7675 Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
7676
7677 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7678
7679 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
7680
7681 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7682
7683 * doc/invoke.texi (Optimize Options): Delete spurious @table.
7684
7685 2001-09-28 Richard Henderson <rth@redhat.com>
7686
7687 * varasm.c (assemble_integer): Bound alignment check by
7688 BIGGEST_ALIGNMENT.
7689
7690 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7691
7692 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7693
7694 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7695
7696 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7697
7698 Mostly from Graham Stott <grahams@redhat.com>
7699 * c-common.c (type_for_mode): Add support for V2SFmode.
7700 * tree.c (build_common_tree_nodes_2): Likewise.
7701 * tree.h (enum tree_index, global_trees): Likewise.
7702 * config/i386/i386.c (x86_3dnow_a): New variable.
7703 (override_options): Support 3Dnow extensions.
7704 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7705 Athlon's version of 3Dnow.
7706 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7707 (ix86_expand_builtin): Handle them.
7708 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7709 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7710 TARGET_3DNOW_A): New macros.
7711 (TARGET_SWITCHES): Add 3Dnow switches.
7712 (VALID_MMX_REG_MODE_3DNOW): New macro.
7713 (VECTOR_MODE_SUPPORTED_P): Use it.
7714 (enum ix86_builtins): Add entries for 3Dnow builtins.
7715 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7716 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7717 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7718 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7719 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7720 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7721 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7722 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7723 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7724 sfence_insn, prefetch): Make these available if TARGET_SSE or
7725 TARGET_3DNOW_A.
7726
7727 Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
7728
7729 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7730 ix86_va_start, ix86_build_va_list): Declare.
7731 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7732 ix86_va_start, ix86_build_va_list): New global functions.
7733 * i386.md (sse_prologue_save_insn): New insn.
7734 (sse_prologue_save): New expander.
7735 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7736 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7737
7738 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7739
7740 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7741 Use size_t everywhere, make definitions consistent with
7742 prototypes.
7743
7744 Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
7745
7746 * gcse.c (replace_store_insn): Use delete_insn.
7747 * loop.c (move_movables): Likewise; avoid delete_insn
7748 from clobbering notes moved elsewhere.
7749 (check_dbra_loop): Use delete_insn.
7750 * ssa.c (convert_from_ssa): Likewise.
7751 * cse.c (cse_insn): Use delete_insn.
7752
7753 2001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
7754
7755 * cpphash.h (struct cpp_buff): Make unsigned.
7756 (_cpp_get_buff): Take length of size_t.
7757 (_cpp_unaligned_alloc): New.
7758 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7759 (struct cpp_reader): Remove ident_pool. Add u_buff.
7760 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7761 (cpp_destroy): Destroy u_buff, not ident_pool.
7762 * cpplex.c (parse_number, parse_string, save_comment,
7763 cpp_token_as_text): Update to use the unaligned buffer.
7764 (new_buff): Make unsigned.
7765 (_cpp_unaligned_alloc): New.
7766 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7767 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7768 Similarly.
7769 (collect_args): Make unsigned.
7770
7771 2001-09-27 Zack Weinberg <zack@codesourcery.com>
7772
7773 * cpplex.c (cpp_output_token): Use a putc loop for
7774 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7775
7776 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7777 * configure, config.in: Regenerate.
7778 * system.h: Replace fwrite and fprintf with their unlocked
7779 variants if available.
7780
7781 2001-09-27 Richard Henderson <rth@redhat.com>
7782
7783 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7784 in favour of .eh_frame.
7785
7786 2001-09-27 Aldy Hernandez <aldyh@redhat.com>
7787
7788 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7789 to macros.
7790 (LIBCALL_VALUE): Likewise.
7791
7792 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7793
7794 * cpphash.h: Update comment.
7795 * cpplex.c: Update comments.
7796 (_cpp_can_paste): Remove.
7797 * cpplib.h (_cpp_can_paste): Remove.
7798 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7799 lexer rather than _cpp_can_paste.
7800
7801 2001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
7802
7803 * doc/cppinternals.texi: Update.
7804
7805 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7806
7807 * cpphash.h (struct cpp_pool): Remove locks and locked.
7808 (struct cpp_context): Add member buff.
7809 (struct cpp_reader): Remove member argument_pool.
7810 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7811 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7812 * cpplex.c (chunk_suitable): Remove pool argument.
7813 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7814 (new_buff, _cpp_extend_buff): Update.
7815 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
7816 which buffer is returned.
7817 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7818 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7819 * cppmacro.c (lock_pools, unlock_pools): Remove.
7820 (push_ptoken_context): Take a _cpp_buff.
7821 (enter_macro_context): Pool locking removed.
7822 (replace_args): Use a _cpp_buff for the replacement list with
7823 arguments replaced.
7824 (push_token_context): Clear buff.
7825 (expand_arg): Use _cpp_pop_context.
7826 (_cpp_pop_context): Free a context's buffer, if any.
7827
7828 2001-09-26 DJ Delorie <dj@redhat.com>
7829
7830 * c-typeck.c (digest_init): Check for sizeless arrays.
7831
7832 2001-09-26 Richard Henderson <rth@redhat.com>
7833
7834 * optabs.c (init_one_libfunc): Create a dummy function type
7835 instead of using error_mark_node.
7836
7837 2001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
7838
7839 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7840 _cpp_extend_buff, _cpp_free_buff): New.
7841 (struct cpp_reader): New member free_buffs.
7842 * cppinit.c (cpp_destroy): Free buffers.
7843 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7844 _cpp_extend_buff, _cpp_free_buff): New.
7845 * cpplib.h (struct cpp_options): Remove unused member.
7846 * cppmacro.c (collect_args): New. Combines the old parse_arg
7847 and parse_args. Use _cpp_buff for memory allocation.
7848 (funlike_invocation_p, replace_args): Update.
7849
7850 Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
7851
7852 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7853
7854 2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
7855
7856 * except.c (sjlj_mark_call_sites): Change address inside sequence.
7857
7858 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
7859
7860 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7861 glibc.
7862
7863 2001-09-25 Janis Johnson <janis187@us.ibm.com>
7864 Jim Wilson <wilson@redhat.com>
7865
7866 * doc/install.texi (Specific, ia64-*-linux): Document.
7867
7868 Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
7869
7870 * Makefile.in (cfgrtl.o): Add.
7871 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7872 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7873 free_aux_for_edge): Declare.
7874 * cfg.c
7875 (HAVE_return): Undefine.
7876 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7877 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7878 free_aux_for_edge): New global functions.
7879 (first_delete_block): New static variable.
7880 (init_flow): Clear first_delete_block.
7881 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7882 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7883 try_redirect_by_replacing_jump, last_loop_beg_note,
7884 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7885 delete_insn, delete_insn_chain, create_basic_block_structure,
7886 create_basic_block, flow_delete_block, compute_bb_for_insn,
7887 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7888 set_block_for_new_insns, split_block, merge_blocks_nomove,
7889 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7890 redirect_edge_and_branch, force_nonfallthru_and_redirect,
7891 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7892 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7893 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7894 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7895 purge_all_dead_edges): Move to ....
7896 * cfgrtl.c: New file; .... Here.
7897
7898 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7899 (reroder_basic_block): Use alloc_aux_for_blocks.
7900 * predict.c (estimate_bb_frequencies): Likewise; use
7901 alloc_aux_for_edges.
7902 * profile.c (compute_branch_probabilities): Likewise.
7903 (branch_prob): Likewise.
7904 * reg-stack.c (reg_to_stack): Likewise.
7905
7906 * emit-rtl.c (emit_insns_after): Never return NULL.
7907
7908 * basic-block.h (set_block_for_new_insns): Delete.
7909 * cfgrtl.c (set_block_for_new_insns): Delete.
7910
7911 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7912 calls when crossjumping.
7913
7914 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7915 * unroll.c (copy_loop_body): Use delete_insn.
7916
7917 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7918 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7919 keep_stack_depressed): Likewise.
7920 * gcse.c (cprop_cc0_jump): Likewise.
7921 * local-alloc.c (update_equiv_regs): Likewise.
7922 * loop.c (scan_loop, loop_delete_insns): Likewise.
7923 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7924 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7925 delete_output_reload, delete_address_reloads_1,
7926 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7927 Likewise.
7928 * sibcall.c (replace_call_placeholder): Likewise.
7929 * cse.c (cse_insn): Likewise.
7930
7931 2001-09-25 Bernd Schmidt <bernds@redhat.com>
7932
7933 From Graham Stott <grahams@redhat.com>
7934 (def_builtin): Only define builtins appropriate for target_flags. All
7935 callers changed.
7936 (builtin_decsription): Add new field mask which is used to determine
7937 when to define the builtin via the macro def_builtin.
7938
7939 (bdesc_comi): Initialise new mask fields.
7940 (bdesc_2srg): Likewise.
7941 (bdesc_1arg): Likewise.
7942
7943 * config/i386/i386.c (ix86_init_builtins): Correct return type
7944 building v4hi_ftype_v4hi_int_int tree node.
7945 (ix86_expand_sse_comi): Fix typo swapping operands.
7946 Don't swap comparision condition, it is already swapped.
7947 (ix86_expand_sse_compare): Before swapping operands
7948 move operand 1 into new rtx and not the target rtx.
7949 Don't swap comparison condition, it is already swapped.
7950 Always check whether we need to create a new TARGET.
7951
7952 * config/i386/i386.md: (sse_comi) Fix typos.
7953 (sse_ucomi): Likewise.
7954 (cvtss2si): Fix operand 0 contraint.
7955 (cvttss2si): Likewise.
7956 (sse_unpckhps): Fix mode for operand 2.
7957 (sse_unpcklps): Likewise.
7958
7959 2001-09-25 Graham Stott <grahams@redhat.com>
7960
7961 * sibcall.c (skip_copy_to_return_value): Tighten return value
7962 copy check.
7963
7964 2001-09-24 David Edelsohn <edelsohn@gnu.org>
7965
7966 * rs6000.c (lwa_operand): Address must be word aligned.
7967
7968 Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7969
7970 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7971 number has been set.
7972 (type_hash_mark): Mark type itself.
7973
7974 2001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
7975
7976 * c-lex.c (cb_def_pragma): Update.
7977 (c_lex): Update, and skip padding.
7978 * cppexp.c (lex, parse_defined): Update, remove unused variable.
7979 * cpphash.h (struct toklist): Delete.
7980 (union utoken): New.
7981 (struct cpp_context): Update.
7982 (struct cpp_reader): New members eof, avoid_paste.
7983 (_cpp_temp_token): New.
7984 * cppinit.c (cpp_create_reader): Update.
7985 * cpplex.c (_cpp_temp_token): New.
7986 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7987 (cpp_output_token): Don't print leading whitespace.
7988 (cpp_output_line): Update.
7989 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7990 do_include_common, do_line, do_ident, do_pragma,
7991 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7992 parse_assertion): Update.
7993 (get_token_no_padding): New.
7994 * cpplib.h (CPP_PADDING): New.
7995 (AVOID_LPASTE): Delete.
7996 (struct cpp_token): New union member source.
7997 (cpp_get_token): Update.
7998 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7999 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
8000 replace_args, quote_string, stringify_arg, parse_arg, next_context,
8001 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
8002 _cpp_backup_tokens, _cpp_create_definition): Update.
8003 (push_arg_context): Delete.
8004 (padding_token, push_token_context, push_ptoken_context): New.
8005 (make_string_token, make_number_token): Update, rename.
8006 (cpp_get_token): Update to handle tokens as pointers to const,
8007 and insert padding appropriately.
8008 * cppmain.c (struct printer): New member prev.
8009 (check_multiline_token): Constify.
8010 (do_preprocessing, cb_line_change): Update.
8011 (scan_translation_unit): Update to handle spacing.
8012 * scan-decls.c (get_a_token): New.
8013 (skip_to_closing_brace, scan_decls): Update.
8014 * fix-header.c (read_scan_file): Update.
8015
8016 * doc/cpp.texi: Update.
8017
8018 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8019
8020 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
8021 leak by passing malloc'ed pointer to reconcat, not concat.
8022
8023 2001-09-24 DJ Delorie <dj@redhat.com>
8024
8025 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
8026
8027 2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
8028
8029 * flow.c (delete_dead_jumptables): Delete jumptable if the only
8030 reference is from the literal pool.
8031
8032 2001-09-24 Janis Johnson <janis187@us.ibm.com>
8033
8034 * doc/install.texi (Final install): Request additional information
8035 in mail about successful builds.
8036
8037 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8038
8039 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
8040 initial value of return pointer register instead of value in frame-20.
8041 Revise comments.
8042
8043 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8044
8045 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
8046 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
8047 the libcall if there isn't a referenced identifier for the symbol.
8048
8049 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8050
8051 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
8052 non 64-bit machines. Use these as a plabel for the trampoline.
8053 (TRAMPOLINE_SIZE): Adjust size for new words.
8054 (INITIALIZE_TRAMPOLINE): Initialize new words.
8055 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
8056 pointer to the plabel in the trampoline.
8057
8058 2001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8059
8060 * pa.c (function_arg): Pass floating arguments in both general and
8061 floating registers in indirect (dynamic) calls when generating code
8062 for the 32 bit ABI and the HP assembler.
8063
8064 2001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8065
8066 * doc/install.texi: Markup fixes.
8067 Use Solaris 2, SunOS 4 as appropriate.
8068 (Specific, *-*-solaris2*): Explain this.
8069 Unconditionally warn against /usr/ucb tools.
8070 Remove Sun as warning, obsolete.
8071 Move X11 header bug workaround here, update patches.
8072 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
8073 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
8074
8075 2001-09-23 Zack Weinberg <zack@codesourcery.com>
8076
8077 * errors.h (warning, error, fatal, internal_error): Don't mark
8078 with ATTRIBUTE_PRINTF_n.
8079 * toplev.h (internal_error, fatal_io_error, warning, error,
8080 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
8081 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
8082 Likewise.
8083
8084 Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8085
8086 * function.c (pop_function_context_from): var_refs_queue
8087 and temp slots now in GC memory.
8088 (mark_function_status, free_after_compilation): Likewise;
8089 also struct function now in GC memory.
8090 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
8091 (combine_temp_slots): Likewise.
8092 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
8093 (prepare_function_start): Use GC memory for struct function.
8094 (mark_temp_slot): Deleted.
8095 (gcc_mark_struct_function): struct function now in GC memory.
8096
8097 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
8098 code for division, not modulus.
8099
8100 * rtl.def (MEM): Remove obsolete part of comment.
8101
8102 2001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
8103
8104 * c-format.c (init_function_format_info): Check __builtin_printf
8105 and __builtin_fprintf even if -ffreestanding. Check C99 functions
8106 in gnu89 mode.
8107
8108 Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8109
8110 * c-common.c (format_attribute_table): Remove decl.
8111 * tree.h (format_attribute_table, lang_attribute_table): New decls.
8112 (lang_attribute_common): Likewise.
8113
8114 * function.c (fix_lexical_address): Use set_mem_alias_set.
8115 (expand_function_start): Likewise.
8116 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
8117
8118 * varasm.c (output_constant): Fix unused variable warning.
8119
8120 * attribs.c: New file, from c-common.c.
8121 (attribute_tables): Now four elements.
8122 (format_attribute_table, lang_attribute_common): New variables.
8123 (init_attributes): Reflect above changes.
8124 (handle_mode_attribute): Delete check for wider than uintmax.
8125 * c-common.c: Delete parts moved to attribs.c.
8126 (enum attrs): Deleted; unused.
8127 (c_format_attribute_table): New variable.
8128 (c_common_lang_init): Initialize format_attribute_table with it.
8129 * c-common.h (decl_attributes): Remove decl.
8130 * tree.h (decl_attribute): Move it to here.
8131 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
8132 (attribs.o): New rule.
8133
8134 2001-09-22 Andreas Jaeger <aj@suse.de>
8135
8136 * builtins.c (c_getstr): Remove unused variable.
8137
8138 2001-09-21 Richard Henderson <rth@redhat.com>
8139
8140 * reload1.c (reload): Use delete_insn instead of splatting
8141 NOTE_INSN_DELETED.
8142
8143 2001-09-21 Richard Henderson <rth@redhat.com>
8144
8145 * reload.c (push_secondary_reload): Don't check for "=" in output
8146 constraint after ""->ALL_REGS check.
8147
8148 2001-09-21 Richard Henderson <rth@redhat.com>
8149
8150 * predict.c (expected_value_to_br_prob): Use pc_set.
8151
8152 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
8153 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
8154
8155 2001-09-21 Richard Henderson <rth@redhat.com>
8156
8157 * rtl.h (LCT_RETURNS_TWICE): New.
8158 * calls.c (emit_call_1): Set current_function_calls_setjmp for
8159 ECF_RETURNS_TWICE.
8160 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
8161 to ECF_RETURNS_TWICE.
8162 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
8163 call to setjmp.
8164
8165 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
8166
8167 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
8168 (JMP_BUF_SIZE): New.
8169
8170 2001-09-21 Richard Henderson <rth@redhat.com>
8171
8172 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
8173 to R8_REGS.
8174
8175 2001-09-21 Richard Henderson <rth@redhat.com>
8176
8177 * tree.def (FDESC_EXPR): New.
8178 * expr.c (expand_expr): Handle it.
8179 * varasm.c (initializer_constant_valid_p): Likewise.
8180 (output_constant): Likewise.
8181 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8182 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8183 (ASM_OUTPUT_FDESC): New.
8184 * doc/tm.texi: Document the new macros.
8185
8186 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
8187
8188 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
8189 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
8190 once merging is complete.
8191
8192 Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8193
8194 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
8195
8196 21-09-2001 Richard Earnshaw (reanrsha@arm.com)
8197
8198 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
8199 that would be invalid after a merge.
8200
8201 Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
8202
8203 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8204 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8205 remove some labels.
8206 (flow_delete_insn): This one.
8207 (delete_insn_chain): Rename from ...; do not care labels.
8208 (flow_delete_insn_chain): ... this one.
8209 (flow_delete_block): Remove the insns one BB has been expunged.
8210 (merge_blocks_nomove): Likewise.
8211 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8212 updating BB boundaries.
8213 (tidy_fallthru_edge): Likewise.
8214 (commit_one_edge_insertion): Likewise.
8215 * cfgbuild.c (find_basic_block): Likewise.
8216 (find_basic_blocks_1): Likewise.
8217 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8218 (try_crossjump_to_edge): Likewise.
8219 (try_optimize_cfg): Likewise.
8220 * cse.c (delete_trivially_dead_insns): Likewise.
8221 * df.c (df_insn_delete): Likewise.
8222 * doloop.c (doloop_modify): Use delete_related_insns.
8223 * emit-rtl.c (try_split): Likewise.
8224 (remove_insn): Update BB boundaries.
8225 * expect.c (connect_post_landing_pads): Use delete_related_insns.
8226 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8227 updating BB boundaries.
8228 (propagate_block_delete_insn): Likewise.
8229 (propagate_block_delete_libcall): Likewise.
8230 * function.c (delete_handlers): Use delete_related_insns.
8231 (thread_prologue_and_epilogue_insns): Likewise.
8232 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8233 * genpeep.c (gen_peephole): Use delete_related_insns.
8234 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8235 BB boundaries.
8236 (find_cond_trap): Likewise.
8237 * integrate.c (save_for_inline): Use delete_related_insns.
8238 (copy_insn_list): Likewise.
8239 * jump.c (pruge_linie_number_notes): Likewise.
8240 (duplicate_loop_exit_test): Likewise.
8241 (delete_computation): Likewise.
8242 (delete_related_insn): Rename from ...; use delete_insn
8243 (delete_insn): ... this one.
8244 (redirect_jump): Use delete_related_insns.
8245 * loop.c (scan_loop): Likewise.
8246 (move_movables): Likewise.
8247 (find_and_verify_loops): Likewise.
8248 (check_dbra_loop): Likewise.
8249 * recog.c (peephole2_optimize): Likewise.
8250 * reg-stack.c (delete_insn_for_stacker): Remove.
8251 (move_for_stack_reg): Use delete_insn.
8252 * regmove.c (combine_stack_adjustments_for_block): Likewise.
8253 * reload1.c (delete_address_reloads): Use delete_related_insns.
8254 (fixup_abnormal_edges): Use delete_insn.
8255 * recog.c (emit_delay_sequence): Use delete_related_insns.
8256 (delete_from-delay_slot): Likewise.
8257 (delete_scheduled_jump): likewise.
8258 (optimize_skip): Likewise.
8259 (try_merge_delay_insns): Likewise.
8260 (full_simple_delay_slots): Likewise.
8261 (fill_slots_from_thread): Likewise.
8262 (relax_delay_slots): Likewise.
8263 (make_return_insns): Likewise.
8264 (dbr_schedule): Likewise.
8265 * rtl.h (delete_insn): Rename to delete_related_insns.
8266 (delete_insn, delete_insn_chain): New prototypes.
8267 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
8268 by df_insn_delete already.
8269 * ssa-dce.c (delete_insn_bb): Use delete_insn.
8270 * ssa.c (convert_from_ssa): Use delete_related_insns.
8271 * unroll.c (unroll_loop): Likewise.
8272 (calculate_giv_inc): Likewise.
8273 (copy_loop_body): Likewise.
8274
8275 * i386-protos.h (ix86_libcall_value, ix86_function_value,
8276 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8277 ix86_return_in_memory, ix86_function_value): Declare.
8278 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8279 new static valurables.
8280 (x86_64_reg_class): New enum
8281 (x86_64_reg_class_name): New array.
8282 (classify_argument, examine_argument, construct_container,
8283 merge_classes): New static functions.
8284 (optimization_options): Enable flag_omit_frame_pointer and disable
8285 flag_pcc_struct_return on 64bit.
8286 (ix86_libcall_value, ix86_function_value,
8287 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8288 ix86_return_in_memory, ix86_function_value): New global functions.
8289 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8290 (function_arg_advance): Handle x86_64 passing conventions.
8291 (function_arg): Likewise.
8292 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8293 (RETURN_IN_MEMORY): Move offline.
8294 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8295 (FUNCTION_VALUE_REGNO_P): New macro.
8296 (FUNCTION_ARG_REGNO_P): Move offline.
8297 (struct ix86_args): Add maybe_vaarg.
8298 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8299 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8300
8301 2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8302
8303 * s390.md: Changed attributes for scheduling.
8304 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8305 Changed scheduling
8306
8307 2001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8308
8309 Table-driven attributes.
8310 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8311 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8312 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8313 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8314 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8315 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8316 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8317 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8318 * tree.h (struct tree_decl): Change machine_attributes to
8319 attributes.
8320 * doc/c-tree.texi: Document that all attributes are now attached
8321 to decls and types.
8322 * c-common.c (add_attribute, attrtab, attrtab_idx,
8323 default_valid_lang_attribute, valid_lang_attribute): Remove.
8324 (attribute_tables, attributes_initialized,
8325 c_common_attribute_table, default_lang_attribute_table): New
8326 variables.
8327 (handle_packed_attribute, handle_nocommon_attribute,
8328 handle_common_attribute, handle_noreturn_attribute,
8329 handle_unused_attribute, handle_const_attribute,
8330 handle_transparent_union_attribute, handle_constructor_attribute,
8331 handle_destructor_attribute, handle_mode_attribute,
8332 handle_section_attribute, handle_aligned_attribute,
8333 handle_weak_attribute, handle_alias_attribute,
8334 handle_no_instrument_function_attribute,
8335 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8336 handle_no_limit_stack_attribute, handle_pure_attribute): New
8337 functions.
8338 (init_attributes, decl_attributes): Rewrite to implement
8339 table-driven attributes.
8340 * c-common.h (enum attribute_flags): Move to tree.h.
8341 * c-format.c (decl_handle_format_attribute,
8342 decl_handle_format_arg_attribute): Rename to
8343 handle_format_attribute and handle_format_arg_attribute. Update
8344 for table-driven attributes.
8345 * c-common.h (decl_handle_format_attribute,
8346 decl_handle_format_arg_attribute): Remove prototypes.
8347 (handle_format_attribute, handle_format_arg_attribute): Add
8348 prototypes.
8349 * c-decl.c (grokdeclarator): Handle attributes nested inside
8350 declarators.
8351 * c-parse.in (setattrs, maybe_setattrs): Remove.
8352 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8353 Update to handle nested attributes properly.
8354 (maybe_resetattrs, after_type_declarator,
8355 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8356 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8357 properly.
8358 (make_pointer_declarator): Update to handle nested attributes
8359 properly.
8360 * doc/extend.texi: Update documentation of limits of attributes
8361 syntax. Warn about problems with attribute semantics in C++.
8362 * target.h (struct target): Remove valid_decl_attribute and
8363 valid_type_attribute. Add attribute_table and
8364 function_attribute_inlinable_p.
8365 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8366 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8367 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8368 Add.
8369 (TARGET_INITIALIZER): Update.
8370 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8371 definition.
8372 (function_attribute_inlinable_p): New function. Check for the
8373 presence of any machine attributes before using
8374 targetm.function_attribute_inlinable_p.
8375 (function_cannot_inline_p): Update.
8376 * Makefile.in (integrate.o): Update dependencies.
8377 * doc/tm.texi: Update documentation of target attributes and
8378 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8379 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8380 Remove.
8381 (default_target_attribute_table,
8382 default_function_attribute_inlinable_p): New.
8383 (lookup_attribute): Update comment to clarify handling of multiple
8384 attributes with the same name.
8385 (merge_attributes, attribute_list_contained): Allow multiple
8386 attributes with the same name but different arguments to appear in
8387 the same attribute list.
8388 * tree.h (default_valid_attribute_p): Remove prototype.
8389 (struct attribute_spec): New.
8390 (default_target_attribute_table): Declare.
8391 (enum attribute_flags): Move from c-common.h. Add
8392 ATTR_FLAG_TYPE_IN_PLACE.
8393 (default_function_attribute_inlinable_p): Declare.
8394 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8395 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8396 (TARGET_ATTRIBUTE_TABLE): Define.
8397 (vms_attribute_table): New.
8398 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8399 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8400 (TARGET_ATTRIBUTE_TABLE): Define.
8401 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8402 * config/arm/arm.c (arm_valid_type_attribute_p,
8403 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8404 Remove.
8405 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8406 define.
8407 (TARGET_ATTRIBUTE_TABLE): Define.
8408 (arm_attribute_table, arm_handle_fndecl_attribute,
8409 arm_handle_isr_attribute): New.
8410 * config/avr/avr.c (avr_valid_type_attribute,
8411 avr_valid_decl_attribute): Remove.
8412 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8413 define.
8414 (TARGET_ATTRIBUTE_TABLE): Define.
8415 (avr_attribute_table, avr_handle_progmem_attribute,
8416 avr_handle_fndecl_attribute): New.
8417 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8418 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8419 (TARGET_ATTRIBUTE_TABLE): Define.
8420 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8421 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8422 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8423 (TARGET_ATTRIBUTE_TABLE): Define.
8424 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8425 h8300_handle_eightbit_data_attribute,
8426 h8300_handle_tiny_data_attribute): New.
8427 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8428 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8429 Remove prototypes.
8430 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8431 declarations.
8432 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8433 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8434 define.
8435 (TARGET_ATTRIBUTE_TABLE): Define.
8436 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8437 ix86_handle_regparm_attribute): New.
8438 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8439 i386_pe_valid_type_attribute_p): Remove.
8440 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8441 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8442 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8443 (TARGET_ATTRIBUTE_TABLE): Define.
8444 (ia64_attribute_table): New.
8445 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8446 interrupt_ident2, model_ident1, model_ident2): Remove.
8447 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8448 (TARGET_ATTRIBUTE_TABLE): Define.
8449 (init_idents): Update.
8450 (m32r_attribute_table, m32r_handle_model_attribute): New.
8451 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8452 Remove.
8453 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8454 (TARGET_ATTRIBUTE_TABLE): Define.
8455 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8456 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8457 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8458 (TARGET_ATTRIBUTE_TABLE): Define.
8459 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8460 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8461 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8462 (TARGET_ATTRIBUTE_TABLE): Define.
8463 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8464 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8465 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8466 (TARGET_ATTRIBUTE_TABLE): Define.
8467 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8468 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8469 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8470 (TARGET_ATTRIBUTE_TABLE): Define.
8471 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8472 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8473 New.
8474 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8475 Remove.
8476 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8477 (TARGET_ATTRIBUTE_TABLE): Define.
8478 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8479 New.
8480 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8481 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8482 (TARGET_ATTRIBUTE_TABLE): Define.
8483 (v850_attribute_table, v850_handle_interrupt_attribute,
8484 v850_handle_data_area_attribute): New.
8485 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8486 Return void. Call decl_attributes instead of
8487 valid_machine_attribute.
8488
8489 Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8490
8491 * sh-protos.h (sh_pr_n_sets): Declare.
8492 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8493 look at the copy to determine if PR needs to be saved.
8494 sh_pr_n_sets: New function.
8495 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8496 (ALLOCATE_INITIAL_VALUE): Define.
8497
8498 * sh.c (initial_elimination_offset):
8499 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8500
8501 Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8502
8503 * integrate.c (allocate_initial_values): New function.
8504 * integrate.h (allocate_initial_values): Declare.
8505 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8506 here...
8507 * reload1.c (reload): And initialization of reg_equiv_memory_loc
8508 from here...
8509 * toplev.c (rest_of_compilation): To here.
8510 Call allocate_initial_values.
8511 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8512
8513 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8514
8515 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8516
8517 2001-09-20 DJ Delorie <dj@redhat.com>
8518
8519 * c-typeck.c (really_start_incremental_init): Discriminate
8520 between zero-length arrays and flexible arrays.
8521 (push_init_level): Detect zero-length arrays and handle them
8522 like fixed-sized arrays.
8523 * expr.c (store_constructor): Handle zero-length arrays and
8524 flexible arrays correctly.
8525 * doc/extend.texi: Update zero-length array notes.
8526
8527 2001-09-20 Jim Wilson <wilson@redhat.com>
8528
8529 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8530 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8531 for issue port conflicts.
8532 (cycle_end_fill_slots): TYPE_L instructions take two slots.
8533
8534 2001-09-20 Andrew MacLeod <amacleod@redhat.com>
8535
8536 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8537 on ia64.
8538
8539 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8540
8541 * fold-const.c (hashtab.h): Include.
8542 (int_const_binop): Remove FORSIZE arg and compute from type; all
8543 callers changed.
8544 Call size_int_type_wide for all single-word constants.
8545 (size_htab_hash, size_htab_eq): New functions.
8546 (size_int_type_wide): Rework to use hash table.
8547 * ggc-common.c (hashtab.h): Include.
8548 (struct d_htab_root): New struct.
8549 (d_htab_roots): New variable.
8550 (ggc_add_deletable_htab, ggc_htab_delete): New functions
8551 (ggc_mark_roots): Handle deletable htabs.
8552 * ggc-page.c (ggc_marked_p): New function.
8553 * ggc-simple.c (ggc_marked_p): Likewise.
8554 * ggc.h: Reformatting throughout.
8555 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8556 * tree.c (init_obstacks): Make type_hash_table a deletable root.
8557 (type_hash_add): Allocate struct type_hash from GC memory.
8558 (mark_hash_entry, mark_type_hash): Deleted.
8559 (type_hash_marked_p, type_hash_mark): New functions.
8560 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8561
8562 Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
8563
8564 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8565 than SImode.
8566
8567 Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8568
8569 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8570 array-too-large test for signed sizetype.
8571
8572 Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
8573
8574 * i386.md (indirect_jump): Allow Pmode operand.
8575 (tablejump): LIkewise; perform expansion to 64bit mode.
8576 * i386.c (symbolic_operand): Allow 64bit PIC references.
8577 (pic_symbolic_operand): Likewise.
8578 (ix86_find_base_term): Strip the 64bit PIC references.
8579 (legitimate_pic_address_disp_p): Handle 64bit PIC.
8580 (legitimize_pic_address): Likewise.
8581 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8582 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8583
8584 2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
8585
8586 * stringpool.c (get_identifier_with_length): New function.
8587 * tree.h (get_identifier_with_length): New prototype.
8588
8589 2001-09-19 Alan Modra <amodra@bigpond.net.au>
8590 David Edelsohn <edelsohn@gnu.org>
8591
8592 Revert:
8593 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8594 already sign-extended.
8595
8596 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8597 * config/rs6000/rs6000.c (logical_operand): Always compare op as
8598 HOST_WIDE_INT.
8599 (rs6000_emit_set_long_const): Avoid unnecessary shift.
8600 (output_profile_hook): Declare label_name const.
8601 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8602 to match constraints.
8603
8604 2001-09-19 Stan Shebs <shebs@apple.com>
8605
8606 * alias.c: Fix typos in comments.
8607 * sched-rgn.c (init_ready_list): Ditto.
8608 * unwind-dw2.c (uw_frame_state_for): Ditto.
8609 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8610 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8611 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8612
8613 2001-09-19 Richard Henderson <rth@redhat.com>
8614
8615 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8616 to the exit block.
8617 * Makefile.in (cfg.o): Depend on TM_P_H.
8618
8619 2001-09-19 Richard Henderson <rth@redhat.com>
8620
8621 * config/alpha/alpha.c (local_symbol_p): Split out from ...
8622 (local_symbolic_operand): ... here.
8623 (small_symbolic_operand): Check mode.
8624 (global_symbolic_operand): New.
8625 (input_operand): Reject symbolics if explicit relocs.
8626 (call_operand): Tidy.
8627 (alpha_legitimize_address): Use movdi_er_high_g.
8628 (alpha_expand_mov): Likewise.
8629 * config/alpha/alpha-protos.h: Update.
8630 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8631 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8632 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8633 (UNSPECV_LDGP2): Remove.
8634 (all call patterns): Use 's' not 'i' for symbolic constraint.
8635 (call_osf call_value_osf): Use call_operand.
8636 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
8637 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8638 (prologue_ldgp_1_er): Remove.
8639 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8640 (builtin_setjmp_receiver_er patterns): Use them.
8641 (exception_receiver_er): Likewise.
8642
8643 2001-09-19 Richard Henderson <rth@redhat.com>
8644
8645 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8646
8647 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8648 and NON_LOCAL_GOTO notes.
8649 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
8650 copy over CALL_INSN_FUNCTION_USAGE.
8651
8652 2001-09-18 Catherine Moore <clm@redhat.com>
8653
8654 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8655 Define as 0.
8656
8657 2001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
8658
8659 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8660 new-style tm_file specification. Specify correct tm_p_file,
8661 md_file, and out_file for s390x.
8662
8663 * config/s390/linux.h, linux64.h: Don't include other target
8664 macro header files. Now handled via tm_file.
8665
8666 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8667 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8668 are defined before use.
8669
8670 Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
8671
8672 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8673 code generation only for Gnu assembler.
8674
8675 2001-09-18 Catherine Moore <clm@redhat.com>
8676
8677 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8678
8679 2001-09-18 Richard Sandiford <rsandifo@redhat.com>
8680
8681 * config/mips/mips.c (mips_frame_set): New.
8682 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8683 a parallel frame-related expression with a set for each register.
8684
8685 2001-09-18 Philip Blundell <philb@gnu.org>
8686
8687 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8688 header files.
8689
8690 2001-09-17 Dale Johannesen <dalej@apple.com>
8691
8692 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8693 * config/rs6000/aix.h (FIXED_R2): Define.
8694 * config/rs6000/darwin.h (FIXED_R2): Define.
8695 * config/rs6000/sysv4.h (FIXED_R2): Define.
8696
8697 2001-09-17 Jeff Sturm <jsturm@one-point.com>
8698
8699 * except.c (dw2_build_landing_pads): New local
8700 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
8701 barrier after clobbers. Fixes c++/4012.
8702
8703 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8704
8705 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8706
8707 2001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8708
8709 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8710 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8711
8712 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8713
8714 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8715 alloca/strcpy.
8716
8717 2001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
8718
8719 * cpphash.h (_cpp_lex_direct): New.
8720 * cpplex.c (_cpp_lex_token): Update.
8721 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8722 and increment that pointer.
8723 * cppmacro.c (alloc_expansion_token): New.
8724 (lex_expansion_token): Lex macro expansion directly into
8725 macro storage.
8726
8727 2001-09-16 Brad Lucier <lucier@math.purdue.edu>
8728
8729 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8730
8731 Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
8732
8733 * basic-block.h (free_bb_for_insn): Declare.
8734 * bb-reorder.c (label_for_bb): Use block_label.
8735 (emit_jump_to_block_after): Remove.
8736 (insert_intra_1): Do not update block_for_insn.
8737 (insert_inter_bb_scope_notes): Likewise; update bb->end
8738 * cfg.c (free_bb_for_insn): New.
8739 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8740 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8741 (commit_one_edge_insertion): Likewise.
8742 (commit_one_edge_insertion): Do not update BB boundary.
8743 (commit_edge_insertions): Do not call compute_bb_for_insn.
8744 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8745 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8746 (merge_blocks_move_successor_nojumps): Likewise.
8747 (try_crossjump_to_edge): Do not update block_for_insn.
8748 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8749 * df.c (df_pattern_emit_later): Do not update BB boundary.
8750 (df_jump_pattern_emit_after): Likewise.
8751 (df_insn_move_before): Use emit_insn_before.
8752 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8753 properly.
8754 (add_insn_after, add_insn_before, emit_insns_after): Update BB
8755 boundaries and basic_block_for_insn.
8756 (reorder_insns_nobb): Rename from reorder_insns.
8757 (reorder_insns): New.
8758 (emit_block_insn_before, emit_block_insn_after): Kill.
8759 * flow.c (check_function_return_warnings): Do not call
8760 compute_bb_for_insn; Do not free basic_block_for_insn.
8761 (attempt_auto_inc): Do not update basic_block_for_insn.
8762 * function.c (emit_return_into_block): Likewise;
8763 do not update BB boundaries.
8764 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8765 (insert_insn_end_bb): Use emit_insn_before; Likewise.
8766 (pre_insert_copy_insn): Likewise.
8767 (update_ld_motion_notes): Likewise.
8768 (insert_insn_start_bb): Likewise.
8769 (replace_store_insn): Likewise.
8770 * ifcvt.c (noce_process_if_block): Likewise.
8771 (if_convert): Do not call compute_bb_for_insn.
8772 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8773 Use emit_insn_before and emit_insn_after.
8774 * recog.c (split_all_insns): Do not update BB boundaries;
8775 Do not call compute_bb_for_insn.
8776 (peephole2_optimize): Do not update BB boundaries.
8777 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8778 emit_insn_before.
8779 (emit_swap_insn): Likewise.
8780 (convert_regs_1): Likewise.
8781 * reload1.c (reload): Call compute_bb_for_insn.
8782 * rtl.h (reorder_insns_nobb): Declare.
8783 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8784 * toplev.c (rest_of_compilation): Call free_bb_for_insn
8785 at places CFG is invalidated; do not call compute_bb_for_insn.
8786
8787 * cfg.c (expunge_block): Invalidate BB structure.
8788
8789 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8790 array.
8791
8792 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8793
8794 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8795
8796 * cpphash.h (_cpp_lex_token): Update prototype.
8797 * cpplex.c (_cpp_lex_token): New prototype.
8798 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8799 lex_macro_node, read_flag, do_pragma_poison): Update.
8800 * cppmacro.c (cpp_get_token, parse_params,
8801 lex_expansion_token): Update.
8802
8803 2001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
8804
8805 * cppmain.c (scan_translation_unit): Don't worry about
8806 putting a space after hashes.
8807 * cpplib.c (directive_diagnostics): New.
8808 (_cpp_handle_directive): Update to use directive_diagnostics.
8809 (run_directive): Don't toggle prevent_expansion.
8810 (do_line): Backup in case of the line extension.
8811 * cpplib.h (cpp_lexer_pos): Remove.
8812 * cppmacro.c (_cpp_create_definition): Precede a leading #
8813 with whitespace.
8814
8815 2001-09-15 Richard Henderson <rth@redhat.com>
8816
8817 * c-typeck.c (comptypes): Handle zero-length arrays properly.
8818
8819 2001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8820
8821 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8822
8823 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8824
8825 PR preprocessor/3571
8826 * tradcpp.c (handle_directive): Skip non-vertical space.
8827
8828 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8829
8830 * cppmain.c (setup_callbacks): Set line callback only
8831 if outputting preprocessed source.
8832
8833 2001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8834
8835 * collect2.c (main): Const-ification.
8836 * gcc.c (translate_options, process_command): Use xstrdup in
8837 lieu of xmalloc/strcpy.
8838 (main): Use concat in lieu of xmalloc/strcpy/strcat.
8839
8840 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8841
8842 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8843 example.
8844
8845 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8846
8847 * scan-decls.c (scan_decls): Fix typo.
8848
8849 2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
8850
8851 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8852 Split mlstring_pos into mls_line and mls_col.
8853 * cppinit.c (cpp_create_reader): Initialize line to 1.
8854 (cpp_destroy): Free tokenruns.
8855 (push_include): Don't update lexer_pos.
8856 * cpplex.c (unterminated, parse_string): Update.
8857 (lex_token): Don't update lexer_pos, update.
8858 * cpplib.c (if_stack): Save line instead of line + col.
8859 (start_directive, _cpp_do__Pragma, do_else, do_elif,
8860 push_conditional, _cpp_pop_buffer): Update.
8861 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8862 (_cpp_create_definition): Update.
8863
8864 2001-09-15 Eric Christopher <echristo@redhat.com>
8865
8866 * config/mips/abi64.h: Add support for MEABI.
8867
8868 2001-09-15 Eric Christopher <echristo@redhat.com>
8869
8870 * config/mips/mips.md: Add unspec #2.
8871 (reload_indi): Use.
8872 (reload_outdi): Ditto.
8873 (reload_outsi): Ditto.
8874 (HILO_delay): New.
8875
8876 2001-09-15 Eric Christopher <echristo@redhat.com>
8877 Jason Eckhardt <jle@redhat.com>
8878
8879 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8880 * config/mips/isa32-linux.h: New file.
8881 * config/mips/isa3264.h: Ditto.
8882 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8883 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8884 (output_block_mode): Support MEABI.
8885 (function_arg): Ditto. Fix floating point arg passing.
8886 (mips_va_start): Ditto.
8887 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8888 processors.
8889 (mips_asm_file_start): Add new section to pass abi to gdb.
8890 (function_arg_pass_by_reference): Support MEABI.
8891 (mips_parse_cpu): Support mips32 and mips64 processors.
8892 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8893 TARGET_MIPS5KC. Support isa32 and isa64.
8894 (processor_type): Add r4kc, r5kc, r20kc.
8895 (GENERATE_MULT3_SI): New.
8896 (GENERATE_MULT3_DI): Ditto.
8897 (GENERATE_MULT3): Remove.
8898 (ISA_HAS_64BIT_REGS): Add isa == 64.
8899 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8900 (ISA_HAS_MADD_MSUB): New.
8901 (ISA_HAS_CLZ_CLO): Ditto.
8902 (ISA_HAS_DCLZ_DCLO): Ditto.
8903 (ABI_GAS_ASM_SPEC): New.
8904 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8905 (ASM_SPEC): Ditto.
8906 (LINK_SPEC): Ditto.
8907 (SUBTARGET_CC1_SPEC): Ditto.
8908 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8909 (PAD_VARARGS_DOWN): Support MEABI.
8910 (HARD_REGNO_NREGS): Move to mips.c.
8911 (ASM_OUTPUT_IDENT): Add #undef.
8912 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8913 (mulsi3): Use GENERATE_MULT3_SI.
8914 (mulsi3_mult3): Ditto. Support mips32, mips64.
8915 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8916 (mul_sub_si): New pattern.
8917 (unnamed splitters): New.
8918 (muldi3): Use GENERATE_MULT3_DI.
8919 (muldi3_internal2): Ditto.
8920 (movdicc): Support mips32.
8921 * config/mips/t-isa3264: New file.
8922
8923 2001-09-15 Hans-Peter Nilsson <hp@axis.com>
8924
8925 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8926 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8927 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8928
8929 * reorg.c (fill_slots_from_thread): After call to
8930 steal_delay_list_from_target, update own_thread as new_thread may
8931 have branched.
8932
8933 2001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
8934
8935 * cpperror.c (print_location): Take line and column, for
8936 default positioning use the previously lexed token.
8937 (_cpp_begin_message): Take line and column.
8938 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8939 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8940 * cpphash.h (_cpp_begin_message): Update prototype.
8941 * cppinit.c (push_include): Don't set output line.
8942 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8943 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8944 (do_pragma): Kludge for front ends. Don't expand macros at all.
8945 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8946 (struct cpp_token): Remove output_line.
8947 (struct cpp_callbacks): New member line_change.
8948 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8949 cpp_get_token): Preserve BOL flag.
8950 (cpp_get_line): Remove.
8951 (_cpp_backup_tokens): Remove useless abort().
8952 * cppmain.c (cb_line_change): New.
8953 (scan_translation_unit): Don't worry about starting new lines here.
8954 * scan-decls.c (scan_decls): Update.
8955 * c-lex.c (c_lex, init_c_lex): Update.
8956 (cb_line_change, src_lineno): New.
8957
8958 Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
8959
8960 * tree.c (append_random_chars): Generate the random
8961 characters in a reproducable fashion.
8962
8963 2001-09-14 Richard Henderson <rth@redhat.com>
8964
8965 * config/i386/i386.c (internal_label_prefix): New.
8966 (internal_label_prefix_len): New.
8967 (override_options): Set them.
8968 (local_symbolic_operand): New.
8969 (legitimate_pic_address_disp_p): Use it.
8970 (legitimize_pic_address): Likewise.
8971
8972 2001-09-14 Marc Espie <espie@openbsd.org>
8973
8974 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
8975 correctly.
8976
8977 2001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
8978
8979 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8980 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8981
8982 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8983
8984 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8985 invocation of SUBREG_REGNO_OFFSET.
8986
8987 * haifa-sched.c: Fix typo in FSF copyright statement.
8988 * sched-deps.c: Fix typo in FSF copyright statement.
8989 * sched-ebb.c: Fix typo in FSF copyright statement.
8990 * sched-rgn.c: Fix typo in FSF copyright statement.
8991 * sched-vis.c: Fix typo in FSF copyright statement.
8992
8993 * config.gcc: Move inclusion of arm elf specific header files
8994 from the files themselves into the tm_file variable. Make
8995 sure that elfos.h is included before target specific elf
8996 headers.
8997 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8998 already defined.
8999 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
9000 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
9001 ASM_OUTPUT_CASE_LABEL): Protect definition.
9002 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
9003 not already defined.
9004 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
9005 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
9006 Remove duplicate definition.
9007 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
9008 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
9009 (RDATA_SECTION_FUNCTION): Remove redundant definition.
9010 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
9011 Remove inclusion of arm/elf.h.
9012 * config/arm/unknown-elf.h: as for conix-elf.h.
9013 (STARTFILE_SPEC): Include crti.o and crtn.o.
9014 * config/arm/linux-elf.h: as for conix-elf.h.
9015 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
9016 * config/arm/strongarm-elf.h: Remove inclusion of
9017 unknown-elf.h.
9018 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
9019 * config/arm/unknown-elf-oabi.h: Remove inclusion of
9020 unknown-elf.h and elf.h.
9021 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
9022 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
9023 ASM_WEAKEN_LABEL): Remove redundant definition.
9024 * config/arm/elf.h: Test for inclusion of elfos.h
9025 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
9026 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
9027 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
9028 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
9029 redundant definition.
9030 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
9031 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
9032 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
9033 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
9034 Add rules to build crti.o and crtn.o
9035 * crti.asm: New file.
9036 * crtn.asm: New file.
9037
9038 2001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
9039
9040 * c-parse.in (_yylex): Use _cpp_backup_tokens.
9041 * cpphash.h (struct tokenrun): Add prev.
9042 (struct lexer_state): Remove bol.
9043 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
9044 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
9045 : Remove.
9046 * cppinit.c (cpp_create_reader): Don't set bol.
9047 (cpp_destroy): Don't free lookaheads.
9048 * cpplex.c (lex_directive): Remove.
9049 (next_tokenrun): Update.
9050 (_cpp_lex_token): Clean up logic.
9051 (lex_token): Update to return a pointer to lexed token, since it
9052 can move to the start of the buffer. Simpify newline handling.
9053 * cpplib.c (SEEN_EOL): Update.
9054 (skip_rest_of_line): Remove lookahead stuff.
9055 (end_directive): Line numbers are already incremented. Revert
9056 to start of lexed token buffer if we can.
9057 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
9058 parse_answer): Use _cpp_backup_tokens.
9059 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
9060 instead. Don't check for EOL.
9061 (do_include_common, do_line, do_pragma_system_header): Use
9062 skip_rest_of_line.
9063 * cpplib.h (BOL, _cpp_backup_tokens): New.
9064 * cppmacro.c (save_lookahead_token, take_lookahead_token,
9065 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
9066 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
9067 (builtin_macro): Don't use cpp_get_line.
9068 (cpp_get_line): Short term kludge.
9069 (parse_arg): Handle directives in arguments here. Back up when
9070 appropriate. Store EOF at end of argument list.
9071 (funlike_invocation_p): Use _cpp_backup_tokens.
9072 (push_arg_context): Account for EOF at end of list.
9073 (cpp_get_token): Remove lookahead stuff. Update.
9074
9075 2001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9076
9077 * c-parse.in (yyerror): Const-ification and/or static-ization.
9078 * c-typeck.c (push_member_name): Likewise.
9079 * collect2.c (main): Likewise.
9080 * dbxout.c (dbxout_parms): Likewise.
9081 * diagnostic.c (format_with_decl): Likewise.
9082 * dwarf2out.c (output_ranges): Likewise.
9083 * dwarfout.c (fundamental_type_code): Likewise.
9084 * except.c (dw2_output_call_site_table): Likewise.
9085 * gcc.c (do_spec_1): Likewise.
9086 * genopinit.c (optabs): Likewise.
9087 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
9088 gen_declaration_1, handle_impent): Likewise.
9089 * protoize.c (default_include, in_system_include_dir, abspath):
9090 Likewise.
9091 * sched-vis.c (visualize_stall_cycles): Likewise.
9092 * sdbout.c (plain_type_1, sdbout_end_function,
9093 sdbout_end_epilogue): Likewise.
9094 * varasm.c (decode_reg_name): Likewise.
9095
9096 * 1750a.c (mod_regno_adjust): Likewise.
9097 * alpha.c (alpha_write_one_linkage,
9098 unicosmk_output_default_externs): Likewise.
9099 * arm.c (arm_condition_codes): Likewise.
9100 * arm.h (arm_condition_codes): Likewise.
9101 * avr.c (output_movsisf, encode_section_info): Likewise.
9102 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
9103 Likewise.
9104 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9105 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9106 * m88k.c (output_function_profiler): Likewise.
9107 * mips.c (mips_output_conditional_branch): Likewise.
9108 * ns32k.c (ns32k_out_reg_names): Likewise.
9109 * ns32k.h (ns32k_out_reg_names): Likewise.
9110 * pj.c (pj_output_rval): Likewise.
9111 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
9112 * sparc.c (sparc_flat_function_prologue,
9113 sparc_flat_function_epilogue): Likewise.
9114
9115 2001-09-13 Markus Werle <numerical.simulation@web.de>
9116 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9117
9118 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
9119 Aachen University of Technology".
9120
9121 2001-09-13 Andreas Schwab <schwab@suse.de>
9122
9123 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
9124 C99.
9125
9126 2001-09-13 Richard Henderson <rth@redhat.com>
9127
9128 * config/alpha/alpha.c (small_symbolic_operand): New.
9129 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
9130 (some_operand, input_operand): Don't handle HIGH.
9131 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
9132 (alpha_expand_mov): Likewise.
9133 (print_operand) [H]: Just print HIGH symbol.
9134 (print_operand_address): Handle small data.
9135 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
9136 (TARGET_SWITCHES): Add -msmall-data/large-data.
9137 (PIC_OFFSET_TABLE_REGNUM): New.
9138 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
9139 (PREDICATE_COES): Update.
9140 * config/alpha/alpha.md (adddi_er_high): New.
9141 (adddi_er_low): Handle small data.
9142 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
9143 prefer .sdata to .rodata.
9144 (SELECT_RTX_SECTION): Likewise.
9145
9146 2001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
9147
9148 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
9149 defining __size_t and leaving size_t undefined.
9150
9151 2001-09-12 Diego Novillo <dnovillo@redhat.com>
9152
9153 * basic-block.h (expunge_block): Declare.
9154 * cfg.c (expunge_block): Remove static declaration.
9155
9156 2001-09-12 Richard Henderson <rth@redhat.com>
9157
9158 * integrate.c (copy_insn_list): Copy label name from
9159 NOTE_INSN_DELETED_LABEL.
9160
9161 2001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9162
9163 * c-common.c (c_tree_code_name): Const-ification.
9164 * c-decl.c (c_decode_option): Likewise.
9165 * c-typeck.c (warn_for_assignment): Likewise.
9166 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
9167 Likewise.
9168 * cppinit.c (output_deps): Likewise.
9169 * dependence.c (dependence_string, direction_string): Likewise.
9170 * dwarf2out.c (output_ranges): Likewise.
9171 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
9172 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
9173 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
9174 standard_startfile_prefix, standard_startfile_prefix_1,
9175 standard_startfile_prefix_2, tooldir_base_prefix,
9176 standard_bindir_prefix, find_a_file): Likewise.
9177 * genattrtab.c (make_length_attrs): Likewise.
9178 * gencheck.c (tree_codes): Likewise.
9179 * genemit.c (gen_split): Likewise.
9180 * genrecog.c (special_mode_pred_table): Likewise.
9181 * graph.c (graph_ext): Likewise.
9182 * protoize (default_include): Likewise.
9183 * reload.c (reload_when_needed_name): Likewise.
9184 * sched-vis.c (visualize_stall_cycles): Likewise.
9185 * tlink.c (recompile_files): Likewise.
9186 * toplev.c (decode_g_option): Likewise.
9187 * tradcpp.c (output_deps): Likewise.
9188 * varasm.c (decode_reg_name): Likewise.
9189
9190 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
9191 Const-ification.
9192 * arm.md: Likewise.
9193 * avr.c (avr_regnames, encode_section_info): Likewise.
9194 * c4x.c (float_reg_names): Likewise.
9195 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
9196 * elfos.h (const_section): Likewise.
9197 * i386.c (ix86_comp_type_attributes): Likewise.
9198 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9199 * ia64/aix.h (UNIQUE_SECTION): Likewise.
9200 * ia64.c (type_names): Likewise.
9201 * m68hc11.c (reg_class_names): Likewise.
9202 * m88k.c (m_options): Likewise.
9203 * mips.c (mips_output_conditional_branch, mips_unique_section):
9204 Likewise.
9205 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9206 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9207 ultra_code_names): Likewise.
9208 * sparc.h (OVERRIDE_OPTIONS): Likewise.
9209
9210 2001-09-12 Jakub Jelinek <jakub@redhat.com>
9211
9212 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9213 Use --fatal-warnings option for gas.
9214 * configure: Rebuilt.
9215
9216 2001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9217
9218 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9219
9220 2001-09-11 Jim Wilson <wilson@redhat.com>
9221
9222 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9223
9224 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9225
9226 * builtins.c (c_strlen): Treat an offset too large for a
9227 HOST_WIDE_INT as out of range.
9228
9229 Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
9230
9231 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9232 (EDGE_CRITICAL_P): New predicate.
9233 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9234 handling.
9235 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9236 (dump_edge_info): Remove "crit".
9237 * cfganal.c (mark_critical_edges): Kill.
9238 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9239 * cfgcleanup.c (cleanup_cfg): Likewise.
9240 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9241 (find_spanning_tree): Likewise.
9242 * reg-stack.c (convert_regs_1): Likewise.
9243 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9244
9245 * basic-block.h (create_basic_block_structure): New.
9246 (create_basic_block): Update prototype.
9247 (force_nonfallthru): New.
9248 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9249 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9250 handle updating of block_for_insn, creating of empty BBs and BBs at
9251 the end of INSN chain.
9252 (create_basic_block): New function.
9253 (split_block): Use create_basic_block.
9254 (force_nonfallthru_and_redirect): Break out from ...; cleanup
9255 (redirect_edge_and_branch_force): ... here.
9256 (force_nonfallthru): New.
9257 (split_edge): Rewrite to use force_nonfallthru and create_block.
9258 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9259 (find_basic_blocks): Free basic_block_for_insn.
9260 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9261
9262 * cfg.c: Fix formating.
9263 * cfgcleanup.c: Fix formating.
9264 (merge_blocks, tail_recursion_label_p): Return bool.
9265 (merge_blocks_move_predecessor_nojumps,
9266 merge_blocks_move_successor_nojumps): Return void.
9267
9268 2001-09-11 Jakub Jelinek <jakub@redhat.com>
9269
9270 * configure.in: Check whether assembler supports section merging.
9271 * config.in: Rebuilt.
9272 * configure: Rebuilt.
9273 * varasm.c (variable_section, output_constant_pool): Pass alignment
9274 to SELECT_SECTION and SELECT_RTX_SECTION.
9275 (mergeable_string_section): New.
9276 (mergeable_constant_section): New.
9277 (default_elf_asm_named_section): Output SECTION_MERGE and
9278 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9279 * output.h (mergeable_string_section): New.
9280 (mergeable_constant_section): New.
9281 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9282 * toplev.c (flag_merge_constants): New.
9283 (f_options): Add -fmerge-constants and -fmerge-all-constants
9284 options.
9285 (toplev_main): Default to -fno-merge-constants if not optimizing.
9286 * flags.h (flag_merge_constants): Add extern.
9287 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9288 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9289 argument.
9290 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9291 Define if assembler has working .subsection -1 support.
9292 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9293 Put constant into special SHF_MERGE sections if the linker should
9294 attempt to merge duplicates.
9295 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9296 macro argument.
9297 Put constant into special SHF_MERGE sections if the linker should
9298 attempt to merge duplicates.
9299 * config/alpha/elf.h: Likewise.
9300 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9301 has working .subsection -1 support.
9302 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9303 SELECT_SECTION.
9304 * config/svr3.h: Likewise.
9305 * config/darwin.h: Likewise.
9306 * config/arm/aof.h: Likewise.
9307 * config/arm/linux-elf.h: Likewise.
9308 * config/avr/avr.h: Likewise.
9309 * config/c4x/c4x.h: Likewise.
9310 * config/d30v/d30v.h: Likewise.
9311 * config/i386/dgux.h: Likewise.
9312 * config/i386/osfrose.h: Likewise.
9313 * config/i386/sco5.h: Likewise.
9314 * config/i386/svr3gas.h: Likewise.
9315 * config/ia64/aix.h: Likewise.
9316 * config/m32r/m32r.h: Likewise.
9317 * config/m68k/m68k.h: Likewise.
9318 * config/m88k/dgux.h: Likewise.
9319 * config/m88k/m88k.h: Likewise.
9320 * config/mcore/mcore-pe.h: Likewise.
9321 * config/mips/mips.h: Likewise.
9322 * config/pa/pa.h: Likewise.
9323 * config/pa/pa-linux.h: Likewise.
9324 * config/romp/romp.h: Likewise.
9325 * config/rs6000/sysv4.h: Likewise.
9326 * config/rs6000/xcoff.h: Likewise.
9327 * config/s390/linux.h: Likewise.
9328 * config/sparc/sparc.h: Likewise.
9329 * config/sparc/sysv4.h: Likewise.
9330 * config/stormy16/stormy16.h: Likewise.
9331 * config/v850/v850.h: Likewise.
9332 * config/vax/vms.h: Likewise.
9333 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9334 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9335 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9336 default_elf_asm_named_section for SHF_MERGE sections.
9337
9338 Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9339
9340 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9341 is OK.
9342
9343 2001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9344
9345 * c-common.c (split_specs_attrs): Allow for empty attributes with
9346 empty TREE_PURPOSE. Fixes PR c/4294.
9347
9348 Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9349
9350 * basic-block.h (cached_make_edge, make_single_succ): New.
9351 (make_edge): Remove first parameter.
9352 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9353 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9354 created edge; use obstack allocation.
9355 (make_edge, make_single_succ_edge): New.
9356 (first_removed_edge): New static variable.
9357 (init_flow): Initialize first_removed_edge and n_edges.
9358 (clear_edges): Use remove_edge.
9359 (flow_delete_block): Likewise.
9360 (remove_edge): Add removed edges to the removed edges list.
9361 (split_block, redirect_edge_and_branch_force, split_edge):
9362 Use make_edge.
9363 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9364 (add_noreturn_fake_exit_edges): Likewise.
9365 (connect_infinite_loops_to_exit): Liekwise.
9366 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9367 Use cached_make_edge.
9368 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9369 * profile.c (branch_prob): Update make_edge call.
9370 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9371
9372 2001-09-11 Richard Henderson <rth@redhat.com>
9373
9374 * config/alpha/alpha.c: Tidy formatting.
9375 (local_symbolic_operand): Verify mode.
9376 (alpha_sa_mask): Ignore unicos for eh_return.
9377 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9378 * config/alpha/alpha.md (umk divsi patterns): Remove.
9379 (extendsfdf2): Remove unicos check.
9380 (tablejump): Merge vms and unicos code; always use direct set
9381 plus label_ref use.
9382
9383 2001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9384
9385 * config.gcc (alpha*-*-unicosmk*): New target.
9386
9387 * config/alpha/alpha-protos.h (symbolic_operand,
9388 unicosmk_add_call_info_word, unicosmk_add_extern,
9389 unicosmk_defer_case_vector, unicosmk_unique_section,
9390 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9391 unicosmk_asm_file_start, unicosmk_asm_file_end,
9392 unicosmk_output_common): Declare.
9393
9394 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9395 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9396 alpha_does_function_need_gp, alpha_end_function): Support Cray
9397 Unicos/Mk.
9398 (alpha_init_machine_status, alpha_mark_machine_status,
9399 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9400 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9401 unicosmk_asm_named_section, unicosmk_insert_attributes,
9402 unicosmk_section_type_flags, symbolic_operand,
9403 unicosmk_output_module_name, unicosmk_output_default_externs,
9404 unicosmk_output_dex, unicosmk_output_externs,
9405 unicosmk_output_addr_vec, unicosmk_ssib_name,
9406 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9407 unicosmk_asm_file_end, unicosmk_output_common,
9408 unicosmk_section_type_flags, unicosmk_unique_section,
9409 unicosmk_add_call_info_word, unicosmk_text_section,
9410 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9411 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9412 unicosmk_dex_count, unicosmk_special_name): New.
9413 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9414 TARGET_ABI_UNICOSMK.
9415 (get_aligned_mem, alpha_expand_unaligned_load,
9416 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9417 alpha_expand_unaligned_store_words): Support big-endian mode.
9418 (print_operand): Likewise. New format specifier 't'. Use
9419 TARGET_AS_SLASH_BEFORE_SUFFIX.
9420 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9421 (alpha_pv_save_size): Update with above change.
9422 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9423 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9424 Unicos/Mk.
9425
9426 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9427 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9428 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9429 (EXTRA_CONSTRAINT): New constraint 'U'.
9430 (PREDICATE_CODES): Add symbolic_operand.
9431
9432 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9433 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9434 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9435 (integer division and modulus patterns): Split in default and
9436 Unicos/Mk versions.
9437 (*divmodsi_internal, *divmoddi_internal): Disable for
9438 TARGET_ABI_UNICOSMK.
9439 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9440 little-endian and big-endian versions.
9441 (ext, ins, msk): Likewise.
9442 (extv, extzv, insv): Support big-endian mode.
9443 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9444 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9445 *tablejump_umk_internal, *call_value_umk): New.
9446 (*movdi_nofix): Add pattern for loading an address into a register on
9447 TARGET_ABI_UNICOSMK.
9448 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9449 (umk_mismatch_args, arg_home_umk): New.
9450 (various insns): Don't use mov, fmov, nop, fnop and unop.
9451 (realign): Support TARGET_ABI_UNICOSMK.
9452
9453 * config/alpha/unicosmk.h: New file.
9454 * config/alpha/t-unicosmk: New file.
9455
9456 * fixinc/inclhack.def (unicosmk_restrict): New.
9457 * fixinc/fixincl.x: Regenerate.
9458
9459 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9460 (wchar_t): Check for and define __WCHAR_T__.
9461
9462 2001-09-11 Richard Sandiford <rsandifo@redhat.com>
9463
9464 * combine.c (simplify_shift_const): Treat shifts by the mode
9465 size as undefined.
9466
9467 2001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9468
9469 * cpphash.h (struct tokenrun): New.
9470 (struct cpp_context): New member bol.
9471 (struct cpp_reader): New members.
9472 (_cpp_init_tokenrun): New.
9473 * cppinit.c (cpp_create_reader): Set up the token runs.
9474 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9475 (lex_token): New internalised version of _cpp_lex_token. Don't
9476 handle directives or the multiple include optimization here any
9477 more. Simply lex a token.
9478 * cpplib.c (run_directive): Clear bol.
9479 (_cpp_pop_buffer): Set bol.
9480 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9481 arguments.
9482
9483 2001-09-11 Michael Meissner <meissner@redhat.com>
9484
9485 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9486 give an error if the user uses -mfp32.
9487 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9488 default options.
9489 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9490 floating point register size.
9491 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9492
9493 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9494 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9495 int_size_in_bytes.
9496 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9497 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9498
9499 2001-09-11 Hans-Peter Nilsson <hp@axis.com>
9500
9501 * dbxout.c (dbxout_parms): Fix typo in comment.
9502 * unroll.c (loop_find_equiv_value): Ditto.
9503 * toplev.c (rest_of_compilation): Ditto.
9504 * loop.c (scan_loop): Ditto.
9505 * dwarf2out.c (struct dw_fde_struct): Ditto.
9506
9507 2001-09-10 Zack Weinberg <zackw@panix.com>
9508
9509 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
9510 copying identifier when we're just going to throw it away.
9511 (parse_identifier_slow): New routine to handle abnormal cases.
9512 (_cpp_lex_token): Update call site.
9513
9514 * hashtable.c (ht_lookup): Don't assume that the string we've
9515 been given is NUL-terminated.
9516 * system.h: #define __builtin_expect(a, b) to (a) if not
9517 GCC >=3.0.
9518
9519 2001-09-10 Michael Meissner <meissner@redhat.com>
9520
9521 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9522 binutils, gdb.
9523
9524 2001-09-10 David Edelsohn <edelsohn@gnu.org>
9525
9526 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9527
9528 Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9529
9530 * builtins.c (c_getstr): Correct thinko in last change and further
9531 cleanup.
9532
9533 2001-09-10 Tim Freeman <tim@fungibole.com>
9534
9535 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9536 into varray's and register them as roots with the garbage
9537 collector so they are not collected too soon.
9538
9539 Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
9540
9541 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9542 New.
9543 * basic-block.h (flow_obstack, label_value_list,
9544 tail_recursion_label_list): Declare
9545 (tidy_fallthru_edges): Declare.
9546 (expunge_block, last_loop_beg_note): Delete.
9547 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9548 * cfg.c: New file
9549 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9550 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9551 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9552 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9553 expunge_block, flow_delete_block, compute_bb_for_insn,
9554 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9555 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9556 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9557 try_redirect_by_replacing_jump, last_loop_beg_note,
9558 redirect_edge_and_branch, redirect_edge_and_branch_force,
9559 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9560 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9561 commit_edge_insertions, dump_flow_info, debug_flow_info,
9562 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9563 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9564 Move here from flow.c
9565 * cfganal.c: New file.
9566 (forwarder_block_p, can_fallthru, mark_critical_edges,
9567 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9568 find_unreachable_blocks, create_edge_list, free_edge_list,
9569 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9570 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9571 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9572 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9573 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9574 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9575 Move here from flow.c
9576 * cfgbuild.c: New file
9577 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9578 make_edges, find_basic_blocks_1, find_basic_blocks,
9579 find_sub_basic_blocks): Move here from flow.c
9580 * cfgcleanup.c: New file.
9581 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9582 merge_blocks_move_predecessor_nojumps,
9583 merge_blocks_move_successor_nojumps, merge_blocks,
9584 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9585 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9586 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9587 if succeeded.
9588 * cfgloop.c: New file
9589 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9590 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9591 flow_loop_exit_edges_find, flow_loop_nodes_find,
9592 flow_loop_pre_header_scan, flow_loop_pre_header_find,
9593 flow_loop_tree_node_add, flow_loops_tree_build,
9594 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9595 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9596 Move here from flow.c
9597 * flow.c: Remove everything moved elsewhere
9598 * output.h (cleanup_cfg): Return bool.
9599
9600 * bb-reorder.c (reorder_block_def): Remove 'index'.
9601 (insert_intra_1): Add argument BB, set block for new note.
9602 (make_reorder_chain): Do not depdent on BB indexes.
9603 (make_reorder_chain_1): Do not use BB indexes.
9604 (label_for_bb): Likewise; set BB for new insn.
9605 (emit_jump_to_block_after): Likewise.
9606 (fixup_reorder_chain): Sanity check that all basic blocks
9607 are chained; verify newly created insn chain; remove
9608 undocnitional jump simplifying; Do not use BB indexes;
9609 properly initialize count and frequency information;
9610 dump reordered sequence.
9611 (insert_intra_bb_scope_notes): update call of insert_intra_1.
9612 (insert_inter_bb_scope_notes): Set block for new insn.
9613 (reorder_basic_blocks): Dump flow info before reoredering.
9614
9615 Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9616
9617 * alias.c (clear_reg_alias_info): Use K&R format definition.
9618 Avoid unsigned warning.
9619 * builtins.c: Use "unsigned int", not "unsigned".
9620 (target_char_cast): Use host_integerp and tree_low_cst.
9621 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9622 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9623 (c_getstr): Likewise.
9624 (std_expand_builtin_va_arg): Use int_size_in_bytes.
9625 (builtin_memcpy_read_str): Avoid unsigned warning.
9626 (expand_builtin_memcpy): Alignments are unsigned.
9627 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9628 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9629 * predict.c (expensive_function_p): LIMIT now unsigned.
9630 * resource.c (mark_target_live_regs): Make some vars unsigned.
9631 * sdbout.c: Use "unsigned int", not "unsigned".
9632 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9633 (sdbout_source_line): Likewise.
9634 (sdbout_record_type_name): Remove "const" for NAME declaration.
9635 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9636
9637 2001-09-10 Richard Sandiford <rsandifo@redhat.com>
9638
9639 * calls.c (store_one_arg): Expand comment.
9640
9641 2001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9642
9643 * calls.c (store_one_arg): Make sure that the entire argument is
9644 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9645
9646 2001-09-09 Richard Henderson <rth@redhat.com>
9647
9648 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9649
9650 Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
9651
9652 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9653
9654 2001-09-09 Richard Henderson <rth@redhat.com>
9655
9656 * config/alpha/alpha.c (alpha_next_sequence_number): New.
9657 (alpha_this_literal_sequence_number): New.
9658 (alpha_this_gpdisp_sequence_number): New.
9659 (some_operand, input_operand): Add HIGH.
9660 (local_symbolic_operand): New.
9661 (alpha_encode_section_info): New.
9662 (alpha_legitimate_address_p): Allow LO_SUM.
9663 (alpha_legitimize_address): Generate HIGH+LO_SUM.
9664 (alpha_expand_mov): Likewise.
9665 (secondary_reload_class): Check memory_operand not general_operand
9666 for FP_REGS test.
9667 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9668 (alpha_expand_unaligned_store): Likewise.
9669 (alpha_expand_unaligned_load_words): Likewise.
9670 (alpha_expand_unaligned_store_words): Likewise.
9671 (alpha_expand_block_clear): Likewise.
9672 (print_operand): Handle %#, %*, %H.
9673 (print_operand_address): Handle LO_SUM.
9674 (find_lo_sum): New.
9675 (alpha_does_function_need_gp): Use it.
9676 (alpha_expand_block_move): Fix signed compare warnings.
9677 (alpha_sa_mask, alpha_align_insns): Likewise.
9678 * config/alpha/alpha-protos.h: Update.
9679 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9680 (MASK_EXPLICIT_RELOCS): New.
9681 (TARGET_SWITCHES): Add -mexplicit-relocs.
9682 (EXTRA_CONSTRAINT): Add 'T'.
9683 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9684 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9685 (ENCODE_SECTION_INFO): Out line.
9686 (REDO_SECTION_INFO_P): New.
9687 (STRIP_NAME_ENCODING): New.
9688 (ASM_OUTPUT_LABELREF): New.
9689 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9690 (PREDICATE_CODES): Update.
9691 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9692 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9693 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9694 builtin_setjmp_receiver_er, exception_receiver_1_er,
9695 call_value_osf_1_er): New patterns.
9696 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9697 (movqi, movhi, movsi): Add explicit $31 base register to lda.
9698 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9699 (FINAL_PRESCAN_INSN): New.
9700
9701 Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
9702
9703 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9704
9705 2001-09-08 Andreas Jaeger <aj@suse.de>
9706
9707 * i386.h (TARGET_SWITCHES): Fix description.
9708
9709 2001-09-07 David Edelsohn <edelsohn@gnu.org>
9710
9711 * rs6000.c (num_insns_constant): Compute number of instructions
9712 more accurately.
9713
9714 * doc/install.texi: Explain AIX exception handling work-around.
9715 Update URL for AIX fixes.
9716
9717 2001-09-07 Jim Wilson <wilson@redhat.com>
9718
9719 * alias.c (clear_reg_alias_info): New.
9720 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9721 * rtl.h (clear_reg_alias_info): Declare.
9722
9723 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9724
9725 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9726 available.
9727 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9728 (m16m,edivm,emulm): Change declaration to match definition.
9729
9730 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9731
9732 * reload.c (push_reload): Check for subreg_lowpart_p instead of
9733 SUBREG_BYTE being 0 when determining if the inner part of a subreg
9734 can be reloaded.
9735
9736 2001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9737
9738 * c-common.c (signed_or_unsigned_type): Handle machine mode types
9739 which have no corresponding C type.
9740 * fold_const.c (target_isinf,target_isnan,target_negative): Update
9741 the representation of 64-bit doubles to work with 64-bit ints.
9742
9743 2001-09-07 Aldy Hernandez <aldyh@redhat.com>
9744
9745 * config/mips/mips.c (override_options): Do not override ISA when ABI
9746 specified if MIPS_CPU_STRING_DEFAULT was specified.
9747
9748 2001-09-07 Richard Henderson <rth@redhat.com>
9749
9750 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9751 (express_from_1): Wrap lines.
9752 * rtlanal.c (commutative_operand_precedence): Rename from
9753 operand_preference; export.
9754 * rtl.h: Declare it.
9755 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9756 (simplify_binary_operation): Invoke simplify_plus_minus on
9757 (CONST (PLUS ...)) as well.
9758 (struct simplify_plus_minus_op_data): New.
9759 (simplify_plus_minus_op_data_cmp): New.
9760 (simplify_plus_minus): Use them. Avoid infinite recursion with
9761 simplify_binary_operation wrt CONST.
9762
9763 Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
9764
9765 * h8300-protos.h (general_operand_dst_push): Remove.
9766 * h8300.c (general_operand_dst_push): Likewise.
9767 * h8300.h (OK_FOR_T): Likewise.
9768 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9769 * h8300.md (pushqi_h8300): New.
9770 (pushqi_h8300hs): Likewise.
9771 (pushqi): Likewise.
9772 (pushhi_h8300): Likewise.
9773 (pushhi_h8300hs): Likewise.
9774 (pushhi): Likewise.
9775
9776 Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9777
9778 * genattrtab.c (attr_printf): First arg is unsigned.
9779 Clean up formatting of callers.
9780
9781 2001-09-06 Aldy Hernandez <aldyh@redhat.com>
9782
9783 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9784 registers.
9785
9786 2001-09-07 Andreas Jaeger <aj@suse.de>
9787
9788 * i386.h (TARGET_SWITCHES): Fix descriptions.
9789
9790 2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9791
9792 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9793
9794 2001-09-06 Ira Ruben <ira@apple.com>
9795
9796 Remove OP_IDENTIFIER.
9797 * tree.def (OP_IDENTIFIER): Remove.
9798 * tree.c (tree_node_kind enum): Remove op_id_kind.
9799 (tree_node_kind_names): Remove "op_identifiers".
9800 (make_node): Remove OP_IDENTIFIER test.
9801 (build_op_identifier): Removed because it isn't being used.
9802 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9803 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9804
9805 2001-09-06 Richard Henderson <rth@redhat.com>
9806
9807 * simplify-rtx.c (simplify_binary_operation): Revert last change.
9808
9809 2001-09-06 Richard Henderson <rth@redhat.com>
9810
9811 * simplify-rtx.c (simplify_binary_operation): Simplify contents
9812 of CONST.
9813
9814 2001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9815
9816 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9817 number used for CR register.
9818
9819 Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9820 Joern Rennecke (amylaar@cygnus.com)
9821
9822 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9823 * h8300.c (initial_offset): Handle offset between RP and FP.
9824 (h8300_return_addr_rtx): New function.
9825 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9826 return register.
9827 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9828 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9829 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9830 (CAN_ELIMINATE, REGISTER_NAMES):
9831 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9832
9833 2001-09-06 Nathan Sidwell <nathan@codesourcery.com>
9834
9835 Remove TYPE_NONCOPIED_PARTS.
9836 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9837 (struct tree_type): Remove noncopied_parts.
9838 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9839 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9840 (fixed_type_p): Remove.
9841 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9842 (expand_expr, MODIFY_EXPR): Likewise.
9843 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9844 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9845
9846 2001-09-06 Alan Modra <amodra@bigpond.net.au>
9847
9848 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9849 compiler warnings.
9850 (mask64_operand): Likewise.
9851 (includes_rldic_lshift_p): Likewise.
9852 (includes_rldicr_lshift_p): Likewise.
9853
9854 2001-09-05 Ziemowit Laski <zlaski@apple.com>
9855
9856 * objc/objc-act.c (build_message_expr): If a class method cannot
9857 be found, do not issue a warning if a corresponding instance
9858 method exists in the root class.
9859
9860 2001-09-05 Richard Henderson <rth@redhat.com>
9861
9862 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9863
9864 2001-09-05 Zack Weinberg <zack@codesourcery.com>
9865
9866 * function.c (ggc_mark_struct_function): Mark f->outer.
9867 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9868 * integrate.c (output_inline_function): ... not here.
9869
9870 Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
9871
9872 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9873
9874 * i386.c (size_cost): New static variable.
9875 (override_function): Use size_cost when -Os is specified.
9876
9877 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9878 properly; Use current_function_calls_eh_return.
9879 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9880 use leave to avoid dependency chain.
9881
9882 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9883 get BB loop_depth instead of computing it from LOOP notes.
9884
9885 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9886
9887 2001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
9888
9889 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9890 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9891 UNALIGNED_DOUBLE_INT_ASM_OP): Define
9892
9893 2001-09-05 Jeffrey A Law (law@cygnus.com)
9894 Jason Merrill (jason@redhat.com)
9895
9896 * stor-layout.c (layout_type): Complain if an array's size can
9897 not be represented in a size_t.
9898
9899 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9900
9901 2001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
9902
9903 * gcc.c: (process_command) Add parentheses around assignment
9904 used as truth value.
9905
9906 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9907
9908 * config/mips/mips.c (save_restore_insns): Don't mark any register
9909 save slots as unchanging if current_function_calls_eh_return.
9910
9911 2001-09-05 Richard Henderson <rth@redhat.com>
9912
9913 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9914 * config/alpha/alpha-protos.h: Declare it.
9915 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9916 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9917 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9918 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9919 (REG_OK_FOR_BASE_P): Select one of the above.
9920
9921 2001-09-05 Richard Sandiford <rsandifo@redhat.com>
9922
9923 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9924 (crti.o): Prefix name of object file with $(T).
9925 (crtn.o): Likewise.
9926
9927 2001-09-05 David S. Miller <davem@redhat.com>
9928
9929 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9930 * config/sparc/linux64.h: Likewise.
9931
9932 2001-09-05 Andreas Jaeger <aj@suse.de>
9933
9934 * doc/invoke.texi (i386 Options): -mwide-multiply is not
9935 available anymore, remove the documentation.
9936 (i386 Options): Fix typo, cleanup index entries.
9937
9938 * prefix.c (concat): Remove, we can use the version from liberty.
9939
9940 2001-09-05 Richard Henderson <rth@redhat.com>
9941
9942 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9943 New functions split out of md file expanders.
9944 * config/alpha/alpha-protos.h: Declare them.
9945 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9946
9947 2001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
9948
9949 * cppmacro.c (funlike_invocation_p): No need to restore context.
9950
9951 2001-09-04 Richard Henderson <rth@redhat.com>
9952
9953 * reload.c (push_reload): Export.
9954 * reload.h (push_reload): Declare it.
9955
9956 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9957 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9958 * config/alpha/alpha.c (alpha_legitimize_address): New.
9959 (alpha_legitimize_reload_address): Likewise.
9960 * config/alpha/alpha-protos.h: Declare them.
9961
9962 2001-09-04 Stan Shebs <shebs@apple.com>
9963
9964 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9965 * config/darwin.c (machopic_stub_name): Account for internally
9966 generated lib calls such as memcpy.
9967
9968 2001-09-04 Richard Henderson <rth@redhat.com>
9969
9970 * unwind.h (_UA_END_OF_STACK): New flag.
9971 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9972
9973 Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
9974
9975 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9976
9977 2001-09-04 Richard Sandiford <rsandifo@redhat.com>
9978
9979 * config/mips/mips.c (save_restore_insns): Change base_offset to
9980 fp_offset in second call to mips_emit_frame_related_store.
9981
9982 2001-09-04 Hans-Peter Nilsson <hp@axis.com>
9983
9984 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9985 sometimes be represented as a NOTE of type
9986 NOTE_INSN_DELETED_LABEL.
9987 (Insns): Document NOTE_INSN_DELETED_LABEL.
9988
9989 2001-09-04 Nathan Sidwell <nathan@codesourcery.com>
9990
9991 * c-common.h (tree_dump_index): Add more comments.
9992 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9993 (dump_option_value_info): New struct.
9994 (dump_options): New array.
9995 (dump_switch_p): Parse switch options symbolically.
9996 * doc/invoke.texi (-fdump-ast): Rename to ...
9997 (-fdump-tree): ... here. Document that options are symbolic, and
9998 not all are applicable.
9999
10000 2001-09-04 David S. Miller <davem@redhat.com>
10001
10002 * config/sparc/sparc.md (define_splits): Kill constraints.
10003
10004 Cleanup redundant and unused insn attributes.
10005 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
10006 binary, and move. Mark ialu as default.
10007 (commented out define_function_unit "alu"): Kill.
10008 (define_attr "use_clobbered"): Kill.
10009 (whole file): Kill address insn type references. Replace
10010 all unary/binary/move references with ialu.
10011 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
10012 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
10013 TYPE_IALU.
10014
10015 Simplify length insn attribute and make more judicious use
10016 of insn attribute defaulting.
10017 * config/sparc/sparc.md (all insns with length > one): Mark as
10018 insn type multi if real instructions, else use default if
10019 it is a forced splitter.
10020 (all insns with length == one): Use default insn length.
10021 (all insns of type ialu): Use default insn type.
10022
10023 Fix erroneous insn attribute settings.
10024 (addx): Set insn type to misc.
10025 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
10026 const_umulsidi3_sp64): Set insn type to imul.
10027
10028 Track SFmode vs DFmode insns according to UltraSPARC
10029 scheduling rules.
10030 * config/sparc/sparc.md ("fptype"): New attribute, default
10031 to "single".
10032 (all DFmode single insns): Mark as fptype "double".
10033
10034 2001-09-03 Jakub Jelinek <jakub@redhat.com>
10035
10036 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
10037
10038 2001-09-03 Richard Henderson <rth@redhat.com>
10039
10040 * function.h (struct function): Add arg_pointer_save_area_init.
10041 * function.c (expand_function_end): Init arg_pointer_save_area.
10042 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
10043 when called from a nested function.
10044
10045 2001-09-02 Angela Marie Thomas <angela@cygnus.com>
10046
10047 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
10048 is enabled.
10049
10050 Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
10051
10052 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
10053
10054 2001-09-01 Geoffrey Keating <geoffk@redhat.com>
10055
10056 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
10057 (emit_push_insn): Use specified padding direction when
10058 STACK_PUSH_CODE is POST_INC.
10059
10060 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
10061
10062 2001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10063
10064 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
10065
10066 2001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
10067
10068 * cppinit.c (cpp_start_read): Free the imacros list as we
10069 traverse it. Don't free the chains before returning.
10070 (_cpp_push_next_buffer): Only try pushing buffers if we've
10071 completed -imacros handling.
10072
10073 2001-08-31 Eric Christopher <echristo@redhat.com>
10074
10075 * gcc.c (handle_braces): Add explaination for abort.
10076
10077 2001-08-30 Roman Zippel <zippel@linux-m68k.org>
10078
10079 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
10080 move adjustment of bitpos instead.
10081
10082 2001-08-31 Zack Weinberg <zack@codesourcery.com>
10083
10084 * function.c: Remove all_functions. Make outer_function_chain
10085 static.
10086 (init_function_start): Don't add new function structure to
10087 all_functions.
10088 (find_function_data, push_function_context_to,
10089 pop_function_context_from, put_var_into_stack,
10090 trampoline_address): Update for changed structure element names.
10091 (push_function_context_to): Disentangle.
10092 (free_after_compilation): Also free F.
10093 (expand_dummy_function_end): Don't free cfun here.
10094 (put_var_into_stack): Comment why we can't use find_function_data here.
10095 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
10096 (mark_function_chain): Split into maybe_mark_struct_function and
10097 ggc_mark_struct_function. Export the latter.
10098 (init_function_once): Mark from cfun and outer_function_chain;
10099 not all_functions.
10100
10101 * function.h (struct function): Kill next_global. Rename next
10102 to outer. All users updated to match.
10103 (all_functions, outer_function_chain): Don't declare.
10104
10105 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
10106 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
10107 don't touch f->inlinable, after calling rest_of_compilation.
10108
10109 * tree.h: Forward-declare struct function. Prototype
10110 ggc_mark_struct_function.
10111
10112 2001-08-31 Kazu Hirata <kazu@hxi.com>
10113
10114 * config/h8300/h8300.md (*andorhi3): Fix typos.
10115
10116 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10117
10118 * calls.c (emit_library_call_value): Don't use a fixed
10119 argument after VA_CLOSE, i.e. out of scope in traditional C.
10120
10121 * emit-rtl.c (gen_rtvec): Likewise.
10122
10123 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10124
10125 * Makefile.in (c-pragma.o): Depend on output.h.
10126 (reorg.o): Depend on except.h.
10127
10128 * c-pragma.c: Include output.h.
10129
10130 * reorg.c: Include except.h.
10131
10132 * unwind-dw2.c: Call __builtin_alloca, not alloca.
10133
10134 2001-08-31 Richard Henderson <rth@redhat.com>
10135
10136 * sched-deps.c (add_dependence): Don't elide dependency if the
10137 conditional used by insn is modified in elem.
10138
10139 2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
10140
10141 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
10142
10143 2001-08-31 Diego Novillo <dnovillo@redhat.com>
10144
10145 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
10146 dump_switch_p.
10147
10148 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
10149
10150 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
10151 function.
10152 (stormy16_asm_out_constructor): New function.
10153 (TARGET_ASM_CONSTRUCTOR): Define.
10154 (TARGET_ASM_DESTRUCTOR): Define.
10155
10156 2001-08-31 Andreas Jaeger <aj@suse.de>
10157
10158 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
10159 * loop.c (add_label_notes): Likewise.
10160 * reload.c (find_reloads): Likewise.
10161 * config/sh/sh.c (machine_dependent_reorg): Likewise.
10162
10163 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
10164
10165 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
10166 code here. Take _Unwind_{W,Sw}ord*.
10167 (read_encoded_value_with_base): Use them.
10168 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
10169 words.
10170 (extract_cie_info): Simplify read_?leb128 handling.
10171 (execute_stack_op, execute_cfa_program): Likewise.
10172 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
10173
10174 2001-08-31 Geoffrey Keating <geoffk@redhat.com>
10175
10176 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
10177 the frame pointer to pop the stack if convenient.
10178
10179 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
10180 Don't use post-increment before combine.
10181 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
10182 a call-saved register.
10183
10184 2001-08-31 Andreas Jaeger <aj@suse.de>
10185
10186 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
10187 code was correct.
10188
10189 2001-08-30 Geoffrey Keating <geoffk@redhat.com>
10190
10191 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
10192 not DIV/MOD, of course.
10193
10194 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
10195
10196 * rtl.def: Undo my patch commited 2001-08-27.
10197
10198 * genattrtab.c: Ditto.
10199
10200 * rtl.h: Ditto.
10201
10202 * sched-int.h: Ditto.
10203
10204 * target-def.h: Ditto.
10205
10206 * target.h: Ditto.
10207
10208 * haifa-sched.c: Ditto.
10209
10210 * sched-rgn.c: Ditto.
10211
10212 * sched-vis.c: Ditto.
10213
10214 * Makefile.in: Ditto.
10215
10216 * doc/md.texi: Ditto.
10217
10218 * doc/tm.texi: Ditto.
10219
10220 * doc/contrib.texi: Ditto.
10221
10222 * doc/gcc.texi: Ditto.
10223
10224 * genattrtab.h: Remove it.
10225
10226 * genautomata.c: Remove it.
10227
10228 * genattr.c: Undo my patch and Richard Henderson's patch commited
10229 2001-08-27.
10230
10231 Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
10232
10233 * config.gcc (h8300-*-elf*): New case.
10234 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10235 (SUBTARGET_CPP_SPEC): Define.
10236 (EXTRA_SPECS): Define.
10237 (SUBTARGET_EXTRA_SPECS): Define.
10238 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10239 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10240
10241 Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
10242
10243 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10244 (LIB2FUNCS_EXTRA): Define.
10245 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10246 config/h8300/fixunssfsi.c: New file.
10247
10248 2001-08-30 Kazu Hirata <kazu@hxi.com>
10249
10250 * config/h8300/h8300.md (zero_extendqihi2): Changes to
10251 define_expand to accommodate target-specific attributes.
10252 (anonymous zero_extendqihi2 patterns): New.
10253
10254 Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
10255
10256 * h8300.md (*andorhi3): New pattern.
10257
10258 Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
10259
10260 * h8300.c (dosize): Fix test for "sub".
10261
10262 Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
10263
10264 * c-typeck.c (pointer_diff): Try to eliminate common term before
10265 doing conversions.
10266
10267 2001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
10268
10269 * config/arm/arm.c (arm_compute_initial_elimination_offset):
10270 Account for the saves of the FP registers.
10271
10272 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10273 (TEXT_SECTION_ASM_OP): Define.
10274 (INIT_SECTION_ASM_OP): Define.
10275 (FINI_SECTION_ASM_OP): Define.
10276 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10277 (RDATA_SECTION_FUNCITON): Provide prototype.
10278
10279 2001-08-29 Geoffrey Keating <geoffk@redhat.com>
10280
10281 * reload1.c (move2add_note_store): Correct typo checking for
10282 argument pushes.
10283
10284 2001-08-29 Andrew MacLeod <amacleod@redhat.com>
10285
10286 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10287 note should not be considered outside the libcall block.
10288
10289 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10290
10291 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10292
10293 2001-08-29 Kazu Hirata <kazu@hxi.com>
10294
10295 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10296
10297 2001-08-29 Kazu Hirata <kazu@hxi.com>
10298
10299 * config/h8300/h8300-protos.h: Add a prototype for
10300 emit_logical_op.
10301 * config/h8300/h8300.c (emit_logical_op): New.
10302 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10303 (andsi3): Likewise.
10304 (iorhi3): Likewise.
10305 (iorsi3): Likewise.
10306 (xorhi3): Likewise.
10307 (xorsi3): Likewise.
10308
10309 2001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10310
10311 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10312 comparison with rtx INTVAL.
10313 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10314 expression.
10315 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10316
10317 2001-08-29 Kazu Hirata <kazu@hxi.com>
10318
10319 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10320 comment typos.
10321
10322 2001-08-29 Kazu Hirata <kazu@hxi.com>
10323
10324 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10325 (reg n) to (mem (pre_dec (reg n))
10326 (anonymous movsi pattern): Likewise.
10327
10328 2001-08-29 Kazu Hirata <kazu@hxi.com>
10329
10330 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10331
10332 2001-08-29 Kazu Hirata <kazu@hxi.com>
10333
10334 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10335 several special constants.
10336
10337 2001-08-29 Kazu Hirata <kazu@hxi.com>
10338
10339 * config/h8300/lib1funcs.asm: Fix comment typos.
10340
10341 2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10342
10343 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10344 Fix format specifier warnings.
10345
10346 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10347 inet_makeaddr, semctl): Prototype.
10348
10349 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10350 (save_restore_insns): Use base_offset, not gp_offset.
10351
10352 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10353 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10354
10355 2001-08-29 Richard Henderson <rth@redhat.com>
10356
10357 * bb-reorder.c (function_tail_eff_head): New.
10358 (record_effective_endpoints): Set it.
10359 (fixup_reorder_chain): Use it.
10360
10361 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10362
10363 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10364
10365 2001-08-28 Dale Johannesen <dalej@apple.com>
10366
10367 * config/darwin.c (machopic_function_base_name): Add const
10368 qualifier to a string.
10369 (darwin_encode_section_info): Ditto.
10370
10371 2001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10372
10373 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10374 function definition.
10375
10376 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10377
10378 * df.h (struct df): Add rts_order variable.
10379
10380 * df.c (df_visit_next_rts): New function.
10381 (df_visit_next): Renamed to df_visit_next_rc
10382 (df_analyse_1): Allocate/compute/free rts_order as well.
10383 (df_rd_global_compute): Use df_visit_next_rc instead of
10384 df_visit_next.
10385 (df_ru_global_compute): Use df_visit_next_rts instead of
10386 df_visit_next.
10387
10388 * flow.c (flow_reverse_top_sort_order_compute): New function.
10389
10390 * basic-block.h: Add prototype.
10391
10392 2001-08-28 Daniel Berlin <dan@cgsoftware.com>
10393
10394 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10395 blocks, the BB_REACHABLE is now set, rather than aux being
10396 non-NULL. Update the test to reflect this.
10397
10398 2001-08-28 Eric Christopher <echristo@redhat.com>
10399
10400 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10401 config/mips/crti.asm: Ditto.
10402
10403 2001-08-28 Eric Christopher <echristo@redhat.com>
10404 Richard Henderson <rth@redhat.com>
10405
10406 * c-pragma.h (add_weak): Move prototype from here...
10407 * output.h (add_weak): ... to here.
10408 * varasm.c (add_weak): Fix typo.
10409 * config/mips/crti.asm: New file.
10410 * config/mips/crtn.asm: Ditto.
10411 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10412 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10413 (INVOKE__main): Ditto.
10414 (INIT_SECTION_ASM_OP): New.
10415 (FINI_SECTION_ASM_OP): Ditto.
10416 (STARTFILE_SPEC): Add crti.
10417 (ENDFILE_SPEC): Add crtn.
10418 * config/mips/elf64.h: Same.
10419 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10420 Remove.
10421 * config/mips/vxworks.h: Ditto.
10422 * config/mips/t-elf: Support crti and crtn.
10423
10424 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10425
10426 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10427 INSN_LIST.
10428
10429 2001-08-28 Richard Henderson <rth@redhat.com>
10430
10431 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10432 (one_cmplbi2 splitter): Remove redundant test.
10433
10434 2001-08-28 Dale Johannesen <dalej@apple.com>
10435
10436 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10437
10438 2001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10439
10440 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10441
10442 2001-08-28 Stan Shebs <shebs@apple.com>
10443
10444 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10445 (UNALIGNED_SHORT_ASM_OP): Define.
10446 (UNALIGNED_INT_ASM_OP): Define.
10447
10448 2001-08-28 Will Cohen <wcohen@redhat.com>
10449
10450 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10451 generation for first set.
10452
10453 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10454
10455 * flow.c (redirect_edge_succ_nodup): Return new edge.
10456 (try_simplify_condjump): Use new edge.
10457 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10458
10459 * cse.c (cse_basic_block): Skip note instructions.
10460
10461 2001-08-27 Richard Henderson <rth@redhat.com>
10462
10463 * combine.c (combine_simplify_rtx): Don't reverse condition
10464 if there is no reverse for the condition.
10465 (simplify_comparison): Don't simplify subregs from INT to FP.
10466
10467 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10468 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10469 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10470 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10471 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10472 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10473
10474 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10475
10476 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10477 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10478 (pushqi1): New.
10479 (adddi_dilshr32, adddi_dishl32): Only data register can be
10480 source for mem destination.
10481
10482 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10483 and use bitnum to decide about register move.
10484
10485 2001-08-27 Richard Henderson <rth@redhat.com>
10486
10487 * genattr.c (main): Emit state_t even when not doing scheduling.
10488
10489 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10490 Richard Henderson <rth@redhat.com>
10491
10492 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10493 (reg_avail_info, current_bb): ... these.
10494 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10495 (compute_hash_table): Likewise.
10496
10497 2001-08-27 Roman Zippel <zippel@linux-m68k.org>
10498
10499 * flow.c (verify_flow_info): Use checksums to verify edges.
10500
10501 2001-08-27 Richard Henderson <rth@redhat.com>
10502
10503 * genautomata.c (expand_automata): Always create a description.
10504
10505 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10506
10507 * optabs.c (expand_binop): Correctly handle the carry in multiword
10508 add/subtract operations.
10509
10510 2001-08-27 Fred Fish <fnf@be.com>
10511
10512 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10513 __SIZE_TYPE__.
10514
10515 2001-08-27 Geoffrey Keating <geoffk@redhat.com>
10516
10517 * reload.c (find_reloads_toplev): Back out this change:
10518
10519 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
10520
10521 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10522 mem if the address is a mode_dependent_address_p.
10523
10524 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
10525
10526 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10527 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10528 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10529 RTL constructions.
10530
10531 * genattr.c (main): New variable num_insn_reservations. Increase
10532 it if there is DEFINE_INSN_RESERVATION. Output automaton based
10533 pipeline hazard recognizer interface.
10534
10535 * genattrtab.h: New file.
10536
10537 * genattrtab.c: Include genattrtab.h.
10538 (attr_printf, check_attr_test, make_internal_attr,
10539 make_numeric_value): Move protypes into genattrtab.h. Define them
10540 as external.
10541 (num_dfa_decls): New global variable.
10542 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10543 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10544 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10545 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
10546
10547 * genautomata.c: New file.
10548
10549 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10550
10551 * sched-int.h: (curr_state): Add the external definition for
10552 automaton pipeline interface.
10553 (haifa_insn_data): Add comments for members blockage and units.
10554
10555 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10556 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10557 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10558 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10559 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10560 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10561 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10562 macros.
10563 (TARGET_SCHED): Use the new macros.
10564
10565 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10566 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10567 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10568 dfa_bubble): New members in gcc_target.sched.
10569
10570 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10571 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10572 (insn_queue): Redefine it as pointer to array.
10573 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10574 INSN_QUEUE_SIZE.
10575 (max_insn_queue_index_macro_value): New variable.
10576 (curr_state, dfa_state_size, ready_try): New varaibles for
10577 automaton interface.
10578 (ready_element, ready_remove, max_issue): New function prototypes
10579 for automaton interface.
10580 (choose_ready): New function prototype.
10581 (insn_unit, blockage_range): Add comments.
10582 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10583 FUNCTION_UNITS_SIZE == 0.
10584 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10585 actual_hazard, potential_hazard): Add comments.
10586 (insn_cost): Use cost -1 as undefined value. Remove
10587 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
10588 pipeline interface.
10589 (ready_element, ready_remove): New functions for automaton
10590 interface.
10591 (schedule_insn): Add new code for automaton pipeline interface.
10592 (queue_to_ready): Add new code for automaton pipeline interface.
10593 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10594 (debug_ready_list): Print newline when the queue is empty.
10595 (max_issue): New function for automaton pipeline interface.
10596 (choose_ready): New function.
10597 (schedule_block): Add new code for automaton pipeline interface.
10598 Print ready list before scheduling each insn.
10599 (sched_init): Add new code for automaton pipeline interface.
10600 Initiate insn cost by -1.
10601 (sched_finish): Free the current automaton state and finalize
10602 automaton pipeline interface.
10603
10604 * sched-rgn.c: Include target.h.
10605 (init_ready_list, new_ready, debug_dependencies): Add new code for
10606 automaton pipeline interface.
10607
10608 * sched-vis.c: Include target.h.
10609 (get_visual_tbl_length): Add code for automaton interface.
10610 (target_units, print_block_visualization): Add comments.
10611
10612 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10613 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10614 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10615 (getruntime.o, genautomata.o): New entries.
10616 (genattrtab.o): Add new dependency file genattrtab.h.
10617 (genattrtab): Add new dependencies. Link it with `libm.a'.
10618 (getruntime.o, hashtab.o): New entries for canadian cross.
10619
10620 * doc/md.texi: Description of automaton based model.
10621
10622 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10623 Add comments.
10624 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10625 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10626 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10627 TARGET_SCHED_DFA_POST_CYCLE_INSN,
10628 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10629 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10630 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10631 hook descriptions.
10632 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10633 MAX_DFA_ISSUE_RATE): New macro descriptions.
10634
10635 * doc/contrib.texi: Add dfa based scheduler contribution.
10636
10637 * doc/gcc.texi: Add more information about genattrtab.
10638
10639 2001-08-27 Diego Novillo <dnovillo@redhat.com>
10640
10641 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10642 an RTL basic block.
10643
10644 2001-08-27 Richard Henderson <rth@redhat.com>
10645
10646 * function.c (expand_function_end): Don't init arg_pointer_save_area.
10647 (get_arg_pointer_save_area): New. Create an init it here.
10648 (fix_lexical_addr): Use it.
10649 * function.h: Declare it.
10650 * builtins.c (expand_builtin_setjmp_receiver): Use it.
10651 * stmt.c (expand_nl_goto_receiver): Use it.
10652
10653 2001-08-27 Richard Henderson <rth@redhat.com>
10654
10655 * final.c (final_scan_insn): Don't enter APP_ON mode for
10656 empty asm strings.
10657
10658 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10659 alignment for assemble_integer for DW_EH_PE_aligned.
10660 * except.c (output_function_exception_table): Likewise.
10661
10662 2001-08-26 Andreas Jaeger <aj@suse.de>
10663
10664 * c-tree.h: Add prototyp for c_sizeof_nowarn.
10665
10666 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
10667
10668 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10669
10670 2001-08-27 Alan Modra <amodra@bigpond.net.au>
10671
10672 * config/rs6000/rs6000.c (mask_operand): Rewrite without
10673 bit-shifting loop.
10674 (mask64_operand): Likewise.
10675 (rldic_operand): Delete.
10676 (includes_lshift64_p): Delete.
10677 (includes_rldic_lshift_p): New function.
10678 (includes_rldicr_lshift_p): New function.
10679 (print_operand): Don't call rldic_operand in case 'W'.
10680 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10681 (includes_lshift64_p): Remove.
10682 (includes_rldic_lshift_p): Declare.
10683 (includes_rldicr_lshift_p): Declare.
10684 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10685 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10686 Replace match_operand rldic_operand predicate with
10687 const_int_operand. Replace includes_lshift64_p condition with
10688 includes_rldic_lshift_p.
10689 <ashldi3_internal 64 bit rldicr patterns>: New.
10690
10691 2001-08-27 Andreas Jaeger <aj@suse.de>
10692
10693 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10694 * errors.c: Likewise.
10695 * final.c: Likewise.
10696 * dwarf2asm.c: Likewise.
10697 * doprint.c (checkit): Likewise.
10698 * diagnostic.c: Likewise.
10699 * collect2.c: Likewise.
10700 * calls.c: Likewise.
10701 * c-semantics.c (build_stmt): Likewise.
10702 * c-format.c (status_warning): Likewise.
10703 * c-errors.c (pedwarn_c99): Likewise.
10704 * builtins.c (validate_arglist): Likewise.
10705 * config/pj/pj.c (pj_printf): Likewise.
10706 * fix-header.c: Likewise.
10707 * gcc.c: Likewise.
10708 * gcov.c (fnotice): Likewise.
10709 * gensupport.c (message_with_line): Likewise.
10710 * mips-tfile.c: Likewise.
10711 * protoize.c (notice): Likewise.
10712 * read-rtl.c (fatal_with_file_and_line): Likewise.
10713 * rtl-error.c: Likewise.
10714 * tradcpp.c: Likewise.
10715 * tree.c: Likewise.
10716 * cp/tree.c (build_min_nt): Likewise.
10717 (build_min): Likewise.
10718 * cp/lex.c: Likewise.
10719 * cp/errfn.c: Likewise.
10720 * cp/rtti.c (create_pseudo_type_info): Likewise.
10721
10722 Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
10723
10724 * df.c (df_uses_record): Return after recording all uses
10725 in ASM_OPERANDS.
10726
10727 2001-08-26 Daniel Berlin <dan@cgsoftware.com>
10728
10729 * df.c (df_insn_modify): Realloc the INSN table here, if
10730 necessary, here, too.
10731
10732 2001-08-26 Aldy Hernandez <aldyh@redhat.com>
10733
10734 * config/mips/mips.c (mips_function_value): Handle complex return
10735 values.
10736
10737 2001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
10738
10739 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10740 unshared.
10741 * reload.c (make_memloc): Copy result if it is still
10742 reg_equiv_memory_loc[regno] on return.
10743 (subst_reloads) [ENABLE_CHECKING]: Check that none of
10744 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10745 reg_equiv_mem are modified by the substitutions.
10746
10747 Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
10748
10749 * predict.c (expensive_function_p): New.
10750 * rtl.h (expensive_function_p): Declare.
10751 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10752 (use_fast_prologue_epilogue): New static variable.
10753 (expand_prologue): Set it; emit short prologues if unset.
10754 (expand_epilogue): Likewise.
10755
10756 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10757
10758 * config.gcc: Add stormy16-*-elf case.
10759 * config/stormy16/stormy-abi: New file.
10760 * config/stormy16/stormy16-lib2.c: New file.
10761 * config/stormy16/stormy16-protos.h: New file.
10762 * config/stormy16/stormy16.c: New file.
10763 * config/stormy16/stormy16.h: New file.
10764 * config/stormy16/stormy16.md: New file.
10765 * config/stormy16/t-stormy16: New file.
10766
10767 Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
10768
10769 * i386.h (no-accumulate-outgoing-args): Use proper mask.
10770
10771 2001-08-24 David Edelsohn <edelsohn@gnu.org>
10772
10773 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10774 descriptor members are pointer size, not constant 4.
10775 * config/rs6000/rs6000.md (define_splits): Remove more unused
10776 constraints.
10777
10778 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10779
10780 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10781
10782 2001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
10783
10784 * cp/rtti.c (VPARAMS): Fix parameter.
10785
10786 2001-08-24 Zack Weinberg <zackw@panix.com>
10787
10788 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10789 to zero.
10790 (mode_for_extraction): No need for #ifdefs. Add default-case abort
10791 to switch.
10792 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
10793 in if controlling use of insv.
10794 (extract_bit_field): Likewise, for extv and extzv.
10795
10796 Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
10797
10798 * i386.md (movcc peep2): Fix load of 0.
10799
10800 2001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10801
10802 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10803 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10804
10805 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
10806
10807 * c-pragma.h: Move weak_syms and weak_decls...
10808 * varasm.c: ...here. Now static.
10809 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10810 depend on HANDLE_PRAGMA_WEAK.
10811
10812 * c-common.c (c_alignof, c_alignof_expr): Move here...
10813 * c-typeck.c: ...from here.
10814 * c-tree.h, c-common.h: Adjust.
10815
10816 2001-08-23 Bernd Schmidt <bernds@redhat.com>
10817
10818 * config/ia64/ia64.c (rws_update): If !pred, set write_count
10819 instead of incrementing it.
10820
10821 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10822 asm ready, don't try to move them all into the same array element.
10823
10824 Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
10825
10826 * function.c (thread_prologue_and_epilogue_insns): Avoid
10827 fallthru flag on edge to exit.
10828
10829 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10830
10831 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10832 dead edges.
10833
10834 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10835
10836 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10837 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10838 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10839 Remove prototype.
10840
10841 2001-08-23 Lars Brinkhoff <lars@nocrew.org>
10842
10843 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10844 replace "GNU CC" with "GCC".
10845
10846 2001-08-23 Richard Henderson <rth@redhat.com>
10847
10848 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10849 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
10850 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10851 Need GR between FR and not GR_AND_FR.
10852 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10853 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10854 AR regs before GR regs.
10855 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10856 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10857 (REGISTER_MOVE_COST): Update.
10858 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10859
10860 2001-08-23 Richard Henderson <rth@redhat.com>
10861
10862 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10863 a register class.
10864
10865 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
10866
10867 * reload1.c (emit_reload_insns): Don't look for notes
10868 on a NULL store_insn.
10869
10870 2001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10871
10872 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10873 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10874 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10875 format specifier warnings.
10876 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10877
10878 2001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
10879
10880 * config/i386/i386-protos.h: Correct declaration of
10881 i386_pe_asm_named_section.
10882
10883 2001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
10884
10885 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10886 variable i.
10887 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10888
10889 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
10890
10891 * cpperror.c (print_location): Don't show _Pragma.
10892 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10893 and file change callback generation here.
10894 (stack_include_file): Update use of cpp_push_buffer.
10895 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10896 (struct cpp_buffer): Remove type, pfile members.
10897 * cppinit.c (cpp_handle_option): Use free_chain.
10898 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10899 (skip_escaped_newlines, get_effective_char, lex_percent): Take
10900 a cpp_reader rather than a cpp_buffer.
10901 (skip_escaped_newlines, get_effective_char, skip_block_comment,
10902 skip_line_comment, parse_string, lex_percent, lex_dot,
10903 _cpp_lex_token): Update accordingly.
10904 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10905 generation here.
10906 (cpp_push_buffer): Update prototype.
10907 (run_directive): Update use of cpp_push_buffer.
10908 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10909 handle_assertion): Update use of run_directive.
10910 * cpplib.h (enum cpp_buffer_type): Remove.
10911 (cpp_push_buffer): Update prototype.
10912 * fix-header.c (read_scan_file): Update.
10913
10914 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10915
10916 * gcc.c (struct prefix_list): Change prefix to const char *.
10917
10918 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10919
10920 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10921
10922 2001-08-22 Jason Merrill <jason_merrill@redhat.com>
10923
10924 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10925 from a new MEM.
10926
10927 * jump.c (squeeze_notes): Take parms by reference. Handle END being
10928 a squeezable note.
10929 * rtl.h: Adjust.
10930 * ifcvt.c (dead_or_predicable): Adjust.
10931 * loop.c (find_and_verify_loops): Adjust.
10932 * stmt.c (expand_end_case): Adjust.
10933 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
10934 head and end insn pointers in the basic block, not just local copies.
10935 (merge_blocks_move_predecessor_nojumps): Likewise.
10936
10937 2001-08-22 Lars Brinkhoff <lars@nocrew.org>
10938
10939 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10940 bitmap.h, builtin-types.def, builtins.c, builtins.def,
10941 c-aux-info.c, c-common.c, c-common.def, c-common.h,
10942 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10943 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10944 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10945 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10946 conditions.h, config.gcc, configure.frag, configure.in,
10947 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10948 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10949 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10950 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10951 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10952 emit-rtl.c, errors.c, errors.h, except.c, except.h,
10953 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10954 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10955 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10956 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10957 gencheck.c, gencodes.c, genconfig.c, genemit.c,
10958 genextract.c, genflags.c, gengenrtl.c, genmultilib,
10959 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10960 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10961 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10962 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10963 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10964 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10965 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10966 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10967 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10968 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10969 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10970 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10971 params.h, predict.c, predict.def, predict.h, prefix.c,
10972 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10973 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10974 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10975 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10976 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10977 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10978 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10979 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10980 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10981 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10982 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10983 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10984 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10985 xcoffout.h: replace "GNU CC" with "GCC".
10986
10987 2001-08-21 Richard Henderson <rth@redhat.com>
10988
10989 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10990 (final_scan_insn): Consider jump tables data even if we have no
10991 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
10992 ADDR_VEC_ALIGN.
10993 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10994 (ASM_OUTPUT_CASE_END): Remove.
10995 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10996 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10997 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10998
10999 2001-08-21 Richard Henderson <rth@redhat.com>
11000
11001 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
11002 at barrier insns. Emit stop bits before barriers.
11003
11004 * flow.c (flow_find_cross_jump): Don't consider unconditional
11005 return insns for commoning.
11006
11007 * final.c (compute_alignments): Fix typo.
11008
11009 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
11010 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
11011 (store_bit_field): Use mode_for_extraction more places.
11012 (extract_bit_field): Likewise.
11013
11014 2001-08-21 Zack Weinberg <zackw@panix.com>
11015
11016 * caller-save.c: Don't include insn-codes.h.
11017 (reg_save_code, reg_restore_code): Make arrays of int.
11018 All uses updated to match.
11019 (insert_save, insert_restore): No need to initialize "code"
11020 variable upon declaration.
11021 * Makefile.in: update dependencies; fix typo in clean rule.
11022
11023 2001-08-21 Richard Henderson <rth@redhat.com>
11024
11025 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
11026 (merge_if_block): Handle fallout from same.
11027
11028 2001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11029
11030 * builtins.c (type_to_class): Fix typo in last change.
11031
11032 2001-08-21 Richard Henderson <rth@redhat.com>
11033
11034 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
11035 ia64_asm_output_label.
11036
11037 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
11038 copy of gp while the real gp register contains garbage.
11039
11040 2001-08-21 Zack Weinberg <zackw@panix.com>
11041
11042 * expmed.c (mode_for_extraction): New function.
11043 (store_bit_field, extract_bit_field): Use it.
11044 * expr.h: Prototype it and provide an enum for its first argument.
11045
11046 * combine.c, function.c, recog.c: Don't include insn-codes.h.
11047 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
11048 and digging through the insn_data tables.
11049 * Makefile.in: Update dependencies.
11050
11051 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
11052
11053 * cppfiles.c (stack_include_file): line-map.c now handles include
11054 depth.
11055 (handle_missing_handler): Similarly.
11056 (_cpp_execute_include): Similarly.
11057 (_cpp_pop_file_buffer): Similarly.
11058 * cpphash.h (struct cpp_reader): Remove system_include_depth,
11059 buffer_stack_depth and include_depth.
11060 * cpplib.c (do_include_common): line-map.c now handles include depth.
11061 (cpp_push_buffer): Similarly.
11062 (_cpp_pop_buffer): Similarly.
11063 * cppmacro.c (builtin_macro): Update.
11064 * line-map.c (init_line_maps): Set depth.
11065 (add_line_map): Increment "used" earlier. Update and use the
11066 include depth.
11067 (trace_include): Use the include depth.
11068 * line-map.h (struct line_maps): New member depth.
11069
11070 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11071
11072 * cppfiles.c (stack_include_file): Don't handle -H here.
11073 * cppinit.c (cpp_start_read): Set include tracing after
11074 cpp_post_options and after stacking the main file.
11075 * line-map.c (trace_include): New.
11076 (init_line_maps, add_line_map): Update.
11077 * line-map.h (struct line_maps): New member trace_includes.
11078
11079 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11080
11081 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
11082 * cppfiles.c (stack_include_file): Only stack a file if there
11083 is something to do. Return a boolean indicating whether a
11084 buffer was stacked or not.
11085 (_cpp_execute_include): Similarly.
11086 (_cpp_read_file): Similarly.
11087 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
11088
11089 2001-08-21 Sam Steingold <sds@gnu.org>
11090
11091 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
11092 (RECACHE): keep obufp_before_macroname up to date
11093
11094 2001-08-21 Zack Weinberg <zackw@panix.com>
11095
11096 * stmt.c: Don't include insn-codes.h.
11097 (expand_end_case): Machine specific logic moved to expr.c.
11098 No need to worry about __builtin_classify_type.
11099 (check_for_full_enumeration_handling, emit_case_nodes):
11100 Kill #if 0 blocks.
11101
11102 * builtins.o (expand_builtin_classify_type): Split up so code
11103 can be shared with fold_builtin_classify_type.
11104 (type_to_class, fold_builtin_classify_type): New functions.
11105 (fold_builtins): Handle __builtin_classify_type.
11106
11107 * expr.c (do_tablejump): Now static.
11108 (case_values_threshold, try_casesi, try_tablejump): New;
11109 code mostly from stmt.c (expand_end_case).
11110 (expr.h): Update prototypes.
11111
11112 * Makefile.in (stmt.o): Update dependencies.
11113
11114 2001-08-21 Will Cohen <wcohen@redhat.com>
11115
11116 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
11117 declaration of variable i.
11118 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
11119 declaration of variable i.
11120
11121 2001-08-21 Richard Henderson <rth@redhat.com>
11122
11123 * crtstuff.c: Fix thinko last change. Move list tails to start
11124 of CRT_END section. Tidy ifdefs.
11125 (__EH_FRAME_BEGIN__): Always static for ELF.
11126 (__do_global_ctors_1): Rename from __frame_dummy.
11127 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
11128 name change; don't hide __EH_FRAME_BEGIN__.
11129
11130 2001-08-21 Richard Henderson <rth@redhat.com>
11131
11132 * gdbinit.in: Move break on exit after break on fancy_abort.
11133
11134 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
11135 sized types.
11136
11137 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11138
11139 * cpphash.h (_cpp_push_next_buffer): New.
11140 * cppinit.c (do_includes): Remove.
11141 (push_include, free_chain, _cpp_push_next_buffer): New.
11142 (cpp_start_read): Use them to rework command line option handling.
11143 (cpp_handle_option): Combine handling of -include and -imacros.
11144 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
11145 appropriate. Always insert missing \n at EOF.
11146 * cpplib.c (start_directive): Get the directive position right.
11147 * cppmain.c (cb_file_change): Always print the first line, unless
11148 preprocessed.
11149
11150 2001-08-20 Andreas Jaeger <aj@suse.de>
11151
11152 * profile.c (compute_branch_probabilities): Remove extra new-line
11153 in error message.
11154 * flow.c (verify_flow_info): Likewise.
11155
11156 2001-08-20 Diego Novillo <dnovillo@redhat.com>
11157
11158 * basic-block.h (basic_block): Add new field 'flags'.
11159 (BB_REACHABLE): Define.
11160 (expunge_block): Declare.
11161 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
11162 (EXIT_BLOCK_PTR): Ditto.
11163 (expunge_block): Remove static declaration.
11164 (cleanup_cfg): Clear bb->aux on every basic block.
11165 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
11166 computing reachability.
11167 (delete_unreachable_blocks): Delete block b if b->flags has
11168 BB_REACHABLE unset.
11169
11170 2001-08-20 Diego Novillo <dnovillo@redhat.com>
11171
11172 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
11173
11174 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11175
11176 * sparc.c (sparc_variable_issue): Fix typo in last change.
11177
11178 2001-08-20 Richard Henderson <rth@redhat.com>
11179
11180 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
11181
11182 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
11183
11184 * pa.h (RETURN_IN_MEMORY): Improve comment.
11185
11186 2001-08-20 Janis Johnson <janis187@us.ibm.com>
11187
11188 * doc/invoke.texi (Profiling options): Clarify the interactions
11189 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
11190
11191 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
11192
11193 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
11194 command.
11195
11196 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11197
11198 * gcc.c (make_relative_prefix): Allocate a sufficiently large
11199 buffer.
11200
11201 2001-08-20 Richard Henderson <rth@redhat.com>
11202
11203 * final.c (end_final): Fix typo last change.
11204
11205 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
11206
11207 * cppinit.c (init_standard_includes): The returned buffer
11208 is already malloc-ed.
11209 * gcc.c (add_prefix): Similarly.
11210 * prefix.c (translate_name): Update to support clear buffer
11211 ownership rules.
11212 (update_path): Similarly. Be sure to free any newly allocated
11213 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11214 (tr): New function.
11215 * prefix.h (update_path): Update prototype and document.
11216 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11217 up and update to new buffer ownership rules.
11218 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11219
11220 Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
11221
11222 * final.c (compute_alignments): New function.
11223 (init_insn_lengths): Do not care label_align.
11224 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11225 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11226 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11227 (shorted_branches): Realloc label_align array; do
11228 not call init_insn_lengths; Do not care about loop alignments.
11229 * output.h (compute_alignments): Declare.
11230 * toplev.c (rest_of_compilation): Call compute_alignments.
11231 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11232
11233 * predict.c (block_info_def): Add npredecesors, remove nvisited;
11234 change visited to tovisit.
11235 (propagate_freq): Use faster traversing algorithm.
11236 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11237 to tovisit; reverse meaning.
11238
11239 * predict.c (struct block_info_def): Remove nvisited.
11240 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11241 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11242
11243 2001-08-19 Geoffrey Keating <geoffk@redhat.com>
11244
11245 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11246 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11247 (TARGET_FUSED_MADD): New.
11248 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11249 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11250 the multiply-add instructions.
11251
11252 2001-08-19 Richard Henderson <rth@redhat.com>
11253
11254 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
11255 is aligned to pointer size.
11256
11257 2001-08-19 Richard Henderson <rth@redhat.com>
11258
11259 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11260 display markers during final schedule.
11261
11262 2001-08-19 Richard Henderson <rth@redhat.com>
11263
11264 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11265
11266 2001-08-19 Richard Henderson <rth@redhat.com>
11267
11268 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11269 in the same string.
11270 (ASM_NAME_TO_STRING): Remove.
11271 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11272 in the same string. Remove support for expressions.
11273
11274 2001-08-19 Richard Henderson <rth@redhat.com>
11275
11276 * config/i386/i386.md (tablejump): Make an expander; handle
11277 pic relative addressing here.
11278 (tablejump_1): Rename from tablejump_pic.
11279 (casesi): Remove.
11280
11281 2001-08-19 Richard Henderson <rth@redhat.com>
11282
11283 * regclass.c (fix_register): Fix typo.
11284
11285 2001-08-18 Richard Henderson <rth@redhat.com>
11286
11287 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11288 (struct _Unwind_Context): Expand br_loc to hold it.
11289 (uw_frame_state_for): Handle leaf functions better.
11290 (uw_update_reg_address): Update for br_loc change.
11291
11292 2001-08-18 Richard Henderson <rth@redhat.com>
11293
11294 * crtstuff.c: Move list heads before code that uses them.
11295 (__JCR_LIST__): Remove initial null.
11296 (frame_dummy, __frame_dummy): Do java registration here ...
11297 (__do_global_ctors_aux): ... not here.
11298
11299 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11300 (__do_global_dtors_aux): Update to match.
11301 (__JCR_LIST__, __do_jv_register_classes): New.
11302 (.init): Call it.
11303 * config/ia64/crtend.asm (__JCR_END__): New.
11304 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11305 instead of an indirect LTOFF22 reloc.
11306
11307 2001-08-18 Richard Henderson <rth@redhat.com>
11308
11309 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11310 * regclass.c (init_reg_sets_1): Fix typo.
11311 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11312 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11313 (ia64_compute_frame_size): Make ar.unat live when in use.
11314 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11315 for ar.pfs; remove ar.unat handling.
11316 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11317 call-saved.
11318 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11319 * config/ia64/ia64-protos.h: Update decls.
11320 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11321 (sibcall_pic): Likewise.
11322
11323 2001-08-18 Richard Henderson <rth@redhat.com>
11324
11325 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11326 pred_rel_mutex when searching for insn_group_barrier.
11327 * config/ia64/ia64.md (cycle_display): Combine the expander
11328 and insn patterns.
11329
11330 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11331 bit before asm as needed.
11332
11333 2001-08-18 Richard Henderson <rth@redhat.com>
11334
11335 * timevar.def (TV_MACH_DEP): New.
11336 * toplev.c (rest_of_compilation): Use it.
11337 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11338
11339 2001-08-18 Zack Weinberg <zackw@panix.com>
11340
11341 * unwind-dw2.c (execute_stack_op): Add default aborts to
11342 the inner switches to prevent warnings.
11343
11344 2001-08-18 Richard Henderson <rth@redhat.com>
11345
11346 * timevar.h (struct timevar_time_def): Change element type to float.
11347 (ticks_to_msec, clocks_to_msec): Likewise.
11348 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11349 (get_time): Likewise.
11350 (timevar_print): Adjust zero check and printing to match.
11351
11352 2001-08-18 Zack Weinberg <zackw@panix.com>
11353
11354 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11355 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11356 Eliminate overfull or underfull hboxes.
11357
11358 2001-08-18 Zack Weinberg <zackw@panix.com>
11359
11360 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11361
11362 2001-08-18 Zack Weinberg <zackw@panix.com>
11363
11364 * haifa-sched.c: Convert to target hooks. Macros replaced
11365 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11366 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11367 MD_SCHED_FINISH, and HAVE_cycle_display.
11368 * target-def.h (TARGET_SCHED_ADJUST_COST,
11369 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11370 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11371 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11372 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11373 New hook #defines to be overridden.
11374 (TARGET_SCHED): Bring them all together.
11375 (TARGET_INITIALIZER): Update.
11376 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
11377 instead of 'struct rtx_def *' throughout.
11378 (struct sched): New set of hooks for the scheduler.
11379 * Makefile.in (haifa-sched.o): Depend on target.h.
11380 * doc/tm.texi: Document the new scheduler hooks, together in
11381 their own section, instead of scattered around.
11382 Fix a bunch of underfull/overfull hboxes.
11383
11384 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11385 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11386 sparc.h: Don't define any of the old scheduler macros.
11387
11388 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11389 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11390 sparc.c: Create hook functions from code extracted from
11391 corresponding target header, or make existing hooks static, as
11392 appropriate. Set the appropriate entries in targetm.
11393
11394 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11395 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11396 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11397 Remove prototypes for functions which are now static.
11398
11399 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11400 related gunk; the Haifa scheduler is now the only choice.
11401
11402 2001-08-18 Zack Weinberg <zackw@panix.com>
11403
11404 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11405 * genopinit.c: Put floating point divide insns in sdiv_optab.
11406 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11407 * config/gofast.h, config/c4x/c4x.h,
11408 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11409 config/pa/long_double.h, config/rs6000/sysv4.h,
11410 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11411 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11412 (init_optabs): Use init_optabv for overflow-trapping optabs.
11413 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11414 cmp_optab RTX codes so have_insn_for can find them.
11415
11416 * optabs.c (expand_simple_binop, expand_simple_unop,
11417 have_insn_for, gen_sub3_insn): New interfaces.
11418 * expr.h: Prototype new functions.
11419 (enum optab_methods): Move here from optabs.h.
11420
11421 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11422 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11423 Use new functions instead of working directly with optabs.
11424 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11425 unroll.c: Don't include optabs.h.
11426 * caller-save.c, combine.c, function.c, stmt.c: Just include
11427 insn-codes.h, not optabs.h.
11428 * Makefile.in: Update dependencies.
11429
11430 * combine.c (make_compound_operation, simplify_comparison):
11431 Fix typos testing for this or that instruction.
11432
11433 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11434
11435 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11436 generating libgcc.a.
11437
11438 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11439
11440 * except.c (TYPE_HASH): Delete.
11441
11442 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11443 HOST_WIDE_INT.
11444
11445 * tree.c (TYPE_HASH): Delete.
11446
11447 * tree.h (TYPE_HASH): Define.
11448
11449 2001-08-18 Graham Stott <grahams@redhat.com>
11450
11451 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11452 define_split.
11453 (adddi3_internal_2+2): Likewise.
11454 (eh_set_lr_di+1): Likewise.
11455
11456 2001-08-17 Richard Henderson <rth@redhat.com>
11457
11458 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11459 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11460 * dwarf2asm.c: ... here.
11461 * dwarfout.c: Remove them.
11462
11463 * varasm.c (assemble_integer): Add align parameter.
11464 (assemble_real, output_constant, output_constructor): Likewise.
11465 * output.h: Update decls.
11466 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11467 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11468 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11469 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11470 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11471 Update all callers.
11472
11473 * final.c (end_final): Abort profile block generation if we
11474 haven't layed it out properly.
11475 * output.h (assemble_eh_integer): Remove stale decl.
11476 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11477 (min_align): New.
11478 (assemble_integer): Handle unaligned data.
11479 (assemble_real): Abort on unaligned data.
11480 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11481 anything useful.
11482 (default_dtor_section_asm_out_destructor): Use assemble_align.
11483 (default_named_section_asm_out_constructor): Likewise.
11484 (default_ctor_section_asm_out_constructor): Likewise.
11485 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11486 (machopic_asm_out_destructor): Likewise.
11487 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11488 (nextstep_asm_out_destructor): Likewise.
11489 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11490 (vms_asm_out_destructor): Likewise.
11491
11492 2001-08-17 Richard Henderson <rth@redhat.com>
11493
11494 * config/mips/iris6.h (TARGET_IRIX6): New.
11495 (current_section_name, current_section_flags): New.
11496 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11497 (MAX_OFILE_ALIGNMENT): New.
11498 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11499 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11500 (copy_file_data): Split out from
11501 (mips_asm_file_end): ... here.
11502 (mips_asm_file_start): Remove extra .section directive. Use
11503 tmpfile instead of mips_make_temp_file.
11504 (mips_unique_section): Use const char * as needed for warnings.
11505 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11506 re-add align parameter.
11507 (iris6_asm_named_section): New.
11508 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11509 (iris6_asm_output_align, iris6_section_align_1): New.
11510 (iris6_asm_file_start, iris6_asm_file_end): New.
11511 * config/mips/mips-protos.h: Update decls.
11512
11513 2001-08-17 Janis Johnson <janis187@us.ibm.com>
11514
11515 * doc/install.texi (Install GCC): Add links to build status pages.
11516 (Specific): Ditto.
11517 (Final install): Ditto; request updates for specific info
11518
11519 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
11520
11521 * cpperror.c (print_location): Don't take a file name; use the
11522 line map instead.
11523 (_cpp_begin_message): Similarly.
11524 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11525 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11526 (cpp_pedwarn_with_file_and_line): Remove.
11527 * cppfiles.c (stack_include_file): Update; set filename to stdin
11528 here when appropriate.
11529 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11530 (_cpp_begin_message): Don't take a file name.
11531 * cppinit.c: Add comment.
11532 * cpplex.c: Fix end-of-directive indicator.
11533 * cpplib.c: Don't include intl.h.
11534 (run_directive, do_diagnostic): Update.
11535 (do_line): Update to not use nominal_fname.
11536 (cpp_push_buffer): Don't take a filename.
11537 * cpplib.h (struct ht): Remove.
11538 (cpp_push_buffer): Don't take a filename.
11539 (cpp_pedwarn_with_file_and_line): Remove.
11540 * cppmacro.c (struct cpp_macro): Remove file.
11541 (builtin_macro): Update.
11542 (_cpp_create_definition): Update.
11543 * cppmain.c: Correct comment.
11544 * fix-header.c (read_scan_file): Update.
11545
11546 2001-08-17 Kazu Hirata <kazu@hxi.com>
11547
11548 * sbitmap.c: Fix comment formatting.
11549 * sched-deps.c: Likewise.
11550 * sibcall.c: Likewise.
11551 * simplify-rtx.c: Likewise.
11552 * ssa.c: Likewise.
11553 * ssa-ccp.c: Likewise.
11554 * stor-layout.c: Likewise.
11555 * timevar.c: Likewise.
11556 * toplev.c: Likewise.
11557 * unwind-dw2.c: Likewise.
11558 * unwind-dw2-fde.c: Likewise.
11559 * varasm.c: Likewise.
11560
11561 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
11562
11563 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11564 or larger than an integer in memory.
11565
11566 2001-08-17 Zack Weinberg <zackw@panix.com>
11567
11568 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11569 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
11570 * rtl.h: Don't forward-declare union tree_node here. Don't
11571 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
11572 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11573 and tree respectively.
11574 * tree.h: Don't forward-declare struct rtx_def here. Don't
11575 typedef tree here. Change all uses of struct rtx_def *,
11576 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11577 and tree respectively.
11578
11579 2001-08-17 Richard Henderson <rth@redhat.com>
11580
11581 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11582 config/mips/openbsd.h: Fix typos last change.
11583
11584 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11585
11586 * doc/invoke.texi (Optimize Options): The default for
11587 -finline-limit is 600.
11588
11589 2001-08-17 Richard Henderson <rth@redhat.com>
11590
11591 * varasm.c (text_section): Allow TEXT_SECTION to override the
11592 printing of TEXT_SECTION_ASM_OP.
11593 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11594 (DATA_SECTION, BSS_SECTION): Remove.
11595 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11596 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11597 Rename from s/_NAME//.
11598 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11599 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11600 (TEXT_SECTION): ... here. New.
11601 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11602 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11603 * config/mips/openbsd.h: Likewise.
11604 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11605 (mips_asm_file_end): Likewise test.
11606 (mips_output_function_epilogue): Likewise. Switch back to data
11607 section after emitting the function.
11608
11609 * doc/tm.texi (Sections): Document TEXT_SECTION.
11610
11611 2001-08-17 Richard Henderson <rth@redhat.com>
11612
11613 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11614 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
11615
11616 2001-08-17 Richard Henderson <rth@redhat.com>
11617
11618 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11619 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11620 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11621 Add aligned attribute.
11622
11623 2001-08-17 Andrew Haley <aph@cambridge.redhat.com>
11624
11625 * config/sh/sh.md: Add modes to unspecs in first insn to match
11626 those in the second.
11627
11628 * Makefile.in: Fix collect2 copy for Cygwin.
11629
11630 Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
11631
11632 Install the proper patch.
11633 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11634 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11635 (expand_function_start): Likewise.
11636 * stmt.c (expand_decl): Likewise.
11637 * varasm.c (make_decl_rtx): Likewise.
11638
11639 Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11640
11641 * final.c: Undo my previous accidental checkin.
11642 * output.h: Likewise.
11643 * tm.texi: Likewise.
11644
11645 2001-08-16 Richard Henderson <rth@redhat.com>
11646
11647 * varasm.c (named_section_flags): Remove align parameter.
11648 * varasm.c, dwarf2out.c: Update all callers.
11649 * output.h: Update prototypes.
11650
11651 * target.h (target.asm_out.named_section): Remove align parameter.
11652 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11653 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11654 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11655 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11656 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11657
11658 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11659 (get_named_section_flags, set_named_section_flags): New.
11660 (named_section_flags): Use them.
11661 (named_section): Do decl vs section flags check here...
11662 (default_section_type_flags): ... not here.
11663 (init_varasm_once): Create in_named_htab.
11664 (resolve_unique_section): Mark reloc unused.
11665
11666 2001-08-16 Richard Henderson <rth@redhat.com>
11667
11668 * varasm.c (force_const_mem): Keep pool alignment in bits.
11669 (output_constant_pool): Use assemble_align.
11670
11671 2001-08-16 Zack Weinberg <zackw@panix.com>
11672
11673 * doc/tm.texi: Remove extra @table command.
11674
11675 2001-08-16 Zack Weinberg <zackw@panix.com>
11676
11677 * final.c (shorten_branches): Clear the end of the label_align
11678 array only if we made it larger. Break up messy expressions
11679 for clarity.
11680
11681 * diagnostic.c (internal_error): Check for error recursion
11682 before doing ICE suppression.
11683
11684 * timevar.c: Timing variables now count in milliseconds.
11685 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11686 (get_time): Not here.
11687 (timevar_print): Don't print any timer whose user, cpu, and
11688 wall times are all zero as displayed.
11689 * timevar.h: Update comment aboout units. Make timevar
11690 counters unsigned.
11691
11692 Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
11693
11694 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11695 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11696 (expand_function_start): Likewise.
11697 * stmt.c (expand_decl): Likewise.
11698 * varasm.c (make_decl_rtx): Likewise.
11699
11700 2001-08-16 Jason Merrill <jason_merrill@redhat.com>
11701
11702 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11703 (finalize_record_size): Don't set TYPE_USER_ALIGN.
11704
11705 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11706
11707 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11708 variables.
11709
11710 2001-08-16 Andreas Jaeger <aj@suse.de>
11711
11712 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11713 prototype.
11714
11715 Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
11716
11717 * rtl.h (only_sets_cc0_p): New prototype.
11718 * jump.c (sets_cc0_p): Handle INSN.
11719 (only_sets_cc0_p): New function.
11720 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11721 (tidy_fallthru_edge): Likewise.
11722 * integrate.c (copy_insn_list): Likewise.
11723 * unroll.c (unroll_loop): Likewise.
11724 (copy_loop_body): Likewise.
11725
11726 2001-08-15 Jason Eckhardt <jle@redhat.com>
11727
11728 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11729
11730 Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
11731
11732 * predict.c (struct block_info_def): Remove nvisited.
11733 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11734 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11735
11736 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11737 (ix86_adjust_cost): Teach scheduler that latency to load operand can
11738 be masked.
11739
11740 Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
11741
11742 * predict.def: Update hitrates.
11743
11744 2001-08-15 Richard Henderson <rth@redhat.com>
11745
11746 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11747
11748 Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
11749
11750 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11751 note from its associated jump.
11752
11753 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
11754
11755 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11756 also on 64-bit s390x targets.
11757
11758 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
11759
11760 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11761 function.
11762 (arm_expand_prologue): Handled nested functions which take a
11763 variable argument list.
11764 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11765 macro with an invocation of
11766 arm_compute_initial_elimination_offset.
11767 * config/arm/arm-protos.h: Prototype
11768 arm_compute_initial_elimination_offset.
11769
11770 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11771
11772 * doc/install.texi (Specific, avr): Fix markup.
11773 (Specific, c4x): Ditto.
11774
11775 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11776
11777 * predict.c (dump_prediction): Change `bool' parameter to `int'.
11778
11779 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
11780
11781 * Makefile.in (OBJS): Add rtl-error.o
11782 (rtl-error.o): New rule.
11783 (diagnostic.o): Adjust dependency.
11784 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11785 error_for_asm, _fatal_insn, _fatal_insn_not_found,
11786 warning_for_asm): Move to...
11787 rtl-error.c: ...here. New file.
11788
11789 2001-08-14 Richard Henderson <rth@redhat.com>
11790
11791 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11792 if USING_SJLJ_EXCEPTIONS.
11793
11794 2001-08-14 Steve Ellcey <sje@cup.hp.com>
11795
11796 * tlink.c (scan_linker_output): Check string for unsatisfied in
11797 addition to undefined and unresolved.
11798
11799 2001-08-14 Graham Stott <grahams@redhat.com>
11800
11801 * libgcc2.c (*): Replace EH_FRAME_SECTION with
11802 EH_FRAME_SECTION_NAME.
11803
11804 Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
11805
11806 * genattrtab.c (simplify_test_exp_in_temp): New function.
11807 (simplify_test_exp): Avoid explicit use of temporary obstack.
11808 (simplify_cond, insert_right_side, evaluate_eq_attr,
11809 simplify_and_tree, simplify_or_tree, eliminate_known_true):
11810 Use simplify_test_exp_in_temp.
11811 (optimize_attrs): Iterate until expression stabilizes.
11812
11813 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
11814
11815 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11816 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11817
11818 2001-08-13 Richard Henderson <rth@redhat.com>
11819
11820 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11821 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11822 * config/arm/conix-elf.h: Likewise.
11823
11824 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11825
11826 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11827 in gcc.c.
11828 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11829
11830 * gcse.c (hash_scan_set): Expressions that are set as part of
11831 jump instructions are not available.
11832
11833 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
11834
11835 * config/s390/s390.c (print_operand, s390_function_prologue,
11836 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11837
11838 2001-08-13 Richard Henderson <rth@redhat.com>
11839
11840 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11841 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11842 * doc/tm.texi (Exception Region Output): Document it.
11843
11844 2001-08-13 Geoffrey Keating <geoffk@redhat.com>
11845
11846 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11847 DWARF2 instead of stabs by default.
11848
11849 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11850
11851 * config/rs6000/rs6000.c: Include optabs.h.
11852
11853 2001-08-13 David Edelsohn <edelsohn@gnu.org>
11854
11855 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11856 save/restore routines.
11857 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11858
11859 2001-08-13 Andreas Jaeger <aj@suse.de>
11860
11861 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11862 the english is correct.
11863
11864 2001-08-13 Zack Weinberg <zackw@panix.com>
11865
11866 * expr.h: Split out optab- and libfunc-related code to...
11867 * optabs.h, libfuncs.h: ... these new headers.
11868
11869 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11870 (OPTABS_H): New.
11871 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11872 dependencies.
11873 * mkconfig.sh: Don't include insn-codes.h from config.h.
11874
11875 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11876 enum insn_code is available. Move reload_in_optab and
11877 reload_out_optab array declarations to optabs.h.
11878 * regmove.c (gen_add3_insn): Move to optabs.c, export from
11879 there, prototype in expr.h.
11880 * gencodes.c: Cleanup: zap global variables, don't use
11881 printf where puts will do, don't bother defining MAX_INSN_CODE
11882 which nothing uses, let CODE_FOR_nothing get its value implicitly.
11883
11884 * genemit.c, genopinit.c: Include optabs.h in generated file.
11885 * genoutput.c: Include insn-codes.h in generated file.
11886 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11887 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11888 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11889 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11890 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11891 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11892 Include optabs.h.
11893 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11894 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11895 config/m88k/m88k.c, config/sparc/sparc.c:
11896 Include libfuncs.h.
11897 * reload.c: Include expr.h and optabs.h before reload.h.
11898 * config/alpha/alpha.c: Include tree.h before reload.h.
11899 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11900 and reload.h in that order.
11901 * config/sparc/sparc.c: Include debug.h.
11902 * recog.c: Include insn-codes.h.
11903
11904 2001-08-13 Andreas Jaeger <aj@suse.de>
11905
11906 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11907 s390*linux.
11908
11909 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11910
11911 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11912 * gcc.c (init_spec): Fix typo in comment.
11913 * varasm.c (data_section): Fix typo in comment.
11914
11915 Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
11916
11917 * predict.c (dump_prediction): New argument "USED".
11918 (combine_predictions_for_insn): Determine the used heuristics,
11919 output the case no heuristic applied.
11920 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11921
11922 2001-08-13 Andreas Jaeger <aj@suse.de>
11923
11924 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11925 register %rip.
11926
11927 2001-08-13 Kazu Hirata <kazu@hxi.com>
11928
11929 * jump.c: Fix formatting.
11930
11931 2001-08-13 Kazu Hirata <kazu@hxi.com>
11932
11933 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11934 length.
11935
11936 2001-08-12 Geoffrey Keating <geoffk@redhat.com>
11937
11938 * loop.c (check_dbra_loop): Use condjump_label to compute
11939 jump_label.
11940
11941 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11942 to better document the files they're in.
11943
11944 2001-08-12 Zack Weinberg <zackw@panix.com>
11945
11946 * recog.h (struct insn_operand_data): Shrink 'mode' field
11947 to 16 bits.
11948
11949 2001-08-12 Kazu Hirata <kazu@hxi.com>
11950
11951 * gcc.c: Fix comment formatting.
11952 * gccspec.c: Likewise.
11953 * gcov.c: Likewise.
11954 * gcse.c: Likewise.
11955 * genemit.c: Likewise.
11956 * gengenrtl.c: Likewise.
11957 * genrecog.c: Likewise.
11958 * gensupport.c: Likewise.
11959 * ggc-page.c: Likewise.
11960 * global.c: Likewise.
11961 * graph.c: Likewise.
11962 * ifcvt.c: Likewise.
11963 * integrate.c: Likewise.
11964 * lcm.c: Likewise.
11965 * libgcc2.c: Likewise.
11966 * loop.c: Likewise.
11967 * mbchar.c: Likewise.
11968 * optabs.c: Likewise.
11969 * predict.c: Likewise.
11970 * prefix.c: Likewise.
11971 * profile.c: Likewise.
11972 * protoize.c: Likewise.
11973 * real.c: Likewise.
11974 * recog.c: Likewise.
11975 * regclass.c: Likewise.
11976 * regmove.c: Likewise.
11977 * reg-stack.c: Likewise.
11978 * reload1.c: Likewise.
11979 * resource.c: Likewise.
11980 * rtlanal.c: Likewise.
11981 * rtl.c: Likewise.
11982
11983 2001-08-12 Kazu Hirata <kazu@hxi.com>
11984
11985 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11986 a tree representing a constant is passed to the macro.
11987
11988 2001-08-12 Richard Henderson <rth@redhat.com>
11989
11990 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11991 (rs6000_elf_asm_out_destructor): New.
11992 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11993 (DTORS_SECTION_ASM_OP): Remove.
11994 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11995 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11996
11997 2001-08-12 David Edelsohn <edelsohn@gnu.org>
11998
11999 Revert:
12000 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12001 * gcc.c (set_collect_gcc_options): New function, split out from
12002 main.
12003 Ignore elided switches.
12004 (do_spec_1): Invoke before executing command.
12005 (set_input): Export.
12006 Move declaration ...
12007 * gcc.h (set_input): ... here.
12008 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
12009 file.
12010
12011 2001-08-12 Richard Henderson <rth@redhat.com>
12012
12013 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
12014 thinko wrt TARGET_RELOCATABLE.
12015
12016 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
12017
12018 * fix-header.c (cb_file_change): Update prototype.
12019
12020 2001-08-11 Zack Weinberg <zackw@panix.com>
12021
12022 * toplev.c (set_float_handler): Make static.
12023 * toplev.h: Don't prototype set_float_handler.
12024
12025 * simplify-rtx.c: Don't include setjmp.h.
12026 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
12027 New functions.
12028 (simplify_unary_operation, simplify_binary_operation): Use them,
12029 via do_float_handler.
12030
12031 * fold-const.c: Don't include setjmp.h.
12032 (exact_real_inverse_1): New function.
12033 (exact_real_inverse): Use it, via do_float_handler.
12034
12035 * varasm.c: Don't include setjmp.h.
12036 (assemble_real_1): New function.
12037 (assemble_real): Use it, via do_float_handler.
12038 Call internal_error if we get a trap here.
12039
12040 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
12041 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
12042
12043 2001-08-11 Zack Weinberg <zackw@panix.com>
12044
12045 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
12046 STACK_BOUNDARY if not already defined.
12047
12048 * calls.c, function.c, reload1.c, explow.c: Don't default
12049 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
12050 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
12051
12052 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
12053 to run-time test.
12054
12055 * doc/tm.texi: Document that STACK_BOUNDARY is required;
12056 clarify difference between it and PREFERRED_STACK_BOUNDARY.
12057
12058 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
12059
12060 * cppmacro.c (enter_macro_context): Push macro expansions even
12061 if empty.
12062
12063 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12064
12065 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
12066 (rs6000_elf_section_type_flags): Actually return a value.
12067
12068 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
12069
12070 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
12071 Clean up code: add missing comments and prototypes, fix warnings,
12072 remove obsolete code, fix spacing to conform to coding style.
12073
12074 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
12075
12076 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
12077 and TARGET_ASM_CLOSE_PAREN.
12078 (regclass_map): CC register belongs to class NO_REGS.
12079 (legitimize_pic_address): Don't generate unnecessary moves
12080 (to avoid confusing loop optimization).
12081 (check_and_change_labels): Replace jump_long by indirect_jump.
12082 (s390_final_chunkify): Don't start a new literal pool on section
12083 switch in 64-bit code.
12084 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
12085
12086 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
12087 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
12088 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
12089 modes correctly.
12090 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
12091 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
12092 (CONST_COSTS): Fixed incorrect costs.
12093
12094 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
12095 Use emit_jump instead of emit_jump_insn (gen_jump).
12096 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
12097 (to avoid confusing flow analysis).
12098 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
12099 (casesi, casesi_jump): New.
12100 (jump_long): Removed. Functionality merged into indirect_jump.
12101 (indirect_jump): Accept address_operand, not just register_operand.
12102 (cjump_long, icjump_long): Use same logic as indirect_jump.
12103 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
12104 Fixed broken setjmp/longjmp handling.
12105 (do_builtin_setjmp_setup): Removed.
12106
12107 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
12108 broken GNU as versions that don't accept .quad with large
12109 negative values. Use hexadecimal output instead.
12110 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
12111 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
12112 FUNCTION_EPILOGUE): Removed. Now in targetm.
12113
12114 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
12115
12116 * config/s390/fixdfdi.h: Add missing copyright statement.
12117 Fix type conflicts on 64-bit. Add missing SFmode routines.
12118
12119 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
12120 email address.
12121
12122 2001-08-11 Richard Henderson <rth@redhat.com>
12123
12124 * rtl.h (REG_EH_RETHROW): Remove.
12125 * rtl.c (reg_note_name): Update.
12126 * combine.c (distribute_notes): Don't check for it.
12127
12128 2001-08-11 Richard Henderson <rth@redhat.com>
12129
12130 * combine.c (distribute_notes): Place REG_SETJMP.
12131
12132 2001-08-11 Richard Henderson <rth@redhat.com>
12133
12134 * doc/extend.texi (Arrays and pointers implementation): Discourage
12135 relying on sign-extension of pointers.
12136
12137 2001-08-11 H.J. Lu <hjl@gnu.org>
12138
12139 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
12140 in_dtors.
12141 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
12142 RDATA_SECTION_ASM_OP.
12143
12144 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12145
12146 * doc/install.texi (Specific, c4x): Fix cross-reference to the
12147 main manual to work both for info and HTML versions.
12148
12149 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
12150 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12151
12152 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
12153 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
12154 (struct cpp_pool): New member first.
12155 * cppinit.c (append_include_chain): Plug memory leaks.
12156 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
12157 Allocate pragma structures from the (aligned) macro pool to
12158 avoid leaking memory.
12159 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
12160 so we don't leak memory.
12161 * hashtable.c (ht_destroy): New.
12162 * hashtable.h (ht_destroy): New.
12163
12164 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
12165 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12166
12167 * c-lex.c (map): Make const.
12168 (cb_file_change): Update for callback passing a line map.
12169 Don't assume we have a previous map. Remove sanity check
12170 about popping too many files.
12171 * cpperror.c (print_location): Make map const.
12172 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
12173 (cpp_make_system_header): Similarly.
12174 (search_from): Similarly.
12175 (_cpp_execute_include): Don't remember where we came from.
12176 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
12177 (struct cpp_reader): Make map const.
12178 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
12179 * cpplib.c (do_line): Update; line maps now hold sysp.
12180 (cpp_push_buffer): Similarly.
12181 (_cpp_do_file_change): Similarly; callback with map instead.
12182 (cpp_get_line_maps): Constify return value.
12183 (_cpp_pop_buffer): Update.
12184 * cpplib.h (struct cpp_file_change): Remove.
12185 (struct cpp_callbacks): Update.
12186 (cpp_get_line_maps): Constify return value.
12187 * cppmacro.c (_cpp_create_definition): Update.
12188 * cppmain.c (struct printer): Constify map.
12189 (maybe_print_line): Similarly.
12190 (print_line): Similarly. Deduce flags 1 and 2 here.
12191 (cb_file_change): Update.
12192 * line-map.c (free_line_maps): Warn regardless.
12193 (add_line_map): Return pointer to const. When passed NULL to_file
12194 with LC_LEAVE, use the obvious values for the return point so the
12195 caller doesn't have to figure them out.
12196 (lookup_line): Return pointer to const.
12197 (print_containing_files): Take pointer to const.
12198 * line-map.h (struct line_map): New members reason, sysp.
12199 (add_line_map): Return pointer to const.
12200 (lookup_line): Similarly.
12201 (print_containing_files): Take pointer to const.
12202
12203 2001-08-10 Roman Zippel <zippel@linux-m68k.org>
12204 Richard Henderson <rth@redhat.com>
12205
12206 * regmove.c (regmove_optimize): Avoid setting a register twice in
12207 a parallel set.
12208
12209 2001-08-10 Richard Henderson <rth@redhat.com>
12210
12211 * doc/extend.texi (Arrays and pointers implementation): Document
12212 behavior of pointer/integer conversion.
12213
12214 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
12215
12216 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
12217
12218 2001-08-10 Richard Henderson <rth@redhat.com>
12219
12220 * doc/extend.texi (C Implementation): New chapter.
12221 * doc/gcc.texi (Top): Link it in.
12222
12223 2001-08-10 Andrew Cagney <ac131313@redhat.com>
12224
12225 * doc/install.texi (Specific): Fix CVS merge botch.
12226
12227 2001-08-10 Richard Henderson <rth@redhat.com>
12228
12229 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12230 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12231
12232 2001-08-10 Zack Weinberg <zackw@stanford.edu>
12233
12234 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12235 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
12236 this macro is now required.
12237
12238 * cselib.c (cselib_process_insn), flow.c (propagate_block),
12239 loop.c (find_and_verify_loops), reload.c (reload): Check
12240 for rtx code of CALL_INSN, not CALL, when deciding if we
12241 need to check for REG_SETJMP note.
12242
12243 * gcse.c (compute_hash_table, compute_store_table): Update
12244 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12245 logic.
12246
12247 * config/avr/avr.c: Fix typo.
12248 * config/convex/convex.c (expand_movstr): Use adjust_address.
12249 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12250 variable.
12251 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12252 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12253 Fix typo.
12254 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12255 Do define STACK_BOUNDARY.
12256 * config/i370/i370.c: Include expr.h.
12257 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12258 config/pa/som.h, config/v850/v850.h: Take in_ctors and
12259 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12260 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12261 * config/m88k/m88k.c: Include c-tree.h after expr.h.
12262 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12263 * config/romp/romp.c: Include expr.h after tree.h.
12264 Include toplev.h.
12265 (output_fpop): Use xmalloc, not oballoc.
12266 * config/we32k/we32k.c: Include expr.h.
12267
12268 2001-08-10 Kazu Hirata <kazu@hxi.com>
12269
12270 * config/h8300/h8300.h: Fix formatting.
12271
12272 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12273
12274 * c-common.h (RETURN_NULLIFIED_P): Lose.
12275 * c-semantics.c (genrtl_return_stmt): Don't check it.
12276
12277 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12278
12279 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12280 (mips_annotate_frame_insn): New function.
12281 (mips_emit_frame_related_store): New function.
12282 (save_restore_insns): Don't mark instructions that set up the base
12283 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
12284 the store instructions instead.
12285 (mips_expand_prologue): If the stack size is moved into a temporary
12286 register, do not mark that move as frame-related. Add a
12287 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12288
12289 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12290
12291 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12292 stack slot as unchanging if current_function_calls_eh_return.
12293
12294 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
12295
12296 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12297 access the second half of the TFmode scratch operand.
12298
12299 2001-08-10 Anthony Green <green@redhat.com>
12300
12301 * java/class.c (emit_register_classes): Conditionalize code on
12302 JCR_SECTION_NAME.
12303
12304 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12305
12306 * doc/install.texi (Specific, avr): Fix cross-reference to the
12307 main manual to work both for info and HTML versions.
12308
12309 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12310
12311 * stmt.c (expand_null_return_1): Remove code to generate simple returns
12312 and "use_goto" argument.
12313 (expand_null_return, expand_value_return): Update all callers.
12314 * function.c (expand_function_end): Remove code to generate simple
12315 return.
12316 * config/vax/vax.md (epilogue): New expander for function return.
12317 * doc/md.texi (epilogue): Remove "if defined".
12318
12319 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12320
12321 * Makefile.in: Partially revert my previous change:
12322 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12323 of the hashtab.o and safe-ctype.o rules.
12324
12325 2001-08-09 Richard Henderson <rth@redhat.com>
12326
12327 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12328 (USE_COLLECT2): Remove duplicate definition.
12329 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12330 (use_collect2): Remove dead code.
12331 * configure.in (use_collect2): Remove will_use_collect2 and
12332 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12333 * configure: Rebuild.
12334
12335 * target.h (targetm.asm_out.constructor): New.
12336 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12337 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12338 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12339 * varasm.c (in_ctors, in_dtors): New.
12340 (assemble_constructor, assemble_destructor): Remove.
12341 (default_stabs_asm_out_destructor): New.
12342 (default_named_section_asm_out_destructor): New.
12343 (dtors_section, default_dtor_section_asm_out_destructor): New.
12344 (default_stabs_asm_out_constructor): New.
12345 (default_named_section_asm_out_constructor): New.
12346 (ctors_section, default_ctor_section_asm_out_constructor): New.
12347 * output.h: Update declarations.
12348 * c-decl.c (c_expand_body): Use target hooks instead of
12349 assemble_constructor and assemble_destructor.
12350 * profile.c (output_func_start_profiler): Likewise.
12351 * objc/objc-act.c (finish_objc): Likewise.
12352 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12353 for the constructor.
12354 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12355
12356 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12357 (DTORS_SECTION_ASM_OP): Likewise.
12358 (__CTOR_LIST__): Use attribute section when possible.
12359 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12360
12361 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12362 ASM_OUTPUT_CONSTRUCTOR.
12363
12364 * config/darwin.c (machopic_asm_out_constructor): New.
12365 (machopic_asm_out_destructor): New.
12366 * config/darwin-protos.h: Update declarations.
12367 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12368 (ASM_OUTPUT_DESTRUCTOR): Remove.
12369 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12370 * config/nextstep.c (nextstep_asm_out_constructor): New.
12371 (nextstep_asm_out_destructor): New.
12372 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12373 (ASM_OUTPUT_DESTRUCTOR): Remove.
12374 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12375 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12376 ASM_OUTPUT_*STRUCTOR.
12377 * config/i386/aix386ng.h: Likewise.
12378
12379 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12380 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12381 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12382 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12383 * config/lynx.h: Likewise.
12384 * config/netware.h: Likewise.
12385 * config/psos.h: Likewise.
12386 * config/alpha/alpha-interix.h: Likewise.
12387 * config/alpha/elf.h: Likewise.
12388 * config/arc/arc.h: Likewise.
12389 * config/arm/aof.h: Likewise.
12390 * config/arm/coff.h: Likewise.
12391 * config/arm/elf.h: Likewise.
12392 * config/c4x/c4x.h: Likewise.
12393 * config/h8300/h8300.h: Likewise.
12394 * config/i386/cygwin.h: Likewise.
12395 * config/i386/djgpp.h: Likewise.
12396 * config/i386/i386-coff.h: Likewise.
12397 * config/i386/i386-interix.h: Likewise.
12398 * config/i386/sco5.h: Likewise.
12399 * config/i386/vsta.h: Likewise.
12400 * config/i386/win32.h: Likewise.
12401 * config/i960/i960-coff.h: Likewise.
12402 * config/ia64/sysv4.h: Likewise.
12403 * config/m68hc11/m68hc11.h: Likewise.
12404 * config/m68k/coff.h: Likewise.
12405 * config/m68k/mot3300.h: Likewise.
12406 * config/m88k/m88k.h: Likewise.
12407 * config/mcore/mcore-pe.h: Likewise.
12408 * config/mcore/mcore.h: Likewise.
12409 * config/mips/elf.h: Likewise.
12410 * config/mips/elf64.h: Likewise.
12411 * config/mips/iris6.h: Likewise.
12412 * config/pa/pa64-hpux.h: Likewise.
12413 * config/rs6000/sysv4.h: Likewise.
12414 * config/sh/sh.h: Likewise.
12415 * config/sparc/litecoff.h: Likewise.
12416
12417 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12418 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12419 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12420 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12421 (ASM_OUTPUT_DESTRUCTOR): Remove.
12422 * config/a29k/a29k.c: Move include of tree.h.
12423 * config/a29k/udi.h: Delete file.
12424 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12425 (vms_asm_out_destructor): New.
12426 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12427 (EXTRA_SECTION_FUNCTIONS): Likewise.
12428 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12429 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12430 * config/c4x/c4x.c: Move include of tree.h.
12431 * config/clipper/clipper.c (clix_asm_out_constructor): New.
12432 (clix_asm_out_destructor): New.
12433 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12434 (ASM_OUTPUT_DESTRUCTOR): Remove.
12435 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12436 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12437 (TARGET_ASM_CONSTRUCTOR): New.
12438 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12439 (sco_asm_out_constructor): New.
12440 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12441 * config/i386/svr3gas.h: Remove stack grows up code.
12442 Remove code duplicated from i386/sysv3.h.
12443 (TARGET_ASM_CONSTRUCTOR): New.
12444 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12445 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12446 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12447 (TARGET_ASM_CONSTRUCTOR): New.
12448 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12449 (m68hc11_asm_out_destructor): New.
12450 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12451 (TARGET_ASM_DESTRUCTOR): New.
12452 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12453 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12454 config/svr3.h pertaining to section manipulation.
12455 * config/m68k/dpx2g.h: Remove #if 0 code.
12456 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12457 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12458 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12459 (TARGET_ASM_CONSTRUCTOR): New.
12460 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12461 (m88k_svr3_asm_out_constructor): New.
12462 (m88k_svr3_asm_out_destructor): New.
12463 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12464 (ASM_OUTPUT_DESTRUCTOR): Remove.
12465 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12466 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12467 * config/rs6000/aix.h: Likewise.
12468 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12469 * config/mips/vxworks.h: Likewise.
12470 * config/rs6000/lynx.h: Likewise.
12471 * config/sh/elf.h: Likewise.
12472 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12473 (DTORS_SECTION_ASM_OP): New.
12474 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12475 (ASM_OUTPUT_DESTRUCTOR): Remove.
12476 * config/sparc/sol2-sld-64.h: Likewise.
12477 * config/vax/vax.c (vms_asm_out_constructor): New.
12478 (vms_asm_out_destructor): New.
12479 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12480 (ASM_OUTPUT_DESTRUCTOR): Remove.
12481 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12482
12483 * doc/tm.texi (@node Initialization): Update.
12484
12485 2001-08-09 Richard Henderson <rth@redhat.com>
12486
12487 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12488 (__do_global_dtors_aux): Use gp-relative static data to avoid
12489 one dynamic relocation.
12490 (__do_frame_setup): Register Java classes.
12491 * config/alpha/crtend.asm (__JCR_END__): New.
12492
12493 2001-08-09 Zack Weinberg <zackw@stanford.edu>
12494
12495 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12496 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12497 (GEN, STAGESTUFF): Add new files.
12498 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12499 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12500 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12501 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12502 as well as insn-codes.h and insn-flags.h in config.h; and no
12503 extra headers in tconfig.h and hconfig.h.
12504
12505 * gencodes.c: Eliminate code to generate predicate declarations
12506 or #defines for md-file constants.
12507 * genconstants.c, genpreds.c: New files.
12508
12509 * i386.md: Re-order guard expressions such that TARGET_64BIT
12510 comes first, when this permits better optimization. Add
12511 TARGET_64BIT to more x86-64 patterns. Add comment explaining
12512 why this is desirable.
12513
12514 2001-08-09 Jakub Jelinek <jakub@redhat.com>
12515
12516 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12517 (find_fde_for_dso): Remove.
12518 (_Unwind_IteratePhdrCallback): New.
12519 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12520 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12521
12522 Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12523
12524 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12525 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12526
12527 2001-08-09 Graham Stott <grahams@redhat.com>
12528
12529 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12530 (vis_no_unit): Use it.
12531 (visualize_no_unit): Add the insn only if room exists.
12532
12533 2001-08-09 Graham Stott <grahams@redhat.com>
12534
12535 * predict.c (estimate_probability): Replace magic numbers with
12536 appropriate enumeration.
12537
12538 2001-08-09 Graham Stott <grahams@redhat.com>
12539
12540 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12541 parameter.
12542 (EXTRACT_FLAGS): Likewise.
12543
12544 2001-08-09 Aldy Hernandez <aldyh@redhat.com>
12545
12546 * config/mips/mips.c (mips_legitimate_address_p): Check for
12547 CONST_INT in last patch.
12548
12549 2001-08-08 Anthony Green <green@redhat.com>
12550
12551 * java/class.c (emit_register_classes): Use assemble_jcr if
12552 possible. Keep the original mechanism as a fallback.
12553 * defaults.h (JCR_SECTION_NAME): Define if we have named section
12554 and weak symbol support.
12555 * crtstuff.c (__JCR_LIST__): Define.
12556 (__JCR_END__): Define.
12557 (_Jv_RegiserClasses): Define weak symbol if possible.
12558 (__do_global_ctors_aux): Register classes for ELF targets with
12559 weak symbol support.
12560
12561 2001-08-08 Kazu Hirata <kazu@hxi.com>
12562
12563 * dbxout.c: Fix comment formatting.
12564 * dependence.c: Likewise.
12565 * df.c: Likewise.
12566 * diagnostic.c: Likewise.
12567 * dominance.c: Likewise.
12568 * doprint.c: Likewise.
12569 * dwarf2out.c: Likewise.
12570 * dwarfout.c: Likewise.
12571 * emit-rtl.c: Likewise.
12572 * except.c: Likewise.
12573 * explow.c: Likewise.
12574 * expmed.c: Likewise.
12575 * expr.c: Likewise.
12576 * flow.c: Likewise.
12577 * fold-const.c: Likewise.
12578 * function.c: Likewise.
12579
12580 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12581
12582 * global.c (retry_global_alloc): Avoid shadowing allocno.
12583
12584 2001-08-08 Mark Mitchell <mark@codesourcery.com>
12585
12586 * except.c (remove_fixup_regions): Fix typo.
12587
12588 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
12589
12590 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12591 unsigned HOST_WIDE_INT to avoid warning.
12592 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12593 * flow.c (set_block_for_new_insns): Likewise.
12594
12595 Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
12596
12597 * sibcall.c (return_value_pseudo): New static variable.
12598 (skip_copy_to_return_value): Handle return_value_pseudo.
12599 (call_ends_block_p): Ensure that return_value_pseudo is set.
12600 (optimize_sibling_and_tail_recursive_call): Discover the
12601 load of pseudo return value in alternate exit block.
12602
12603 Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
12604
12605 * calls.c (ECF_ALWAYS_RETURN): New constant.
12606 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12607 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12608 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12609 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12610 * rtl.c (reg_note_name): New name.
12611 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12612
12613 2001-08-07 Aldy Hernandez <aldyh@redhat.com>
12614
12615 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12616
12617 2001-08-08 Jason Merrill <jason_merrill@redhat.com>
12618
12619 * alias.c (get_alias_set): Return a previously calculated
12620 alias set for a VAR_DECL.
12621 * function.c (gen_mem_addressof): Calculate the alias set before
12622 touching the RTL.
12623
12624 Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
12625
12626 * predict.def: Set hitrates according our experimental run.
12627
12628 Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
12629
12630 * i386.h (HARD_REGNO_RENAME_OK): New macro.
12631
12632 2001-08-08 H.J. Lu <hjl@gnu.org>
12633
12634 * config/mips/mips.c (mips_unique_section): New. Copied from
12635 config/mips/elf.h.
12636
12637 * config/mips/mips-protos.h (mips_unique_section): New
12638 prototype.
12639
12640 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12641
12642 * config/mips/little.h: New. Generic little endian mips
12643 targets. Only mips*-*-linux* is converted to use it so far.
12644
12645 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12646 (WCHAR_TYPE): Defined
12647 (WCHAR_TYPE_SIZE): Likewise.
12648 (INIT_SUBTARGET_OPTABS): Likewise.
12649 (BSS_SECTION_ASM_OP): Likewise.
12650 (SBSS_SECTION_ASM_OP): Likewise.
12651 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12652 (ASM_DECLARE_OBJECT_NAME): Likewise.
12653 (UNIQUE_SECTION): Likewise.
12654 (EXTRA_SECTIONS): Likewise.
12655 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12656 (ASM_OUTPUT_DESTRUCTOR): Likewise.
12657 (ASM_OUTPUT_DEF): Likewise.
12658 (HANDLE_SYSV_PRAGMA): Removed.
12659 (NO_IMPLICIT_EXTERN_C): Likewise.
12660 (TARGET_MEM_FUNCTIONS): Likewise.
12661 (STARTFILE_SPEC): Likewise.
12662 (ENDFILE_SPEC): Likewise.
12663 (LIB_SPEC): Likewise.
12664 (INVOKE__main): Likewise.
12665 (CTOR_LIST_BEGIN): Likewise.
12666 (CTOR_LIST_END): Likewise.
12667 (DTOR_LIST_BEGIN): Likewise.
12668 (DTOR_LIST_END): Likewise.
12669 (SET_ASM_OP): Likewise.
12670 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12671 (ASM_OUTPUT_DEF): Likewise.
12672 (ASM_OUTPUT_IDENT): Likewise.
12673
12674 * config/mips/mips.h (ASM_SPEC): Undefine before define.
12675 (CPLUSPLUS_CPP_SPEC): Likewise.
12676 (ASM_APP_ON) Redefine only if not defined.
12677 (ASM_APP_OFF): Likewise.
12678 (ASM_OUTPUT_SOURCE_LINE): Likewise.
12679 (ASM_OUTPUT_IDENT): Likewise.
12680
12681 * config.gcc: Update tm_file for Linux/mips.
12682
12683 2001-08-08 Bernd Schmidt <bernds@redhat.com>
12684
12685 * cselib.c (cselib_record_sets): If insn is predicated, turn
12686 sources into IF_THEN_ELSEs.
12687
12688 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12689 Turn into define_insn_and_split.
12690
12691 * sched-deps.c: Include "cselib.h".
12692 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12693 Use cselib to turn memory addresses into VALUEs.
12694 (sched_analyze): Call cselib_init/cselib_finish if necessary.
12695 * sched-int.h (struct sched_info): New member USE_CSELIB.
12696 * sched-ebb.c (ebb_sched_info): Initialize it.
12697 * sched-rgn.c (rgn_sched_info): Likewise.
12698 * Makefile.in (sched-deps.o): Update dependencies.
12699
12700 * cselib.h (cselib_subst_to_values): Declare.
12701 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
12702 that have no value and autoincs to be handled by generating a new
12703 dummy value.
12704
12705 2001-08-08 Graham Stott <grahams@redhat.com>
12706
12707 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12708 within fixed length SEQUENCE.
12709
12710 2001-08-08 Graham Stott <grahams@redhat.com>
12711
12712 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12713 (diagnostic_prefixing_rule): Likewise.
12714 (diagnostic_line_cutoff): Likewise.
12715 (diagnostic_kind_count): Likewise.
12716
12717 2001-08-08 Graham Stott <grahams@redhat.com>
12718
12719 * alias.c (find_base_decl): Delete redundent assignment.
12720
12721 2001-08-08 Graham Stott <grahams@redhat.com>
12722
12723 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12724 (abs): Uppercase and paranthesize macro parameter.
12725 (MEM_DEPENDENCY): Add whitespace.
12726
12727 2001-08-08 Graham Stott <grahams@redhat.com>
12728
12729 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12730 failure check for CONST_INT
12731
12732 2001-08-08 Graham Stott <grahams@redhat.com>
12733
12734 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12735 (libcall_dead_p): Likewise.
12736
12737 (mark_used_regs): Constify fmt.
12738 (find_use_as_address): Likewise.
12739
12740 2001-08-08 Graham Stott <grahams@redhat.com>
12741
12742 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12743 parameter.
12744
12745 2001-08-08 Graham Stott <grahams@redhat.com>
12746
12747 * combine.c (combine_simplify_rtx): Update comment and
12748 remove erroneous test.
12749
12750 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12751
12752 * cppinit.c (cpp_finish): Pop the final buffer without comment.
12753 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12754 take care to avoid multiple no-newline at EOF warnings in that
12755 case.
12756
12757 Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
12758
12759 * calls.c (expand_call): Do not emit INSN_SETJMP note.
12760 (emit_library_call_value_1): Likewise.
12761 (emit_call_1): Emit REG_SETJMP note.
12762 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12763 of INSN_SETJMP
12764 * cselib.c (cselib_process_insn): Likewise.
12765 * flow.c (propagate_block): Likewise.
12766 * loop.c (find_and_verify_loops): Likewise.
12767 * reload.c (find_equiv_regs): Likewise.
12768 * reload1.c (reload): Likewise.
12769 * resource.c (mark_referenced_resources,
12770 mark_set_resources): Likewise.
12771 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12772 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12773 * haifa-sched.c (unlink_other_notes): Likewise.
12774 (reemit_notes): Likewise.
12775 * sched-ebb.c (sched_ebb): Likewise.
12776 * sched-rgc.c (sched_region): Likewise.
12777 * rtl.c (note_insn_name): Likewise.
12778 (reg_note_name): Add REG_SETJMP
12779 * rtl.h (reg_note): Add REG_SETJMP.
12780 (insn_note): Remove NOTE_INSN_SETJMP.
12781
12782 * profile.c (branch_prob): Add fake edges for setjmp.
12783
12784 2001-08-07 Daniel Jacobowitz <drow@mvista.com>
12785
12786 * config.gcc: Quote target_cpu_default2 correctly for
12787 powerpc*-*-* targets.
12788
12789 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
12790
12791 * cpplib.h, line-map.h: Update comments.
12792 * cppmain.c (printer_init): Move inline.
12793 (maybe_print_line, print_line): Take a map pointer.
12794 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12795 (cb_file_change): Don't use prior value of print.map.
12796
12797 2001-08-07 David Edelsohn <edelsohn@gnu.org>
12798
12799 * doc/install.texi: Document fine-grained multilib configuration.
12800
12801 Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
12802
12803 * rtlanal.c (find_first_parameter_load): Call note_stores
12804 only on the instructions.
12805
12806 Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
12807
12808 * alias.c (nonlocal_mentioned_p):
12809 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12810 * calls.c (emit_call_1): Likewise.
12811 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12812 * cselib.c (cselib_process_insn): Likewise.
12813 * df.c (df_insns_modify): Likewise.
12814 * flow.c (need_fake_edge_p): Likewise.
12815 (propagate_one_insn): Likewise.
12816 * haifa-sched.c (reemit_notes): Likewise.
12817 * integrate.c (copy_insn_list): Likewise.
12818 * jump.c (delete_prior_computation): Likewise.
12819 * local-alloc.c (validate_equiv_mem): Likewise.
12820 * loop.c (scan_loop): Likewise.
12821 * predict.c (estimate_probability): Likewise.
12822 * reload.c (reload): Likewise.
12823 * sched-deps (sched_analyze): Likewise.
12824 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12825 * gcse.c (compute_hash_table): Likewise.
12826 (mark_call): Likewise.
12827 (store_killed_in_insn): Likewise.
12828
12829 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
12830
12831 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12832
12833 2001-08-06 Richard Henderson <rth@redhat.com>
12834
12835 * varasm.c (assemble_gc_entry): Remove.
12836 * output.h: Likewise.
12837
12838 2001-08-06 Richard Henderson <rth@redhat.com>
12839
12840 * varasm.c (assemble_constructor): Take a symbol_ref and a
12841 priority instead of a bare string. Move priority handling
12842 here from cp/decl2.c.
12843 * output.h: Update decls.
12844
12845 * c-decl.c (c_expand_body): Update calls to assemble_constructor
12846 and assemble_destructor.
12847 * profile.c (output_func_start_profiler): Likewise.
12848 * objc/objc-act.c (finish_objc): Likewise.
12849 (build_module_descriptor): Return the symbol not the symbol name.
12850
12851 2001-08-06 David Edelsohn <edelsohn@gnu.org>
12852
12853 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12854 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12855 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12856 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12857 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12858 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12859
12860 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12861
12862 * cpperror.c (print_containing_files): Moved to line-map.c.
12863 (print_location): line-map.c handles re-listing or otherwise.
12864 * cpphash.h (struct lexer_state): Remove next_bol.
12865 (struct cpp_buffer): Remove include_stack_listed.
12866 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12867 Remove faked buffer handling.
12868 (_cpp_do_file_change): Tweak.
12869 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12870 * cppmain.c (struct printer): Remove filename.
12871 (print_line, cb_file_change): Update accordingly.
12872 * line-map.c: Include intl.h.
12873 (init_line_maps): Initialize last_listed.
12874 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12875 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12876 (print_containing_files): New.
12877 * line-map.h (struct line_maps): New member last_listed.
12878 (print_containing_files, INCLUDED_FROM): New.
12879 * Makefile.in: Update.
12880 * po/POTFILES.in: Add line-map.c.
12881
12882 2001-08-06 Richard Henderson <rth@redhat.com>
12883
12884 * except.c (convert_from_eh_region_ranges_1): Never mark
12885 USE or CLOBBER insns as throwing.
12886
12887 * expr.c (store_constructor): Don't clobber memory targets.
12888
12889 2001-08-06 Andreas Jaeger <aj@suse.de>
12890
12891 * profile.c (branch_prob): Remove unused variable insn.
12892
12893 * Makefile.in (local-alloc.o): Add dependency on except.h.
12894
12895 * local-alloc.c: Include except.h for can_throw_internal prototype.
12896
12897 2001-08-06 Richard Henderson <rth@redhat.com>
12898
12899 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12900 * function.c (expand_main_function): Implement it.
12901 * doc/tm.texi: Document it.
12902
12903 2001-08-06 Stan Shebs <shebs@apple.com>
12904
12905 * doc/install.texi: Document powerpc-*-darwin* details.
12906
12907 2001-08-06 Daniel Berlin <dan@cgsoftware.com>
12908
12909 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12910 (ASM_CPU_SPEC): Move back to rs6000.h
12911 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12912
12913 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12914
12915 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12916 readded.
12917
12918 * config/rs6000/linux64.h: Ditto.
12919
12920 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12921 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12922 nothing.
12923
12924 Remove accidently readded definitions of FUNCTION_PROLOGUE,
12925 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12926
12927 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12928 to rs6000.h
12929
12930 2001-08-05 Richard Henderson <rth@redhat.com>
12931
12932 * local-alloc.c (update_equiv_regs): Do not move insns that
12933 can throw.
12934
12935 2001-08-05 Jan Hubicka <jh@suse.cz>
12936
12937 * Makefile.in (reload1.o): Add dedendancy on except.h
12938 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12939 prototypes.
12940 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12941 indicating wehther edges has been cleaned up.
12942 * reload1.c: Inlucde except.h
12943 (fixup_abnormal_edges): Accept deleted insns.
12944 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12945 after combine.
12946
12947 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
12948
12949 * cpplib.c (do_line): Correct line number after pop_buffer.
12950
12951 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12952
12953 PR preprocessor/3824
12954 * line-map.c: Update comments.
12955 * line-map.h: Update comments.
12956 * tradcif.y: Don't consider large numbers unsigned.
12957
12958 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
12959
12960 PR preprocessor/3081
12961 * c-lex.c (map): New.
12962 (cb_file_change): Update map and use it.
12963 (cb_def_pragma, cb_define, cb_undef): Use map and line.
12964 (c_lex): Update to use map.
12965 * cpperror.c (print_location): Move to using logical line numbers.
12966 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12967 (cpp_make_system_header): Similarly.
12968 (_cpp_execute_include): Stop line numbering hacks. Store the
12969 line we will return to.
12970 * cpphash.h (CPP_BUF_LINE): Remove.
12971 (struct cpp_buffer): Remove lineno and pseudo_newlines.
12972 Add map and return_to_line.
12973 (_cpp_do_file_change): Update.
12974 * cppinit.c (cpp_start_read): Update line kludge.
12975 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12976 (trigraph_ok): Use logical line numbers for diagnostics.
12977 (skip_block_comment): Likewise.
12978 (skip_whitespace): Likewise.
12979 (skip_line_comment): Use pfile->line instead.
12980 (_cpp_lex_token): Update to use logical line numbering exclusively.
12981 Handle BOL locally. Accept new lines in directives, but keep
12982 pfile->line decremented. Diagnostics use logical lines. Update
12983 directive handling.
12984 * cpplib.c (SEEN_EOL): New.
12985 (skip_rest_of_line, check_eol): Use it.
12986 (end_directive): Increase line number when accepting the newline
12987 at the end of a directive.
12988 (run_directive): Simplify.
12989 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
12990 (_cpp_do_file_change): Update to take buffer line number as an
12991 argument, and store the current map in the cpp_reader. Remove
12992 line number kludges.
12993 (_cpp_do__Pragma): Restore output position after a _Pragma.
12994 (cpp_push_buffer): Don't set output line or lineno.
12995 (_cpp_pop_buffer): Transfer more info from a faked buffer.
12996 Remove line kludge. Set output_line.
12997 * cppmacro.c (builtin_macro): Update handling of __LINE__.
12998 (parse_arg): Use logical lines.
12999 (save_lookahead_token): Save EOFs too now.
13000 * cppmain.c (struct printer): Fix comments.
13001 (printer_init): Simplify, let caller do errors.
13002 (scan_translation_unit, check_multiline_token, dump_macro): Update.
13003 (maybe_print_line): Simplify.
13004 (print_line): Don't print a linemarker if -P.
13005 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
13006 (cb_file_change): Simplify.
13007 * line-map.h (LAST_SOURCE_LINE): Fix.
13008 (CURRENT_LINE_MAP): New.
13009
13010 2001-08-05 Bernd Schmidt <bernds@redhat.com>
13011
13012 * doloop.c (doloop_modify_runtime): Properly compute number of
13013 iterations if loop was unrolled.
13014
13015 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
13016 if their CSELIB_VAL_PTRs are.
13017
13018 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
13019 (setup_spill_pointers): Initialize it.
13020 (spill_restore_mem): Set it.
13021 (do_spill, do_restore): Use it to add REG_INC note.
13022 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
13023
13024 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
13025 asms if other insns are available.
13026
13027 * config/ia64/ia64.c (condop_operator): New predicate.
13028 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
13029 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
13030 patterns.
13031
13032 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
13033 temporary register than directly using a MEM.
13034
13035 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13036
13037 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
13038 parameter in last change.
13039
13040 2001-08-04 Zack Weinberg <zackw@panix.com>
13041
13042 * sparc.md: Don't use #if inside C test expression.
13043
13044 2001-08-04 Richard Henderson <rth@redhat.com>
13045
13046 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
13047
13048 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
13049
13050 * cpphash.h (struct cpp_reader): New member directive_line.
13051 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
13052 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
13053 do_pragma): Pass line to callbacks.
13054 (start_directive): Record line of directive.
13055 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
13056 cb_include): Similarly.
13057 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
13058 Similarly.
13059
13060 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13061
13062 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
13063 comment.
13064
13065 Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13066
13067 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
13068
13069 * reload1.c (fixup_abnormal_edges): New static function.
13070 (reload): Use it.
13071
13072 * flow.c (need_fake_edge_p): New function.
13073 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
13074 avoid call insn to be very last insn in the insn stream.
13075
13076 * profile.c (branch_prob): Call flow_call_edges_add instead of
13077 doing that by hand; cleanup cfg to re-merge basic blocks once
13078 we are done.
13079
13080 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13081
13082 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
13083 are also on line-map.h.
13084 * cppfiles.c (stack_include_file): Update.
13085 * cpphash.h (struct cpp_buffer): New member return_at_eof.
13086 (_cpp_pop_buffer): New.
13087 * cppinit.c (cpp_destroy, cpp_finish): Update.
13088 (do_includes): Mark each buffer to return at EOF.
13089 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
13090 return as requested.
13091 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
13092 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
13093 * cpplib.h (cpp_pop_buffer): Remove.
13094 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
13095 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
13096 buffers.
13097 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
13098 to pop buffers.
13099 (do_preprocessing): Update.
13100 * fix-header.c (read_scan_file): Update. No need to pop buffers.
13101 * c-parse.in (_yylex): Similarly.
13102 * scan-decls.c (scan_decls): Similarly.
13103 * line-map.h: Update comments.
13104
13105 * objc/Make-lang.in (objc-act.o): Update dependencies.
13106
13107 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13108
13109 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
13110 and soft register for operand 0.
13111 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
13112
13113 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13114
13115 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
13116 register for operand 0.
13117 ("bitcmpqi_z_used"): Allow memory for operand 0.
13118 (split "bitcmpqi"): New split to handle address reg as operand 1.
13119
13120 2001-08-04 Andreas Jaeger <aj@suse.de>
13121
13122 * gcse.c: Revert Daniel's last patch.
13123
13124 2001-08-03 Zack Weinberg <zackw@stanford.edu>
13125
13126 * sparc-protos.h: Add prototypes for fp_zero_operand and
13127 reg_or_0_operand.
13128 * sh-protos.h: Add prototype for fpul_operand.
13129
13130 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13131
13132 * doc/extend.texi (Other Builtins): Fix typo in last change.
13133
13134 2001-08-03 Richard Henderson <rth@redhat.com>
13135
13136 * target.h (gcc_target): Add asm_out.named_section,
13137 section_type_flags, have_named_sections.
13138 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
13139 (TARGET_HAVE_NAMED_SECTIONS): New.
13140 (TARGET_SECTION_TYPE_FLAGS): New.
13141
13142 * Makefile.in (toplev.o): Depend on TARGET_H.
13143 (varasm.o, dbxout.o): Likewise.
13144 * c-common.c (decl_attributes): Check targetm.have_named_sections
13145 instead of ifdef ASM_OUTPUT_SECTION_NAME.
13146 * dbxout.c (dbxout_function_decl): Likewise.
13147 (dbxout_function_end): Likewise.
13148 * toplev.c (compile_file): Likewise.
13149 * varasm.c (exception_section): Likewise.
13150 * cp/decl2.c (finish_objects): Likewise.
13151
13152 * defaults.h (EH_FRAME_SECTION): Remove.
13153 (EH_FRAME_SECTION_ASM_OP): Remove.
13154 (EH_FRAME_SECTION_NAME): New.
13155 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
13156 (UNIQUE_SECTION_P): Remove.
13157 * dwarf2out.c (SECTION_FORMAT): Remove.
13158 (ASM_OUTPUT_SECTION): Remove.
13159 (output_call_frame_info): Use named_section_flags.
13160 (output_comp_unit, dwarf2out_start_source_file): Likewise.
13161 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
13162 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
13163 * varasm.c (in_eh_frame, eh_frame_section): Remove.
13164 (named_section_flags): New.
13165 (named_section): Use it and targetm.section_type_flags.
13166 (resolve_unique_section): New.
13167 (assemble_start_function): Use it.
13168 (asm_emit_uninitialised, assemble_variable): Likewise.
13169 (default_section_type_flags): New.
13170 (default_no_named_section, default_elf_asm_named_section): New.
13171 (default_coff_asm_named_section, default_pe_asm_named_section): New.
13172 * output.h: Update varasm.c decls.
13173 (SECTION_*): New flags.
13174
13175 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
13176 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
13177
13178 * config/elfos.h (UNIQUE_SECTION_P): Remove.
13179 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
13180 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
13181 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13182 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
13183 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
13184 * config/mips/elf.h, config/mips/elf64.h: Likewise.
13185 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
13186 * config/pa/pa64-hpux.h,
13187
13188 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
13189 (TARGET_ASM_NAMED_SECTION): New.
13190 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
13191 * config/alpha/vms.h, config/arm/coff.h: Likewise.
13192 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
13193 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
13194 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
13195 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
13196 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13197 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
13198 * config/i386/sco5.h, config/i386/win32.h: Likewise.
13199 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13200 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13201 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13202 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13203 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13204 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13205 * config/sparc/sysv4.h: Likewise.
13206
13207 * config/nextstep.h: Error until named sections implemented.
13208
13209 * config/a29k/a29k.c (a29k_asm_named_section): New.
13210 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13211 (vms_section_type_flags, vms_asm_named_section): New.
13212 * config/arm/arm.c (arm_elf_asm_named_section): New.
13213 * config/avr/avr.c (asm_output_section_name): Remove.
13214 * config/avr/avr-protos.h: Update.
13215 * config/c4x/c4x.c (c4x_asm_named_section): New.
13216 * config/h8300/h8300.c (h8300_asm_named_section): New.
13217 * config/i386/i386.c (sco_asm_named_section): New.
13218 * config/i386/winnt.c (SECTION_PE_SHARED): New.
13219 (i386_pe_section_type_flags): New.
13220 (i386_pe_asm_named_section): New.
13221 * config/i386/i386-protos.h: Update.
13222 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13223 * config/mcore/mcore.c (mcore_asm_named_section): New.
13224 * config/mips/mips.c (iris6_asm_named_section): New.
13225 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13226 instead of UNIQUE_SECTION_P.
13227 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13228 (xcoff_asm_named_section): New.
13229 * config/sh/sh.c (sh_asm_named_section): New.
13230 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13231
13232 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13233 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13234 (EH_FRAME_SECTION_NAME): New.
13235 (EXCEPTION_SECTION): New.
13236 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13237 (DEBUG_*_SECTION): Remove.
13238 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13239 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13240 (EH_FRAME_SECTION_ASM_OP): Remove.
13241
13242 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13243 (ASM_OUTPUT_SECTION_NAME): Remove.
13244 (TARGET_ASM_NAMED_SECTION): New.
13245 (TARGET_HAVE_NAMED_SECTIONS): New.
13246 (TARGET_SECTION_TYPE_FLAGS): New.
13247 (EH_FRAME_SECTION_ASM_OP): Remove.
13248 (EH_FRAME_SECTION_NAME): New.
13249
13250 2001-08-03 Zack Weinberg <zackw@stanford.edu>
13251
13252 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13253 for complex expressions when cfun == 0.
13254 * doc/extend.texi: Document that __builtin_constant_p can be
13255 used in data initializers as well as functions.
13256
13257 2001-08-03 Alexandre Oliva <aoliva@redhat.com>
13258
13259 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13260 variable I locally, instead of expecting a declaration in the
13261 calling context.
13262
13263 2001-08-03 Richard Henderson <rth@redhat.com>
13264
13265 * except.c (collect_one_action_chain): Add an explicit cleanup
13266 action if regions surrounding a catch were encoded entirely
13267 within the call-site entry.
13268
13269 2001-08-03 Richard Henderson <rth@redhat.com>
13270
13271 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13272 don't take REGNO of a non-register.
13273
13274 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13275
13276 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13277 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13278 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13279 (__gthread_mutex_init_function): New function for mutex initialization.
13280
13281 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13282
13283 * Makefile.in: Revert screwed up commit.
13284
13285 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13286
13287 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13288 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13289 merged by linker script to get a final _exit().
13290 (__do_global_dtors): New for destructor handling in specific exit
13291 section.
13292 (__do_global_ctors): New for constructors in specific install section.
13293 (__map_data_section): Map data sections before running constructors.
13294 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13295 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13296 (DTORS_SECTION_ASM_OP): Likewise.
13297 (CTORS_SECTION_FUNCTION): Define to force a reference to
13298 __do_global_ctors.
13299 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13300
13301 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13302
13303 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13304
13305 * Makefile.in: Add df.h to gcse.c dependencies.
13306
13307 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13308
13309 * varasm.c (output_constant_def_contents): Use for the length of a
13310 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13311 depending on which is larger.
13312
13313 2001-08-03 Daniel Berlin <dan@cgsoftware.com>
13314
13315 * gcse.c: Include df.h for use as a dataflow analyzer.
13316 Remove regvec.
13317 Declaration of reg_set_info: gone.
13318 New df_analyzer variable used by store motion.
13319 (reg_set_info): Deleted.
13320 (mark_mem_regs): New function, analyze regs used by a mem.
13321 (store_ops_ok): Use dataflow analyzer results to determine if
13322 necessary regs are changed in the block.
13323 (find_moveable_store): Remove check for symbol ref, we can handle
13324 much more complex expressions now.
13325 (compute_store_table): Remove most of the code, it's unnecessary
13326 now that the dataflow analyzer records the info for us.
13327 (store_killed_after): Add parameter to say whether to do the
13328 store_ops_okay test, used to speed up testing when we already know
13329 the answer, and just want to know if the store itself was killed.
13330 (build_store_vector): Largely rewritten to calculate the various
13331 vectors properly, and somewhat optimized.
13332 (store_motion): Init the df_analyzer, get REG_DEF chains.
13333 Also handle trapping expressions (since mems almost always trap)
13334 (simple_mem): Redefine what a simple mem is.
13335
13336 2001-08-03 DJ Delorie <dj@redhat.com>
13337
13338 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13339 set from a constant part of the condition.
13340
13341 2001-08-01 Andrew Cagney <ac131313@redhat.com>
13342
13343 * mkdeps.c (deps_add_default_target): Make local variable
13344 ``start'' a const char pointer.
13345 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13346
13347 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13348
13349 * doc/install.texi (Configuration): Fix markup.
13350 (Specific, i?86-*-udk): Likewise.
13351 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13352 --with-gnu-ld.
13353 Document --enable-threads and --enable-libgcj status.
13354 (Specific, mips-sgi-irix*): Canonicalize triples.
13355 (Specific, mips-sgi-irix5): Warn about problems with this config.
13356 Mention required GNU as patch.
13357 Native assembler problems are fixed.
13358 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13359 Document --enable-threads and --enable-libgcj status.
13360
13361 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13362
13363 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13364 of mkinstalldirs.
13365
13366 2001-08-03 Richard Henderson <rth@redhat.com>
13367
13368 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13369 constant data.
13370
13371 2001-08-03 Richard Henderson <rth@redhat.com>
13372
13373 * rtlanal.c (find_first_parameter_load): Stop if we
13374 reach a CODE_LABEL at BOUNDARY.
13375
13376 2001-08-03 Richard Henderson <rth@redhat.com>
13377
13378 * config/alpha/alpha.md (force_movdi): New insn.
13379 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13380 Tweek FRP marking of VMS prologue insns.
13381 * config/alpha/vms.h (EPILOGUE_USES): New.
13382
13383 2001-08-02 Richard Henderson <rth@redhat.com>
13384
13385 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13386
13387 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13388
13389 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13390 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13391 config/convex/convex.h, config/d30v/d30v.c,
13392 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13393 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13394 config/mips/mips.h, config/mn10200/mn10200.h,
13395 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13396 config/v850/v850.h, config/vax/openbsd.h,
13397 config/vax/openbsd1.h, config/vax/ultrix.h,
13398 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13399 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13400 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13401 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13402 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13403 in comments and documentation.
13404
13405 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13406
13407 * line-map.c: New.
13408 * line-map.h: New.
13409 * Makefile.in (line-map.o): New.
13410 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13411 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13412 * cpperror.c (print_containing_files): Similarly.
13413 (print_location): Update. Don't output a space before _Pragma.
13414 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13415 (stack_include_filee, cpp_make_system_header): Update.
13416 (_cpp_execute_include): Get logical line number right for calling
13417 as-yet-unterminated #include.
13418 * cpphash.h (struct cpp_reader): Add line_maps.
13419 (_cpp_do_file_change): Update.
13420 * cppinit.c (cpp_create_reader): Initialize line maps.
13421 (cpp_destroy): Destroy line maps.
13422 (cpp_start_read): Get logical line number right.
13423 * cpplex.c (parse_string): Only warn once for multi-line strings.
13424 Use boolean variable for null warning.
13425 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13426 already.
13427 (do_include_common): End the directive early.
13428 (do_line): Don't warn about out-of-range lines in preprocessed
13429 source. Update. Remove unused variables.
13430 (_cpp_do_file_change): Update for new line mapping.
13431 (pragma_cb): New typedef.
13432 (cpp_register_pragma): Stop looking ahead before calling the
13433 handler. Clean up.
13434 (do_pragma_system_header): End directive early.
13435 (cpp_get_line_maps): New.
13436 (cpp_pop_buffer): Fudge logical line. Update.
13437 * cpplib.h: Include line-map.h
13438 (enum cpp_fc_reason): Remove.
13439 (struct cpp_file_change): Update.
13440 (cpp_get_line_maps): New.
13441 * cppmain.c (struct_printer): New member map.
13442 (cb_file_change): Update for new mappings.
13443 * fix-header.c (cb_file_change): Similarly.
13444
13445 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13446
13447 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13448 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13449
13450 2001-08-02 Lars Brinkhoff <lars@nocrew.org>
13451
13452 * config/vax/vax.c: include expr.h.
13453
13454 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13455
13456 * Makefile.in ($(srcdir)/configure): Only rebuild in
13457 maintainer mode.
13458 ($(srcdir)/config.in): Only define in maintainer mode.
13459 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13460
13461 2001-08-02 David Edelsohn <edelsohn@gnu.org>
13462
13463 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13464
13465 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13466
13467 * gcc.c (set_collect_gcc_options): New function, split out from
13468 main.
13469 Ignore elided switches.
13470 (do_spec_1): Invoke before executing command.
13471 (set_input): Export.
13472 Move declaration ...
13473 * gcc.h (set_input): ... here.
13474 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13475 file.
13476
13477 2001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13478
13479 Kill -fhonor-std.
13480 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13481 interaction.
13482 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13483
13484 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
13485
13486 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13487 for the unnamed instructions it expands to.
13488
13489 2001-08-02 Richard Henderson <rth@redhat.com>
13490
13491 * regclass.c (call_really_used_regs): Conditionally define.
13492 (init_reg_sets_1): Don't use it if not defined.
13493 (fix_register): Similarly, don't set it.
13494
13495 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13496
13497 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13498 Correct comment that had been missed in the previous change.
13499
13500 2001-08-01 Stan Shebs <shebs@apple.com>
13501
13502 * config/darwin.c (machopic_stub_name): Try matching by name.
13503 (update_stubs): New function.
13504 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
13505 unconditionally.
13506
13507 2001-08-01 Richard Henderson <rth@redhat.com>
13508
13509 * except.c (output_function_exception_table): Use assemble_align.
13510 * varasm.c (assemble_eh_label): Remove.
13511 (assemble_eh_align, assemble_eh_integer): Remove.
13512
13513 2001-08-01 Robert Lipe <robertl@caldera.com>
13514
13515 * dwarfout.c: Remove reference to README.DWARF.
13516
13517 2001-08-01 Andrew MacLeod <amacleod@redhat.com>
13518
13519 * regclass.c (call_really_used_regs): New array for registers which
13520 are actually used by a call.
13521 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13522 new array.
13523 (fix_register): Set call_really_used too.
13524 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13525 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13526
13527 2001-08-01 Richard Henderson <rth@redhat.com>
13528
13529 * read-rtl.c (read_name): Consider \r whitespace.
13530
13531 2001-07-11 Andrew Cagney <ac131313@redhat.com>
13532
13533 * config.gcc: Recognize powerpc-*-netbsd*.
13534
13535 * doc/install.texi (Host/target specific installation notes for
13536 GCC): Mention powerpc-*-netbsd*.
13537
13538 * config/rs6000/netbsd.h: New file.
13539 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13540 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13541 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13542 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13543 (TARGET_VERSION): Redefine.
13544
13545 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13546 mcall-netbsd as a match for mcall-sysv.
13547 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13548 (ncrti.S, ncrtn.S): New targets.
13549 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13550
13551 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13552 "netbsd' as a V4 ABI.
13553 (ASM_SPEC): Check for -mcall-netbsd.
13554 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13555 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13556 (LIB_SPEC, ENDFILE_SPEC): Ditto.
13557 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13558 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13559 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13560 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13561
13562 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13563 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13564
13565 2001-08-01 Mark Kettenis <kettenis@gnu.org>
13566
13567 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13568 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13569 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13570 including "unwind-pe.h".
13571
13572 Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
13573
13574 * rs6000.md (define_splits): Kill unused constraints.
13575
13576 Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
13577 Jan Hubicka <jh@suse.cz>
13578
13579 * function.c (thread_prologue_and_epilogue_insns): Kill code
13580 dealing with non-existent CFG.
13581
13582 2001-08-01 Kazu Hirata <kazu@hxi.com>
13583
13584 * alias.c: Fix comment formatting.
13585 * bitmap.c: Likewise.
13586 * builtins.c: Likewise.
13587 * calls.c: Likewise.
13588 * c-common.c: Likewise.
13589 * c-decl.c: Likewise.
13590 * c-dump.c: Likewise.
13591 * c-lex.c: Likewise.
13592 * collect2.c: Likewise.
13593 * combine.c: Likewise.
13594 * conflict.c: Likewise.
13595 * cppfiles.c: Likewise.
13596 * cppinit.c: Likewise.
13597 * cpplex.c: Likewise.
13598 * cpplib.c: Likewise.
13599 * cppmacro.c: Likewise.
13600 * cppspec.c: Likewise.
13601 * c-pragma.c: Likewise.
13602 * crtstuff.c: Likewise.
13603 * cse.c: Likewise.
13604 * cselib.c: Likewise.
13605 * c-semantics.c: Likewise.
13606 * c-typeck.c: Likewise.
13607
13608 2001-08-01 H.J. Lu <hjl@gnu.org>
13609
13610 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13611
13612 2001-08-01 H.J. Lu <hjl@gnu.org>
13613
13614 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13615
13616 2001-08-01 Ziemowit Laski <zlaski@apple.com>
13617
13618 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13619 contextualizing Objective-C class name lookup by the lexer.
13620 (typespec_reserved_nonattr): Disable ObjC class name lookup after
13621 seeing a TYPESPEC.
13622 (protocoldef): Add support for forward @protocol declarations.
13623 (yylexname): Suppress ObjC class name lookup in certain contexts;
13624 re-enable after lookup is complete.
13625 (_yylex): Re-enable ObjC class name lookup when certain
13626 punctuation marks are seen.
13627
13628 * objc/objc-act.c (check_protocol_recursively): New function used
13629 for finding circular dependencies in protocols.
13630 (objc_declare_protocols): New function for handling forward
13631 @protocol declarations.
13632 (receiver_is_class_object): Detect the case when 'self' is used
13633 inside of a class method.
13634 (build_message_expr): Issue a warning if class method is desired
13635 but instance method is found instead.
13636 (conforms_to_protocol): Streamline.
13637 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13638 protocol Foo, even if 'Bar foo' does not.
13639 (check_protocols): Streamline.
13640 (start_protocol): Add checks for circular and duplicate protocol
13641 definitions.
13642 (encode_aggregate_within): For typedefs of structs, encode the
13643 underlying struct.
13644 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13645 (objc_declare_protocols): New prototype.
13646
13647 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13648
13649 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13650 * cpplex.c (handle_newline): Update prototype. Maintain logical
13651 line number.
13652 (skip_escaped_newlines, skip_block_comment, parse_string):
13653 Update accordingly.
13654 (_cpp_lex_token): Update, and store token position within the token.
13655 * cpplib.h (struct cpp_token): Add line and column entries.
13656 * cppmacro.c (replace_args): Position stringified tokens correctly.
13657
13658 2001-08-01 Andreas Jaeger <aj@suse.de>
13659
13660 * basic-block.h: Add prototype for last_loop_beg_note.
13661
13662 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
13663
13664 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13665 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13666 comment.
13667 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13668 while handling WITH_CLEANUP_EXPR node. Use second operand calling
13669 expand_decl_cleanup.
13670 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13671 the first RTX.
13672 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13673 operand while calling simple_cst_equal.
13674 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13675 operand is the cleanup expression, the third is the RTL_EXPR.
13676 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13677
13678 2001-07-31 Jeff Sturm <jsturm@one-point.com>
13679
13680 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13681
13682 2001-07-31 matthew green <mrg@eterna.com.au>
13683
13684 * config.gcc (i386-*-netbsdelf): New description.
13685 * config/i386/netbsd-elf.h: New file.
13686
13687 2001-07-30 Geoffrey Keating <geoffk@redhat.com>
13688
13689 * loop.c (check_dbra_loop): Use single_set to compute
13690 jump_label.
13691
13692 2001-07-31 Daniel Berlin <dan@cgsoftware.com>
13693
13694 PowerPC reorg and support for powerpc64-*-linux*.
13695
13696 Also fixes emitting of constants on 32 bit and 64 bit
13697 platforms.
13698
13699 * config.gcc: powerpc64-*-linux* is a new target.
13700 Things that needed aix.h now also include xcoff.h
13701
13702 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13703 xcoff.h.
13704 Move AIX specific stuff into aix.h.
13705 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13706 with more than just XCOFF now.
13707 (SET_ASM_OP): Remove, now defined where needed.
13708 (FUNCTION_PROLOGUE): New macro definition.
13709 (FUNCTION_EPILOGUE): New macro definition.
13710 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13711
13712 * config/rs6000/xcoff.h: New file.
13713
13714 * config/rs6000/linux64.h: New file.
13715
13716 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13717
13718 2001-07-31 Alan Modra <amodra@bigpond.net.au>
13719
13720 * rs6000.c (print_operand_address): Handle ELF syntax.
13721 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
13722 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13723 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13724
13725 2001-07-31 David Edelsohn <edelsohn@gnu.org>
13726
13727 * rs6000.c (rs6000_override_options): Only disable
13728 flag_function_sections for XCOFF.
13729 (exact_log2_cint_operand): New predicate.
13730 (reg_or_{add,sub}_cint64_operand): New predicates.
13731 (add_operand): Compare CONST_INT with fewer function calls.
13732 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13733 (print_operand, case 'p'): Ensure positive operand.
13734 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13735 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13736 (PREDICATE_CODES): Add new predicates.
13737 * rs6000.md (addsi3): Split 32-bit constants more correctly.
13738 (divsi3, modsi3): Ensure positive power-of-2.
13739 (adddi3): Use new predicate. Split 32-bit constants more
13740 correctly. Re-arrange splitter to handle any constant.
13741 (subdi3): Use new predicate.
13742 (divdi3, moddi3): Ensure positive power-of-2.
13743 (movdi): Use rs6000_emit_set_const.
13744 (load_toc_v4_pic_di): Delete.
13745
13746 2001-07-31 Graham Stott <grahams@redhat.com>
13747
13748 * function.c (pad_below): Revert 2001-07-26 patch.
13749
13750 Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
13751
13752 * reg-stack (convert_regs_1): Fix best edge condition.
13753
13754 Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
13755
13756 * jump.c (duplicate_loop_exit_test): Better test for jumps
13757 entering the loop; create loop pre_header.
13758
13759 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13760
13761 * doc/install.texi: Add s390 and s390x as new targets.
13762 * doc/invoke.texi: Add documentation of S/390 and zSeries
13763 target options.
13764 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13765
13766 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13767
13768 * config/m68k/m68k.md: Replace all general_operand with
13769 nonimmediate_operand for all destinations.
13770 * config/m68k/m68k.c (not_sp_operand): Likewise.
13771
13772 Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
13773
13774 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13775
13776 2001-07-30 Richard Henderson <rth@redhat.com>
13777
13778 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13779 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13780
13781 2001-07-30 Roman Zippel <zippel@linux-m68k.org>
13782
13783 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13784 Add missing doc strings
13785 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13786 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13787
13788 Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
13789
13790 * i386.c (ix86_output_main_function_alignment_hack): New function.
13791 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13792
13793 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13794 edges by EDGE_DFS_BACK flag.
13795 (dump_edge_info): Add dfs_back flag.
13796 * basic-block.h (EDGE_DFS_BACK): New constant.
13797 (mark_dfs_back_edges): Declare.
13798 * alias.c (loop_p): Remove.
13799 (mark_constant_function): Use mark_dfs_back_edges.
13800
13801 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13802 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13803 (compensate_edge): Break out from ...
13804 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13805 (convert_regs_2): Set block_done once block is really done;
13806 Do updating of the predecessors counts.
13807
13808 * toplev.c (rest_of_compilation): Recompute block_for_insn
13809 before post-reload cfg_cleanup.
13810 * function.c (thread_prologue_epilogue_insns):
13811 Call set_block_for_new_insns when emitting prologue directly.
13812
13813 2001-07-30 Andreas Jaeger <aj@suse.de>
13814
13815 * jump.c: Add prototype for mark_modified_reg.
13816
13817 * cse.c (set_live_p): Add unused attribute.
13818
13819 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13820 overflow.
13821 (scan_for_source_files): Use long for count to avoid overflow.
13822 (output_data): Likewise.
13823 (output_data): Don't use string concatatenation to silence gcc
13824 -traditional.
13825
13826 * predict.c: Fix typos and grammar.
13827
13828 * gcse.c (insert_insn_end_bb): Remove unused variables.
13829
13830 Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
13831
13832 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13833 (attempt_auto_inc): LIkewise.
13834 (mark_used_reg): Likewise.
13835 (try_pre_increment_1): Likewise.
13836 * regclass.c (regclass): Likewise.
13837 * global.c (allocno_compare): Update comment; change scaling factor.
13838 * local-alloc.c (QTY_CMP_PRI): Likewise.
13839 * regs.h (REG_FREQ_FROM_BB): New.
13840 (REG_FREQ_MAX): Likewise.
13841
13842 2001-07-30 H.J. Lu <hjl@gnu.org>
13843
13844 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13845 -D_GNU_SOURCE.
13846
13847 2001-07-30 H.J. Lu (hjl@gnu.org)
13848
13849 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13850 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13851 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13852
13853 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
13854
13855 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13856 as -mthumb-interwork when -mcpu=arm7 is specified.
13857
13858 Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13859
13860 * predict.def (noreturn, loop branch, loop exit): Mark as first
13861 match heuristics.
13862
13863 Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
13864
13865 * combine.c (try_combine): Avoid barrier after noop jumps.
13866
13867 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13868
13869 * cpphash.h (struct cpp_reader): Remove import_warning.
13870 * cpplib.c (skip_rest_of_line): Don't bother turning off
13871 macro expansion.
13872 (parse_include): Move include handling to...
13873 (do_include_common): ... here. Move import warning from...
13874 (do_import): ... here.
13875 (do_pragma_poison): Don't do a callback for poison identifiers.
13876 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13877 * cppmain.c (setup_callbacks): Similarly.
13878
13879 Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
13880
13881 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13882 handle multiple sets.
13883 * except.c (sjlj_mark_call_sites): .... here.
13884 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13885
13886 Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
13887
13888 Suggested by Richard Henderson and Richard Kenner:
13889 * combine.c (recog_for_combine): Use the fake recog
13890 only if instruction does not match.
13891 * rtl.h (NOOP_MOVE_INSN_CODE): New.
13892 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13893
13894 * combine.c (try_combine): Discover noop jump as direct jump.
13895
13896 2001-07-29 Daniel Berlin <dan@cgsoftware.com>
13897
13898 * df.c (df_rd_global_compute): Add successors to worklist, not
13899 current item.
13900 (df_ru_global_compute): Ditto.
13901
13902 2001-07-27 Daniel Berlin <dan@cgsoftware.com>
13903
13904 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13905 increment REG_N_SETS.
13906
13907 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
13908
13909 * sbitmap.h: New prototype for sbitmap_a_xor_b.
13910
13911 * sbitmap.c (sbitmap_a_xor_b): New function.
13912 ifdef the basic block stuff on IN_GCC.
13913
13914 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13915
13916 * cppexp.c (parse_defined): Always record the macro name.
13917 (lex): Don't worry about identifiers, or special-case
13918 CPP_NOT here.
13919 (_cpp_parse_expr): Figure out at the end of the routine
13920 whether we saw a valid !defined() expression.
13921 * cppfiles.c (stack_include_file): Update for mi_valid.
13922 (_cpp_pop_file_buffer): Similarly.
13923 * cpplex.c (_cpp_lex_token): Similarly.
13924 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13925 mi_if_not_defined, mi_lexed): Remove.
13926 (mi_valid): New.
13927 * cpplib.c (do_if): Simplify.
13928 (do_endif, push_conditional, _cpp_handle_directive): Update
13929 for renaming of mi_state to mi_valid.
13930 doc:
13931 * cpp.texi: Add index entries for digraphs, and add comment
13932 that C++ refers to them as alternative tokens.
13933
13934 Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
13935
13936 * basic-block.h (CLEANUP_PRE_LOOP): New.
13937 * except.c (finish_eh_generation): Update call of cleanup_cfg.
13938 * sibcall.c (optimize_sibling_calls): Likewise.
13939 * toplev.c (rest_of_compilation): Likewise.
13940 * flow.c (try_forward_edges): Take argument MODE;
13941 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13942 (try_optimize_cfg): Update call of try_forward_edges.
13943
13944 Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
13945 Jan Hubicka <jh@suse.cz>
13946
13947 * (validate_replace_rtx_1): Fix simplification of MINUS.
13948
13949 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
13950
13951 PR preprocessor/3669
13952 * cppinit.c (init_dependency_output): Turn off dump requests
13953 if sending dependencies to stdout.
13954
13955 2001-07-28 Richard Henderson <rth@redhat.com>
13956
13957 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13958 not optimizing.
13959
13960 2001-07-28 Golubev I. N. <gin@mo.msk.ru>
13961
13962 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13963
13964 2001-07-28 Kazu Hirata <kazu@hxi.com>
13965
13966 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13967 is VAR_DECL first to prevent an ICE.
13968
13969 2001-07-28 Richard Henderson <rth@redhat.com>
13970
13971 * varasm.c (immed_real_const_1): Don't elide special cases for
13972 nested functions.
13973 (clear_const_double_mem): Clear const_tiny_rtx too.
13974
13975 2001-07-28 Richard Henderson <rth@redhat.com>
13976
13977 * dwarf2out.c (dw_val_class_offset): New.
13978 (struct dw_ranges_struct, dw_ranges_ref): New.
13979 (ranges_table, ranges_table_allocated): New.
13980 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13981 (add_AT_offset, add_ranges, output_ranges): New.
13982 (print_die, output_die): Handle dw_val_class_offset.
13983 (attr_checksum, size_of_die, value_format): Likewise.
13984 (gen_lexical_block_die): Handle non-contiguous blocks.
13985 (gen_block_die): Likewise.
13986 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13987 if needed. Dump the ranges table.
13988 * final.c (final_start_function): Remove unnecessary notes and
13989 rebuild the block tree before numbering the blocks.
13990 * function.c (reorder_blocks_0): Walk the existing block tree
13991 to unmark all blocks.
13992 (reorder_blocks_1): Create block fragments when duplicate block
13993 notes are seen.
13994 (reorder_fix_fragments): New.
13995 (reorder_blocks): Call it.
13996 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13997
13998 2001-07-28 Richard Henderson <rth@redhat.com>
13999
14000 * emit-rtl.c (adjust_address): Make a copy of the memory address.
14001
14002 2001-07-28 Richard Henderson <rth@redhat.com>
14003
14004 * flow.c (add_to_mem_set_list): New function.
14005 (init_propagate_block_info): Use it.
14006 (mark_set_1): Likewise.
14007 (insn_dead_p): Canonicalize memory address for dead store
14008 comparison. Allow wider mode stores to kill narrower mode stores.
14009 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
14010 (invalidate_mems_from_set): Don't handle MEMs.
14011
14012 2001-07-28 Kazu Hirata <kazu@hxi.com>
14013
14014 * config/h8300/h8300.h: Fix formatting.
14015
14016 Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
14017
14018 * basic-block.h (EDGE_FREQUENCY): New macro.
14019 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
14020 for new BB/edges.
14021 * flow.c (find_sub_basic_blocks): Likewise.
14022 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
14023 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
14024
14025 * predict.c (DEF_PREDICTOR): New argument FLAGS.
14026 (HITRATE): New macro.
14027 (PRED_FLAG_FIRST_MATCH): New constant.
14028 (predictor_info): New field flgags.
14029 (combine_predictions_for_insn): Use DS theory to combine
14030 probabilities; set the edge probabilities when finished.
14031 (estimate_probability): Avoid duplicated matches
14032 of LOOP_BRANCH heuristics for nested loops; update comment.
14033 * predict.def: Add flags for each prediction, set probabilities
14034 according to B&L paper.
14035 * predict.h (DEF_PREDICTOR): New argument FLAGS.
14036
14037 * profile.c (compute_branch_probabilities): Cleanup way the edge
14038 probabilities are computed and REG_BR_PROB notes are dropped; if
14039 values does not match, emit error.
14040 (init_branch_prob): Do error instead of warning when profile driven
14041 feedback is missing or corrupt.
14042
14043 2001-07-27 DJ Delorie <dj@redhat.com>
14044
14045 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
14046 against a constant, try to adjust the compare to have the desired
14047 constant in it so that min/max optimizations happen more often.
14048
14049 Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14050
14051 * flow.c (last_loop_beg_note): New function.
14052 (redirect_edge_and_branch): Use it.
14053 (split_edge): Likewise.
14054
14055 * alias.c (loop_p): Avoid uninitialized memory access.
14056
14057 * flow.c (try_forward_edges): Avoid accessing freed memory.
14058
14059 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
14060 variable access.
14061
14062 2001-07-26 Andrew Haley <aph@redhat.com>
14063 Joern Rennecke <amylaar@redhat.com>
14064
14065 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
14066 (SUBTARGET_CPP_ENDIAN_SPEC): New.
14067 (SUBTARGET_CPP_SPEC): New.
14068 (CPP_SPEC): Remove.
14069 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
14070 (SUBTARGET_CPP_PTR_SPEC): New.
14071 (CPP_DEFAULT_CPU_SPEC): New.
14072 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
14073 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14074 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
14075 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14076 (SUBTARGET_CPP_SPEC): Define as an empty string.
14077
14078 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14079
14080 * doc/install.texi (Configuration): Properly link the host
14081 specific instructions also when generating HTML.
14082
14083 Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
14084
14085 * flow.c (redirect_edge_and_branch_force): Test
14086 target->global_live_at_start.
14087
14088 2001-07-26 Richard Henderson <rth@redhat.com>
14089
14090 * simplify-rtx.c (avoid_constant_pool_reference): Export.
14091 * rtl.h (avoid_constant_pool_reference): Declare it.
14092 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
14093 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
14094
14095 Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
14096
14097 * rtl.h (cleanup_barriers): Declare.
14098 * jump.c (cleanup_barriers): New function.
14099 * toplev.c (rest_of_compilation): Call cleanup_barriers
14100 before loop optimizer and after bb_reorder.
14101
14102 * flow.c (back_edge_of_syntactic_loop_p): New.
14103 (split_edge): Use it.
14104
14105 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14106
14107 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
14108
14109 Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
14110
14111 * cse.c (cse_process_notes): Replace any registers if the address
14112 remains valid.
14113
14114 Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
14115
14116 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
14117 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
14118 (propagate_block): Update prototype.
14119 * flow.c (update_life_info): Simplify the CFG and
14120 recalculate the global regs which are alive when
14121 removing dead code during a global update.
14122 (propagate_block): Return non-zero if an INSN is
14123 deleted.
14124
14125 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14126
14127 * Makefile.in (LIBICONV): Define.
14128
14129 2001-07-26 Catherine Moore <clm@redhat.com>
14130
14131 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
14132 of conditional to avoid tree checking errors.
14133
14134 2001-07-26 Kazu Hirata <kazu@hxi.com>
14135
14136 * regmove.c (regmove_optimize): Don't replace a reg with
14137 another reg of a different mode.
14138
14139 2001-07-26 Andrew MacLeod <amacleod@redhat.com>
14140
14141 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
14142 limit length of dependency flush list.
14143 * params.h (MAX_PENDING_LIST_LENGTH): Define.
14144 * sched-int.h (struct deps): Add pending_flush_length field.
14145 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
14146 has 1 element in it.
14147 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
14148 (sched_analyze): After a jump, if the pending memory flush list is too
14149 large, flush the pending lists.
14150 (init_deps): Initialize pending_flush_length to 0.
14151 * doc/invoke.texi (max_pending_list_length): Document parameter.
14152
14153 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
14154
14155 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
14156 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
14157 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
14158
14159 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14160
14161 * cpphash.h (struct_lexer_state): Delete was_skipping.
14162 Move skipping here from struct cpp_reader.
14163 * cpplex.c (parse_identifier): Update.
14164 (_cpp_lex_token): Don't skip tokens in a directive.
14165 * cpplib.c (struct if_stack): Update.
14166 (start_directive, end_directive): Don't change skipping state.
14167 (_cpp_handle_directive): Update.
14168 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
14169 (do_else, do_endif): Update; only check for excess tokens if not
14170 in a skipped conditional block.
14171 (push_conditional): Update for new struct if_stack.
14172
14173 2001-07-26 Graham Stott <grahams@redhat.com>
14174
14175 * function.c (locate_and_pad_parm): Also pad initial offset
14176 so that the total argument size also includes the padding.
14177
14178 2001-07-26 Graham Stott <grahams@redhat.com>
14179
14180 * gensupport.c (alter_output_for_insn): Correct enable checking failure
14181 change XSTR to XTMPL.
14182
14183 (process_one_cond_exec): Likewise
14184
14185 2001-07-25 Richard Henderson <rth@redhat.com>
14186
14187 * varasm.c (assemble_variable): Create DECL_RTL before setting
14188 TREE_ASM_WRITTEN.
14189
14190 Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
14191
14192 * predict.c (estimate_probability): Avoid duplicated predictions.
14193
14194 * loop.c (find_and_verify_loops): Grok multiple barriers.
14195
14196 Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14197
14198 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
14199
14200 * dbxout.c: Consistently use putc instead of fputc.
14201 (print_wide_int): New function; call instead of direct fprintf.
14202 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14203 (dbxout_type_fields, dbxout_type_method_1): Likewise.
14204 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14205 (print_int_cst_octal): Likewise.
14206 (print_octal): Show we wrote characters.
14207 (dbxout_type): Set have_used_extensions in more places.
14208
14209 2001-07-25 Catherine Moore <clm@redhat.com>
14210
14211 * config/v850/v850.c (v850_va_arg): Use addr
14212 instead of valist to build incr.
14213
14214 Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
14215
14216 * flow.c (delete_dead_jumptables): New function.
14217 (life_analyzis): Call it.
14218 * bb-reorder.c (skip_insns_after_block): Handle contradictory
14219 sequences.
14220
14221 2001-07-25 Richard Henderson <rth@redhat.com>
14222
14223 * except.c (reachable_handlers): Handle a region being removed
14224 out from under a RESX.
14225
14226 2001-07-25 Richard Henderson <rth@redhat.com>
14227
14228 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
14229 swap GE/GT if it is an fp comparison.
14230
14231 2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
14232
14233 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14234 operands.
14235
14236 Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
14237
14238 * ssa.c (rename_insn_1): Do not wrap an assignment to a
14239 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
14240 glitch.
14241
14242 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14243 throw an exception.
14244 (visit_expression): When attempting to simplify an expression,
14245 retrieve any modes for arguments before they are simplified
14246 to constants.
14247
14248 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14249 Janis Johnson <janis@us.ibm.com>
14250
14251 * stmt.c (expand_goto): A nonlocal goto can be a call too.
14252 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14253 pointer parameters to match documented usage of nonlocal_goto.
14254 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14255 parameters to their correct order.
14256 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14257 parameters to their correct order.
14258
14259 2001-07-25 Andrew MacLeod <amacleod@redhat.com>
14260
14261 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14262
14263 2001-07-25 Jan Hubicka <jh@suse.cz>
14264 Richard Henderson <rth@redhat.com>
14265
14266 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14267 the sequence.
14268 (make_edges): New argument update_p; populate the edge cache if set.
14269 (find_basic_blocks): Update make_edges invocation.
14270
14271 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14272
14273 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14274
14275 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14276
14277 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14278 -Acpu and -Amachine.h.
14279 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14280 Corrected header to say ELF not a.out.
14281 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14282 when given -msoft-float.
14283
14284 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14285
14286 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14287 extra multilib parts like arm-elf.
14288 (i960-*-coff*, i960-*-rtems): Should not use collect2.
14289 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14290 crtfini.o as extra multilib parts.
14291
14292 2001-07-24 Joel Sherrill <joel@OARcorp.com>
14293
14294 * configure.in: Add rtems as a supported thread model.
14295 * gthr-rtems.h: Add missing entry point __gthread_active_p.
14296 * configure: Rebuilt.
14297
14298 2001-07-24 Lars Brinkhoff <lars@nocrew.org>
14299
14300 * stor-layout.c (get_mode_alignment): make it work when
14301 BITS_PER_UNIT is not a power of two.
14302 * builtins.c (get_pointer_alignment): Likewise.
14303
14304 2001-07-24 Richard Henderson <rth@redhat.com>
14305
14306 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14307 the retrieved constant into the expected mode.
14308
14309 Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14310
14311 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14312 (verify_flow_info): Check for duplicated edges; clarify
14313 error reporting.
14314
14315 * flow.c (block_label): Update basic_block_for_insn.
14316 (commit_edge_insertions): Call compute_bb_for_insn.
14317
14318 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14319 returns too.
14320
14321 * flow.c (redirect_edge_and_branch,
14322 try_optimize_cfg): Use redirect_edge_succ_nodup
14323 (redirect_edge_succ_nodup): New.
14324 * basic_block.h (redirect_edge_succ_nodup): Declare.
14325
14326 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14327 after gcse.
14328
14329 Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14330
14331 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14332 (try_crossjump_to_edge): Update commetns.
14333 (try_crossjump_bb): Likewise.
14334
14335 2001-07-24 Richard Henderson <rth@redhat.com>
14336
14337 * combine.c (distribute_notes): Move set of need_refresh
14338 for noop_move_p down to catch all cases.
14339
14340 Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14341
14342 * recog.c (split_all_insns_noflow): New.
14343 * rtl.h (split_all_insns_noflow): Declare.
14344 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14345 * m68hc11.c (m68hc11_reorg): Likewise.
14346 * sh.c (machine_dependent_reorg): Likewise.
14347 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14348 call.
14349
14350 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14351
14352 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14353 (ashlsi3_n splitter): Likewise.
14354 (lshrsi3_n splitter): Likewise.
14355
14356 (GOTaddr2picreg): Make const SImode.
14357 (sym_label2reg): Likewise.
14358 (symGOT2reg): Likewise.
14359 (symGOTOFF2reg) Likewise.
14360
14361 (casesi_worker_0): Make unspec SImode.
14362
14363 2001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14364
14365 * config/sh/sh.c (barrier_align): Check that an operand really is
14366 an insn before extracting its INSN_CODE.
14367
14368 2001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14369
14370 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14371 dangling else.
14372
14373 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14374 for SImode to prevent overflow.
14375
14376 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14377
14378 * config/mips/irix6-libc-compat.c: New file.
14379 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14380 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14381 passing workaround.
14382
14383 2001-07-24 lars brinkhoff <lars@nocrew.org>
14384
14385 * rtl.texi (REG_POINTER): Document.
14386 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14387 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14388
14389 Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14390
14391 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14392
14393 2001-07-23 Richard Henderson <rth@redhat.com>
14394
14395 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14396
14397 2001-07-23 Kazu Hirata <kazu@hxi.com>
14398
14399 * config/h8300/h8300-protos.h: Add a prototype for
14400 general_operand_dst_push.
14401 * config/h8300/h8300.c (general_operand_dst_push): New.
14402 * config/h8300/h8300.h (OK_FOR_T): New.
14403 (EXTRA_CONSTRAINT): Use it.
14404 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14405 the existing movqi pattern.
14406 (movhi_push): Likewise.
14407
14408 * reload.c: Fix comment typos.
14409
14410 Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14411
14412 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14413
14414 2001-07-23 H.J. Lu (hjl@gnu.org)
14415
14416 * doc/extend.texi: Update __builtin_return_address and
14417 __builtin_frame_address.
14418
14419 2001-07-23 Richard Henderson <rth@redhat.com>
14420
14421 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14422 before CSE.
14423 * config/i386/i386.md: New setcc+movzbl peephole2.
14424
14425 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14426
14427 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14428 * objc/objc-act.c: Include debug.h.
14429 (synth_module_prologue): Save and restore debug hooks too.
14430
14431 2001-07-23 lars brinkhoff <lars@nocrew.org>
14432
14433 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14434 and C4X_FLOAT_FORMAT.
14435 (BOOL_TYPE_SIZE): Document.
14436
14437 Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14438
14439 * unroll.c (loop_iterations): Fix miscalculation of initial
14440 giv offset.
14441
14442 2001-07-13 Andrew Haley <aph@redhat.com>
14443
14444 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14445 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14446 * config/sh/sh.c (sh_can_redirect_branch): New function.
14447 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14448 * reorg.c (steal_delay_list_from_target): Use
14449 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14450
14451 Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14452
14453 * flow.c (try_simplify_condjump): Unlink insn chain on
14454 fallthru edge; use can_fallthru.
14455
14456 Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14457
14458 * basic-block.h (find_sub_basic_block): Declare.
14459 * flow.c (make_edges): New arguments MIN and MAX;
14460 (find_sub_basic_blocks): Revamp to use make_edges
14461 and purge_dead_edges.
14462 (find_basic_blocks): Update call of find_sub_basic_block.
14463
14464 * recog.c (split_all_insns): Always expect CFG to be consistent;
14465 call find_sub_basic_blocks in case something has changed.
14466 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14467 has been built.
14468
14469 * basic-block.h (delete_noop_moves): Declare.
14470 * combine.c (combine_instructions): Call it.
14471 (recog_for_combine): Tolerate noop moves
14472 (distribute_notes): Force refresh when register dies at noop move.
14473 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14474 too.
14475 (life_analysis): Update delete_noop_moves call.
14476 (set_noop_p): Move too ...
14477 * rtlanal.c (noop_move_p): ... here.
14478 * rtl.h (noop_move_p): Declare.
14479
14480 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14481 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14482 after combine.
14483 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14484 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14485
14486 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14487
14488 * reload.c (push_reload): Fix typo in comment.
14489 (find_reloads_address): Ditto.
14490 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14491
14492 2001-07-22 Richard Henderson <rth@redhat.com>
14493
14494 * flow.c: Grammar check and clarify a lot of comments.
14495 (try_simplify_condjump): Rename variables to be clearer.
14496 (try_forward_edges): Skip complex and fallthru edges.
14497 Rearrange tests to avoid duplicate checks.
14498 (flow_find_cross_jump): Likewise.
14499 (outgoing_edges_match): Allow match if neither branch has
14500 probability data. Loosen probability match to 5%.
14501 (try_crossjump_to_edge): Hoist repeated indirection into
14502 local variables.
14503 (try_crossjump_bb): Don't check complex edges. Eliminate
14504 redundant crossjump tests.
14505 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
14506 checks before more expensive checks.
14507
14508 2001-07-22 Richard Henderson <rth@redhat.com>
14509
14510 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14511 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14512 arguments.
14513
14514 2001-07-22 Richard Henderson <rth@redhat.com>
14515
14516 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14517 (const_sint32_operand): Likewise.
14518 * m68k.md (anon mulsi pattern): Use const_int_operand not
14519 const_sint32_operand.
14520 (umulsi3_highpart): Zero extend a constant input.
14521 (smulsi3_highpart): Don't bother checking SImode constant.
14522 (const_umulsi3_highpart): Give op3 DImode.
14523 (const_smulsi3_highpart): Likewise.
14524
14525 2001-07-22 Richard Henderson <rth@redhat.com>
14526
14527 * flow.c (split_block): Make sure bb_note is included in the
14528 new block when splitting before a label.
14529
14530 Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
14531
14532 * basic-block.h (redirect_edge_and_branch_force,
14533 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14534 * flow.c (redirect_edge_and_branch_force,
14535 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14536 (redirect_edge_and_branch_force): Fix copying of lifeness information.
14537 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14538 * ifcvt.c (dead_or_predictable): Take BB as an new destination
14539 instead of label; update CFG after transformation.
14540 (find_if_case_1): Update call, use redirect_edge_and_branch_force
14541 for finishing the transformation; handle even case where ELSE
14542 does not follow THEN.
14543 (find_if_case_2): Update call of dead_or_predictable; simplify
14544 CFG update.
14545
14546 * emit-rtl.c (split_branch_probability): New global variable.
14547 (try_split): Take care to set split_branch_probability and
14548 create REG_BR_PROB note for new jump insns.
14549 * md.texi (define_split): Document new feature.
14550
14551 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14552
14553 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14554
14555 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14556 (asm_out_file): Remove redundant declaration.
14557 (assemble_asm): Remove old #if 0 block.
14558 (assemble_variable): Remove end of function; debug output is
14559 now handled with global_decl. Remove old #if 0 block. Update.
14560 Remove saved_in_section and associated no-op code.
14561 * Makefile.in (varasm.o): Correct dependencies.
14562
14563 Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
14564
14565 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14566 the definition in defaults.h.
14567
14568 Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
14569
14570 * jump.c: Update comments.
14571 (delete_barrier_successors, delete_unreferenced_labels,
14572 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14573 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14574 jump_optimize, jump_optimize_minimal): Kill.
14575 (rebuild_jump_labels): Move code from jump_optimize_1.
14576 (purge_line_number_notes): Likewise.
14577 (copy_loop_headers): Likewise.
14578 * reg-stack.c: Update comment.
14579 * stmt.c: Likewise.
14580 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14581 JUMP_AFTER_REGSCAN): Kill.
14582 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14583 purge_line_number_notes and copy_loop_headers.
14584
14585 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
14586 Richard Henderson <rth@redhat.com>
14587
14588 * dbxout.c (dbxout_global_decl): New.
14589 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14590 * sdbout.c (sdbout_finish): New.
14591 (sdbout_debug_hooks): Use it, add comments.
14592 (sdbout_global_decl): Defer initialised public vars to
14593 sdbout_finish.
14594 * varasm.c (assemble_variable): Don't output debug information
14595 for file-scope variables.
14596
14597 2001-07-22 Richard Henderson <rth@redhat.com>
14598
14599 * config/alpha/alpha.c (get_trap_mode_suffix): New.
14600 (get_round_mode_suffix): New.
14601 (print_operand): Use them for [/]. Remove support for [&'`()+].
14602 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14603 * config/alpha/alpha.md (attr round_suffix): New.
14604 (attr trap_suffix): New.
14605 (all insns): Set them appropriately. Use %/ instead of the
14606 myriad punctuators.
14607
14608 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14609
14610 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14611
14612 2001-07-22 Richard Henderson <rth@redhat.com>
14613
14614 * regrename.c (regrename_optimize): Compute nregs for each
14615 potential target register.
14616
14617 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
14618 Richard Henderson <rth@redhat.com>
14619
14620 * dbxout.c (dbxout_global_decl): New.
14621 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14622 * sdbout.c (sdbout_finish): New.
14623 (sdbout_debug_hooks): Use it, add comments.
14624 (sdbout_global_decl): Defer initialised public vars to
14625 sdbout_finish.
14626 * varasm.c (assemble_variable): Don't output debug information
14627 for file-scope variables.
14628
14629 2001-07-21 H.J. Lu (hjl@gnu.org)
14630
14631 * config/mips/mips.c (mips_cpu): Moved into ...
14632 (override_options): Here.
14633
14634 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14635 mips_tune.
14636 (mips_cpu): Removed.
14637
14638 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14639
14640 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14641 ("iorqi3"): Likewise.
14642 ("xorqi3"): Likewise.
14643 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14644 ("*subhi3_sp): Likewise.
14645 ("*subhi3"): Likewise.
14646 ("extendhisi2"): Accept D, X and Y as source operand to avoid
14647 reload problems.
14648
14649 2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
14650
14651 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14652 * config/freebsd.h: Likewise.
14653 * config/linux.h: Likewise.
14654 * config/openbsd.h: Likewise.
14655 * config/alpha/linux-elf.h: Likewise.
14656 * config/arm/linux-elf.h: Likewise.
14657 * config/d30v/d30v.h: Likewise.
14658 * config/fr30/fr30.h: Likewise.
14659 * config/ia64/aix.h: Likewise.
14660 * config/ia64/ia64.h: Likewise.
14661 * config/mips/linux.h: Likewise.
14662 * config/pj/pj.h: Likewise.
14663 * config/rs6000/linux.h: Likewise.
14664 * config/sparc/linux.h: Likewise.
14665 * config/sparc/linux64.h: Likewise.
14666
14667 2001-07-20 Bruce Korb <bkorb@gnu.org>
14668
14669 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14670 because getc() and char* may disagree on signedness.
14671
14672 2001-07-20 Richard Henderson <rth@redhat.com>
14673
14674 * doc/rtl.texi (REG_DEAD): Update for current semantics.
14675
14676 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14677 insns to delete in the presence of cc0 in a jump insn.
14678
14679 Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
14680 Jan Hubicka <jh@suse.cz>
14681
14682 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14683 of doing the change by hand.
14684
14685 Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14686
14687 * rtlanal.c (set_noop_p): Return true for noop jumps.
14688
14689 * expr.c (emit_single_push_insn): Add call to push expander.
14690 * expr.h (optab_index): Add OTI_push
14691 (push_optab): New constant.
14692 * genopinit.c (optabs): Add push_optab.
14693 * optabs.c (init_optab): Init push optab.
14694 * md.texi (push??1): Document
14695
14696 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14697
14698 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14699 expand to emit the pattern; put a REG_INC note for push/pop
14700 instructions.
14701 ("movdf", "movdf_internal"): Likewise.
14702 ("movsi", "movsi_internal"): Likewise.
14703 ("movsf", "movsf_internal"): Likewise.
14704 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14705
14706 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14707
14708 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14709 gen_highpart.
14710
14711 2001-07-20 Daniel Berlin <dan@cgsoftware.com>
14712
14713 * params.def: Change default max inline insns to 100.
14714
14715 2001-07-20 Diego Novillo <dnovillo@redhat.com>
14716
14717 * combine.c (combine_simplify_rtx): Generate a new shift operation
14718 when simplifying the first operand of a (neg (ashift)) expression.
14719
14720 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
14721
14722 * regclass.c (N_REG_INTS): Use only 32 bits per element.
14723
14724 2001-07-20 Kelley Cook <kelley.cook@home.com>
14725
14726 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14727 information. Move rest into ...
14728 (*-*-solaris): ... here. Eliminate redundant information and
14729 reword necessary packages section. Delete 4.x assembler bug info.
14730 (sparc-sun-*): Merge into ...
14731 (sparc-sun-sunos*): here.
14732
14733 2001-07-20 Catherine Moore <clm@redhat.com>
14734
14735 * config/v850/v850.md (casesi): Generate LABEL_REF
14736 with Pmode.
14737
14738 Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
14739
14740 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14741 * i386.c (ix86_zero_extend_to_Pmode): Make global.
14742 * i386.md (strclrsi expander): Use it.
14743
14744 Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14745
14746 * integrate.c (copy_insn_list): handle
14747 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14748 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14749 identically as to CODE_LABEL.
14750
14751 * fold-const (fold): Convert A/B/C to A/(B*C) and
14752 A/(B/C) to (A/B)*C
14753
14754 * except.c (connect_post_landing_pads): Delete the RESX insns.
14755
14756 2001-07-20 Aldy Hernandez <aldyh@redhat.com>
14757
14758 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14759
14760 * config/mips/mips.md (nmadd/nmsub): Use macro.
14761
14762 2001-07-20 Nathan Sidwell <nathan@codesourcery.com>
14763
14764 * cppinit.c (remove_dup_dir): Make static.
14765 (remove_dup_dirs): Make static. Only warn about preempting a
14766 system directory with a non-system directory.
14767
14768 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14769
14770 * ifcvt.c (noce_try_store_flag_constants): Correct order
14771 of parameters to trunc_int_for_mode.
14772
14773 2001-07-19 Mark Mitchell <mark@codesourcery.com>
14774
14775 * reorg.c (fill_simple_delay_slots): If an instruction might throw
14776 an exception that will be caught within this function, do not fill
14777 its delay slot with any subsequent instruction.
14778
14779 2001-07-19 Steve Ellcey <sje@cup.hp.com>
14780
14781 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14782 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14783 pointer extension instruction.
14784 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14785 * simplify-rtx.c (simplify_unary_operation) Likewise.
14786 * explow.c (convert_memory_address) Check value of
14787 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14788 less than zero.
14789 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14790 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14791 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14792 Add Multilib Support.
14793 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
14794 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14795 Add Multilib Support.
14796 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14797 support.
14798 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14799 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14800 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14801
14802 2001-07-19 Alexandre Oliva <aoliva@redhat.com>
14803
14804 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14805 old and new operands in `<', `3' and `b'.
14806
14807 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14808
14809 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14810 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14811 (toplev.o): Don't depend on xcoffout.h.
14812 * c-decl.c: Include debug.h
14813 (duplicate_decls): Use debug hook.
14814 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14815 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14816 (dbxout_types): Remove.
14817 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14818 * debug.c (do_nothing_debug_hooks): Update.
14819 (debug_true_tree, debug_nothing_rtx): New.
14820 * debug.h (struct rtx_def): New.
14821 (struct gcc_debug_hooks): New hooks ignore_block,
14822 outlining_inline_function and label.
14823 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14824 dwarf2out_frame_finish): New.
14825 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14826 Make static, update prototype.
14827 (dwarf2_debug_hooks): Update.
14828 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14829 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14830 * dwarfout.c (dwarf_debug_hooks): Update.
14831 * emit-rtl.c: Include debug.h.
14832 (remove_unnecessary_notes): Use debug hook.
14833 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14834 (final_scan_insn): Use debug hook.
14835 * integrate.c (output_inline_function): Use debug hook.
14836 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14837 (sdb_debug_hooks): Update.
14838 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14839 * toplev.c: Don't include xcoffout.h.
14840 (note_outlining_of_inline_function, debug_ignore_block): Remove.
14841 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14842 Remove.
14843 * tree.h (dwarf2out_do_frame): Remove.
14844
14845 2001-07-19 Catherine Moore <clm@cygnus.com>
14846
14847 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14848
14849 2001-07-19 Geoffrey Keating <geoffk@redhat.com>
14850
14851 * reload1.c (eliminate_regs_in_insn): When updating a set
14852 to the frame pointer to the hardware frame pointer, perform
14853 the update always not just when REPLACE is set.
14854
14855 * reload1.c (choose_reload_regs): Don't inherit a reload
14856 that crosses multiple registers if registers past the first
14857 don't fit in the desired class.
14858
14859 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14860 when negating constants.
14861
14862 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
14863
14864 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14865 * doc/tree.texi: Ditto.
14866
14867 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
14868 Jakub Jelinek <jakub@redhat.com>
14869
14870 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14871 (extract_cie_info): Handle "eh" augmentation properly,
14872 remember eh_ptr.
14873 (struct frame_state, __frame_state_for): New.
14874
14875 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14876
14877 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14878 HANDLE_SYSV_PRAGMA): Define.
14879 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14880 previous args.
14881 (copy_object): Caller changed.
14882
14883 2001-07-19 Andreas Schwab <schwab@suse.de>
14884
14885 * configure.in (assembler dwarf2 debug_line support): Define nop
14886 insn for m68k.
14887 * configure: Regenerated.
14888
14889 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14890
14891 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14892 dwarfout.h.
14893 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14894 to conditionally compiled block.
14895 (dbx_debug_hooks, xcoff_debug_hooks): Update.
14896 * dbxout.h (dbxout_function): Remove.
14897 * debug.c (do_nothing_debug_hooks): Update.
14898 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14899 global_decl, deferred_inline_function.
14900 * dwarf2out.c (dwarf2_debug_hooks): Update.
14901 (dwarf2out_global_decl): New.
14902 * dwarfout.c: Don't include dwarfout.h.
14903 (dwarfout_global_decl, dwarfout_function_decl,
14904 dwarfout_deferred_inline_function): New.
14905 (dwarf_debug_hooks): Update.
14906 * dwarfout.h: Remove.
14907 * final.c: Don't include dwarfout.h.
14908 * sdbout.c (sdbout_global_decl): New.
14909 (sdbout_debug_hooks): Update.
14910 * toplev.c: Don't include dwarfout.h.
14911 (check_global_declarations, rest_of_compilation): Use new debug hooks.
14912 (note_deferral_of_defined_inline_function): Remove.
14913 * toplev.h (note_deferral_of_defined_inline_function): Remove.
14914 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14915 * ch/lex.c: Don't include dwarfout.h.
14916 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14917 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14918 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14919 * cp/optimize.c: Include debug.h.
14920 (maybe_clone_body): Use debug hook.
14921 * cp/semantics.c: Include debug.h.
14922 (expand_body): Use debug hook.
14923 * po/POTFILES.in: Remove dwarfout.h.
14924
14925 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
14926
14927 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14928 * c-parse.in (yyerror, _yylex): Similarly.
14929 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14930 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14931 Update comments.
14932 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14933 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14934
14935 2001-07-18 Jeff Sturm <jsturm@one-point.com>
14936
14937 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14938 in-class declaration at -g1. Fixes c++/2814.
14939
14940 2001-07-18 Richard Henderson <rth@redhat.com>
14941
14942 * doc/md.texi (reload_in/out): Document restrictions in predicates
14943 and constraints for these patterns. Document empty string matching
14944 ALL_REGS.
14945
14946 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14947
14948 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14949
14950 Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
14951
14952 * cse.c: Undo my previous patch.
14953
14954 2001-07-18 Tom Tromey <tromey@redhat.com>
14955
14956 For PR java/2812:
14957 * configure: Rebuilt.
14958 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14959 instead.
14960 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14961
14962 Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
14963 Jan Hubicka <jh@suse.cz>
14964
14965 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14966 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14967 * jump.c (mark_jump_label): Do not forward branches.
14968
14969 Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
14970
14971 * cse.c (delete_trivially_dead_insns): Delete the libcall block
14972 when return value is unused.
14973
14974 Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
14975
14976 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14977
14978 Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
14979
14980 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14981 on error. We can't blindly return the result of
14982 pthread_mutex_trylock because it returns a positive number on
14983 error, while we must return -1 on error.
14984 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14985 fixes.
14986 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14987
14988 2001-07-18 Andreas Jaeger <aj@suse.de>
14989
14990 * integrate.c (output_inline_function): Correct type of debug_hooks.
14991
14992 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
14993
14994 * combine.c (combine_simplify_rtx): DIV can be treated
14995 associatively for floats if unsafe math optimisations are enabled.
14996
14997 2001-07-17 Richard Henderson <rth@redhat.com>
14998
14999 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
15000
15001 2001-07-17 Richard Henderson <rth@redhat.com>
15002
15003 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
15004 don't force the function address into a register.
15005 (expand_call, emit_library_call_value_1): Update callers.
15006 * builtins.c (expand_builtin_apply): Likewise.
15007 * expr.h (prepare_call_address): Update decl.
15008
15009 2001-07-17 Chandrakala Chavva <cchavva@redhat.com>
15010
15011 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
15012 config directory.
15013 * config/i386/chorus.h: Move up.
15014 * config/sparc/chorus.h: Likewise.
15015 * config/rs6000/chorus.h: Likewise.
15016 * config/chorus.h: Moved here.
15017
15018 2001-07-17 Andreas Schwab <schwab@suse.de>
15019
15020 * configure.in (assembler eh_frame optimization): Handle big
15021 endian.
15022 * configure: Regenerated.
15023
15024 Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
15025
15026 * expr.c (epxand_expr): Convert divisions into multiplications by
15027 reciprocals if -ffast-math.
15028
15029 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
15030
15031 * dbxout.c (dbxout_really_begin_function): Rename to
15032 dbxout_begin_function.
15033 (dbx_debug_hooks, xcoff_debug_hooks): Update.
15034 (dbxout_begin_function): Remove.
15035 (dbxout_function): Update.
15036 (dbxout_source_line): Update prototype.
15037 * dbxout.h (dbxout_begin_function): Remove.
15038 * debug.c (do_nothing_debug_hooks): Update.
15039 (debug_nothing_tree): Update.
15040 (debug_nothing_charstar_rtx): Remove.
15041 * debug.h (union tree_node): Declare.
15042 (struct rtx_def): Remove.
15043 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
15044 begin_function. Change source_line prototype.
15045 (debug_nothing_tree): New.
15046 (debug_nothing_charstar_rtx): Delete.
15047 (dwarf2out_begin_prologue): Moved from ...
15048 * tree.h: ... here.
15049 * dwarf2out.c (dwarf2_debug_hooks): Update.
15050 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
15051 debug info, call dwarf2out_source_line.
15052 (dwarf2out_souce_line): Update prototype.
15053 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
15054 Change prototype, make static.
15055 (dwarfout_source_line): Update prototype.
15056 (dwarf_debug_hooks): Update.
15057 * dwarfout.h (dwarfout_begin_function): Remove.
15058 * final.c (final_start_function, final_scan_insn): Use appropriate
15059 debug hooks, update to use notice_source_line.
15060 (output_source_line): Rename notice_source_line. Don't call the
15061 source_line debug hook.
15062 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
15063 make static, update prototype.
15064 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
15065 prototype.
15066 (sdbout_end_prologue): New.
15067 (sdbout_source_line): Update prototype.
15068 (sdbout_debug_hooks): Update.
15069 (sdbout_symbol): Remove unused var.
15070 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
15071 Delete.
15072 * varasm.c: Include debug.h.
15073 (assemble_start_function): Use begin_function debug_hook.
15074 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15075 update with prototype.
15076 (xcoffout_source_line): Update prototype.
15077 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15078 update prototype.
15079 (xcoffout_source_line): Update prototype.
15080
15081 2001-07-17 Richard Henderson <rth@redhat.com>
15082
15083 * c-typeck.c (build_binary_op): Do not shorten unsigned
15084 right shift after sign extension.
15085
15086 Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
15087
15088 * combine.c (combine_simplify_rtx): Attempt to simplify
15089 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
15090
15091 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
15092 (simplify_binary_operation, simplify_unary_operation,
15093 simplify_relational_operation): Use it.
15094
15095 * combine.c (combine_simplify_rtx): Don't do associative law
15096 on divisions; allow associative law on floats.
15097
15098 2001-07-17 H.J. Lu <hjl@gnu.org>
15099 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15100
15101 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
15102 ASM_OUTPUT_WEAK_ALIAS are defined.
15103 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
15104 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
15105 Moved ...
15106 * config/mips/iris5.h: ... here.
15107 (HANDLE_SYSV_PRAGMA): Defined as 1.
15108 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
15109 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
15110 symbol.
15111
15112 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
15113
15114 * c-parse.in (all_prefix_attributes): New variable.
15115 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
15116 (maybe_resetattrs): New production.
15117 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
15118 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
15119 notype_initdcl, nested_function, notype_nested_function,
15120 component_decl, components, components_notype,
15121 component_declarator, component_notype_declarator,
15122 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
15123 ivars, mydecl, myparm): Update. Avoid prefix attributes just
15124 after a comma being applied to more than one declarator.
15125 * doc/extend.texi (Attribute Syntax): Update. Remove
15126 documentation of bugs that are no longer present.
15127
15128 2001-07-13 Eric Christopher <echristo@redhat.com>
15129
15130 * config/mips/mips.h: Change TUNE_MIPS* options to use
15131 mips_tune.
15132 (EXTRA_SPECS): Add cc1_cpu_spec.
15133 * config/mips/mips.md (muldf3): Fix typo.
15134
15135 2001-07-16 Richard Henderson <rth@redhat.com>
15136
15137 * config/m68k/m68k.c: Include expr.h and reload.h.
15138 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
15139 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
15140
15141 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
15142 Richard Henderson <rth@redhat.com>
15143
15144 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
15145 (insn_live_p): Fix fall off end of function.
15146 (dead_libcall_p): Remove COUNTS argument; update callers.
15147 (delete_trivially_dead_insns): Remove unused variables.
15148
15149 2001-07-17 Andreas Jaeger <aj@suse.de>
15150
15151 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
15152 x86-64 pic support.
15153
15154 * lcm.c (optimize_mode_switching): Avoid warning for unused
15155 variable if !NORMAL_MODE.
15156
15157 * flow.c (try_crossjump_to_edge): Remove unused variable.
15158
15159 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
15160
15161 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
15162 atexit declaration in stdlib.h.
15163
15164 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
15165
15166 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
15167
15168 Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15169
15170 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
15171 * except.c (finish_eh_generation): Update call of cleanup_cfg;
15172 do rebuild_jump_labels instead of jump_optimize
15173 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
15174 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
15175 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
15176
15177 * flow.c: Include timevar.h
15178 (find_basic_block): Push/pop timevar;
15179 (cleanup_cfg): Likewise.
15180 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
15181 * Makefile: Add dependencies on timevar.h
15182
15183 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
15184 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
15185
15186 * rtl.h (delete_trivially_dead_insns): Add new parameter.
15187 * toplev.c (rest_of_compilation): Update calls.
15188 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
15189 (delete_trivially_dead_insns): ... here; accept new argument
15190 preserve_basic_blocks; preserve basic blocks if set.
15191
15192 * reg-stack.c (stack_regs_mentioned): Return 0 if
15193 stack_regs_mentioned_data is not initialized.
15194 (reg_to_stack): Make stack_regs_mentioned survive after the
15195 reg-stack is completted; do not call cleanup_cfg.
15196 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
15197 make cleanup_cfg after bb-reorder to output to debug file.
15198
15199 2001-07-16 Richard Henderson <rth@redhat.com>
15200
15201 * regclass.c (init_reg_sets): Use only 32 bits per initializer
15202 from int_reg_class_contents.
15203
15204 2001-07-16 Richard Henderson <rth@redhat.com>
15205
15206 * hard-reg-set.h (regs_invalidated_by_call): Declare.
15207 * regclass.c (regs_invalidated_by_call): Move from cse.c.
15208 (init_reg_sets_1): Move initialization from cse_main.
15209 * cse.c (regs_invalidated_by_call): Move to regclass.c.
15210 (cse_main): Move its initialization also.
15211 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15212 * flow.c (propagate_one_insn): Likewise.
15213 * gcse.c (compute_hash_table): Likewise.
15214 (compute_kill_rd, compute_store_table): Likewise.
15215 * sched-deps.c (sched_analyze_1): Likewise.
15216
15217 Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
15218
15219 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15220 gen_rtx_SET.
15221
15222 2001-07-16 Steve Ellcey <sje@cup.hp.com>
15223
15224 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15225 in if statement so we don't access undefined memory.
15226
15227 2001-07-16 Daniel Berlin <dan@cgsoftware.com>
15228
15229 * gcse.c: Update comment at top.
15230 Update comment on mem handling.
15231 mem_last_set, mem_first_set, mem_set_in_block: gone.
15232 Declaration of reg_set_info: gone.
15233 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15234 pointless with load_killed_in_block_p (they are *more*
15235 conservative then it, not less, and less accurate).
15236 (oprs_not_set_p): Ditto.
15237 (alloc_gcse_mem): Don't allocate mem_set_in_block
15238 (free_gcse_mem): Don't free it, either.
15239 (record_last_mem_set_info): Update comment in front, remove
15240 mem_*set_* stuff. Note the reason we don't handle stores directly
15241 here.
15242 (compute_hash_table): Update comments to reflect reality. Remove
15243 mem_*set_* references.
15244 (reset_opr_set_tables): Remove mem_*set_* references.
15245 (mark_call): Ditto.
15246 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
15247 (mark_clobber): Ditto (on both parts, we double set here too).
15248 (expr_killed_p): Remove mem_set_in_block test.
15249 (compute_transp): Remove mem_set_in_block test.
15250
15251 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
15252 of edge, and removal of phi alternative to dump file.
15253 (ssa_ccp_substitute_constants): Add note about register now being
15254 constant, and which uses were replaced in what insns to dump file.
15255
15256 2001-07-16 Andreas Jaeger <aj@suse.de>
15257
15258 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15259 variables of type HOST_WIDEST_INT.
15260
15261 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15262 (__bb_exit_func): Correct type of count_max to avoid overflow.
15263 (num_digits): Handle long long argument.
15264
15265 * combine.c (gen_lowpart_for_combine): Remove unused variable.
15266
15267 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15268
15269 * output.h (sdb_begin_function_line): Restore as an extern
15270 variable.
15271 * sdbout.c (sdb_begin_function_line): Make extern.
15272
15273 2001-07-15 Richard Henderson <rth@redhat.com>
15274
15275 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15276 * genrecog.c (maybe_both_true_mode): New.
15277 (maybe_both_true_2): Use it.
15278 (write_switch): Don't put Pmode in a switch.
15279 * rtl.c (mode arrays): Don't explicitly size them.
15280
15281 Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15282
15283 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15284 handling; move unconditional splitting before mode switching.
15285
15286 * i386.md (type): Add fistp type.
15287 (i387, length_attr, scheduling definitions): Handle this type.
15288 (fix_trunc?f?i2): Revamp to use mode switching.
15289 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15290 * i386.h (fp_cw_mode): New enum
15291 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15292 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15293
15294 Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15295
15296 * Makefile.in (integrate.o): Add debug.h.
15297 * integrate.c (debug.h): Add.
15298 (output_inline_function): Save, reset, and restore debug_hooks.
15299
15300 2001-07-15 Richard Henderson <rth@redhat.com>
15301
15302 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15303 instead of COMPARE for the EQUIV expression.
15304
15305 2001-07-15 Richard Henderson <rth@redhat.com>
15306
15307 * flow.c (redirect_edge_and_branch_force): Initialize
15308 global_live_at_start and global_live_at_end.
15309 (allocate_bb_life_data): Export.
15310 * basic-block.h (allocate_bb_life_data): Declare.
15311 * toplev.c (rest_of_compilation): Call it.
15312
15313 2001-07-15 Richard Henderson <rth@redhat.com>
15314
15315 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15316 (alpha_tablejump_best_label): New.
15317 * config/alpha/alpha-protos.h: Declare them.
15318 * config/alpha/alpha.md: Use braced strings for code blocks.
15319 (tablejump_osf): Break out add with r29.
15320 (tablejump_osf_internal): Remove.
15321 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15322 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15323
15324 Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15325
15326 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15327 of the movable.
15328
15329 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15330
15331 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15332 (ix86_fp_jump_nontrivial_p): New.
15333 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15334 use ix86_fp_jump_nontrivial_p.
15335 * i386.c (ix86_fp_jump_nontrivial_p): New.
15336 (ix86_split_fp_branch): Accept code instead of rtx.
15337 (ix86_expand_compare): Expand comparison early in case
15338 doing so is resonably cheap.
15339
15340 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15341
15342 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15343 not 'machine'.
15344 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15345 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15346
15347 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15348
15349 * dbxout.c (dbxout_source_line): Make static, update prototype.
15350 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15351 (dbxout_init, dbxout_finish, dbxout_source_line,
15352 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15353 * dbxout.h (dbxout_source_line): Delete.
15354 * debug.c (debug_nothing_file, debug_nothing_file_int,
15355 debug_nothing_file_charstar_rtx): New.
15356 (do_nothing_debug_hooks): Update.
15357 (debug_nothing_void, debug_nothing_charstar_rtx,
15358 dwarf2out_end_epilogue): New.
15359 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15360 * debug.h (struct rtx_def): Declare.
15361 (gcc_debug_hooks): New hooks source_line, end_epilogue
15362 and end_function.
15363 (debug_nothing_void, debug_nothing_charstar_rtx,
15364 dwarf2out_end_epilogue): New.
15365 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15366 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15367 (dwarf2_debug_hooks): Update.
15368 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15369 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15370 * dwarf2out.h (dwarf2out_source_line): Remove.
15371 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15372 Make static, update prototype.
15373 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15374 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15375 (dwarf_debug_hooks): Update.
15376 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15377 dwarfout_end_function): Remove.
15378 * final.c (profile_function): Use debug hooks for ending functions
15379 and epilogues.
15380 (output_source_line, final_end_function): Update prototype,
15381 use debug hooks.
15382 (final_start_function, final_scan_insn): Update.
15383 * output.h (sdb_begin_function_line): Remove.
15384 (final_end_function): Update prototype.
15385 * sdbout.c (sdb_begin_function_line): Make static.
15386 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15387 (sdbout_source_line): New.
15388 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15389 prototypes.
15390 (sdb_debug_hooks): Update.
15391 (sdbout_init, sdbout_source_line,
15392 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15393 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15394 * toplev.c (compile_file, rest_of_compilation): Update.
15395 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15396 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15397 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15398 Update for prototype changes.
15399 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15400 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15401
15402 2001-07-15 Richard Henderson <rth@redhat.com>
15403
15404 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15405 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15406 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15407 * config/alpha/alpha.c: Likewise.
15408 * config/alpha/alpha.md: Likewise.
15409 * config/alpha/alpha32.h: Likewise.
15410 * config/alpha/vms.h: Likewise.
15411 (OPEN_VMS): Remove.
15412
15413 2001-07-14 Richard Henderson <rth@redhat.com>
15414
15415 * config/alpha/alpha.md: Use define_constants for unspec values.
15416 Substitute throughout.
15417
15418 2001-07-14 Tim Josling <tej@melbpc.org.au>
15419
15420 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15421
15422 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15423
15424 * pa.md: Remove unused constraints from define_split's.
15425
15426 2001-04-14 Richard Henderson <rth@redhat.com>
15427
15428 * ifcvt.c (find_cond_trap): Test for exit block.
15429
15430 Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15431
15432 Re-install recently reverted patch.
15433 * emit-rtl.c (try_split): Update mark_jump_label call.
15434 * flow.c (find_sub_basic_blocks): Likewise.
15435 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15436 jump_back_p): Kill.
15437 (mark_all_labels): Kill second parameter.
15438 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15439 (rebuild_jump_labels, jump_optimize_minimal): Update call
15440 of jump_optimize_1.
15441 (jump_optimize_1): Kill crossjumping code.
15442 (mark_jump_label): Kill cross_jump parameter.
15443 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15444 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15445 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15446 splitting.
15447 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15448 DFI_bpro.
15449 (dump_file_info): Likewise.
15450 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15451 reorganize passes to do reg-stack first, bb-reorder second.
15452 * invoke.texi (-d letters doc): Remove the jump2 pass.
15453
15454 2001-07-14 Richard Henderson <rth@redhat.com>
15455
15456 * ifcvt.c (find_cond_trap): New.
15457 (find_if_header): Call it.
15458 (merge_if_block): Relax existing jump sanity check.
15459 * jump.c (jump_optimize_1): Remove conditional trap handling.
15460
15461 2001-07-14 Alan Modra <amodra@bigpond.net.au>
15462
15463 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15464 millicode.
15465 (insn_refs_are_delayed): Correct comment.
15466 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15467 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15468 instead of r31. Make associated insn !TARGET_64BIT, and
15469 provide an additional 64-bit insn that clobbers r2.
15470 (divsi3): Likewise.
15471 (udivsi3): Likewise.
15472 (modsi3): Likewise.
15473 (umodsi3): Likewise.
15474
15475 Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15476
15477 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15478
15479 * flow.c (redirect_edge_and_branch_force, split_edge,
15480 try_crossjump_to_edge): Use set_block_for_new_insns.
15481 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15482
15483 2001-07-13 H.J. Lu (hjl@gnu.org)
15484
15485 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15486 the correct patch.
15487
15488 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15489
15490 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15491
15492 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15493
15494 * c-common.c (decl_attributes): Take a pointer to the node to
15495 which attributes are to be attached, and a flags argument.
15496 * c-common.h (enum attribute_flags): New.
15497 (decl_attributes): Update prototype.
15498 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15499 finish_enum, start_function): Update calls to decl_attributes.
15500 * c-parse.in (component_declarator, component_notype_declarator,
15501 label): Update calls to decl_attributes.
15502
15503 Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
15504
15505 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15506 * config/avr/avr.c (legitimate_address_p): Return value changed
15507 from letter to register classes. For better debugging.
15508
15509 2001-07-13 Kazu Hirata <kazu@hxi.com>
15510
15511 * jump.c (reversed_comparison_code_parts): Fix comment typos.
15512
15513 2001-07-13 H.J. Lu (hjl@gnu.org)
15514
15515 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15516
15517 2001-07-13 Marc Espie <espie@cvs.openbsd.org>
15518
15519 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
15520 correctly for shared configurations.
15521 * config/t-libgcc-pic: New.
15522 * config/{i386,m68k,sparc}/t-openbsd: New.
15523 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
15524 Support -shared. Support debugging libraries with -g.
15525 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
15526 frame information does not emit pointer diffs.
15527 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
15528 emit pointer diffs.
15529
15530 2001-07-13 Geoffrey Keating <geoffk@redhat.com>
15531
15532 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15533
15534 2001-07-13 David Edelsohn <edelsohn@gnu.org>
15535
15536 * combine.c (try_combine): Ensure const_int pow2 is positive.
15537
15538 2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
15539
15540 * config.gcc: Add configuration for s/390.
15541 * config/s390/s390.c: New. Subroutines for code generation.
15542 * config/s390/s390.h: New. Definitions for s/390.
15543 * config/s390/s390-protos.h: New. Prototypes.
15544 * config/s390/linux.h: New. Definitions for linux for s/390.
15545 * config/s390/linux64.h: New. Definitions for linux for zSeries.
15546 * config/s390/t-linux: New. Makefile fragment.
15547 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15548 * config/s390/fixdfdi.h: New. Fix L_fix*di.
15549
15550 Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
15551
15552 * emit-rtl.c (try_split): Update mark_jump_label call.
15553 * flow.c (find_sub_basic_blocks): Likewise.
15554 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15555 jump_back_p): Kill.
15556 (mark_all_labels): Kill second parameter.
15557 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15558 (rebuild_jump_labels, jump_optimize_minimal): Update call
15559 of jump_optimize_1.
15560 (jump_optimize_1): Kill crossjumping code.
15561 (mark_jump_label): Kill cross_jump parameter.
15562 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15563 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15564 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15565 splitting.
15566 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15567 DFI_bpro.
15568 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15569 reorganize passes to do reg-stack first, bb-reorder second.
15570 * invoke.texi (-d letters doc): Remove the jump2 pass.
15571
15572 2001-07-12 Steve Ellcey <sje@cup.hp.com>
15573
15574 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15575
15576 Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15577
15578 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15579 basic blocks.
15580 (verify_flow_info): Make diagnostics prettier.
15581
15582 Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
15583
15584 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15585
15586 * flow.c (outgoing_edges_match): Return early if condition reversal
15587 failed.
15588
15589 2001-07-06 Richard Sandiford <rsandifo@redhat.com>
15590
15591 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15592 (mips_move_2words): When splitting a move into two instructions,
15593 prefix the second address operand with '%D'.
15594
15595 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
15596
15597 * Makefile.in (final.o): Depend on debug.h.
15598 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15599 (dbx_debug_hooks): Add new hooks.
15600 (xcoff_debug_hooks): New.
15601 * debug.c (debug_nothing_file_int_int): New.
15602 (do_nothing_debug_hooks): Update.
15603 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15604 (debug_nothing_file_int_int): New.
15605 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15606 static, update prototype.
15607 (dwarf2_debug_hooks): Update.
15608 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15609 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15610 static, update prototype.
15611 (dwarf_debug_hooks): Update.
15612 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15613 * final.c: Include debug.h.
15614 (final_scan_insn): Use debug hooks when beginning and ending blocks.
15615 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15616 static, update prototype.
15617 (sdb_debug_hooks): Update.
15618 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15619 * toplev.c: Distinguish between xcoff and dbx.
15620
15621 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15622 Call all debug hooks, not just dwarf ones.
15623
15624 2001-07-11 Timothy Wall <twall@redhat.com>
15625
15626 * config.gcc: Add configuration for AIX5/IA64.
15627 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
15628 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
15629 support prefix/suffix code.
15630 * config/ia64/t-aix: New. Makefile fragment.
15631 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
15632
15633 2001-07-11 Kazu Hirata <kazu@hxi.com>
15634
15635 * recog.c (validate_change): Fix a comment typo.
15636
15637 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
15638
15639 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
15640 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15641 hooks directly.
15642 * dbxout.c (dbx_debug_hooks): Add new hooks.
15643 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15644 make static.
15645 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15646 make static.
15647 * dbxout.h (dbxout_start_new_source_file,
15648 dbxout_resume_previous_source_file): Delete.
15649 * debug.c (do_nothing_debug_hooks): Add new hooks.
15650 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15651 (debug_nothing_int_charstar, debug_nothing_int): New.
15652 * debug.h (gcc_debug_hooks): New hooks define, undef,
15653 start_source_file and end_source_file.
15654 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15655 (debug_nothing_int_charstar, debug_nothing_int): New.
15656 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
15657 the conditionally compiled section.
15658 (dwarf2out_start_source_file, dwarf2out_end_source_file,
15659 dwarf2out_define, dwarf2out_undef): Make static.
15660 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15661 dwarf2out_define, dwarf2out_undef): Remove.
15662 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15663 (dwarfout_start_source_file, dwarfout_end_source_file,
15664 dwarfout_define, dwarfout_undef): Make static.
15665 (dwarfout_start_source_file_check,
15666 dwarfout_end_source_file_check): New.
15667 (dwarfout_define, dwarfout_finish): Update.
15668 * dwarfout.h (dwarfout_start_new_source_file,
15669 dwarfout_resume_previous_source_file, dwarfout_define,
15670 dwarfout_undef): Remove.
15671 * sdbout.c (sdb_debug_hooks): Add new hooks.
15672 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15673 make static.
15674 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15675 make static, take an arg.
15676 * sdbout.h (sdbout_start_new_source_file,
15677 sdbout_resume_previous_source_file): Delete.
15678 * toplev.c (debug_start_source_file, debug_end_source_file,
15679 debug_define, debug_undef): Delete.
15680 * toplev.h (debug_start_source_file, debug_end_source_file,
15681 debug_define, debug_undef): Delete.
15682
15683 * java/jcf-parse.c: Include debug.h.
15684 (parse_class_file): Update to use debug hooks directly.
15685 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15686
15687 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15688
15689 * alias.c (set_mem_alias_set): New function.
15690 * rtl.h (set_mem_alias_set): Declare it.
15691 * builtins.c (expand_builtin_return_addr): Call it instead of
15692 using MEM_ALIAS_SET accessor.
15693 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15694 (get_memory_rtx, expand_builtin_va_arg): Likewise.
15695 (expand_builtin_va_copy):Likewise.
15696 * caller-save.c (setup_save_areas): Likewise.
15697 * calls.c (compute_argument_addresses): Likewise.
15698 * explow.c (set_mem_attributes): Likewise.
15699 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15700 (expand_assignment, store_constructor_field, store_field): Likewise.
15701 (expand_expr_unaligned): Likewise.
15702 * function.c (assign_stack_temp_for_type): Likewise.
15703 (put_reg_into_stack, gen_mem_addressof): Likewise.
15704 * ifcvt.c (noce_try_cmove_arith): Likewise.
15705 * reload1.c (reload, alter_reg): Likewise.
15706 * config/alpha/alpha.c (get_aligned_mem): Likewise.
15707 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15708 (alpha_expand_unaligned_store): Likewise
15709 (alpha_expand_unaligned_load_words): Likewise.
15710 (alpha_expand_unaligned_store_words): Likewise.
15711 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15712 (alpha_expand_epilogue): Likewise.
15713 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15714 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15715 * config/i386/i386.c (legitimize_pic_address): Likewise.
15716 * config/i960/i960.c (setup_incoming_varargs): Likewise.
15717 * config/ia64/ia64.c (spill_restore_mem): Likewise.
15718 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15719 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15720 * config/mips/mips.c (mips_va_arg): Likewise.
15721 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15722 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15723 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15724 (setup_incoming_varargs, rs6000_va_arg): Likewise.
15725 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15726 (rs6000_emit_epilogue): Likewise.
15727 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15728 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15729 * config/v850/v850.c (v850_va_arg): Likewise.
15730
15731 Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
15732
15733 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15734 when fallthru edge is present.
15735 (mege_blocks): Handle case where creation of jump insn
15736 is required.
15737
15738 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15739 CLEANUP_POST_REGSTACK): New constants.
15740 * except.c (finish_eh_generation): Update call of cleanup_cfg,
15741 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15742 * output.h (cleanup_cfg): Update prototype.
15743 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15744 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15745 cleanup_cfg call; kill missleading comment.
15746 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15747 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15748 parameter; control optimizations performed using it.
15749 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15750 try_crossjump_bb): New functions.
15751
15752 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15753
15754 * pa.c (pa_output_function_prologue): Delete prototype. Make function
15755 extern.
15756 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15757 pa_output_function_prologue.
15758 * pa-protos.h (pa_output_function_prologue): New prototype.
15759
15760 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
15761
15762 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15763 and low to get correct sign extension in low+high test.
15764
15765 2001-07-11 Janis Johnson <janis@us.ibm.com>
15766
15767 * gcov.c (arcdata): Use gcov_type to fix branch percentage
15768 for large hit count.
15769
15770 * profile.c (branch_prob): Fix .bbg info for computed gotos
15771 and C++ EH code.
15772
15773 2001-07-11 Mark Mitchell <mark@codesourcery.com>
15774
15775 * stmt.c (parse_output_constraint): New function, split out
15776 from ...
15777 (expand_asm_operands): ... here. Use parse_output_constraint.
15778 * tree.h (parse_output_constraint): Declare it.
15779
15780 2001-07-11 Richard Henderson <rth@redhat.com>
15781
15782 * bitmap.c: Comment some functions; fiddle whitespace.
15783 (bitmap_free): Don't export.
15784 (bitmap_element_allocate): Use memset.
15785 * bitmap.h (bitmap_free): Don't declare.
15786
15787 2001-07-11 Daniel Berlin <dan@cgsoftware.com>
15788
15789 * gcse.c, lcm.c, sched-deps.c:
15790 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15791
15792 * flow.c (flow_loops_find): Free dom if we found no loops, since
15793 we aren't going to save it.
15794
15795 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15796 done.
15797
15798 Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
15799
15800 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15801
15802 Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15803
15804 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15805 #ifndef DWARF2_DEBUGGING_INFO.
15806
15807 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15808
15809 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15810
15811 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15812
15813 * config/mips/mips.c (gen_int_relational): Tell the caller not to
15814 reverse a branch if a NE comparison is implemented with GTU.
15815
15816 2001-07-11 Richard Sandiford <rsandifo@redhat.com>
15817 H.J. Lu <hjl@gnu.org>
15818
15819 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15820 constant addresses.
15821 (call_internal2): Likewise.
15822 (call_value_internal1): Likewise.
15823 (call_value_internal2): Likewise.
15824 (call_value_multiple_internal1): Likewise.
15825 (call_value_multiple_internal2): Likewise.
15826
15827 2001-07-10 Kazu Hirata <kazu@hxi.com>
15828
15829 * calls.c (emit_library_call_value_1): Fix a comment typo.
15830 * dwarf2out.c (mem_loc_descriptor): Likewise.
15831 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15832
15833 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
15834
15835 * simplify-rtx.c (simplify_subreg): Fix typo in comment
15836
15837 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15838
15839 * recog.c (offsettable_address_p): Handle LO_SUM case.
15840 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15841 instead of plus_constant.
15842
15843 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15844
15845 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15846 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15847
15848 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15849
15850 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15851 adjust_address_nv instead of plus_constant.
15852
15853 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
15854
15855 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15856 dwarf2out.o): Depend on debug.h, wrap long lines.
15857 * dbxout.c: Include debug.h.
15858 (dbx_debug_hooks): New.
15859 (dbxout_init): Make static, take just 2 args.
15860 (dbxout_finish): Make static.
15861 * dbxout.h (dbxout_init, dbxout_finish): Delete.
15862 * debug.c: New file.
15863 * debug.h: New file.
15864 * dwarf2out.c: Include debug.h.
15865 (dwarf2_debug_hooks): New.
15866 (dwarf2out_init): Make static.
15867 (dwarf2out_finish): Make static, take 2 args.
15868 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15869 * dwarfout.c: Include debug.h.
15870 (dwarf_debug_hooks): New.
15871 (dwarfout_init): Make static.
15872 (dwarfout_finish): Make static, take 2 args.
15873 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15874 * sdbout.c: Include debug.h.
15875 (sdb_debug_hooks): New.
15876 (sdbout_init): Make static, take 2 args.
15877 * sdbout.h (sdbout_init): Delete.
15878 * toplev.c: Include debug.h.
15879 (debug_hooks): New.
15880 (compile_file): Set deubg_hooks based on command line options.
15881 Use the hooks unconditionally rather than conditional compilation.
15882
15883 Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
15884
15885 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
15886 first_insn_after_basic_block_note instead.
15887
15888 * df.c (df_bb_refs_unlink): #if 0 out for now.
15889
15890 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
15891
15892 * ssa.h: Add prototype for ssa_const_prop
15893 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15894 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15895 (ssa_fast_dce): Remove unused variable
15896
15897 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15898
15899 * diagnostic.c (finish_diagnostic): Rename to
15900 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
15901 calls thourghout.
15902
15903 2001-07-10 Jason Merrill <jason_merrill@redhat.com>
15904
15905 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15906 .loc support.
15907
15908 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15909 (dump_file): Only pad the demangled name with spaces if the
15910 mangled name was padded with spaces.
15911
15912 2001-07-10 Bernd Schmidt <bernds@redhat.com>
15913
15914 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15915 edge detection.
15916
15917 Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15918
15919 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15920 extraction if no direct load if either EXPAND_CONST_ADDRESS or
15921 EXPAND_INITIALIZER.
15922
15923 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15924 whether can put offset inside LO_SUM to check mode alignment, not size.
15925
15926 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
15927
15928 * doc/tm.texi (Misc): Fix thinko.
15929
15930 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
15931
15932 * regmove.c (replace_in_call_usage): Fix warnings.
15933 * sched-deps.c (add_dependence): Fix warnings.
15934 * simplify-rtx.c (simplify_subreg): Likewise.
15935 Return NULL_RTX instead of NULL.
15936
15937 * reg-stack.c (emit_swap_insn): Eliminate warnings.
15938 (subst_asm_stack_regs): Likewise.
15939
15940 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15941 warnings.
15942
15943 * dwarf2out.c (output_call_frame_info): Declare i as int.
15944 (build_abbrev_table): Declare n_alloc as int.
15945 (dwarf2out_finish): Initialize die.
15946 * except.c: Declare sjlj_funcdef_number as unsigned.
15947 (connect_post_landing_pads): Declare j as unsigned.
15948 (convert_to_eh_region_ranges): Initialize call_site.
15949 (output_function_exception_table): Initialize tt_format_size.
15950 * expr.c (move_by_pieces_1): Initialize to1.
15951 (store_constructor): Initialize minelt and maxelt.
15952 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15953 * function.c (instantiate_decls): Avoid signed/unsigned warning.
15954
15955 * c-decl.c (combine_parm_decls): Unused, remove.
15956 * c-tree.h: Remove prototype for combine_parm_decls.
15957
15958 * reload.c (push_reload): Fix warning.
15959 (regno_clobbered_p): Likewise.
15960 * reload1.c (replace_pseudos_in_call_usage): Likewise.
15961 (reload_combine): Likewise.
15962
15963 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15964 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15965 warnings.
15966 * bitmap.c (bitmap_operation): Change user.
15967 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15968
15969 2001-07-10 Eric Christopher <echristo@redhat.com>
15970
15971 * config/mips/mips.c (override_options): Fix typo.
15972
15973 2001-07-09 Stan Shebs <shebs@apple.com>
15974
15975 * target.h (struct gcc_target): New fields init_builtins and
15976 expand_builtin.
15977 * target-def.h (TARGET_INIT_BUILTINS): New macro.
15978 (TARGET_EXPAND_BUILTIN): New macro.
15979 (TARGET_INITIALIZER): Add them.
15980 * builtins.c: Include target.h.
15981 (expand_builtin): Use targetm.expand_builtin.
15982 (default_init_builtins): New function.
15983 (default_expand_builtin): New function.
15984 * expr.h (default_init_builtins): Declare.
15985 (default_expand_builtin): Declare.
15986 * c-common.c (c_common_nodes_and_builtins): Use
15987 targetm.init_builtins.
15988 * defaults.h (MD_INIT_BUILTINS): Remove.
15989 * Makefile.in (builtins.o): Depend on target.h.
15990
15991 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15992 (TARGET_EXPAND_BUILTIN): Define.
15993 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15994 (MD_EXPAND_BUILTIN): Remove.
15995
15996 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15997 (TARGET_EXPAND_BUILTIN): Define.
15998 (c4x_init_builtins): Make endlink arg a local.
15999 (c4x_print_operand): Fix typos in adjust_address usages.
16000 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
16001 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
16002 (MD_EXPAND_BUILTIN): Remove.
16003
16004 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
16005 (TARGET_EXPAND_BUILTIN): Define.
16006 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
16007 (ix86_init_builtins): Call new function only if TARGET_MMX.
16008 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
16009 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
16010 (MD_EXPAND_BUILTIN): Remove.
16011
16012 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
16013 (TARGET_EXPAND_BUILTIN): Define.
16014 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
16015 (MD_EXPAND_BUILTIN): Remove.
16016
16017 * doc/tm.texi: Document these changes.
16018
16019 2001-07-09 Diego Novillo <dnovillo@redhat.com>
16020
16021 * basic-block.h (tree_node): Forward declare if needed.
16022 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
16023 (BLOCK_HEAD_TREE): Define.
16024 (BLOCK_END_TREE): Define.
16025 (struct loops): Rename field 'tree' to 'tree_root'.
16026 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
16027 'end_tree'.
16028 (flow_loops_tree_build): Rename reference to field 'tree' to
16029 'tree_root'.
16030 (flow_loops_level_compute): Ditto.
16031 * predict.c (estimate_bb_frequencies): Ditto.
16032 * tree.h (struct tree_common): Add field 'aux'.
16033
16034 2001-07-09 Stan Shebs <shebs@apple.com>
16035
16036 * config/darwin.c (darwin_encode_section_info): Don't mark any
16037 DECL_EXTERNAL node as defined.
16038
16039 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
16040
16041 * pa.c (pa_init_machine_status, pa_mark_machine_status,
16042 pa_free_machine_status, hppa_init_pic_save): Delete.
16043 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
16044 (hppa_profile_hook): Use hppa_pic_save_rtx.
16045 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
16046 hppa_init_pic_save): Delete.
16047 (hppa_pic_save_rtx): Declare.
16048 * pa.md (call, call_value, sibcall, sibcall_value,
16049 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
16050
16051 2001-07-09 Kazu Hirata <kazu@hxi.com>
16052
16053 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
16054 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
16055
16056 2001-07-09 Andreas Jaeger <aj@suse.de>
16057
16058 * output.h: Add declaration of final_forward_branch_p.
16059
16060 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
16061
16062 * varray.c: Include errors.h for internal_error and trim_filename
16063 declarations.
16064
16065 * Makefile.in (varray.o): Add errors.h.
16066
16067 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
16068
16069 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
16070 * optabs.c (have_add2_insn): Check whether the add insn chosen
16071 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
16072 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
16073
16074 Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
16075
16076 * Makefile.in (OBJS): Add ssa-ccp.o
16077 (ssa-ccp.o): Add dependencies.
16078 * toplev.c (DFI_ssa_ccp): New dump file enum.
16079 (dump_file): Add entry for dumping after SSA CCP.
16080 (flag_ssa_ccp): New flag variable.
16081 (f_options): Add -fssa-ccp.
16082 (rest_of_compilation): Run SSA CCP if requested.
16083 * timevar.def (TV_SSA_CCP): New timevar.
16084 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
16085 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
16086 Fix minor typo in SSA DCE documentation.
16087 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
16088 Add documentation for new dump option. Renumber dump files
16089 appropriately.
16090
16091 Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16092
16093 * emit-rtl.c (gen_highpart_mode): New.
16094 * rtl.h (gen_highpart_mode): Declare.
16095 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
16096 operand can be VOIDmode constant.
16097
16098 Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
16099
16100 * flow.c (redirect_edge_and_branch_force): New.
16101 (can_fallthru): Ensure that basic blocks are succeeding.
16102 (try_optimize_cfg): Do not delete basic block if it is the last one.
16103
16104 * flow.c (try_redirect_by_replacing_jump): Do not remove
16105 jumps with side effects, unlink chain on fallthru edge;
16106 set block for new jump instruction; avoid basic block to
16107 over by line number note.
16108
16109 * flow.c (try_simplify_condjump): Verify that the condjump
16110 is not always falling through.
16111
16112 Re-install patch:
16113 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16114
16115 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16116 (try_redirect_by_replacing_jump): Update properly the count
16117 and frequency information.
16118
16119 Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16120
16121 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
16122 address that is a LO_SUM specially.
16123 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
16124
16125 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
16126
16127 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
16128 (operand_subword): Use them.
16129 (change_address_1): Renamed from change_address; new arg VALIDATE.
16130 * expr.h: Reflect above changes; change_address now macro.
16131 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
16132 making MEM.
16133 * cselib.c (add_mem_for_addr): Likewise.
16134 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
16135 * regmove.c (try_apply_stack_adjustment): Likewise.
16136 * reload.c (push_reload, make_memloc): Likewise.
16137 * reload1.c (eliminate_regs): Likewise.
16138 * simplify-rtx.c (simplify_replace_rtx): Likewise.
16139 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
16140 adjust_addess.
16141 * combine.c (make_extraction, simplify_shift_const): Likewise.
16142 (gen_lowpart_for_combine): Likewise.
16143 * cse.c (gen_lowpart_if_possible): Likewise.
16144 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
16145 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
16146 * optabs.c (gen_move_insn): Likewise.
16147 * reload1.c (alter_reg): Likewise.
16148 * simplify-rtx.c (simplify_subreg): Likewise.
16149 * stmt.c (expand_anon_union_decl): Likewise.
16150 * recog.c (validate_replace_rtx_1): Likewise.
16151 (expr.h): Include.
16152 * Makefile.in (recog.o): Add $(EXPR_H).
16153 * explow.c (stabilize): Call replace_equiv_address.
16154 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
16155 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
16156
16157 2001-07-03 Andrew Haley <aph@redhat.com>
16158
16159 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
16160 the mode of the memory location.
16161
16162 2001-07-09 Bo Thorsen <bo@suse.co.uk>
16163
16164 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
16165
16166 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
16167
16168 * final.c (output_addr_const): Use target opening and
16169 closing parentheses.
16170 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
16171 defaults, add to TARGET_ASM_OUT.
16172 * target.h (struct gcc_target): Add open_paren and close_paren.
16173 * doc/md.texi: Update.
16174 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
16175 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
16176 TARGET_ASM_CLOSE_PAREN.
16177 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16178 Override.
16179 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16180 Override.
16181 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
16182 * config/a29k/a29k.h: Similarly.
16183 * config/alpha/alpha.h: Similarly.
16184 * config/arc/arc.h: Similarly.
16185 * config/arm/aof.h: Similarly.
16186 * config/arm/aout.h: Similarly.
16187 * config/avr/avr.h: Similarly.
16188 * config/c4x/c4x.h: Similarly.
16189 * config/clipper/clipper.h: Similarly.
16190 * config/convex/convex.h: Similarly.
16191 * config/d30v/d30v.h: Similarly.
16192 * config/dsp16xx/dsp16xx.h: Similarly.
16193 * config/elxsi/elxsi.h: Similarly.
16194 * config/fr30/fr30.h: Similarly.
16195 * config/h8300/h8300.h: Similarly.
16196 * config/i370/i370.h: Similarly.
16197 * config/i386/i386.h: Similarly.
16198 * config/i860/i860.h: Similarly.
16199 * config/i960/i960.h: Similarly.
16200 * config/ia64/ia64.h: Similarly.
16201 * config/m32r/m32r.h: Similarly.
16202 * config/m68hc11/m68hc11.h: Similarly.
16203 * config/m68k/m68k.h: Similarly.
16204 * config/m88k/m88k.h: Similarly.
16205 * config/mcore/mcore.h: Similarly.
16206 * config/mips/mips.h: Similarly.
16207 * config/mn10200/mn10200.h: Similarly.
16208 * config/mn10300/mn10300.h: Similarly.
16209 * config/ns32k/ns32k.h: Similarly.
16210 * config/pa/pa.h: Similarly.
16211 * config/pdp11/pdp11.h: Similarly.
16212 * config/pj/pj.h: Similarly.
16213 * config/romp/romp.h: Similarly.
16214 * config/rs6000/rs6000.h: Similarly.
16215 * config/sh/sh.h: Similarly.
16216 * config/sparc/sparc.h: Similarly.
16217 * config/v850/v850.h: Similarly.
16218 * config/vax/vax.h: Similarly.
16219 * config/we32k/we32k.h: Similarly.
16220
16221 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
16222
16223 * doc/c-tree.texi: Document representation of attributes.
16224
16225 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16226
16227 * doc/tm.texi: Update some places for the rename of target to
16228 targetm. Fix typo.
16229
16230 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16231
16232 * target.h (struct gcc_target): Add insert_attributes.
16233 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16234 (TARGET_INITIALIZER): Update.
16235 * tree.c, tree.h (default_insert_attributes): New function.
16236 Update comments on other default functions to refer to targetm,
16237 not target.
16238 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16239 TARGET_INSERT_ATTRIBUTES.
16240 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16241 * c-common.c (decl_attributes): Use targetm.insert_attributes.
16242 Don't use PRAGMA_INSERT_ATTRIBUTES.
16243 * Makefile.in (c-common.o): Depend on $(TARGET_H).
16244 * c-decl.c (start_decl, start_function): Don't call
16245 SET_DEFAULT_DECL_ATTRIBUTES.
16246 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16247 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16248 declare.
16249 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16250 (c4x_check_attribute): Avoid modifying attribute list itself.
16251 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16252 Make static.
16253 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16254 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16255 declare.
16256 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16257 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16258 Make static.
16259 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16260 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16261 declare.
16262 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16263 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16264 Adjust parameters. Make static.
16265
16266 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16267
16268 * c-common.c (decl_attributes): Only take a single attributes
16269 parameter.
16270 * c-common.h (decl_attributes): Update prototype.
16271 * c-decl.c (start_decl, start_function): Only take a single
16272 attributes parameter. Update calls to decl_attributes.
16273 (finish_struct, finish_enum): Update calls to decl_attributes.
16274 (push_parm_decl): Expect unified list of attributes. Update call
16275 to decl_attributes.
16276 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16277 notype_nested_function, component_declarator,
16278 component_notype_declarator, label): Update calls to
16279 decl_attributes.
16280 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16281 lists that are passed to push_parm_decl.
16282 * c-tree.h (start_function, start_decl): Update prototypes.
16283 * config/sh/sh-protos.h, config/sh/sh.c
16284 (sh_pragma_insert_attributes): Only take a single attributes
16285 parameter.
16286 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16287 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16288 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16289 build_module_descriptor, generate_static_references,
16290 generate_strings, build_selector_translation_table,
16291 generate_descriptor_table, generate_protocols,
16292 generate_ivars_list, generate_dispatch_table,
16293 generate_protocol_list, generate_category,
16294 generate_shared_structures, really_start_method, add_objc_decls,
16295 generate_classref_translation_entry): Update calls to start_decl
16296 and start_function.
16297 (build_tmp_function_decl, start_method_def): Unify attribute lists
16298 that are passed to push_parm_decl.
16299
16300 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16301
16302 * final.c (no_asm_to_stream): New.
16303 (final_scan_insn): Use target structures for prologue ends
16304 and epilogue starts.
16305 * output.h (no_asm_to_stream): New.
16306 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16307 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16308 (TARGET_ASM_OUT): Update.
16309 * target.h (struct gcc_target): New members function_end_prologue
16310 and function_begin_epilogue.
16311 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16312 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16313 * config/alpha/alpha.c (output_end_prologue): Rename to
16314 alpha_output_function_end_prologue. Use in target struct
16315 and make static.
16316 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16317 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16318 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16319 ia64_output_function_end_prologue. Use in target struct
16320 and make static.
16321 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16322 mistyped prototypes.
16323 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16324 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16325 Delete.
16326 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16327 an use in target struct, make static.
16328 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16329 Delete.
16330
16331 2001-07-08 Richard Henderson <rth@redhat.com>
16332
16333 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16334
16335 2001-07-08 Richard Henderson <rth@redhat.com>
16336
16337 * config/i386/i386.md: Remove constraints strings from define_split
16338 and define_peephole2 patterns.
16339 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16340 (eh_return): Use them.
16341
16342 2001-07-08 Richard Henderson <rth@redhat.com>
16343
16344 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16345 Document MD_FALLBACK_FRAME_STATE_FOR.
16346
16347 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16348
16349 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16350 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16351 elimination.
16352 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16353
16354 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16355
16356 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16357 of the label inside NAME as opposed to just the end of NAME.
16358
16359 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16360
16361 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16362 * config/alpha/alpha.c (alpha_init_machine_status,
16363 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16364 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16365 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16366 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16367
16368 2001-07-06 Stan Shebs <shebs@apple.com>
16369
16370 * target.h (targetm): Rename global from "target", so as not to
16371 conflict with local variables.
16372 * c-decl.c: Ditto.
16373 * c-typeck.c: Ditto.
16374 * final.c: Ditto.
16375 * tree.c: Ditto.
16376 * cp/decl.c: Ditto.
16377 * cp/decl2.c: Ditto.
16378 * cp/typeck.c: Ditto.
16379 * 1750a/1750a.c: Ditto.
16380 * a29k/a29k.c: Ditto.
16381 * arc/arc.c: Ditto.
16382 * arm/arm.c: Ditto.
16383 * avr/avr.c: Ditto.
16384 * clipper/clipper.c: Ditto.
16385 * convex/convex.c: Ditto.
16386 * d30v/d30v.c: Ditto.
16387 * dsp16xx/dsp16xx.c: Ditto.
16388 * elxsi/elxsi.c: Ditto.
16389 * fr30/fr30.c: Ditto.
16390 * h8300/h8300.c: Ditto.
16391 * i370/i370.c: Ditto.
16392 * i386/i386.c: Ditto.
16393 * i860/i860.c: Ditto.
16394 * i960/i960.c: Ditto.
16395 * ia64/ia64.c: Ditto.
16396 * m32r/m32r.c: Ditto.
16397 * m68hc11/m68hc11.c: Ditto.
16398 * m68k/m68k.c: Ditto.
16399 * m88k/m88k.c: Ditto.
16400 * mips/mips.c: Ditto.
16401 * ns32k/ns32k.c: Ditto.
16402 * pa/pa.c: Ditto.
16403 * pdp11/pdp11.c: Ditto.
16404 * romp/romp.c: Ditto.
16405 * rs6000/rs6000.c: Ditto.
16406 * sh/sh.c: Ditto.
16407 * sparc/sparc.c: Ditto.
16408 * vax/vax.c: Ditto.
16409 * we32k/we32k.c: Ditto.
16410 * doc/tm.texi: Update the manual to match.
16411
16412 2001-07-06 Richard Henderson <rth@redhat.com>
16413
16414 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16415 DWARF2_UNWIND_INFO not just whether it is defined.
16416
16417 2001-07-06 Diego Novillo <dnovillo@redhat.com>
16418
16419 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16420 call to simplify_binary_operation returns a new pattern.
16421
16422 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16423
16424 * glimits.h (__SHRT_MAX__): New.
16425 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16426 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16427
16428 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16429
16430 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16431 avoid warnings.
16432
16433 2001-07-06 Richard Henderson <rth@redhat.com>
16434
16435 * bitmap.c (bitmap_release_memory): Move adjacent to the
16436 allocation functions.
16437 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16438 the implementation. Binary search for the set bit.
16439 (bitmap_union_of_diff): Allocate the temporary on the stack
16440 instead of using xmalloc.
16441
16442 2001-07-06 Richard Henderson <rth@redhat.com>
16443
16444 * genrecog.c (validate_pattern): Warn for constraints in
16445 define_{expand,split,peephole2}. Remove strict_low_part
16446 before looking up match_dup.
16447
16448 2001-07-06 DJ Delorie <dj@redhat.com>
16449
16450 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16451 chapter about various build hints and history. Add section
16452 talking about the various types of native and cross builds.
16453
16454 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16455
16456 * Makefile.in (final.o): Depend on target.h.
16457 * final.c: Include target.h.
16458 (default_function_pro_epilogue): New.
16459 (final_start_function): Use target structure for function prologues.
16460 (final_end_function): Use target structure for function epilogues.
16461 * fold-const.c (real_hex_to_f): Constify s and p.
16462 * output.h (default_function_pro_epilogue): New.
16463 * real.h (real_hex_to_f): Update prototype.
16464 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16465 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16466 (TARGET_INITIALIZER): Update.
16467 * target.h (gcc_target): Add struct asm_out.
16468 * doc/tm.texi: Update.
16469
16470 config:
16471 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16472 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16473 in cpu/cpu.c, or rename old functions consistently. Take
16474 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16475 redundant macros and prototypes. Make new functions static.
16476
16477 * 1750a/1750a.c: Similarly.
16478 * 1750a/1750a.h: Similarly.
16479 * a29k/a29k-protos.h: Similarly.
16480 * a29k/a29k.c: Similarly.
16481 * a29k/a29k.h: Similarly.
16482 * arc/arc-protos.h: Similarly.
16483 * arc/arc.c: Similarly.
16484 * arc/arc.h: Similarly.
16485 * arm/arm-protos.h: Similarly.
16486 * arm/arm.c: Similarly.
16487 * arm/arm.h: Similarly.
16488 * avr/avr-protos.h: Similarly.
16489 * avr/avr.c: Similarly.
16490 * avr/avr.h: Similarly.
16491 * clipper/clipper-protos.h: Similarly.
16492 * clipper/clipper.c: Similarly.
16493 * clipper/clipper.h: Similarly.
16494 * convex/convex.c: Similarly.
16495 * convex/convex.h: Similarly.
16496 * d30v/d30v-protos.h: Similarly.
16497 * d30v/d30v.c: Similarly.
16498 * d30v/d30v.h: Similarly.
16499 * d30v/d30v.md: Similarly.
16500 * dsp16xx/dsp16xx-protos.h: Similarly.
16501 * dsp16xx/dsp16xx.c: Similarly.
16502 * dsp16xx/dsp16xx.h: Similarly.
16503 * elxsi/elxsi.c: Similarly.
16504 * elxsi/elxsi.h: Similarly.
16505 * fr30/fr30.c: Similarly.
16506 * fr30/fr30.md: Similarly.
16507 * h8300/h8300-protos.h: Similarly.
16508 * h8300/h8300.c: Similarly.
16509 * h8300/h8300.h: Similarly.
16510 * i370/i370-protos.h: Similarly.
16511 * i370/i370.c: Similarly.
16512 * i370/i370.h: Similarly.
16513 * i386/i386.c: Similarly.
16514 * i386/osf1elf.h: Similarly.
16515 * i386/osfrose.h: Similarly.
16516 * i860/i860-protos.h: Similarly.
16517 * i860/i860.c: Similarly.
16518 * i860/i860.h: Similarly.
16519 * i960/i960-protos.h: Similarly.
16520 * i960/i960.c: Similarly.
16521 * i960/i960.h: Similarly.
16522 * ia64/ia64-protos.h: Similarly.
16523 * ia64/ia64.c: Similarly.
16524 * ia64/ia64.h: Similarly.
16525 * m32r/m32r-protos.h: Similarly.
16526 * m32r/m32r.c: Similarly.
16527 * m32r/m32r.h: Similarly.
16528 * m68hc11/m68hc11-protos.h: Similarly.
16529 * m68hc11/m68hc11.c: Similarly.
16530 * m68hc11/m68hc11.h: Similarly.
16531 * m68k/crds.h: Similarly.
16532 * m68k/dpx2.h: Similarly.
16533 * m68k/m68k-protos.h: Similarly.
16534 * m68k/m68k.c: Similarly.
16535 * m68k/m68k.h: Similarly.
16536 * m68k/news.h: Similarly.
16537 * m88k/m88k-protos.h: Similarly.
16538 * m88k/m88k.c: Similarly.
16539 * m88k/m88k.h: Similarly.
16540 * mips/mips-protos.h: Similarly.
16541 * mips/mips.c: Similarly.
16542 * mips/mips.h: Similarly.
16543 * ns32k/merlin.h: Similarly.
16544 * ns32k/ns32k.c: Similarly.
16545 * ns32k/ns32k.h: Similarly.
16546 * ns32k/tek6000.h: Similarly.
16547 * pa/pa-protos.h: Similarly.
16548 * pa/pa.c: Similarly.
16549 * pa/pa.h: Similarly.
16550 * pdp11/2bsd.h: Similarly.
16551 * pdp11/pdp11-protos.h: Similarly.
16552 * pdp11/pdp11.c: Similarly.
16553 * pdp11/pdp11.h: Similarly.
16554 * romp/romp-protos.h: Similarly.
16555 * romp/romp.c: Similarly.
16556 * romp/romp.h: Similarly.
16557 * rs6000/rs6000-protos.h: Similarly.
16558 * rs6000/rs6000.c: Similarly.
16559 * rs6000/rs6000.h: Similarly.
16560 * rs6000/sysv4.h: Similarly.
16561 * sh/sh-protos.h: Similarly.
16562 * sh/sh.c: Similarly.
16563 * sh/sh.h: Similarly.
16564 * sparc/sparc-protos.h: Similarly.
16565 * sparc/sparc.c: Similarly.
16566 * sparc/sparc.h: Similarly.
16567 * vax/vax.c: Similarly.
16568 * vax/vax.h: Similarly.
16569 * vax/vms.h: Similarly.
16570 * we32k/we32k.c: Similarly.
16571 * we32k/we32k.h: Similarly.
16572
16573 Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
16574
16575 * basic-block.h (first_insn_after_basic_block_note): Declare.
16576 * flow.c (first_insn_after_basic_block_note): Define. Moved
16577 from...
16578 * ssa.c (first_insn_after_basic_block_note): Remove.
16579 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16580 necessary.
16581 (ssa_eliminate_dead_code): Properly update the CFG and PHI
16582 nodes when we find a dead conditional branch. Insert BARRIERs
16583 after any blocks with no successors, but which do not have
16584 any BARRIERs.
16585
16586 2001-07-06 Zack Weinberg <zackw@stanford.edu>
16587
16588 * varray.c (varray_check_failed): Use internal_error.
16589
16590 2001-07-05 Andrew Haley <aph@redhat.com>
16591
16592 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16593 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16594 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16595
16596 2001-07-02 Jason Merrill <jason_merrill@redhat.com>
16597
16598 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16599 reference if the target constant is also a SYMBOL_REF.
16600
16601 2001-07-05 Eric Christopher <echristo@redhat.com>
16602
16603 * config/mips/mips.h (MASK_MIPS3900): Remove.
16604 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16605 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16606 (TARGET_MIPS3900): Change to use mips_arch.
16607 (TARGET_MIPS4000): New.
16608 (TARGET_MIPS4100): New.
16609 (TARGET_MIPS4300): New.
16610 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16611 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16612 for -mipsX.
16613 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16614 (ISA_HAS_BRANCHLIKELY): To here.
16615 (CC1_CPU_SPEC): New.
16616 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
16617 (mips_arch_string): Declare.
16618 (mips_arch): Declare.
16619 (TARGET_OPTIONS): Add -march and -mtune.
16620
16621 * config/mips/mips.c (mips_arch_string): New.
16622 (mips_arch): New.
16623 (override_options): Handle -march for codegen and -mtune
16624 for scheduling. Use mips_arch. Move tx39 target default here.
16625 (mips_parse_cpu): Move error message to override_options.
16626
16627 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16628
16629 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16630
16631 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16632 (MIPS Options): Ditto. Change mcpu entry to historical text.
16633
16634 2001-07-05 H.J. Lu (hjl@gnu.org)
16635
16636 * config/mips/mips.c (mips_parse_cpu): New function to parse
16637 -march=*/-mcpu=*.
16638
16639 2001-07-05 Jim Wilson <wilson@redhat.com>
16640
16641 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16642 * config/ia64/t-ia64: Likewise.
16643 (LIB1ASMFUNCS): Update comment.
16644
16645 2001-07-05 David Edelsohn <edelsohn@gnu.org>
16646
16647 * doc/install.texi (Install GCC: Binaries): Fix typo.
16648
16649 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16650
16651 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16652 reference using the stack pointer, adjust it since we push Y
16653 temporarily.
16654 ("*ashrsi3"): Likewise.
16655 ("*lshrsi3"): Likewise.
16656
16657 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16658
16659 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16660 when -fomit-frame-pointer is used.
16661
16662 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
16663
16664 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16665 (try_redirect_by_replacing_jump): Reverse updating properly the
16666 count and frequency information. Reverse removing cc0 setter.
16667 (forwarder_block_p): Reverse fixing for fallthru blocks.
16668
16669 2001-07-05 DJ Delorie <dj@redhat.com>
16670
16671 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16672 (translate_options): If the above is defined, use it to map
16673 given options to new options.
16674 * doc/tm.texi: Document it.
16675
16676 2001-07-05 Brad Lucier <lucier@math.purdue.edu>
16677 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16678
16679 * doc/invoke.texi (Optimize Options): Document that -fgcse may
16680 cause programs using computed gotos to run more slowly.
16681
16682 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16683
16684 * doc/install.texi (Specific): Markup, spelling and typo fixes.
16685 Fixed sorting.
16686 Consistently require binutils 2.11.2, not prereleases.
16687 (Specific, decstation-*): Canonicalize as mips-dec-*.
16688 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16689 always necessary.
16690 (Specific, m68k-altos): Removed reference to README.altos, deleted.
16691 (Specific, mips-*): Reword MIPS C compiler requirements.
16692 (Specific, powerpc*-*-*): New, mention --with-cpu once.
16693 (Specific, sunv5): Removed, obsolete.
16694
16695 2001-07-05 Nathan Sidwell <nathan@codesourcery.com>
16696
16697 * dwarf2out.c (output_loc_list): Use an all ones mask for
16698 .text asm output and don't rely on long long
16699 literals. Reformat some long lines.
16700
16701 2001-07-05 Andreas Jaeger <aj@suse.de>
16702
16703 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16704 section.
16705
16706 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16707
16708 * dwarf2out.c (dwarf2out_define): Update comment.
16709 (dwarf2out_undef): Ditto.
16710 (dwarf2out_start_source_file): Ditto.
16711 (dwarf2out_end_source_file): Ditto.
16712 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16713 since we never call the start/end debug hook for the primary file.
16714
16715 2001-07-04 Kazu Hirata <kazu@hxi.com>
16716
16717 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16718 from shll.
16719
16720 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16721
16722 * cppinit.c (remove_dup_dirs): Inform if a system include
16723 directory is being reordered.
16724 * doc/invoke.texi (Directory Options): GCC warns if you hide a
16725 system include.
16726 * doc/cpp.texi (Search Paths): Likewise.
16727 * doc/gcc.texi (Interoperation): Remove information about
16728 -I/usr/include.
16729
16730 2001-07-04 Nathan Sidwell <nathan@codesourcery.com>
16731
16732 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16733 (VARRAY_TOP_CHAR_PTR): Likewise.
16734
16735 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16736
16737 * gcc.c (process_command): Don't assign elements of a const char*.
16738
16739 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16740
16741 * emit-rtl.c (change_address): Don't abort if invalid address while
16742 reload is in progress.
16743
16744 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16745
16746 * c-lex.c (cb_file_change): Pass line number to
16747 debug_start_source_file.
16748 (cb_undefine): Pass correct line number to debug_undef.
16749
16750 * toplev.c (debug_start_source_file): Add line number to
16751 parameters. Pass it along to dwarf2out_start_source_file.
16752 (decode_g_option): Stop resetting debug level back to normal when
16753 we change debug formats, unless the current level is
16754 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16755 3).
16756
16757 * toplev.h (debug_start_source_file): Add line number to
16758 parameters.
16759
16760 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16761 parameters.
16762
16763 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16764 parameters.
16765 Output debug_macinfo data for starting file if requested.
16766 (dwarf2out_end_source_file): Output debug_macinfo data for ending
16767 file if requested.
16768 (dwarf2out_define): Output debug_macinfo data for defining a macro
16769 if requested.
16770 (dwarf2out_undef): Output debug_macinfo data for undefining a
16771 macro if requested.
16772 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16773 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16774 (macinfo_section_label): New. DWARF2 macro info section label.
16775 (dwarf2out_init): If we want macro info, output the start label
16776 for the section.
16777 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16778 attribute to the compilation unit die pointing to the macro info.
16779
16780 2001-07-04 Daniel Berlin <dan@cgsoftware.com>
16781
16782 * dwarf2out.c (new_loc_list): Move to inside #ifdef
16783 DWARF2_DEBUGGING_INFO.
16784 (add_loc_descr_to_loc_list): Ditto.
16785 (output_loc_list): Ditto.
16786 Also, fix thinko in curr not being initialized.
16787 (gen_internal_sym): Ditto.
16788
16789 Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16790
16791 * emit-rtl.c (replace_equiv_address): New function.
16792 * expr.h (replace_equiv_address): New declaration.
16793 * explow.c (validize_mem): Call it instead of change_address and
16794 also call if -fforce-addr and address is constant.
16795 * expr.c: Replace more calls to change_address with adjust_address
16796 and/or replace_equiv_address or to validize_mem.
16797 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16798 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16799 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16800 * config/i370/i370.md, config/i860/i860.md: Likewise.
16801 * config/i960/i960.md, config/mips/mips.c: Likewise.
16802 * config/mips/mips.md, config/pa/pa.md: Likewise.
16803 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16804 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16805
16806 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16807
16808 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16809
16810 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16811 function.
16812
16813 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
16814
16815 * doc/include: New directory.
16816 * doc/fdl.texi: Move to doc/include/fdl.texi.
16817 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16818 * doc/include/funding.texi, doc/include/gpl.texi: New files.
16819 * doc/gcc.texi: Use funding.texi and gpl.texi.
16820 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16821 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16822 Update dependencies and use -I $(docdir)/include.
16823
16824 2001-07-04 Anthony Green <green@redhat.com>
16825
16826 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16827
16828 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16829
16830 * doc/install.texi (sparc64-*-*): Remove garbage.
16831
16832 Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
16833
16834 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16835 Fix typo in last change to use adjust_address.
16836
16837 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16838
16839 * doc/install.texi (Specific): Update information for *-*-solaris*.
16840
16841 Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16842
16843 * explow.c (plus_constant_wide): Reinitialize Y for restart.
16844
16845 2001-07-03 Stan Shebs <shebs@apple.com>
16846
16847 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16848 case for flag_no_mach_text_sections.
16849 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16850 * config/darwin.c (flag_no_mach_text_sections): Remove.
16851 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16852
16853 Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16854
16855 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16856 and avoid checking for constant as first operand.
16857 * recog.c (find_constant_term_loc): No longer static.
16858 (adj_offettable_operand): Delete.
16859 * rtl.h (adj_offsettable_operand): Delete declaration.
16860 (find_constant_term): Add declaration.
16861 * caller-save.c: Replace calls to adj_offsettable_operand with calls
16862 to adjust_address.
16863 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16864 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16865 * config/i386/i386.c, config/i386/i386.md: Likewise.
16866 * config/i860/i860.c, config/i960/i960.c: Likewise.
16867 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16868 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16869 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16870 * config/mips/mips.c, config/mips/mips.md: Likewise.
16871 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16872 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16873 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16874 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16875 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16876 * config/ns32k/ns32k.md: Likewise.
16877
16878 2001-07-03 Zack Weinberg <zackw@stanford.edu>
16879
16880 * rtl.c (copy_rtx): Handle 'T' format letter.
16881 * gensupport.c (collect_insn_data): Likewise.
16882 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16883
16884 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
16885
16886 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16887 -B option. Use 'dir' not 'foo' as example directory name.
16888
16889 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16890
16891 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16892 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16893
16894 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16895
16896 * doc/cppinternals.texi: Improve formatting and logical markup.
16897
16898 2001-07-03 Andreas Jaeger <aj@suse.de>
16899
16900 * Makefile.in (insn-recog.o): Add dependency on reload.h.
16901
16902 * genrecog.c (write_header): Include reload.h for prototypes in
16903 insn-recog.c.
16904
16905 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
16906
16907 config:
16908 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16909 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16910 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16911 i386_pe_valid_type_attribute_p): Add.
16912 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16913 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16914
16915 Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16916
16917 * explow.c (plus_constant_wide, case LO_SUM): New case.
16918 (plus_constant_for_output_wide): Delete.
16919 * rtl.h (plus_constant_for_output): Delete.
16920 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16921 instead of plus_constant_for_output.
16922 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16923 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16924 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16925 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16926 * config/sparc/sparc.md: Likewise.
16927 Convert some change_address calls to adjust_address.
16928
16929 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
16930
16931 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16932 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
16933 documentation of -std and -Wwrite-strings.
16934
16935 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16936
16937 * cse.c (canon_hash): Don't register registers in very small
16938 register classes, as extending their lifetime might cause
16939 reload to fail.
16940
16941 Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16942
16943 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16944
16945 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16946 (try_redirect_by_replacing_jump): Update properly the count
16947 and frequency information.
16948
16949 Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
16950
16951 * toplev.c (dump_file_index): Move SSA dumps just after first
16952 jump dump.
16953 (dump_file): Corresponding changes.
16954 (rest_of_compilation): Move SSA path to just after the first
16955 jump pass.
16956 * doc/gcc.texi (Passes): Update due to movement of SSA path.
16957 * doc/invoke.texi: Update dump file #s as they were completely
16958 out of date with reality.
16959
16960 2001-07-02 Geoffrey Keating <geoffk@redhat.com>
16961
16962 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16963
16964 * expr.c (emit_move_insn_1): Deal with non-default
16965 STACK_PUSH_CODE.
16966
16967 * expr.c (emit_single_push_insn): Fix warning.
16968
16969 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
16970
16971 * expr.c (emit_move_insn_1): Avoid modifying
16972 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16973
16974 Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16975
16976 * emit-rtl.c (adjust_address): New function.
16977 * expr.h (adjust_address): Add declaration.
16978 * builtins.c: Replace some calls to change_address with calls to it
16979 or to validize_mem.
16980 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16981 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16982 * config/arm/arm.c, config/convex/convex.c: Likewise.
16983 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16984 * config/i386/i386.c, config/i386/i386.md: Likewise.
16985 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16986 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16987 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16988 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16989 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16990
16991 2001-07-02 Jim Wilson <wilson@redhat.com>
16992
16993 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16994
16995 2001-07-02 Steve Ellcey <sje@cup.hp.com>
16996
16997 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16998 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16999
17000 2001-07-02 Zack Weinberg <zackw@stanford.edu>
17001
17002 * cppinit.c (lang_defaults): New table.
17003 (set_lang): Just read from lang_defaults into the live options
17004 structure.
17005
17006 2001-07-02 Zack Weinberg <zackw@stanford.edu>
17007
17008 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
17009 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
17010 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
17011
17012 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17013
17014 * doc/install.texi: Various spelling and markup fixes.
17015 (Installing GCC): Component specific installation instructions are
17016 gone.
17017 Fix reference.
17018 Warn about removing old install dir in the presence of shared libs.
17019 (Configuration): Invoke with options target to match configure
17020 --help.
17021 Consistently refer to gas, gld pathnames.
17022 Invert --enable-multilib documentation.
17023 Remove references to old compiler versions.
17024
17025 Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17026
17027 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
17028
17029 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17030
17031 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
17032 section.
17033 (Specific, mips*-sgi-irix5): Note IDO download.
17034 Reworded MIPS C hints.
17035 Use GNU as instead of GAS.
17036 Markup fixes.
17037 Removed SGI Freeware reference, IRIX 6 only.
17038 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
17039 Note N64 library requirement/workaround.
17040 Update O32 hints.
17041 Complete list of structure passing bug victims.
17042
17043 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17044
17045 * doc/install.texi: Remove CVS Id.
17046
17047 2001-07-02 Andreas Jaeger <aj@suse.de>
17048
17049 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
17050 (find_inherently_necessary): Remove unused variable.
17051
17052 2001-07-02 Nathan Sidwell <nathan@codesourcery.com>
17053
17054 * c-common.h (TDI_inlined): New ast dump phase.
17055 (dump_flag_name): New function.
17056 * c-dump.c (dump_files): Add inlined phase.
17057 (dump_flag_name): Define.
17058 * doc/invoke.texi (-fdump-ast-inlined): Document.
17059
17060 Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17061
17062 * stor-layout.c (layout_decl): Revert change to handling of alignment
17063 in packed types.
17064
17065 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17066
17067 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
17068 for FIELD_DECL.
17069
17070 2001-07-01 Geoffrey Keating <geoffk@redhat.com>
17071
17072 * doc/tm.texi (FUNCTION_ARG): Document that the last call
17073 is special.
17074
17075 2001-07-01 Nathan Sidwell <nathan@codesourcery.com>
17076
17077 * tlink.c (recompile_files): Remove COMPILER_PATH and
17078 LIBRARY_PATH from the environment.
17079
17080 2001-07-01 Zack Weinberg <zackw@stanford.edu>
17081
17082 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
17083 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
17084 enumerators.
17085 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
17086
17087 * c-parse.in (OBJC_STRING): Kill.
17088 (objc_string): Decompose to [objc_string] '@' STRING.
17089 (reswords): Take the leading '@' off all the Objective C keywords.
17090 (objc_rid_sans_at): Kill.
17091 (init_reswords): Don't initialize it.
17092 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
17093 (_yylex): Kill reconsider label. Look ahead one token after
17094 an '@'; if we get an identifier, check whether it's an
17095 Objective C @-keyword. If so, return the keyword. Otherwise,
17096 put back the token and return the '@' as a terminal.
17097
17098 * cpplib.c (lex_macro_node): Remove unnecessary check for
17099 leading '@' on identifier. Clarify control flow and commentary.
17100
17101 Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17102
17103 * cse.c (new_label_ref): Variable deleted.
17104 (insert): Remove set of new_label_ref.
17105 (check_for_label_ref): New function.
17106 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
17107
17108 See ChangeLog.5 for earlier changes.