OSDN Git Service

* arm.c (arm_get_frame_size): A leaf function does not need its
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
2
3         * arm.c (arm_get_frame_size): A leaf function does not need its
4         stack padding to an aligned boundary if it has no frame.
5         (thumb_get_frame_size): Likewise.
6
7 2002-11-20  Steve Ellcey  <sje@cup.hp.com>
8
9         * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
10         to component type using GET_MODE_INNER.
11         * expr.c (emit_move_insn_1): Ditto.
12         * optabs.c (expand_binop): Ditto.
13         (expand_unop): Ditto.
14         (expand_complex_abs): Ditto.
15
16 2002-11-20  Douglas B Rupp  <rupp@gnat.com>
17
18         * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
19
20 2002-11-20  DJ Delorie  <dj@redhat.com>
21
22         * config/stormy16/stormy16.c (s16builtins,
23         xstormy16_init_builtins, xstormy16_expand_builtin): New.
24         * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
25
26 2002-11-20  Hans-Peter Nilsson  <hp@bitrange.com>
27
28         * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
29         (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
30         (executing gencheck, genconfigs, genconditions, genflags,
31         gencodes, genconstants, genemit, genrecog, genopinit, genextract,
32         genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
33         gengtype, genprotos): Prepend $(RUN_GEN).
34         * configure.in: Move host compiler tests before --enable-checking
35         tests.
36         (--enable-checking=valgrind): New.
37         * config.in, configure: Regenerate.
38         * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
39         Define as empty.
40         (read_include_file): When doing the mmap+1 trick,
41         valgrind-annotate the byte after the mmap:ed area as readable.
42         (purge_cache): Remove above annotation.
43         * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
44         VALGRIND_PATH -q to each command.
45
46         * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
47         Define as empty.
48         (ggc_realloc): Update valgrind annotations.
49         * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
50         Define as empty.
51         (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
52         valgrind-annotate memory.
53
54 2002-11-20  Ulrich Weigand  <uweigand@de.ibm.com>
55
56         * recog.c (constrain_operands): Prefer exact match over reloadable
57         EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
58
59         * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
60         operands in Pmode.
61
62 2002-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
63
64         PR c/8518
65         * c-decl.c (duplicate_decls): Outline the second definition
66         of an extern inline function in all cases.
67
68 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
69
70         * stor-layout.c (place_field): Update rli->offset as well as
71         rli->bitpos.
72
73 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
74
75         * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
76
77 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
78
79         * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
80         into a libcall block.
81         (divsi3): Likewise divsi3_i4_media.
82
83 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
84
85         * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
86         out another register.
87
88 2002-11-20  Jakub Jelinek  <jakub@redhat.com>
89
90         * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
91         (not just mask) are set in C.
92
93 2002-11-19  Andreas Jaeger  <aj@suse.de>
94
95         * loop.c (record_giv): Initialize not_replaceable.
96         (check_final_value): Likewise.
97
98 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
99
100         * config/h8300/h8300.c (h8300_init_once): Replace 1 with
101         MASK_H8300S.
102
103 2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
104
105         * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
106         only if -mh or -ms present.
107         (h8300_eightbit_constant_address_p): Support the normal mode.
108         (h8300_tiny_constant_address_p): Likewise.
109         * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
110         (POINTER_SIZE): Add 16 bit pointer for the normal mode.
111         (Pmode): Evaluate to HImode for the normal mode.
112         (SIZE_TYPE): Evaluate to unsigned int for normal mode.
113         (PTRDIFF_TYPE): Evaluate to int for the normal mode.
114         (ASM_WORD_OP): Evaluate to word for the normal mode.
115         * config/h8300/h8300.md (tablejump_normal_mode): New.
116         (indirect_jump_normal_mode): New.
117         * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
118         directory.
119         (MULTILIB_DIRNAMES): Create target dependent directory
120         'normal'.
121         (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
122         * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
123
124 Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>
125
126         * i386.md (length_immediate): Do not refer to insn address.
127         (jcc*, jmp patterns):  Compute length explicitly.
128
129 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
130
131         PR c/8588
132         * optabs.c (expand_binop): Convert CONST_INTs in shift
133         operations too.
134
135 2002-11-19  Roger Sayle  <roger@eyesopen.com>
136
137         * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
138
139 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
140
141         * config/h8300/h8300.md (an anonymous pattern): Relax the
142         condition to accept the same operands and/or subregs.
143
144 2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
145
146         * config/sh/sh.c (gen_shl_and): Revert previous patch.
147         * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
148         reload_completed.
149
150 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
151
152         * config/h8300/h8300.c (print_operand): Update the use of
153         EIGHTBIT_CONSTANT_ADDRESS_P.
154         (h8300_adjust_insn_length): Likewise.
155         (h8300_eightbit_constant_address_p): Check if the given rtx is
156         a variable with __attribute__((eightbit_data)).
157         * config/h8300/h8300.h (OK_FOR_U): Update the use of
158         EIGHTBIT_CONSTANT_ADDRESS_P.
159
160 2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
161
162         * doc/contrib.texi (Contributors): Add self as second contact in
163         addition to Jeff Law.
164
165 2002-11-19  Andreas Jaeger  <aj@suse.de>
166
167         * tree-inline.c: Move prototpyes of find_alloca_call_1 and
168         find_alloca_call to right place.
169
170 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
171
172         * cppfiles.c: Fix formatting.
173
174 2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
175
176         * gcc.c (The Specs Language): Document spec functions.
177         (static_spec_functions, lookup_spec_function)
178         (eval_spec_function, handle_spec_function)
179         (if_exists_spec_function, alloc_args): New.
180         (execute): Abort if processing_spec_function is true.
181         (do_spec_1): Hand off spec to handle_spec_function if %:
182         is encountered.  If processing_spec_function is true,
183         end any pending argument when the end of the string is reached.
184         (main): Use alloc_args to allocate the initial argument vector.
185         * gcc.h (struct spec_function): New.
186         (lang_specific_spec_functions): New extern.
187
188         * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
189         (ENDFILE_SPEC): Add if-exists(crtn%O%s).
190         * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
191
192         * doc/invoke.texi: Document spec functions.
193
194         * cppspec.c (lang_specific_spec_functions): New.
195         * gccspec.c: Likewise.
196
197 2002-11-18  Steve Ellcey  <sje@cup.hp.com>
198
199         * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
200         (FIXUNS_TRUNCTFDI2_LIBCALL): New.
201         (fixunstfsi_libfunc): Change.
202         (fixunstfdi_libfunc): Change.
203         (sdiv_optab): Don't zero out SImode handler.
204         (udiv_optab): Don't zero out SImode handler.
205         (smod_optab): Don't zero out SImode handler.
206         (umod_optab): Don't zero out SImode handler.
207
208 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
209
210         PR preprocessor/8524
211         * cpplib.c (run_directive): Remove previous kludge to _Pragma.
212         Add a new one in its place, which hopefully works.
213         (skip_rest_of_line): Change test for bottom-of-context-stack.
214
215 Mon Nov 18 21:29:03 CET 2002  Jan Hubicka  <jh@suse.cz>
216
217         * i386.md (addqi_1_slp): Fix output template.
218         (subqi_1_slp): Fix type.
219
220 Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh@suse.cz>
221
222         * calls.c (alloca_call_p): New global function.
223         * tree.h (alloca_call_p): New.
224         * tree-inline.c (inlinable_function_p):  Do not inline when
225         function calls alloca.
226         (find_alloca_call, find_alloca_call_1): New functions.
227
228 2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
229
230         * config/h8300/h8300.md (*andorqi3): Use bor between bld and
231         bst.  Update the insn length.
232         (*andorhi3): Likewise.
233         (*andorsi3): Likewise.
234
235 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
236
237         * config/sh/sh-protos.h (sh_mark_label): Declare.
238         * config/sh/sh.c (sh_mark_label): New function, taken from
239         movdi_const, but fixing the case when the address has an addend.
240         * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
241
242 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
243
244         * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
245         (add_constant): Set it.
246         (dump_table): Don't reorder a constant if part_of_sequence_p.
247         (machine_dependent_reorg): Assume that float constants will
248         stay in their original order if used as a sequence.
249
250 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
251
252         * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
253         in compact code.
254
255 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
256
257         * config/sh/sh.md (initialize_trampoline): Do not force the
258         trampoline address into R0_REGS here.
259
260 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
261
262         * df.c: Fix formatting.
263
264 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
265
266         * config/h8300/h8300.md (two anonymous patterns): Fix insn
267         lengths.
268
269 2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
270
271         * sh.c (gen_shl_and): Don't create a zero_extend if the operand
272         is not an arith_reg_operand.
273
274 2002-11-17  Graham Stott  <graham.stott@btinternet.com>
275
276         * real.c (real_to_decimal): Fix buffer overrun when buffer size
277         is smaller than representation.
278
279 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
280
281         * builtins.c: Fix formatting.
282
283 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
284
285         * config/h8300/h8300.md (two anonymous patterns): Fix typos.
286
287 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
288
289         * config/h8300/h8300.md: Fix formatting.
290
291 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
292
293         * config/h8300/h8300.md: Replace spaces with tabs.
294         * config/h8300/t-h8300: Remove a trailing empty line.
295
296 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
297
298         * tlink.c: Fix formatting.
299
300 2002-11-16  David Edelsohn  <edelsohn@gnu.org>
301
302         PR 8362
303         * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
304         * config/rs6000/rs6000.md (movti_string): Remove output modifier
305         when scratch register never needed.
306         (ldmsi[3-8]): New patterns.
307
308 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
309
310         * hard-reg-set.h: Follow spelling conventions.
311         * real.c: Likewise.
312         * target.h: Likewise.
313
314 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
315
316         * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
317
318 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
319
320         * optabs.c: Fix formatting.
321
322 Sat Nov 16 02:06:02 CET 2002  Jan Hubicka  <jh@suse.cz>
323
324         * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
325         * i386.md (attribute type): Add type shift1 and rotate1.
326         (*_slp): Rewrite to have just two operands to avoid reload problems.
327
328 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
329
330         * config/h8300/h8300.md (4 anonymous patterns): New.
331
332 2002-11-15  Geoffrey Keating  <geoffk@apple.com>
333
334         * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
335         * doc/invoke.texi: Correct description of what needs to be done to
336         force collection at every ggc_collect call.
337
338 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
339
340         * config/s390/s390.c (optimization_options): Set
341         flag_asynchronous_unwind_tables to 1 by default.
342
343 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
344
345         * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
346
347 Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
348
349         * i386-protos.h (x86_function_profiler): New function
350         * i386.h (MCOUNT_NAME): New.
351         (PROFILE_COUNT_REGISTER): New.
352         (FUNCTION_PROFILER): Move offline to ...
353         * i386.c (x86_function_profiler) ... here; fix 64bit support
354         * beos-elf.h (FUNCTION_PROFILER): Kill.
355         (MCOUNT_NAME): New.
356         * freebsd-aout.h (FUNCTION_PROFILER): Kill.
357         (MCOUNT_NAME): New.
358         (PROFILE_COUNT_REGISTER): New.
359         * linux.h (FUNCTION_PROFILER): Kill.
360         (MCOUNT_NAME): New.
361         * x86-64.h (FUNCTION_PROFILER): Kill.
362         (MCOUNT_NAME): New.
363         * freebsd.h (FUNCTION_PROFILER): Kill.
364         (MCOUNT_NAME): New.
365
366 2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
367
368         * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
369         FUNCTION_ARG_PASS_BY_REFERENCE): Define.
370         * config/arm/arm.c (arm_va_arg,
371         arm_function_arg_pass_by_reference): New.
372         * config/arm/arm-protos.h: Add prototypes.
373
374 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
375
376         * gthr-single.h: Fix formatting.
377
378 2002-11-14  Zack Weinberg  <zack@codesourcery.com>
379
380         * tree.c (tree_vec_elt_check_failed): New function.
381         * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
382         (TREE_VEC_ELT): Use it.
383
384         * tree-inline.c (optimize_inline_calls): Don't copy a
385         zero-length vector.
386
387 2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
388
389         * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
390
391 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
392
393         * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
394         both operands contain local relocations.
395         (categorize_decl_for_section): Don't use mergeable sections if
396         initializer has any relocations.
397
398 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
399
400         * gthr-vxworks.h: Fix formatting.
401
402 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
403
404         * doc/install.texi (Testing): Document extra Java testing.
405         * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
406
407 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
408
409         * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
410         beginning of the spec.
411         (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
412         (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
413         regarding problems with global constructors when using GNU ld.
414
415 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
416
417         * gthr-solaris.h: Fix formatting.
418
419 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
420
421         * gthr-posix.h: Fix formatting.
422
423 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
424
425         * config/h8300/h8300.md (*andorsi3): New.
426
427 2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
428
429         * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
430
431 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
432
433         * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
434         expressions appropriately.
435
436 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
437
438         * gthr-win32.h: Fix formatting.
439
440 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
441
442         * config/h8300/h8300.c (single_one_operand): Correctly compute
443         mask when mode is SImode.
444         (single_zero_operand): Likewise.
445         * config/h8300/h8300.md (two new anonymous insns): New.
446
447 2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
448
449         * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
450         to that entire project.
451
452 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
453
454         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
455         directories.
456
457 2002-11-11  Zack Weinberg  <zack@codesourcery.com>
458
459         * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
460         * doc/invoke.texi: Document them.
461
462         * ggc-page.c: Include params.h.  Remove definitions of
463         GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
464         GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
465         (init_gcc): Don't set G.allocated_last_gc here.
466         (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
467         PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
468         perform collection.
469         * ggc-simple.c: Similarly.
470         * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
471         dependencies.
472
473 2002-11-11  Kazu Hirata  <kazu@cs.umass.edu>
474
475         * gthr-dce.h: Fix formatting.
476
477 2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
478
479         PR c/8467
480         * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
481         mode of DECL_RTL case.
482
483 2002-11-11  Janis Johnson  <janis187@us.ibm.com>
484
485         * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
486
487 Mon Nov 11 12:06:08 CET 2002  Jan Hubicka  <jh@suse.cz>
488
489         * i386.c (construct_container): Fix handling of SSE_CLASS.
490
491 2002-11-10  Joel Sherrill <joel@gcc.gnu.org>
492
493         * config/m68k/t-crtstuff (crti.o): Use this...
494         ($(T)crti.o): ... instead.
495         (crtn.o): Use this...
496         ($(T)crtn.o): ... instead.
497
498 2002-11-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
499
500         PR c/8439
501         * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
502         if there is something new to be simplified.
503
504 2002-11-10  H.J. Lu <hjl@gnu.org>
505
506         * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
507         * expr.c (PUSH_ARGS_REVERSED): Likewise.
508
509         * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
510
511 2002-11-10  Zack Weinberg  <zack@codesourcery.com>
512
513         * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
514         * config/rs6000/linux.h, config/rs6000/linux64.h,
515         config/rs6000/windiss.h: ... not here.
516
517 2002-11-10  Jason Thorpe  <thorpej@wasabisystems.com>
518
519         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
520         __ABICALLS__ if TARGET_ABICALLS.
521
522 Sun Nov 10 18:49:21 CET 2002  Jan Hubicka  <jh@suse.cz>
523
524         * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
525
526 2002-11-10  Joseph S. Myers  <jsm@polyomino.org.uk>
527
528         * c-decl.c (grokdeclarator): Make error for duplicate type
529         qualifiers into a pedwarn, disabled for C99.
530
531 2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
532
533         * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
534         as FUNCTION_ARG_PASS_BY_REFERENCE.
535
536 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
537
538         * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
539
540         * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
541         (hppa*64*-*-hpux11*): Likewise.  Use elfos.h with gas.
542         * pa.c (output_millicode_call): Use symbol difference rather than
543         $PIC_pcrel$0 when using HP assembler.
544         * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
545         not elfos.h (i.e., gas) is being used.
546         (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
547         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
548         ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
549         ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
550         ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
551         using elfos.h.
552         (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
553         (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
554         (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
555         using elfos.h.
556         (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
557         BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
558         (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
559         Don't define when not using elfos.h.
560         (ASM_DECLARE_RESULT): Don't define.
561         * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
562         doesn't work on hppa64-hp-hpux11.
563         (hppa*-hp-hpux11): Update.
564
565 2002-11-09  Jason Thorpe  <thorpej@wasabisystems.com>
566
567         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
568         to the assembler if -mno-abicalls was specified.
569
570 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
571
572         * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
573         ASM_OUTPUT_DEF): Delete.
574
575 2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
576
577         * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
578
579 2002-11-08  Dale Johannesen  <dalej@apple.com>
580
581         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
582
583 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
584
585         PR preprocessor/8497
586         PR preprocessor/8501
587         * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
588         start a directive.  In assembler, #NUM is not a line directive.
589
590 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
591
592         * cppmain.c (cpp_preprocess_file): Loop to pop any -included
593         buffers.
594
595 2002-11-08  Kazu Hirata  <kazu@cs.umass.edu>
596
597         * config/h8300/h8300.md (two anonymous test insns): New.
598
599 Fri Nov  8 11:20:19 CET 2002  Jan Hubicka  <jh@suse.cz>
600
601         * jump.c (mark_jump_label): Handle subregs of label_refs.
602
603 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
604
605         * config/ia64/crtend.asm: Include "auto-host.h".
606         [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
607         * config/ia64/crtbegin.asm: Similarly.
608         * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
609         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
610
611         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
612         * configure.in: Use it if --enable-initfini-array not specified.
613         * doc/install.texi (Configuration): Document --enable-initfini-array.
614         * configure, config.in: Rebuild.
615
616 2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>
617
618         * config/arm/arm-protos.h (arm_get_frame_size)
619         (thumb_get_frame_size): New prototypes.
620         * config/arm/arm.c (arm_get_frame_size)
621         (thumb_get_frame_size): New functions.
622         (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
623         (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
624         arm_get_frame_size.
625         (thumb_expand_prologue, thumb_expand_epilogue): Use
626         thumb_get_frame_size.
627         * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
628         (machine_function): Add frame_size member.
629         (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
630
631 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
632
633         * arm.c (bit_count): Make argument unsigned long.  Return unsigned.
634         Adjust code to use portable unsigned bit manipulation.
635         (insn_flags, tune_flags): Change type to unsigned.
636         (struct processors): Make flags unsigned long.
637         (arm_override_options): Change type of count and current_bit_count
638         to unsigned.
639
640 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
641
642         * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
643
644 Thu Nov  7 15:50:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
645
646         * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
647
648 Thu Nov  7 11:18:01 CET 2002  Jan Hubicka  <jh@suse.cz>
649
650         * reg-stack.c (compensate_edge): Fix sanity check.
651
652 2002-11-05  Geoffrey Keating  <geoffk@apple.com>
653
654         * config.gcc: Don't create crtbegin, crtend on Darwin; do create
655         crt2.o.  Rearrange t-darwin makefiles.
656         * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
657         * unwind-dw2-fde-darwin.c: New.
658         * unwind-dw2-fde-glibc.c: Correct comment.
659         * unwind-dw2-fde.c (__register_frame_info_bases)
660         [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
661         (classify_object_over_fdes): Use last_fde.
662         (add_fdes): Likewise.
663         (linear_search_fdes): Likewise.
664         * unwind-dw2-fde.h (struct object)
665         [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
666         (last_fde): New.
667         * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
668         (ENDFILE_SPEC): No crtend.o.
669         * config/t-darwin: New.
670         * config/i386/t-darwin: Delete.
671         * config/darwin-crt2.c: New.
672         * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
673         or config/t-darwin.
674
675 2002-11-06  David Edelsohn  <edelsohn@gnu.org>
676
677         PR target/8480
678         * config/rs6000/rs6000.md (movdi_internal64): Discourage
679         FPR to FPR moves.
680
681 2002-11-06  Janis Johnson  <janis187@us.ibm.com>
682
683         * doc/contrib.texi: Merge in the list from the Java web pages.
684
685 2002-11-06  David O'Brien  <obrien@FreeBSD.org>
686
687         * config/sparc/freebsd: Fix typo.
688
689 2002-11-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
690
691         * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
692
693 2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
694
695         * config/mips/mips.md (call_value_multiple_internal2): Use dla for
696         non-SImode addresses.
697
698 2002-11-05  Bob Wilson  <bob.wilson@acm.org>
699
700         * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
701
702 2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
703
704         * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
705         (STARTFILE_SPEC): Remove p and pg options.
706
707 2002-11-05  Andrew Haley  <aph@redhat.com>
708
709         * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
710         to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
711
712 2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
713
714         * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
715         * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
716
717 2002-11-04  Dale Johannesen  <dalej@apple.com>
718
719         * doloop.c (doloop_modify_runtime):  Fix loop count computation
720         for unrolled loops.
721         * loop.c (loop_invariant_p):  Support calling from unroller.
722
723 2002-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
724
725         * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
726         for comparison.
727
728 2002-11-04  Aldy Hernandez  <aldyh@redhat.com>
729
730         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
731
732         * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
733         (CLASS_CANNOT_CHANGE_MODE): Remove.
734         (CANNOT_CHANGE_MODE_CLASS): New.
735
736         * config/alpha/alpha.h: Same.
737
738         * config/ia64/ia64.h: Same.
739
740         * config/mips/mips.h: Same.
741
742         * config/s390/s390.h: Same.
743
744         * config/sh/sh.h: Same.
745
746         * config/pa/pa64-regs.h: Same.
747
748         * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
749
750         * config/sh/sh.c (sh_cannot_change_mode_class): New.
751
752         * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
753         prototype.
754
755         * config/mips/mips.c (mips_cannot_change_mode_class): New.
756
757         * doc/tm.texi (Register Classes): Remove
758         CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
759         Document CANNOT_CHANGE_MODE_CLASS.
760
761         * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
762         (push_reload): Same.
763
764         * simplify-rtx.c (simplify_subreg): Same.
765
766         * reload1.c (choose_reload_regs): Same.
767
768         * recog.c (register_operand): Same.
769
770         * regrename.c (mode_change_ok): Change to use new
771         CANNOT_CHANGE_MODE_CLASS infrastructure.
772
773         * regclass.c (cannot_change_mode_set_regs): New.
774         Declare subregs_of_mode.
775         (regclass): Use subregs_of_mode.
776         Remove references to reg_changes_mode.
777         (init_reg_sets_1): Remove class_can_change_mode and
778         reg_changes_mode code.
779         (invalid_mode_change_p): New.
780         (dump_regclass): Use invalid_mode_change_p instead of
781         class_can_change_mode.
782         (regclass): Same.
783         (record_operand_costs): Do not set reg_changes_mode.
784
785         * local-alloc.c (struct qty): Remove changes_mode field.
786         (alloc_qty): Remove changes_mode initialization.
787         (update_qty_class): Remove set of changes_mode.
788         (find_free_reg): Use subregs_of_mode.
789
790         * global.c (find_reg): Use subregs_of_mode info.
791
792         * rtl.h (cannot_change_mode_set_regs): New prototype.
793         (invalid_mode_change_p): Same.
794         (REG_CANNOT_CHANGE_MODE_P): New macro.
795
796         * flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
797         REG_CHANGES_MODE.
798         (life_analysis): Clear subregs_of_mode.
799
800         * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
801         Remove use of CLASS_CANNOT_CHANGE_MODE.
802         (simplify_set): Same.
803         (gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
804         REG_CHANGES_MODE.
805
806         * regs.h: Add extern for subregs_of_mode;
807         Include hard-reg-set and basic-block.
808         (REG_CHANGES_MODE): Delete.
809
810 2002-11-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
811
812         * jump.c (never_reached_warning): Don't set contains_insn until the
813         first line note is seen.
814
815 2002-11-03  David Edelsohn  <edelsohn@gnu.org>
816
817         * config/rs6000/rs6000.md (movti_string): Use string instructions.
818
819 2002-11-03  Roger Sayle  <roger@eyesopen.com>
820
821         PR c/7128
822         * c-typeck.c (c_expand_asm_operands): Defend against
823         error_mark_nodes in the output argument to avoid ICE.
824
825 2002-11-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
826
827         PR middle-end/8408
828         * genrecog.c (preds): Handle ADDRESSOF.
829         (validate_pattern): Mark it as an lvalue.
830
831 2002-11-02  David Edelsohn  <edelsohn@gnu.org>
832
833         * config/rs6000/rs6000.c (rs6000_override_options): Use string
834         instructions when optimizing for size.
835
836 2002-11-02  Kazu Hirata  <kazu@cs.umass.edu>
837
838         * config/h8300/h8300.h: Fix comment typos.
839         * config/h8300/h8300.md: Likewise.
840         * config/h8300/lib1funcs.asm: Likewise.
841
842 2002-11-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
843
844         Revert this change:
845
846         *doc/install.texi (Installing GCC: Configuration): Clarify
847         the only supported ways to configure gcc.
848
849 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
850
851         * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
852         instead of 'O' for the constraint for the second operand.
853
854 2002-11-01  Mark Mitchell  <mark@codesourcery.com>
855
856         PR c++/8391
857         * toplev.c (rest_of_compilation): Do not refuse to output code for
858         an inline function in a local class.
859
860 2002-11-01  David O'Brien  <obrien@FreeBSD.org>
861
862         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
863         (TRANSFER_FROM_TRAMPOLINE): Reformat.
864         Add comment.
865
866 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
867
868         * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
869
870 2002-11-01  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
871
872         * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
873
874 2002-11-01  Steve Ellcey  <sje@cup.hp.com>
875
876         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
877         (MASK_INLINE_DIV_THR): Remove.
878         (TARGET_INLINE_DIV_LAT): Remove.
879         (TARGET_INLINE_DIV_THR): Remove.
880         (TARGET_INLINE_DIV): Remove.
881         (MASK_INLINE_FLOAT_DIV_LAT): New macro.
882         (MASK_INLINE_FLOAT_DIV_THR): New macro.
883         (MASK_INLINE_INT_DIV_LAT): New macro.
884         (MASK_INLINE_INT_DIV_THR): New macro.
885         (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
886         (TARGET_INLINE_FLOAT_DIV_THR): New macro.
887         (TARGET_INLINE_INT_DIV_LAT): New macro.
888         (TARGET_INLINE_INT_DIV_THR): New macro.
889         (TARGET_INLINE_FLOAT_DIV): New macro.
890         (TARGET_INLINE_INT_DIV): New macro.
891         * config/ia64/ia64.md (divsi3): Change to use new macros.
892         (modsi3): Ditto.
893         (udivsi3): Ditto.
894         (umodsi3): Ditto.
895         (divsi3_internal): Ditto.
896         (divdi3): Ditto.
897         (moddi3): Ditto.
898         (udivdi3): Ditto.
899         (umoddi3): Ditto.
900         (divdi3_internal_lat): Ditto.
901         (divdi3_internal_thr): Ditto.
902         (divsf3): Ditto.
903         (divsf3_internal_lat): Ditto.
904         (divsf3_internal_thr): Ditto.
905         (divdf3): Ditto.
906         (divdf3_internal_lat): Ditto.
907         (divdf3_internal_thr): Ditto.
908         (divtf3): Ditto.
909         (divtf3_internal_lat): Ditto.
910         (divtf3_internal_thr): Ditto.
911         * config/ia64/ia64.c (ia64_override_options): Change
912         to check new macros for conflicts in settings.
913         * doc/invoke.texi (-minline-divide-min-latency): Remove.
914         (-minline-divide-max-throughput): Remove.
915         (-minline-float-divide-min-latency): New.
916         (-minline-float-divide-max-throughput): New.
917         (-minline-int-divide-min-latency): New.
918         (-minline-int-divide-max-throughput): New.
919
920 2002-11-01  Richard Earnshaw  (rearnsha@arm.com)
921
922         PR target/7856
923         * arm.c (use_return_insn): Don't use a return insn if there are
924         saved integer regs, but LR is not one of them.
925
926 Fri Nov  1 10:33:15 CET 2002  Jan Hubicka  <jh@suse.cz>
927
928         * expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
929         * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
930
931 2002-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
932
933         PR optimization/6162
934         * doc/md.texi: Document restriction on commutative operand
935         specification.
936
937 2002-10-31  Eric Christopher  <echristo@redhat.com>
938
939         * explow.c (convert_memory_address): Use shallow_copy_rtx.
940
941 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
942
943         * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
944
945 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
946
947         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
948
949 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
950
951         * config/rs6000/darwin.h:  Correct formatting in previous.
952
953 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
954
955         * config/rs6000/darwin.h:  Enable -falign-xxx options.
956
957 Thu Oct 31 18:08:00 CET 2002  Jan Hubicka  <jh@suse.cz>
958
959         * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
960         flag_asynchronous_unwind_tables, flag_pcc_struct_return.
961         * i386.c (optimization_options): Set flag_omit_frame_pointer,
962         flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
963         Do not clear -momit-leaf-frame-pointer when profiling.
964         (ix86_frame_pointer_required): Frame pointer is always required when
965         profiling.
966
967 Thu Oct 31 16:09:44 CET 2002  Jan Hubicka  <jh@suse.cz>
968
969         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
970
971 Thu Oct 31 12:45:55 2002  J"orn Rennecke <joern.rennecke@superh.com>
972
973         * sh.h (binary_logical_operator): Declare.
974         * sh.c (binary_logical_operator): New function.
975         * sh.md (xordi3+1): New combiner splitter pattern.
976
977 2002-10-31  David O'Brien  <obrien@FreeBSD.org>
978
979         * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
980         __enable_execute_stack function.
981
982 2002-10-30  Aldy Hernandez  <aldyh@redhat.com>
983
984         * c-common.c: Add GTY to vector_type_node_list.
985
986 2002-10-30  John David Anglin  <dave@hiauly.hia.nrc.ca>
987
988         * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
989         * pa-protos.h (attr_length_millicode_call, attr_length_call,
990         pa_init_machine_status): Declare new global functions.
991         * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
992         implement new functions.
993         (attr_length_millicode_call, attr_length_call): Implement.
994         (total_code_bytes): Change type to long.
995         (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
996         Reset counter if flag_function_sections.
997         (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
998         (output_cbranch): Move call to gen_label_rtx.
999         (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
1000         delay slot in all variants, shorten pc-relative calls.
1001         (output_call): Rewrite adding long TARGET_64BIT call, improved delay
1002         slot usage and exposure, various new call variants, and shortened
1003         sequences for some variants on TARGET_PA_20.
1004         Miscellaneous format changes.
1005         * pa.h (total_code_bytes): Change type to long.
1006         (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
1007         TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
1008         (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
1009         (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
1010         LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
1011         stores on TARGET_ELF32.
1012         *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
1013         (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
1014         canonicalize_funcptr_for_compare expanders): Calculate attribute length
1015         attr_length_millicode_call().
1016         (call_internal_symref, call_value_internal_symref): Clobber register 1.
1017         Calculate attribute length using attr_length_call().
1018         (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
1019         to delay slot.
1020         (sibcall, sibcall_value): Rewrite.
1021         (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
1022         register 1.  Use attr_length_call().
1023         (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
1024         New patterns.
1025         (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
1026         * som.h (MEMBER_TYPE_FORCES_BLK): Define.
1027         * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
1028         * doc/invoke.texi (mlong-calls): Document.
1029
1030 2002-10-30  Roger Sayle  <roger@eyesopen.com>
1031
1032         * fold-const.c (fold_binary_op_with_conditional_arg):  Improve
1033         handling of cases where one or both branches of the conditional
1034         have void type, i.e. throw an exception or don't return.
1035         (fold): Only apply (and undo) type conversion to the non-void
1036         branches of a COND_EXPR.
1037
1038 2002-10-30  Mark Mitchell  <mark@codesourcery.com>
1039
1040         PR c++/8333
1041         * varasm.c (asm_output_aligned_bss): Do not call
1042         ASM_GLOBALIZE_LABEL.
1043
1044 2002-10-30  David Edelsohn  <edelsohn@gnu.org>
1045             Torbjorn Granlund  <tege@swox.com>
1046
1047         * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
1048         for addressibility.
1049         (load_toc_v4_PIC_1b): Same.
1050
1051 2002-10-30  Kazu Hirata  <kazu@cs.umass.edu>
1052
1053         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
1054         Truncate the addresses for H8/300 using HImode.
1055
1056 2002-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
1057
1058         * toplev.c (rest_of_type_compilation): Return early in case of
1059         errors.
1060         (check_global_declarations): Don't call debug_hooks->global_decl
1061         in case of errors.
1062
1063 2002-10-28  Andreas Bauer  <baueran@in.tum.de>
1064
1065         * doc/c-tree.texi (Tree overview): Fix typos.
1066
1067 2002-10-29  Phil Edwards  <pme@gcc.gnu.org>
1068
1069         * Makefile.in (gnucompare*):  Only record bad comparisons
1070         if there really was a bad comparison.
1071
1072 Tue Oct 29 19:32:16 CET 2002  Jan Hubicka  <jh@suse.cz>
1073
1074         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
1075         * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
1076         * md.texi (machine dependent constraints): Document 'C'
1077
1078         * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
1079
1080         * i386.c (ix86_expand_vector_move): Fix.
1081
1082         * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
1083         * i386.md (sse2_maskmovdqu_rex64): New pattern
1084
1085         PR target/8322
1086         * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
1087         (ix86_init_mmx_sse_builtins): Fix type.
1088
1089 2002-10-29  Jason Thorpe  <thorpej@wasabisystems.com>
1090
1091         * gthr-posix.h: Include <unistd.h> for feature tests.
1092         (sched_get_priority_max, sched_get_priority_min)
1093         (pthread_getschedparam, pthread_setschedparam): Only use
1094         if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
1095         (__gthread_objc_thread_set_priority): Don't treat all non-zero
1096         returns from sched_get_priority_max and sched_get_priority_min
1097         as an error.
1098
1099 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1100
1101         * config/h8300/h8300.h (TARGET_DEFAULT): Make it
1102         MASK_QUICKCALL.
1103
1104 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1105
1106         * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
1107         (h8300_tiny_constant_address_p): Likewise.
1108         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
1109         h8300_eightbit_constant_address_p.
1110         (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
1111         * config/h8300/h8300-protos.h: Add the prototypes for the two
1112         new functions.
1113
1114 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1115
1116         * reload1.c (update_eliminables): Unconditionally check if
1117         frame_pointer_needed has changed.
1118
1119 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
1120
1121         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
1122         before final pass.
1123
1124 2002-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
1125
1126         * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
1127         check for zero operands explicitly.
1128
1129 2002-10-29  Richard Sandiford  <rsandifo@redhat.com>
1130
1131         * config/mips/mips.md (extv, extzv, insv): Set size of referenced
1132         memory after adjusting to BLKmode.
1133
1134 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1135
1136         * config/h8300/h8300.h (MASK_*): New.
1137         (TARGET_*): Use MASK_*.
1138
1139 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
1140
1141         * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
1142         tm_defines if pthreads are enabled.
1143         * config/netbsd.h (LIB_SPEC): Only support the -pthread option
1144         if NETBSD_ENABLE_PTHREADS is defined.
1145
1146 2002-10-28  Kazu Hirata  <kazu@cs.umass.edu>
1147
1148         * ChangeLog.1: Fix typos.
1149         * cse.c: Fix a comment typo.
1150         * reload1.c: Likewise.
1151
1152 2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
1153
1154         * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
1155         * fixinc/tests/base/_G_config.h: New file.
1156
1157 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
1158
1159         * combine.c: Fix comment formatting.
1160         * loop.c: Likewise.
1161         * real.c: Likewise.
1162         * regclass.c: Likewise.
1163         * regmove.c: Likewise.
1164         * regrename.c: Likewise.
1165         * reg-stack.c: Likewise.
1166         * reload1.c: Likewise.
1167         * reload.c: Likewise.
1168         * reload.h: Likewise.
1169         * unroll.c: Likewise.
1170
1171 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
1172
1173         * reload1.c (reload): Fix a comment typo.
1174
1175 Sun Oct 27 10:15:24 CET 2002  Jan Hubicka  <jh@suse.cz>
1176
1177         * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
1178
1179 2002-10-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1180
1181         * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
1182         * dwarf2out.c: Include hashtab.h.
1183         (is_main_source): New static variable.
1184         (attr_checksum, die_checksum): Modified to handle die references.
1185         (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
1186         unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
1187         record_comdat_symbol_number): New static functions.
1188         (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
1189         mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
1190         * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
1191         declarations added.
1192
1193 2002-10-26  Kazu Hirata  <kazu@cs.umass.edu>
1194
1195         * config/h8300/h8300.c (initial_offset): Change to
1196         h8300_initial_elimination_offset.
1197         * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
1198         h8300_initial_elimination_offset.
1199         * config/h8300/h8300-protos.h: Update the prototype.
1200
1201 2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
1202
1203         * config/mmix/mmix.h (LIBCALL_VALUE): Use
1204         MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
1205         (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
1206         * config/mmix/mmix.c (mmix_function_value_regno_p): New.
1207         * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
1208         and RTX_CODE.
1209         (mmix_function_value_regno_p): Declare.
1210
1211         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
1212         invalid for floating point mode result, with fix.
1213
1214 2002-10-25  Mike Stump  <mrs@apple.com>
1215
1216         Fixes gcc.dg/warn-1.c.
1217         * c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
1218
1219 Sat Oct 26 01:44:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
1220
1221         * toplev.c (dump_file_index): Add DFI_ce3.
1222         (dump_file_info): Likewise.
1223         (rest_of_compilation): Run first ifcvt pass before tracer.
1224
1225 2002-10-25  Steve Ellcey  <sje@cup.hp.com>
1226
1227         * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
1228
1229 2002-10-25  Richard Henderson  <rth@redhat.com>
1230
1231         * real.c (real_to_decimal): If the >1 tens reduction loop results
1232         in a negative exponent, fall into the <1 pten computation.
1233
1234 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
1235
1236         PR middle-end/6994
1237         * c-objc-common.c (inline_forbidden_p): Can not inline
1238         functions containing structures or unions containing VLAs.
1239         * tree-inline.c (walk_tree): For all class 't' nodes, walk
1240         TYPE_SIZE and TYPE_SIZE_UNIT.
1241         (copy_tree_r): Copy types if they are variably modified.
1242
1243 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
1244
1245         * config/s390/s390.md: Remove old-style peepholes.
1246
1247 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
1248
1249         * config/s390/s390.c (s390_decompose_address): Do not range check the
1250         displacement if base or index is the argument pointer register.
1251
1252 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
1253
1254         PR other/3337
1255         PR bootstrap/6763
1256         PR bootstrap/8122
1257         * fixinc/inclhack.def (libc1_G_va_list): New fix.
1258         * fixinc/fixincl.x: Regenerate.
1259         * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
1260         ifndef IN_LIBGCC2.  Wrap it together with signal.h and
1261         sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
1262         * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
1263         * config.in, configure: Regenerate.
1264
1265 2002-10-24  Igor Shevlyakov <igor@microunity.com>
1266
1267         * varasm.c (struct rtx_const): Array size 16 for V16QImode.
1268
1269 2002-10-24  Richard Henderson  <rth@redhat.com>
1270
1271         * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
1272
1273 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1274
1275         * config/h8300/h8300.c (initial_offset): Simplify by using
1276         round_frame_size.
1277
1278 2002-10-24  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1279
1280         * doc/install.texi (avr): Update required binutils version.
1281
1282 2002-10-24  Theodore A. Roth  <troth@openavr.org>
1283
1284         * doc/install.texi: Point avr users at more up-to-date information.
1285
1286 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
1287
1288         * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
1289         to pull operands out of the literal pool where possible.
1290
1291 2002-10-24  Denis Chertykov  <denisc@overta.ru>
1292
1293         * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
1294
1295 2002-10-24  Steve Ellcey  <sje@cup.hp.com>
1296
1297         * expr.c (convert_move): If unsignedp is less then zero there
1298         is no equivalent code.
1299
1300 2002-10-24  Zack Weinberg  <zack@codesourcery.com>
1301
1302         * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
1303
1304 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
1305
1306         * config/s390/s390.h: Rework comments; re-sort target macro definitions
1307         according to the sequence they are defined in the manual.
1308         (POINTER_BOUNDARY): Remove.
1309
1310 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1311
1312         * config/h8300/h8300.c (round_frame_size): Replace 8 with
1313         BITS_PER_UNIT.
1314
1315 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1316
1317         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
1318         64-bit safe.
1319         (TINY_CONSTANT_ADDRESS_P): Likewise.
1320
1321 2002-10-24  Richard Henderson  <rth@redhat.com>
1322
1323         * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
1324         (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
1325         vcall offset.
1326
1327 2002-10-24  Richard Henderson  <rth@redhat.com>
1328
1329         PR opt/7944
1330         * reload.c (find_reloads_toplev): Mode of X is not important
1331         when simplifying subregs of constants.
1332
1333 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
1334
1335         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
1336         MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
1337         * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
1338         (override_options): Base default setting of MASK_SOFT_FLOAT on -march
1339         if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
1340
1341 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
1342
1343         * optabs.c (expand_binop): Don't reuse the shift target in the
1344         middle of shift sequences.
1345
1346 2002-10-23  Ziemowit Laski <zlaski@apple.com>
1347
1348         * objc/objc-act.c (get_static_reference): Remove unneeded
1349         TYPE_BINFO initialization.
1350         (get_object-reference): Likewise.
1351         (build_constructor): Tighten precondition check.
1352         (finish_message_expr): Likewise.
1353
1354 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
1355
1356         * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
1357         after CONST test.
1358
1359 2002-10-23  Steve Ellcey  <sje@cup.hp.com>
1360
1361         * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
1362         in HFAs.
1363
1364 2002-10-23  Richard Henderson  <rth@redhat.com>
1365
1366         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
1367         (alpha_output_mi_thunk_osf): Handle vcall_offset.
1368
1369 2002-10-23  Zack Weinberg  <zack@codesourcery.com>
1370
1371         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1372         var_mod_type_p.
1373         * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
1374         hook_tree_bool_false.
1375
1376         * tree.c (variably_modified_type_p): Moved here from
1377         cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
1378         language-specific cases.  Due to this, must weaken some 'if
1379         and only if' checks to merely 'if'.
1380         * tree.h: Prototype variably_modified_type_p.
1381
1382         * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
1383
1384 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
1385
1386         * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
1387         * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
1388
1389         * config/s390/s390-protos.h (fp_operand): Remove.
1390         * config/s390/s390.c (fp_operand): Remove.
1391         * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
1392         ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
1393         ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
1394         (movdi_31, movdf_31 splitters): Likewise.
1395
1396         * config/s390/s390.h (IEEE_FLOAT): Remove.
1397         (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
1398         (INT_REGNO_P): Rename to ...
1399         (GENERAL_REGNO_P): ... this.
1400         (FLOAT_REGNO_P): Rename to ...
1401         (FP_REGNO_P): ... this.
1402         (ADDR_REGNO_P): New macro.
1403         (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
1404         (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
1405         (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
1406         (HARD_REGNO_NREGS): Adapt to macro renaming.
1407         (HARD_REGNO_MODE_OK): Likewise.
1408
1409 2002-10-23  David Edelsohn  <edelsohn@gnu.org>
1410             Geoff Keating  <geoffk@apple.com>
1411
1412         * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
1413         (rs6000_memory_move_cost): New function.
1414         * config/rs6000/rs6000-protos.h: Declare them.
1415         * config/rs6000/rs6000.h: Use them.
1416
1417 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
1418
1419         * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
1420         inlining it into other libgcc2 routines.
1421         (__udivmoddi4): Likewise.
1422
1423 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
1424
1425         * doc/sourcebuild.texi (Test Suites): Improve.
1426
1427 2002-10-22  Stan Shebs  <shebs@apple.com>
1428
1429         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
1430         case for Darwin.
1431
1432 2002-10-22  Jim Wilson  <wilson@redhat.com>
1433
1434         * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
1435
1436 Wed Oct 23 01:52:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
1437
1438         PR other/8289
1439         * xmmintrin.h: Add const to the argument of loads.
1440
1441         * i386.md (pushv2di): New pattern.
1442         PR target/6890
1443         * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
1444
1445 2002-10-22  Richard Henderson  <rth@redhat.com>
1446
1447         * target.h (gcc_target.asm_out): Merge output_mi_thunk and
1448         output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
1449         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
1450         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
1451         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1452         (TARGET_ASM_OUT): Update.
1453         * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
1454         (hook_bool_tree_hwi_hwi_tree_true): New.
1455         (default_can_output_mi_thunk_no_vcall): New.
1456         * hooks.h: Declare them.
1457         * system.h (ASM_OUTPUT_MI_THUNK): Poison.
1458
1459         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1460         (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
1461         * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
1462         config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
1463         config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
1464         config/stormy16/stormy16.c: Similarly.
1465
1466         * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
1467         Handle 64-bit properly.  Streamline.
1468         (x86_output_mi_vcall_thunk): Remove.
1469         (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
1470         (x86_can_output_mi_thunk): New.
1471         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
1472         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1473         (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
1474
1475         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
1476         output_mi_thunk; make static; always use function_section.
1477         (TARGET_ASM_OUTPUT_MI_THUNK): New.
1478         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1479         (rs6000_ra_ever_killed): Test no_new_pseudos not
1480         targetm.asm_out.output_mi_thunk in conjunction with thunks.
1481         * config/rs6000/rs6000-protos.h: Update.
1482         * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1483         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
1484         xcoffout_declare_function when using rs6000_output_mi_thunk.
1485
1486         * config/s390/s390.c (s390_output_mi_thunk): Rename from
1487         s390_output_mi_vcall_thunk.
1488         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1489         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1490
1491         * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
1492         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1493         * config/vax/vax-protos.h: Update.
1494         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
1495
1496 Wed Oct 23 00:33:11 CEST 2002  Jan Hubicka  <jh@suse,cz>
1497
1498         * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
1499         * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
1500         * i386.md (movti_internal): Use 'C'
1501
1502         * xmmintrin.h (_mm_cmplt_epi*): New.
1503
1504 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1505
1506         * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
1507         ("*movdf_64"): Likewise.
1508         ("*lshrdi3_64"): Likewise.
1509         ("blockage"): Add length attribute.
1510         ("lit"): Likewise.
1511
1512 Tue Oct 22 23:51:34 CEST 2002  Jan Hubicka  <jh@suse.cz>
1513
1514         * i386.md: FIx typo.
1515         (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
1516         (sse2_umulv2siv2di3): Fix predicate.
1517         (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
1518         lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
1519         * xmmintrin.h (_mm_mul_epu16): Rename to...
1520         (_mm_mul_epu32): This one.
1521         (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
1522
1523         (contains_128bit_aligned_vector_p): Undo accidental checkin.
1524
1525 2002-10-22  Eric Christopher  <echristo@redhat.com>
1526
1527         * config/sparc/sparc.h: Add #error.
1528
1529 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1530
1531         * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
1532         [s390x-*-linux*]: Likewise.
1533         * config/s390/t-linux: Remove.
1534         * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
1535
1536 Tue Oct 22 19:07:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
1537
1538         * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
1539         (ix86_expand_builtin): Fix MASKMOVDQU expasion.
1540         * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
1541         * i386.md (mmx_punpck?dq): Simplify.
1542         (sse2_pubpcklqdq): Fix.
1543         (sse2_pubpckhqdq): New.
1544         * xmmintrin.h (_mm_unpackhi_epi32): New.
1545
1546         * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
1547         (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
1548
1549 2002-10-22  Nathan Sidwell  <nathan@codesourcery.com>
1550
1551         PR c++/7209
1552         * fold_const.c (fold_binary_op_with_conditional_arg): Always
1553         build compound_expr if we used save_expr.
1554
1555 2002-10-22  Alan Modra  <amodra@bigpond.net.au>
1556
1557         * output.h (SECTION_NOTYPE): Define.
1558         * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
1559         init array sections.
1560         (default_elf_asm_named_section): Mind SECTION_NOTYPE.
1561         * config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
1562         merge TLS support.
1563
1564 2002-10-21  Richard Henderson  <rth@redhat.com>
1565
1566         * real.c (sticky_rshift_significand): Return inexact, don't
1567         or it in immediately.
1568         (sub_significands): Accept incomming carry.
1569         (div_significands, rtd_divmod): Update for sub_significands change.
1570         (round_for_format): Update for sticky_rshift_significand change.
1571         (do_add): Don't involve the inexact bit in addition, do give the
1572         inexact bit as the subtraction carry-in.
1573         (encode_internal, decode_internal, real_internal_format): New.
1574         * real.h (real_internal_format): Declare.
1575
1576 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1577
1578         * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
1579         don't define sdiv_qrnnd.
1580
1581 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
1582
1583         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
1584         using IN_RANGE.
1585         (TINY_CONSTANT_ADDRESS_P): Likewise.
1586
1587 Tue Oct 22 00:04:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
1588
1589         * i386.c (builtin_description): Add punpcklqdq and movdq2q
1590         (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
1591         v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
1592         void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
1593         __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
1594         __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
1595         __builtin_ia32_setzero128.
1596         (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
1597         IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
1598         IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
1599         * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
1600         IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
1601         IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
1602         IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
1603         * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
1604         sse2_movq): New patterns.
1605         (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
1606         * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
1607         _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
1608         _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
1609         _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
1610         _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
1611         _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
1612         (_mm_insert_epi16): Fix.
1613
1614 2002-10-21  Dale Johannesen  <dalej@apple.com>
1615
1616         * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
1617             unsafe math reversals correctly for RTL generation.
1618           (output_cbranch):  Replace rs6000_reverse_condition call
1619             by its former definition.
1620
1621 2002-10-21  Jakub Jelinek  <jakub@redhat.com>
1622
1623         * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
1624         argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
1625         from constant pool or LABEL_REFs as sign extended if allow_rip.
1626         Change all +-1GB limits to +-16MB.
1627         (x86_64_general_operand, x86_64_szext_general_operand,
1628         x86_64_nonmemory_operand, x86_64_movabs_operand,
1629         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
1630         legitimate_address_p, ix86_expand_int_movcc): Update callers.
1631         (local_symbolic_operand): Don't allow offsets bigger than +-16MB
1632         in CM_SMALL_PIC model.
1633         (legitimate_pic_address_disp_p): Don't check offsets before
1634         calling local_symbolic_operand.
1635         (legitimize_pic_address): Force offsets bigger than +-16MB into
1636         register.
1637         * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
1638         * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
1639         prototype.
1640
1641         * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
1642         Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
1643         * configure: Rebuilt.
1644         * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
1645         SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
1646         UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
1647         (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
1648         -fpic.
1649         (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
1650         non-pic code if TARGET_64BIT.
1651         (legitimize_address): Generate 64-bit TLS sequences.
1652         (output_pic_addr_const): Support x86-64 TLS operators.
1653         (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
1654         (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
1655         Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
1656         (output_addr_const_extra): Support x86-64 TLS operators.
1657         (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
1658         (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
1659         unconditionally.
1660         * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
1661         (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
1662         (*tls_global_dynamic_sun): Renamed to...
1663         (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
1664         (tls_global_dynamic): Renamed to...
1665         (tls_global_dynamic_32): ... this.
1666         (tls_global_dynamic_64, *tls_global_dynamic_64): New.
1667         (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
1668         (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
1669         (*tls_local_dynamic_base_dynamic_sun): Renamed to...
1670         (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
1671         (tls_local_dynamic_base_dynamic): Renamed to...
1672         (tls_local_dynamic_base_dynamic_32): ... this.
1673         (tls_local_dynamic_base_dynamic_64,
1674         *tls_local_dynamic_base_dynamic_64): New.
1675         (*tls_local_dynamic_once): Renamed to...
1676         (*tls_local_dynamic_32_once): ... this.
1677
1678 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1679
1680         * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
1681         __divdi3, __umoddi3, or __moddi3.
1682
1683 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1684
1685         * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
1686         instead of just opt_index as switch expression.
1687
1688         * calls.c (store_one_arg): Change type of 'excess_align'
1689         to unsigned int.
1690
1691         * profile.c (output_gcov_string): Change type of 'temp'
1692         to size_t.
1693
1694 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1695
1696         * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
1697         (__fixunssfdi, __fixsfdi): Likewise.
1698         * config/s390/s390.c (s390_single_hi): Initialize 'value'.
1699         (s390_single_qi): Likewise.
1700         (s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
1701         unsigned comparison warning.
1702         (s390_return_addr_rtx): New function.
1703         * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
1704         * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
1705         (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
1706
1707 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1708
1709         * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
1710         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
1711         (s390_output_mi_thunk): Remove.
1712         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1713
1714 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
1715
1716         * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
1717
1718 2002-10-20  Richard Henderson  <rth@redhat.com>
1719
1720         * target.h (struct gcc_target): Line wrap.
1721
1722         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
1723         (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
1724         * config/alpha/alpha.h: ... not here.
1725         * config/alpha/alpha-protos.h: Update.
1726
1727         * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
1728         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
1729         config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
1730         config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
1731         config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
1732         config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
1733         config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
1734         config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
1735         config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
1736         config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
1737         config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
1738         config/sparc/openbsd.h, config/sparc/sparc-protos.h,
1739         config/sparc/sparc.c, config/sparc/sparc.h,
1740         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
1741         config/stormy16/stormy16.h: Similarly.
1742
1743         * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
1744         selection logic from call patterns.
1745
1746 2002-10-20  Mark Mitchell  <mark@codesourcery.com>
1747
1748         * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
1749
1750 2002-10-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1751
1752         PR other/8202
1753         * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
1754         expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
1755         * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
1756         * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
1757
1758 2002-10-20  Roger Sayle  <roger@eyesopen.com>
1759
1760         PR c/761
1761         * toplev.c (flag_unsafe_profile_arcs): Remove.
1762         (flag_bounded_pointers): Remove.
1763         (flag_bounds_check): Correct comments.
1764         (lang_independent_options): Remove -funsafe-profile-arcs and
1765         -fbounded-pointers.  Correct -fbounds-check comments.
1766
1767         * flags.h: Correct flag_schedule_interblock comments.
1768         (flag_bounded_pointers): Remove prototype.
1769         (flag_bounds_check): Correct comments.
1770
1771         * c-opts.c (c_common_init_options): No need to mark
1772         flag_bounds_check as unspecified.
1773         (c_common_post_options): And no need to set it from
1774         flag_bounded_pointers if its still unspecified.
1775
1776         * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
1777         Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
1778         -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
1779         -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
1780
1781 2002-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1782             Mark Mitchell  <mark@codesourcery.com>
1783
1784         * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
1785         match target.h.
1786         * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
1787         * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
1788         * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
1789         * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
1790         x86_output_mi_thunk): Likewise.
1791         * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
1792         * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
1793         * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
1794         * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
1795         * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
1796         * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
1797         * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
1798         Likewise.
1799         * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
1800
1801         * target.h (gcc_target): Update output_mi_thunk and
1802         output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
1803         vcall_index.
1804
1805         * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
1806         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1807         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
1808         (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
1809         * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
1810         * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
1811         signature.
1812         * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
1813         * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
1814         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1815         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
1816         (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
1817         * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
1818         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1819         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
1820         ASM_OUTPUT_MI_THUNK and replace with check of targetm.
1821
1822         * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
1823         (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
1824
1825 2002-10-19  Brad Lucier  <lucier@math.purdue.edu>
1826
1827         * real.c (do_add): Fix 0+0 sign corner case.
1828         (do_divide): Fix Inf/0 corner case.
1829
1830 Sun Oct 20 00:31:31 CEST 2002  Jan Hubicka  <jh@suse.cz>
1831
1832         * i386.c (classify_argument): Pass MMX arguments in memory
1833         (ix86_expand_builtin): Expand proper address mode for cflush.
1834         * i386.md (movdqa): Fix typo.
1835         (sse2_cflush): Accept DImode addresses.
1836
1837         * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
1838         (_mm_max_sd): Fix pasto.
1839         (_mm_storeh_pd, _mm_storel_pd): Fix.
1840
1841         * i386.c (bdesc_comi): Fix to match specification.
1842         (ix86_expand_sse_comi): Emit the comparison properly.
1843         * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
1844         Do not use comparison operator.
1845         (vnmaskcmp): Fix template.
1846
1847         * xmmintrin.h (_mm_cvtps_pi16): Fix.
1848
1849 2002-10-19  Sebastian Pop  <s.pop@laposte.net>
1850
1851         * dependence.c : Removed.
1852         * Makefile.in : Remove dependence.o.
1853
1854 Sat Oct 19 10:46:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
1855
1856         * mmintrin.h (__m64): typedef it to v2si.
1857         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
1858         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
1859         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
1860         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
1861         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
1862         * xmmintrin.h (_mm_setzero_si64): Likewise.
1863
1864         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
1865         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
1866
1867         PR target/7693
1868         Patch by Shawn Wagner
1869         * mmintrin.h: Replace pi64 by si64.
1870
1871 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
1872
1873         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
1874         Use length of 4 not *.
1875         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
1876         (movdf_softfloat64): Likewise.
1877         (movdi_internal32): Use length of 4 not *.
1878         (movti_power): Same.
1879         (ctrsi, ctrdi): Same.
1880
1881 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
1882
1883         * c-decl.c (start_decl): Point users of the old initialized-
1884         typedef extension at __typeof__.
1885
1886 2002-10-18  Richard Henderson  <rth@redhat.com>
1887
1888         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
1889         (real_to_decimal): Re-implement using the logic from the
1890         gcc 3.2 etoasc.  Comment heavily.
1891         (div_significands): Simplify loop startup and comparison logic.
1892
1893 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
1894
1895         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
1896         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
1897         (TARGET_ASM_OUT): Add them.
1898         * target.h (asm_out): Add output_mi_thunk and
1899         output_mi_vcall_thunk.
1900         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1901         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1902         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
1903         * config/arm/arm.c (arm_output_mi_thunk): Define.
1904         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1905         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1906         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1907         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1908         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1909         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1910         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
1911         prototype.
1912         (x86_output_mi_vcall_thunk): Declare.
1913         * config/i386/i386.c (override_options): Clear
1914         output_mi_vcall_thunk in 64-bit mode.
1915         (ix86_fntype_regparm): New function.
1916         (ix86_return_pops_args): Use it.
1917         (ia32_this_parameter): New function.
1918         (x86_output_mi_vcall_thunk): New function.
1919         (x86_output_mi_thunk): Use it
1920         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
1921         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
1922         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
1923         * config/i960/i960.c (i960_output_mi_thunk): New function.
1924         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
1925         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
1926         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
1927         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1928         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1929         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
1930         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1931         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1932         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1933         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1934         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1935         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1936         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1937         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1938         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1939         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1940         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
1941         * config/s390/s390.c (s390_output_mi_thunk): Define.
1942         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1943         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1944         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1945         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1946         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1947         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1948         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
1949         * config/vax/vax.c (vax_output_mi_thunk): Define.
1950         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1951         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1952         * doc/tm.texi: Adjust documentation.
1953
1954 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
1955
1956         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
1957         __enable_execute_stack function.
1958         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
1959         as NETBSD_ENABLE_EXECUTE_STACK.
1960         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1961         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1962         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1963         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1964         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1965
1966 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
1967
1968         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
1969         to __enable_execute_stack with the address of the trampoline
1970         if TRANSFER_FROM_TRAMPOLINE is defined.
1971         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
1972         constant if building libgcc2.
1973
1974 2002-10-17  Roger Sayle  <roger@eyesopen.com>
1975
1976         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
1977
1978 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
1979
1980         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
1981         in CTR/LR/MQ.
1982         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
1983         to/from CTR/LR/MQ.
1984         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
1985         (movsf_softfloat): Likewise.
1986
1987 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
1988
1989         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
1990
1991 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
1992
1993         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
1994         tramp, not addr, to pass the trampoline address to
1995         __enable_execute_stack.
1996
1997 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
1998
1999         * mmintrin.h: Guard by __MMX__
2000         * xmmintrin.h: Guard by __SSE__
2001
2002         PR other/8062
2003         * xmmintrin.h (_MM_SHUFFLE2): New macro.
2004         (_mm_load*_?d): New functions.
2005         (_mm_set*_?d): New functions.
2006         (_mm_store*_?d): New functions.
2007
2008 Wed Oct 16 15:01:29 CEST 2002  Jan Hubicka  <jh@suse.cz>
2009
2010         Really commit patch announced at Oct 14
2011         PR c/7344
2012         * predict.c (can_predict_insn_p): New function.
2013         (estimate_probability): Avoid unnecesary work.
2014         (process_note_prediction): Likewise.
2015         * toplev.c (rest_of_compilation): Account early branch prediction pass
2016         as TV_BRANCH_PROB.
2017
2018         PR other/8048
2019         Found by Ian Ollmann
2020         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
2021         (_mm_load?_pd): Likewise.
2022         (_mm_store?_pd): Likewise.
2023
2024         PR target/7386
2025         * i386.c (builtin_description):Drop cmpg[te]s[sd].
2026         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
2027         swapped alternative.
2028
2029         PR opt/7630
2030         * reload1.c (reload_inner_reg_of_subreg): New argument output;
2031         (push_reload): Update call.
2032
2033 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
2034
2035         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
2036         if using mips/elf.h or mips/elf64.h.
2037         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
2038         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
2039
2040 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
2041
2042         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
2043         SI.
2044
2045 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
2046
2047         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
2048         (LPREFIX): Likewise.
2049         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
2050         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
2051         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
2052         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
2053         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
2054
2055         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
2056         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
2057         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2058         BSS_SECTION_ASM_OP): Move from linux.h.
2059         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2060         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
2061
2062         * config/s390/s390.c (s390_function_profiler): Use
2063         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
2064
2065 2002-10-15  Richard Henderson  <rth@redhat.com>
2066
2067         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
2068         as arguments.  Bound DIGITS by the available buffer size.
2069         (real_to_hexadecimal): Likewise.
2070         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
2071         (REAL_VALUE_TO_DECIMAL): Remove.
2072         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
2073         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
2074         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
2075         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
2076         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
2077         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
2078         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
2079         use real_to_decimal directly, and with the proper arguments.
2080         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
2081
2082 2002-10-15  Jim Wilson  <wilson@redhat.com>
2083
2084         * reload1.c (merge_assigned_reloads): After converting overlapping
2085         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
2086
2087         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
2088
2089 Tue Oct 15 22:08:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
2090
2091         * expr.c (do_tablejump): Fix typo in my previous commit.
2092
2093 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
2094
2095         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
2096
2097 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
2098
2099         * config/s390/s390.c (s390_split_branches): Add return
2100         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
2101
2102         (find_base_register_in_addr): New function.
2103         (find_base_register_ref): New function.
2104         (replace_base_register_ref): New function.
2105
2106         (struct constant_pool): Add members pool_insn, insns, and anchor.
2107         Remove member last_insn.
2108         (s390_start_pool): Initialize them.
2109         (s390_end_pool): Emit pool placeholder insn.
2110         (s390_add_pool_insn): New function.
2111         (s390_find_pool): Use insns bitmap instead of addresses.
2112         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
2113         Replace unspec 104 by local-pool-relative references.
2114         (s390_output_constant_pool): Output anchor label if required.
2115         (s390_output_symbolic_const): Handle unspec 104 and 105.
2116         (s390_add_pool): Remove, replace by ...
2117         (s390_add_constant, s390_find_constant): ... these new functions.
2118         (s390_add_anchor): New function.
2119
2120         (s390_chunkify_pool): Delete, replace by ...
2121         (s390_chunkify_start, s390_chunkify_finish,
2122         s390_chunkify_cancel): ... these new functions.
2123         (s390_optimize_prolog): Add parameter TEMP_REGNO.
2124         Recompute register live data for special registers.
2125         (s390_fixup_clobbered_return_reg): New function.
2126         (s390_machine_dependent_reorg): Rewrite to use new
2127         s390_chunkify_... routines.
2128
2129         config/s390/s390.md ("reload_base"): Rename to ...
2130         ("reload_base_31"): ... this.
2131         ("reload_base_64"): New insn.
2132         ("reload_base2"): Remove.
2133         ("reload_anchor"): New insn.
2134         ("pool"): New insn.
2135
2136         s390.c (s390_pool_overflow): Remove.
2137         s390.h (s390_pool_overflow): Likewise.
2138         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
2139
2140 Tue Oct 15 16:51:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
2141
2142         * sh.md (movv8qi_i+2): Don't split if source is -1.
2143
2144 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
2145
2146         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
2147
2148 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
2149
2150         PR opt/7409
2151         * loop.c (loop_regs_scan): Mark registers used for function
2152         argument passing as MAY_NOT_OPTIMIZE.
2153
2154 Mon Oct 14 20:33:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
2155
2156         * i386.md (movv2di_internal): New pattern.
2157         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
2158         (movv2di): New expander.
2159         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
2160
2161         * i386.c (ix86_expand_timode_binop_builtin): Delete.
2162         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
2163         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
2164         (ix86_expand_builtin): Likewise.
2165         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
2166         sse_andti3,
2167         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
2168         sse_andnti3,
2169         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
2170         sse_orti3,
2171         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
2172         sse_xorti3): Kill.
2173         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
2174          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
2175         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
2176          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
2177         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
2178          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
2179
2180         * xmmintrin.h (__m128i): Define as __v2di.
2181
2182         PR c++/6419
2183         (expand_expr): Use DECL_RTL_SET_P.
2184
2185 2002-10-14  Roger Sayle  <roger@eyesopen.com>
2186
2187         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
2188
2189 2002-10-14  Roger Sayle  <roger@eyesopen.com>
2190             Zack Weinberg <zack@codesourcery.com>
2191
2192         * config/i386/i386.c (k6_cost): Correct typo.
2193
2194 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
2195
2196         PR optimization/6631
2197         * alias.c (objects_must_conflict_p): Check honor_readonly when
2198         examining TYPE_READONLY.
2199         * function.c (assign_stack_temp_for_type): Likewise.
2200
2201 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2202
2203         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
2204         Swap zero extension arguments.
2205         (umaxhi3): Fix instruction class.
2206         PR target/7211
2207         (prefetch): Fix prefetch instructions.
2208         PR target/7238
2209         (pkwb): Fix output constraint.
2210
2211 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
2212
2213         * config/mips/mips.c (print_operand): Increase buffer size for
2214         real numbers.
2215
2216 2002-10-14  Richard Henderson  <rth@redhat.com>
2217
2218         PR opt/8165
2219         * gcse.c (adjust_libcall_notes): Revert last change.
2220         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
2221
2222 2002-10-14  Andrew Haley  <aph@redhat.com>
2223
2224         * tree-inline.c (remap_block): All local class initialization
2225         flags go in the outermost scope.
2226         (expand_call_inline): Call java_inlining_map_static_initializers.
2227         (expand_call_inline): Call java_inlining_merge_static_initializers.
2228         * java/lang.c (merge_init_test_initialization): New.
2229         (java_inlining_merge_static_initializers): New.
2230         (inline_init_test_initialization): New.
2231         (java_inlining_map_static_initializers): New.
2232
2233         * tree-inline.c (expand_call_inline): Convert retvar to expected
2234         type.
2235
2236 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
2237
2238         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
2239
2240 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
2241
2242         * stmt.c: Fix typo in comment.
2243
2244 Mon Oct 14 11:35:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
2245
2246         * c-common.c (c_common_type_for_mode): Add V2HImode case.
2247         * tree.c (build_common_tree_nodes_2): Initialize
2248         unsigned_V2HI_type_node and V2HI_type_node.
2249         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
2250         (unsigned_V2HI_type_node, V2HI_type_node): Define.
2251
2252 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
2253
2254         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
2255         Handle TARGET_64BIT.
2256
2257 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
2258
2259         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
2260         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
2261         (MULTILIB_DIRNAMES): Remove long32.
2262         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
2263         (MULTILIB_REDUNDANT_DIRS): Remove.
2264
2265 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
2266
2267         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
2268         * gcc.c (driver_self_specs): New variable.
2269         (do_self_spec): New function.
2270         (main): Use it to process driver_self_specs.
2271
2272 2002-10-13  Richard Henderson  <rth@redhat.com>
2273
2274         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
2275
2276 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
2277
2278         PR preprocessor/7862
2279         PR preprocessor/8190
2280         * gcc.c (cpp_unique_options): Don't delete .d files.
2281         Remove stray whitespace.
2282
2283 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
2284
2285         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
2286         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
2287         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
2288         (pdp11_output_function_epilogue, output_ascii): Likewise.
2289         (output_addr_const_pdp11): Likewise.
2290         * pdp11.md (movdi): Use offsetable memory for floating store.
2291         (lshrsi3, negsi2): Delete irrelevant comment.
2292
2293 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
2294
2295         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
2296         not the address of the REG.
2297         (struct cse_reg_info): Make subreg_ticked unsigned.
2298
2299 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
2300
2301         * doc/compat.texi: Add info about C++ libraries.
2302
2303 2002-10-11  Richard Henderson  <rth@redhat.com>
2304
2305         PR opt/8165
2306         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
2307
2308 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2309
2310         * cfganal.c (dfs_enumerate_from): Use PARAMS.
2311         * genautomata.c (output_insn_code_cases): Likewise.
2312         * real.c (real_format): Likewise.
2313         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
2314         ensure value is promoted before doing subtraction.
2315
2316 Fri Oct 11 22:22:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
2317
2318         * calls.c (expand_call): Simplify noreturn call.
2319
2320         PR c/7344
2321         * cfgbuild.c (make_edges): Create edge cache when we do have
2322         large jumptable.
2323         * expr.c (do_tablejump): Note size of maximal jumptable.
2324         * function.c (prepare_function_start): Zero out size.
2325         * function.h (function): Add max_jumptable_ents.
2326
2327         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
2328
2329 Fri Oct 11 12:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
2330
2331         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
2332         register for mperm_w operation.
2333
2334 Fri Oct 11 10:56:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
2335
2336         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
2337         an integer, use simplify_gen_subreg.
2338
2339 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
2340
2341         * extend.texi (Vector Extensions): Remove comment about single
2342         element vectors.
2343
2344 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2345
2346         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
2347         * function.c (insns_for_mem_hash): Likewise.
2348         * varasm.c (STRHASH): Likewise.
2349
2350 2002-10-10  Stuart Hastings  <stuart@apple.com>
2351
2352         * cse.c (struct cse_reg_info): Add subreg_ticked.
2353         (SUBREG_TICKED): New.
2354         (get_cse_reg_info): Initialize SUBREG_TICKED.
2355         (mention_regs): Use it.
2356         (invalidate): Set SUBREG_TICKED.
2357         (invalidate_for_call): Likewise.
2358         (addr_affects_sp_p): Likewise.
2359
2360 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
2361
2362         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
2363         into proper operand.
2364
2365 2002-10-10  Denis Chertykov  <denisc@overta.ru>
2366
2367         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
2368         deallocation.
2369         * config/ip2k/libgcc.S: Combine routines used by function
2370         epilogue.
2371
2372 2002-10-10  Jim Wilson  <wilson@redhat.com>
2373
2374         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
2375         UDIV.
2376
2377 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
2378
2379         * config/rs6000/aix52.h: New file.
2380         * config/rs6000/t-aix52: New File.
2381         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
2382         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
2383
2384 Thu Oct 10 19:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
2385
2386         PR target/5610
2387         * invoke.texi (-msse-math): Kill
2388         (-msse): Add note to mfpmath=sse.
2389
2390 Thu Oct 10 17:08:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
2391
2392         PR target/7723
2393         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
2394
2395 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
2396
2397         PR preprocessor/8179
2398         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
2399         as cc1_options.
2400         (default_compilers): Pass debug options when preprocessing
2401         stdin.
2402
2403 2002-10-06  Richard Henderson  <rth@redhat.com>
2404
2405         * toplev.c (rest_of_compilation): Revert opt/2960 change.
2406
2407 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
2408
2409         PR c/7353
2410         * c-decl.c (start_decl): Unconditionally issue error for
2411         'typedef foo = bar'.
2412         (finish_decl): Remove special case for TYPE_DECL with initializer.
2413
2414         * doc/extend.texi: Delete "Naming Types" section.  Change all
2415         cross-references to that section to refer to "Typeof" instead.
2416         Add the useful safe-max()-macro example from "Naming Types" to
2417         "Typeof", rewritten using that extension.  Add some compatibility
2418         notes to "Typeof."
2419
2420 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2421
2422         * loop.c: Revert 2002-08-15 change.
2423         (LOOP_REGNO_NREGS): Ensure type is int.
2424
2425 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
2426
2427         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
2428         which copies first FPR and clears second.
2429         (extendsftf2): Same.
2430         (floatditf2): Fix typo.
2431         (floatsitf2): Same.
2432         (fix_trunctfdi2): Same.
2433         (fix_trunctfsi2): Same.
2434
2435 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2436
2437         * conflict.c (arc_hash): Change return type to hashval_t.
2438         * cselib.c (get_value_hash): Likewise.
2439         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
2440         state_hash, automata_list_hash): Likewise.
2441         * read-rtl.c (def_hash): Likewise.
2442         * tree.c (type_hash_hash): Likewise.
2443
2444 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
2445
2446         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
2447         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
2448
2449 Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
2450
2451         * sh.md (ffssi2): Fix emitted code.
2452
2453 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
2454
2455         * cse.c (insn_live_p): Pass insn pattern, not full insn
2456         to may_trap_p.
2457
2458 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
2459
2460         * cppmacro.c (paste_tokens): Only allow / to paste with =.
2461
2462 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
2463
2464         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
2465         64-bit hosts.
2466         (movtf_internal): Reference correct displacement for second value
2467         in memory.
2468         (movtf splitter): Correct generation of constants in 64-bit mode.
2469
2470 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
2471
2472         * libgcc2.c (__floatdisf): Properly cure double rounding.
2473
2474 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2475
2476         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
2477         * doc/cpp.texi (Common Predefined Macros): Document.
2478
2479 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2480
2481         PR doc/7484
2482         * doc/invoke.texi (Option Summary): List
2483         -Wmissing-declarations as a C only option.
2484
2485 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
2486
2487         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
2488         mno-app-regs|mcmodel=medany.
2489         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
2490         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
2491         (CRTSTUFF_T_CFLAGS): Define.
2492
2493 2002-10-08  Roger Sayle  <roger@eyesopen.com>
2494
2495         PR target/8087
2496         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
2497         pool references that are constructed using LO_SUM.
2498
2499 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
2500
2501         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
2502         -Wall.
2503         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
2504         message.
2505         * flags.h (warn_strict_aliasing): Declare.
2506         * toplev.c (warn_strict_aliasing): Define.
2507         (lang_independent_options): Add it.
2508         * doc/invoke.texi (-Wstrict-aliasing): Document it.
2509
2510 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
2511
2512         * system.h (GCCBUGURL): Delete.
2513         * version.c (bug_report_url): New.  Add commentary about
2514         modifying both these strings in modified distributions.
2515         * version.h: Declare bug_report_url.
2516
2517         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
2518         bug_report_url.
2519
2520 2002-10-08  Nick Clifton  <nickc@redhat.com>
2521
2522         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
2523         convert uint64_t into __ev64_opaque__.
2524         (__ev_set_acc_s64): Likewise, but using signed types.
2525
2526 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
2527
2528         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
2529         ("*doloop_di_long"): Likewise.
2530
2531 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
2532
2533         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
2534
2535 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
2536
2537         * config/mips/mips.md (define_attr cpu): Add r4111.
2538
2539 2002-10-08  Anthony Green  <green@redhat.com>
2540
2541         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
2542
2543 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2544
2545         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
2546         for REAL_VALUE_TO_DECIMAL output.
2547
2548 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
2549
2550         * config/rs6000/rs6000.c (rs6000_override_options): Set
2551         real_format_for_mode for IBM extended format, if enabled.
2552         (easy_fp_constant): Add TFmode.
2553         (rs6000_legitimize_address): Add TFmode.
2554         (rs6000_legitimate_address): Same.
2555         (function_arg_advance): TFmode uses two FPRs.
2556         (rs6000_emit_prologue): Fix warning.
2557         (rs6000_output_function_epilogue): Add TFmode.
2558         (output_toc): Add TFmode.
2559         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
2560         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
2561         * rs6000.md (movtf splitter): Load TFmode constant.
2562
2563 2002-10-07  Dale Johannesen  <dalej@apple.com>
2564
2565         * rtl.h:  Add NOTE_PRECONDITIONED.
2566         * unroll.c:  Set it.
2567         * loop.c:  Set loop_info->preconditioned from it.
2568         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
2569
2570 2002-10-07  Richard Henderson  <rth@redhat.com>
2571
2572         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
2573         new rtx for comparing the argument pointer against zero.
2574         (i960_va_start): Similarly.
2575
2576 2002-10-07  Richard Henderson  <rth@redhat.com>
2577
2578         * config/i960/i960.md (*): Use TFmode, not XFmode.
2579         * config/i960/i960.c (*): Likewise.
2580         (i960_arg_size_and_align): Remove XFmode alignment hack.
2581         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
2582         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
2583         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
2584         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
2585
2586 2002-10-07  Richard Henderson  <rth@redhat.com>
2587
2588         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
2589         entry points; use void return value and argument list.
2590
2591 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
2592
2593         * t-pdp11: Add MULTILIB support for msoft-float.
2594         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
2595
2596         * t-pdp11: Add LIB2FUNCS_EXTRA.
2597         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
2598         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
2599         'fldd' to 'ldd', rename 'fstd' to 'std'.
2600         (pdp11_output_function_epilogue): Likewise.
2601         (output_move_quad): Make the comment gas compatible.
2602         (output_ascii): Add preceding 0 to the octal constant.
2603         (print_operand_address): Add pre_modify, post_modify.
2604         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
2605         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
2606         with the indication of Paul Koning.
2607         (PRINT_OPERAND): Fix floating constant.
2608         * pdp11.md (movdi): Restrict matching pattern.
2609         (movqi): Generalize the matching pattern.
2610         (movdf): Restrict matching pattern.
2611         (zero_extendqihi2): Change constant representation.
2612         (floatsidf2): Fix wrong operands.
2613         (addqi3): Fix wrong instruction name.
2614         (subqi3): Fix wrong instruction name.
2615         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
2616         (xorsi3): Fix wrong insn.
2617         (one_cmplqi2): Add two operand pattern.
2618         (lsrsi3): New.
2619         (negsi2): New.
2620         (call): Add register indirect case.
2621         (mod): Fix wrong subreg.
2622
2623 2002-09-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
2624             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2625
2626         PR c/7411
2627         * expr.c (expand_expr) [PLUS]: Simplify after the operands
2628         have been expanded in EXPAND_NORMAL mode.
2629
2630 2002-10-06  Richard Henderson  <rth@redhat.com>
2631
2632         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
2633
2634 2002-10-06  Richard Henderson  <rth@redhat.com>
2635
2636         PR optimization/2960
2637         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
2638         optimize_size.
2639
2640 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
2641
2642         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
2643         previously definitions.
2644
2645 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
2646
2647         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
2648         * c-opts.c (find_opt): Similarly.
2649
2650 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
2651
2652         * gcc.c (set_multilib_dir): Don't access *end.
2653         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
2654         (print_multilib_info): Don't show paths starting with ".:".
2655         * genmultilib: Add new option, "yes" if multilibs are enabled.
2656         Update comments.  If multilibs not enabled, print .:${osdirout}
2657         for each directory.  If multilibs are enabled, always print
2658         ${dirout}:${osdirout}, even if the two are the same.
2659         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
2660         Pass all MULTILIB_* variables to genmultilib even if
2661         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
2662
2663 2002-10-04  Bruce Korb  <bkorb@gnu.org>
2664
2665         * fixinc/inclhack.def(hpux11_abs):  use format fix
2666         * fixinc/fixincl.x: regenerate
2667         * fixinc/tests/base/stdlib.h: accommodate new fix test
2668
2669 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
2670
2671         * c-common.c (cb_register_builtins):  Use really_no_inline.
2672
2673 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
2674
2675         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
2676         copied instruction if the note is not loop invariant.
2677
2678 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
2679
2680         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
2681
2682 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
2683
2684         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
2685         and -mhp-ld options to list of options.  Add -mgnu-ld
2686         and -mhp-ld option descriptions.
2687
2688 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
2689
2690         * fixinc/inclhack.def (hpux11_abs):  New.
2691         (stdio_va_list): change __va_list__ to __gnuc_va_list.
2692         * fixinc/fixincl.x: Rebuild.
2693
2694 2002-10-04  Roger Sayle  <roger@eyesopen.com>
2695
2696         * config/i386/i386.h (processor_costs): Add new fields fadd,
2697         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
2698         (RTX_COSTS): Use these fields to determine the RTX costs
2699         of floating point addition/subtraction, multiplication,
2700         division, fabs, negation and square root respectively.
2701         * config/i386/i386.c (size_cost): Provide instruction sizes
2702         for these new fields.
2703         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
2704         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
2705         counts for these new fields for all x86 processor variants.
2706
2707 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2708
2709         * mips.c (mips_const_double_ok): Delete unused variable.
2710
2711         * gengtype.c (rtx_next): Change type to int.
2712
2713 2002-10-04  Andreas Jaeger  <aj@suse.de>
2714
2715         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
2716
2717 2002-10-04  Richard Henderson  <rth@redhat.com>
2718
2719         * real.h (SIGNIFICAND_BITS): Add one more word.
2720         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
2721         * real.c (times_pten): New.
2722         (real_to_decimal, real_from_string): Use it.
2723         (sticky_rshift_significand): Use & to find modulus.
2724         (rshift_significand, lshift_significand): Likewise.
2725         (do_divide): Apply sticky bit after normalization.
2726         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
2727
2728 2002-10-03  Andreas Jaeger  <aj@suse.de>
2729
2730         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
2731         to unsigned long, adjust printf format string.
2732         (output_mangled_typename): Likewise.
2733
2734 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
2735
2736         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
2737         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
2738         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
2739         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
2740         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
2741         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
2742         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
2743         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
2744
2745 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
2746
2747         * doc/invoke.texi (-Wabi): Document mangling bug.
2748
2749 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
2750
2751         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
2752         name for the tbtab label that depends on the function asm name.
2753         Don't output tbtab label unless optional_tbtab.
2754         (output_mi_thunk): Formatting.
2755
2756 2002-10-03  Richard Henderson  <rth@redhat.com>
2757
2758         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
2759         * config/m68k/m68k.c (override_options): ... here.
2760         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
2761         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
2762         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2763         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2764
2765 2002-10-03  Richard Henderson  <rth@redhat.com>
2766
2767         * real.h (struct real_value): Use ENUM_BITFIELD.
2768
2769 2002-10-03  Richard Henderson  <rth@redhat.com>
2770
2771         * config/i960/i960.md (call, call_value): Use emit_call_insn.
2772
2773 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
2774
2775         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
2776
2777 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
2778
2779         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
2780         * config/pa/pa.h (MASK_GNU_LD): New.
2781         (TARGET_GNU_LD): New.
2782         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
2783         on gnu-ld and MASK_GNU_LD.
2784         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
2785
2786 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
2787
2788         * i386.c (athlon_cost): Fix the move costs.
2789
2790 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
2791
2792         * final.c (final): Use symbol name as function name for profiling.
2793         * profile.c (get_exec_counts): Likewise.
2794         (branch_prob): Likewise.
2795
2796 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
2797
2798         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
2799
2800 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
2801
2802         * gcc.c (print_multi_os_directory): New variable.
2803         (option_map): Support --print-multi-os-directory.
2804         (struct prefix_list): Add os_multilib field.
2805         (multilib_os_dir): New variable.
2806         (static_specs): Add multilib_options.
2807         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
2808         subdirs if non-zero.
2809         (read_specs, execute): Update callers.
2810         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
2811         pass 1 as multilib option.
2812         (display_help): Include --print-multi-os-directory.
2813         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
2814         (process_command): Update callers.  Handle --print-multi-os-directory.
2815         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
2816         set.
2817         (main): Update find_a_file and add_prefix callers.
2818         Handle print_multi_os_directory.
2819         (struct mdswitchstr): New.
2820         (mdswitches, n_mdswitches): New variables.
2821         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
2822         present on the command line nor their mutually incompatible
2823         switches.
2824         (default_arg): Optimize.
2825         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
2826         array.
2827         (print_multilib_info): Only print GCC multilib dir name, not OS
2828         multilib dirname.
2829         * genmultilib: Add osdirnames parameter.  Output multilib_options
2830         variable.  If osdirnames is specified, output dirnames as
2831         dirname:osdirname.
2832         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
2833         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
2834         to compute libgcc_s soname and install path.
2835         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
2836         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
2837         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
2838         argument.
2839
2840         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
2841         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2842         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
2843         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
2844         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
2845         and -m64.
2846         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
2847         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2848         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
2849         (STARTFILE_ARCH_SPEC): Remove.
2850         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
2851         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2852         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
2853         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
2854         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2855
2856 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
2857
2858         * predict.c (choose_function_section): Avoid choice for linkonce functions.
2859
2860 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
2861
2862         * i386.md (lea to mul peep2): Fix condition.
2863
2864 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2865
2866         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
2867         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
2868
2869 2002-10-02  Richard Henderson  <rth@redhat.com>
2870
2871         PR opt/7124
2872         * config/i386/i386.c (ix86_register_move_cost): Increase cost
2873         for secondary_memory_needed pairs.
2874
2875 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
2876
2877         * doc/vms.texi: Blow away false include file section.
2878
2879 2002-10-02  Roger Sayle  <roger@eyesopen.com>
2880
2881         PR optimization/6627
2882         * toplev.c (force_align_functions_log): New global variable.
2883         * flags.h (force_align_functions_log): Add extern prototype.
2884         * varasm.c (assemble_start_function): Use it to force minimum
2885         function alignment.
2886         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
2887         minimum function alignment to one byte.
2888         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
2889         the least significant bit of vtable member function pointers.
2890         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
2891         here from cp/cp-tree.h.
2892
2893 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
2894
2895         * i386.c (print_operand_address): Use RIP addressing for offsetted
2896         label refs too.
2897
2898 2002-09-30  David S. Miller  <davem@redhat.com>
2899
2900         PR middle-end/7151
2901         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
2902         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
2903
2904 2002-10-01  Roger Sayle  <roger@eyesopen.com>
2905
2906         * unroll.c (loop_iterations): Revert 2002-09-08 change.
2907
2908 2002-10-01  Richard Henderson  <rth@redhat.com>
2909
2910         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
2911         (real_to_hexadecimal): Likewise.
2912         * print-rtl.c (print_rtx): If we are linked with real.c, don't
2913         dump the XWINT fields of a floating point CONST_DOUBLE.
2914
2915 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
2916
2917         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
2918
2919 2002-10-01  Richard Henderson  <rth@redhat.com>
2920
2921         * calls.c (precompute_register_parameters): Force non-legitimate
2922         constants into pseudos.
2923
2924 2002-10-01  Nick Clifton  <nickc@redhat.com>
2925
2926         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
2927         to assembler template.
2928
2929 2002-10-01  Richard Henderson  <rth@redhat.com>
2930
2931         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
2932         for TLS debug info to !DECL_EXTERNAL.
2933
2934 2002-10-01  Matt Thomas  <matt@3am-software.com>
2935             Jason Thorpe  <thorpej@wasabisystems.com>
2936
2937         * config.gcc (vax-*-netbsdelf*): Enable configuration.
2938         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
2939         if not already defined.
2940         * config/vax/elf.h: New file.
2941         * config/vax/netbsd-elf.h: New file.
2942         * config/vax/vax.c: Include "debug.h".
2943         (vax_output_function_prologue): Add dwarf2 support.  Use
2944         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
2945         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
2946         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
2947         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
2948         (VAX_ISTREAM_SYNC): Remove.
2949         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
2950         (JUMP_TABLES_IN_TEXT_SECTION): Define.
2951         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
2952         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
2953         and assemble_name.
2954         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2955         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
2956         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
2957         (INCOMING_RETURN_ADDR_RTX): Define.
2958         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
2959         (VUNSPEC_SYNC_ISTREAM): Define.
2960         (blockage): Use VUNSPEC_BLOCKAGE.
2961         (sync_istream): New insn.
2962
2963 2002-10-01  Richard Henderson  <rth@redhat.com>
2964
2965         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
2966         (*call_value_pop, call, call_value): Add dwarf2 EH support.
2967         (*call): New insn.
2968
2969 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
2970
2971         PR c/8083
2972         * c-typeck.c (build_c_cast): Warn about type punning which breaks
2973         type based aliasing.
2974
2975 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
2976
2977         * stor-layout.c (update_alignment_for_field): New function.
2978         (place_union_field): Use it.
2979         (place_field): Likewise.
2980
2981 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
2982
2983         PR other/8077
2984         * gcc.c (cc1_options): Add space on -auxbase-strip.
2985
2986 2002-10-01  Jim Wilson  <wilson@redhat.com>
2987
2988         * config/v850/v850.h (EPILOGUE_USES): Define.
2989
2990 2002-09-30  Andrew Haley  <aph@redhat.com>
2991
2992         * flow.c (insn_dead_p): When using non-call-exceptions, don't
2993         eliminate insns that may trap.
2994         * cse.c (insn_live_p): Likewise.
2995
2996 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2997
2998         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
2999         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
3000         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
3001         * config/mips/mips.md: Apply same renaming here.
3002
3003 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
3004
3005         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
3006         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
3007         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
3008         * config/mips/mips.md (define_attr cpu): Remove r4320.
3009         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
3010
3011 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
3012
3013         * config/mips/mips.c (mips16_strings): New variable.
3014         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
3015         symbol in mips16_strings.  Free the list.
3016         (mips_encode_section_info): Keep track of local strings.
3017
3018 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
3019
3020         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
3021         (sordered_df, sordered_sf): Remove.
3022         * config/mips/mips.c (get_float_compare_codes): New fn.
3023         (gen_int_relational, gen_conditional_move): Use it.
3024
3025 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
3026
3027         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
3028         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
3029         * config/mips/mips.c (fcc_register_operand): New function.
3030         (mips_emit_fcc_reload): New function, extracted from reload_incc.
3031         (override_options): Allow TFmode values in float registers
3032         if ISA_HAS_8CC.
3033         * cnfig/mips/mips.md (reload_incc): Change destination prediate
3034         to fcc_register_operand.  Remove misleading source constraint.
3035         Use mips_emit_fcc_reload.
3036         (reload_outcc): Duplicate reload_incc.
3037
3038 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
3039
3040         * longlong.h: Partially synchronize with GMP-4.1 version:
3041         Use i370 definitions also for s390.
3042         Add generic definition of umul_ppmm in terms of smul_ppmm.
3043         [s390] (umul_ppmm): Remove.
3044         [s390] (smul_ppmm): Fix incorrect assembler constraints.
3045         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
3046
3047 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
3048
3049         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
3050         Add new RL_REGS register class.
3051         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
3052         Call xtensa_preferred_reload_class for both input and output reloads.
3053         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
3054         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
3055         instead of either AR_REGS or GR_REGS classes.
3056         (xtensa_secondary_reload_class): Use new RL_REGS class.
3057         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
3058
3059 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3060
3061         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
3062         (pa_strip_name_encoding): Strip '@' and '*', in that order.
3063         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
3064         there is a '*' prefix in NAME.
3065
3066 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
3067
3068         * reload.c (push_reload): Handle subregs and secondary memory.
3069         * reload1.c (gen_reload): Likewise.
3070
3071         * jump.c (reg_or_subregno): New function.
3072         * rtl.h (reg_or_subregno): Declare
3073         * unroll.c (find_splittable_givs): Handle subregs.
3074
3075 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
3076
3077         * store-layout.c (finish_record_layout): Add free_p parameter.
3078         (layout_type): Pass it.
3079         * tree.h (finish_record_layout): Update prototype.
3080
3081 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
3082
3083         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
3084
3085         * gcse.c (cprop_jump): Check that the register has not
3086         been modified
3087         (cprop_jump): Likewise.
3088
3089 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
3090
3091         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
3092         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
3093         that we have a SImode access, and only then if reload hasn't completed;
3094         for all other cases, use LO_REGS.
3095
3096 2002-09-29  Richard Henderson  <rth@redhat.com>
3097
3098         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
3099
3100 2002-09-29  Richard Henderson  <rth@redhat.com>
3101
3102         PR c/8002
3103         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
3104         for CONST_INT.
3105
3106 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
3107
3108         * real.h (ibm_extended_format): Declare.
3109         * real.c (encode_ibm_extended, decode_ibm_extended): New
3110         functions.
3111
3112 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3113
3114         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
3115
3116         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
3117
3118 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3119
3120         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
3121
3122 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
3123
3124         * builtins.def: Fix comment formatting.
3125         * c-common.def: Likewise.
3126         * cfgcleanup.c: Likewise.
3127         * combine.c: Likewise.
3128         * gengtype.c: Likewise.
3129         * params.def: Likewise.
3130         * predict.def: Likewise.
3131         * rtl.def: Likewise.
3132         * stab.def: Likewise.
3133         * stor-layout.c: Likewise.
3134         * tree.def: Likewise.
3135         * config/darwin.c: Likewise.
3136         * config/darwin.h: Likewise.
3137         * config/dbxcoff.h: Likewise.
3138         * config/elfos.h: Likewise.
3139         * config/fp-bit.c: Likewise.
3140         * config/freebsd-spec.h: Likewise.
3141         * config/interix.h: Likewise.
3142         * config/libgloss.h: Likewise.
3143         * config/linux-aout.h: Likewise.
3144         * config/linux.h: Likewise.
3145         * config/lynx-ng.h: Likewise.
3146         * config/lynx.h: Likewise.
3147         * config/netbsd-aout.h: Likewise.
3148         * config/netbsd.h: Likewise.
3149         * config/netware.h: Likewise.
3150         * config/psos.h: Likewise.
3151         * config/ptx4.h: Likewise.
3152
3153 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
3154
3155         * ChangeLog.4: Fix typos.
3156         * ChangeLog.6: Likewise.
3157         * FSFChangeLog.10: Likewise.
3158         * genattrtab.c: Fix comment typos.
3159         * haifa-sched.c: Likewise.
3160         * real.c: Likewise.
3161         * tree.h: Likewise.
3162         * config/arm/arm.c: Likewise.
3163         * config/arm/crti.asm: Likewise.
3164         * config/arm/crtn.asm: Likewise.
3165         * config/frv/frv.c: Likewise.
3166         * config/frv/frv.md: Likewise.
3167         * config/h8300/h8300.md: Likewise.
3168         * config/i386/rtemself.h: Likewise.
3169         * config/ia64/unwind-ia64.c: Likewise.
3170         * config/ip2k/ip2k.h: Likewise.
3171         * config/m88k/m88k.c: Likewise.
3172         * config/m88k/m88k.md: Likewise.
3173         * config/mips/sr71k.md: Likewise.
3174         * config/mmix/mmix.c: Likewise.
3175         * config/rs6000/rs6000.c: Likewise.
3176         * config/sh/sh.md: Likewise.
3177
3178 2002-09-26  Theodore A. Roth  <troth@verinet.com>
3179
3180         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
3181         * config/avr/avr.md: Ditto.
3182
3183 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
3184
3185         PR preprocessor/8055
3186         * cppmacro.c (stringify_arg): Do not overflow the buffer
3187         with the terminating NUL when the argument to be stringified
3188         has no tokens.
3189
3190 2002-09-27  Richard Henderson  <rth@redhat.com>
3191
3192         * unroll.c (simplify_cmp_and_jump_insns): New.
3193         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
3194         instead of expand_simple_foo.
3195
3196 2002-09-27  Richard Henderson  <rth@redhat.com>
3197
3198         PR optimization/7520
3199         * cfganal.c (flow_active_insn_p): New.
3200         (forwarder_block_p): Use it.
3201
3202 2002-09-27  Richard Henderson  <rth@redhat.com>
3203
3204         * emit-rtl.c (active_insn_p): Revert last change.
3205
3206 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
3207
3208         * doc/extend.texi (tls_model): Document.
3209         * varasm.c (decl_tls_model): New.
3210         * c-common.c (handle_tls_model_attribute): New.
3211         (c_common_attribute_table): Add tls_model.
3212         * config/alpha/alpha.c (alpha_encode_section_info): Use
3213         decl_tls_model.
3214         * flags.h (enum tls_model, flag_tls_default): Move...
3215         * tree.h (enum tls_model, flag_tls_default): ...here.
3216         (decl_tls_model): New prototype.
3217         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
3218         * config/i386/i386.c (ix86_encode_section_info): Likewise.
3219         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
3220         Allow !flag_pic.
3221
3222 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
3223
3224         * LANGUAGES: Follow spelling conventions.
3225         * rtl.def: Likewise.
3226         * sbitmap.c: Likewise.
3227         * sched-int.h: Likewise.
3228         * sched-rgn.c: Likewise.
3229         * sibcall.c: Likewise.
3230         * simplify-rtx.c: Likewise.
3231         * ssa.c: Likewise.
3232         * stab.def: Likewise.
3233         * stmt.c: Likewise.
3234         * stor-layout.c: Likewise.
3235         * target.h: Likewise.
3236         * timevar.c: Likewise.
3237         * toplev.c: Likewise.
3238         * tree-dump.c: Likewise.
3239         * tree-inline.c: Likewise.
3240         * tree.c: Likewise.
3241         * tree.def: Likewise.
3242         * tree.h: Likewise.
3243         * unroll.c: Likewise.
3244         * varasm.c: Likewise.
3245         * vmsdbgout.c: Likewise.
3246         * treelang/treelang.texi: Likewise.
3247         * treelang/treetree.c: Likewise.
3248
3249 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
3250
3251         * config/h8300/h8300.c (compute_saved_regs): Use a macro
3252         instead of a hard register number.
3253         (get_shift_alg): Use an enumerated type instead of numbers.
3254         (h8300_shift_needs_scratch_p): Likewise.
3255
3256 2002-09-26  David S. Miller  <davem@redhat.com>
3257
3258         PR optimization/7335
3259         * calls.c (emit_library_call_value_1): Passing args by reference
3260         converts a CONST function into a PURE one.
3261
3262 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
3263
3264         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
3265         text_section.
3266         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
3267         text section.
3268         * config/rs6000/rs6000.c (rs6000_override_options): Allow
3269         function-sections and data-sections functionality on AIX.
3270
3271 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
3272             Dale Johannesen  <dalej@apple.com>
3273
3274         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
3275         in RTL for sub-word loads from memory.
3276
3277 2002-09-26  Richard Henderson  <rth@redhat.com>
3278
3279         PR c/7160
3280         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
3281         on call insns.
3282
3283 2002-09-26  Richard Henderson  <rth@redhat.com>
3284
3285         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
3286
3287 2002-09-26  Chris Lattner  <sabre@nondot.org>
3288
3289         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
3290         handling undefined values.
3291
3292 2002-09-26  Richard Henderson  <rth@redhat.com>
3293
3294         PR opt/7520
3295         * emit-rtl.c (active_insn_p): Consider a clobber of the
3296         function return value to be active even after reload.
3297
3298 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
3299
3300         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
3301         by absolute loop increment, not loop increment.
3302
3303 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
3304
3305         * c-common.h: Follow spelling conventions.
3306         * cpplex.c: Likewise.
3307         * cpplib.h: Likewise.
3308         * gthr-dce.h: Likewise.
3309         * gthr-posix.h: Likewise.
3310         * optabs.c: Likewise.
3311         * output.h: Likewise.
3312         * profile.c: Likewise.
3313         * protoize.c: Likewise.
3314         * ra-rewrite.c: Likewise.
3315         * real.c: Likewise.
3316         * recog.c: Likewise.
3317         * reg-stack.c: Likewise.
3318         * regclass.c: Likewise.
3319         * regmove.c: Likewise.
3320         * reload.c: Likewise.
3321         * reload.h: Likewise.
3322         * reload1.c: Likewise.
3323         * reorg.c: Likewise.
3324         * resource.c: Likewise.
3325         * rtl.h: Likewise.
3326         * rtlanal.c: Likewise.
3327
3328 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3329
3330         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
3331         for symbol address.
3332
3333 2002-09-24  Eric Christopher  <echristo@redhat.com>
3334
3335         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
3336         * config/mips/elf64.h: Ditto.
3337
3338 2002-09-24  Eric Christopher  <echristo@redhat.com>
3339
3340         * except.c (expand_builtin_extract_return_address): Handle case
3341         where Pmode != ptr_mode.
3342
3343 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3344
3345         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
3346
3347 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3348
3349         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
3350
3351 2002-09-26  Igor Shevlyakov <igor@microunity.com>
3352
3353         * combine.c (simplify_set): Don't call to force_to_mode if size
3354         of integer type is larger than HOST_BITS_PER_WIDE_INT.
3355
3356 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
3357
3358         * Makefile.in (qmtest-g++): Fix file path.
3359
3360 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
3361
3362         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
3363         A + (-const) on RTX level, even for unsigned types.
3364
3365 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
3366
3367         * reload.c (dup_replacements): New function.
3368         (find_reloads): Use it to duplicate replacements at the top level
3369         of match_dup operands.
3370
3371 2002-09-26  Miles Bader  <miles@gnu.org>
3372
3373         * v850.md ("length"): Change default value to 4.
3374
3375 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
3376
3377         * ChangeLog.1: Follow spelling conventions.
3378         * ChangeLog.4: Likewise.
3379         * ChangeLog.6: Likewise.
3380         * FSFChangeLog.11: Likewise.
3381         * doc/cpp.texi: Likewise.
3382         * doc/invoke.texi: Likewise.
3383         * doc/tm.texi: Likewise.
3384
3385 2002-09-26  Nick Clifton  <nickc@redhat.com>
3386
3387         * config.gcc: Add x prefix to v850e case for handling
3388         --with-cpu=v850e.
3389
3390 2002-09-25  David S. Miller  <davem@redhat.com>
3391
3392         PR target/7842
3393         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
3394         extend.
3395
3396 2002-09-25  Richard Henderson  <rth@redhat.com>
3397
3398         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
3399         fp CONST_DOUBLE; use real_identical.
3400
3401 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
3402
3403         * doc/invoke.texi: Add more -Wabi examples.
3404
3405 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
3406
3407         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
3408
3409 2002-09-24  Denis Chertykov  <denisc@overta.ru>
3410
3411         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
3412         cases of optimizing "add sp,w" to "inc sp".
3413
3414 2002-09-24  Adam Nemet  <anemet@lnxw.com>
3415
3416         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
3417         epilogue for naked functions.
3418
3419 2002-09-24  Adam Nemet  <anemet@lnxw.com>
3420             Nick Clifton  <nickc@redhat.com>
3421
3422         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
3423         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
3424         is defined.
3425
3426 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
3427
3428         * config/s390/s390.c (preferred_la_operand_p): New function.
3429         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
3430         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
3431         ("*la_64_cc", "*la_31_cc", splitters): ... these.
3432         ("*la_31"): Deactivate for TARGET_64BIT.
3433         ("*la_31_and", "*la_31_and_cc"): New.
3434
3435 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3436
3437         * real.h (real_value): Make `exp' explicitly signed.
3438
3439 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
3440
3441         * config/elfos.h: Follow spelling conventions.
3442         * config/alpha/alpha.h: Likewise.
3443         * config/arc/arc.h: Likewise.
3444         * config/arm/arm.md: Likewise.
3445         * config/avr/avr.h: Likewise.
3446         * config/cris/cris.md: Likewise.
3447         * config/d30v/d30v.h: Likewise.
3448         * config/frv/frv.c: Likewise.
3449         * config/frv/frv.h: Likewise.
3450         * config/h8300/h8300.c: Likewise.
3451         * config/h8300/h8300.h: Likewise.
3452         * config/h8300/h8300.md: Likewise.
3453         * config/i386/cygwin.h: Likewise.
3454         * config/i386/i386.h: Likewise.
3455         * config/i386/sysv3.h: Likewise.
3456         * config/i960/i960.h: Likewise.
3457         * config/ia64/ia64.h: Likewise.
3458         * config/ia64/ia64.md: Likewise.
3459         * config/ip2k/ip2k.h: Likewise.
3460         * config/m32r/m32r.h: Likewise.
3461         * config/m68k/m68k.h: Likewise.
3462         * config/m88k/m88k.h: Likewise.
3463         * config/mcore/mcore.c: Likewise.
3464         * config/mcore/mcore.h: Likewise.
3465         * config/mcore/mcore.md: Likewise.
3466         * config/mips/mips.h: Likewise.
3467         * config/mmix/mmix.h: Likewise.
3468         * config/mmix/mmix.md: Likewise.
3469         * config/ns32k/netbsd.h: Likewise.
3470         * config/ns32k/ns32k.h: Likewise.
3471         * config/ns32k/ns32k.md: Likewise.
3472         * config/pa/pa.h: Likewise.
3473         * config/romp/romp.h: Likewise.
3474         * config/rs6000/rs6000.h: Likewise.
3475         * config/rs6000/rs6000.md: Likewise.
3476         * config/sparc/sparc.h: Likewise.
3477         * config/stormy16/stormy-abi: Likewise.
3478         * config/stormy16/stormy16.h: Likewise.
3479         * config/vax/vax.h: Likewise.
3480
3481 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
3482
3483         * version.c (version_string): Now const char[].
3484         * version.h: Update to match.
3485
3486 2002-09-23  Richard Henderson  <rth@redhat.com>
3487
3488         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
3489         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
3490         (TARGET_SWITCHES): Don't reference them.
3491         * config/i386/i386.c (override_options): Use target_flags_explicit
3492         to examine bits set by the user.
3493
3494 2002-09-23  Dale Johannesen  <dalej@apple.com>
3495
3496         * dbxout.c (dbxout_parms):  Set current_sym_code for params
3497         passed on stack by invisible reference.
3498
3499 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
3500
3501         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
3502         at least one byte of space.
3503
3504 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
3505
3506         * c-common.h (flag_abi_version): Fix typo in comment.
3507         * doc/invoke.texi (flag_abi_version): Document default value.
3508
3509 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
3510
3511         * doc/extend.texi (Extended Asm): Clarify that overlap between
3512         asm-declared register variables used in an asm and the asm clobber
3513         list is not allowed.
3514         * stmt.c (decl_conflicts_with_clobbers_p): New function.
3515         (expand_asm_operands): Keep track of clobbered registers.  Call
3516         decl_conflicts_with_clobbers_p for each input and output operand.
3517         If no conflicts found before, also do conflict sanity check when
3518         emitting clobbers.
3519
3520 2002-09-23  Richard Henderson  <rth@redhat.com>
3521
3522         * c-common.c (cpp_define_data_format): Remove.
3523         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
3524         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3525         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3526         * doc/cpp.texi: Don't document them either.
3527         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
3528         __LONG_LONG_MAX__): Document.
3529         (__TARGET_FLOAT_FORMAT__): Remove.
3530
3531 2002-09-23  Richard Henderson  <rth@redhat.com>
3532
3533         * real.c (do_multiply): Normalize U before addition.
3534
3535 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
3536
3537         * c-common.c (flag_abi_version): New variable.
3538         * c-common.h (flag_abi_version): Declare it.
3539         * c-opts.c (missing_arg): Add -fabi-version.
3540         (c_common_decode_option): Process -fabi-version.
3541         * doc/invoke.texi (-fabi-version): Document it.
3542         (-Wabi): Add information about bit-fields in unions.
3543
3544 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
3545
3546         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
3547         unless -fno-pic or -fno-PIC is specified.
3548
3549 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3550
3551         * c-common.c (preprocessing_trad_p): Define.
3552         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
3553         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
3554         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
3555         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
3556         * pa-linux.h (CPP_PREDEFINES): Delete.
3557         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
3558         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
3559         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
3560         (TARGET_OS_CPP_BUILTINS): Define.
3561         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
3562         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
3563         (SUBTARGET_SWITCHES): Provide default definition.
3564         (TARGET_OPTIONS): Reformat.  Use N_() macro.
3565         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
3566         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
3567         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
3568         (TARGET_CPU_CPP_BUILTINS): Define.
3569         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
3570         * doc/invoke.texi (msio, mwsio): Document new hppa options.
3571         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
3572         preprocessing_trad_p().
3573
3574 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
3575
3576         * doc/install.texi: Document behavior of --with-headers and
3577         --with-libs when arguments are omitted.
3578
3579 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
3580
3581         * dbxout.c: Follow spelling conventions.
3582         * defaults.h: Likewise.
3583         * df.c: Likewise.
3584         * diagnostic.h: Likewise.
3585         * doloop.c: Likewise.
3586         * dwarf2out.c: Likewise.
3587         * dwarfout.c: Likewise.
3588         * emit-rtl.c: Likewise.
3589         * except.c: Likewise.
3590         * explow.c: Likewise.
3591         * expmed.c: Likewise.
3592         * expr.c: Likewise.
3593         * expr.h: Likewise.
3594         * flags.h: Likewise.
3595         * flow.c: Likewise.
3596         * fold-const.c: Likewise.
3597         * function.c: Likewise.
3598         * function.h: Likewise.
3599         * gcc.c: Likewise.
3600         * gcov-io.h: Likewise.
3601         * gcov.c: Likewise.
3602         * gcse.c: Likewise.
3603         * genattrtab.c: Likewise.
3604         * genconfig.c: Likewise.
3605         * genrecog.c: Likewise.
3606         * ggc-page.c: Likewise.
3607         * ggc.h: Likewise.
3608         * global.c: Likewise.
3609         * gthr-win32.h: Likewise.
3610         * integrate.c: Likewise.
3611         * jump.c: Likewise.
3612         * langhooks.c: Likewise.
3613         * langhooks.h: Likewise.
3614         * line-map.h: Likewise.
3615         * local-alloc.c: Likewise.
3616         * longlong.h: Likewise.
3617         * loop.c: Likewise.
3618         * loop.h: Likewise.
3619
3620 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
3621
3622         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
3623
3624 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
3625
3626         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
3627         for -Os/TARGET_64BIT too.
3628
3629 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
3630
3631         * ChangeLog: Follow spelling conventions.
3632         * ChangeLog.0: Likewise.
3633         * ChangeLog.1: Likewise.
3634         * ChangeLog.2: Likewise.
3635         * ChangeLog.3: Likewise.
3636         * ChangeLog.4: Likewise.
3637         * ChangeLog.5: Likewise.
3638         * ChangeLog.6: Likewise.
3639         * FSFChangeLog.10: Likewise.
3640         * FSFChangeLog.11: Likewise.
3641         * alias.c: Likewise.
3642         * basic-block.h: Likewise.
3643         * c-aux-info.c: Likewise.
3644         * c-common.c: Likewise.
3645         * c-common.h: Likewise.
3646         * c-decl.c: Likewise.
3647         * c-format.c: Likewise.
3648         * c-semantics.c: Likewise.
3649         * c-typeck.c: Likewise.
3650         * calls.c: Likewise.
3651         * cfganal.c: Likewise.
3652         * cfgloop.c: Likewise.
3653         * collect2.c: Likewise.
3654         * combine.c: Likewise.
3655         * conflict.c: Likewise.
3656         * cppexp.c: Likewise.
3657         * cppfiles.c: Likewise.
3658         * cpphash.h: Likewise.
3659         * cppinit.c: Likewise.
3660         * cpplex.c: Likewise.
3661         * cpplib.c: Likewise.
3662         * cpplib.h: Likewise.
3663         * cppmacro.c: Likewise.
3664         * cse.c: Likewise.
3665
3666 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
3667
3668         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
3669         LINK_SPEC.
3670         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
3671         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
3672         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
3673
3674 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
3675
3676         PR opt/7930
3677         * cse.c (fold_rtx): Calculate old_cost before we fold each
3678         operand.
3679
3680 2002-09-21  Richard Henderson  <rth@redhat.com>
3681
3682         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
3683         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3684         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3685         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
3686         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
3687         * doc/cpp.texi: Don't document them.
3688
3689 2002-09-21  Richard Henderson  <rth@redhat.com>
3690
3691         * c-common.c (builtin_define_float_constants): Use real_format
3692         to get the floating-point parameters.
3693
3694 2002-09-21  Richard Henderson  <rth@redhat.com>
3695
3696         * real.c (struct real_format): Move to real.h.
3697         (real_format_for_mode): Rename from fmt_for_mode; update all users;
3698         initialize with ieee defaults.
3699         (real_to_target_fmt, real_from_target_fmt): New.
3700         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
3701         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
3702         ieee_quad_format, i370_single_format, i370_double_format,
3703         c4x_single_format, c4x_extended_format): Rename from s/_format//.
3704         (ieee_quad_format): Fix emin.
3705         (format_for_size, init_real_once): Remove.
3706         * real.h (struct real_format): Move from real.c.
3707         (real_format_for_mode): Declare.
3708         (real_to_target_fmt, real_from_target_fmt): Declare.
3709         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
3710         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
3711         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
3712         i370_single_format, i370_double_format, c4x_single_format,
3713         c4x_extended_format): Declare.
3714         * toplev.c (do_compile): Don't call init_real_once.
3715
3716         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3717         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3718
3719         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
3720         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
3721         * config/alpha/alpha.c (override_options): Set real_format_for_mode
3722         for VAX, if enabled.
3723
3724         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
3725         for C4X.
3726
3727         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
3728         * config/i370/i370.c (override_options): New.
3729         * config/i370/i370-protos.h: Update.
3730
3731         * config/i386/i386.c (override_options): Set real_format_for_mode
3732         for Intel 80-bit extended.
3733         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3734
3735         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
3736         (OVERRIDE_OPTIONS): Move code...
3737         * config/i960/i960.c (i960_initialize): ... here.  Set
3738         real_format_for_mode for Intel 80-bit extended.
3739
3740         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
3741         for Intel 80-bit extended, if enabled.
3742
3743         * config/m68k/m68k.c (override_options): Set real_format_for_mode
3744         for Motorola 96-bit extended.
3745
3746         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
3747         * config/vax/vax.c (override_options): New.
3748         * config/vax/vax-protos.h: Update.
3749
3750 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
3751
3752         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
3753         #if TARGET_MACHO.
3754
3755         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
3756         insns.  Supply missing clobber of scratch reg.
3757
3758 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
3759
3760         * config/m32r/m32r.c: Follow spelling conventions.
3761         * config/m32r/m32r.h: Likewise.
3762         * config/m32r/m32r.md: Likewise.
3763         * config/m68k/m68k.c: Likewise.
3764         * config/m88k/m88k.c: Likewise.
3765         * config/mcore/mcore.c: Likewise.
3766         * config/mips/mips.c: Likewise.
3767         * config/mips/mips.h: Likewise.
3768         * config/mmix/mmix.c: Likewise.
3769         * config/mn10200/mn10200.c: Likewise.
3770         * config/ns32k/ns32k.h: Likewise.
3771         * config/pa/pa.c: Likewise.
3772         * config/pa/pa64-linux.h: Likewise.
3773         * config/pdp11/pdp11.h: Likewise.
3774         * config/romp/romp.c: Likewise.
3775         * config/romp/romp.h: Likewise.
3776         * config/rs6000/eabi.asm: Likewise.
3777         * config/rs6000/linux64.h: Likewise.
3778         * config/rs6000/rs6000.c: Likewise.
3779         * config/rs6000/rs6000.h: Likewise.
3780         * config/rs6000/rs6000.md: Likewise.
3781         * config/rs6000/sysv4.h: Likewise.
3782         * config/rs6000/xcoff.h: Likewise.
3783
3784 2002-09-20  Jim Wilson  <wilson@redhat.com>
3785
3786         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
3787
3788 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
3789
3790         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
3791         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
3792         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
3793         (legitimate_address_p): Likewise.
3794         (legitimize_address): Use @gotntpoff and @indntpoff.
3795         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
3796         (output_addr_const_extra): Likewise.
3797
3798 2002-09-20  Jim Wilson  <wilson@redhat.com>
3799
3800         * combine.c (try_combine): When split an instruction pair, where the
3801         first has a sign_extend src, verify that the src and dest modes match.
3802
3803 2002-09-20  Richard Henderson  <rth@redhat.com>
3804
3805         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
3806         (override_options): Do not initialize them.
3807         (mips_const_double_ok): Allow no fp constants except zero,
3808         and not even that for mips16.
3809         (const_float_1_operand): Use dconst1.
3810         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
3811         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
3812         Don't allow arbitrary constants; fix predicates and C constraint.
3813
3814 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
3815
3816         * cppmacro.c: Don't warn about function-like macros without
3817         '(' during pre-expansion.
3818
3819 2002-09-20  Jim Wilson  <wilson@redhat.com>
3820
3821         * config/v850/v850.c (current_function_anonymous_args): Delete.
3822         (expand_prologue): Use current_function_args_info.anonymous_args.
3823         (expand_epilogue): Delete use of current_function_anonymous_args.
3824         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
3825         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
3826         (current_function_anonymous_args): Delete extern declaration.
3827         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
3828
3829 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
3830
3831         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
3832         to load_macho_picbase.
3833         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
3834         (load_macho_picbase): Take the symbol to use as a parameter.
3835         (macho_correct_pic): New insn.
3836         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
3837
3838         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
3839         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
3840         (CAN_ELIMINATE): Likewise.
3841         (INITIAL_ELIMINATION_OFFSET): Likewise.
3842         (TOC_REGISTER): Likewise.
3843
3844 2002-09-20  Richard Henderson  <rth@redhat.com>
3845
3846         * real.c (real_hash): New.
3847         * real.h: Declare it.
3848         * cse.c (canon_hash): Use it.
3849         * cselib.c (hash_rtx): Likewise.
3850         * emit-rtl.c (const_double_htab_hash): Likewise.
3851         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
3852         * varasm.c (struct rtx_const): Reduce vector size; separate
3853         integer and fp vectors.
3854         (HASHBITS): Remove.
3855         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
3856         take modulus MAX_HASH_TABLE.
3857         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
3858         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
3859         (SYMHASH): Don't use HASHBITS.
3860         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
3861         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
3862         (simplify_subtraction): Fix kind comparison.
3863         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
3864         Use a union to pun integer array.
3865         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
3866         only hash two words of integral CONST_DOUBLE.
3867
3868 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
3869
3870         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
3871         (STARTFILE_PREFIX_SPEC): New.
3872         (LINK_SPEC): Modify.
3873         (LIB_SPEC): Modify.
3874         (LIBGCC_SPEC): New.
3875
3876 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
3877
3878         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
3879         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
3880
3881 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
3882
3883         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
3884         Add clobber of the condition code register.
3885
3886 2002-09-20  Richard Henderson  <rth@redhat.com>
3887
3888         * real.c (do_fix_trunc): Static.
3889         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
3890         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
3891         encode_i370_single, encode_i370_double, encode_c4x_single,
3892         encode_c4x_extended): Add default abort case.
3893
3894 2002-09-20  Richard Henderson  <rth@redhat.com>
3895
3896         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
3897         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
3898         (struct realvaluetype): Remove.
3899         (REAL_VALUE_TYPE): Use struct real_value.
3900         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
3901         (test_real_width): New.
3902         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
3903         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
3904         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
3905         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
3906         real_to_integer, real_to_integer2, real_to_decimal,
3907         real_to_hexadecimal, real_from_string, real_from_integer,
3908         real_inf, real_nan, real_2expN, real_convert, real_to_target,
3909         real_from_target): Likewise.
3910         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
3911         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
3912
3913 2002-09-20  Richard Henderson  <rth@redhat.com>
3914
3915         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
3916         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
3917         * defaults.h: ... here.
3918         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
3919         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
3920         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
3921         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
3922
3923 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
3924
3925         * config/mmix/mmix.md ("negdf2"): Rewrite.
3926         ("*expanded_negdf2"): New.
3927
3928 2002-09-19  Jim Wilson  <wilson@redhat.com>
3929
3930         * combine.c (simplify_set): When optimizing a subreg src with a
3931         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
3932
3933 2002-09-19  Dale Johannesen <dalej@apple.com>
3934         * combine.c (make_extraction): Don't create
3935         invalid subreg.
3936
3937 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
3938
3939         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
3940         and STRICT_LOW_PART within SET_DEST.
3941         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
3942         splitters, replacing pre-reload splitters.
3943         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
3944         "*zero_extendqihi2_31"): New insns.
3945         ("*zero_extendqihi2_64"): Do not clobber CC.
3946
3947 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
3948
3949         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
3950         (DTORS_SECTION_ASM_OP): Ditto.
3951         (READONLY_DATA_SECTION_ASM_OP): Moved.
3952         (DATA_SECTION_ASM_OP): New.
3953         (SDATA_SECTION_ASM_OP): New.
3954         (BSS_SECTION_ASM_OP): New.
3955         (SBSS_SECTION_ASM_OP): New.
3956         (TEXT_SECTION_ASM_OP): New.
3957
3958 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
3959
3960         * config/fp-bit.c: Follow spelling conventions.
3961         * config/d30v/d30v.c: Likewise.
3962         * config/d30v/d30v.h: Likewise.
3963         * config/fr30/fr30.c: Likewise.
3964         * config/fr30/fr30.h: Likewise.
3965         * config/fr30/fr30.md: Likewise.
3966         * config/frv/frv.c: Likewise.
3967         * config/frv/frv.h: Likewise.
3968         * config/h8300/h8300.c: Likewise.
3969         * config/h8300/lib1funcs.asm: Likewise.
3970         * config/i370/i370.c: Likewise.
3971         * config/i386/i386.h: Likewise.
3972         * config/i386/i386.md: Likewise.
3973         * config/i386/pentium.md: Likewise.
3974         * config/i386/winnt.c: Likewise.
3975         * config/i960/i960.c: Likewise.
3976         * config/ia64/ia64.h: Likewise.
3977         * config/ip2k/ip2k.c: Likewise.
3978         * config/ip2k/ip2k.h: Likewise.
3979         * config/ip2k/ip2k.md: Likewise.
3980         * config/ip2k/libgcc.S: Likewise.
3981
3982 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
3983
3984         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
3985         (GOTOFF_P): Extend to allow gotoff plus constant.
3986
3987 2002-09-18  Richard Henderson  <rth@redhat.com>
3988
3989         * ifcvt.c (noce_process_if_block): Correctly detect X modified
3990         with INSN_B before COND_EARLIEST.  Don't check A and B for
3991         modification in condition range.  Reorder INSN_B for A==B properly.
3992         (if_convert): Iterate until no matches for a block.
3993
3994 2002-09-18  Richard Henderson  <rth@redhat.com>
3995
3996         * calls.c (store_one_arg): Rename default_align to parm_align;
3997         always adjust parm_align for downward padding.
3998
3999 2002-09-18  Richard Henderson  <rth@redhat.com>
4000
4001         * toplev.c (backend_init): Move init_real_once invocation ...
4002         (do_compile): ... here.
4003
4004 2002-09-18  Richard Henderson  <rth@redhat.com>
4005
4006         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
4007         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
4008
4009 2002-09-18  Richard Henderson  <rth@redhat.com>
4010
4011         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
4012
4013 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
4014
4015         * config/rs6000/rs6000.md: (floatdisf2): Rename to
4016         floatdisf2_internal1.
4017         (floatdisf2): New define_expand.
4018         (floatdisf2_internal2): Likewise.
4019
4020 2002-09-18  Richard Henderson  <rth@redhat.com>
4021
4022         * real.c (sticky_rshift_significand): Collect sticky as
4023         unsigned long, not bool.
4024
4025 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
4026
4027         * config/s390/s390.c (s390_address_cost): New function.
4028         config/s390/s390-protos.h (s390_address_cost): Add prototype.
4029         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
4030         (RTX_COST): Use COSTS_N_INSNS.
4031
4032 2002-09-18  Douglas Rupp  <rupp@gnat.com>
4033             Donn Terry  <donnte@microsoft.com>
4034
4035         * stor-layout.c (place_field): Handle alignment of whole
4036         structures when MSVC compatible bitfields are involved.
4037         Change method of computing location of MS bitfields to
4038         be compatible with #pragma pack(n).
4039
4040         * tree.h (record_layout_info): Add new field
4041         remaining_in_alignment.
4042
4043         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
4044         (pragma pack): Add paragraph on MSVC bit-field packing.
4045
4046 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
4047
4048         PR optimization/7967
4049         * arm.md (ne_zeroextractsi): Add clobber of the condition code
4050         register.
4051
4052 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
4053
4054         * config/s390/s390.c: Follow spelling conventions.
4055         * config/sh/lib1funcs.asm: Likewise.
4056         * config/sh/sh.c: Likewise.
4057         * config/sh/sh.h: Likewise.
4058         * config/sparc/sparc.c: Likewise.
4059         * config/sparc/sparc.h: Likewise.
4060         * config/sparc/sparc.md: Likewise.
4061         * config/stormy16/stormy16.c: Likewise.
4062         * config/stormy16/stormy16.h: Likewise.
4063         * config/v850/v850.c: Likewise.
4064         * config/v850/v850.h: Likewise.
4065         * config/vax/vax.c: Likewise.
4066         * config/vax/vax.h: Likewise.
4067
4068 2002-09-18  Nick Clifton  <nickc@redhat.com>
4069
4070         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
4071         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
4072         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
4073
4074 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
4075
4076         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
4077         statement that the only translation is to en_UK.
4078
4079 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
4080
4081         * config/alpha/alpha.c: Follow spelling conventions.
4082         * config/alpha/alpha.h: Likewise.
4083         * config/alpha/alpha.md: Likewise.
4084         * config/arc/arc.h: Likewise.
4085         * config/arm/arm.c: Likewise.
4086         * config/arm/arm.h: Likewise.
4087         * config/arm/arm.md: Likewise.
4088         * config/arm/pe.c: Likewise.
4089         * config/arm/unknown-elf.h: Likewise.
4090         * config/avr/avr.c: Likewise.
4091         * config/avr/avr.h: Likewise.
4092         * config/c4x/c4x.c: Likewise.
4093         * config/cris/cris.c: Likewise.
4094         * config/cris/cris.h: Likewise.
4095
4096 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
4097
4098         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
4099         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
4100         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
4101
4102 2002-09-17  Dale Johannesen  <dalej@apple.com>
4103
4104         * cfgcleanup.c (try_forward_edges):  Do not forward a
4105         branch to just after a loop exit before loop optimization;
4106         this interfered with doloop detection.
4107
4108 2002-09-17  Nick Clifton  <nickc@redhat.com>
4109
4110         * config/arm/arm.c (output_return_instruction): Do not
4111         writeback the stack pointer when it is being loaded.
4112         (arm_output_epilogue): Likewise.
4113
4114 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
4115
4116         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
4117         generate a pseudo reg that receives the result of a libcall.
4118         (prepare_float_lib_cmp): Likewise.
4119
4120 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
4121
4122         * config/ia64/elf.h: Remove CPP_PREDEFINES.
4123
4124 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4125
4126         Fix PR/7014 and related objc bugs:
4127         * c-typeck.c (comp_target_types): Added a reflexive argument.
4128         Pass it to ObjC when/if calling objc_comptypes().  Updated all
4129         callers to provide the appropriate reflexive argument.
4130         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
4131         typechecking for all cases of comparisons and assignments,
4132         particularly the obscure and less common ones involving protocols.
4133
4134 2002-09-17  Nick Clifton  <nickc@redhat.com>
4135
4136         * machmode.def (V1DImode): New mode.  A single element vector.
4137         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
4138         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
4139         * tree.c (build_common_tree_nodes_2): Build
4140         unsigned_V1DI_type_node and V1D1_type_node.
4141         * c-common.c (c_common_type_for_mode): Return
4142         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
4143         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
4144
4145 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4146
4147         * doc/objc.texi (Constant string objects): Extended documentation
4148         to make clear that the constant string class ivar layout is
4149         completely fixed.
4150
4151 2002-09-17  Roger Sayle  <roger@eyesopen.com>
4152
4153         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
4154         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
4155
4156 2002-09-16  Richard Henderson  <rth@redhat.com>
4157
4158         * expr.c (emit_block_move): Set memory block size as appropriate
4159         for the copy.
4160
4161 2002-09-16  Richard Henderson  <rth@redhat.com>
4162
4163         PR fortran/3924
4164         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
4165
4166 2002-09-16  Richard Henderson  <rth@redhat.com>
4167
4168         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
4169         as well as OFFSET for BITPOS.
4170
4171 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
4172
4173         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
4174         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
4175         winchip2 and c3.
4176         * doc/invoke.texi: Mention new aliases.
4177
4178 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4179
4180         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
4181         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
4182         downward.
4183         * function.c (pad_below):  Always compile.
4184         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
4185         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
4186         Pad below when the argument is not in a register and the padding
4187         direction is downward.
4188
4189         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
4190         (PAD_VARARGS_DOWN): Define.
4191         * pa.c (function_arg_padding): Revise padding directions to make them
4192         compatible with the 32 and 64-bit runtime architecture documentation.
4193         (hppa_va_arg):  Add code to handle variable and size zero arguments
4194         passed by reference on TARGET_64BIT.  Reformat.
4195         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
4196         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
4197         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
4198         Add comments.
4199         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
4200         (RETURN_IN_MEMORY): Return size zero types in memory.
4201         (FUNCTION_VALUE): Return TFmode in general registers.
4202         (MUST_PASS_IN_STACK): Define.
4203         (FUNCTION_ARG_BOUNDARY): Simplify.
4204         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
4205         by reference.
4206         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
4207
4208 2002-09-16  Richard Henderson  <rth@redhat.com>
4209
4210         * real.c (do_fix_trunc): New.
4211         (real_arithmetic): Call it.
4212         * simplify-rtx.c (simplify_unary_operation): Handle FIX
4213         with a floating-point result mode.
4214
4215 2002-09-16  Richard Henderson  <rth@redhat.com>
4216
4217         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
4218         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
4219         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
4220         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
4221         * builtins.c (fold_builtin_nan): New.
4222         (fold_builtin): Call it.
4223         * real.c (real_nan): Parse a non-empty string.
4224         (round_for_format): Fix NaN significand truncation.
4225         * real.h (real_nan): Return bool.
4226         * doc/extend.texi: Document new builtins.
4227
4228 2002-09-16  Jason Merrill  <jason@redhat.com>
4229             Danny Smith  <dannysmith@users.sourceforge.net>
4230
4231         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
4232         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
4233         (i386_pe_mark_dllimport): Not here.
4234
4235 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
4236
4237         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
4238
4239 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
4240
4241         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
4242         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
4243         < 64.
4244         (rs6000_emit_cmove): Use real_isinf not target_isinf.
4245
4246 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
4247
4248         * calls.c (emit_library_call_value_1): Don't refer to
4249         hard_libcall_value.
4250         * optabs.c (prepare_float_lib_cmp): Likewise.
4251
4252 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
4253
4254         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
4255         mangling.
4256
4257         The following changes are merged from pch-branch:
4258
4259         * doc/gty.texi (GTY Options): Document %a.
4260         * gengtype.c (do_scalar_typedef): New function.
4261         (process_gc_options): Handle `length' option.
4262         (set_gc_used_type): A pointer to an array of structures doesn't
4263         qualify as a pointer to a structure.
4264         (output_escaped_param): Add `%a' escape.
4265         (write_gc_structure_fields): Allow 'desc' on array of unions.
4266         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
4267         do_scalar_typedef.
4268
4269         * gengtype.c (enum rtx_code): Make global.
4270         (rtx_format): Make global.
4271         (rtx_next): New.
4272         (gen_rtx_next): New.
4273         (write_rtx_next): New.
4274         (adjust_field_rtx_def): Skip fields marked by chain_next.
4275         (open_base_files): Delete redundant prototype.
4276         (write_enum_defn): New.
4277         (output_mangled_typename): Correct abort call.
4278         (write_gc_marker_routine_for_structure): Handle chain_next and
4279         chain_prev options.
4280         (finish_root_table): Don't output redundant \n.
4281         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
4282         * c-tree.h (union lang_tree_node): Add chain_next option.
4283
4284         * gengtype.h (NUM_PARAM): New definition.
4285         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
4286         * gengtype.c (find_param_structure): New.
4287         (adjust_field_type): Handle param<n>_is option.
4288         (process_gc_options): Detect use_params option.  Update callers.
4289         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
4290         'use_params' option.
4291         (open_base_files): Add splay-tree.h to list of files included.
4292         (output_mangled_typename): New.
4293         (write_gc_structure_fields): Update 'param' parameter to support
4294         multiple parameters.  Change name mangling.  Allow parameterized
4295         fields to have an apparent scalar type.  Handle param<n>_is options,
4296         use_param option.
4297         (write_gc_marker_routine_for_structure): Update for change to name
4298         mangling.  Better guess the output file for parameterized types.
4299         (write_gc_types): Update for change to name mangling.
4300         (write_gc_root): Update for change to name mangling.  Handle (ignore)
4301         param<n>_is options.
4302         * doc/gty.texi (GTY Options): Add description of param<n>_is
4303         options, use_params option.
4304         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
4305         * gengtype-lex.l: Produce token for param<n>_is.
4306         * gengtype-yacc.y: Parse param<n>_is.
4307
4308         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
4309
4310         * rtl.c: Update comment describing rtx_format.
4311         * rtl.h (union rtunion): Separate definition and typedef.
4312         (struct rtx_def): Use gengtype to mark.
4313         * Makefile.in (gengtype.o): Also depend on rtl.def.
4314         * ggc.h (ggc_mark_rtx_children): Delete prototype.
4315         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
4316         * ggc-common.c (ggc_mark_rtx_children): Delete.
4317         (ggc_mark_rtx_children_1): Delete.
4318         (gt_ggc_m_rtx_def): Delete.
4319         * gengtype.c (adjust_field_rtx_def): New.
4320         (adjust_field_type): Call adjust_field_rtx_def.
4321         (write_gc_structure_fields): Add 'default' case to switch if none
4322         is specified; remove unused code.
4323
4324         * tree.h (struct tree_exp): Update for change to meaning
4325         of special.
4326         * gengtype.c (adjust_field_tree_exp): New function.
4327         (adjust_field_type): Handle `tree_exp' special here.
4328         (write_gc_structure_fields): Don't handle `tree_exp' special here.
4329         Handle new `dot' option.
4330
4331         * gengtype.h: Make `info' a pointer-to-const.
4332         * gengtype-yacc.y (yacc_ids): Use xasprintf.
4333
4334         * gengtype.c (write_gc_structure_fields): Remove implementation
4335         of `always' option, add `default' option.
4336         * doc/gty.texi (GTY Options): Remove documentation of `always',
4337         add `default'.
4338
4339 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
4340
4341         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
4342
4343 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4344
4345         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
4346
4347         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
4348         instead of the *-protos.h file directly.
4349         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
4350         * darwin.c (machopic_output_stub): Move prototype ...
4351         * darwin-protos.h (machopic_output_stub): ... here.
4352         * rs6000-protos.h (machopic_output_stub): Don't declare.
4353
4354 2002-09-16  Richard Henderson  <rth@redhat.com>
4355
4356         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
4357
4358 2002-09-16  Richard Henderson  <rth@redhat.com>
4359
4360         * real.c, real.h: Rewrite from scratch.
4361
4362         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
4363         (paranoia): New target.
4364         * builtins.c (fold_builtin_inf): Use new real.h interface.
4365         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
4366         * c-lex.c (interpret_float): Likewise.
4367         * emit-rtl.c (gen_lowpart_common): Likewise.
4368         * optabs.c (expand_float): Use real_2expN.
4369         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
4370         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
4371         (FLOAT_WORDS_BIG_ENDIAN): New.
4372         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
4373         directly to REAL_VALUE_NEGATIVE.
4374         * loop.c (canonicalize_condition): Likewise.
4375         * simplify-rtx.c: Include tree.h.
4376         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
4377         with floating-point result modes.
4378         * toplev.c (backend_init): Call init_real_once.
4379
4380         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
4381         * tree.c (build_real): Likewise.
4382         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
4383         float_values, inited_float_values, check_float_value): Remove.
4384         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
4385         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
4386         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
4387         (VAX_HALFWORD_ORDER): Remove.
4388
4389 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
4390
4391         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
4392         (s390_load_address): ... this new function.
4393         (s390_decompose_address): Allow the argument pointer and all
4394         virtual registers as 'pointer' registers.
4395         (s390_expand_plus_operand): Use s390_load_address.
4396         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
4397         ("force_la_31"): New insn pattern.
4398         config/s390/s390-protos.h (legitimize_la_operand): Remove.
4399         (s390_load_address): Add prototype.
4400
4401         * config/s390/s390.c: Include "optabs.h".
4402         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
4403         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
4404         s390_expand_cmpstr): Add prototypes.
4405         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
4406         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
4407         for operands 0 and 1 to "memory_operand".  Add type attribute.
4408         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
4409         for operands 0 and 1 to "memory_operand".  Add type attribute.
4410         ("movstrdi_long", "movstrsi_long"): Remove.
4411         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
4412         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
4413         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
4414         ("clrstrsico"): Remove, replace by ...
4415         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
4416         ("clrstrsi_64"): Rename to "clrstr_long_64".
4417         ("clrstrsi_31"): Rename to "clrstr_long_31".
4418         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
4419         ("cmpstr_const"): Remove, replace by ...
4420         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
4421         ("cmpstr_64"): Rename to "cmpstr_long_64".
4422         ("cmpstr_31"): Rename to "cmpstr_long_31".
4423
4424 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
4425
4426         * ABOUT-NLS: Follow spelling conventions.
4427         * ChangeLog: Likewise.
4428         * ChangeLog.1: Likewise.
4429         * ChangeLog.2: Likewise.
4430         * ChangeLog.3: Likewise.
4431         * ChangeLog.4: Likewise.
4432         * ChangeLog.5: Likewise.
4433         * ChangeLog.6: Likewise.
4434         * FSFChangeLog.10: Likewise.
4435         * FSFChangeLog.11: Likewise.
4436         * c-common.c: Likewise.
4437         * c-lex.c: Likewise.
4438         * c-objc-common.c: Likewise.
4439         * cppexp.c: Likewise.
4440         * cppinit.c: Likewise.
4441         * cpplex.c: Likewise.
4442         * doloop.c: Likewise.
4443         * flow.c: Likewise.
4444         * function.c: Likewise.
4445         * integrate.c: Likewise.
4446         * loop.c: Likewise.
4447         * reg-stack.c: Likewise.
4448         * reload.h: Likewise.
4449         * ssa.c: Likewise.
4450
4451 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4452
4453         * ChangeLog: Follow spelling conventions.
4454         * ChangeLog.0: Likewise.
4455         * ChangeLog.1: Likewise.
4456         * ChangeLog.2: Likewise.
4457         * ChangeLog.4: Likewise.
4458         * ChangeLog.6: Likewise.
4459         * config.gcc: Likewise.
4460         * dwarfout.c: Likewise.
4461         * reload1.c: Likewise.
4462         * simplify-rtx.c: Likewise.
4463         * unwind-sjlj.c: Likewise.
4464         * config/avr/avr.h: Likewise.
4465         * config/d30v/d30v.h: Likewise.
4466         * config/frv/frv.c: Likewise.
4467         * config/frv/frv.h: Likewise.
4468         * config/ip2k/ip2k.h: Likewise.
4469         * config/m88k/m88k-move.sh: Likewise.
4470         * config/stormy16/stormy16.c: Likewise.
4471         * config/stormy16/stormy16.h: Likewise.
4472         * doc/extend.texi: Likewise.
4473         * doc/interface.texi: Likewise.
4474         * doc/invoke.texi: Likewise.
4475         * doc/md.texi: Likewise.
4476         * doc/rtl.texi: Likewise.
4477         * doc/tm.texi: Likewise.
4478         * doc/trouble.texi: Likewise.
4479         * ginclude/float.h: Likewise.
4480         * treelang/treelang.texi: Likewise.
4481
4482 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4483
4484         * i386-protos.h (i386_pe_dllexport_name_p,
4485         i386_pe_dllimport_name_p, i386_pe_unique_section,
4486         i386_pe_declare_function_type, i386_pe_record_external_function,
4487         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
4488         prototype.
4489         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
4490         * i386/t-interix (winnt.o): Likewise.
4491
4492         * v850-protos.h (v850_output_addr_const_extra): Prototype.
4493
4494 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4495
4496         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
4497         MIPS ABI CPP macros.
4498         (TARGET_CPU_CPP_BUILTINS): Redefine.
4499         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
4500         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
4501
4502 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4503
4504         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
4505
4506 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4507
4508         * ChangeLog: Follow spelling conventions.
4509         * ChangeLog.0: Likewise.
4510         * ChangeLog.1: Likewise.
4511         * ChangeLog.2: Likewise.
4512         * ChangeLog.3: Likewise.
4513         * ChangeLog.4: Likewise.
4514         * ChangeLog.5: Likewise.
4515         * ChangeLog.6: Likewise.
4516         * FSFChangeLog.10: Likewise.
4517         * FSFChangeLog.11: Likewise.
4518         * c-common.c: Likewise.
4519         * c-common.h: Likewise.
4520         * c-format.c: Likewise.
4521         * c-opts.c: Likewise.
4522         * cpplib.c: Likewise.
4523         * langhooks.h: Likewise.
4524         * real.c: Likewise.
4525         * reg-stack.c: Likewise.
4526         * toplev.c: Likewise.
4527         * config/arm/arm.c: Likewise.
4528         * config/arm/arm.md: Likewise.
4529         * config/arm/linux-gas.h: Likewise.
4530         * config/arm/netbsd.h: Likewise.
4531         * config/c4x/c4x.c: Likewise.
4532         * config/c4x/c4x.h: Likewise.
4533         * config/c4x/c4x.md: Likewise.
4534         * config/c4x/libgcc.S: Likewise.
4535         * config/fr30/fr30.md: Likewise.
4536         * config/frv/frv.md: Likewise.
4537         * config/ia64/ia64.md: Likewise.
4538         * config/mips/mips.h: Likewise.
4539         * config/mn10300/mn10300.c: Likewise.
4540         * config/stormy16/stormy16.c: Likewise.
4541         * config/v850/v850.md: Likewise.
4542         * doc/extend.texi: Likewise.
4543         * doc/invoke.texi: Likewise.
4544         * doc/md.texi: Likewise.
4545
4546 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4547
4548         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
4549         library if -pthread is specified.
4550
4551 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4552
4553         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
4554         for --enable-threads=yes and --enable-threads=posix.
4555
4556 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4557
4558         * config/sparc/cypress.md: Replace Sparc with SPARC.
4559         * config/sparc/freebsd.h: Likewise.
4560         * config/sparc/gmon-sol2.c: Likewise.
4561         * config/sparc/hypersparc.md: Likewise.
4562         * config/sparc/lb1spc.asm: Likewise.
4563         * config/sparc/lb1spl.asm: Likewise.
4564         * config/sparc/linux.h: Likewise.
4565         * config/sparc/linux64.h: Likewise.
4566         * config/sparc/lynx.h: Likewise.
4567         * config/sparc/sol2.h: Likewise.
4568         * config/sparc/sparc-modes.def: Likewise.
4569         * config/sparc/sparc.c: Likewise.
4570         * config/sparc/sparc.h: Likewise.
4571         * config/sparc/sparc.md: Likewise.
4572         * config/sparc/sparclet.md: Likewise.
4573         * config/sparc/supersparc.md: Likewise.
4574         * config/sparc/sysv4.h: Likewise.
4575         * config/sparc/vxsim.h: Likewise.
4576         * config/sparc/vxsparc64.h: Likewise.
4577
4578 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
4579
4580         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
4581
4582 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4583
4584         * ChangeLog: Follow spelling conventions.
4585         * ChangeLog.0: Likewise.
4586         * ChangeLog.2: Likewise.
4587         * ChangeLog.3: Likewise.
4588         * ChangeLog.4: Likewise.
4589         * ChangeLog.5: Likewise.
4590         * ChangeLog.6: Likewise.
4591         * cppfiles.c: Likewise.
4592         * cppinit.c: Likewise.
4593         * cpplib.h: Likewise.
4594         * cse.c: Likewise.
4595         * debug.h: Likewise.
4596         * df.c: Likewise.
4597         * dominance.c: Likewise.
4598         * hashtable.c: Likewise.
4599         * hashtable.h: Likewise.
4600         * loop.c: Likewise.
4601         * config/arm/README-interworking: Likewise.
4602         * config/arm/arm.c: Likewise.
4603         * config/arm/arm.h: Likewise.
4604         * config/arm/arm.md: Likewise.
4605         * config/dsp16xx/dsp16xx.h: Likewise.
4606         * config/frv/frv.c: Likewise.
4607         * config/frv/frv.h: Likewise.
4608         * config/ip2k/ip2k.h: Likewise.
4609         * config/rs6000/rs6000.c: Likewise.
4610         * config/stormy16/stormy-abi: Likewise.
4611         * config/stormy16/stormy16.h: Likewise.
4612         * config/v850/v850.c: Likewise.
4613
4614 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4615
4616         * loop.c: Fix a comment typo.
4617
4618 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4619
4620         * config/fr30/fr30.h: Fix comment typos.
4621         * config/frv/frv.c: Likewise.
4622         * config/i386/xmmintrin.h: Likewise.
4623         * config/mips/mips.c: Likewise.
4624         * config/sh/sh.c: Likewise.
4625
4626 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4627
4628         * haifa-sched.c: Follow spelling conventions.
4629         * regclass.c: Likewise.
4630         * regrename.c: Likewise.
4631         * config/fp-bit.c: Likewise.
4632         * config/frv/frv.h: Likewise.
4633         * config/m88k/m88k.c: Likewise.
4634         * config/mcore/mcore.c: Likewise.
4635         * config/rs6000/darwin.h: Likewise.
4636         * config/rs6000/gnu.h: Likewise.
4637         * config/rs6000/linux.h: Likewise.
4638         * config/rs6000/linux64.h: Likewise.
4639         * config/rs6000/rs6000.c: Likewise.
4640         * config/rs6000/rs6000.h: Likewise.
4641         * config/sh/sh.c: Likewise.
4642         * config/sparc/sparc.c: Likewise.
4643         * config/sparc/ultra1_2.md: Likewise.
4644
4645 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
4646
4647         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
4648         memory operand when source is 0 (K constraint).
4649         ("movsi_internal"): Likewise.
4650         ("movdf_internal"): Likewise.
4651         ("movsf_internal"): Likewise.
4652
4653 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
4654
4655         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
4656         targetm.binds_local_p to set SYMBOL_REF_FLAG.
4657         (rs6000_xcoff_encode_section_info): Likewise.
4658         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4659
4660 2002-09-10  Theodore A. Roth  <troth@verinet.com>
4661
4662         * gcc/config/avr/avr.h: Set default options for C++ for avr.
4663
4664 2002-09-13  Richard Henderson  <rth@redhat.com>
4665
4666         * Makefile.in (toplev.o): Depend on real.h.
4667         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
4668
4669 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
4670
4671         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
4672         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
4673         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
4674
4675 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
4676
4677         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
4678
4679 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4680
4681         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
4682         ia64*-*-linux*): Set extra_parts.
4683         * config/ia64/t-aix (EXTRA_PARTS): Remove.
4684         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
4685
4686 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
4687
4688         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
4689         * config/h8300/h8300.c: Likewise.
4690         * config/h8300/h8300.h: Likewise.
4691         * config/h8300/h8300.md: Likewise.
4692         * doc/invoke.texi: Likewise.
4693
4694 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
4695
4696         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
4697
4698 2002-09-13  Richard Henderson  <rth@redhat.com>
4699
4700         * config/alpha/alpha.md (attr type): Add callpal.
4701         (imb, trap, load_tp, set_tp): Use it.
4702         * config/alpha/ev4.md (ev4_callpal): New.
4703         * config/alpha/ev5.md (ev5_callpal): New.
4704         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
4705         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
4706         (alphaev5_insn_pipe): Likewise.
4707
4708 2002-09-13  Andreas Jaeger  <aj@suse.de>
4709
4710         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
4711
4712 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4713
4714         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
4715         LIB2ADDEH): New, set to NULL.
4716         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
4717
4718 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4719
4720         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
4721         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
4722         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
4723         Add declarations.
4724         (_U_Qfneg): Remove.
4725
4726 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
4727
4728         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
4729         for H8/300, H8S aa:8 mode.
4730         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
4731         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
4732         for H8/300 aa:8 mode.
4733
4734 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
4735
4736         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
4737         insns.
4738
4739 2002-09-12  Richard Henderson  <rth@redhat.com>
4740
4741         * Makefile.in (HOST_PRINT): Use print-rtl1.o
4742         (print-rtl.o): Don't define GENERATOR_FILE.
4743         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
4744         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
4745         unless GENERATOR_FILE.
4746
4747 2002-09-12  Stan Shebs  <shebs@apple.com>
4748
4749         * config/darwin.h (USER_LABEL_PREFIX): Define here...
4750         * config/i386/darwin.h: ... instead of here.
4751
4752         * target.h (struct gcc_target): New field
4753         terminate_dw2_eh_frame_info.
4754         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
4755         (TARGET_INITIALIZER): Add it.
4756         * dwarf2out.c (output_call_frame_info): Use target hook.
4757         * dwarf2asm.c (dw2_asm_output_delta): Use macro
4758         ASM_OUTPUT_DWARF_DELTA if defined.
4759         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
4760         (ASM_OUTPUT_DWARF_DELTA): Ditto.
4761         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
4762         (ASM_OUTPUT_DWARF_PCREL): Ditto.
4763         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
4764         (powerpc-*-darwin*): Ditto.
4765         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
4766         to work correctly for Darwin.
4767         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
4768         (STARTFILE_SPEC): Add crtbegin.o.
4769         (ENDFILE_SPEC): Define.
4770         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
4771         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
4772         (ASM_OUTPUT_DWARF_DELTA): Define.
4773         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
4774         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
4775
4776 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
4777
4778         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
4779         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
4780         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
4781
4782 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
4783
4784         * toplev.c: Move default definition of USER_LABEL_PREFIX...
4785         * defaults.h: ... here.
4786
4787 2002-09-12  Richard Henderson  <rth@redhat.com>
4788
4789         * vax.c: Include tree.h earlier.
4790
4791 2002-09-12  Stan Shebs  <shebs@apple.com>
4792
4793         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
4794         (machopic_operand_p): Ditto.
4795
4796 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4797
4798         * config/arm/arm.c (arm_compute_initial_elimination_offset):
4799         Fix a comment typo.
4800
4801 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4802
4803         * toplev.c (do_abort): Fix a comment typo.
4804
4805 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4806
4807         * cselib.c: Fix comment formatting.
4808         * gengtype.c: Likewise.
4809
4810 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4811
4812         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
4813         (udivmodhi4): Likewise.
4814
4815 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
4816             Roger Sayle  <roger@eyesopen.com>
4817
4818         * i386.c (any_fp_register_operand, fp_register_operand,
4819         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
4820         New predicate functions.
4821         * i386-protos.h:  Add their prototypes.
4822         * i386.h: Add them to PREDICATE_CODES.
4823         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
4824         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
4825         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
4826         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
4827         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
4828         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
4829         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
4830         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
4831         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
4832         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
4833         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
4834         Use these new predicates to simplify and correct the use of
4835         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
4836
4837 2002-09-12  Jason Merrill  <jason@redhat.com>
4838
4839         * diagnostic.c (output_add_identifier): New fn.
4840         * diagnostic.h: Declare it.
4841
4842         * calls.c (store_one_arg): Use size_in_bytes to determine the
4843         amount of space to push.
4844
4845 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
4846
4847         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
4848
4849 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
4850
4851         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
4852         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
4853         (s390_select_ccmode): Likewise.
4854         (s390_branch_condition_mask): Likewise.
4855         (optimization_options): Do not set flag_branch_on_count.
4856         (s390_split_branches): Handle doloop branches.
4857         (s390_chunkify_pool): Likewise.
4858         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
4859         ("doloop_end"): New expander.
4860         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
4861         associated splitters): New.
4862
4863 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
4864
4865         * fold-const.c (make_range): Only narrow to signed range if
4866         the signed range is smaller than the unsigned range.
4867
4868 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
4869
4870         * emit-rtl.c (set_mem_size): New function.
4871         * expr.h (set_mem_size): Declare.
4872         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
4873         (expand_block_move): Instead, use adjust_address and
4874         replace_equiv_address to generate proper aliasing info.
4875         Move common code out of conditionals.  Localize vars.
4876
4877 2002-09-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
4878
4879         * optabs.c (expand_binop): Minor cleanup.
4880         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
4881
4882 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
4883
4884         * print-tree.c (print_node): Print the restrict qualifier.
4885
4886 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
4887
4888         * doc/install.texi: Fix typos.
4889
4890 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
4891
4892         * Makefile.in: Remove all references to s-under and underscore.c.
4893         * collect2.c, tlink.c: Change all uses of prepends_underscore
4894         to look directly at USER_LABEL_PREFIX.
4895
4896 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
4897
4898         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
4899         alignment to csect.
4900         (rs6000_xcoff_unique_section): Only set section name for public
4901         data.
4902         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
4903         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
4904         duplicate definition.
4905
4906 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4907
4908         * pa.md (extzv): Check predicates before emitting extzv_32.
4909         (insv): Likewise.
4910
4911 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
4912
4913         * config/s390/s390.h (MOVE_MAX): Define to correct value.
4914         (MAX_MOVE_MAX): Define.
4915         (MOVE_BY_PIECES_P): Define.
4916         (CLEAR_BY_PIECES_P): Define.
4917
4918 2002-09-10  Denis Chertykov  <denisc@overta.ru>
4919
4920         * config/avr/avr.md (movstrhi): Use right operands for conversion.
4921
4922 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
4923
4924         PR c/7873
4925         * arm.md (insv): Use reg_or_int_operand for operand[3].
4926
4927 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
4928
4929         * rs6000.c (rs6000_assemble_visibility): Protect declaration
4930         inside macro.  Correct function definition typo.
4931         (rs6000_xcoff_section_type_flags): New function.
4932         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
4933         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
4934         with appropriate PIC test.
4935         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
4936         determine readonly.
4937         (rs6000_binds_local_p): Combine PIC flags.
4938         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
4939         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
4940
4941 2002-09-09  Per Bothner  <per@bothner.com>
4942
4943         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
4944         characters, and only print TREE_STRING_LENGTH chars.
4945
4946 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
4947
4948         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
4949         (ASM_FILE_END) New.
4950         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
4951         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
4952         * config/ia64/ia64.c (ia64_asm_output_external): Create list
4953         of external functions if TARGET_HPUX_LD is true.
4954         (ia64_hpux_add_extern_decl): New, routine to put names on
4955         list of external functions.
4956         (ia64_hpux_asm_file_end): Put out declarations for external
4957         functions if and only if they are used.
4958
4959 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4960
4961         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
4962         on TARGET_64BIT before pic register restore.
4963
4964 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
4965
4966         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
4967         (TARGET_HAVE_TLS): New description.
4968
4969 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
4970
4971         * doc/extend.texi (Statement Exprs): Fix broken link.
4972
4973 2002-09-09  Denis Chertykov  <denisc@overta.ru>
4974
4975         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
4976         right conversion of operands[1].
4977
4978 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
4979
4980         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
4981         commutative.  Use "nonimmediate_operand" instead of "register_operand"
4982         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
4983
4984         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
4985         as commutative.
4986
4987         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
4988         mark as commutative.  Use "nonimmediate_operand" instead of
4989         "register_operand" as predicate for operand 1.
4990
4991         ("movstrictsi"): Fix typo in insn name.
4992
4993 2002-09-09  Jan Hubicka  <jh@suse.cz>
4994
4995         * i386.c (index_register_operand): New.
4996         * i386.h (predicate_codes): Add new predicate.
4997         * i386.md (lea_general_*): Use index_register_operand
4998         (ashift to lea splitter): Do not produce invalid leas
4999         (ashift to mov+ashift split): New.
5000
5001 2002-09-09  Nick Clifton  <nickc@redhat.com>
5002
5003         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
5004         Fix folding marks.
5005
5006 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
5007             J"orn Rennecke <joern.rennecke@superh.com>
5008
5009         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
5010
5011 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
5012
5013         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
5014         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
5015         attributes.
5016
5017 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5018
5019         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
5020
5021 2002-09-08  Richard Henderson  <rth@redhat.com>
5022
5023         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
5024         (DW_OP_GNU_push_tls_address): New.
5025         (DW_OP_lo_user): Fix.
5026         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
5027         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
5028         (size_of_loc_descr): Likewise.
5029         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
5030         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
5031         (loc_descriptor_from_tree): Handle TLS variables.
5032         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
5033         (add_location_or_const_value_attribute): ... not here.  Defer
5034         to loc_descriptor_from_tree for TLS variables.
5035
5036         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
5037         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
5038         * config/i386/i386-protos.h: Update.
5039
5040 2002-09-08  Roger Sayle  <roger@eyesopen.com>
5041
5042         PR optimization/6405
5043         * unroll.c (loop_iterations): last_loop_insn should be the previous
5044         non-note instruction before loop->end.
5045         * loop.c (strength_reduce): The conditional jump is the last
5046         non-note instruction before loop->end (as above).
5047
5048 2002-09-08  Roger Sayle  <roger@eyesopen.com>
5049
5050         * combine.c (try_combine): Handle the case that undobuf.other_insn
5051         has been turned into a return or unconditional jump, by inserting
5052         a BARRIER if necessary.
5053         (simplify_set):  Test if a condition code setter has a constant
5054         comparison at compile time, if so convert this insn to a no-op move
5055         and update/simplify the condition code user (undobuf.other_insn).
5056
5057 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
5058
5059         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
5060         (CLEAR_INSN_CACHE): Define.
5061
5062 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
5063
5064         * basic-block.h: Fix comment formatting.
5065         * c-common.c: Likewise.
5066         * c-common.h: Likewise.
5067         * c-lex.c: Likewise.
5068         * c-pretty-print.c: Likewise.
5069         * cfglayout.c: Likewise.
5070         * cfgloop.c: Likewise.
5071         * defaults.h: Likewise.
5072         * et-forest.c: Likewise.
5073         * explow.c: Likewise.
5074         * function.h: Likewise.
5075         * gcov.c: Likewise.
5076         * genattrtab.c: Likewise.
5077         * gengtype.c: Likewise.
5078         * ifcvt.c: Likewise.
5079         * libgcc2.c: Likewise.
5080         * loop.c: Likewise.
5081         * profile.c: Likewise.
5082         * ra-build.c: Likewise.
5083         * real.c: Likewise.
5084         * rtl.h: Likewise.
5085         * tracer.c: Likewise.
5086         * tree-inline.c: Likewise.
5087         * varasm.c: Likewise.
5088
5089 2002-09-08  Jan Hubicka  <jh@suse.cz>
5090
5091         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
5092         handling.
5093
5094         * loop.c (loop_givs_reduce):  Emit addition after.
5095
5096 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
5097
5098         * varasm.c (default_assemble_visibility): Rename from
5099         assemble_visibility.
5100         * output.h: Here too.
5101         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
5102         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
5103
5104 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
5105
5106         * reload.c (find_reloads <p constraint>): Pass operand_mode to
5107         find_reloads_address.
5108
5109 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
5110
5111         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
5112         (anonymous pattern): Likewise.
5113
5114 2002-09-07  Scott Snyder  <snyder@fnal.gov>
5115
5116         PR target/7374
5117         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
5118
5119 2002-09-07  Roger Sayle  <roger@eyesopen.com>
5120
5121         * basic-block.h (struct loop): Remove unused cont_dominator field.
5122
5123 2002-09-07  Igor Shevlyakov <igor@microunity.com>
5124
5125         * varasm.c (decode_rtx_const): Don't check undefined field for
5126         CONST_VECTOR.
5127
5128 2002-09-07  Glen Nakamura  <glen@imodulo.com>
5129
5130         PR opt/7814
5131         * sched-deps.c (sched_analyze_insn): Make sure to add insn
5132         to reg_last->sets after flushing the dependency lists to guarantee
5133         that subsequent clobbers will be dependent on it.
5134
5135 2002-09-07  Igor Shevlyakov <igor@microunity.com>
5136
5137         * combine.c (simplify_shift_const): Calculate rotate count
5138         correctly for vector operands.
5139
5140 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
5141
5142         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
5143         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
5144         tree_expr_nonnegative_p.
5145         (build_conditional_expr): Likewise.
5146         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
5147
5148 2002-09-07  Richard Henderson  <rth@redhat.com>
5149
5150         * builtins.def (inf, inff, infl): Mark const.
5151         (huge_val, huge_valf, huge_vall): Likewise.
5152         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
5153
5154         * real.c (ereal_inf): Clear E before use.
5155
5156 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
5157
5158         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
5159         an expander and an anonymous pattern.  Zero out the upper half
5160         of the dividend in the expander.
5161         (udivmodqi4): Likewise.
5162
5163 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
5164
5165         * config/h8300/h8300.c: Fix formatting.
5166         * config/h8300/h8300.h: Likewise.
5167         * config/h8300/h8300.md: Likewise.
5168
5169 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5170
5171         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
5172         information.
5173
5174 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
5175
5176        * rtlanal.c (dead_or_set_regno_p): Fix typo.
5177
5178 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
5179
5180         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5181
5182         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
5183         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
5184         (TARGET_ASM_OUT): Add the above here.
5185         * target.h (struct gcc_target): Add "visibility" field.
5186         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
5187         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
5188         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
5189         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
5190
5191 2002-09-06  Ziemowit Laski <zlaski@apple.com>
5192
5193         * c-lang.c (objc_is_id): New stub.
5194         * c-tree.h (objc_is_id): New forward declaration.
5195         * c-typeck.c (build_c_cast): Do not strip protocol
5196         qualifiers from 'id' type.
5197         * objc/objc-act.c (objc_comptypes): Correct handling
5198         of protocol qualifiers.
5199         (objc_is_id): New.
5200
5201 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
5202
5203         * pentium.md (pentium-firstvboth): Fix typo.
5204
5205 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
5206
5207         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
5208         (enum shift_type, enum h8_cpu): Likewise.
5209         (INL, ROT, LOP, SPC macros): Likewise.
5210         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
5211         const designator.
5212         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
5213         space efficient algorithms when optimize for codesize.
5214
5215 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5216
5217         Fix PR/1727 and long-standing failing testcase
5218         objc/formal-protocol-6.m.
5219         * objc-act.c (build_protocol_expr): If compiling for the GNU
5220         runtime, create a list of Protocol statically allocated instances
5221         if it doesn't exist, then add the Protocol object to this same
5222         list.
5223         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
5224         instead of TREE_CHAIN.
5225
5226 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5227
5228         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
5229         10k.  Fixed category dumping - print out category names with the
5230         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
5231         interface.
5232         (finish_objc): Fixed the -gen-decls option.  It was printing out
5233         only the last class.  Dump an interface declaration of all classes
5234         being compiled instead.
5235
5236 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
5237
5238         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
5239         prototype.
5240         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
5241         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
5242         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
5243         rather than GEN_INT.
5244         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
5245         (return_addr_mask, *check_arch2): New.
5246
5247 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
5248
5249         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
5250         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
5251         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
5252         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
5253         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
5254         "adddf3", "*adddf3", "*adddf3_ibm",
5255         "addsf3", "*addsf3", "*addsf3_ibm",
5256         "muldi3", "mulsi3", "mulsidi3",
5257         "muldf3", "*muldf3", "*muldf3_ibm",
5258         "mulsf3", "*mulsf3", "*mulsf3_ibm",
5259         "*anddi3_cc", "*anddi3_cconly", "anddi3",
5260         "*andsi3_cc", "*andsi3_cconly", "andsi3",
5261         "*iordi3_cc", "*iordi3_cconly", "iordi3",
5262         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
5263         "*xordi3_cc", "*xordi3_cconly", "xordi3",
5264         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
5265         instead of "register_operand" as predicate for "%0" operand.
5266
5267 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
5268
5269         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
5270         unconditionally when gcc_cv_as_flags64 checks are gone.
5271         * configure: Rebuilt.
5272
5273 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
5274
5275         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
5276         2002-07-26 change.  Comment.
5277
5278 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5279
5280         * frv.c (frv_unique_section, frv_select_section,
5281         frv_select_rtx_section): Delete.
5282         (frv_in_small_data_p): New.
5283         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
5284         TARGET_ASM_SELECT_RTX_SECTION): Delete.
5285         (TARGET_IN_SMALL_DATA_P): Define.
5286
5287 2002-09-05  Dale Johannesen  <dalej@apple.com>
5288
5289         * reload1.c (reload):  Retain only those memory clobbers
5290         added for variable-array handling.
5291
5292 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
5293
5294         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
5295         return-in-memory rules.
5296         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
5297
5298 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
5299
5300         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
5301         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
5302
5303 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
5304
5305         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
5306         not a compile-time constant for the non-IBM case.
5307         * config/arm/arm-protos.h (arm_float_words_big_endian): New
5308         prototype.
5309         * config/arm/arm.c (arm_float_words_big_endian): New function.
5310         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
5311         if TARGET_VFP  and not TARGET_HARD_FLOAT.
5312         (ARM_FLAG_VFP, TARGET_VFP): Define.
5313         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
5314
5315 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
5316
5317         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
5318         URLs.  Fix AIX wording.
5319
5320 2002-09-05  Stan Shebs  <shebs@apple.com>
5321
5322         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
5323         -fPIC equivalent on Darwin.
5324
5325 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
5326
5327         * sh.c (sh_expand_builtin): Return early if encountering an
5328         error_mark for a type.
5329
5330 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
5331
5332         * config/s390/s390.c (s390_expand_plus_operand): Do not require
5333         double-word scratch register.
5334         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
5335
5336         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
5337         "*cli"): Replace s_operand by memory_operand.
5338         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
5339
5340 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
5341
5342         * config/h8300/h8300.c (asm_file_start): Add a missing
5343         semicolon.
5344
5345 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
5346
5347         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
5348         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
5349         (ix86_output_addr_diff_elt) Likewise.
5350         (x86_output_mi_thunk) Likewise.
5351         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
5352
5353 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5354
5355         * frv.c (frv_encode_section_info): Fix error in last change.
5356
5357 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
5358
5359         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
5360         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
5361         (TARGET_BINDS_LOCAL_P): Define.
5362         (rs6000_override_options): Save original flag_pic value.
5363         (rs6000_elf_select_section): Call default_elf_select_section_1.
5364         (rs6000_elf_unique_section): Call default_unique_section_1.
5365         (rs6000_elf_in_small_data_p): New function.
5366         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
5367         (rs6000_xcoff_select_section): Update based on defaults.
5368         (rs6000_xcoff_unique_section): Set to basic name if not common.
5369         (rs6000_binds_local_p): New function.
5370         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
5371         targetm.have_srodata_section if SDATA_EABI.
5372         (TARGET_IN_SMALL_DATA_P): Define.
5373
5374 2002-09-04  Dale Johannesen  <dalej@apple.com>
5375
5376         * varasm.c (struct rtx_const, decode_rtx_const):
5377         Make veclo and vechi fields not share storage.
5378
5379 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
5380
5381         * loop.c (scan_loop): Don't mark separate insns out of a libcall
5382         for moving.
5383         (move_movables): Abort if we see the first insn of a libcall.
5384
5385 2002-09-04  Richard Henderson  <rth@redhat.com>
5386
5387         * builtin-types.def (BT_FN_FLOAT): New.
5388         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
5389         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
5390         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
5391         * builtins.c (fold_builtin_inf): New.
5392         (fold_builtin): Call it.
5393         * real.c (ereal_inf): New.
5394         * real.h: Declare it.
5395         * doc/extend.texi: Document new builtins.
5396
5397 2002-09-04  Richard Henderson  <rth@redhat.com>
5398
5399         * cse.c (cse_insn): Avoid subreg games if the equivalence
5400         is already in the proper mode.
5401
5402 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
5403
5404         PR c/7102
5405         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
5406
5407 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5408
5409         * pa.md (setccfp0, setccfp1): New patterns.
5410
5411 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5412
5413         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
5414         frv_select_section, frv_select_rtx_section,
5415         frv_encode_section_info, frv_unique_section): Delete.
5416         * frv.c: Update for target hooks.
5417         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
5418         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
5419         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
5420
5421 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5422
5423         * ip2k-protos.h (function_prologue, function_epilogue,
5424         encode_section_info): Update to match target hook specification.
5425         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
5426         (function_prologue, function_epilogue, encode_section_info):
5427         Update to match target hook specification.
5428         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
5429         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
5430         (NOTICE_UPDATE_CC): Cast to void.
5431         * ip2k.md: Add defaults in switch statements.
5432
5433 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5434
5435         * doc/trouble.texi (Interoperation): Update information about C++ ABI
5436         issues.
5437
5438 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
5439
5440         * config/sparc/t-netbsd64: Disable multilib for now.
5441
5442 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
5443
5444         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
5445         * target.h (gcc_target): Add have_srodata_section member.
5446         * varasm.c (section_category): Add SECCAT_SRODATA.
5447         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
5448         READONLY_SDATA_SECTION defined.
5449         (decl_readonly_section_1): True for SECCAT_SRODATA also.
5450         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
5451         (default_unique_section_1): Likewise.
5452
5453 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5454
5455         * expr.c (emit_group_load): Revise to allow splitting TCmode source
5456         into DImode pieces.
5457
5458         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
5459         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
5460         for floating-point register class.
5461         * pa.c (function_arg): Fix handling of modes wider than one word for
5462         TARGET_64BIT.
5463
5464 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
5465
5466         * combine.c (make_compound_operation): Don't generate zero / sign
5467         extensions in floating point modes.
5468
5469 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5470
5471         * doc/c-tree.texi: Fix overfull hboxes.
5472         * doc/cppopts.texi: Ditto.
5473         * doc/extend.texi: Ditto.
5474         * doc/gty.texi: Ditto.
5475         * doc/invoke.texi: Ditto.
5476         * doc/makefile.texi: Ditto.
5477         * doc/rtl.texi: Ditto.
5478         * doc/standards.texi: Ditto.
5479         * doc/tm.texi: Ditto.
5480
5481 2002-09-04  Richard Henderson  <rth@redhat.com>
5482
5483         * c-common.c (builtin_define_with_hex_fp_value): New.
5484         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
5485
5486 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5487
5488         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
5489         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
5490         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
5491         Warn that these options can break ABI compatibility.
5492
5493 2002-09-04  Richard Henderson  <rth@redhat.com>
5494
5495         * real.c (ereal_to_decimal): Add digits parameter.
5496         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
5497         * c-pretty-print.c (pp_c_real_literal): Update call.
5498         * print-rtl.c (print_rtx): Likewise.
5499         * print-tree.c (print_node_brief, print_node): Likewise.
5500         * sched-vis.c (print_value): Likewise.
5501         * config/arc/arc.c (arc_print_operand): Likewise.
5502         * config/c4x/c4x.c (c4x_print_operand): Likewise.
5503         * config/i370/i370.h (PRINT_OPERAND): Likewise.
5504         * config/i386/i386.c (print_operand): Likewise.
5505         * config/i960/i960.c (i960_print_operand): Likewise.
5506         * config/ip2k/ip2k.c (asm_output_float): Likewise.
5507         * config/m32r/m32r.c (m32r_print_operand): Likewise.
5508         * config/m68hc11/m68hc11.c (print_operand): Likewise.
5509         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
5510         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
5511         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
5512         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
5513         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
5514         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5515         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
5516         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5517         * config/mips/mips.c (print_operand): Likewise.
5518         * config/ns32k/ns32k.c (print_operand): Likewise.
5519         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
5520         * config/vax/vax.h (PRINT_OPERAND): Likewise.
5521         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
5522
5523 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
5524
5525         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
5526         xtensa_multibss_section_type_flags.
5527         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
5528
5529 2002-09-04  Richard Henderson  <rth@redhat.com>
5530
5531         * doc/install-old.texi: Don't mention enquire.
5532         * doc/sourcebuild.texi: Update float.h description.
5533
5534 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
5535
5536         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
5537
5538 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
5539
5540         * varasm.c (default_section_type_flags): Append _1 to name with
5541         shlib parameter.  Use original name to call new function with
5542         implicit flag_pic.
5543         (decl_readonly_section): Likewise.
5544         (default_elf_select_section): Likewise.
5545         (default_unique_section): Likewise.
5546         (default_bind_local_p): Likewise.
5547         (categorize_decl_for_section): Add shlib parameter to use in place
5548         of implicit flag_pic.
5549         * output.h: Declare new functions with _1 and shlib argument.
5550
5551 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
5552
5553         * doc/install.texi: Fix typos, formatting problems, and obvious
5554         overfull/underfull boxes.
5555
5556         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
5557         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
5558         include its file, compat.texi.
5559         * doc/compat.texi: New file with new chapter, Binary Compatibility.
5560
5561 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
5562
5563         Debian BTS Bug #157416
5564         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
5565         * cpplib.c (destringize_and_run): Kludge around getting
5566         tokens from in-progress macros.
5567         (_cpp_do__Pragma): Simplify.
5568
5569 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
5570
5571         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
5572         (CPP_CPU_SPEC): Remove.
5573         (TARGET_CPU_CPP_BUILTINS): New.
5574         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
5575         (CPP_SPEC): Remove.
5576         (TARGET_OS_CPP_BUILTINS): New.
5577         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
5578         (TARGET_OS_CPP_BUILTINS): New.
5579         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
5580         TARGET_OS_CPP_BUILTINS.
5581         (CPP_PREDEFINES): Remove.
5582         (CPLUSPLUS_CPP_SPEC): Remove.
5583         (TARGET_OS_CPP_BUILTINS): New.
5584
5585 2002-09-03  Richard Henderson  <rth@redhat.com>
5586
5587         * Makefile.in (USER_H): Add ginclude/float.h.
5588         (FLOAT_H): Remove.
5589         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
5590         (mostlyclean): Don't remove float.h intermediate files.
5591         (distclean): Don't remove float.h.
5592         * config.gcc: Remove all float_format references.
5593         * configure.in (float_format, float_h_file): Remove.
5594
5595         * c-common.c: Include tree-inline.h.
5596         (builtin_define_with_int_value): New.
5597         (builtin_define_type_precision): Use it.
5598         (builtin_define_float_constants): New.
5599         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
5600         __FLT_EVAL_METHOD__.
5601         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
5602         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
5603         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
5604         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
5605         (TARGET_FLT_EVAL_METHOD): New.
5606
5607         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
5608         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
5609         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
5610         * ginclude/float.h: New.
5611
5612 2002-09-03  Stan Shebs  <shebs@apple.com>
5613
5614         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
5615         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
5616         (PREFERRED_DEBUGGING_TYPE): Ditto.
5617         (ASM_OUTPUT_IDENT): Remove empty definition.
5618
5619 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
5620
5621         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
5622         cxx_target.
5623         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
5624         handling routine for builtin pragma.
5625         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
5626         Registered pragma handling routine.
5627         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
5628         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
5629         If builtin pragma seen for math routine and C89 conformance is
5630         requested use different math function in order to set errno.
5631         * t-ia64 (ia64-c.o): Add new rule for new file.
5632
5633 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
5634
5635         * config/s390/s390.md ("movti"): Add Q->Q alternative.
5636         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
5637         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
5638
5639         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
5640         "*movsf_ss"): Remove.
5641
5642 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5643
5644         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
5645         Delete macros.
5646
5647 2002-09-03   Arati Dikey  <aratid@kpit.com>
5648
5649         * h8300.c (asm_file_start): Corrected optimization comment.
5650
5651 2002-09-03  Stan Shebs  <shebs@apple.com>
5652
5653         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
5654         * c-tree.h (recognize_objc_keyword): Remove decl.
5655         * c-typeck.c (comp_target_types): Update a comment.
5656
5657 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
5658
5659         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
5660         and register validity checks.
5661         (general_s_operand): Adapt to s390_decompose_address interface change.
5662         (q_constraint): Likewise.
5663         (s390_expand_plus_operand): Likewise.
5664         (legitimiate_address_p): Likewise.
5665         (legitimate_la_operand_p): Likewise.
5666         (legitimize_la_operand): Likewise.
5667         (print_operand_address): Likewise.
5668         (print_operand): Likewise.
5669
5670 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5671
5672         PR objc/5956:
5673         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
5674         was causing the new selector never to match the existing ones
5675         (Patch by Alexander Malmberg <alexander@malmberg.org>).
5676
5677 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
5678
5679         * config/i386/i386.md ("femms"): Add "memory" attr "none".
5680
5681 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
5682
5683         * expr.c (expand_expr): Remove extraneous comment and code.
5684
5685 2002-08-31  Richard Henderson  <rth@redhat.com>
5686
5687         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
5688
5689 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5690
5691         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
5692
5693 2002-08-30  Richard Henderson  <rth@redhat.com>
5694
5695         PR opt/7515
5696         * c-objc-common.c: Include target.h.
5697         (c_cannot_inline_tree_fn): Don't auto-inline functions that
5698         don't bind locally.  Factor setting DECL_UNINLINABLE.
5699         * Makefile.in (c-objc-common.o): Update.
5700
5701 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
5702
5703         * doc/install.texi (Configuration, Building): Fix a typo and
5704         some formatting directives.
5705
5706 2002-08-30  Paul Koning <pkoning@equallogic.com>
5707
5708         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
5709         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
5710         implemented" note.
5711         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
5712         for alphabetic order.
5713         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
5714         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
5715         (VAX_HALFWORD_ORDER): Document.
5716         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
5717         IEEE float format.
5718         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
5719         (ASM_OUTPUT_LABEL_REF): Fix font.
5720         (CASE_VECTOR_SHORTEN_MODE): Ditto.
5721
5722 2002-08-30  Denis Chertykov  <denisc@overta.ru>
5723
5724         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
5725         stuff.
5726         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
5727         CONST_DOUBLE constants.
5728
5729 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
5730
5731         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
5732         related defines to...
5733         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
5734         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
5735         as a no-op.
5736
5737 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
5738
5739         * config/arm/arm.c (arm_asm_output_labelref): New function.
5740         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
5741         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
5742
5743 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
5744
5745         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
5746         memory exhausted" workarounds.
5747
5748 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5749
5750         * diagnostic.c (fancy_abort): Don't repeat "internal error".
5751         * toplev.c (crash_signal): Likewise.
5752
5753 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5754
5755         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
5756         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
5757         Extended, updated documentation.
5758         (-Wundeclared-selector): Documented.
5759
5760 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
5761
5762         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
5763         the value 1.  Do not undef before defining.
5764         * config/darwin.h: Likewise.
5765         * config/dbx.h: Likewise.
5766         * config/dbxcoff.h: Likewise.
5767         * config/dbxelf.h: Likewise.
5768         * config/elfos.h: Likewise.
5769         * config/interix.h: Likewise.
5770         * config/lynx-ng.h: Likewise.
5771         * config/lynx.h: Likewise.
5772         * config/netware.h: Likewise.
5773         * config/psos.h: Likewise.
5774         * config/svr3.h: Likewise.
5775         * config/alpha/alpha.h: Likewise.
5776         * config/alpha/elf.h: Likewise.
5777         * config/alpha/vms.h: Likewise.
5778         * config/arc/arc.h: Likewise.
5779         * config/arm/aout.h: Likewise.
5780         * config/arm/coff.h: Likewise.
5781         * config/c4x/c4x.h: Likewise.
5782         * config/h8300/h8300.h: Likewise.
5783         * config/i386/cygwin.h: Likewise.
5784         * config/i386/djgpp.h: Likewise.
5785         * config/i386/gas.h: Likewise.
5786         * config/i386/gstabs.h: Likewise.
5787         * config/i386/i386-coff.h: Likewise.
5788         * config/i386/i386-interix.h: Likewise.
5789         * config/i386/sco5.h: Likewise.
5790         * config/i386/svr3dbx.h: Likewise.
5791         * config/i386/sysv3.h: Likewise.
5792         * config/i386/win32.h: Likewise.
5793         * config/i386/x86-64.h: Likewise.
5794         * config/i960/i960.h: Likewise.
5795         * config/ia64/ia64.h: Likewise.
5796         * config/ip2k/ip2k.h: Likewise.
5797         * config/m32r/m32r.h: Likewise.
5798         * config/m68k/3b1.h: Likewise.
5799         * config/m68k/3b1g.h: Likewise.
5800         * config/m68k/ccur-GAS.h: Likewise.
5801         * config/m68k/coff.h: Likewise.
5802         * config/m68k/hp2bsd.h: Likewise.
5803         * config/m68k/hp310g.h: Likewise.
5804         * config/m68k/hp320g.h: Likewise.
5805         * config/m68k/hp3bsd.h: Likewise.
5806         * config/m68k/hp3bsd44.h: Likewise.
5807         * config/m68k/linux-aout.h: Likewise.
5808         * config/m68k/m68k-aout.h: Likewise.
5809         * config/m68k/mot3300.h: Likewise.
5810         * config/m68k/netbsd.h: Likewise.
5811         * config/m68k/openbsd.h: Likewise.
5812         * config/m68k/pbb.h: Likewise.
5813         * config/m68k/plexus.h: Likewise.
5814         * config/m68k/sun2.h: Likewise.
5815         * config/m68k/sun3.h: Likewise.
5816         * config/m68k/tower-as.h: Likewise.
5817         * config/m68k/vxm68k.h: Likewise.
5818         * config/m88k/aout-dbx.h: Likewise.
5819         * config/m88k/m88k-aout.h: Likewise.
5820         * config/mcore/mcore-elf.h: Likewise.
5821         * config/mcore/mcore-pe.h: Likewise.
5822         * config/mips/elf.h: Likewise.
5823         * config/mips/elf64.h: Likewise.
5824         * config/mips/iris5gas.h: Likewise.
5825         * config/mips/iris6.h: Likewise.
5826         * config/mips/mips.h: Likewise.
5827         * config/mips/sni-gas.h: Likewise.
5828         * config/mmix/mmix.h: Likewise.
5829         * config/ns32k/netbsd.h: Likewise.
5830         * config/pa/pa64-hpux.h: Likewise.
5831         * config/romp/romp.h: Likewise.
5832         * config/rs6000/sysv4.h: Likewise.
5833         * config/rs6000/xcoff.h: Likewise.
5834         * config/sh/coff.h: Likewise.
5835         * config/sh/elf.h: Likewise.
5836         * config/sparc/linux64.h: Likewise.
5837         * config/sparc/liteelf.h: Likewise.
5838         * config/sparc/netbsd.h: Likewise.
5839         * config/sparc/openbsd.h: Likewise.
5840         * config/sparc/pbd.h: Likewise.
5841         * config/sparc/sp64-elf.h: Likewise.
5842         * config/sparc/sp86x-elf.h: Likewise.
5843         * config/sparc/sparc.h: Likewise.
5844         * config/vax/vax.h: Likewise.
5845         * config/vax/vaxv.h: Likewise.
5846
5847 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
5848
5849         * h8300.c (shift_alg_hi): Various tweaks to improve performance
5850         of HImode shifts.
5851         (get_shift_alg): Corresponding changes.
5852
5853 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5854
5855         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
5856
5857 2002-08-29  Richard Henderson  <rth@redhat.com>
5858
5859         * expr.h (enum block_op_methods): New.
5860         (emit_block_move): Update prototype.
5861         * expr.c (block_move_libcall_safe_for_call_parm): New.
5862         (emit_block_move_via_loop): New.
5863         (emit_block_move): Use them.  New argument METHOD.
5864         (emit_push_insn): Always respect the given alignment.
5865         (expand_assignment): Update call to emit_block_move.
5866         (store_expr, store_field, expand_expr): Likewise.
5867         * builtins.c (expand_builtin_apply): Likewise.
5868         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5869         * function.c (expand_function_end): Likewise.
5870         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
5871         * config/sparc/sparc.c (sparc_va_arg): Likewise.
5872         * calls.c (expand_call, emit_library_call_value_1): Likewise.
5873         (save_fixed_argument_area): Use emit_block_move with
5874         BLOCK_OP_CALL_PARM instead of move_by_pieces.
5875         (restore_fixed_argument_area): Likewise.
5876         (store_one_arg): Fix alignment parameter to emit_push_insn.
5877
5878 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5879
5880         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
5881
5882 2002-08-29  Catherine Moore  <clm@redhat.com>
5883
5884         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
5885         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
5886         (PREDICATE_CODES): Include new predicates.
5887         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
5888         (TARGET_SWITCHES):  Add strict-align.
5889         (TARGET_STRICT_ALIGN): New.
5890         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
5891         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
5892         Define.
5893         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
5894         v850_muldi3.
5895         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
5896         L_callt_save_r2_r31, L_return_r2_r31,
5897         L_save_all_interrupt): Change addi to add.
5898         (L_save_interrupt, L_return_interrupt): Rework.
5899         (__return_r31):  Correct .size directive.
5900         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
5901         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
5902         New routines.
5903         * config/v850/v850.c (expand_prologue): Call
5904         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
5905         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
5906         (reg_or_int9_operand): New predicate.
5907         (reg_or_const_operand): New routine.
5908         * config/v850/v850.md (return_interrupt): Changed from
5909         restore_interrupt.
5910         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
5911         (callt_save_interrupt): Change save sequence.
5912         (callt_return_interrupt): New.
5913         (save_interrupt): Don't use runtime function for LONG_CALLS
5914         and TARGET_PROLOG_FUNCTION.
5915         (save_all_interrupt): Likewise.
5916         (mulsi3): Use new predicate.
5917         (moviscc): Disallow some combination of constants.
5918         Fix define_split for sasf insns, so that it will not generate bad
5919         code if operand0 and operand5 are the same.
5920         * config/v850/v850-protos.h: Prototype new predicates.
5921
5922 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5923
5924         * c-common.c (builtin_define_type_precision): New function.
5925         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
5926         wchar_t is unsigned in C++.
5927         * doc/cpp.texi (Common Predefined Macros): Document
5928         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
5929         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
5930         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
5931
5932 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
5933
5934         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
5935         section.  Mention that it is enabled by -Wall.
5936         (-Wall): Mention that there can be language-specific warnings as well.
5937         (-Wctor-dtor-privacy): Mention that it is enabled by default.
5938         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
5939
5940 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
5941
5942         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
5943         if it is ever live.
5944
5945         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
5946         attribute for SHCOMPACT.
5947
5948         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
5949         appropriately.
5950         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
5951         by the ABI.
5952
5953         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
5954
5955 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
5956
5957         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
5958         "MASK_GAS|MASK_ABICALLS".
5959         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
5960         (TARGET_DEFAULT): Remove.
5961         (MACHINE_TYPE): Undefine before defining.
5962         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
5963
5964 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
5965
5966         * c-common.c (warn_abi): New variable.
5967         * c-common.h (warn_abi): Likewise.
5968         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
5969         (c_common_decode_option): Handle it.
5970         * doc/invoke.texi: Document -Wabi.
5971
5972 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5973
5974         * c-common.c (warn_undeclared_selector): New variable.
5975         * c-common.h (warn_undeclared_selector): Idem.
5976         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
5977         to on when -Wundeclared-selector is found.
5978         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
5979         * objc/objc-act.c (build_selector_expr): If
5980         warn_undeclared_selector is set, check that the selector has
5981         already been defined, and emit a warning if not.
5982
5983 2002-08-27  Nick Clifton  <nickc@redhat.com>
5984             Catherine Moore  <clm@redhat.com>
5985             Jim Wilson  <wilson@cygnus.com>
5986
5987         * config.gcc: Add v850e-*-* target.
5988         Add --with-cpu= support for v850.
5989         * config/v850/lib1funcs.asm: Add v850e callt functions.
5990         * config/v850/v850.h: Add support for v850e target.
5991         * config/v850/v850.c: Add functions to support v850e target.
5992         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
5993         * config/v850/v850.md: Add patterns for v850e instructions.
5994         * doc/invoke.texi: Document new v850e command line switches.
5995
5996 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
5997                           Aldy Hernandez <aldyh at redhat dot com>
5998
5999         * doc/tm.texi: Applied numerous fixes to the automaton based
6000         scheduler descrition.
6001
6002 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
6003
6004         * i386.c (classify_argument): Handle variable sized objects.
6005
6006 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
6007
6008         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
6009
6010 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
6011
6012         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
6013
6014 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
6015
6016         * i386.c (classify_argument): Properly compute word size of the analyzed object.
6017
6018 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
6019
6020         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
6021         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
6022         accordingly.
6023         (attribute insn_class): Provide default definitions based on type.
6024         Remove all insn-specific settings.
6025         (various function units): Remove old SH4 scheduling.
6026         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
6027         New attributes.  Set them where appropriate.
6028         (cpu unit FS): Don't define / use.
6029         (F3, load_store): New cpu units.
6030         (F01): New reservation.
6031         (all insn_reservations): Make dependent on sh4 pipeline model.
6032         Fix latencies.
6033         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
6034         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
6035         (mt insn_reservation): Use type mt_group.
6036         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
6037         sh4_fload and sh4_store.
6038         (insn_reservation branch_zero and branch): Replace with sh4_branch.
6039         (insn_reservation branch_far): Replace with sh4_return.
6040         (insn_reservation return_from_exp): Rename to:
6041         (sh4_return_from_exp).  Change to be just d_lock*5.
6042         (insn_reservation lds_to_pr): Rename to:
6043         (sh4_lds_to_pr).  Change to be just d_lock*2.
6044         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
6045         d_lock*2.
6046         (insn_reservation prload_mem): Rename to:
6047         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
6048         (insn_reservation fpscr_store): Rename to:
6049         (fpscr_load).  Change to d_lock,nothing,F1*3.
6050         (insn_reservation fpscr_store_mem): Rename to:
6051         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
6052         (insn_reservation multi): Change to
6053         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
6054         (insn_reservation fp_arith): Change to issue,F01,F2.
6055         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
6056         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
6057         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
6058         (insn_reservation fp_double_cmp): Change to
6059         d_lock,(d_lock+F01),F1+F2,F2.
6060         (insn_reservation dp_div): Change to
6061         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
6062         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
6063         (sh_adjust_cost, SHcompact): Differentiate between different
6064         kinds of dependencies.  Drop factor of ten for superscalar.
6065         Use new instruction types.  Add new exception rules.
6066
6067         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
6068
6069         * sh.md (mperm_w): Add DONE.
6070
6071 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
6072
6073         * longlong.h: Import current PowerPC defintion from GMP-4.1.
6074
6075         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
6076
6077         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
6078
6079 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
6080
6081         * sh.h (MAX_FIXED_MODE_SIZE): Define.
6082
6083 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
6084
6085         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
6086         delimiter.
6087
6088 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6089
6090         * c-common.c (cpp_define_data_format): New function.
6091         (cb_register_builtins): Call it.
6092
6093         * doc/cpp.texi (Common Predefined Macros): Document
6094         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
6095         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
6096         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
6097         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
6098         __TARGET_USES_VAX_H_FLOAT__.
6099
6100 2002-08-26  Ziemowit Laski <zlaski@apple.com>
6101
6102         * objc/objc-act.c (get_super_receiver): If inside a class method
6103         of a category, cast the receiver to 'id' before accessing the 'isa'
6104         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
6105
6106 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
6107
6108         * config/s390/s390-protos.h (s390_function_prologue,
6109         s390_function_epilogue): Remove.
6110         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
6111         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
6112
6113         config/s390/s390.c (s390_machine_dependent_recorg): New function.
6114         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
6115         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
6116         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
6117         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
6118
6119         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
6120         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
6121         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
6122         function is not a leaf function.  Use save_gprs and restore_gprs.
6123         (s390_emit_epilogue): Likewise.
6124         (save_gprs, restore_gprs): New functions.
6125         (struct s390_frame): Remove return_reg_saved_p member.
6126         (save_fprs_p): Remove.
6127         (s390_optimize_prolog): New function.
6128         (s390_legitimate_reload_constant): Remove now unnecessary check.
6129
6130         (s390_function_count): Remove.
6131         (s390_output_symbolic_const): Replace s390_function_count by
6132         current_function_funcdef_no.
6133         (s390_output_constant_pool): Likewise.
6134
6135         (legitimize_pic_address): Use regs_ever_live to track PIC register
6136         instead of current_function_uses_pic_offset_table.
6137         (s390_emit_prologue): Likewise.
6138         config/s390/s390.md ("call", "call_value"): Likewise.
6139
6140 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
6141
6142         * c-opts.c (find_opt): Don't complain about wrong languages
6143         here.  Return exact matches even for wrong language.
6144         (c_common_decode_option): Complain about wrong languages
6145         here.
6146
6147 2002-08-24  Stuart Hastings  <stuart@apple.com>
6148
6149         * function.h (struct function): Add flag
6150         all_throwers_are_sibcalls.
6151         * except.c (set_nothrow_function_flags): Replaces
6152         nothrow_function_p. Set new flag.
6153         * except.h (set_nothrow_function_flags): Replaces
6154         nothrow_function_p.
6155         * dwarf2out.c (struct dw_fde_struct): Add flag
6156         all_throwers_are_sibcalls.
6157         (output_call_frame_info): Test it.
6158         (dwarf2out_begin_prologue) Propagate it from cfun to
6159         dw_fde_struct.
6160         * toplev.c (rest_of_compilation): Update calls to
6161         nothrow_function_p.
6162
6163 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
6164
6165         * ggc-page.c (compute_inverse): Short circuit calculation for
6166         object sizes larger than half a page.
6167
6168 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
6169
6170         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
6171         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
6172         default.
6173         (rs6000_elf_unique_section): Likewise.
6174
6175 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6176
6177         * ns32k.c (ns32k_globalize_label): Delete.
6178         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
6179
6180 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
6181
6182         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
6183         for loading delta with num_insns_constant_wide.  Calculate
6184         delta_low, delta_high without using a conditional.
6185
6186 2002-08-22  Jason Merrill  <jason@redhat.com>
6187
6188         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
6189         * c-common.def: Adjust.
6190         * c-dump.c (c_dump_tree): Adjust.
6191         * c-semantics.c (genrtl_return_stmt): Adjust.
6192         * c-pretty-print.c (pp_c_statement): Adjust.
6193         * tree-inline.c (copy_body_r): Adjust.
6194
6195 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
6196
6197         * ggc-page.c: Avoid division in ggc_set_mark.
6198         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
6199         compute_inverse): New.
6200         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
6201         (init_ggc): Initialize inverse_table.
6202
6203 2002-08-22  Tom Tromey  <tromey@redhat.com>
6204
6205         * doc/install.texi (Configuration): Document --datadir.
6206
6207 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
6208
6209         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
6210
6211 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
6212
6213         * gengtype-lex.l (ID): Allow underscore as first character.
6214
6215 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
6216
6217         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
6218         function.
6219         (rs6000_xcoff_asm_named_section): Rename.
6220         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
6221
6222 2002-08-21  Tom Tromey  <tromey@redhat.com>
6223
6224         For PR java/6005 and PR java/7611:
6225         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
6226         (fold): Likewise.
6227         * langhooks.c (lhd_can_use_bit_fields_p): New function.
6228         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
6229         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
6230         (LANG_HOOKS_INITIALIZER): Use it.
6231         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
6232         field.
6233
6234 2002-08-21  Stan Shebs  <shebs@apple.com>
6235
6236         * tree.c (finish_vector_type): Fix a typo in a comment.
6237         * Makefile.in: Fix "the the" stutters in comments.
6238         * genautomata.c: Ditto.
6239         * ifcvt.c: Ditto.
6240         * regrename.c: Ditto.
6241         * config/alpha/alpha.c: Ditto.
6242         * config/alpha/vms-crt0-64.c: Ditto.
6243         * config/alpha/vms-crt0.c: Ditto.
6244         * config/alpha/vms-psxcrt0-64.c: Ditto.
6245         * config/alpha/vms-psxcrt0.c: Ditto.
6246         * config/d30v/d30v.h: Ditto.
6247         * config/fr30/fr30.h: Ditto.
6248         * config/rs6000/rs6000.c: Ditto.
6249         * config/stormy16/stormy16.h: Ditto.
6250         * doc/md.texi: Ditto.
6251
6252 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6253
6254         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
6255
6256 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
6257
6258         * c-decl.c (grokdeclarator): Make invalid combinations with long,
6259         short, signed or unsigned into hard errors.  Fixes PR c/4319.
6260         Also make duplicate modifiers such as "short short" into hard
6261         errors.
6262
6263 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
6264             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6265
6266         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
6267         to the actual end.  Add '@end table' and '@table @code'.
6268
6269 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
6270
6271         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
6272
6273         * unroll.c (biv_total_increment): Don't try to compute the total
6274         increment for FP BIVs.
6275
6276 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6277
6278         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
6279         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
6280         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6281         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
6282         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
6283         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
6284         (GLOBAL_ASM_OP): Define.
6285         * arm.c (aof_globalize_label): New function.
6286         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
6287         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6288         * c4x.c (c4x_globalize_label): New function.
6289         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
6290         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
6291         (GLOBAL_ASM_OP): Define.
6292         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
6293         * darwin-protos.h (darwin_globalize_label): Declare.
6294         * darwin.c (darwin_globalize_label): New function.
6295         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
6296         (ASM_GLOBALIZE_LABEL): Delete.
6297         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
6298         * dsp16xx.c (asm_output_common): Use target hook.
6299         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6300         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
6301         (GLOBAL_ASM_OP): Define.
6302         * i370.c (i370_globalize_label): New function.
6303         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
6304         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
6305         * i386.c (ix86_asm_file_end): Use target hook.
6306         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
6307         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
6308         * ia64.c (ia64_asm_output_external): Likewise.
6309         * ia64/sysv4.h: Update comment.
6310         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6311         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
6312         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
6313         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
6314         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
6315         * mmix-protos.h (mmix_asm_globalize_label): Delete.
6316         * mmix.c (mmix_asm_globalize_label): Likewise.
6317         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
6318         (GLOBAL_ASM_OP): Define.
6319         * ns32k.c (ns32k_globalize_label): New function.
6320         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
6321         (ASM_GLOBALIZE_LABEL): Delete.
6322         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
6323         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
6324         * pa.c (pa_globalize_label): New function.
6325         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
6326         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
6327         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
6328         (GLOBAL_ASM_OP): Define.
6329         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
6330         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6331         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
6332         (GLOBAL_ASM_OP): Define.
6333         * v850.c (v850_output_aligned_bss): Use target hook.
6334         * vax.c (vms_globalize_label): New function.
6335         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
6336         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
6337         (GLOBAL_ASM_OP): Define.
6338         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
6339         * doc/tm.texi: Update docs.
6340         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
6341         target hook.
6342         * final.c (output_alternate_entry_point): Likewise.
6343         * hooks.c (hook_FILEptr_constcharptr_void): New function.
6344         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
6345         * output.h (assemble_global): Delete.
6346         (default_globalize_label): Declare.
6347         * system.h (ASM_GLOBALIZE_LABEL): Poison.
6348         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
6349         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
6350         * target.h (gcc_target): Add globalize_label member.
6351         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6352         globalize_decl): Use target hook.
6353         (assemble_global): Delete.
6354         (default_globalize_label): New function.
6355
6356 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6357
6358         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
6359
6360 2002-08-20  Devang Patel  <dpatel@apple.com>
6361         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
6362
6363 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6364
6365         * arc.c (output_shift): Use stdio instead of asm_fprintf.
6366         * arm.c (thumb_output_function_prologue): Likewise.
6367         * avr.c (print_operand): Likewise.
6368         * c4x.c (c4x_print_operand): Likewise.
6369         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
6370         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
6371         * cris.c (cris_target_asm_function_prologue,
6372         cris_asm_output_mi_thunk): Likewise.
6373         * h8300.c (print_operand): Likewise.
6374         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6375         * ip2k.c (print_operand): Likewise.  Fix format specifier.
6376         * m68hc11.c (asm_print_register, print_operand,
6377         print_operand_address): Use stdio instead of asm_fprintf.
6378         (print_operand_address): Fix format specifier.
6379         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
6380         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
6381         asm_fprintf.
6382         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6383         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6384         * m68k.c (m68k_output_function_prologue,
6385         m68k_output_function_epilogue, print_operand): Likewise.
6386         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
6387         Likewise.  Fix format specifier.
6388         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6389         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6390         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6391
6392 2002-08-15  Eric Christopher  <echristo@redhat.com>
6393             Jeff Knaggs  <jknaggs@redhat.com>
6394
6395         * config.gcc (mipsisa64sr71k-elf): New target.
6396         * config/mips/sr71k.md: New file.
6397         * config/mips/mips.md: Use it.
6398         (rot*): Add sr71k specifics.
6399         * config/mips/t-sr71k: New file.
6400         * config/mips/mips.h (sr71k): New cpu.
6401         (TARGET_SR71K): Use it.
6402         (TUNE_SR71K): Ditto.
6403         (GENERATE_BRANCHLIKELY): Ditto.
6404         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
6405         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
6406         * config/mips/mips.c (sr71k): New cpu.
6407         (mips_use_dfa_pipeline_interface): Use.
6408
6409 2002-08-15  Eric Christopher  <echristo@redhat.com>
6410             Richard Sandiford <rsandifo@redhat.com>
6411             Aldy Hernandez  <aldyh@redhat.com>
6412             Graham Stott    <grahams@redhat.com>
6413             Michael Meissner  <meissner@redhat.com>
6414             Gavin Romig-Koch  <gavin@redhat.com>
6415             Ken Raeburn  <raeburn@cygnus.com>
6416             Alexandre Oliva <aoliva@redhat.com>
6417
6418         * config.gcc (mips64vr-elf): New target.
6419         * config/mips/5400.md: New file.
6420         * config/mips/5500.md: Ditto.
6421         * config/mips/mips.md: Use them.
6422         (frsqrt): New.
6423         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
6424         cpus.
6425         (mips_issue_rate): Use them.
6426         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
6427         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
6428         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
6429         cpus.
6430         (TARGET_MIPSx): Use them.
6431         (TUNE_MIPSx): Ditto.
6432         (GETNATE_MULT3_SI): Ditto.
6433         (ISA_HAS_BRANCHLIKELY): Ditto.
6434         (ISA_HAS_CONDMOVE): Ditto.
6435         (ISA_HAS_NMADD_NMSUB): Ditto.
6436         (ISA_HAS_MULHI): New. Ditto.
6437         (ISA_HAS_MULS): Ditto.
6438         (ISA_HAS_MSAC): Ditto.
6439         (ISA_HAS_MACC): Ditto.
6440         (ISA_HAS_ROTR_SI): Ditto.
6441         (ISA_HAS_ROTR_DI): Ditto.
6442         (RTX_COSTS): Use.
6443
6444 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6445
6446         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
6447         at head.
6448         (remove_dup_nonsys_dirs): New function.
6449         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
6450         (merge_include_chains): Remove non-system include directories from
6451         quote and bracket include chains when they duplicate equivalent system
6452         directories.
6453         * doc/cpp.texi (-I): Update.
6454         * doc/cppopts.texi (-I): Update.
6455         * doc/install.texi (--with-local-prefix): Further document usage of
6456         this option.
6457         * doc/invoke.texi (-I): Update.
6458
6459 2002-08-20  Richard Henderson  <rth@redhat.com>
6460
6461         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
6462         (emit_block_move): Split out subroutines.
6463         (emit_block_move_via_movstr): New.
6464         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
6465         (emit_block_move_libcall_fn): New.  Construct function prototype for
6466         bcopy as well.
6467         (clear_storage): Split out subroutines.
6468         (clear_storage_via_clrstr): New.
6469         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
6470         (clear_storage_libcall_fn): New.  Construct function prototype for
6471         bzero as well.
6472         (emit_push_insn): Use emit_block_move.
6473         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
6474         (store_constructor): Likewise.
6475
6476 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
6477
6478         * objc/objc-act.c (building_objc_message_expr): Rename to
6479         current_objc_message_selector.
6480
6481 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
6482
6483         * objc/objc-act.c (build_ivar_chain): Remove.
6484         (objc_copy_list): Likewise.
6485         (get_class_ivars): Inline call to removed build_ivar_chain
6486         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
6487         slot; use that slot (rather than CLASS_IVARS) when accessing
6488         ivars for base classes.  Call copy_list and chainon instead of
6489         objc_copy_list.
6490         (build_private_template): Call get_class_ivars instead of
6491         build_ivar_chain.
6492         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
6493         (continue_class): Call get_class_ivars instead of
6494         build_ivar_chain.
6495         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
6496         of DECL_BIT_FIELD (which may have been cleared).
6497         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
6498
6499 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6500
6501         * genautomata.c (output_translate_vect, output_state_ainsn_table,
6502         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
6503         in output file.
6504         (output_internal_min_issue_delay_func): Initialize variable in
6505         output file.
6506
6507 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
6508
6509         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
6510         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
6511
6512 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
6513             Steve Ellcey  <sje@cup.hp.com>
6514
6515         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
6516         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
6517         * explow.c (trunc_int_for_mode): Abort when the mode is not
6518         a scaler integer mode.
6519         * combine.c (expand_compound_operation): Don't expand Vector
6520         or Complex modes into shifts.
6521         (expand_field_assignment): Don't do bitwise arithmatic and
6522         shifts on Vector or Complex modes.
6523         (simplify_comparison): Don't call trunc_int_for_mode
6524         for VOIDmode.
6525         * recog.c (general_operand): Likewise.
6526         (immediate_operand): Likewise.
6527         (nonmemory_operand): Likewise.
6528
6529 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
6530
6531         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
6532         multi-instruction SImode constant.  Add REG_EQUAL note.
6533         * config/rs6000/rs6000.md (movsi splitter): Use
6534         rs6000_emit_set_const.
6535
6536 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6537
6538         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
6539         the macro test controlling its use.
6540
6541 2002-08-18  H.J. Lu  (hjl@gnu.org)
6542
6543         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
6544         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
6545         gnu_ld=yes.
6546         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
6547         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
6548         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
6549         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
6550         here.
6551         (cris-*-linux*): Remove setting thread_file here.
6552
6553 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
6554
6555         PR preprocessor/7602
6556         * cppinit.c (path_include): Treat the system environment
6557         variables as being cxx_aware.
6558
6559 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
6560
6561         * c-decl.c (flexible_array_type_p): New function.
6562         (grokdeclarator, finish_struct): Use it.
6563         * doc/extend.texi: Document constraints on use of structures with
6564         flexible array members.
6565
6566 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
6567
6568         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
6569         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
6570         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
6571
6572 2002-08-16  Stan Shebs  <shebs@apple.com>
6573
6574         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
6575         for ObjC with -fnext-runtime.
6576         * doc/cpp.texi: Document it.
6577
6578 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
6579
6580         * doc/install.texi (Final installation): Replace links to individual
6581         build status pages with a link to a common page that lists them all.
6582
6583 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
6584
6585         * doc/invoke.texi: Fix typo.
6586
6587 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
6588
6589         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
6590
6591 2002-08-16  Andrew Haley  <aph@redhat.com>
6592
6593         * tree-inline.c: Add includes for Java inliner.
6594         (remap_decl): Don't handle anonymous types for Java.
6595         (remap_block): Add handling for Java trees.
6596         (copy_scope_stmt): Conditionalize for non-Java use only.
6597         (copy_body_r): Handle Java trees.  Add handling for
6598         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
6599         (initialize_inlined_parameters):  Handle Java trees.
6600         (declare_return_variable): Likewise.
6601         (expand_call_inline): Handle Java trees.
6602         (walk_tree): Likewise.
6603         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
6604         (add_stmt_to_compound): New function.
6605
6606 2002-08-15  Richard Henderson  <rth@redhat.com>
6607
6608         * Makefile.in (LOOSE_WARN): Remove -fno-common.
6609         (NOCOMMON_FLAG): New substitution point.
6610         (GCC_WARN_CFLAGS): Include it.
6611         * configure.in (ac_checking): Set nocommon_flag.
6612         (nocommon_flag): New substitution point.
6613
6614 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
6615
6616         * c-tree.h (skip_evaluation): Move declaration...
6617         * c-common.h: ... here.
6618         * c-typeck.c (build_external_ref): Don't assemble_external nor
6619         mark a tree as used if skip_evaluation is set.
6620         * c-parse.in (typeof): New non-terminal to set skip_evaluation
6621         around TYPEOF.
6622         (typespec_nonreserved_nonattr): Use it.
6623
6624 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
6625
6626         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
6627         (xcoff_debug_hooks): Update end_prologue.
6628         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
6629         * debug.h (end_prologue): Add file arg.
6630         (end_epilogue): Add line and file args.
6631         (dwarf2out_end_epilogue): Add line and file args.
6632         (vmsdbgout_after_prologue): Remove.
6633         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
6634         (dwarf2_debug_hooks): Update end_prologue.
6635         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
6636         (dwarfout_end_prologue): Add file arg.
6637         * final.c (vmsdbgout_after_prologue): Remove
6638         (final_end_function): Update end_epilogue call.
6639         (final_scan_insn): Update end_prologue call.
6640         * sdbout.c (sdbout_end_epilogue): Add line and file args.
6641         (sdbout_end_prologue): Add file arg.
6642         (sdb_debug_hooks): Update end_prologue.
6643         (sdb_begin_prologue): Update sdbout_end_prologue call.
6644         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
6645         vmsdbgout_end_function.
6646         (vmsdbgout_end_prologue): New function renamed from
6647         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
6648         (vmsdbgout_end_function): New function.
6649         (vmsdbgout_end_epilogue): Add line and file args. Call
6650         vmsdbgout_source_line.
6651         (write_pclines): Write only valid line numbers.
6652         (write_srccorr): Don't write source correlation records if 0 lines.
6653         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
6654
6655 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
6656
6657         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
6658         (_Unwind_Internal_Ptr): 32 bit version for use in
6659         read_encoded_value_with_base.
6660         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
6661         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
6662         right size.
6663
6664 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6665
6666         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
6667         signed/unsigned warnings.
6668
6669         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
6670         record_reg_classes): Likewise.
6671
6672         * reload.c (reload_inner_reg_of_subreg, push_reload,
6673         find_reloads_address_1): Likewise.
6674
6675 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
6676
6677         * rs6000.c (output_mi_thunk): Return to function section on
6678         TARGET_ELF.
6679
6680         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
6681
6682 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
6683
6684         * config/s390/s390.c (legitimize_address): Optimize loading
6685         of large displacements.
6686
6687 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
6688
6689         * config/alpha/alpha-protos.h: Update.
6690
6691         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
6692         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
6693         (alpha_linkage_symbol_p): New static function.
6694         (print_operand_address): Print linkage operand.
6695
6696         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
6697         variables.
6698         (reloc_kind): New enum.
6699         (struct alpha_funcs): New struct.
6700         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
6701
6702         (alpha_need_linkage): Rewrite.
6703         (alpha_use_linkage): New global function.
6704         (alpha_write_linkage): Rewrite and make static.
6705         (alpha_write_one_linkage): Rewrite
6706
6707         (alpha_start_function): Remove procedure descriptor output.
6708         (alpha_end_function): Write linkages at end of each function.
6709
6710         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
6711         (call_vms_1, call_value_vms_1): Rewrite.
6712
6713         * config/alpha/vms.h (ASM_FILE_END): Remove.
6714
6715 2002-08-14  Richard Henderson  <rth@redhat.com>
6716
6717         * ggc-page.c (RTL_SIZE): New.
6718         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
6719         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
6720
6721 2002-08-14  Richard Henderson  <rth@redhat.com>
6722
6723         * calls.c: Include target.h.
6724         * Makefile.in (calls.o): Update.
6725
6726         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
6727         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
6728
6729 2002-08-14  Richard Henderson  <rth@redhat.com>
6730
6731         * Makefile.in (LOOSE_WARN): Add -fno-common.
6732         * c-common.h (constant_string_class_name): Add missing extern.
6733
6734 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
6735
6736         PR preprocessor/7358
6737         * c-opts.c (check_deps_environment_vars): Ignore main file
6738         for SUNPRO_DEPENDENCIES.
6739         * cppfiles.c (stack_include_file): Ignore main file if
6740         appropriate.
6741         * cpplib.h (struct cpp_options): New member in deps.
6742         * doc/cppenv.texi: Update.
6743
6744 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6745
6746         PR preprocessor/7526
6747         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
6748
6749 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
6750
6751         * doc/invoke.texi (-a): Remove documentation.
6752         (-fprofile-arcs): Remove reference to -a, -ax options.
6753         * doc/gcov.texi (Gcov Data Files): Data might be merged.
6754
6755 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6756
6757         Fix PR/7566
6758         * c-semantics.c (genrtl_case_label): Don't (mis)use
6759         warning_with_decl.
6760
6761 2002-08-14  Dale Johannesen  <dalej@apple.com>
6762
6763         * explow.c (emit_stack_restore):  Emit memory clobbers
6764         preceding the stack pop, to prevent the scheduler from
6765         moving refs to variable arrays below this pop.
6766         * reload1.c (reload):  Preserve these clobbers for sched2.
6767         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
6768
6769 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6770
6771         * c-opts.c (c_common_post_options): Correct test.
6772
6773 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6774
6775         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
6776         order in call to fprintf.
6777
6778 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6779
6780         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
6781
6782 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
6783
6784         * reload.c (find_reloads): Handle constraint letters marked by
6785         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
6786         (alternative_allows_memconst): Likewise.
6787         * reload1.c (maybe_fix_stack_asms): Likewise.
6788         * recog.c (asm_operand_ok, preprocess_constraints,
6789         constrain_operands): Likewise.
6790         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
6791         * local-alloc.c (block_alloc, requires_inout): Likewise.
6792         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
6793
6794         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
6795         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
6796         * doc/tm.texi: Document these two new target macros.
6797
6798         * config/s390/s390.c (s390_expand_plus_operand): Accept already
6799         valid operands.
6800         (q_constraint): New function.
6801         config/s390/s390-protos.h (q_constraint): Declare it.
6802         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
6803         (EXTRA_MEMORY_CONSTRAINT): New macro.
6804
6805         * config/s390/s390.md: Throughout the machine description,
6806         replace all instances of the constraint combinations 'Qo'
6807         or 'oQ' with simply 'Q'.
6808
6809 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6810
6811         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
6812         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
6813         (LIBGCC2_CFLAGS): Compile with -mrelax.
6814
6815 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6816
6817         * doc/invoke.texi: Document -minmax for 68HC12.
6818
6819         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
6820         ("uminqi3"): Likewise.
6821         ("uminhi3", "umaxhi3"): Likewise.
6822
6823         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
6824         (TARGET_MIN_MAX): Define.
6825         (TARGET_SWITCHES): New option -minmax/-mnominmax.
6826
6827 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6828
6829         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
6830         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
6831
6832         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
6833         (ret, declare, farsym): New gas macros.
6834         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
6835         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
6836         and declare the symbol far when compiled with -mlong-calls.
6837         (__far_trampoline): New for 68HC12 trampoline code to invoke a
6838         far handler using jsr/bsr.
6839
6840         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
6841         (jsr): New macro to transform a 'jsr' into a 'call'.
6842
6843 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6844
6845         * doc/invoke.texi: Document -mlong-calls for 68HC12.
6846
6847         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
6848         -mlong-calls is specified.
6849         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
6850         assembler directives.
6851         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
6852         (TARGET_SWITCHES): Add -mlong-calls options.
6853         (current_function_far): Declare.
6854
6855         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
6856         into account the page register saved on the stack.
6857         (m68hc11_override_options): Take into account -mlong-calls option.
6858         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
6859
6860         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
6861         if the function is going to be in 68HC12 banked memory (-mlong-calls).
6862         ("*return_16bit"): Likewise.
6863         ("*return_void"): Likewise.
6864         ("call", "call_value"): Use call for a far function call.
6865
6866 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6867
6868         * toplev.c (parse_options_and_default_flags): Don't call
6869         post_options here.
6870         (general_init): Initialize GC, pools and tree hash here,
6871         instead of lang_independent_init.
6872         (lang_independent_init): Rename backend_init.
6873         (do_compile): Call post_options hook; exit early if there
6874         have been errors after switch processing.
6875         (toplev_main): Update.
6876
6877 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6878
6879         * c-pretty-print.h: Guard against multiple inclusion.
6880         Robustify macros.
6881         (pp_c_attributes): Declare.
6882         * c-pretty-print.c (pp_c_attributes): New function.
6883
6884 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6885
6886         * m68k.c (m68k_output_function_prologue,
6887         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
6888         and NEWS/MOTOROLA.
6889         * genattrtab.c: Remove dpx2 comment.
6890         * libgcc2.c (__enable_execute_stack): Delete versions for
6891         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
6892         sony_news/SYSTYPE_BSD.
6893         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
6894         __gmicro__, __i860__, __NeXT__ and __pyr__.
6895         * rtl.h: Remove convex comment.
6896         * varasm.c: Likewise.
6897
6898 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6899
6900         * c-opts.c (lang_flags): Const-ify.
6901         * ra-build.c (undef_table): Likewise.
6902         * ra.c (eliminables): Likewise.
6903
6904 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6905
6906         * tree.h: Guard against multiple inclusion.
6907
6908 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
6909
6910         * reload1.c (reload_cse_simplify): Before checking
6911         REG_FUNCTION_VALUE_P, check REG_P.
6912
6913 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
6914
6915         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
6916
6917 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
6918
6919         * c-opts.c (c_common_init_options): Extra braces needed.
6920
6921 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
6922
6923         * sh.c (sh_init_builtins): Add PARAMS to declaration.
6924         (sh_media_init_builtins, sh_expand_builtin): Likewise.
6925         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
6926         (sh_expand_binop_v2sf): Likewise.
6927         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
6928         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
6929         (sh_initialize_trampoline): Likewise.
6930
6931 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
6932
6933         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
6934         new condition code modes.
6935         s390.c (s390_match_ccmode_set): Handle those new CC modes.
6936         (s390_select_ccmode): Likewise.
6937         (s390_branch_condition_mask): Likewise.
6938
6939         * s390-protos.h (s390_tm_ccmode): Declare.
6940         s390.c (s390_tm_ccmode): New function.
6941         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
6942
6943         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
6944         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
6945         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
6946
6947         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
6948         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
6949         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
6950         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
6951         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
6952
6953         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
6954         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
6955         "*cmpqi_ccs_0"): Remove, replace by ...
6956         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
6957         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
6958         "*tstqi", "*tstqi_cconly"): ... these new patterns.
6959
6960         ("*cmpsidi_ccs"): Remove, replace by ...
6961         ("*cmpsi_ccs_sign"): ... this new pattern.
6962         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
6963
6964         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
6965         ("*cli"): ... this new pattern.
6966
6967         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
6968         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
6969         New patterns.
6970         ("adddi3_64"): Rename to "*adddi3_64".
6971         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
6972         ("adddi3"): Adapt expander.
6973
6974         ("*addsi3_cc"): Allow "general_operand" for operand 2.
6975         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
6976         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
6977
6978         ("addhi3", "addqi3"): Remove, replace by ...
6979         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
6980
6981         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
6982         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
6983         ("subdi3"): Replace by insn and splitter "*subdi3_31".
6984         ("subdi3"): New expander.
6985
6986         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
6987
6988         ("subhi3", "subqi3"): Remove, replace by ...
6989         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
6990
6991         ("*muldi3_sign"): New pattern.
6992         ("muldi3"): Do not clobber CC.
6993         ("mulsi3"): Likewise.
6994         ("mulsi_6432"): Likewise.
6995
6996 2002-08-13  Denis Chertykov  <denisc@overta.ru>
6997
6998         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
6999         which can change CC0.
7000
7001 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
7002
7003         * gcse.c (adjust_libcall_notes): New function.
7004         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
7005
7006 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
7007
7008         * libgcc2.c (L_bb): Remove unneeded #includes.
7009         (__global_counters, __gthreads_active): Remove unused globals.
7010         (__bb_exit_func): Merge counts into files rather than appending.
7011         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
7012         (ALL_CFLAGS): ... to here.
7013
7014 2002-08-13  Denis Chertykov  <denisc@overta.ru>
7015
7016         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
7017         (function_epilogue): Don't calculate function size.
7018         (ip2k_set_compare): Don't use lookup_const_double.
7019         (asm_file_start): Initialization of commands_in_file removed.
7020         (asm_file_end): Output of commands_in_file removed.
7021
7022         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
7023         __INT_MAX__.
7024
7025 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
7026
7027         * c-opts.c (c_common_init_options): Check option array is
7028         sorted if checking enabled.
7029
7030 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
7031
7032         * c-pretty-print.c: #include "c-tree.h".
7033         (pp_c_simple_type_specifier): Tweak.
7034         (pp_c_storage_class_specifier): New.
7035         (pp_c_function_specifier): Likewise.
7036         (pp_c_declaration_specifiers): Likewise.
7037         (pp_c_init_declarator): Likewise.
7038         (pp_c_declaration): Likewise.
7039         (pp_c_direct_declarator): Stub.
7040         (pp_c_declarator): Likewise.
7041         (pp_c_parameter_declaration): Likewise.
7042
7043 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
7044
7045         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
7046         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
7047         struct deferred_opt): New.
7048         (COMMAND_LINE_OPTIONS): Add -M*.
7049         (missing_arg): Update.
7050         (c_common_decode_option): Handle -M*.
7051         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
7052         don't call cpp_post_options.
7053         (c_common_finish, check_deps_environment_vars): Update.
7054         * cppfiles.c (stack_include_file, handle_missing_header): Update.
7055         * cpphash.h (CPP_PRINT_DEPS): Remove.
7056         * cppinit.c: Don't include version.h.
7057         (cpp_create_reader): Don't call deps_init.  Initialize
7058         warn_long_long.
7059         (cpp_read_main_file): Init deps if necessary.
7060         (cpp_destroy): Conditionally free deps.
7061         (cpp_finish): Update.
7062         (no_tgt): Remove.
7063         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
7064         (cpp_post_options): Rename post_options.
7065         * cpplib.h (struct cpp_options): Remove some dependency options;
7066         move others to a new structure.
7067         (cpp_post_options): Remove.
7068         (cpp_finish): Comment.
7069         * fix-header.c (read_scan_file): Don't call cpp_post_options.
7070
7071 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
7072
7073         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
7074         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
7075         MMIX_rR_REGNUM as clobbered.
7076         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
7077
7078 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
7079
7080         * diagnostic.h (output_formatted_scalar): Rename from
7081         output_formatted_integer.
7082         * diagnostic.def: Add DK_DEBUG.
7083         * diagnostic.c (output_decimal): Adjust.
7084         (output_long_decimal): Likewise.
7085         (output_unsigned_decimal): Likewise.
7086         (output_octal): Likewise.
7087         (output_long_octal): Likewise.
7088         (output_hexadecimal): Likewise.
7089         (output_long_hexadecimal): Likewise.
7090         * c-pretty-print.c (pp_c_type_specifier): New function.
7091         (pp_c_specifier_qualifier_list): Likewise.
7092         (pp_c_abstract_declarator): Likewise.
7093         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
7094
7095 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
7096
7097         * doc/trouble.texi (Disappointments): Add static constructor and
7098         destructor dependency information for AIX.
7099
7100 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
7101
7102         * cpphash.h (struct printer): New from cppmain.c.
7103         (cpp_reader): New member.
7104         * cppmain.c (struct printer): Move to cpphash.h.
7105         (options, print): Remove.
7106         (account_for_newlines, print_line, maybe_print_line,
7107         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
7108         scan_translation_unit_trad, cb_line_change, cb_ident,
7109         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
7110         cb_def_pragma): Make reentrant.
7111
7112 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7113
7114         * real.c (ieee_64): Always define.
7115         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
7116         (dec_h): Not used yet, hide it.
7117         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
7118         macro controlling use.
7119         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
7120
7121 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
7122
7123         * i386.md (tablejump): Sign extend the operand.
7124         * i386.c (classify_argument): Fix missed case from previous patch.
7125
7126 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
7127
7128         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
7129         to c-copts.c.
7130         (warn_multichar): Die.
7131         (cb_register_builtins): Export.
7132         * c-common.h (warn_multichar, preprocess_file): Remove.
7133         (cb_register_builtins): New.
7134         * c-lang.c (c_init): Remove.
7135         (LANG_HOOKS_INIT): Use c_objc_common_init.
7136         * c-lex.c (init_c_lex): Don't canonicalize filename.
7137         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
7138         (preprocess_file): Make static.  Update for cpplib.
7139         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
7140         (c_common_post_options): Set some cpp options here.
7141         (c_common_init): Move from c-common.c.
7142         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
7143         * cpplib.h (struct cpp_options): Remove in_fname.
7144         (cpp_preprocess_file): Update.
7145         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
7146
7147 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7148
7149         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
7150
7151 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7152
7153         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
7154         backslash in comment preceeding macro definition.
7155         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
7156         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
7157         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
7158
7159 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
7160
7161         * expr.c (store_expr): In condition for checking if value is
7162         generated in TARGET, move call to expr_size last.
7163
7164 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
7165
7166         * c-common.c (c_common_init): Call preprocess_file instead.
7167         (c_common_finish): Move to c-opts.c.
7168         * c-common.h (preprocess_file): new.
7169         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
7170         check_deps_environment_vars, c_common_finish): New.
7171         (c_common_decode_option): Update for out_fname and dependencies.
7172         * cppinit.c (init_dependency_output, output_deps): Remove.
7173         (cpp_destroy): Update prototype.
7174         (cpp_add_dependency_target): New.
7175         (cpp_read_main_file): Don't overlay a buffer.
7176         (cpp_finish): Take a deps output stream and write deps to it.
7177         Return the error count.
7178         (cpp_post_options): Don't canonicalize out_fname, or do anything
7179         with dependencies.
7180         * cpplib.h (struct cpp_options): Remove out_fname and
7181         preprocess_only.
7182         (cpp_add_dependency_target): New.
7183         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
7184         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
7185         set preprocess_only.  Don't handle the output stream directly.
7186
7187 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7188
7189         * dsp16xx.c (print_operand): Fix format specifier.
7190         * dsp16xx.md: Avoid automatic aggregate initialization.
7191         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
7192         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
7193         integer constant modifier.
7194         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
7195         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
7196         guards.
7197         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
7198         * v850.c (v850_select_section): Mark parameter with
7199         ATTRIBUTE_UNUSED.
7200         * global.c (global_alloc): Const-ify.
7201         * ra-colorize.c (hardregset_to_string): Fix format specifier.
7202
7203 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7204
7205         * darwin-c.c (darwin_pragma_options): Const-ify.
7206         * darwin.c (machopic_non_lazy_ptr_name,
7207         machopic_validate_stub_or_non_lazy_ptr): Likewise.
7208         (machopic_indirect_data_reference): Wrap variables in macros
7209         controlling their use.
7210         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
7211         (machopic_select_section): Use parentheses around && within ||.
7212         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
7213
7214 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7215
7216         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
7217         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
7218         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
7219         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
7220         mdr_try_remove_redundant_insns, track_w_reload,
7221         mdr_try_wreg_elim): Make function static to match prototype.
7222         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
7223         parameter with ATTRIBUTE_UNUSED.
7224
7225 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7226
7227         * arc.c (arc_init): Don't use ISO C style function definitions.
7228         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
7229         arm_get_strip_length, arm_strip_name_encoding): Likewise.
7230         * avr.h (progmem_section): Likewise.
7231         * h8300.c h8300_asm_insn_count): Likewise.
7232         * m32r.c (init_idents): Likewise.
7233         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
7234         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
7235         * xtensa.c (xtensa_build_va_list): Likewise.
7236
7237 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
7238
7239         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
7240         * c-opts.c (parse_option): Rename find_opt.
7241         (set_std_c99): New function.
7242         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
7243         (missing_arg): Remove OPT_std_bad.  Handle -o.
7244         (c_common_decode_option): Handle input and output file names,
7245         -o and -remap.  Clean up -std= handling.
7246         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
7247         (cpp_handle_option): Similarly.  Don't handle filenames.
7248
7249 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
7250
7251         * i386.c (classify_argument): Fix computing of field's offsets.
7252
7253 2002-08-11  Andreas Jaeger  <aj@suse.de>
7254
7255         PR target/7531:
7256         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
7257
7258 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
7259
7260         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
7261         reference to clk_objective_c with flag_objc.
7262         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
7263         Likewise.
7264         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
7265
7266 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
7267
7268         * c-opts.c (set_std_cxx98, set_std_c89): New.
7269         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
7270         (c_common_decode_option): Handle new switches from cppinit.c.
7271         Add -std=gnu++98.
7272         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
7273         (no_arg, no_num): Remove.
7274         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
7275         switches apart from -lang-objc and lang-asm.
7276         (cpp_handle_option): Similarly.
7277         * cpplib.h (cpp_set_lang): New.
7278         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
7279         -std=gnu++98.
7280         * objc/lang-specs.h: Remove -ansi.
7281
7282 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
7283                                Graham Stott
7284
7285         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
7286         errors.
7287
7288 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7289
7290         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
7291         emit_jump_insn): Fix uninitialized variable.
7292         * gcov.c (init_line_info): Likewise.
7293         * genautomata.c (transform_3): Add braces around ambiguous
7294         else.
7295         * ifcvt.c (cond_exec_process_insns): Mark parameter with
7296         ATTRIBUTE_UNUSED.
7297         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
7298         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
7299         variable.
7300
7301         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
7302         warnings in output files.
7303
7304 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
7305
7306         * c-common.c (flag_objc): New.
7307         * c-common.h (c_language_kind): Get rid of clk_objective_c
7308         enum value.
7309         (flag_objc): New extern declaration.
7310         * c-decl.c (implicitly_declare): Call objc_check_decl
7311         instead of maybe_objc_check_decl.
7312         (finish_decl): Likewise.
7313         (grokfield): Likewise.
7314         (finish_struct): Likewise.
7315         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
7316         (maybe_objc_comptypes): Rename to objc_comptypes.
7317         (maybe_building_objc_message_expr): Rename to
7318         objc_message_selector.
7319         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
7320         replace with flag_objc as needed.
7321         * c-opts.c (c_common_init_options): Likewise.
7322         (c_common_decode_option): Likewise.
7323         * c-parse.in (init_reswords): Likewise.
7324         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
7325         (maybe_objc_comptypes): Rename to objc_comptypes.
7326         (maybe_building_objc_message_expr): Rename to
7327         objc_message_selector.
7328         * c-typeck.c (comptypes): Call objc_comptypes instead of
7329         maybe_objc_comptypes, and/or objc_message_selector instead of
7330         maybe_building_objc_message_expr.
7331         (comp_target_types): Likewise.
7332         (convert_for_assignment): Likewise.
7333         (warn_for_assignment): Likewise.
7334         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
7335         independently of those for other languages.
7336         * objc/objc-act.c (maybe_objc_comptypes): Delete.
7337         (maybe_objc_check_decl): Delete.
7338         (maybe_building_objc_message_expr): Rename to
7339         objc_message_selector.
7340         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
7341         clk_objective_c; set flag_objc flag.
7342
7343 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
7344
7345         * ifcvt.c (find_if_case_2): Test correct basic block for size.
7346
7347 2002-08-09  Dale Johannesen  <dalej@apple.com>
7348
7349         * config/rs6000/rs6000.md: Add sibcall patterns.
7350         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
7351         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
7352         Rewritten to handle sibcalls.
7353         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
7354         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
7355
7356 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
7357
7358         * profile.c (da_file_name): New static var.
7359         (init_branch_prob): Initialize it.
7360         (end_branch_prob): Remove da file.
7361
7362         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
7363         * configure.in (coverage_flags): Default to nothing.
7364         * configure: Rebuilt.
7365
7366 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
7367
7368         * Makefile.in (c-opts.o): Update
7369         * c-opts.c: Include intl.h.
7370         (print_help): Move from cppinit.c.  Remove unused options.
7371         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
7372         (missing_arg): Complain for switches without an argument.
7373         (c_common_decode_option): Reject missing joined arguments.
7374         Handle new switches from cppinit.c.
7375         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
7376         (cpp_handle_option): Similarly.
7377         (print_help): Moved to c-opts.c.
7378         * cpplib.h (struct cpp_options): Remove help_only.
7379         * gcc.c (cpp_unique_options): Remove -$.
7380         * doc/cppopts.texi: Undocument -h.
7381
7382 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7383
7384         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
7385         legitimate constant.
7386         (legitimate_pic_operand_p): Neither pic operand.
7387         (legitimate_address_p): But legitimate address.
7388         (get_thread_pointer): Generate MEM/u instead of CONST around
7389         UNSPEC_TP.
7390         (print_operand): Remove printing of UNSPEC_TP.
7391         (print_operand_address): And print it here.
7392
7393 2002-08-08  Devang Patel  <dpatel@apple.com>
7394
7395         * objc/objc-act.c (build_selector_translation_table): Issue warning,
7396         when  -Wselector is used,if method for which selector is being
7397         created does not exist.
7398
7399 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
7400
7401         * config/sh/sh.c (prepare_move_operands): Only call
7402         target_reg_operand if TARGET_SHMEDIA.
7403
7404 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7405
7406         * config/rs6000/rs6000.h, config/rs6000/aix.h,
7407         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
7408         two patches.
7409         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
7410
7411 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
7412             Richard Henderson  <rth@redhat.com>
7413
7414         * emit-rtl.c (gen_rtx_REG): After reload, only return
7415         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
7416
7417 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7418
7419         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
7420         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
7421         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
7422         macro.
7423
7424 2002-08-08  Adam Nemet  <anemet@lnxw.com>
7425
7426         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
7427         register.
7428         (thumb_expand_prologue): Likewise.
7429         (thumb_output_function_prologue): Likewise.
7430         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
7431         the additional push of the PIC register.
7432
7433 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
7434
7435         * configure.in (enable_coverage): New enable switch.
7436         * configure: Rebuilt.
7437         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
7438         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
7439         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
7440         (mostlyclean): Remove coverage files.
7441         * doc/install.texi: Document enable_coverage.
7442
7443         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
7444         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
7445         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
7446         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
7447         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
7448         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
7449         files.
7450
7451 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
7452
7453         * c-opts.c (cpp_opts): New.
7454         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
7455         (c_common_decode_options): Handle cpplib switches.
7456         (c_common_init_options): Set cpp_opts.
7457         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
7458         (cpp_handle_option): Similarly.
7459
7460 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
7461
7462         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
7463         (TARGET_ALTIVEC_ABI): Same.
7464         (TARGET_ALTIVEC_VRSAVE): Same.
7465
7466         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
7467         icode not CODE_FOR_nothing.  Change switch to if.
7468
7469 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
7470
7471         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
7472
7473 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7474
7475         * stor-layout.c (place_union_field): For bitfields if
7476         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
7477         TYPE_USER_ALIGN.
7478
7479 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7480
7481         * pa.c (struct deferred_plabel): Constify name field.
7482
7483 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
7484
7485         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
7486
7487 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7488
7489         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
7490         local_prefix are the same.
7491         * configure: Rebuilt.
7492
7493 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
7494             Richard Henderson  <rth@redhat.com>
7495
7496         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
7497         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
7498         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
7499         (place_field): Likewise.
7500         * config/i386/i386.c (x86_field_alignment): Don't check
7501         DECL_USER_ALIGN here.
7502         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
7503         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
7504         prototype.
7505         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
7506         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
7507         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
7508         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
7509         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
7510         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
7511
7512 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
7513
7514         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
7515         * c-common.c: Don't include tree-inline.h.
7516         (c_common_init_options, c_common_post_options): Move to c-opts.c.
7517         * c-common.h (c_common_decode_option): New.
7518         * c-decl.c (c_decode_option): Remove.
7519         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
7520         * c-opts.c: New file.
7521         * c-tree.h (c_decode_option): Remove.
7522         * doc/passes.texi: Update.
7523         * objc/objc-act.c (objc_decode_option): Remove.
7524         * objc/objc-act.h (objc_decode_option): Remove.
7525         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
7526         c_common_decode_option.
7527
7528 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
7529
7530         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
7531         dependency on TARGET_DOUBLE_FLOAT.
7532
7533 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
7534
7535         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
7536         overwrite callee-save registers.  Fix comment.
7537
7538 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
7539
7540         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
7541         in target_flags based on ISA, if it was not set on the command
7542         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
7543         support Branch Likely instructions.
7544         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
7545         (TARGET_BRANCHLIKELY): Likewise.
7546         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
7547         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
7548         ISA_HAS_BRANCHLIKELY.
7549         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
7550         * doc/invoke.texi: Document new MIPS -mbranch-likely and
7551         -mno-branch-likely options.
7552
7553 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7554
7555         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
7556
7557         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
7558         $(GCONFIG_H).
7559
7560 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
7561
7562         * c-decl.c (duplicate_decls): Error out for incompatible TLS
7563         declarations.
7564
7565         * testsuite/gcc.dg/tls/diag-3.c: New.
7566
7567 2002-08-06  Dale Johannesen  <dalej@apple.com>
7568
7569         * c-common.c (fname_decl): Use line number 0 for
7570         __func__, to avoid confusing debuggers.
7571
7572 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
7573
7574         * gcov.c: Tidy.
7575         (struct line_info, struct coverage): New structures.
7576         (gcov_file_name, gcov_file): Remove globals.
7577         (output_data): Take source file parameter. Fix memory leak. Break
7578         up into ...
7579         (init_line_info, output_line_info, make_gcov_file_name,
7580         accumulate_branch_counts): ... here.
7581         (calculate_branch_probs, function_summary): Adjust.
7582         (main): Adjust.
7583         (function_*): Remove global variables.
7584
7585 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7586
7587         * dwarf2out.c: Remove unused macros.
7588
7589 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7590
7591         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
7592
7593 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7594
7595         * cppinit.c (struct lang_flags): Rename trigraphs std.
7596         (set_lang): Update.
7597         * cpplib.h (struct cpp_options): New member std.
7598         * cppmacro.c (_cpp_builtin_macro_text): Use std.
7599         (collect_args): Flag whether to swallow a possible future
7600         comma pasted with varargs.
7601         (replace_args): Use this flag.
7602         * doc/cpp.texi: Update varargs extension documentation.
7603
7604 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7605
7606         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
7607
7608 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7609
7610         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
7611         and MODE_CLASS_INT modes.
7612
7613 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7614
7615         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
7616         --{enable,disable}-threads is given to configure.
7617         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
7618         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
7619         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
7620         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
7621         Remove thread_file setting here.
7622
7623 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
7624
7625         * doc/install.texi (Binaries): Update Bull Freeware URL.
7626
7627 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7628
7629         * doc/gcc.texi (Top): Rename Index to Keyword Index.
7630
7631 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
7632
7633         * gcov.c (output_data): Round to % to nearest, tweak formatting.
7634
7635 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
7636
7637         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
7638         of the operands into MINUS_EXPR if code is PLUS_EXPR.
7639
7640 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
7641
7642         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
7643         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
7644         drectve_section): Define.
7645         * config/i386/t-interix: Replace interix.o rule with winnt.o.
7646         * config/i386/interix.c: Remove.
7647
7648 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
7649
7650         * attribs.c: Don't include obstack.h.
7651         * builtins.c: Likewise.
7652         * cfganal.c: Likewise.
7653         * cfgbuild.c: Likewise.
7654         * cfgcleanup.c: Likewise.
7655         * emit-rtl.c: Likewise.
7656         * loop.c: Likewise.
7657         * stmt.c: Likewise.
7658
7659         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
7660
7661 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
7662
7663         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
7664
7665 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
7666
7667         * doc/invoke.texi: Remove duplicated paragraph describing
7668         TARGET_SWITCHES.
7669
7670 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
7671
7672         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
7673         * collect2.h (permanent_obstack): Delete declaration.
7674         * collect2.c (permanent_obstack): Delete definition.
7675         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
7676         * expr.c: Don't include obstack.h.
7677         (permanent_obstack): Delete declaration.
7678         * function.c: Don't include obstack.h.
7679         (permanent_obstack): Delete declaration.
7680         * integrate.c: Don't include obstack.h.
7681         (function_maybepermanent_obstack): Delete declaration.
7682         * print-tree.c (debug_tree): Use x*alloc not permalloc.
7683         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
7684         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
7685         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
7686         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
7687         of permalloc, expralloc, perm_calloc.
7688         * tree.c (permanent_obstack): Delete definition.
7689         (init_ttree): Rename from init_obstacks.
7690         (permalloc): Delete.
7691         (perm_calloc): Delete.
7692         (dump_tree_statistics): Don't print information about
7693         permanent_obstack.
7694         * varasm.c (assemble_start_function): Use xstrdup instead of
7695         permalloc/strcpy.
7696         (assemble_variable): Likewise.
7697         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
7698         permalloc.
7699         (unicosmk_add_extern): Likewise.
7700         * config/c4x/c4x.c (c4x_external_ref): Likewise.
7701         (c4x_global_label): Likewise.
7702         * config/frv/frv.c (frv_encode_section_info): Likewise.
7703         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
7704         (i386_pe_record_exported_symbol): Likewise.
7705         * config/mips/mips.c (mips_output_external): Likewise.
7706         (mips_output_external_libcall): Likewise.
7707         * config/pa/pa.c: (permanent_obstack): Delete declaration.
7708         (output_call): Use ggc_strdup instead of allocating on
7709         permanent_obstack.
7710         * config/romp/romp.c: Include ggc.h.
7711         (get_symref): Don't declare permanent_obstack, use ggc_strdup
7712         intead of permanent_obstack.
7713         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
7714         instead of permalloc.
7715         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
7716         instead of permalloc
7717         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
7718         instead of permalloc.
7719         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
7720         permalloc.
7721
7722 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
7723
7724         Contribute a port developed primarily by Michael Meissner,
7725         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
7726         * config.gcc: Add frv-elf target.
7727         * config/frv/cmovd.c: New file.
7728         * config/frv/cmovh.c: New file.
7729         * config/frv/cmovw.c: New file.
7730         * config/frv/frv-abi.h: New file.
7731         * config/frv/frv-asm.h: New file.
7732         * config/frv/frv-modes.def: New file.
7733         * config/frv/frv-protos.h: New file.
7734         * config/frv/frv.c: New file.
7735         * config/frv/frv.h: New file.
7736         * config/frv/frv.md: New file.
7737         * config/frv/frvbegin.c: New file.
7738         * config/frv/frvend.c: New file.
7739         * config/frv/lib1funcs.asm: New file.
7740         * config/frv/media.h: New file.
7741         * config/frv/modi.c: New file.
7742         * config/frv/t-frv: New file.
7743         * config/frv/uitod.c: New file.
7744         * config/frv/uitof.c: New file.
7745         * config/frv/ulltod.c: New file.
7746         * config/frv/ulltof.c: New file.
7747         * config/frv/umodi.c: New file.
7748         * config/frv/xm-frv.h: New file.
7749
7750         * config/frv/media.h: Removed again.
7751
7752 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7753
7754         * gcov.c (bb_file_time): New static variable.
7755         (object_directory): May also be object file.
7756         (preserve_paths): New static variable.
7757         (print_usage): Adjust.
7758         (options): Adjust.
7759         (process_args): Adjust.
7760         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
7761         file. Find modification date on bb file.
7762         (read_profile): Don't rewind a NULL file.
7763         (format_hwint): New static function.
7764         (function_summary): Use format_hwint.
7765         (output_data): SOURCE_FILE_NAME is never relative to
7766         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
7767         mangling. Adjust output format to make it more machine readable.
7768         * doc/gcov.texi: Document & clarify semantics.
7769
7770 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
7771
7772         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
7773
7774 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7775
7776         * gcc.c (cc1_options): Pass output file as auxbase when
7777         appropriate.
7778         * profile.c (init_branch_prob): FILENAME has already had ending
7779         stripped.
7780         * final.c (end_final): Likewise.
7781         * toplev.c (aux_base_name): New global.
7782         (compile_file): Pass aux_base_name to init init_branch_prob and
7783         end_final.
7784         (independent_decode_option, case 'a'): New auxinfo options.
7785         (case 'd'): Protect against mising basename.
7786         (do_compile): Initialize aux_base_name.
7787         * toplev.h (aux_base_name): New global.
7788         * doc/invoke.texi: Adjust documentation.
7789
7790 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7791
7792         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
7793         of TARGET_ALIGN_DOUBLE.
7794
7795 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
7796
7797         * diagnostic.c (inform): New function.
7798         * diagnostic.h (inform): Declare.
7799
7800 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
7801
7802         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
7803         (movhi_internal): Same.
7804         (movqi_internal): Same.
7805         (movdi_internal64): Same.
7806
7807         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
7808
7809         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
7810         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
7811         (COMMON_ASM_OP): Define.
7812         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
7813         Use ALIGN parameter.
7814         (LOCAL_COMMON_ASM_OP): Define.
7815         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
7816
7817 2002-08-03  Roger Sayle  <roger@eyesopen.com>
7818
7819         * builtins.def: Define new builtin functions exp, expf, expl,
7820         log, logf and logl (and their __builtin_* variants).
7821         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
7822         Define exp_optab and log_optab.
7823         * optabs.c (init_optans): Initialize exp_optab and log_optab.
7824         * genopinit.c (optabs): Implement exp_optab and log_optab
7825         using exp?f2 and log?f2 patterns.
7826         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
7827         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
7828         (expand_builtin): Ignore the new builtins (and all cos and
7829         sin variants) when not optimizing.  Expand new builtins via
7830         expand_builtin_mathfn when flag_unsafe_math_optimizations.
7831
7832         * doc/extend.texi: Document new exp and log builtins.
7833         * doc/md.texi: Document new exp?f2 and log?f2 patterns
7834         (and previously undocumented cos?f2 and sin?f2 patterns).
7835
7836 2002-08-03  Jason Merrill  <jason@redhat.com>
7837
7838         * explow.c (int_expr_size): New fn.
7839         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
7840         * expr.h: Declare it.
7841
7842 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
7843
7844         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
7845         gengtype-* dependencies.
7846
7847 2002-08-02  Eric Christopher  <echristo@redhat.com>
7848
7849         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
7850         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
7851         #ifndef to #undef.
7852         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
7853
7854 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
7855
7856         PR optimize/7067
7857         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
7858         small if optimizing for size.
7859
7860 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
7861
7862         * configure.in (FORBUILD): Use $build_alias.
7863         * configure: Regenerated.
7864
7865 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
7866
7867         * config.gcc: Don't include mips/abi64.h in $tm_file.
7868         * hard-reg-set.h (call_really_used_regs): Declare.
7869         * config/mips/abi64.h: Remove file.
7870         * config/mips/linux.h,
7871         * config/mips/iris6.h: Don't include it.
7872         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
7873         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
7874         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
7875         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
7876         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
7877         Bring across definitions from abi64.h.
7878         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
7879         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
7880         (struct mips_args): Use it.
7881         * config/mips/mips.c (mips_conditional_register_usage): Define.
7882
7883 2002-08-02  Jason Merrill  <jason@redhat.com>
7884
7885         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
7886         * langhooks.c (lhd_expr_size): Define default.
7887         * langhooks.h (struct lang_hooks): Add expr_size.
7888         * explow.c (expr_size): Call it.
7889         * expr.c (store_expr): Don't copy an expression of size zero.
7890         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
7891         to store.
7892         * Makefile.in (builtins.o): Depend on langhooks.h.
7893
7894 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7895
7896         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
7897         * ra-debug.c: Include "tm_p.h".
7898         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
7899
7900 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
7901
7902         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
7903         when not honoring signalling NaNs.
7904         (simplify_ternary_operation): a == b has a definite value
7905         when not honoring NaNs.
7906
7907 2002-08-02  Jason Merrill  <jason@redhat.com>
7908
7909         * gdbinit.in (pct): New macro.
7910
7911 2002-08-01  Stan Shebs  <shebs@apple.com>
7912             Andreas Tobler  <toa@pop.agri.ch>
7913
7914         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
7915         plays nice with Darwin headers.
7916         (_BSD_RUNE_T_DEFINED_): Likewise.
7917
7918 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
7919
7920         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
7921         * cppinit.c (cpp_post_options): Likewise.
7922
7923         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
7924         warning about 'LL' suffix (but not 'ULL' etc) when
7925         -Wno-long-long is in effect.
7926
7927         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
7928         Check for failing time()/localtime(), issue a warning, and
7929         make __TIME__ and __DATE__ expand to fallback strings.
7930
7931         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
7932         and __TIME__ when the date and time cannot be determined.
7933
7934 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
7935
7936         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
7937
7938 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
7939
7940         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
7941
7942 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
7943
7944         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
7945         (mipsisa64sb1el-*-elf*): Likewise.
7946         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
7947         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
7948         (TARGET_SB1, TUNE_SB1): New macros.
7949         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
7950         -mtune flags.
7951
7952 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
7953
7954         * varasm.c (asm_emit_uninitialized): Return false if global BSS
7955         and ASM_EMIT_BSS not supported by target.
7956         (assemble_variable): Do not duplicate uninitialized logic.
7957         Fall through if asm_emit_uninitialized failed.
7958
7959 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
7960
7961         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
7962
7963 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
7964
7965         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
7966         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
7967
7968         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
7969         HOST_BITS_PER_WIDE_INT == 64.
7970
7971 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7972
7973         * df.c (df_insn_table_realloc): Change parameter to unsigned.
7974         * optabs.c (expand_binop): Make variable unsigned.
7975         * simplify-rtx.c (simplify_subreg): Likewise.
7976         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
7977
7978 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7979
7980         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
7981
7982 2002-08-01  Richard Henderson  <rth@redhat.com>
7983
7984         * toplev.c (parse_options_and_default_flags): Don't set
7985         flag_reorder_blocks for -Os.
7986
7987         * config/avr/avr.c (avr_optimization_options): Remove.
7988         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
7989         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
7990         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
7991
7992 2002-08-01  H.J. Lu <hjl@gnu.org>
7993             Richard Henderson  <rth@redhat.com>
7994
7995         * output.h (DECL_READONLY_SECTION): Remove.
7996         (decl_readonly_section): Declare.
7997         * varasm.c (decl_readonly_section): New.
7998         (default_section_type_flags, default_select_section): Use it.
7999         * config/arm/pe.c (arm_pe_unique_section): Likewise.
8000         * config/i386/interix.c (i386_pe_unique_section): Likewise.
8001         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
8002         * config/mcore/mcore.c (mcore_unique_section): Likewise.
8003         * config/mips/mips.c (mips_unique_section): Likewise.
8004
8005 2002-08-01  Richard Henderson  <rth@redhat.com>
8006
8007         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
8008         refers to a subroutine parameter.
8009
8010 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
8011
8012         * varasm.c (assemble_visibility): Strip name encoding.
8013
8014 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8015
8016         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
8017         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
8018         when there is no frame pointer.
8019         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
8020         registers properly.
8021         * config/ns32k/__unorddf2.c: New file.
8022         * config/ns32k/__unordsf2.c: New file.
8023         * config/ns32k/t-ns32k: New file.
8024         * config.gcc (ns32k-*-netbsd*): Use it.
8025
8026 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
8027
8028         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
8029
8030 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8031
8032         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
8033
8034 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
8035
8036         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
8037
8038 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
8039
8040         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
8041
8042 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8043
8044         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
8045         n_sets): Removed.
8046         (expr_hash_table, set_hash_table): Type changed to ...
8047         (struct hash_table): New type.
8048         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
8049         insert_expr_in_table, insert_set_in_table, compute_hash_table,
8050         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
8051         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
8052         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
8053         (alloc_hash_table): New.
8054         (free_set_hash_table, free_expr_hash_table): Merged to ...
8055         (free_hash_table): New.
8056         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
8057         (compute_hash_table_work): New.
8058         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
8059         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
8060         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
8061         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
8062         hoist_code, one_code_hoisting_pass,
8063         trim_ld_motion_mems): Altered due to changed type of hash tables.
8064
8065 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
8066
8067         * final.c (output_alternate_entry_point):
8068         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
8069
8070 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8071
8072         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
8073         avoid ISO C style function definition.
8074
8075         * expr.c (expand_assignment): Delete unused variable.
8076
8077 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
8078
8079         * c-common.c (cb_register_builtins): Set
8080         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
8081         is given, and to 0 otherwise.
8082         * combine.c (simplify_if_then_else): HONOR_NANS
8083         implies FLOAT_MODE_P.
8084
8085 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8086
8087         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
8088         (cpp_handle_option): Don't handle it.
8089         (print_help): Update.
8090         * doc/cppopts.texi: Update.
8091
8092 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8093
8094         * c-common.c (cb_register_builtins): If C++, define
8095         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
8096         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
8097 cp:
8098         * lang-specs.h: Simplify in accordance with new code in
8099         c-common.c.
8100
8101 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8102
8103         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
8104         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
8105         * c-decl.c: Move all warning and flag variables to c-common.c.
8106         * c-format.c: Move all warning variables to c-common.c.
8107         * c-tree.h: Move all warning and flag declarations to c-common.h.
8108         * objc/objc-act.c: Move all warning variables to c-common.c.
8109         (flag_warn_protocol): Rename warn_protocol.
8110
8111 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8112
8113         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
8114
8115 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
8116
8117         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
8118         .section prefix.
8119
8120 2002-07-31  Stan Shebs  <shebs@apple.com>
8121
8122         * config.gcc (i[34567]86-*-darwin*): New configuration.
8123         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
8124         defining.
8125         (TARGET_ENCODE_SECTION_INFO): Ditto.
8126         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
8127         * config/darwin.c (machopic_indirect_data_reference): Remove
8128         setting of RTX_UNCHANGING_P.
8129         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
8130         not to be applied to sums.
8131         * config/i386/t-darwin: New file.
8132         * config/i386/darwin.h: New file.
8133         * config/i386/i386.h (TARGET_MACHO): Add default definition.
8134         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
8135         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
8136         label and not the GOT add.
8137         (constant_address_p): For Mach-O, seeing a CONST is enough.
8138         (legitimate_pic_address_disp_p): Add a Mach-O case.
8139         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
8140         (legitimize_pic_address): Use generic Mach-O code to legitimize.
8141         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
8142         if outputting a difference.
8143         (ix86_output_addr_diff_elt): Add Mach-O case.
8144         (ix86_expand_move): Similarly.
8145         (ix86_expand_call): Similarly.
8146         (current_machopic_label_num): New global.
8147         (machopic_output_stub): New function.
8148         (ix86_value_regno): New function.
8149         (ix86_function_value): Use it instead of VALUE_REGNO.
8150         (ix86_libcall_value): Ditto.
8151         * config/i386/unix.h (VALUE_REGNO): Remove.
8152
8153 2002-07-31  Graham Stott  <grahas@btinternet.com>
8154
8155         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
8156         hash for LABEL_REF's.
8157
8158 2002-07-31  Graham Stott  <grahams@btinternet.com>
8159
8160         * config/rs6000/rs6000.c (spe_init_builtins,
8161         altivec_init_builtins, rs6000_common_init_builtins):
8162         Replace ANSI with K&R function def.
8163
8164 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
8165
8166         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
8167         for CCFPmode.
8168
8169 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
8170
8171         * config/mips/crtn.asm: Don't use __mips16 to determine the
8172         return-address offset.  Define RA to a suitable temporary
8173         register for the return address.
8174
8175 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
8176
8177         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
8178         constraints to 'd'.
8179
8180 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
8181
8182         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
8183         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
8184         patch on 2002-07-29.)
8185         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8186
8187 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8188
8189         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
8190         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
8191         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
8192         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
8193         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
8194         (ASM_GLOBALIZE_LABEL): Delete.
8195         (GLOBAL_ASM_OP): Define.
8196
8197         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
8198
8199         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
8200         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
8201
8202 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
8203
8204         * doc/extend.texi (Hints implementation): Document that GCC
8205         mostly ignores `register'.
8206
8207 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
8208
8209         * flags.h: Declare flag_finite_math_only.
8210         Use it in definition of HONOR_NANS and
8211         HONOR_INFINITIES.
8212         * c-common.c (cb_register_builtins): Emit
8213         __FINITE_MATH_ONLY__ when flag_finite_math_only
8214         is set.
8215         * combine.c (simplify_if_then_else): If
8216         flag_finite_math_only is set, a == b has a
8217         definite value.
8218         * toplev.c: Initialize flag_finite_math_only.
8219         (set_flags_fast_math): Set it on -ffast-math.
8220         (flag_fast_math_set_p): Test it.
8221         * doc/invoke.texi: Document -ffinite-math-only.
8222
8223 2002-07-30  Richard Henderson  <rth@redhat.com>
8224
8225         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
8226         (noce_process_if_block): Likewise.
8227
8228 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
8229
8230         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
8231         Bail out early if false_expr is NULL and we'd crash due to this.
8232         * genemit.c (gen_expand): Recognize return insns even if the return
8233         appears in a parallel.
8234         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
8235         * config/fp-bit.c: Likewise.
8236         * doc/tm.texi: Document it.
8237
8238 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
8239             Zack Weinberg  <zack@codesourcery.com>
8240
8241         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
8242         CODE_FOR_nothing.  Change switch to if.
8243         (rs6000_expand_binop_builtin): Same.
8244         (rs6000_expand_builtin): Expand builtin if target support enabled.
8245         (rs6000_init_builtins): Init builtin if target support enabled.
8246         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
8247
8248 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8249
8250         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
8251
8252 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
8253
8254         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
8255
8256 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
8257
8258         * sh.md (cond_delay_slot): New attribute.
8259         (cbranch delay): Use it for anulled-true case.
8260         (stuff_delay_slot): New pattern.
8261         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
8262         delay slot insn.
8263         (gen_far_branch): Emit stuff_delay_slot pattern.
8264
8265 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
8266
8267         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
8268
8269 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
8270
8271         * fold-const.c: Fix comment typos.
8272         * gcse.c: Likewise.
8273         * reload1.c: Likewise.
8274
8275 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8276
8277         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
8278         for TARGET_SPE.
8279
8280 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8281
8282         * c-pretty-print.h (pp_c_statement): Declare.
8283         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
8284         (pp_c_statement): Define.
8285
8286 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8287
8288         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
8289         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
8290         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
8291         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
8292         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
8293         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
8294
8295         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
8296         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
8297
8298 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8299
8300         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
8301         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
8302         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
8303         (pp_c_expression): Update.
8304
8305 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8306
8307         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
8308         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
8309         * alpha/vms-ld.c (main): Likewise.
8310         * dsp16xx.c (double_reg_to_memory): Likewise.
8311         * mcore.c (mcore_expand_prolog): Likewise.
8312         * cppfiles.c (read_name_map): Likewise.
8313         * gensupport.c (process_rtx, identify_predicable_attribute,
8314         alter_test_for_insn): Likewise.
8315         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
8316
8317 2002-07-29  Roger Sayle  <roger@eyesopen.com>
8318
8319         * builtins.c (expand_builtin):  Change the default behavior to
8320         only issue an error if the builtin function doesn't have a
8321         fallback library call.  Remove several cases handled by the
8322         new default.
8323
8324 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
8325
8326         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
8327         floating point format of the target is IEEE.
8328         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
8329         format of the target is DEC.
8330
8331 2002-07-29  Richard Henderson  <rth@redhat.com>
8332
8333         * unroll.c (verify_addresses): Remove.
8334         (find_splittable_givs): Never split DEST_ADDR givs.
8335
8336 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
8337
8338         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
8339         is exhaustive.
8340         (Files): Improve documentation on generated source files.
8341
8342         * doc/extend.texi (Translation implementation): Document what
8343         diagnostics look like.
8344         (Identifiers implementation): Document that there's normally no
8345         limit on identifier names.
8346         (Integers implementation): Document two's complement.
8347         (Hints implementation): Document that GCC honors 'inline', mostly.
8348         (Preprocessing directives implementation): Document that GCC
8349         requires the current time.
8350
8351 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8352
8353         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
8354         (pp_initializer): New macro.
8355         (pp_c_initializer): Declare.
8356         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
8357         (pp_c_initializer): Define.
8358         (pp_c_initializer_list): New function.
8359         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
8360         VECTOR_CST, CONSTRUCTOR.
8361         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
8362         IMAGPART_EXPR.
8363         (pp_c_cast_expression): Handle FLOAT_EXPR.
8364         (pp_c_assignment_expression): Handle INIT_EXPR.
8365         (pp_c_expression): Update.
8366
8367 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
8368
8369         * objc/objc-act.c (objc_init): Return immediately if filename
8370         is NULL.
8371
8372 2002-07-29  Eric Christopher  <echristo@redhat.com>
8373
8374         * config/mips/elf.h: Remove ecoff.h and gofast includes.
8375         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
8376         (SDB_DEBUGGING_INFO): Undefine.
8377         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
8378         (PUT_SDB_SIZE): Remove.
8379         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
8380         (STARTFILE_SPEC): Add isa3264 define.
8381         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
8382         * config/mips/ecoff.h: Remove. and here...
8383         * config/mips/iris3.h: and here...
8384         * config/mips/sni-svr4.h: and here...
8385         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
8386         Add assembler -mmdebug options for non-dwarf debugging.
8387         * config/mips/r3900.h: Remove debug info defines.
8388         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
8389         * config/mips/isa3264.h: Ditto.
8390         * config/mips/t-isa3264: Fix up for file removal and gofast configure
8391         change.
8392         * config/mips/t-elf: Ditto.
8393         * config/mips/t-ecoff: Ditto.
8394         * config/mips/t-r3900: Ditto.
8395         * config/mips/t-iris5-6: Ditto.
8396         * config/mips/t-isa3264: Ditto.
8397         * config/mips/t-linux: Remove.
8398         * config/mips/t-netbsd: Remove.
8399         * config/mips/t-mips: New file.
8400         * config/mips/t-gofast: Ditto.
8401         * config/mips/netbsd.h: Remove unnecessary undefines.
8402         * config/mips/linux.h: Remove #include of mips.h.
8403         * config.gcc: Add mips.h include for elf targets. Remove tm_file
8404         for ecoff. Add gofast configure option for mips.
8405
8406 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
8407
8408         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
8409         linker scripts use STARTUP directives consistently.
8410         * configure: Regenerate.
8411         * config.in: Regenerate.
8412         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
8413         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
8414         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8415         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
8416         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
8417         will be the same.
8418
8419 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8420
8421         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
8422
8423 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8424
8425         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
8426
8427 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
8428
8429         * config/rs6000/rs6000.md: Move altivec patterns from here...
8430
8431         * config/rs6000/altivec.md: ...to here.
8432
8433 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8434
8435         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
8436
8437 2002-07-29  Richard Henderson  <rth@redhat.com>
8438
8439         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
8440         set_mem_attributes and add BITPOS argument.  Subtract it from
8441         OFFSET when same is adjusted.
8442         (set_mem_attributes): New wrapper function.
8443         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
8444         remove offset adjustment hack.
8445         * expr.h (set_mem_attributes_minus_bitpos): Declare.
8446
8447 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
8448
8449         * Makefile.in (C_OBJS): Include c-pretty-print.o
8450         (c-pretty-print.o): Add depency rule.
8451         * pretty-print.h: Add more macros.
8452         * c-pretty-print.c: New file.
8453         * c-pretty-print.h: Likewise.
8454
8455 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8456
8457         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
8458         constants to __ev64_s32__.
8459         (__internal_ev_mwhgsmian): Same.
8460         (__internal_ev_mwhgsmfan): Same.
8461         (__internal_ev_mwhgssfan): Same.
8462         (__internal_ev_mwhgumiaa): Same.
8463         (__internal_ev_mwhgsmiaa): Same.
8464         (__internal_ev_mwhgsmfaa): Same.
8465         (__internal_ev_mwhgssfaa): Same.
8466
8467 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
8468
8469         * varasm.c (assemble_variable): Narrow test for uninitialized
8470         without BSS target support.
8471
8472 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
8473
8474         * profile.c: Add file comment describing the overall algorithm and
8475         structures.
8476         (struct edge_info): Add comments.
8477         (struct bb_info): Add comments.
8478         * basic-block.h (EDGE_*): Add comments.
8479         * doc/gcov.texi (Gcov Data Files): Document bit flags.
8480
8481 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
8482
8483         * config/xtensa/elf.h, config/xtensa/linux.h
8484         (TARGET_OS_CPP_BUILTINS): Define.
8485         (CPP_PREDEFINES): Remove.
8486         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
8487         (CPP_SPEC): Remove.
8488
8489 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
8490
8491         * gensupport.c: Include hashtab.h.
8492         (insn_elision, condition_table, hash_c_test, cmp_c_test,
8493         maybe_eval_c_test): New routines and data structures to
8494         support insn elision.
8495         (init_md_reader): Read and initialize the condition_table.
8496         (read_md_rtx): Discard insn patterns whose C test is provably
8497         always false.
8498         * gensupport.h: Declare new functions and data structures.
8499
8500         * genconditions.c, dummy-conditions.c: New files.
8501         * Makefile.in: Build genconditions; run it to construct
8502         insn-conditions.c; build that and link it into most gen*
8503         programs.
8504         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
8505         (GEN): Delete, unused.
8506         (STAGESTUFF): Update.
8507
8508         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
8509         CODE_FOR_nothing for all elided patterns.
8510         (main): Tweaked to support this.
8511         * genflags.c (gen_proto): Emit a static inline generator
8512         function here for all elided patterns, which simply returns
8513         NULL_RTX.
8514         (gen_insn): Do not define HAVE_xxx for elided patterns.
8515         (main): Tweaked to support this.  No need to forward-declare
8516         struct rtx_def.
8517         * genrecog.c: Do not bother emitting the C test if it's known
8518         to be true at compile time.
8519
8520 2002-07-29  Mike Stump  <mrs@apple.com>
8521
8522         * config.gcc (target_gtfiles): Initialize, as otherwise cross
8523         compilers hosted on powerpc-apple-darwin6.0 won't even build.
8524
8525 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
8526
8527         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
8528         remove clobber of LR.
8529         (sibcall_insn, sibcall_value_insn): Update accordingly.
8530         (sibcall_epilogue): Remove debugging comment from assembler stream.
8531
8532 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
8533
8534         * pretty-print.h: Define more macros.
8535         * diagnostic.h (output_formatted_integer): Moved from...
8536         * diagnostic.c: ... here.
8537
8538 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8539
8540         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
8541
8542 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
8543
8544         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
8545         arguments.  Always use ".-symbol" as expression argument.
8546         * doc/tm.texi: Update to match.  Document requirement for
8547         ".size symbol, .-symbol" to be acceptable to assembler.
8548
8549         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
8550         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
8551         config/i386/freebsd-aout.h, config/i386/sco5.h,
8552         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
8553         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
8554
8555 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8556
8557         * Makefile.in (gengtype-lex.c): Fix error in last change.
8558
8559         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
8560         backslash.
8561
8562         * Makefile.in (vmsdbgout.o): Depend on function.h.
8563
8564         * vmsdbgout.c: Include function.h.
8565
8566 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
8567
8568         * prefix.c (update_path): Don't strip single `.' path components
8569         unless stripping a later `..' component.  Exit loop as soon as
8570         a valid path is found.
8571
8572 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8573
8574         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
8575         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
8576         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
8577         floating point unordered comparisons (e.g. __builtin_isgreater)
8578         as const, and leave the remaining GCC_BUILTINs unchanged.
8579
8580         * c-decl.c (builtin_function): No need to explicitly mark
8581         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
8582
8583 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8584
8585         * Makefile.in: rtlanal.o now depends upon real.h.
8586
8587         * flags.h [flag_signaling_nans]: New flag.
8588         [HONOR_SNANS]: New macro.
8589
8590         * toplev.c [flag_signaling_nans]: Initialize to false.
8591         (f_options): Add processing for "-fsignaling-nans".
8592         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
8593         (process_options): flag_signaling_nans implies flag_trapping_math.
8594
8595         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
8596         when -fsignaling-nans.  First step to implementing WG14's N965.
8597
8598         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
8599         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
8600         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
8601
8602         * simplify-rtx.c (simplify_relational_operation): Conditionalize
8603         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
8604
8605         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
8606         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
8607         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
8608         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
8609         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
8610
8611         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
8612
8613 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8614
8615         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
8616         * gengtype-lex.l (YY_USE_PROTOS): Undef.
8617         (YY_DECL): Define.
8618
8619 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8620
8621         * doc/invoke.texi: Document that both -fno-builtin-foo and
8622         -fno-builtin are supported by the g++ front-end.
8623
8624 2002-07-27  Stan Shebs  <shebs@apple.com>
8625
8626         * configure.in: Rename config_gtfiles to target_gtfiles.
8627         * configure: Regenerate.
8628         * doc/gty.texi: Update reference.
8629         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
8630         instead of appending to it.
8631
8632 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
8633
8634         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
8635         vectors are split into two registers.
8636         (function_arg): Same.
8637
8638 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
8639
8640         * pa.md (extv): Check predicates before emitting extv_32.
8641
8642 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8643
8644         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
8645         (rs6000_traceback): New var.
8646         (rs6000_override_options): Set rs6000_traceback.
8647         (rs6000_output_function_epilogue): Implement traceback options.
8648         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
8649         (rs6000_traceback_name): Declare.
8650
8651         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
8652         label reference when NO_PROFILE_COUNTERS.
8653
8654 2002-07-26  Jason Merrill  <jason@redhat.com>
8655
8656         * function.c (assign_parms): Handle frontend-directed pass by
8657         invisible reference.
8658
8659 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8660
8661         * doc/cppopts.texi: Update.
8662
8663 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8664
8665         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
8666         warnings on assertions.
8667
8668 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8669
8670         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
8671         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
8672         RID_COMPL): Remove.
8673         * c-parse.in (rid_to_yy): Similarly.
8674
8675 2002-07-26  Jason Merrill  <jason@redhat.com>
8676
8677         * c-dump.c: Resurrect.
8678         * tree-dump.c: Move C-specific stuff to c-dump.c.
8679         * c-common.h: Declare c_dump_tree.
8680         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
8681         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
8682         (c-dump.o): New rule.
8683
8684 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
8685
8686         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
8687         PowerPC64.  Replace "T" and "S" constraints with "n" when the
8688         predicate will do.  Formatting fixes.
8689         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
8690         as for extzvsi_internal1.
8691
8692 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8693
8694         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
8695         DERIV_END_LABEL_FMT): Remove.
8696         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
8697
8698 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8699
8700         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
8701         Remove.
8702
8703 2002-07-25  Stan Shebs  <shebs@apple.com>
8704
8705         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
8706         local var dwarfp.
8707         (output_compiler_stub): Remove unused locals.
8708         (output_call): Always initialize line number.
8709
8710 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
8711
8712         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
8713         * sh.md (truncdiqi2, movqi_media): Likewise.
8714
8715 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8716
8717         * gcse.c (obstack_chunk_alloc): Remove.
8718         (gcse_alloc): Fix to count allocated bytes.
8719         * collect2.c (SYMBOL__MAIN): Remove.
8720
8721 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8722
8723         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
8724         HAVE_TARGET_EXECUTABLE_SUFFIX.
8725
8726 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
8727
8728         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
8729         SIZE, EXPR and OFFSET.
8730
8731 2002-07-25  Richard Henderson  <rth@redhat.com>
8732
8733         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
8734         in ARRAY_REF of DECL_P case.
8735
8736 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
8737
8738         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
8739         description.  Document -mips32, -mips64, and the associated -march
8740         values.  Describe the "mipsN" arguments to -march.  Say that the
8741         -mipsN options are equivalent to -march.  Reword the description
8742         of default type sizes.
8743         * toplev.h (target_flags_explicit): Declare.
8744         * toplev.c (target_flags_explicit): New var.
8745         (set_target_switch): Update target_flags_explicit.
8746         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
8747         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
8748         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
8749         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
8750         * config/mips/mips.h (mips_cpu_info): New struct.
8751         (mips_cpu_string, mips_explicit_type_size_string): Remove.
8752         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
8753         (MIPS_CPP_SET_PROCESSOR): New macro.
8754         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
8755         Define _MIPS_ARCH and _MIPS_TUNE.
8756         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
8757         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
8758         MIPS_ISA_DEFAULT were already defined.
8759         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
8760         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
8761         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
8762         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
8763         (ABI_GAS_ASM_SPEC): Remove.
8764         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
8765         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
8766         Invoke %(asm_abi_default_spec) if no ABI was specified.
8767         (CC1_SPEC): Remove ISA -> register-size rules.
8768         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
8769         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
8770         (mips_cpu_string, mips_explicit_type_size_string): Remove.
8771         (mips_cpu_info_table): New array.
8772         (mips_set_architecture, mips_set_tune): New fns.
8773         (override_options): Rework to make -mipsN equivalent to -march.
8774         Detect more erroneous cases, including those removed from CC1_SPEC.
8775         Don't change the ABI based on architecture, or vice versa.
8776         Unify logic with GAS.
8777         (mips_asm_file_start): Get architecture name from mips_arch_info.
8778         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
8779         (mips_parse_cpu): Take the name of the option as argument.  Handle
8780         'from-abi'.  Raise an error if the option is wrong.
8781         (mips_cpu_info_from_isa): New fn.
8782
8783 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
8784
8785         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
8786         (tablejump_mips162): Likewise.
8787
8788 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
8789
8790         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
8791         int_mode_for_mode.
8792
8793 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
8794
8795         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
8796         complaining.
8797         * c-common.h (c_sizeof): Adjust definition.
8798         (c_alignof): Likewise.
8799         * c-tree.h (c_sizeof_nowarn): Now macro.
8800         * c-typeck.c (c_sizeof_nowarn): Remove definition.
8801
8802 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8803
8804         * c-decl.c (c_decode_option): No need to handle switches
8805         cpplib handles.
8806
8807 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
8808
8809         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
8810         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
8811         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
8812         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
8813
8814         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
8815         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
8816         config/cris/aout.h, config/i386/freebsd-aout.h,
8817         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
8818         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
8819         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
8820         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
8821         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
8822         config/xtensa/elf.h, config/xtensa/linux.h:
8823         Use the new macros.
8824         Where possible, remove redundant definitions of SIZE_ASM_OP,
8825         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
8826
8827 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
8828
8829         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
8830         TARGET_ISEL, and TARGET_FPRS.
8831
8832         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
8833         -mabi=spe, -mabi=no-spe, and -misel=.
8834
8835         * config/rs6000/rs6000-protos.h: Add output_isel.
8836         Move vrsave_operation prototype here.
8837
8838         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
8839         (smaxsi3): Same.
8840         (uminsi3): Same.
8841         (umaxsi3): Same.
8842         (abssi2_nopower): Disallow when TARGET_ISEL.
8843         (*ne0): Same.
8844         (negsf2): Change to expand and rename old pattern to *negsf2.
8845         (abssf2): Change to expand and rename old pattern to *abssf2.
8846
8847         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
8848         fixunssfsi2.
8849
8850         Change patterns that check for TARGET_HARD_FLOAT or
8851         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
8852
8853         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
8854         rs6000_isel, rs6000_fprs, rs6000_isel_string.
8855         (rs6000_override_options): Add 8540 case to
8856         processor_target_table.
8857         Set rs6000_isel for the 8540.
8858         Call rs6000_parse_isel_option.
8859         (enable_mask_for_builtins): New.
8860         (rs6000_parse_isel_option): New.
8861         (rs6000_parse_abi_options): Add spe and no-spe.
8862         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
8863         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
8864         for TARGET_HARD_FLOAT.
8865         Add case for SPE_VECTOR_MODE.
8866         (rs6000_legitimize_reload_address): Handle SPE vector modes.
8867         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
8868         vector modes.
8869         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
8870         (rs6000_emit_move): Check for TARGET_FPRS.
8871         Add cases for SPE vector modes.
8872         (function_arg_boundary): Return 64 for SPE vector modes.
8873         (function_arg_advance): Check for TARGET_FPRS and
8874         Handle SPE vectors.
8875         (function_arg): Same.
8876         (setup_incoming_varargs): Check for TARGET_FPRS.
8877         (rs6000_va_arg): Same.
8878         (struct builtin_description): Un-constify mask field.  Move up in
8879         file.
8880         (bdesc_2arg): Un-constify and add SPE builtins.
8881         (bdesc_1arg): Same.
8882         (bdesc_spe_predicates): New.
8883         (bdesc_spe_evsel): New.
8884         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
8885         (rs6000_expand_binop_builtin): Same.
8886         (bdesc_2arg_spe): New.
8887         (spe_expand_builtin): New.
8888         (spe_expand_predicate_builtin): New.
8889         (spe_expand_evsel_builtin): New.
8890         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
8891         (rs6000_init_builtins): Initialize SPE builtins.  Call
8892         rs6000_common_init_builtins.
8893         (altivec_init_builtins): Move all non-altivec builtin code to...
8894         (rs6000_common_init_builtins): ...here.  New function.
8895         (branch_positive_comparison_operator): Allow NE code for SPE.
8896         (ccr_bit): Return correct ccr bit for SPE fp.
8897         (print_operand): Emit crnor in 'D' case for SPE.
8898         New case 't'.
8899         Add SPE code for 'y' case.
8900         (rs6000_generate_compare): Generate rtl for SPE fp.
8901         (output_cbranch): Handle SPE hard floats.
8902         (rs6000_emit_cmove): Handle isel.
8903         (rs6000_emit_int_cmove): New.
8904         (output_isel): New.
8905         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
8906         64-bits for SPE.
8907         (debug_stack_info): Add SPE info.
8908         (gen_frame_mem_offset): New.
8909         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
8910         Change mode of frame pointer, when saving it, to Pmode.
8911         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
8912         Misc cleanups and use gen_frame_mem_offset when appropriate.
8913
8914         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
8915         (TARGET_SPE_ABI): New.
8916         (TARGET_SPE): New.
8917         (TARGET_ISEL): New.
8918         (TARGET_FPRS): New.
8919         (FIXED_SCRATCH): New.
8920         (RTX_COSTS): Add PROCESSOR_PPC8540.
8921         (ASM_CPU_SPEC): Add case for 8540.
8922         (TARGET_OPTIONS): Add isel= case.
8923         (rs6000_spe_abi): New.
8924         (rs6000_isel): New.
8925         (rs6000_fprs): New.
8926         (rs6000_isel_string): New.
8927         (UNITS_PER_SPE_WORD): New.
8928         (LOCAL_ALIGNMENT): Adjust for SPE.
8929         (HARD_REGNO_MODE_OK): Same.
8930         (DATA_ALIGNMENT): Same.
8931         (MEMBER_TYPE_FORCES_BLK): New.
8932         (FIRST_PSEUDO_REGISTER): Set to 113.
8933         (FIXED_REGISTERS): Add SPE registers.
8934         (reg_class): Same.
8935         (REG_CLASS_NAMES): Same.
8936         (REG_CLASS_CONTENTS): Same.
8937         (REGNO_REG_CLASS): Same.
8938         (REGISTER_NAMES): Same.
8939         (DEBUG_REGISTER_NAMES): Same.
8940         (ADDITIONAL_REGISTER_NAMES): Same.
8941         (CALL_USED_REGISTERS): Same.
8942         (CALL_REALLY_USED_REGISTERS): Same.
8943         (SPE_ACC_REGNO): New.
8944         (SPEFSCR_REGNO): New.
8945         (SPE_SIMD_REGNO_P): New.
8946         (HARD_REGNO_NREGS): Adjust for SPE.
8947         (VECTOR_MODE_SUPPORTED_P): Same.
8948         (REGNO_REG_CLASS): Same.
8949         (FUNCTION_VALUE): Same.
8950         (LIBCALL_VALUE): Same.
8951         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
8952         (SPE_VECTOR_MODE): New.
8953         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
8954         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
8955         (rs6000_stack): Add spe_gp_size, spe_padding_size,
8956         spe_gp_save_offset.
8957         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
8958         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
8959         (SPE_CONST_OFFSET_OK): New.
8960         (rs6000_builtins): Add SPE builtins.
8961
8962         * testsuite/gcc.dg/ppc-spe.c: New.
8963
8964         * config/rs6000/eabispe.h: New.
8965
8966         * config/rs6000/spe.h: New.
8967
8968         * config/rs600/spe.md: New.
8969
8970         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
8971         __SIMD__ for TARGET_SPE.
8972
8973         * config.gcc: Add powerpc-*-eabispe* case.
8974         Add spe.h to user headers for powerpc.
8975
8976 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
8977
8978         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
8979         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8980         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
8981
8982 2002-07-24  Richard Henderson  <rth@redhat.com>
8983
8984         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
8985         form when not optimizing.
8986
8987 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
8988
8989         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
8990         thread_pointer_rtx as unchanging.
8991
8992 2002-07-24  Michael Matz  <matz@suse.de>
8993
8994         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
8995         (free_reg): Use it.
8996
8997 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
8998
8999         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
9000         pattern.
9001         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
9002         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
9003
9004 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
9005
9006         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
9007         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
9008         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
9009
9010 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
9011
9012         * toplev.c (rest_of_compilation): Dump loops before clobbering
9013         the structure.
9014
9015 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
9016
9017         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
9018
9019 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
9020
9021         PR optimization/7291
9022         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
9023         problem on x86_64.
9024
9025 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
9026
9027         * pretty-print.h: Add macros from cp/error.c
9028
9029 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
9030
9031         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
9032         (mask64_2_operand): Declare.
9033         (build_mask64_2_operands): Declare.
9034         (and64_2_operand): Declare.
9035         (extract_MB): Declare.
9036         (extract_ME): Declare.
9037         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
9038         CONST_DOUBLE code.
9039         (mask_operand_wrap): New insn predicate.
9040         (mask64_2_operand): Likewise.
9041         (and64_2_operand): Likewise.
9042         (build_mask64_2_operands): New function.
9043         (extract_MB): New function.
9044         (extract_ME): New function.
9045         (print_operand <case m,M>): Use extract_MB and extract_ME.
9046         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
9047         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
9048         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
9049         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
9050         * config/rs6000/rs6000.md (andsi3_internal3): New
9051         (andsi3_internal3+1): Enable split for powerpc64.
9052         (andsi3_internal3+2): New split.
9053         (andsi3_internal4): Renamed old andsi3_internal3.
9054         (andsi3_internal5): New.
9055         (andsi3_internal5+1): Enable split for powerpc64.
9056         (andsi3_internal5+2): New split.
9057         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
9058         (anddi3): Handle 't' constraint.
9059         (anddi3+1): New split.
9060         (anddi3_internal2): Handle 't' constraint.
9061         (anddi3_internal2+1): New split.
9062         (anddi3_internal3): Handle 't' constraint.
9063         (anddi3_internal3+1): New split.
9064
9065 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
9066
9067         * config/rs6000/rs6000.md: Remove scratch reg on insns using
9068         addze and similar (plus (comparison r1 r2) r3) insns.  Add
9069         missing scratch reg in one case.  Formatting fixes.
9070
9071 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
9072
9073         * cppexp.c (parse_defined): Mark macro used.
9074         * cpphash.h (struct cpp_macro): New member "used".
9075         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
9076         (struct cpp_reader): New member.
9077         * cppinit.c (cpp_finish_options): Set first_unused_line.
9078         (cpp_finish): Warn of unused macros if requested.
9079         (OPT_TABLE): New switches.
9080         (cpp_handle_option): Handle them.
9081         * cpplib.c (do_undef): Warn if macro unused.
9082         (do_ifdef, do_ifndef): Mark macro used.
9083         * cpplib.h (struct cpp_options): New member.
9084         * cppmacro.c (_cpp_warn_if_unused_macro): New.
9085         (enter_macro_context): Mark macro used.
9086         (_cpp_create_definition): Mark macro unused; warn if unused
9087         when redefined.
9088         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
9089         Mark macros used.
9090         * doc/cppopts.texi: Update.
9091
9092 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9093
9094         * dwarf2out.c (SECTION_ASM_OP,
9095         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9096         * system.h (SECTION_ASM_OP): Poison.
9097         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
9098         * config/alpha/alpha-interix.h, config/mips/linux.h
9099         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9100         * config/mmix/mmix-protos.h, config/mmix/mmix.c
9101         (mmix_asm_output_define_label_difference_symbol): Remove.
9102         * config/mmix/mmix.h
9103         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9104         * doc/tm.texi: Remove documentation.
9105
9106 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
9107
9108         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
9109         (constrain_operands): Likewise.
9110         * regclass.c (record_reg_classes): Likewise.
9111         * reload.c (find_reloads): Likewise.
9112         * doc/md.texi: Likewise.
9113
9114         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
9115         * simplify-rtx.c (simplify_subreg): When converting to a non-int
9116         mode, try to convert to an integer mode of matching size first.
9117
9118         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
9119         from individual subregs, check that each subreg has been generated
9120         sucessfully.
9121
9122 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9123
9124         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
9125         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
9126         FOR_EACH_BB_IN_SBITMAP): Remove.
9127         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
9128         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
9129         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
9130         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
9131         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
9132         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
9133
9134 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9135
9136         * pretty-print.h: New file.
9137
9138 2002-07-23      Paul Koning     <pkoning@equallogic.com>
9139
9140         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
9141         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
9142         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
9143         (TARGET_G_FLOAT): Default to 0 if not defined.
9144         (ieeetoe): New, common routine to convert target format floats
9145         to internal form.
9146         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
9147         vs. others.
9148         (e113toe): Change to use ieeetoe.
9149
9150 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9151
9152         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
9153         IBM.
9154         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
9155         (e64toe): Remove special cases for DEC and IBM. Remove support for
9156         ARM_EXTENDED_IEEE_FORMAT.
9157         (e24toe): Remove special cases for DEC.
9158         (significand_size): Simplify. Indent.
9159         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
9160         (etoieee, toieee): New.
9161         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
9162         etoieee and toieee for IEEE arithmetic.
9163
9164 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9165
9166         * doc/extend.texi: Say ISO C90, not ISO C89.
9167         * doc/invoke.texi: Likewise.
9168         * doc/standards.texi: Likewise.
9169
9170 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
9171
9172         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
9173         Fix permutation of conversion and plus/mult.
9174         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
9175         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
9176         (expand_builtin_strncpy) Ditto.
9177         (expand_builtin_memset) Ditto.
9178
9179 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9180
9181         Fix PR/7363:
9182         * c-common.c (c_sizeof_or_alignof_type): New function.
9183         (c_alignof): Remove definition.
9184         * c-common.h (c_sizeof, c_alignof): Define as macros.
9185         (c_sizeof_or_alignof_type): Declare.
9186         (my_friendly_assert): Moved from cp/cp-tree.h
9187         * c-typeck.c (c_sizeof): Remove definition.
9188
9189 2002-07-23  Jan Hubicka  <jh@suse.cz>
9190
9191         * gcse.c (try_replace_reg): Use num_changes_pending.
9192         * recog.c (num_changes_pending): New function.
9193         (validate_replace_src): Use validate_repalce_src_group.
9194         (validate_replace_src_group): New.
9195         * recog.h (validate_repalce_src_group): New.
9196         (num_changes_pending): Likewise.
9197
9198 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
9199
9200         * calls.c (emit_library_call_value_1): If
9201         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
9202         libcall, const call nor pure call.
9203
9204 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9205
9206         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
9207
9208 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9209
9210         * vmsdbgout.c (SECTION_ASM_OP): Remove.
9211
9212 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9213
9214         * config/i386/i386.c (AT_BP): Remove.
9215
9216 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9217
9218         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
9219         Default definition.
9220         * gcse.c: Don't define obstack_chunk_free.
9221         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
9222         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
9223         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
9224         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
9225         Don't define obstack macros.
9226
9227 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
9228
9229         PR target/6744
9230         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
9231         ASM_OPERANDS instructions.
9232
9233 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
9234
9235         PR target/7361
9236         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
9237         constant addresses only on 68HC12.
9238
9239 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
9240
9241         * cppfiles.c (stack_include_file): Correct test of whether
9242         a dependency should be output.
9243
9244 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
9245
9246         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
9247
9248 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
9249
9250         * arm.md (movqi): If optimizing and we can create pseudos, use
9251         a ZERO_EXTEND to load from memory, then copy the result into the
9252         target.
9253         (movhi): Likewise, but only for ARMv4.
9254
9255 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
9256
9257         * ssa-ccp.c (PHI_PARMS): Remove.
9258
9259 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
9260
9261         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
9262         on big-endian targets.
9263
9264 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9265
9266         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
9267         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
9268         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
9269         New formatting macros.
9270
9271         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
9272
9273 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
9274
9275         * rtlanal.c (subreg_regno_offset): Return correct offset for
9276         big endian paradoxical subregs.
9277
9278         * optabs.c (expand_vector_unop): Don't expand using sub_optab
9279         if we got the wrong mode.
9280
9281         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
9282         * genrecog.c (write_switch, write_cond): Use it.
9283         * genemit.c (gen_exp): Likewise.
9284
9285 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
9286
9287         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
9288
9289 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
9290
9291         * c-decl.c (build_compound_literal): Defer compound literal decls
9292         until until file end to emit them only if they are actually used.
9293
9294 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9295
9296         * ra-build.c (check_conflict_numbers): Hide unused function.
9297         (livethrough_conflicts_bb): Avoid automatic aggregate
9298         initialization.
9299         (parts_to_webs_1): Avoid `U' integer constant modifier.
9300         (conflicts_between_webs): Wrap a variable in the macro controlling
9301         its usage.
9302         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
9303         (dump_igraph, dump_graph_cost): Avoid string concatenation
9304         (dump_static_insn_cost): Avoid automatic aggregate
9305         initialization.
9306         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
9307         initialization.
9308         (dump_cost): Avoid string concatenation
9309
9310 2002-07-21  Richard Henderson  <rth@redhat.com>
9311
9312         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
9313         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
9314
9315 2002-07-21  Richard Henderson  <rth@redhat.com>
9316
9317         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
9318         that are not unrolled completely.
9319
9320 2002-07-21  Richard Henderson  <rth@redhat.com>
9321
9322         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
9323         * loop.c (strength_reduce): Update.
9324         * toplev.c (rest_of_compilation): Do unrolling in the first
9325         loop pass, not the second.
9326
9327 2002-07-21  Richard Henderson  <rth@redhat.com>
9328
9329         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
9330         when flag_argument_noalias == 2.
9331         * alias.c (nonoverlapping_memrefs_p): Handle that.
9332         * print-rtl.c (print_mem_expr): Likewise.
9333
9334 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
9335
9336         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
9337         instead of __negdi2 directly.
9338
9339 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9340
9341         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
9342         * function.c (SYMBOL__MAIN): Remove definition.
9343         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
9344         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
9345         * profile.c (GCOV_INDEX_TO_BB): Remove.
9346         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
9347         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
9348
9349 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9350
9351         * c-lex.c (GET_ENVIRONMENT): Remove.
9352         * collect2.c (GET_ENV_PATH_LIST): Remove.
9353         (prefix_from_env): Use GET_ENVIRONMENT.
9354         * cppinit.c (GET_ENV_PATH_LIST): Remove.
9355         (init_standard_includes): Use GET_ENVIRONMENT.
9356         * defaults.h (GET_ENVIRONMENT): Define here if not already.
9357         * gcc.c (GET_ENV_PATH_LIST): Remove.
9358         (make_relative_prefix, process_command): Update.
9359         * protoize.c (GET_ENV_PATH_LIST): Remove.
9360         (do_processing): Update.
9361
9362 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
9363
9364         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
9365         (grokdeclarator): Likewise.
9366         * c-format.c (C_STD_NAME): Likewise.
9367         * c-lex.c (interpret_integer): Likewise.
9368         * c-typeck.c (build_array_ref): Likewise.
9369         * cpplex.c (_cpp_lex_direct): Likewise.
9370         * toplev.c (documented_lang_options): Likewise.
9371
9372 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9373
9374         * c-format.c (T99_I, T99_UI): Remove.
9375
9376 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9377
9378         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
9379
9380 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
9381
9382         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
9383         do_local_cprop.
9384
9385 2002-07-21  Andreas Jaeger  <aj@suse.de>
9386
9387         * reload1.c (fixup_abnormal_edges): Remove unused variable.
9388
9389 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
9390
9391         Improvements for the ifcvt pass from Michael Meissner, with patches
9392         by Richard Sandiford <rsandifo@redhat.com>
9393         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
9394         * ifcvt.c (cond_exec_changed_p): New static variable.
9395         (last_active_insn): New function, renamed from last_active_insn_p
9396         and changed to return the last active insn in a basic block. All
9397         callers updated.
9398         (block_fallthru): New function.
9399         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
9400         IFCVT_MODIFY_INSN.  All callers updated.
9401         Return false if START or END are NULL.
9402         Handle case where we're processing an insn that is already
9403         conditional.
9404
9405         (noce_process_if_block): CE_INFO argument rather than
9406         multiple args containing the involved basic blocks.  All callers
9407         changed.
9408         (process_if_block, merge_if_block, find_if_block,
9409         cond_exec_process_if_block): Likewise.
9410
9411         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
9412         changed.
9413         Use new function last_active_insn to simplify some code.
9414         New code to handle multiple tests.
9415         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
9416         cond_exec_changed_p to TRUE.
9417
9418         (process_if_block): New code to handle multiple tests.
9419         (merge_if_block): Likewise.
9420         (find_if_header): New arg PASS.  Changed to return the currently
9421         processed basic block or NULL instead of true/false. All callers
9422         changed.
9423         Call IFCVT_INIT_EXTRA_FIELDS.
9424         (block_jumps_and_fallthru_p): New function.
9425         (find_if_block): Discover opportunities to convert multiple tests.
9426         Add additional debugging output.
9427         Update the ce_info structure before returning.
9428
9429         (if_convert): Run multiple passes of if-conversion.
9430         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
9431         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
9432         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
9433         these macros.
9434
9435 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
9436
9437         * gcse.c: Include cselib.h
9438         (constptop_register): Break out from ...
9439         (cprop_insn): ... here; kill basic_block argument.
9440         (do_local_cprop, local_cprop_pass): New functions.
9441         (one_cprop_pass): Call local_cprop_pass.
9442
9443 2002-07-20  Roger Sayle  <roger@eyesopen.com>
9444
9445         * simplify-rtx.c (simplify_relational_operation): Optimize
9446         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
9447
9448 2002-07-20  Michae Matz  <matz@suse.de>
9449
9450         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
9451
9452 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
9453
9454         * cppexp.c (struct op): Add token pointer.
9455         (check_promotion, CHECK_PROMOTION): New.
9456         (optab): Update.
9457         (_cpp_parse_expr): Update, use token pointer of struct op.
9458         (reduce): Warn about change of sign owing to promotion.
9459         * cppinit.c (cpp_handle_option): New warning if -Wall.
9460         * cpplib.h (struct cpp_options): New member.
9461
9462 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
9463
9464         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
9465         fpu list.  Separate Power4 compare and delayed_compare.  Correct
9466         Power4 fpcompare.
9467         (fix_truncdfsi2_internal): Restore FPR preference.
9468         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
9469         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
9470
9471 2002-07-19  Momchil Velikov <velco@fadata.bg>
9472
9473         * reload1.c (reload_as_needed): Duplicate oldpat.
9474
9475 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
9476
9477         PR optimization/7130
9478         * loop.h (struct loop_info): Add "preconditioned".
9479         * unroll.c (unroll_loop): Set it.
9480         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
9481
9482 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
9483
9484         * rtl.def (CODE_LABEL): Remove slot 8.
9485         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
9486         (LABEL_ALTERNATE_NAME): Delete.
9487         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
9488         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
9489
9490         * final.c (output_alternate_entry_point): New.
9491         (final_scan_insn): Use it instead of
9492         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
9493         of a case label being an alternate entry point.
9494
9495         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
9496         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
9497         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
9498         (field deleted).
9499         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
9500
9501         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
9502         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
9503         * doc/tm.texi: Delete documentation of
9504         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
9505
9506 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9507
9508         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
9509         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
9510         (LINK_SPEC): Define.
9511         (STARTFILE_SPEC): Define.
9512         (ENDFILE_SPEC): Define.
9513
9514         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
9515         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
9516
9517         * config/mips/iris6-o32-gas.h: New file.
9518         * config.gcc (mips-sgi-irix6*o32): Use it.
9519
9520         * config/mips/t-iris5-gas: New file.
9521         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
9522
9523 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
9524
9525         * cppexp.c (ALWAYS_EVAL): Remove.
9526         (optab, reduce): Always evaluate.
9527         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
9528         only if not skipping evaluation.
9529
9530 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9531
9532         * config/avr/avr.c (debug_hard_reg_set): Remove.
9533
9534 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
9535
9536         * gcc.c (cpp_options): Include "%1" (cc1_spec).
9537
9538 2002-07-19  Richard Henderson  <rth@redhat.com>
9539
9540         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
9541
9542 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
9543
9544         * prefix.c (update_path): Don't zap single `.' path components
9545         unless followed by another `.' and fix typo last patch.
9546
9547 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
9548
9549         * cppexp.c (cpp_num_mul): Remove unused parameter.
9550         (UNARY, BINARY, OTHER, binary_handler): Remove.
9551         (ALWAYS_EVAL): New.
9552         (optab): Update.
9553         (reduce): Refactor to a large switch, don't use a function
9554         pointer.
9555
9556 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
9557
9558         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
9559
9560 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
9561
9562         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
9563         (sh_expand_binop_v2sf): Likewise.
9564         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
9565         (int_gpr_dest, trunc_hi_operand): New functions.
9566         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
9567         trunc_hi_operand.
9568         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
9569         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
9570         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
9571         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
9572         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
9573         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
9574         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
9575         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
9576         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
9577         (movsf_ie+1): Likewise.
9578         (loaddi_trunc): Use int_gpr_dest predicate.
9579         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
9580         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
9581         (casesi_worker_0+[12], casesi_worker): Likewise.
9582         (shcompact_preserve_incoming_args): Likewise.
9583         (mov_nop): Use any_register_operand predicate.
9584         (mperm_w0): Use trunc_hi_operand predicate.
9585
9586 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9587
9588         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
9589         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
9590         numbering.
9591
9592 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9593
9594         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
9595
9596 2002-07-18  Richard Henderson  <rth@redhat.com>
9597
9598         PR optimization/7147
9599         * ifcvt.c (noce_get_condition): Make certain that the condition
9600         is valid at JUMP.
9601
9602 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
9603
9604         * sh.c (barrier_align, push): Shut up compiler warnings.
9605         (initial_elimination_offset,sh_media_init_builtins): Likewise.
9606         (reg_no_subreg_operand): Delete.
9607
9608 2002-07-17  Bo Thorsen  <bo@suse.de>
9609
9610         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
9611         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
9612         (STARTFILE_SPEC): Remove hardcoded library paths.
9613         (ENDFILE_SPEC): Likewise.
9614
9615 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
9616
9617         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
9618
9619         * gcse.c (try_replace_reg): Do not return false positives.
9620
9621 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
9622
9623         * prefix.c: (update_path): Strip ".." components when prior dir
9624         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
9625
9626         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
9627         (ASM_OUTPUT_REG_POP): Likewise.
9628
9629 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
9630
9631         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
9632         adjustments to first_reg for profiling case.
9633         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
9634         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
9635         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
9636         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
9637         (ASM_OUTPUT_REG_POP): Define.
9638         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
9639         (ASM_OUTPUT_REG_POP): Undef.
9640
9641 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
9642
9643         * cpplib.c (do_sccs): Handle #sccs on all systems.
9644         * system.h (SCCS_DIRECTIVE): Poison.
9645         * config/darwin.h, config/freebsd.h, config/netbsd.h,
9646         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
9647         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
9648         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
9649         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
9650         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
9651         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
9652         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
9653         Remove all references to SCCS_DIRECTIVE.
9654         * doc/cpp.texi, doc/tm.texi: Update.
9655
9656 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
9657
9658         * regrename.c (maybe_mode_change): New function.
9659         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
9660
9661 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
9662
9663         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
9664         suppress addition when either ct or cf are zero.
9665
9666 2002-06-17  Eric Botcazou <ebotcazou@multimania.com>
9667             Glen Nakamura <glen@imodulo.com>
9668
9669         PR optimization/6713
9670         * loop.c (loop_givs_rescan): Explicitly delete the insn that
9671         sets a non-replaceable giv after issuing the new one.
9672
9673 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
9674
9675         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
9676         eval_token): Clarify and correct use of "bool" variables.
9677         * cpplib.h (struct cpp_options): Similarly.
9678         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
9679         * cpptrad.c (recursive_macro): Similarly.
9680
9681 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
9682
9683         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
9684         SHmedia code.
9685
9686         * sh.md (cmpgtudi_media): Remove spurious @.
9687
9688         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
9689         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
9690
9691         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
9692         * sh-protos.h (sh_initialize_trampoline): Declare.
9693         * sh.c (sh_initialize_trampoline): New function.
9694         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
9695         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
9696         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
9697         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
9698         * sh.md (initialize_trampoline, double_shori): New patterns.
9699         (initialize_trampoline_compact): Likewise.
9700         (shmedia32_initialize_trampoline_big): Remove.
9701         (shmedia32_initialize_trampoline_little): Likewise.
9702
9703         * sh-protos.h (binary_float_operator): Remove declaration.
9704         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
9705         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
9706         (unary_float_operator, sh_expand_unop_v2sf): New functions.
9707         (sh_expand_binop_v2sf): Likewise.
9708         (zero_vec_operand): Delete.
9709         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
9710         all non-shared ones.
9711         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
9712         Enable nsb and byterev.
9713         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
9714         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
9715         in general regs.
9716         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
9717         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
9718         immediate operands.
9719         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
9720         Add DF_HI_REGS.
9721         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
9722         lowpart fp regs - only for big endian for now.
9723         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
9724         when FPU is in use.
9725         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
9726         (LOAD_EXTEND_OP): NIL for SImode.
9727         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
9728         general and fp registers is 4.
9729         PREDICATE_CODES: Amend binary_float_operator entry.
9730         Remove zero_vec_operand.  Add unary_float_operator.
9731         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
9732         subreg SET_DEST.
9733         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
9734         (truncdiqi2): Do sign extension.
9735         (movsi_media, movdi_media): Allow to use r63 to an fp register.
9736         (movdf_media, movsf_media): Likewise.
9737         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
9738         Collapse to one define_insn_and_split.  Allow immediate sources.
9739         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
9740         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
9741         (movv4sf): Allow immediate sources.
9742         (movsf_media_nofpu+1): Don't split moves to FP registers.
9743         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
9744         (movv8qi_i+3): Check against CONST0_RTX.
9745         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
9746         for input and output operands.  Fix argument 3 to gen_mextr_rl.
9747         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
9748         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
9749         (mshf0_w, fipr, ftrv): Likewise.
9750         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
9751
9752 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
9753
9754         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
9755         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
9756         * arm.c: Similarly.
9757
9758 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
9759
9760         * config/mips/mips-protos.h (mips_sign_extend): Declare.
9761         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
9762         (TARGET_SWITCHES): Remove debugh.
9763         (ISA_HAS_TRUNC_W): New macro.
9764         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
9765         (PREDICATE_CODES): Remove se_nonimmediate_operand.
9766         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
9767         any SImode move_operand.
9768         (se_nonimmediate_operand): Remove.
9769         (mips_sign_extend): New.
9770         (mips_move_2words): Use it for sign-extended source operands.
9771         (override_options): Allow integers to be put into single FPRs.
9772         (mips_secondary_reload_class): Handle integers in float registers.
9773         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
9774         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
9775         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
9776         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
9777         (fix_truncdfdi2): Provide only a single alternative, in which the
9778         integer is in a float register.  Depend on TARGET_FLOAT64 rather
9779         than TARGET_64BIT.
9780         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
9781         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
9782         (movdi_internal2): Don't allow the source operand to be sign-extended.
9783         Add alternatives for float registers.
9784         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
9785         allows sign-extension.
9786         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
9787         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
9788         float registers.  Remove TARGET_DEBUG_H_MODE test.
9789         (movhi_internal1): Rename to movhi_internal.  Don't check
9790         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
9791         (movqi_internal1): Rename to movqi_internal and remove
9792         TARGET_DEBUG_H_MODE dependency.
9793         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
9794
9795 2002-07-16  Jim Wilson  <wilson@redhat.com>
9796
9797         * toplev.c (lang_dependent_init): Create function context for
9798         init_expr_once.
9799
9800 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
9801
9802         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
9803         --gc-sections if -r.
9804         * config/cris/cris.h: Ditto.
9805
9806 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
9807
9808         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
9809         the comparison directly gives a mask suppress addition when cf is
9810         zero by complementing the mask.
9811
9812 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
9813
9814         * Makefile.in: Delete references to enquire.
9815         * enquire.c: Move to contrib.
9816
9817 2002-07-16  Stan Shebs  <shebs@apple.com>
9818
9819         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
9820         config/rs6000/darwin.h.
9821         (ASM_OUTPUT_SKIP): Ditto.
9822         (TEXT_SECTION_ASM_OP): Ditto.
9823         (DATA_SECTION_ASM_OP): Ditto.
9824         (ASM_APP_ON): Define.
9825         (ASM_APP_OFF): Define.
9826         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
9827         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
9828
9829         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
9830         (machopic_function_base_name): Declare result to be const.
9831         (machopic_non_lazy_ptr_name): Ditto.
9832         (machopic_stub_name): Ditto.
9833         * config/darwin-protos.h: Ditto for the prototypes.
9834
9835 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
9836
9837         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
9838
9839 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
9840
9841         * i386.md (prefetch): Fix for 64bit mode.
9842         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
9843
9844 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
9845
9846         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
9847         * i386.c (x86_machine_dependent_reorg): New function.
9848         * i386-protos.h (x86_machine_dependent_reorg): Declare.
9849
9850 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
9851
9852         * builtins.c (std_expand_builtin_va_start): Remove unused
9853         first argument.
9854         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
9855         std_expand_builtin_va_start with just two arguments.
9856         * expr.h: Update prototypes.
9857
9858         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
9859         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
9860         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
9861         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
9862         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
9863         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
9864         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
9865         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
9866         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
9867         argument from all implementations of EXPAND_BUILTIN_VA_START
9868         and all uses of std_expand_builtin_va_start.
9869
9870 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
9871
9872         * regrename.c (copy_value): Don't record high part copies.
9873
9874 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
9875
9876         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
9877         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
9878         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
9879
9880 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
9881
9882         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
9883
9884         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
9885         into addsi3 using register class "x" and "y".
9886
9887         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
9888         "earlyclobber" constraint modifier for some alternative.
9889
9890         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
9891         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
9892         unordered.
9893         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
9894
9895         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
9896         (TARGET_SWITCHES): Add -mieee-compare option.
9897         (OVERRIDE_OPTIONS): 32332 is a subset of
9898         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
9899         (TARGET_SWITCHES): Fix description of bit-field option.
9900         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
9901         -mieee-compare option. Remove 32332 flag.
9902
9903 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
9904
9905         * explow.c (convert_memory_address): Remove special handling
9906         when POINTERS_EXTEND_UNSIGNED < 0.
9907         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
9908         (movedi_symbolic): Fix typo.
9909         (load_fptr): Remove mode restriction so it works for SI and DI.
9910         (load_fptr_internal1): Ditto.
9911         (load_gprel): Ditto.
9912         (load_symptr_internal1): Ditto.
9913         (call_pic): Ditto.
9914         * config/ia64.c (call_operand): Modify mode check.
9915         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
9916         (ia64_expand_move): Ditto.
9917         (ia64_assemble_integer): Handle SImode function pointers.
9918         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
9919         (ia64_expand_op_and_fetch): Ditto.
9920         (ia64_expand_compare_and_swap): Ditto.
9921         (ia64_expand_lock_test_and_set): Ditto.
9922         (ia64_expand_lock_release): Ditto.
9923
9924 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9925
9926         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
9927
9928 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9929             Richard Earnshaw  <rearnsha@arm.com>
9930
9931         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
9932         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
9933
9934 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
9935
9936         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
9937         understands to be a memory clobber.
9938         * arm.c (arm_expand_prologue): Use it.
9939
9940 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
9941
9942         * ra-rewrite.c: #include reload.h, insn-config.h
9943         * ra-build.c: #include reload.h
9944         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
9945         depend on reload.h, insn-config.h.
9946
9947 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
9948
9949         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
9950         the same size as a word.
9951
9952         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
9953         BYTES_BIG_ENDIAN into account.
9954
9955 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
9956
9957         * i386.md (prefetch): Fix for 64bit mode.
9958         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
9959
9960         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
9961
9962 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9963
9964         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
9965
9966 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
9967
9968         * ginclude/varargs.h: Replace with stub which issues #error.
9969         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
9970         __builtin_va_start.
9971
9972         * builtins.def (BUILT_IN_VARARGS_START): Delete.
9973         (BUILT_IN_VA_START): New.
9974         * builtins.c (expand_builtin_va_start): Eliminate first
9975         argument and code to implement pre-ISO varargs.
9976         (std_expand_builtin_va_start): Ignore first argument; it is
9977         always 1.
9978         (expand_builtin): Handle BUILT_IN_VA_START and
9979         BUILT_IN_STDARG_START identically.  Delete
9980         BUILT_IN_VARARGS_START case.
9981
9982         * function.c (assign_parms): Delete hide_last_arg and all
9983         its uses.
9984         (mark_varargs): Delete function.
9985         * function.h (struct function): Delete 'varargs' bit.
9986         (current_function_varargs): Delete macro.
9987         * tree.h: Don't declare mark_varargs.
9988
9989         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
9990         (c_expand_body): Don't call mark_varargs.
9991         * c-objc-common.c: Handle BUILT_IN_VA_START and
9992         BUILT_IN_STDARG_START identically.  Delete
9993         BUILT_IN_VARARGS_START case.
9994         * c-tree.h: Don't declare c_mark_varargs.
9995         * c-parse.in: Remove grammar rules for '&...' (which has been
9996         commented out since before 2.7.2) and for '...' in K+R
9997         argument declarations.
9998
9999         * builtins.c, function.c, integrate.c, sibcall.c,
10000         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
10001         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
10002         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
10003         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
10004         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
10005         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
10006         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
10007         config/stormy16/stormy16.c: Delete all references to
10008         current_function_varargs, and code predicated on that flag.
10009
10010         * config/alpha/alpha.c (alpha_va_start),
10011         config/arc/arc.c (arc_va_start),
10012         config/i386/i386.c (ix86_va_start),
10013         config/mips/mips.c (mips_va_start),
10014         config/mn10300/mn10300.c (mn10300_va_start),
10015         config/rs6000/rs6000.c (rs6000_va_start),
10016         config/s390/s390.c (s390_va_start),
10017         config/sh/sh.c (sh_va_start),
10018         Ignore first argument; it is always 1.
10019
10020         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
10021         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
10022         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
10023         Delete m68hc11_va_start.
10024         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
10025         No need to define EXPAND_BUILTIN_VA_START.
10026
10027         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
10028         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
10029
10030 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
10031
10032         PR optimization/7153
10033         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
10034         dies in more than one insn.
10035
10036 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
10037
10038         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
10039
10040 2002-07-15  Michael Matz  <matz@suse.de>,
10041             Daniel Berlin  <dberlin@dberlin.org>,
10042             Denis Chertykov  <denisc@overta.ru>
10043
10044         Add a new register allocator.
10045
10046         * ra.c: New file.
10047         * ra.h: New file.
10048         * ra-build.c: New file.
10049         * ra-colorize.c: New file.
10050         * ra-debug.c: New file.
10051         * ra-rewrite.c: New file.
10052
10053         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
10054         (ra-rewrite.o): New .o files for libbackend.a.
10055         (GTFILES): Add basic-block.h.
10056
10057         * toplev.c (flag_new_regalloc): New.
10058         (f_options): New option "new-ra".
10059         (rest_of_compilation): Call initialize_uninitialized_subregs()
10060         only for the old allocator.  If flag_new_regalloc is set, call
10061         new allocator, instead of local_alloc(), global_alloc() and
10062         friends.
10063
10064         * doc/invoke.texi: Document -fnew-ra.
10065         * basic-block.h (FOR_ALL_BB): New.
10066         * config/rs6000/rs6000.c (print_operand): Write small constants
10067         as @l+80.
10068
10069         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
10070         (df_reg_table_realloc): Make size at least as large as max_reg_num().
10071         (df_insn_table_realloc): Size argument now is absolute, not relative.
10072         Changed all callers.
10073
10074         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
10075         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
10076
10077         2002-06-20  Michael Matz  <matz@suse.de>
10078
10079         * df.h (struct ref.id): Make unsigned.
10080         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
10081
10082         2002-06-13  Michael Matz  <matz@suse.de>
10083
10084         * df.h (DF_REF_MODE_CHANGE): New flag.
10085         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
10086         involving subregs with invalid mode changes, when
10087         CLASS_CANNOT_CHANGE_MODE is defined.
10088
10089         2002-05-07  Michael Matz  <matz@suse.de>
10090
10091         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
10092
10093         2002-05-03  Michael Matz  <matz@suse.de>
10094
10095         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
10096
10097         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
10098
10099         * regclass.c (regclass): Work with all regs which have sets or
10100         refs.
10101         (reg_scan_mark_refs): Count regs inside (clobber ...).
10102
10103         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
10104
10105         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
10106         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
10107         add new refs.
10108         (df_bb_refs_update): Don't clear insns_modified here, ...
10109         (df_analyse): ... but here.
10110
10111         * sbitmap.c (dump_sbitmap_file): New.
10112         (debug_sbitmap): Use it.
10113
10114         * sbitmap.h (dump_sbitmap_file): Add prototype.
10115
10116         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
10117
10118         * df.c (df_insn_modify): Grow the UID table if necessary, rather
10119         than assume all emits go through df_insns_modify.
10120
10121         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
10122
10123         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
10124         increase REG_N_REFS (like flow does), so that regclass doesn't
10125         think a reg is useless, and thus, not calculate a class, when it
10126         really should have.
10127
10128         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
10129
10130         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
10131         dataflow analysis.
10132
10133 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
10134
10135         PR middle-end/7245
10136         * config/i386/i386.c (const_int_1_31_operand): New.
10137         * config/i386/i386.h (PREDICATE_CODES): Add it.
10138         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
10139         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
10140         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
10141
10142 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
10143
10144         PR target/7282
10145         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
10146         (floatunssidf2): Likewise.
10147         (floatsidf_ppc64): New insn_and_split.
10148         (floatunssidf_ppc64): Likewise.
10149
10150 2002-07-14  Andreas Jaeger  <aj@suse.de>
10151
10152         * config.gcc (sh64): Remove unused
10153         target_requires_64bit_host_wide_int.
10154
10155 2002-07-12  Roger Sayle  <roger@eyesopen.com>
10156
10157         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
10158         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
10159         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
10160         whether clear_by_pieces should be used to clear storage.
10161         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
10162
10163         * doc/tm.texi: Document these two new target macros.
10164
10165 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
10166
10167         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
10168         the scratch register.
10169         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
10170         of it, forbid reload to use it.
10171
10172 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
10173
10174         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
10175         usage on 64-bit hosts, return value was truncated to 32 bits.
10176
10177 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
10178
10179         * simplify-rtx.c (simplify_subreg): Handle floating point
10180         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
10181         the element mode is requested, compute a subreg with an
10182         integer mode of the same size as the element mode first.
10183
10184 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
10185
10186         * combine.c (try_combine): When converting a paradoxical subreg
10187         to an extension, take LOAD_EXTEND_OP into account.
10188
10189 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10190
10191         * config.gcc (mips-sgi-irix6*o32): New configuration.
10192
10193         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
10194         configurations.
10195         * configure: Regenerate.
10196
10197         * config/mips/iris6-o32-as.h: New file.
10198         * config/mips/iris6-o32.h: New file.
10199
10200         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
10201         (NM_FLAGS): Define.
10202         (HAVE_AS_SHF_MERGE): Undefine.
10203
10204         * config/mips/t-iris5-as: New file.
10205         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
10206
10207         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
10208         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
10209         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
10210         dp-bit.c, fp-bit.c): Move ...
10211         * config/mips/t-iris5-6: ... here.
10212         New file, shared by IRIX 5 and IRIX 6.
10213         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
10214         mips-sgi-irix5*): Use it.
10215
10216         * config/mips/iris6.h: Remove duplicate comment.
10217
10218         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
10219         !TARGET_IRIX6]: Define.
10220         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
10221
10222         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
10223
10224 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10225
10226         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
10227         and delete code to force constant to register.
10228         * pa-protos.h (adddi3_operand): Add prototype.
10229         * pa.c (adddi3_operand): New function.
10230
10231 2002-07-11  Roger Sayle  <roger@eyesopen.com>
10232
10233         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
10234         non-ANSI builtin functions.
10235
10236 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
10237
10238         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
10239         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
10240         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
10241         (gen_const_vector_0): Use it.
10242
10243 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10244
10245         * pa.md (adddi3): For 32-bit targets, force constants to a register
10246         if they don't fit in an 11-bit immediate.  Change insn predicate to
10247         arith11_operand.  Remove comment.
10248         * pa.c (cint_ok_for_move): Fix comment.
10249         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
10250         targets.
10251
10252 2002-07-11  Tim Josling  <tej@melbpc.org.au>
10253
10254         Remove front end hard coding from gengtype.c.
10255
10256         * Makefile.in
10257         (STAGESTUFF): add gtyp-gen.h
10258         (GTFILES): Remove front end specific files.
10259         (GTFILES_FILES_LANGS): New, from configure..
10260         (GTFILES_FILES_FILES): Likewise.
10261         (GTFILES_LANG_DIR_NAMES): Likewise.
10262         (GTFILES_SRCDIR): Likewise.
10263         (gtyp-gen.h): Build from configure information.
10264         (s-gtype): Remove command line parameters from gengtype.
10265         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
10266         (mostlyclean): Delete files generated by and for gengtype.
10267
10268         * c-config-lang.in: New file.
10269
10270         * configure.in (all_gtfiles_files_langs): New. Accumulate files
10271         for each language.
10272         (all_gtfiles_files_files): New. Accumulate language for each file
10273         accumulated.
10274         (gtfiles): Pick up value for C.
10275         (srcdir): AC-SUBST this variable.
10276         (all_gtfiles_files_langs): AC-SUBST this variable.
10277         (all_gtfiles_files_files): AC-SUBST this variable.
10278
10279         * configure: Regenerate.
10280
10281         * gengtype-lex.l (parse_file): Make parameter const.
10282
10283         * gengtype.c (toplevel): include gtyp-gen.h.
10284         (BASE_FILE_<language> unnamed enum): Delete.
10285         (lang_names): Delete (replaced by gtyp-gen.h)
10286         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
10287         all references.
10288         (NUM_GT_FILES): New.
10289         (NUM_LANG_FILES): New.
10290         (srcdir_len): New.
10291         (NUM_BASE_FILES): Change calculation.
10292         (open_base_files): Change prototype to avoid warning.
10293         (startswith): Delete.
10294         (get_file_basename): Iterate through generated language list not
10295         hard coded list.
10296         (get_base_file_bitmap): Use generated list of files and languages.
10297         (close_output_files): Add prototype to rmove warning.
10298         (main): Iterate through list of generated files from gtyp-gen.h
10299         rather than command line paramaters.  Ignore duplicated file
10300         names.
10301
10302         * gengtype.h (parse_file): Amend prototype for const parameter.
10303
10304         * doc/sourcebuild.texi: Document gtfiles variable.
10305
10306         * doc/gty.texi: Document changes to gtfiles variable for front
10307         ends.
10308
10309         * objc/config-lang.in (gtfiles): Add files needed for objc front
10310         end.
10311
10312 2002-07-10  Roger Sayle  <roger@eyesopen.com>
10313
10314         PR c/2454
10315         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
10316         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
10317
10318 2002-07-10  Roger Sayle  <roger@eyesopen.com>
10319             Zack Weinberg <zack@codesourcery.com>
10320
10321         * builtins.def: Make the argument types of abort and exit
10322         independent of the front-end.
10323
10324 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
10325
10326         * config/rs6000/linux64.h (ASM_SPEC): Define.
10327
10328 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
10329
10330         * config/rs6000/rs6000.c (emit_frame_save): New.
10331         (rs6000_frame_related): Replace reg2 before reg.
10332         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
10333         and eh_return registers.
10334
10335 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
10336
10337         Revert all patches for optimization of Complex .op. Real.
10338         * complex_part_zero_p: Remove
10339         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
10340         with x.
10341         * expand_cmplxdiv_wide: Ditto.
10342         * expand_binop: Ditto.
10343
10344 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
10345
10346         * config/avr/avr.md: Fix two 0x80000000 constants to make them
10347         negative also on 64-bit hosts.
10348
10349         Default to -fno-reorder-blocks when optimizing for size.
10350         * config/avr/avr-protos.h (avr_optimization_options): Declare.
10351         * config/avr/avr.c (avr_optimization_options): New function.
10352         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
10353
10354         Optimize returning from simple functions.
10355         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
10356         * config/avr/avr.c (avr_simple_epilogue): New function.
10357         * config/avr/avr.md (return): New insn.
10358
10359 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
10360
10361         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
10362         HAS_INIT_SECTION to protection.
10363
10364 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
10365
10366         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
10367         deprecated.
10368
10369 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
10370
10371         * combine.c (gen_lowpart_for_combine): Handle vector modes.
10372         Supply non-VOID mode to simplify_gen_subreg.
10373
10374 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
10375
10376         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
10377
10378 2002-07-10  Jeffrey A Law  <law@redhat.com>
10379
10380         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
10381         as appropriate.
10382
10383         * mn10200.c (expand_epilogue): Fix test to determine which scratch
10384         register to use.
10385
10386 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
10387
10388         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
10389         Get mode from dest.
10390         If simplify_gen_subreg fails, try next equivalent.
10391
10392 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
10393
10394         * diagnostic.h: #include location.h
10395         (location_t): Move definition to..
10396         * location.h: ... here.  New file.
10397         * tree.h: #include location.h
10398         (DECL_SOURCE_LOCATION): New macro.
10399         (DECL_SOURCE_FILE): Use.
10400         (DECL_SOURCE_LINE): Likewise.
10401         (struct tree_decl): REplace filename and linenum with locus.
10402         * Makefile.in (TREE_H): add location.h
10403         (diagnostic.o): Depends on gt-location.h
10404         (gt-location.h): Depends on s-gtype
10405
10406 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
10407
10408         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
10409         TARGET_OS_CPP_BUILTINS.
10410         * config/rs6000/aix31.h: Likewise.
10411         * config/rs6000/aix41.h: Likewise.
10412         * config/rs6000/aix43.h: Likewise.
10413         * config/rs6000/aix51.h: Likewise.
10414         * config/rs6000/beos.h: Likewise.
10415         * config/rs6000/darwin.h: Likewise.
10416         * config/rs6000/eabi.h: Likewise.
10417         * config/rs6000/eabisim.h: Likewise.
10418         * config/rs6000/linux.h: Likewise.
10419         * config/rs6000/linux64.h: Likewise.
10420         * config/rs6000/lynx.h: Likewise.
10421         * config/rs6000/mach.h: Likewise.
10422         * config/rs6000/rtems.h: Likewise.
10423         * config/rs6000/sysv4.h: Likewise.
10424         * config/rs6000/vxppc.h: Likewise.
10425
10426 2002-07-09 Devang Patel <dpatel@apple.com>
10427         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
10428         Do not allow ObjC objects as a parameter type for Objective-C methods.
10429         My previous patch restricted  'struct' also.
10430
10431 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
10432
10433         * cpperror.c (cpp_error): Default to directive_line within
10434         directives here.
10435         * cppexp.c (cpp_interpret_integer): Only use traditional
10436         number semantics in directives.
10437         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
10438         (do_include_common): Similarly.
10439         * cpptrad.c (scan_out_logical_line): Implement accurate
10440         quoting of <> in #include.
10441         * doc/cpp.texi: Update.
10442
10443 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
10444                           J"orn Rennecke <joern.rennecke@superh.com>
10445
10446         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
10447         * sh.md (attribute issues): Replace with:
10448         (attribute pipe_model).  All users changed.
10449         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
10450         All users changed.
10451         (function units sh5issue, sh5fds): New.
10452         (attribute is_mac_media): New.
10453         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
10454         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
10455         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
10456         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
10457         (call_media, call_value_media, sibcall_media): Likewise.
10458         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
10459         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
10460         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
10461         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
10462         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
10463         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
10464         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
10465         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
10466         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
10467         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
10468         (truncdfsf2_media): Likewise.
10469         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
10470         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
10471
10472 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
10473
10474         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
10475         * sh.c (general_extend_operand, inqhi_operand): New functions.
10476         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
10477         alternatives using 'N' modifier.  Add type.
10478         (adddi3z_media): Likewise.  Enable generator function generation.
10479         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
10480         exact predicates / constraints.  Add type.
10481         (subsi3): Allow 0 for SHMEDIA.
10482         (udivsi3_i4_media): Use match_operand for input values
10483         rather than hard registers.
10484         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
10485         unnecessarily through hard registers.  Keep copies of pseudo
10486         registers outside of the libcall sequence.
10487         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
10488         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
10489         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
10490         (extendhidi2, extendqidi2): Likewise.
10491         (andsi3_compact): Name.
10492         (andcdi3): Enable generator function generation.
10493         (zero_extendhisi2, zero_extendqisi2): Rename to
10494         (zero_extendhisi2_compact, zero_extendqisi2_compact).
10495         (extendhisi2, extendqisi2): Rename to
10496         (extendhisi2_compact, extendqisi2_compact).
10497         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
10498         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
10499         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
10500         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
10501         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
10502         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
10503         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
10504         (shmedia32_initialize_trampoline_big): Likewise.
10505         (shmedia32_initialize_trampoline_little): Likewise.
10506         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
10507         (negdi2): Remove spurious T clobber.
10508         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
10509         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
10510         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
10511         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
10512         (ic_invalidate_line_media): Write back data cache before invalidating
10513         instruction cache.  Add type.
10514         (movsf_media): Sign-extend when the destination is a general
10515         purpose register.  Add type.
10516         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
10517         (casesi_worker_0+1): Only increment ref count for proper label.
10518         (casesi_worker_0+2): Likewise.
10519
10520 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
10521
10522         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
10523
10524 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
10525
10526         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
10527         from Pmode to ptr_mode.
10528         (get_exception_pointer): Ditto.
10529         (connect_post_landing_pads): Ditto.
10530         (dw2_build_landing_pads): Ditto.
10531
10532 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
10533         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
10534         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
10535         (handle_pragma_redefine_extname): Change to use new function.
10536
10537 2002-07-08  Roger Sayle  <roger@eyesopen.com>
10538
10539         * combine.c (combine_simplify_rtx): Add an explicit cast
10540         to avoid signed/unsigned comparison warning.
10541         (simplify_if_then_else): Likewise.
10542         (extended_count): Likewise.
10543         (simplify_shift_const): Likewise.
10544         (simplify_comparison): Likewise.
10545
10546 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
10547
10548         * config/mips/mips.md: Add imadd type.  Update scheduler description
10549         to use imadd as well as imul.
10550         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
10551         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
10552         (*mul_sub_si): Likewise for first alternative.  Change second
10553         alternative from imul to multi.
10554
10555 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
10556
10557         * c-common.c (c_common_post_options): Update prototype;
10558         don't init backends if preprocessing only.
10559         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
10560         * langhooks.h (struct lang_hooks): Update post_options to
10561         return a boolean.
10562         * toplev.c (parse_options_and_default_flags, do_compile,
10563         lang_independent_init): Update prototypes.  Allow the
10564         front end to specify that there is no need to initialize
10565         the back end.
10566         (general_init): Move call to hex_init here...
10567         (toplev_main): ...from here.  Pass flag for back end init
10568         suppression.
10569
10570 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
10571
10572         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
10573         (PREDICATE_CODES): Add entries for equality_comparison_operator,
10574         greater_comparison_operator and less_comparison_operator.
10575         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
10576         more operators.
10577         (equality_comparison_operator): New function.
10578         (greater_comparison_operator, less_comparison_operator): Likewise.
10579         * sh.md (beq_media_i): Disable generator function generation.
10580         Use match_operator to handle a whole class of comparisons.  Add
10581         modifier in output template to provide branch prediction.  Add type.
10582         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
10583         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
10584         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
10585         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
10586
10587 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
10588
10589         Emit MMIX function prologue and epilogue as rtl.
10590         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
10591         not unprototyped get_hard_reg_initial_val.
10592         ("call_value", "nonlocal_goto_receiver"): Ditto.
10593         ("return"): Make define_expand.  Move real insn to...
10594         ("*expanded_return"): New pattern.
10595         ("prologue", "epilogue"): New define_expands.
10596         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
10597         (struct machine_function): New member in_prologue.
10598         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
10599         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
10600         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
10601         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
10602         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
10603         (LOCAL_REGNO): Define.  Adjust comment.
10604         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
10605         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
10606         leaf_function_p.
10607         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
10608         the prologue.
10609         (mmix_target_asm_function_prologue): Make static.  Just mark that
10610         the prologue is being emitted.  Move guts to...
10611         (mmix_expand_prologue): New function.  Adjust for emitting
10612         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
10613         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
10614         \n.  Move guts to...
10615         (mmix_expand_epilogue): New function.  Adjust for emitting
10616         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
10617         (mmix_target_asm_function_end_prologue): Mark that the prologue
10618         has ended.
10619         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
10620         (mmix_conditional_register_usage): Improve comments.
10621         (mmix_local_regno): New function.
10622         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
10623         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
10624         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
10625         (mmix_get_hard_reg_initial_val): Ditto.
10626
10627 2002-07-06  Andreas Jaeger  <aj@suse.de>
10628
10629         * toplev.c (set_fast_math_flags): Don't use ISO C style function
10630         definitions.
10631         * gengtype.c (open_base_files): Likewise.
10632         (close_output_files): Likewise.
10633         * tracer.c (find_best_predecessor): Likewise.
10634         (find_best_successor): Likewise.
10635         (ignore_bb_p): Likewise.
10636
10637 2002-07-05  Roger Sayle  <roger@eyesopen.com>
10638
10639         PR c++/7099
10640         * builtin-attrs.def: Define new attribute lists for use in
10641         builtins.def.
10642         * builtins.def [DEF_BUILTIN]: Modify to take an additional
10643         ATTRS argument, an enumerated value defined in builtin-attrs.def
10644         that represents the attribute list for the builtins.  Modify
10645         all builtin functions to pass an appropriate attribute list.
10646         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
10647         their required noreturn attributes.
10648         * tree.h (enum_builtin_function): Ignore the additional parameter
10649         to DEF_BUILTIN.
10650         * builtins.c (built_in_names): Likewise.
10651         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
10652         argument with a tree representing the functions attribute list.
10653         Pass this "attrs" argument to builtin_function.  No longer handle
10654         the noreturn_p processing manually.
10655         (built_in_attributes): Move the definitions from builtin-attrs.def
10656         before c_common_nodes_and_builtins.
10657         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
10658         DEF_BUILTIN, passing it to both builtin_function and the changed
10659         builtin_function_2.
10660
10661         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
10662         __builtin__exit and __builtin__Exit.
10663
10664 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10665
10666         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
10667         QI mode registers in soft registers.
10668         ("zero_extendqihi2"): Do not take into account soft registers
10669         for register allocation (use '*' constraint).
10670
10671 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10672
10673         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
10674         it is dead.
10675         ("*ashrsi3"): Likewise.
10676         ("*lshrsi3"): Likewise.
10677
10678 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
10679
10680         * genautomata.c (output_max_insn_queue_index_def): Take latencies
10681         into account.
10682
10683 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10684
10685         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
10686         address computation and memory moves.
10687
10688 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
10689
10690         PR c++/6706
10691         * dwarfout.c (output_reg_number): Fix warning message.
10692         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
10693         before using it.
10694
10695 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10696
10697         * gcc/gcc.c (asm_debug): Move initialization ...
10698         (init_spec): ... here.
10699
10700 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
10701
10702         * c-parse.in (extdef): Append ';'.
10703         (old_style_parm_decls): Append ';'.
10704
10705 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
10706
10707         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
10708         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
10709         to gcc_cv_as_gstabs_flag.
10710         * configure: Rebuilt.
10711
10712 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
10713
10714         * ggc.h (ggc_add_root): Document as obsolete.
10715
10716 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
10717
10718         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
10719         (mshflo_w): Likewise.
10720
10721 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
10722
10723         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
10724         vector mode subregs of constants to finding integer mode
10725         subregs of constants.
10726         * cse.c (cse_insn): Use simplify_gen_subreg.
10727         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
10728         From a vector mode expression of different size than the
10729         target mode.
10730
10731 2002-07-03  Eric Christopher  <echristo@redhat.com>
10732
10733         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
10734         * config/mips/mips.h: Remove deprecated -m<processor> options
10735         and cc1_cpu_spec associated.
10736         (CONSTANT_ADDRESS_P): Fix last patch.
10737         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
10738         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
10739         sunge_sf): Remove.
10740
10741 2002-07-03  Stan Shebs  <shebs@apple.com>
10742
10743         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
10744         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
10745         (CPP_SPEC): Remove insertion of APPLE_CC definition.
10746
10747 2002-07-03  Roger Sayle  <roger@eyesopen.com>
10748
10749         * combine.c (struct_undo): Change types of recorded substitutions
10750         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
10751         (do_SUBST_INT): Change types of the substitution from unsigned int
10752         to int, to avoid compilation warning from SUBST_INT's only caller.
10753
10754         (make_extraction): Add cast to avoid compilation warning.
10755         (force_to_mode): Remove cast to avoid compilation warning.
10756
10757 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
10758             Jeff Law  <law@redhat.com>
10759
10760         * i386.md (length_immediate attribute): Fix typo.
10761         (length_address attribute): Likewise.
10762         (modrm attribute): Set it to 0 for immediate call instructions.
10763         (jcc_1 pattern): Set modrm attribute to 0.
10764         (jcc_2 pattern ): Likewise.
10765         (jump pattern): Likewise.
10766         (doloop_end_internal pattern): Explicitly set length.
10767         (leave pattern): Fix typo.
10768         (leave_rex64 pattern): Likewise.
10769
10770 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
10771
10772         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
10773         in FPR as preference.
10774         (fctiwz): Same.
10775         (floatdidf2, fix_truncdfdi2): Same.
10776         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
10777         (floatditf2): Same.
10778         (floatsitf2, fix_trunctfsi2): SImode in GPR.
10779         (ctrdi): Remove FPR alternative and splitter.
10780
10781 2002-07-03  Will Cohen  <wcohen@redhat.com>
10782
10783         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
10784
10785 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
10786
10787         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
10788         than UNITS_PER_WORD, unless this is little endian and the first unit
10789         in this word.  Let extract_bit_field decide how to load an element.
10790         Force arguments to matching mode.
10791         (expand_vector_unop): Likewise.
10792
10793         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
10794         consist of word_mode elements.
10795         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
10796         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
10797         (build_unary_op): Allow vector types for BIT_NOT_EPR.
10798         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
10799         CONST_VECTOR.
10800         * optabs.c (expand_vector_binop): Try to perform operation in
10801         smaller vector modes with same inner size.  Add handling of AND, IOR
10802         and XOR.  Reject expansion to inner-mode sized scalars when using
10803         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
10804         (expand_vector_unop): Try to perform operation in smaller vector
10805         modes with same inner size.  Add handling of one's complement.
10806         When there is no vector negate operation, try a vector subtract
10807         operation.  Use simplify_gen_subreg on constants.
10808         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
10809         constants into smaller vectors with same inner mode, and to
10810         integer CONST_DOUBLEs.
10811
10812 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10813
10814         * c-parse.in (parsing_iso_function_signature): New variable.
10815         (extdef_1): New, copied from...
10816         (extdef): ... here.  Reset parsing_iso_function_signature.
10817         (old_style_parm_decls):  Reset parsing_iso_function_signature.
10818         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
10819         Warn about ISO C style function definitions.
10820         (nested_function, notype_nested_function): Reset
10821         parsing_iso_function_signature.
10822         (parmlist_2): Set parsing_iso_function_signature.
10823
10824         * doc/invoke.texi (-Wtraditional): Document new behavior.
10825
10826 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
10827
10828         * config.gcc (mips*el-*-*): Use tm_defines to set
10829         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
10830         * config/mips/little.h: Remove.
10831
10832 2002-07-02 Devang Patel <dpatel@apple.com>
10833
10834         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
10835         object as parameter. Prevent something like 'NSObject' to be
10836         used as the type for a method argument.
10837
10838 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
10839
10840         * cpptrad.c: Update comment.
10841
10842 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
10843
10844         * doc/cpp.texi: Update for traditional preprocessing changes.
10845         * goc/cppopts.texi: Similarly.
10846
10847 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
10848
10849         * c-parse.in (designator): Enable designated initializers if ObjC.
10850         (objcmessageexpr): Remove references to objc_receiver_context.
10851         * objc/objc-act.h (objc_receiver_context): Remove decl.
10852         * objc/objc-act.c (objc_receiver_context): Remove.
10853         (lookup_objc_ivar): Test objc_method_context instead of
10854         objc_receiver_context.
10855
10856 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
10857
10858         * sh.c (print_operand, case 'N'): Allow zero vector.
10859         (arith_reg_or_0_operand): Likewise.
10860         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
10861         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
10862         IOR, XOR, PLUS and SET and take their respective constant
10863         ranges into account.
10864         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
10865         * sh.md (subdi3, subdi3_media): Allow zero operand.
10866         (movv8qi_i+3): Only vector that is not split is the zero vector.
10867         Fix operand 3 to simplify_subreg.
10868         (movv2si_i): Split alternative 1.
10869         (mshfhi_l_di_rev+1): New splitter.
10870
10871 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
10872
10873         PR preprocessor/7029
10874         * cppinit.c (cpp_handle_option):  Suppress warnings with an
10875         implicit "-w" for "-M" and "-MM".
10876         * doc/cppopts.texi: Update.
10877
10878 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10879
10880         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
10881         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
10882         builtin_function.
10883
10884 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
10885
10886         * README.Portability: Fix typos.
10887
10888 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
10889
10890         PR target/7177
10891         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
10892         of indirections for register inside sign-extended mem part.
10893
10894 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10895
10896         * tree.h:  Modify builtin_function interface to take an extra
10897         argument ATTRS, which is a tree representing an attribute list.
10898
10899         * c-decl.c (builtin_function): Accept additional parameter.
10900         * objc/objc-act.c (builtin_function): Likewise.
10901         * f/com.c (builtin_function): Likewise.
10902         * java/decl.c (builtin_function): Likewise.
10903         * ada/utils.c (builtin_function): Likewise.
10904         * cp/decl.c (builtin_function): Likewise.
10905         (builtin_function_1): Likewise.
10906
10907         * c-common.c (c_common_nodes_and_builtins): Pass an additional
10908         NULL_TREE argument to builtin_function.  (builtin_function_2):
10909         Likewise.
10910         * cp/call.c (build_java_interface_fn_ref): Likewise.
10911         * objc/objc-act.c (synth_module_prologue): Likewise.
10912         * java/decl.c (java_init_decl_processing): Likewise.
10913         * f/com.c (ffe_com_init_0): Likewise.
10914
10915         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
10916         NULL_TREE argument to builtin_function.
10917         * config/arm/arm.c (def_builtin): Likewise.
10918         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
10919         * config/i386/i386.c (def_builtin): Likewise.
10920         * config/ia64/ia64.c (def_builtin): Likewise.
10921         * config/rs6000/rs6000.c (def_builtin): Likewise.
10922
10923 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
10924
10925         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
10926         * config/mips/t-isa3264: Likewise.
10927         * config/mmix/t-mmix: Likewise.
10928
10929 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10930
10931         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
10932
10933 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10934
10935         PR opt/4046
10936         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
10937         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
10938         B are truth values.
10939
10940 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
10941
10942         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
10943
10944 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
10945
10946         * README.Portability (Function prototypes): Give an example of
10947         declaring and defining a function with no arguments.
10948
10949         * README.Portability (Function prototypes): Document new
10950         variable-argument function macros.
10951
10952 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
10953
10954         * sh.c (langhooks.h): Include.
10955         (sh_init_builtins, sh_media_init_builtins): New functions.
10956         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
10957         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
10958         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
10959         (builtin_description): New struct tag.
10960         (signature_args, bdesc): New arrays.
10961         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
10962         (print_operand): Add 'N' modifier.
10963         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
10964         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
10965         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
10966         (CONST_COSTS): Add special case for SHmedia AND.
10967         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
10968         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
10969         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
10970         target_operand can also be const or unspec.
10971         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
10972         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
10973         (attribute type): Add new types.
10974         (anddi3): Add splitter.
10975         (movdi_const_16bit+1): Add code to handle vector constants and
10976         bitmasks efficiently.
10977         (shori_media): Have generator function made.
10978         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
10979         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
10980         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
10981         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
10982         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
10983         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
10984         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
10985         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
10986         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
10987         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
10988         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
10989         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
10990         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
10991         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
10992         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
10993         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
10994         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
10995         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
10996         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
10997         (ftrv): Likewise.
10998
10999         (fpu_switch+1, fpu_switch+2): Remove constraint.
11000
11001 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
11002
11003         * tree.c (build_function_type_list): Update function comment.
11004         Rename first argument to return_type.
11005
11006 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
11007
11008         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
11009         tradcif.y and related files.
11010
11011 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
11012
11013         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
11014
11015 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11016
11017         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
11018
11019 See ChangeLog.7 for earlier changes.