OSDN Git Service

* loop.c (record_giv): Initialize not_replaceable.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-11-19  Andreas Jaeger  <aj@suse.de>
2
3         * loop.c (record_giv): Initialize not_replaceable.
4         (check_final_value): Likewise.
5
6 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
7
8         * config/h8300/h8300.c (h8300_init_once): Replace 1 with
9         MASK_H8300S.
10
11 2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
12
13         * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
14         only if -mh or -ms present.
15         (h8300_eightbit_constant_address_p): Support the normal mode.
16         (h8300_tiny_constant_address_p): Likewise.
17         * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
18         (POINTER_SIZE): Add 16 bit pointer for the normal mode.
19         (Pmode): Evaluate to HImode for the normal mode.
20         (SIZE_TYPE): Evaluate to unsigned int for normal mode.
21         (PTRDIFF_TYPE): Evaluate to int for the normal mode.
22         (ASM_WORD_OP): Evaluate to word for the normal mode.
23         * config/h8300/h8300.md (tablejump_normal_mode): New.
24         (indirect_jump_normal_mode): New.
25         * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
26         directory.
27         (MULTILIB_DIRNAMES): Create target dependent directory
28         'normal'.
29         (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
30         * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
31
32 Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>
33
34         * i386.md (length_immediate): Do not refer to insn address.
35         (jcc*, jmp patterns):  Compute length explicitly.
36
37 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
38
39         PR c/8588
40         * optabs.c (expand_binop): Convert CONST_INTs in shift
41         operations too.
42
43 2002-11-19  Roger Sayle  <roger@eyesopen.com>
44
45         * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
46
47 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
48
49         * config/h8300/h8300.md (an anonymous pattern): Relax the
50         condition to accept the same operands and/or subregs.
51
52 2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
53
54         * config/sh/sh.c (gen_shl_and): Revert previous patch.
55         * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
56         reload_completed.
57
58 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
59
60         * config/h8300/h8300.c (print_operand): Update the use of
61         EIGHTBIT_CONSTANT_ADDRESS_P.
62         (h8300_adjust_insn_length): Likewise.
63         (h8300_eightbit_constant_address_p): Check if the given rtx is
64         a variable with __attribute__((eightbit_data)).
65         * config/h8300/h8300.h (OK_FOR_U): Update the use of
66         EIGHTBIT_CONSTANT_ADDRESS_P.
67
68 2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
69
70         * doc/contrib.texi (Contributors): Add self as second contact in
71         addition to Jeff Law.
72
73 2002-11-19  Andreas Jaeger  <aj@suse.de>
74
75         * tree-inline.c: Move prototpyes of find_alloca_call_1 and
76         find_alloca_call to right place.
77
78 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
79
80         * cppfiles.c: Fix formatting.
81
82 2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
83
84         * gcc.c (The Specs Language): Document spec functions.
85         (static_spec_functions, lookup_spec_function)
86         (eval_spec_function, handle_spec_function)
87         (if_exists_spec_function, alloc_args): New.
88         (execute): Abort if processing_spec_function is true.
89         (do_spec_1): Hand off spec to handle_spec_function if %:
90         is encountered.  If processing_spec_function is true,
91         end any pending argument when the end of the string is reached.
92         (main): Use alloc_args to allocate the initial argument vector.
93         * gcc.h (struct spec_function): New.
94         (lang_specific_spec_functions): New extern.
95
96         * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
97         (ENDFILE_SPEC): Add if-exists(crtn%O%s).
98         * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
99
100         * doc/invoke.texi: Document spec functions.
101
102         * cppspec.c (lang_specific_spec_functions): New.
103         * gccspec.c: Likewise.
104
105 2002-11-18  Steve Ellcey  <sje@cup.hp.com>
106
107         * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
108         (FIXUNS_TRUNCTFDI2_LIBCALL): New.
109         (fixunstfsi_libfunc): Change.
110         (fixunstfdi_libfunc): Change.
111         (sdiv_optab): Don't zero out SImode handler.
112         (udiv_optab): Don't zero out SImode handler.
113         (smod_optab): Don't zero out SImode handler.
114         (umod_optab): Don't zero out SImode handler.
115
116 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
117
118         PR preprocessor/8524
119         * cpplib.c (run_directive): Remove previous kludge to _Pragma.
120         Add a new one in its place, which hopefully works.
121         (skip_rest_of_line): Change test for bottom-of-context-stack.
122
123 Mon Nov 18 21:29:03 CET 2002  Jan Hubicka  <jh@suse.cz>
124
125         * i386.md (addqi_1_slp): Fix output template.
126         (subqi_1_slp): Fix type.
127
128 Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh@suse.cz>
129
130         * calls.c (alloca_call_p): New global function.
131         * tree.h (alloca_call_p): New.
132         * tree-inline.c (inlinable_function_p):  Do not inline when
133         function calls alloca.
134         (find_alloca_call, find_alloca_call_1): New functions.
135
136 2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
137
138         * config/h8300/h8300.md (*andorqi3): Use bor between bld and
139         bst.  Update the insn length.
140         (*andorhi3): Likewise.
141         (*andorsi3): Likewise.
142
143 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
144
145         * config/sh/sh-protos.h (sh_mark_label): Declare.
146         * config/sh/sh.c (sh_mark_label): New function, taken from
147         movdi_const, but fixing the case when the address has an addend.
148         * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
149
150 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
151
152         * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
153         (add_constant): Set it.
154         (dump_table): Don't reorder a constant if part_of_sequence_p.
155         (machine_dependent_reorg): Assume that float constants will
156         stay in their original order if used as a sequence.
157
158 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
159
160         * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
161         in compact code.
162
163 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
164
165         * config/sh/sh.md (initialize_trampoline): Do not force the
166         trampoline address into R0_REGS here.
167
168 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
169
170         * df.c: Fix formatting.
171
172 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
173
174         * config/h8300/h8300.md (two anonymous patterns): Fix insn
175         lengths.
176
177 2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
178
179         * sh.c (gen_shl_and): Don't create a zero_extend if the operand
180         is not an arith_reg_operand.
181
182 2002-11-17  Graham Stott  <graham.stott@btinternet.com>
183
184         * real.c (real_to_decimal): Fix buffer overrun when buffer size
185         is smaller than representation.
186
187 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
188
189         * builtins.c: Fix formatting.
190
191 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
192
193         * config/h8300/h8300.md (two anonymous patterns): Fix typos.
194
195 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
196
197         * config/h8300/h8300.md: Fix formatting.
198
199 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
200
201         * config/h8300/h8300.md: Replace spaces with tabs.
202         * config/h8300/t-h8300: Remove a trailing empty line.
203
204 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
205
206         * tlink.c: Fix formatting.
207
208 2002-11-16  David Edelsohn  <edelsohn@gnu.org>
209
210         PR 8362
211         * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
212         * config/rs6000/rs6000.md (movti_string): Remove output modifier
213         when scratch register never needed.
214         (ldmsi[3-8]): New patterns.
215
216 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
217
218         * hard-reg-set.h: Follow spelling conventions.
219         * real.c: Likewise.
220         * target.h: Likewise.
221
222 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
223
224         * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
225
226 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
227
228         * optabs.c: Fix formatting.
229
230 Sat Nov 16 02:06:02 CET 2002  Jan Hubicka  <jh@suse.cz>
231
232         * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
233         * i386.md (attribute type): Add type shift1 and rotate1.
234         (*_slp): Rewrite to have just two operands to avoid reload problems.
235
236 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
237
238         * config/h8300/h8300.md (4 anonymous patterns): New.
239
240 2002-11-15  Geoffrey Keating  <geoffk@apple.com>
241
242         * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
243         * doc/invoke.texi: Correct description of what needs to be done to
244         force collection at every ggc_collect call.
245
246 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
247
248         * config/s390/s390.c (optimization_options): Set
249         flag_asynchronous_unwind_tables to 1 by default.
250
251 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
252
253         * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
254
255 Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
256
257         * i386-protos.h (x86_function_profiler): New function
258         * i386.h (MCOUNT_NAME): New.
259         (PROFILE_COUNT_REGISTER): New.
260         (FUNCTION_PROFILER): Move offline to ...
261         * i386.c (x86_function_profiler) ... here; fix 64bit support
262         * beos-elf.h (FUNCTION_PROFILER): Kill.
263         (MCOUNT_NAME): New.
264         * freebsd-aout.h (FUNCTION_PROFILER): Kill.
265         (MCOUNT_NAME): New.
266         (PROFILE_COUNT_REGISTER): New.
267         * linux.h (FUNCTION_PROFILER): Kill.
268         (MCOUNT_NAME): New.
269         * x86-64.h (FUNCTION_PROFILER): Kill.
270         (MCOUNT_NAME): New.
271         * freebsd.h (FUNCTION_PROFILER): Kill.
272         (MCOUNT_NAME): New.
273
274 2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
275
276         * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
277         FUNCTION_ARG_PASS_BY_REFERENCE): Define.
278         * config/arm/arm.c (arm_va_arg,
279         arm_function_arg_pass_by_reference): New.
280         * config/arm/arm-protos.h: Add prototypes.
281
282 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
283
284         * gthr-single.h: Fix formatting.
285
286 2002-11-14  Zack Weinberg  <zack@codesourcery.com>
287
288         * tree.c (tree_vec_elt_check_failed): New function.
289         * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
290         (TREE_VEC_ELT): Use it.
291
292         * tree-inline.c (optimize_inline_calls): Don't copy a
293         zero-length vector.
294
295 2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
296
297         * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
298
299 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
300
301         * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
302         both operands contain local relocations.
303         (categorize_decl_for_section): Don't use mergeable sections if
304         initializer has any relocations.
305
306 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
307
308         * gthr-vxworks.h: Fix formatting.
309
310 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
311
312         * doc/install.texi (Testing): Document extra Java testing.
313         * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
314
315 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
316
317         * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
318         beginning of the spec.
319         (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
320         (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
321         regarding problems with global constructors when using GNU ld.
322
323 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
324
325         * gthr-solaris.h: Fix formatting.
326
327 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
328
329         * gthr-posix.h: Fix formatting.
330
331 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
332
333         * config/h8300/h8300.md (*andorsi3): New.
334
335 2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
336
337         * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
338
339 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
340
341         * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
342         expressions appropriately.
343
344 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
345
346         * gthr-win32.h: Fix formatting.
347
348 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
349
350         * config/h8300/h8300.c (single_one_operand): Correctly compute
351         mask when mode is SImode.
352         (single_zero_operand): Likewise.
353         * config/h8300/h8300.md (two new anonymous insns): New.
354
355 2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
356
357         * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
358         to that entire project.
359
360 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
361
362         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
363         directories.
364
365 2002-11-11  Zack Weinberg  <zack@codesourcery.com>
366
367         * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
368         * doc/invoke.texi: Document them.
369
370         * ggc-page.c: Include params.h.  Remove definitions of
371         GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
372         GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
373         (init_gcc): Don't set G.allocated_last_gc here.
374         (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
375         PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
376         perform collection.
377         * ggc-simple.c: Similarly.
378         * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
379         dependencies.
380
381 2002-11-11  Kazu Hirata  <kazu@cs.umass.edu>
382
383         * gthr-dce.h: Fix formatting.
384
385 2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
386
387         PR c/8467
388         * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
389         mode of DECL_RTL case.
390
391 2002-11-11  Janis Johnson  <janis187@us.ibm.com>
392
393         * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
394
395 Mon Nov 11 12:06:08 CET 2002  Jan Hubicka  <jh@suse.cz>
396
397         * i386.c (construct_container): Fix handling of SSE_CLASS.
398
399 2002-11-10  Joel Sherrill <joel@gcc.gnu.org>
400
401         * config/m68k/t-crtstuff (crti.o): Use this...
402         ($(T)crti.o): ... instead.
403         (crtn.o): Use this...
404         ($(T)crtn.o): ... instead.
405
406 2002-11-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
407
408         PR c/8439
409         * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
410         if there is something new to be simplified.
411
412 2002-11-10  H.J. Lu <hjl@gnu.org>
413
414         * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
415         * expr.c (PUSH_ARGS_REVERSED): Likewise.
416
417         * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
418
419 2002-11-10  Zack Weinberg  <zack@codesourcery.com>
420
421         * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
422         * config/rs6000/linux.h, config/rs6000/linux64.h,
423         config/rs6000/windiss.h: ... not here.
424
425 2002-11-10  Jason Thorpe  <thorpej@wasabisystems.com>
426
427         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
428         __ABICALLS__ if TARGET_ABICALLS.
429
430 Sun Nov 10 18:49:21 CET 2002  Jan Hubicka  <jh@suse.cz>
431
432         * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
433
434 2002-11-10  Joseph S. Myers  <jsm@polyomino.org.uk>
435
436         * c-decl.c (grokdeclarator): Make error for duplicate type
437         qualifiers into a pedwarn, disabled for C99.
438
439 2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
440
441         * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
442         as FUNCTION_ARG_PASS_BY_REFERENCE.
443
444 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
445
446         * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
447
448         * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
449         (hppa*64*-*-hpux11*): Likewise.  Use elfos.h with gas.
450         * pa.c (output_millicode_call): Use symbol difference rather than
451         $PIC_pcrel$0 when using HP assembler.
452         * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
453         not elfos.h (i.e., gas) is being used.
454         (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
455         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
456         ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
457         ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
458         ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
459         using elfos.h.
460         (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
461         (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
462         (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
463         using elfos.h.
464         (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
465         BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
466         (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
467         Don't define when not using elfos.h.
468         (ASM_DECLARE_RESULT): Don't define.
469         * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
470         doesn't work on hppa64-hp-hpux11.
471         (hppa*-hp-hpux11): Update.
472
473 2002-11-09  Jason Thorpe  <thorpej@wasabisystems.com>
474
475         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
476         to the assembler if -mno-abicalls was specified.
477
478 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
479
480         * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
481         ASM_OUTPUT_DEF): Delete.
482
483 2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
484
485         * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
486
487 2002-11-08  Dale Johannesen  <dalej@apple.com>
488
489         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
490
491 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
492
493         PR preprocessor/8497
494         PR preprocessor/8501
495         * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
496         start a directive.  In assembler, #NUM is not a line directive.
497
498 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
499
500         * cppmain.c (cpp_preprocess_file): Loop to pop any -included
501         buffers.
502
503 2002-11-08  Kazu Hirata  <kazu@cs.umass.edu>
504
505         * config/h8300/h8300.md (two anonymous test insns): New.
506
507 Fri Nov  8 11:20:19 CET 2002  Jan Hubicka  <jh@suse.cz>
508
509         * jump.c (mark_jump_label): Handle subregs of label_refs.
510
511 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
512
513         * config/ia64/crtend.asm: Include "auto-host.h".
514         [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
515         * config/ia64/crtbegin.asm: Similarly.
516         * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
517         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
518
519         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
520         * configure.in: Use it if --enable-initfini-array not specified.
521         * doc/install.texi (Configuration): Document --enable-initfini-array.
522         * configure, config.in: Rebuild.
523
524 2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>
525
526         * config/arm/arm-protos.h (arm_get_frame_size)
527         (thumb_get_frame_size): New prototypes.
528         * config/arm/arm.c (arm_get_frame_size)
529         (thumb_get_frame_size): New functions.
530         (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
531         (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
532         arm_get_frame_size.
533         (thumb_expand_prologue, thumb_expand_epilogue): Use
534         thumb_get_frame_size.
535         * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
536         (machine_function): Add frame_size member.
537         (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
538
539 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
540
541         * arm.c (bit_count): Make argument unsigned long.  Return unsigned.
542         Adjust code to use portable unsigned bit manipulation.
543         (insn_flags, tune_flags): Change type to unsigned.
544         (struct processors): Make flags unsigned long.
545         (arm_override_options): Change type of count and current_bit_count
546         to unsigned.
547
548 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
549
550         * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
551
552 Thu Nov  7 15:50:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
553
554         * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
555
556 Thu Nov  7 11:18:01 CET 2002  Jan Hubicka  <jh@suse.cz>
557
558         * reg-stack.c (compensate_edge): Fix sanity check.
559
560 2002-11-05  Geoffrey Keating  <geoffk@apple.com>
561
562         * config.gcc: Don't create crtbegin, crtend on Darwin; do create
563         crt2.o.  Rearrange t-darwin makefiles.
564         * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
565         * unwind-dw2-fde-darwin.c: New.
566         * unwind-dw2-fde-glibc.c: Correct comment.
567         * unwind-dw2-fde.c (__register_frame_info_bases)
568         [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
569         (classify_object_over_fdes): Use last_fde.
570         (add_fdes): Likewise.
571         (linear_search_fdes): Likewise.
572         * unwind-dw2-fde.h (struct object)
573         [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
574         (last_fde): New.
575         * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
576         (ENDFILE_SPEC): No crtend.o.
577         * config/t-darwin: New.
578         * config/i386/t-darwin: Delete.
579         * config/darwin-crt2.c: New.
580         * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
581         or config/t-darwin.
582
583 2002-11-06  David Edelsohn  <edelsohn@gnu.org>
584
585         PR target/8480
586         * config/rs6000/rs6000.md (movdi_internal64): Discourage
587         FPR to FPR moves.
588
589 2002-11-06  Janis Johnson  <janis187@us.ibm.com>
590
591         * doc/contrib.texi: Merge in the list from the Java web pages.
592
593 2002-11-06  David O'Brien  <obrien@FreeBSD.org>
594
595         * config/sparc/freebsd: Fix typo.
596
597 2002-11-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
598
599         * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
600
601 2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
602
603         * config/mips/mips.md (call_value_multiple_internal2): Use dla for
604         non-SImode addresses.
605
606 2002-11-05  Bob Wilson  <bob.wilson@acm.org>
607
608         * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
609
610 2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
611
612         * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
613         (STARTFILE_SPEC): Remove p and pg options.
614
615 2002-11-05  Andrew Haley  <aph@redhat.com>
616
617         * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
618         to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
619
620 2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
621
622         * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
623         * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
624
625 2002-11-04  Dale Johannesen  <dalej@apple.com>
626
627         * doloop.c (doloop_modify_runtime):  Fix loop count computation
628         for unrolled loops.
629         * loop.c (loop_invariant_p):  Support calling from unroller.
630
631 2002-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
632
633         * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
634         for comparison.
635
636 2002-11-04  Aldy Hernandez  <aldyh@redhat.com>
637
638         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
639
640         * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
641         (CLASS_CANNOT_CHANGE_MODE): Remove.
642         (CANNOT_CHANGE_MODE_CLASS): New.
643
644         * config/alpha/alpha.h: Same.
645
646         * config/ia64/ia64.h: Same.
647
648         * config/mips/mips.h: Same.
649
650         * config/s390/s390.h: Same.
651
652         * config/sh/sh.h: Same.
653
654         * config/pa/pa64-regs.h: Same.
655
656         * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
657
658         * config/sh/sh.c (sh_cannot_change_mode_class): New.
659
660         * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
661         prototype.
662
663         * config/mips/mips.c (mips_cannot_change_mode_class): New.
664
665         * doc/tm.texi (Register Classes): Remove
666         CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
667         Document CANNOT_CHANGE_MODE_CLASS.
668
669         * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
670         (push_reload): Same.
671
672         * simplify-rtx.c (simplify_subreg): Same.
673
674         * reload1.c (choose_reload_regs): Same.
675
676         * recog.c (register_operand): Same.
677
678         * regrename.c (mode_change_ok): Change to use new
679         CANNOT_CHANGE_MODE_CLASS infrastructure.
680
681         * regclass.c (cannot_change_mode_set_regs): New.
682         Declare subregs_of_mode.
683         (regclass): Use subregs_of_mode.
684         Remove references to reg_changes_mode.
685         (init_reg_sets_1): Remove class_can_change_mode and
686         reg_changes_mode code.
687         (invalid_mode_change_p): New.
688         (dump_regclass): Use invalid_mode_change_p instead of
689         class_can_change_mode.
690         (regclass): Same.
691         (record_operand_costs): Do not set reg_changes_mode.
692
693         * local-alloc.c (struct qty): Remove changes_mode field.
694         (alloc_qty): Remove changes_mode initialization.
695         (update_qty_class): Remove set of changes_mode.
696         (find_free_reg): Use subregs_of_mode.
697
698         * global.c (find_reg): Use subregs_of_mode info.
699
700         * rtl.h (cannot_change_mode_set_regs): New prototype.
701         (invalid_mode_change_p): Same.
702         (REG_CANNOT_CHANGE_MODE_P): New macro.
703
704         * flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
705         REG_CHANGES_MODE.
706         (life_analysis): Clear subregs_of_mode.
707
708         * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
709         Remove use of CLASS_CANNOT_CHANGE_MODE.
710         (simplify_set): Same.
711         (gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
712         REG_CHANGES_MODE.
713
714         * regs.h: Add extern for subregs_of_mode;
715         Include hard-reg-set and basic-block.
716         (REG_CHANGES_MODE): Delete.
717
718 2002-11-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
719
720         * jump.c (never_reached_warning): Don't set contains_insn until the
721         first line note is seen.
722
723 2002-11-03  David Edelsohn  <edelsohn@gnu.org>
724
725         * config/rs6000/rs6000.md (movti_string): Use string instructions.
726
727 2002-11-03  Roger Sayle  <roger@eyesopen.com>
728
729         PR c/7128
730         * c-typeck.c (c_expand_asm_operands): Defend against
731         error_mark_nodes in the output argument to avoid ICE.
732
733 2002-11-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
734
735         PR middle-end/8408
736         * genrecog.c (preds): Handle ADDRESSOF.
737         (validate_pattern): Mark it as an lvalue.
738
739 2002-11-02  David Edelsohn  <edelsohn@gnu.org>
740
741         * config/rs6000/rs6000.c (rs6000_override_options): Use string
742         instructions when optimizing for size.
743
744 2002-11-02  Kazu Hirata  <kazu@cs.umass.edu>
745
746         * config/h8300/h8300.h: Fix comment typos.
747         * config/h8300/h8300.md: Likewise.
748         * config/h8300/lib1funcs.asm: Likewise.
749
750 2002-11-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
751
752         Revert this change:
753
754         *doc/install.texi (Installing GCC: Configuration): Clarify
755         the only supported ways to configure gcc.
756
757 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
758
759         * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
760         instead of 'O' for the constraint for the second operand.
761
762 2002-11-01  Mark Mitchell  <mark@codesourcery.com>
763
764         PR c++/8391
765         * toplev.c (rest_of_compilation): Do not refuse to output code for
766         an inline function in a local class.
767
768 2002-11-01  David O'Brien  <obrien@FreeBSD.org>
769
770         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
771         (TRANSFER_FROM_TRAMPOLINE): Reformat.
772         Add comment.
773
774 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
775
776         * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
777
778 2002-11-01  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
779
780         * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
781
782 2002-11-01  Steve Ellcey  <sje@cup.hp.com>
783
784         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
785         (MASK_INLINE_DIV_THR): Remove.
786         (TARGET_INLINE_DIV_LAT): Remove.
787         (TARGET_INLINE_DIV_THR): Remove.
788         (TARGET_INLINE_DIV): Remove.
789         (MASK_INLINE_FLOAT_DIV_LAT): New macro.
790         (MASK_INLINE_FLOAT_DIV_THR): New macro.
791         (MASK_INLINE_INT_DIV_LAT): New macro.
792         (MASK_INLINE_INT_DIV_THR): New macro.
793         (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
794         (TARGET_INLINE_FLOAT_DIV_THR): New macro.
795         (TARGET_INLINE_INT_DIV_LAT): New macro.
796         (TARGET_INLINE_INT_DIV_THR): New macro.
797         (TARGET_INLINE_FLOAT_DIV): New macro.
798         (TARGET_INLINE_INT_DIV): New macro.
799         * config/ia64/ia64.md (divsi3): Change to use new macros.
800         (modsi3): Ditto.
801         (udivsi3): Ditto.
802         (umodsi3): Ditto.
803         (divsi3_internal): Ditto.
804         (divdi3): Ditto.
805         (moddi3): Ditto.
806         (udivdi3): Ditto.
807         (umoddi3): Ditto.
808         (divdi3_internal_lat): Ditto.
809         (divdi3_internal_thr): Ditto.
810         (divsf3): Ditto.
811         (divsf3_internal_lat): Ditto.
812         (divsf3_internal_thr): Ditto.
813         (divdf3): Ditto.
814         (divdf3_internal_lat): Ditto.
815         (divdf3_internal_thr): Ditto.
816         (divtf3): Ditto.
817         (divtf3_internal_lat): Ditto.
818         (divtf3_internal_thr): Ditto.
819         * config/ia64/ia64.c (ia64_override_options): Change
820         to check new macros for conflicts in settings.
821         * doc/invoke.texi (-minline-divide-min-latency): Remove.
822         (-minline-divide-max-throughput): Remove.
823         (-minline-float-divide-min-latency): New.
824         (-minline-float-divide-max-throughput): New.
825         (-minline-int-divide-min-latency): New.
826         (-minline-int-divide-max-throughput): New.
827
828 2002-11-01  Richard Earnshaw  (rearnsha@arm.com)
829
830         PR target/7856
831         * arm.c (use_return_insn): Don't use a return insn if there are
832         saved integer regs, but LR is not one of them.
833
834 Fri Nov  1 10:33:15 CET 2002  Jan Hubicka  <jh@suse.cz>
835
836         * expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
837         * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
838
839 2002-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
840
841         PR optimization/6162
842         * doc/md.texi: Document restriction on commutative operand
843         specification.
844
845 2002-10-31  Eric Christopher  <echristo@redhat.com>
846
847         * explow.c (convert_memory_address): Use shallow_copy_rtx.
848
849 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
850
851         * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
852
853 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
854
855         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
856
857 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
858
859         * config/rs6000/darwin.h:  Correct formatting in previous.
860
861 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
862
863         * config/rs6000/darwin.h:  Enable -falign-xxx options.
864
865 Thu Oct 31 18:08:00 CET 2002  Jan Hubicka  <jh@suse.cz>
866
867         * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
868         flag_asynchronous_unwind_tables, flag_pcc_struct_return.
869         * i386.c (optimization_options): Set flag_omit_frame_pointer,
870         flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
871         Do not clear -momit-leaf-frame-pointer when profiling.
872         (ix86_frame_pointer_required): Frame pointer is always required when
873         profiling.
874
875 Thu Oct 31 16:09:44 CET 2002  Jan Hubicka  <jh@suse.cz>
876
877         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
878
879 Thu Oct 31 12:45:55 2002  J"orn Rennecke <joern.rennecke@superh.com>
880
881         * sh.h (binary_logical_operator): Declare.
882         * sh.c (binary_logical_operator): New function.
883         * sh.md (xordi3+1): New combiner splitter pattern.
884
885 2002-10-31  David O'Brien  <obrien@FreeBSD.org>
886
887         * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
888         __enable_execute_stack function.
889
890 2002-10-30  Aldy Hernandez  <aldyh@redhat.com>
891
892         * c-common.c: Add GTY to vector_type_node_list.
893
894 2002-10-30  John David Anglin  <dave@hiauly.hia.nrc.ca>
895
896         * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
897         * pa-protos.h (attr_length_millicode_call, attr_length_call,
898         pa_init_machine_status): Declare new global functions.
899         * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
900         implement new functions.
901         (attr_length_millicode_call, attr_length_call): Implement.
902         (total_code_bytes): Change type to long.
903         (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
904         Reset counter if flag_function_sections.
905         (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
906         (output_cbranch): Move call to gen_label_rtx.
907         (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
908         delay slot in all variants, shorten pc-relative calls.
909         (output_call): Rewrite adding long TARGET_64BIT call, improved delay
910         slot usage and exposure, various new call variants, and shortened
911         sequences for some variants on TARGET_PA_20.
912         Miscellaneous format changes.
913         * pa.h (total_code_bytes): Change type to long.
914         (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
915         TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
916         (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
917         (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
918         LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
919         stores on TARGET_ELF32.
920         *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
921         (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
922         canonicalize_funcptr_for_compare expanders): Calculate attribute length
923         attr_length_millicode_call().
924         (call_internal_symref, call_value_internal_symref): Clobber register 1.
925         Calculate attribute length using attr_length_call().
926         (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
927         to delay slot.
928         (sibcall, sibcall_value): Rewrite.
929         (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
930         register 1.  Use attr_length_call().
931         (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
932         New patterns.
933         (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
934         * som.h (MEMBER_TYPE_FORCES_BLK): Define.
935         * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
936         * doc/invoke.texi (mlong-calls): Document.
937
938 2002-10-30  Roger Sayle  <roger@eyesopen.com>
939
940         * fold-const.c (fold_binary_op_with_conditional_arg):  Improve
941         handling of cases where one or both branches of the conditional
942         have void type, i.e. throw an exception or don't return.
943         (fold): Only apply (and undo) type conversion to the non-void
944         branches of a COND_EXPR.
945
946 2002-10-30  Mark Mitchell  <mark@codesourcery.com>
947
948         PR c++/8333
949         * varasm.c (asm_output_aligned_bss): Do not call
950         ASM_GLOBALIZE_LABEL.
951
952 2002-10-30  David Edelsohn  <edelsohn@gnu.org>
953             Torbjorn Granlund  <tege@swox.com>
954
955         * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
956         for addressibility.
957         (load_toc_v4_PIC_1b): Same.
958
959 2002-10-30  Kazu Hirata  <kazu@cs.umass.edu>
960
961         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
962         Truncate the addresses for H8/300 using HImode.
963
964 2002-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
965
966         * toplev.c (rest_of_type_compilation): Return early in case of
967         errors.
968         (check_global_declarations): Don't call debug_hooks->global_decl
969         in case of errors.
970
971 2002-10-28  Andreas Bauer  <baueran@in.tum.de>
972
973         * doc/c-tree.texi (Tree overview): Fix typos.
974
975 2002-10-29  Phil Edwards  <pme@gcc.gnu.org>
976
977         * Makefile.in (gnucompare*):  Only record bad comparisons
978         if there really was a bad comparison.
979
980 Tue Oct 29 19:32:16 CET 2002  Jan Hubicka  <jh@suse.cz>
981
982         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
983         * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
984         * md.texi (machine dependent constraints): Document 'C'
985
986         * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
987
988         * i386.c (ix86_expand_vector_move): Fix.
989
990         * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
991         * i386.md (sse2_maskmovdqu_rex64): New pattern
992
993         PR target/8322
994         * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
995         (ix86_init_mmx_sse_builtins): Fix type.
996
997 2002-10-29  Jason Thorpe  <thorpej@wasabisystems.com>
998
999         * gthr-posix.h: Include <unistd.h> for feature tests.
1000         (sched_get_priority_max, sched_get_priority_min)
1001         (pthread_getschedparam, pthread_setschedparam): Only use
1002         if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
1003         (__gthread_objc_thread_set_priority): Don't treat all non-zero
1004         returns from sched_get_priority_max and sched_get_priority_min
1005         as an error.
1006
1007 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1008
1009         * config/h8300/h8300.h (TARGET_DEFAULT): Make it
1010         MASK_QUICKCALL.
1011
1012 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1013
1014         * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
1015         (h8300_tiny_constant_address_p): Likewise.
1016         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
1017         h8300_eightbit_constant_address_p.
1018         (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
1019         * config/h8300/h8300-protos.h: Add the prototypes for the two
1020         new functions.
1021
1022 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1023
1024         * reload1.c (update_eliminables): Unconditionally check if
1025         frame_pointer_needed has changed.
1026
1027 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
1028
1029         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
1030         before final pass.
1031
1032 2002-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
1033
1034         * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
1035         check for zero operands explicitly.
1036
1037 2002-10-29  Richard Sandiford  <rsandifo@redhat.com>
1038
1039         * config/mips/mips.md (extv, extzv, insv): Set size of referenced
1040         memory after adjusting to BLKmode.
1041
1042 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
1043
1044         * config/h8300/h8300.h (MASK_*): New.
1045         (TARGET_*): Use MASK_*.
1046
1047 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
1048
1049         * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
1050         tm_defines if pthreads are enabled.
1051         * config/netbsd.h (LIB_SPEC): Only support the -pthread option
1052         if NETBSD_ENABLE_PTHREADS is defined.
1053
1054 2002-10-28  Kazu Hirata  <kazu@cs.umass.edu>
1055
1056         * ChangeLog.1: Fix typos.
1057         * cse.c: Fix a comment typo.
1058         * reload1.c: Likewise.
1059
1060 2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
1061
1062         * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
1063         * fixinc/tests/base/_G_config.h: New file.
1064
1065 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
1066
1067         * combine.c: Fix comment formatting.
1068         * loop.c: Likewise.
1069         * real.c: Likewise.
1070         * regclass.c: Likewise.
1071         * regmove.c: Likewise.
1072         * regrename.c: Likewise.
1073         * reg-stack.c: Likewise.
1074         * reload1.c: Likewise.
1075         * reload.c: Likewise.
1076         * reload.h: Likewise.
1077         * unroll.c: Likewise.
1078
1079 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
1080
1081         * reload1.c (reload): Fix a comment typo.
1082
1083 Sun Oct 27 10:15:24 CET 2002  Jan Hubicka  <jh@suse.cz>
1084
1085         * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
1086
1087 2002-10-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1088
1089         * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
1090         * dwarf2out.c: Include hashtab.h.
1091         (is_main_source): New static variable.
1092         (attr_checksum, die_checksum): Modified to handle die references.
1093         (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
1094         unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
1095         record_comdat_symbol_number): New static functions.
1096         (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
1097         mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
1098         * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
1099         declarations added.
1100
1101 2002-10-26  Kazu Hirata  <kazu@cs.umass.edu>
1102
1103         * config/h8300/h8300.c (initial_offset): Change to
1104         h8300_initial_elimination_offset.
1105         * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
1106         h8300_initial_elimination_offset.
1107         * config/h8300/h8300-protos.h: Update the prototype.
1108
1109 2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
1110
1111         * config/mmix/mmix.h (LIBCALL_VALUE): Use
1112         MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
1113         (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
1114         * config/mmix/mmix.c (mmix_function_value_regno_p): New.
1115         * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
1116         and RTX_CODE.
1117         (mmix_function_value_regno_p): Declare.
1118
1119         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
1120         invalid for floating point mode result, with fix.
1121
1122 2002-10-25  Mike Stump  <mrs@apple.com>
1123
1124         Fixes gcc.dg/warn-1.c.
1125         * c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
1126
1127 Sat Oct 26 01:44:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
1128
1129         * toplev.c (dump_file_index): Add DFI_ce3.
1130         (dump_file_info): Likewise.
1131         (rest_of_compilation): Run first ifcvt pass before tracer.
1132
1133 2002-10-25  Steve Ellcey  <sje@cup.hp.com>
1134
1135         * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
1136
1137 2002-10-25  Richard Henderson  <rth@redhat.com>
1138
1139         * real.c (real_to_decimal): If the >1 tens reduction loop results
1140         in a negative exponent, fall into the <1 pten computation.
1141
1142 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
1143
1144         PR middle-end/6994
1145         * c-objc-common.c (inline_forbidden_p): Can not inline
1146         functions containing structures or unions containing VLAs.
1147         * tree-inline.c (walk_tree): For all class 't' nodes, walk
1148         TYPE_SIZE and TYPE_SIZE_UNIT.
1149         (copy_tree_r): Copy types if they are variably modified.
1150
1151 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
1152
1153         * config/s390/s390.md: Remove old-style peepholes.
1154
1155 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
1156
1157         * config/s390/s390.c (s390_decompose_address): Do not range check the
1158         displacement if base or index is the argument pointer register.
1159
1160 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
1161
1162         PR other/3337
1163         PR bootstrap/6763
1164         PR bootstrap/8122
1165         * fixinc/inclhack.def (libc1_G_va_list): New fix.
1166         * fixinc/fixincl.x: Regenerate.
1167         * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
1168         ifndef IN_LIBGCC2.  Wrap it together with signal.h and
1169         sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
1170         * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
1171         * config.in, configure: Regenerate.
1172
1173 2002-10-24  Igor Shevlyakov <igor@microunity.com>
1174
1175         * varasm.c (struct rtx_const): Array size 16 for V16QImode.
1176
1177 2002-10-24  Richard Henderson  <rth@redhat.com>
1178
1179         * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
1180
1181 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1182
1183         * config/h8300/h8300.c (initial_offset): Simplify by using
1184         round_frame_size.
1185
1186 2002-10-24  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1187
1188         * doc/install.texi (avr): Update required binutils version.
1189
1190 2002-10-24  Theodore A. Roth  <troth@openavr.org>
1191
1192         * doc/install.texi: Point avr users at more up-to-date information.
1193
1194 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
1195
1196         * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
1197         to pull operands out of the literal pool where possible.
1198
1199 2002-10-24  Denis Chertykov  <denisc@overta.ru>
1200
1201         * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
1202
1203 2002-10-24  Steve Ellcey  <sje@cup.hp.com>
1204
1205         * expr.c (convert_move): If unsignedp is less then zero there
1206         is no equivalent code.
1207
1208 2002-10-24  Zack Weinberg  <zack@codesourcery.com>
1209
1210         * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
1211
1212 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
1213
1214         * config/s390/s390.h: Rework comments; re-sort target macro definitions
1215         according to the sequence they are defined in the manual.
1216         (POINTER_BOUNDARY): Remove.
1217
1218 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1219
1220         * config/h8300/h8300.c (round_frame_size): Replace 8 with
1221         BITS_PER_UNIT.
1222
1223 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
1224
1225         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
1226         64-bit safe.
1227         (TINY_CONSTANT_ADDRESS_P): Likewise.
1228
1229 2002-10-24  Richard Henderson  <rth@redhat.com>
1230
1231         * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
1232         (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
1233         vcall offset.
1234
1235 2002-10-24  Richard Henderson  <rth@redhat.com>
1236
1237         PR opt/7944
1238         * reload.c (find_reloads_toplev): Mode of X is not important
1239         when simplifying subregs of constants.
1240
1241 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
1242
1243         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
1244         MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
1245         * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
1246         (override_options): Base default setting of MASK_SOFT_FLOAT on -march
1247         if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
1248
1249 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
1250
1251         * optabs.c (expand_binop): Don't reuse the shift target in the
1252         middle of shift sequences.
1253
1254 2002-10-23  Ziemowit Laski <zlaski@apple.com>
1255
1256         * objc/objc-act.c (get_static_reference): Remove unneeded
1257         TYPE_BINFO initialization.
1258         (get_object-reference): Likewise.
1259         (build_constructor): Tighten precondition check.
1260         (finish_message_expr): Likewise.
1261
1262 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
1263
1264         * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
1265         after CONST test.
1266
1267 2002-10-23  Steve Ellcey  <sje@cup.hp.com>
1268
1269         * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
1270         in HFAs.
1271
1272 2002-10-23  Richard Henderson  <rth@redhat.com>
1273
1274         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
1275         (alpha_output_mi_thunk_osf): Handle vcall_offset.
1276
1277 2002-10-23  Zack Weinberg  <zack@codesourcery.com>
1278
1279         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1280         var_mod_type_p.
1281         * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
1282         hook_tree_bool_false.
1283
1284         * tree.c (variably_modified_type_p): Moved here from
1285         cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
1286         language-specific cases.  Due to this, must weaken some 'if
1287         and only if' checks to merely 'if'.
1288         * tree.h: Prototype variably_modified_type_p.
1289
1290         * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
1291
1292 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
1293
1294         * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
1295         * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
1296
1297         * config/s390/s390-protos.h (fp_operand): Remove.
1298         * config/s390/s390.c (fp_operand): Remove.
1299         * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
1300         ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
1301         ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
1302         (movdi_31, movdf_31 splitters): Likewise.
1303
1304         * config/s390/s390.h (IEEE_FLOAT): Remove.
1305         (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
1306         (INT_REGNO_P): Rename to ...
1307         (GENERAL_REGNO_P): ... this.
1308         (FLOAT_REGNO_P): Rename to ...
1309         (FP_REGNO_P): ... this.
1310         (ADDR_REGNO_P): New macro.
1311         (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
1312         (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
1313         (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
1314         (HARD_REGNO_NREGS): Adapt to macro renaming.
1315         (HARD_REGNO_MODE_OK): Likewise.
1316
1317 2002-10-23  David Edelsohn  <edelsohn@gnu.org>
1318             Geoff Keating  <geoffk@apple.com>
1319
1320         * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
1321         (rs6000_memory_move_cost): New function.
1322         * config/rs6000/rs6000-protos.h: Declare them.
1323         * config/rs6000/rs6000.h: Use them.
1324
1325 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
1326
1327         * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
1328         inlining it into other libgcc2 routines.
1329         (__udivmoddi4): Likewise.
1330
1331 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
1332
1333         * doc/sourcebuild.texi (Test Suites): Improve.
1334
1335 2002-10-22  Stan Shebs  <shebs@apple.com>
1336
1337         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
1338         case for Darwin.
1339
1340 2002-10-22  Jim Wilson  <wilson@redhat.com>
1341
1342         * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
1343
1344 Wed Oct 23 01:52:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
1345
1346         PR other/8289
1347         * xmmintrin.h: Add const to the argument of loads.
1348
1349         * i386.md (pushv2di): New pattern.
1350         PR target/6890
1351         * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
1352
1353 2002-10-22  Richard Henderson  <rth@redhat.com>
1354
1355         * target.h (gcc_target.asm_out): Merge output_mi_thunk and
1356         output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
1357         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
1358         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
1359         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1360         (TARGET_ASM_OUT): Update.
1361         * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
1362         (hook_bool_tree_hwi_hwi_tree_true): New.
1363         (default_can_output_mi_thunk_no_vcall): New.
1364         * hooks.h: Declare them.
1365         * system.h (ASM_OUTPUT_MI_THUNK): Poison.
1366
1367         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1368         (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
1369         * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
1370         config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
1371         config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
1372         config/stormy16/stormy16.c: Similarly.
1373
1374         * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
1375         Handle 64-bit properly.  Streamline.
1376         (x86_output_mi_vcall_thunk): Remove.
1377         (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
1378         (x86_can_output_mi_thunk): New.
1379         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
1380         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1381         (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
1382
1383         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
1384         output_mi_thunk; make static; always use function_section.
1385         (TARGET_ASM_OUTPUT_MI_THUNK): New.
1386         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1387         (rs6000_ra_ever_killed): Test no_new_pseudos not
1388         targetm.asm_out.output_mi_thunk in conjunction with thunks.
1389         * config/rs6000/rs6000-protos.h: Update.
1390         * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1391         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
1392         xcoffout_declare_function when using rs6000_output_mi_thunk.
1393
1394         * config/s390/s390.c (s390_output_mi_thunk): Rename from
1395         s390_output_mi_vcall_thunk.
1396         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1397         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1398
1399         * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
1400         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
1401         * config/vax/vax-protos.h: Update.
1402         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
1403
1404 Wed Oct 23 00:33:11 CEST 2002  Jan Hubicka  <jh@suse,cz>
1405
1406         * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
1407         * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
1408         * i386.md (movti_internal): Use 'C'
1409
1410         * xmmintrin.h (_mm_cmplt_epi*): New.
1411
1412 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1413
1414         * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
1415         ("*movdf_64"): Likewise.
1416         ("*lshrdi3_64"): Likewise.
1417         ("blockage"): Add length attribute.
1418         ("lit"): Likewise.
1419
1420 Tue Oct 22 23:51:34 CEST 2002  Jan Hubicka  <jh@suse.cz>
1421
1422         * i386.md: FIx typo.
1423         (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
1424         (sse2_umulv2siv2di3): Fix predicate.
1425         (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
1426         lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
1427         * xmmintrin.h (_mm_mul_epu16): Rename to...
1428         (_mm_mul_epu32): This one.
1429         (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
1430
1431         (contains_128bit_aligned_vector_p): Undo accidental checkin.
1432
1433 2002-10-22  Eric Christopher  <echristo@redhat.com>
1434
1435         * config/sparc/sparc.h: Add #error.
1436
1437 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
1438
1439         * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
1440         [s390x-*-linux*]: Likewise.
1441         * config/s390/t-linux: Remove.
1442         * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
1443
1444 Tue Oct 22 19:07:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
1445
1446         * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
1447         (ix86_expand_builtin): Fix MASKMOVDQU expasion.
1448         * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
1449         * i386.md (mmx_punpck?dq): Simplify.
1450         (sse2_pubpcklqdq): Fix.
1451         (sse2_pubpckhqdq): New.
1452         * xmmintrin.h (_mm_unpackhi_epi32): New.
1453
1454         * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
1455         (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
1456
1457 2002-10-22  Nathan Sidwell  <nathan@codesourcery.com>
1458
1459         PR c++/7209
1460         * fold_const.c (fold_binary_op_with_conditional_arg): Always
1461         build compound_expr if we used save_expr.
1462
1463 2002-10-22  Alan Modra  <amodra@bigpond.net.au>
1464
1465         * output.h (SECTION_NOTYPE): Define.
1466         * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
1467         init array sections.
1468         (default_elf_asm_named_section): Mind SECTION_NOTYPE.
1469         * config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
1470         merge TLS support.
1471
1472 2002-10-21  Richard Henderson  <rth@redhat.com>
1473
1474         * real.c (sticky_rshift_significand): Return inexact, don't
1475         or it in immediately.
1476         (sub_significands): Accept incomming carry.
1477         (div_significands, rtd_divmod): Update for sub_significands change.
1478         (round_for_format): Update for sticky_rshift_significand change.
1479         (do_add): Don't involve the inexact bit in addition, do give the
1480         inexact bit as the subtraction carry-in.
1481         (encode_internal, decode_internal, real_internal_format): New.
1482         * real.h (real_internal_format): Declare.
1483
1484 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1485
1486         * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
1487         don't define sdiv_qrnnd.
1488
1489 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
1490
1491         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
1492         using IN_RANGE.
1493         (TINY_CONSTANT_ADDRESS_P): Likewise.
1494
1495 Tue Oct 22 00:04:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
1496
1497         * i386.c (builtin_description): Add punpcklqdq and movdq2q
1498         (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
1499         v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
1500         void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
1501         __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
1502         __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
1503         __builtin_ia32_setzero128.
1504         (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
1505         IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
1506         IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
1507         * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
1508         IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
1509         IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
1510         IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
1511         * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
1512         sse2_movq): New patterns.
1513         (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
1514         * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
1515         _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
1516         _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
1517         _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
1518         _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
1519         _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
1520         (_mm_insert_epi16): Fix.
1521
1522 2002-10-21  Dale Johannesen  <dalej@apple.com>
1523
1524         * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
1525             unsafe math reversals correctly for RTL generation.
1526           (output_cbranch):  Replace rs6000_reverse_condition call
1527             by its former definition.
1528
1529 2002-10-21  Jakub Jelinek  <jakub@redhat.com>
1530
1531         * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
1532         argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
1533         from constant pool or LABEL_REFs as sign extended if allow_rip.
1534         Change all +-1GB limits to +-16MB.
1535         (x86_64_general_operand, x86_64_szext_general_operand,
1536         x86_64_nonmemory_operand, x86_64_movabs_operand,
1537         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
1538         legitimate_address_p, ix86_expand_int_movcc): Update callers.
1539         (local_symbolic_operand): Don't allow offsets bigger than +-16MB
1540         in CM_SMALL_PIC model.
1541         (legitimate_pic_address_disp_p): Don't check offsets before
1542         calling local_symbolic_operand.
1543         (legitimize_pic_address): Force offsets bigger than +-16MB into
1544         register.
1545         * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
1546         * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
1547         prototype.
1548
1549         * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
1550         Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
1551         * configure: Rebuilt.
1552         * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
1553         SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
1554         UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
1555         (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
1556         -fpic.
1557         (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
1558         non-pic code if TARGET_64BIT.
1559         (legitimize_address): Generate 64-bit TLS sequences.
1560         (output_pic_addr_const): Support x86-64 TLS operators.
1561         (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
1562         (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
1563         Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
1564         (output_addr_const_extra): Support x86-64 TLS operators.
1565         (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
1566         (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
1567         unconditionally.
1568         * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
1569         (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
1570         (*tls_global_dynamic_sun): Renamed to...
1571         (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
1572         (tls_global_dynamic): Renamed to...
1573         (tls_global_dynamic_32): ... this.
1574         (tls_global_dynamic_64, *tls_global_dynamic_64): New.
1575         (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
1576         (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
1577         (*tls_local_dynamic_base_dynamic_sun): Renamed to...
1578         (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
1579         (tls_local_dynamic_base_dynamic): Renamed to...
1580         (tls_local_dynamic_base_dynamic_32): ... this.
1581         (tls_local_dynamic_base_dynamic_64,
1582         *tls_local_dynamic_base_dynamic_64): New.
1583         (*tls_local_dynamic_once): Renamed to...
1584         (*tls_local_dynamic_32_once): ... this.
1585
1586 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1587
1588         * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
1589         __divdi3, __umoddi3, or __moddi3.
1590
1591 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1592
1593         * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
1594         instead of just opt_index as switch expression.
1595
1596         * calls.c (store_one_arg): Change type of 'excess_align'
1597         to unsigned int.
1598
1599         * profile.c (output_gcov_string): Change type of 'temp'
1600         to size_t.
1601
1602 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1603
1604         * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
1605         (__fixunssfdi, __fixsfdi): Likewise.
1606         * config/s390/s390.c (s390_single_hi): Initialize 'value'.
1607         (s390_single_qi): Likewise.
1608         (s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
1609         unsigned comparison warning.
1610         (s390_return_addr_rtx): New function.
1611         * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
1612         * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
1613         (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
1614
1615 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
1616
1617         * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
1618         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
1619         (s390_output_mi_thunk): Remove.
1620         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
1621
1622 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
1623
1624         * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
1625
1626 2002-10-20  Richard Henderson  <rth@redhat.com>
1627
1628         * target.h (struct gcc_target): Line wrap.
1629
1630         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
1631         (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
1632         * config/alpha/alpha.h: ... not here.
1633         * config/alpha/alpha-protos.h: Update.
1634
1635         * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
1636         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
1637         config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
1638         config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
1639         config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
1640         config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
1641         config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
1642         config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
1643         config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
1644         config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
1645         config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
1646         config/sparc/openbsd.h, config/sparc/sparc-protos.h,
1647         config/sparc/sparc.c, config/sparc/sparc.h,
1648         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
1649         config/stormy16/stormy16.h: Similarly.
1650
1651         * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
1652         selection logic from call patterns.
1653
1654 2002-10-20  Mark Mitchell  <mark@codesourcery.com>
1655
1656         * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
1657
1658 2002-10-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1659
1660         PR other/8202
1661         * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
1662         expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
1663         * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
1664         * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
1665
1666 2002-10-20  Roger Sayle  <roger@eyesopen.com>
1667
1668         PR c/761
1669         * toplev.c (flag_unsafe_profile_arcs): Remove.
1670         (flag_bounded_pointers): Remove.
1671         (flag_bounds_check): Correct comments.
1672         (lang_independent_options): Remove -funsafe-profile-arcs and
1673         -fbounded-pointers.  Correct -fbounds-check comments.
1674
1675         * flags.h: Correct flag_schedule_interblock comments.
1676         (flag_bounded_pointers): Remove prototype.
1677         (flag_bounds_check): Correct comments.
1678
1679         * c-opts.c (c_common_init_options): No need to mark
1680         flag_bounds_check as unspecified.
1681         (c_common_post_options): And no need to set it from
1682         flag_bounded_pointers if its still unspecified.
1683
1684         * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
1685         Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
1686         -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
1687         -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
1688
1689 2002-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1690             Mark Mitchell  <mark@codesourcery.com>
1691
1692         * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
1693         match target.h.
1694         * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
1695         * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
1696         * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
1697         * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
1698         x86_output_mi_thunk): Likewise.
1699         * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
1700         * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
1701         * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
1702         * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
1703         * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
1704         * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
1705         * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
1706         Likewise.
1707         * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
1708
1709         * target.h (gcc_target): Update output_mi_thunk and
1710         output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
1711         vcall_index.
1712
1713         * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
1714         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1715         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
1716         (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
1717         * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
1718         * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
1719         signature.
1720         * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
1721         * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
1722         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1723         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
1724         (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
1725         * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
1726         TARGET_ASM_OUTPUT_MI_THUNK in comments.
1727         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
1728         ASM_OUTPUT_MI_THUNK and replace with check of targetm.
1729
1730         * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
1731         (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
1732
1733 2002-10-19  Brad Lucier  <lucier@math.purdue.edu>
1734
1735         * real.c (do_add): Fix 0+0 sign corner case.
1736         (do_divide): Fix Inf/0 corner case.
1737
1738 Sun Oct 20 00:31:31 CEST 2002  Jan Hubicka  <jh@suse.cz>
1739
1740         * i386.c (classify_argument): Pass MMX arguments in memory
1741         (ix86_expand_builtin): Expand proper address mode for cflush.
1742         * i386.md (movdqa): Fix typo.
1743         (sse2_cflush): Accept DImode addresses.
1744
1745         * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
1746         (_mm_max_sd): Fix pasto.
1747         (_mm_storeh_pd, _mm_storel_pd): Fix.
1748
1749         * i386.c (bdesc_comi): Fix to match specification.
1750         (ix86_expand_sse_comi): Emit the comparison properly.
1751         * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
1752         Do not use comparison operator.
1753         (vnmaskcmp): Fix template.
1754
1755         * xmmintrin.h (_mm_cvtps_pi16): Fix.
1756
1757 2002-10-19  Sebastian Pop  <s.pop@laposte.net>
1758
1759         * dependence.c : Removed.
1760         * Makefile.in : Remove dependence.o.
1761
1762 Sat Oct 19 10:46:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
1763
1764         * mmintrin.h (__m64): typedef it to v2si.
1765         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
1766         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
1767         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
1768         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
1769         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
1770         * xmmintrin.h (_mm_setzero_si64): Likewise.
1771
1772         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
1773         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
1774
1775         PR target/7693
1776         Patch by Shawn Wagner
1777         * mmintrin.h: Replace pi64 by si64.
1778
1779 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
1780
1781         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
1782         Use length of 4 not *.
1783         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
1784         (movdf_softfloat64): Likewise.
1785         (movdi_internal32): Use length of 4 not *.
1786         (movti_power): Same.
1787         (ctrsi, ctrdi): Same.
1788
1789 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
1790
1791         * c-decl.c (start_decl): Point users of the old initialized-
1792         typedef extension at __typeof__.
1793
1794 2002-10-18  Richard Henderson  <rth@redhat.com>
1795
1796         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
1797         (real_to_decimal): Re-implement using the logic from the
1798         gcc 3.2 etoasc.  Comment heavily.
1799         (div_significands): Simplify loop startup and comparison logic.
1800
1801 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
1802
1803         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
1804         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
1805         (TARGET_ASM_OUT): Add them.
1806         * target.h (asm_out): Add output_mi_thunk and
1807         output_mi_vcall_thunk.
1808         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1809         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1810         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
1811         * config/arm/arm.c (arm_output_mi_thunk): Define.
1812         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1813         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1814         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1815         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1816         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1817         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1818         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
1819         prototype.
1820         (x86_output_mi_vcall_thunk): Declare.
1821         * config/i386/i386.c (override_options): Clear
1822         output_mi_vcall_thunk in 64-bit mode.
1823         (ix86_fntype_regparm): New function.
1824         (ix86_return_pops_args): Use it.
1825         (ia32_this_parameter): New function.
1826         (x86_output_mi_vcall_thunk): New function.
1827         (x86_output_mi_thunk): Use it
1828         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
1829         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
1830         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
1831         * config/i960/i960.c (i960_output_mi_thunk): New function.
1832         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
1833         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
1834         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
1835         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1836         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1837         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
1838         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1839         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1840         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1841         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1842         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1843         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1844         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1845         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1846         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1847         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1848         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
1849         * config/s390/s390.c (s390_output_mi_thunk): Define.
1850         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1851         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1852         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1853         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1854         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1855         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1856         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
1857         * config/vax/vax.c (vax_output_mi_thunk): Define.
1858         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
1859         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
1860         * doc/tm.texi: Adjust documentation.
1861
1862 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
1863
1864         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
1865         __enable_execute_stack function.
1866         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
1867         as NETBSD_ENABLE_EXECUTE_STACK.
1868         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1869         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1870         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1871         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1872         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
1873
1874 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
1875
1876         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
1877         to __enable_execute_stack with the address of the trampoline
1878         if TRANSFER_FROM_TRAMPOLINE is defined.
1879         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
1880         constant if building libgcc2.
1881
1882 2002-10-17  Roger Sayle  <roger@eyesopen.com>
1883
1884         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
1885
1886 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
1887
1888         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
1889         in CTR/LR/MQ.
1890         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
1891         to/from CTR/LR/MQ.
1892         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
1893         (movsf_softfloat): Likewise.
1894
1895 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
1896
1897         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
1898
1899 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
1900
1901         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
1902         tramp, not addr, to pass the trampoline address to
1903         __enable_execute_stack.
1904
1905 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
1906
1907         * mmintrin.h: Guard by __MMX__
1908         * xmmintrin.h: Guard by __SSE__
1909
1910         PR other/8062
1911         * xmmintrin.h (_MM_SHUFFLE2): New macro.
1912         (_mm_load*_?d): New functions.
1913         (_mm_set*_?d): New functions.
1914         (_mm_store*_?d): New functions.
1915
1916 Wed Oct 16 15:01:29 CEST 2002  Jan Hubicka  <jh@suse.cz>
1917
1918         Really commit patch announced at Oct 14
1919         PR c/7344
1920         * predict.c (can_predict_insn_p): New function.
1921         (estimate_probability): Avoid unnecesary work.
1922         (process_note_prediction): Likewise.
1923         * toplev.c (rest_of_compilation): Account early branch prediction pass
1924         as TV_BRANCH_PROB.
1925
1926         PR other/8048
1927         Found by Ian Ollmann
1928         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
1929         (_mm_load?_pd): Likewise.
1930         (_mm_store?_pd): Likewise.
1931
1932         PR target/7386
1933         * i386.c (builtin_description):Drop cmpg[te]s[sd].
1934         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
1935         swapped alternative.
1936
1937         PR opt/7630
1938         * reload1.c (reload_inner_reg_of_subreg): New argument output;
1939         (push_reload): Update call.
1940
1941 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
1942
1943         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
1944         if using mips/elf.h or mips/elf64.h.
1945         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
1946         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
1947
1948 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
1949
1950         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
1951         SI.
1952
1953 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
1954
1955         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
1956         (LPREFIX): Likewise.
1957         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
1958         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
1959         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
1960         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
1961         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
1962
1963         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
1964         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
1965         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
1966         BSS_SECTION_ASM_OP): Move from linux.h.
1967         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1968         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
1969
1970         * config/s390/s390.c (s390_function_profiler): Use
1971         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
1972
1973 2002-10-15  Richard Henderson  <rth@redhat.com>
1974
1975         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
1976         as arguments.  Bound DIGITS by the available buffer size.
1977         (real_to_hexadecimal): Likewise.
1978         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
1979         (REAL_VALUE_TO_DECIMAL): Remove.
1980         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
1981         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
1982         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
1983         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
1984         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
1985         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
1986         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
1987         use real_to_decimal directly, and with the proper arguments.
1988         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
1989
1990 2002-10-15  Jim Wilson  <wilson@redhat.com>
1991
1992         * reload1.c (merge_assigned_reloads): After converting overlapping
1993         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
1994
1995         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
1996
1997 Tue Oct 15 22:08:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
1998
1999         * expr.c (do_tablejump): Fix typo in my previous commit.
2000
2001 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
2002
2003         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
2004
2005 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
2006
2007         * config/s390/s390.c (s390_split_branches): Add return
2008         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
2009
2010         (find_base_register_in_addr): New function.
2011         (find_base_register_ref): New function.
2012         (replace_base_register_ref): New function.
2013
2014         (struct constant_pool): Add members pool_insn, insns, and anchor.
2015         Remove member last_insn.
2016         (s390_start_pool): Initialize them.
2017         (s390_end_pool): Emit pool placeholder insn.
2018         (s390_add_pool_insn): New function.
2019         (s390_find_pool): Use insns bitmap instead of addresses.
2020         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
2021         Replace unspec 104 by local-pool-relative references.
2022         (s390_output_constant_pool): Output anchor label if required.
2023         (s390_output_symbolic_const): Handle unspec 104 and 105.
2024         (s390_add_pool): Remove, replace by ...
2025         (s390_add_constant, s390_find_constant): ... these new functions.
2026         (s390_add_anchor): New function.
2027
2028         (s390_chunkify_pool): Delete, replace by ...
2029         (s390_chunkify_start, s390_chunkify_finish,
2030         s390_chunkify_cancel): ... these new functions.
2031         (s390_optimize_prolog): Add parameter TEMP_REGNO.
2032         Recompute register live data for special registers.
2033         (s390_fixup_clobbered_return_reg): New function.
2034         (s390_machine_dependent_reorg): Rewrite to use new
2035         s390_chunkify_... routines.
2036
2037         config/s390/s390.md ("reload_base"): Rename to ...
2038         ("reload_base_31"): ... this.
2039         ("reload_base_64"): New insn.
2040         ("reload_base2"): Remove.
2041         ("reload_anchor"): New insn.
2042         ("pool"): New insn.
2043
2044         s390.c (s390_pool_overflow): Remove.
2045         s390.h (s390_pool_overflow): Likewise.
2046         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
2047
2048 Tue Oct 15 16:51:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
2049
2050         * sh.md (movv8qi_i+2): Don't split if source is -1.
2051
2052 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
2053
2054         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
2055
2056 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
2057
2058         PR opt/7409
2059         * loop.c (loop_regs_scan): Mark registers used for function
2060         argument passing as MAY_NOT_OPTIMIZE.
2061
2062 Mon Oct 14 20:33:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
2063
2064         * i386.md (movv2di_internal): New pattern.
2065         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
2066         (movv2di): New expander.
2067         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
2068
2069         * i386.c (ix86_expand_timode_binop_builtin): Delete.
2070         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
2071         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
2072         (ix86_expand_builtin): Likewise.
2073         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
2074         sse_andti3,
2075         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
2076         sse_andnti3,
2077         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
2078         sse_orti3,
2079         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
2080         sse_xorti3): Kill.
2081         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
2082          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
2083         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
2084          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
2085         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
2086          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
2087
2088         * xmmintrin.h (__m128i): Define as __v2di.
2089
2090         PR c++/6419
2091         (expand_expr): Use DECL_RTL_SET_P.
2092
2093 2002-10-14  Roger Sayle  <roger@eyesopen.com>
2094
2095         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
2096
2097 2002-10-14  Roger Sayle  <roger@eyesopen.com>
2098             Zack Weinberg <zack@codesourcery.com>
2099
2100         * config/i386/i386.c (k6_cost): Correct typo.
2101
2102 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
2103
2104         PR optimization/6631
2105         * alias.c (objects_must_conflict_p): Check honor_readonly when
2106         examining TYPE_READONLY.
2107         * function.c (assign_stack_temp_for_type): Likewise.
2108
2109 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2110
2111         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
2112         Swap zero extension arguments.
2113         (umaxhi3): Fix instruction class.
2114         PR target/7211
2115         (prefetch): Fix prefetch instructions.
2116         PR target/7238
2117         (pkwb): Fix output constraint.
2118
2119 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
2120
2121         * config/mips/mips.c (print_operand): Increase buffer size for
2122         real numbers.
2123
2124 2002-10-14  Richard Henderson  <rth@redhat.com>
2125
2126         PR opt/8165
2127         * gcse.c (adjust_libcall_notes): Revert last change.
2128         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
2129
2130 2002-10-14  Andrew Haley  <aph@redhat.com>
2131
2132         * tree-inline.c (remap_block): All local class initialization
2133         flags go in the outermost scope.
2134         (expand_call_inline): Call java_inlining_map_static_initializers.
2135         (expand_call_inline): Call java_inlining_merge_static_initializers.
2136         * java/lang.c (merge_init_test_initialization): New.
2137         (java_inlining_merge_static_initializers): New.
2138         (inline_init_test_initialization): New.
2139         (java_inlining_map_static_initializers): New.
2140
2141         * tree-inline.c (expand_call_inline): Convert retvar to expected
2142         type.
2143
2144 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
2145
2146         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
2147
2148 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
2149
2150         * stmt.c: Fix typo in comment.
2151
2152 Mon Oct 14 11:35:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
2153
2154         * c-common.c (c_common_type_for_mode): Add V2HImode case.
2155         * tree.c (build_common_tree_nodes_2): Initialize
2156         unsigned_V2HI_type_node and V2HI_type_node.
2157         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
2158         (unsigned_V2HI_type_node, V2HI_type_node): Define.
2159
2160 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
2161
2162         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
2163         Handle TARGET_64BIT.
2164
2165 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
2166
2167         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
2168         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
2169         (MULTILIB_DIRNAMES): Remove long32.
2170         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
2171         (MULTILIB_REDUNDANT_DIRS): Remove.
2172
2173 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
2174
2175         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
2176         * gcc.c (driver_self_specs): New variable.
2177         (do_self_spec): New function.
2178         (main): Use it to process driver_self_specs.
2179
2180 2002-10-13  Richard Henderson  <rth@redhat.com>
2181
2182         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
2183
2184 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
2185
2186         PR preprocessor/7862
2187         PR preprocessor/8190
2188         * gcc.c (cpp_unique_options): Don't delete .d files.
2189         Remove stray whitespace.
2190
2191 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
2192
2193         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
2194         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
2195         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
2196         (pdp11_output_function_epilogue, output_ascii): Likewise.
2197         (output_addr_const_pdp11): Likewise.
2198         * pdp11.md (movdi): Use offsetable memory for floating store.
2199         (lshrsi3, negsi2): Delete irrelevant comment.
2200
2201 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
2202
2203         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
2204         not the address of the REG.
2205         (struct cse_reg_info): Make subreg_ticked unsigned.
2206
2207 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
2208
2209         * doc/compat.texi: Add info about C++ libraries.
2210
2211 2002-10-11  Richard Henderson  <rth@redhat.com>
2212
2213         PR opt/8165
2214         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
2215
2216 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2217
2218         * cfganal.c (dfs_enumerate_from): Use PARAMS.
2219         * genautomata.c (output_insn_code_cases): Likewise.
2220         * real.c (real_format): Likewise.
2221         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
2222         ensure value is promoted before doing subtraction.
2223
2224 Fri Oct 11 22:22:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
2225
2226         * calls.c (expand_call): Simplify noreturn call.
2227
2228         PR c/7344
2229         * cfgbuild.c (make_edges): Create edge cache when we do have
2230         large jumptable.
2231         * expr.c (do_tablejump): Note size of maximal jumptable.
2232         * function.c (prepare_function_start): Zero out size.
2233         * function.h (function): Add max_jumptable_ents.
2234
2235         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
2236
2237 Fri Oct 11 12:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
2238
2239         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
2240         register for mperm_w operation.
2241
2242 Fri Oct 11 10:56:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
2243
2244         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
2245         an integer, use simplify_gen_subreg.
2246
2247 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
2248
2249         * extend.texi (Vector Extensions): Remove comment about single
2250         element vectors.
2251
2252 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2253
2254         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
2255         * function.c (insns_for_mem_hash): Likewise.
2256         * varasm.c (STRHASH): Likewise.
2257
2258 2002-10-10  Stuart Hastings  <stuart@apple.com>
2259
2260         * cse.c (struct cse_reg_info): Add subreg_ticked.
2261         (SUBREG_TICKED): New.
2262         (get_cse_reg_info): Initialize SUBREG_TICKED.
2263         (mention_regs): Use it.
2264         (invalidate): Set SUBREG_TICKED.
2265         (invalidate_for_call): Likewise.
2266         (addr_affects_sp_p): Likewise.
2267
2268 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
2269
2270         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
2271         into proper operand.
2272
2273 2002-10-10  Denis Chertykov  <denisc@overta.ru>
2274
2275         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
2276         deallocation.
2277         * config/ip2k/libgcc.S: Combine routines used by function
2278         epilogue.
2279
2280 2002-10-10  Jim Wilson  <wilson@redhat.com>
2281
2282         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
2283         UDIV.
2284
2285 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
2286
2287         * config/rs6000/aix52.h: New file.
2288         * config/rs6000/t-aix52: New File.
2289         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
2290         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
2291
2292 Thu Oct 10 19:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
2293
2294         PR target/5610
2295         * invoke.texi (-msse-math): Kill
2296         (-msse): Add note to mfpmath=sse.
2297
2298 Thu Oct 10 17:08:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
2299
2300         PR target/7723
2301         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
2302
2303 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
2304
2305         PR preprocessor/8179
2306         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
2307         as cc1_options.
2308         (default_compilers): Pass debug options when preprocessing
2309         stdin.
2310
2311 2002-10-06  Richard Henderson  <rth@redhat.com>
2312
2313         * toplev.c (rest_of_compilation): Revert opt/2960 change.
2314
2315 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
2316
2317         PR c/7353
2318         * c-decl.c (start_decl): Unconditionally issue error for
2319         'typedef foo = bar'.
2320         (finish_decl): Remove special case for TYPE_DECL with initializer.
2321
2322         * doc/extend.texi: Delete "Naming Types" section.  Change all
2323         cross-references to that section to refer to "Typeof" instead.
2324         Add the useful safe-max()-macro example from "Naming Types" to
2325         "Typeof", rewritten using that extension.  Add some compatibility
2326         notes to "Typeof."
2327
2328 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2329
2330         * loop.c: Revert 2002-08-15 change.
2331         (LOOP_REGNO_NREGS): Ensure type is int.
2332
2333 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
2334
2335         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
2336         which copies first FPR and clears second.
2337         (extendsftf2): Same.
2338         (floatditf2): Fix typo.
2339         (floatsitf2): Same.
2340         (fix_trunctfdi2): Same.
2341         (fix_trunctfsi2): Same.
2342
2343 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2344
2345         * conflict.c (arc_hash): Change return type to hashval_t.
2346         * cselib.c (get_value_hash): Likewise.
2347         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
2348         state_hash, automata_list_hash): Likewise.
2349         * read-rtl.c (def_hash): Likewise.
2350         * tree.c (type_hash_hash): Likewise.
2351
2352 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
2353
2354         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
2355         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
2356
2357 Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
2358
2359         * sh.md (ffssi2): Fix emitted code.
2360
2361 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
2362
2363         * cse.c (insn_live_p): Pass insn pattern, not full insn
2364         to may_trap_p.
2365
2366 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
2367
2368         * cppmacro.c (paste_tokens): Only allow / to paste with =.
2369
2370 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
2371
2372         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
2373         64-bit hosts.
2374         (movtf_internal): Reference correct displacement for second value
2375         in memory.
2376         (movtf splitter): Correct generation of constants in 64-bit mode.
2377
2378 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
2379
2380         * libgcc2.c (__floatdisf): Properly cure double rounding.
2381
2382 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2383
2384         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
2385         * doc/cpp.texi (Common Predefined Macros): Document.
2386
2387 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2388
2389         PR doc/7484
2390         * doc/invoke.texi (Option Summary): List
2391         -Wmissing-declarations as a C only option.
2392
2393 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
2394
2395         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
2396         mno-app-regs|mcmodel=medany.
2397         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
2398         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
2399         (CRTSTUFF_T_CFLAGS): Define.
2400
2401 2002-10-08  Roger Sayle  <roger@eyesopen.com>
2402
2403         PR target/8087
2404         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
2405         pool references that are constructed using LO_SUM.
2406
2407 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
2408
2409         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
2410         -Wall.
2411         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
2412         message.
2413         * flags.h (warn_strict_aliasing): Declare.
2414         * toplev.c (warn_strict_aliasing): Define.
2415         (lang_independent_options): Add it.
2416         * doc/invoke.texi (-Wstrict-aliasing): Document it.
2417
2418 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
2419
2420         * system.h (GCCBUGURL): Delete.
2421         * version.c (bug_report_url): New.  Add commentary about
2422         modifying both these strings in modified distributions.
2423         * version.h: Declare bug_report_url.
2424
2425         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
2426         bug_report_url.
2427
2428 2002-10-08  Nick Clifton  <nickc@redhat.com>
2429
2430         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
2431         convert uint64_t into __ev64_opaque__.
2432         (__ev_set_acc_s64): Likewise, but using signed types.
2433
2434 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
2435
2436         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
2437         ("*doloop_di_long"): Likewise.
2438
2439 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
2440
2441         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
2442
2443 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
2444
2445         * config/mips/mips.md (define_attr cpu): Add r4111.
2446
2447 2002-10-08  Anthony Green  <green@redhat.com>
2448
2449         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
2450
2451 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2452
2453         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
2454         for REAL_VALUE_TO_DECIMAL output.
2455
2456 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
2457
2458         * config/rs6000/rs6000.c (rs6000_override_options): Set
2459         real_format_for_mode for IBM extended format, if enabled.
2460         (easy_fp_constant): Add TFmode.
2461         (rs6000_legitimize_address): Add TFmode.
2462         (rs6000_legitimate_address): Same.
2463         (function_arg_advance): TFmode uses two FPRs.
2464         (rs6000_emit_prologue): Fix warning.
2465         (rs6000_output_function_epilogue): Add TFmode.
2466         (output_toc): Add TFmode.
2467         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
2468         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
2469         * rs6000.md (movtf splitter): Load TFmode constant.
2470
2471 2002-10-07  Dale Johannesen  <dalej@apple.com>
2472
2473         * rtl.h:  Add NOTE_PRECONDITIONED.
2474         * unroll.c:  Set it.
2475         * loop.c:  Set loop_info->preconditioned from it.
2476         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
2477
2478 2002-10-07  Richard Henderson  <rth@redhat.com>
2479
2480         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
2481         new rtx for comparing the argument pointer against zero.
2482         (i960_va_start): Similarly.
2483
2484 2002-10-07  Richard Henderson  <rth@redhat.com>
2485
2486         * config/i960/i960.md (*): Use TFmode, not XFmode.
2487         * config/i960/i960.c (*): Likewise.
2488         (i960_arg_size_and_align): Remove XFmode alignment hack.
2489         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
2490         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
2491         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
2492         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
2493
2494 2002-10-07  Richard Henderson  <rth@redhat.com>
2495
2496         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
2497         entry points; use void return value and argument list.
2498
2499 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
2500
2501         * t-pdp11: Add MULTILIB support for msoft-float.
2502         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
2503
2504         * t-pdp11: Add LIB2FUNCS_EXTRA.
2505         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
2506         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
2507         'fldd' to 'ldd', rename 'fstd' to 'std'.
2508         (pdp11_output_function_epilogue): Likewise.
2509         (output_move_quad): Make the comment gas compatible.
2510         (output_ascii): Add preceding 0 to the octal constant.
2511         (print_operand_address): Add pre_modify, post_modify.
2512         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
2513         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
2514         with the indication of Paul Koning.
2515         (PRINT_OPERAND): Fix floating constant.
2516         * pdp11.md (movdi): Restrict matching pattern.
2517         (movqi): Generalize the matching pattern.
2518         (movdf): Restrict matching pattern.
2519         (zero_extendqihi2): Change constant representation.
2520         (floatsidf2): Fix wrong operands.
2521         (addqi3): Fix wrong instruction name.
2522         (subqi3): Fix wrong instruction name.
2523         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
2524         (xorsi3): Fix wrong insn.
2525         (one_cmplqi2): Add two operand pattern.
2526         (lsrsi3): New.
2527         (negsi2): New.
2528         (call): Add register indirect case.
2529         (mod): Fix wrong subreg.
2530
2531 2002-09-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
2532             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2533
2534         PR c/7411
2535         * expr.c (expand_expr) [PLUS]: Simplify after the operands
2536         have been expanded in EXPAND_NORMAL mode.
2537
2538 2002-10-06  Richard Henderson  <rth@redhat.com>
2539
2540         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
2541
2542 2002-10-06  Richard Henderson  <rth@redhat.com>
2543
2544         PR optimization/2960
2545         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
2546         optimize_size.
2547
2548 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
2549
2550         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
2551         previously definitions.
2552
2553 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
2554
2555         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
2556         * c-opts.c (find_opt): Similarly.
2557
2558 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
2559
2560         * gcc.c (set_multilib_dir): Don't access *end.
2561         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
2562         (print_multilib_info): Don't show paths starting with ".:".
2563         * genmultilib: Add new option, "yes" if multilibs are enabled.
2564         Update comments.  If multilibs not enabled, print .:${osdirout}
2565         for each directory.  If multilibs are enabled, always print
2566         ${dirout}:${osdirout}, even if the two are the same.
2567         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
2568         Pass all MULTILIB_* variables to genmultilib even if
2569         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
2570
2571 2002-10-04  Bruce Korb  <bkorb@gnu.org>
2572
2573         * fixinc/inclhack.def(hpux11_abs):  use format fix
2574         * fixinc/fixincl.x: regenerate
2575         * fixinc/tests/base/stdlib.h: accommodate new fix test
2576
2577 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
2578
2579         * c-common.c (cb_register_builtins):  Use really_no_inline.
2580
2581 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
2582
2583         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
2584         copied instruction if the note is not loop invariant.
2585
2586 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
2587
2588         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
2589
2590 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
2591
2592         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
2593         and -mhp-ld options to list of options.  Add -mgnu-ld
2594         and -mhp-ld option descriptions.
2595
2596 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
2597
2598         * fixinc/inclhack.def (hpux11_abs):  New.
2599         (stdio_va_list): change __va_list__ to __gnuc_va_list.
2600         * fixinc/fixincl.x: Rebuild.
2601
2602 2002-10-04  Roger Sayle  <roger@eyesopen.com>
2603
2604         * config/i386/i386.h (processor_costs): Add new fields fadd,
2605         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
2606         (RTX_COSTS): Use these fields to determine the RTX costs
2607         of floating point addition/subtraction, multiplication,
2608         division, fabs, negation and square root respectively.
2609         * config/i386/i386.c (size_cost): Provide instruction sizes
2610         for these new fields.
2611         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
2612         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
2613         counts for these new fields for all x86 processor variants.
2614
2615 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2616
2617         * mips.c (mips_const_double_ok): Delete unused variable.
2618
2619         * gengtype.c (rtx_next): Change type to int.
2620
2621 2002-10-04  Andreas Jaeger  <aj@suse.de>
2622
2623         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
2624
2625 2002-10-04  Richard Henderson  <rth@redhat.com>
2626
2627         * real.h (SIGNIFICAND_BITS): Add one more word.
2628         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
2629         * real.c (times_pten): New.
2630         (real_to_decimal, real_from_string): Use it.
2631         (sticky_rshift_significand): Use & to find modulus.
2632         (rshift_significand, lshift_significand): Likewise.
2633         (do_divide): Apply sticky bit after normalization.
2634         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
2635
2636 2002-10-03  Andreas Jaeger  <aj@suse.de>
2637
2638         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
2639         to unsigned long, adjust printf format string.
2640         (output_mangled_typename): Likewise.
2641
2642 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
2643
2644         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
2645         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
2646         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
2647         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
2648         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
2649         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
2650         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
2651         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
2652
2653 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
2654
2655         * doc/invoke.texi (-Wabi): Document mangling bug.
2656
2657 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
2658
2659         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
2660         name for the tbtab label that depends on the function asm name.
2661         Don't output tbtab label unless optional_tbtab.
2662         (output_mi_thunk): Formatting.
2663
2664 2002-10-03  Richard Henderson  <rth@redhat.com>
2665
2666         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
2667         * config/m68k/m68k.c (override_options): ... here.
2668         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
2669         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
2670         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2671         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2672
2673 2002-10-03  Richard Henderson  <rth@redhat.com>
2674
2675         * real.h (struct real_value): Use ENUM_BITFIELD.
2676
2677 2002-10-03  Richard Henderson  <rth@redhat.com>
2678
2679         * config/i960/i960.md (call, call_value): Use emit_call_insn.
2680
2681 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
2682
2683         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
2684
2685 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
2686
2687         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
2688         * config/pa/pa.h (MASK_GNU_LD): New.
2689         (TARGET_GNU_LD): New.
2690         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
2691         on gnu-ld and MASK_GNU_LD.
2692         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
2693
2694 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
2695
2696         * i386.c (athlon_cost): Fix the move costs.
2697
2698 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
2699
2700         * final.c (final): Use symbol name as function name for profiling.
2701         * profile.c (get_exec_counts): Likewise.
2702         (branch_prob): Likewise.
2703
2704 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
2705
2706         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
2707
2708 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
2709
2710         * gcc.c (print_multi_os_directory): New variable.
2711         (option_map): Support --print-multi-os-directory.
2712         (struct prefix_list): Add os_multilib field.
2713         (multilib_os_dir): New variable.
2714         (static_specs): Add multilib_options.
2715         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
2716         subdirs if non-zero.
2717         (read_specs, execute): Update callers.
2718         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
2719         pass 1 as multilib option.
2720         (display_help): Include --print-multi-os-directory.
2721         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
2722         (process_command): Update callers.  Handle --print-multi-os-directory.
2723         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
2724         set.
2725         (main): Update find_a_file and add_prefix callers.
2726         Handle print_multi_os_directory.
2727         (struct mdswitchstr): New.
2728         (mdswitches, n_mdswitches): New variables.
2729         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
2730         present on the command line nor their mutually incompatible
2731         switches.
2732         (default_arg): Optimize.
2733         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
2734         array.
2735         (print_multilib_info): Only print GCC multilib dir name, not OS
2736         multilib dirname.
2737         * genmultilib: Add osdirnames parameter.  Output multilib_options
2738         variable.  If osdirnames is specified, output dirnames as
2739         dirname:osdirname.
2740         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
2741         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
2742         to compute libgcc_s soname and install path.
2743         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
2744         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
2745         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
2746         argument.
2747
2748         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
2749         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2750         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
2751         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
2752         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
2753         and -m64.
2754         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
2755         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2756         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
2757         (STARTFILE_ARCH_SPEC): Remove.
2758         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
2759         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2760         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
2761         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
2762         (SHLIB_SLIBDIR_SUFFIXES): Remove.
2763
2764 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
2765
2766         * predict.c (choose_function_section): Avoid choice for linkonce functions.
2767
2768 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
2769
2770         * i386.md (lea to mul peep2): Fix condition.
2771
2772 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2773
2774         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
2775         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
2776
2777 2002-10-02  Richard Henderson  <rth@redhat.com>
2778
2779         PR opt/7124
2780         * config/i386/i386.c (ix86_register_move_cost): Increase cost
2781         for secondary_memory_needed pairs.
2782
2783 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
2784
2785         * doc/vms.texi: Blow away false include file section.
2786
2787 2002-10-02  Roger Sayle  <roger@eyesopen.com>
2788
2789         PR optimization/6627
2790         * toplev.c (force_align_functions_log): New global variable.
2791         * flags.h (force_align_functions_log): Add extern prototype.
2792         * varasm.c (assemble_start_function): Use it to force minimum
2793         function alignment.
2794         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
2795         minimum function alignment to one byte.
2796         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
2797         the least significant bit of vtable member function pointers.
2798         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
2799         here from cp/cp-tree.h.
2800
2801 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
2802
2803         * i386.c (print_operand_address): Use RIP addressing for offsetted
2804         label refs too.
2805
2806 2002-09-30  David S. Miller  <davem@redhat.com>
2807
2808         PR middle-end/7151
2809         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
2810         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
2811
2812 2002-10-01  Roger Sayle  <roger@eyesopen.com>
2813
2814         * unroll.c (loop_iterations): Revert 2002-09-08 change.
2815
2816 2002-10-01  Richard Henderson  <rth@redhat.com>
2817
2818         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
2819         (real_to_hexadecimal): Likewise.
2820         * print-rtl.c (print_rtx): If we are linked with real.c, don't
2821         dump the XWINT fields of a floating point CONST_DOUBLE.
2822
2823 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
2824
2825         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
2826
2827 2002-10-01  Richard Henderson  <rth@redhat.com>
2828
2829         * calls.c (precompute_register_parameters): Force non-legitimate
2830         constants into pseudos.
2831
2832 2002-10-01  Nick Clifton  <nickc@redhat.com>
2833
2834         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
2835         to assembler template.
2836
2837 2002-10-01  Richard Henderson  <rth@redhat.com>
2838
2839         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
2840         for TLS debug info to !DECL_EXTERNAL.
2841
2842 2002-10-01  Matt Thomas  <matt@3am-software.com>
2843             Jason Thorpe  <thorpej@wasabisystems.com>
2844
2845         * config.gcc (vax-*-netbsdelf*): Enable configuration.
2846         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
2847         if not already defined.
2848         * config/vax/elf.h: New file.
2849         * config/vax/netbsd-elf.h: New file.
2850         * config/vax/vax.c: Include "debug.h".
2851         (vax_output_function_prologue): Add dwarf2 support.  Use
2852         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
2853         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
2854         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
2855         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
2856         (VAX_ISTREAM_SYNC): Remove.
2857         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
2858         (JUMP_TABLES_IN_TEXT_SECTION): Define.
2859         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
2860         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
2861         and assemble_name.
2862         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2863         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
2864         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
2865         (INCOMING_RETURN_ADDR_RTX): Define.
2866         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
2867         (VUNSPEC_SYNC_ISTREAM): Define.
2868         (blockage): Use VUNSPEC_BLOCKAGE.
2869         (sync_istream): New insn.
2870
2871 2002-10-01  Richard Henderson  <rth@redhat.com>
2872
2873         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
2874         (*call_value_pop, call, call_value): Add dwarf2 EH support.
2875         (*call): New insn.
2876
2877 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
2878
2879         PR c/8083
2880         * c-typeck.c (build_c_cast): Warn about type punning which breaks
2881         type based aliasing.
2882
2883 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
2884
2885         * stor-layout.c (update_alignment_for_field): New function.
2886         (place_union_field): Use it.
2887         (place_field): Likewise.
2888
2889 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
2890
2891         PR other/8077
2892         * gcc.c (cc1_options): Add space on -auxbase-strip.
2893
2894 2002-10-01  Jim Wilson  <wilson@redhat.com>
2895
2896         * config/v850/v850.h (EPILOGUE_USES): Define.
2897
2898 2002-09-30  Andrew Haley  <aph@redhat.com>
2899
2900         * flow.c (insn_dead_p): When using non-call-exceptions, don't
2901         eliminate insns that may trap.
2902         * cse.c (insn_live_p): Likewise.
2903
2904 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2905
2906         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
2907         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
2908         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
2909         * config/mips/mips.md: Apply same renaming here.
2910
2911 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2912
2913         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
2914         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
2915         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
2916         * config/mips/mips.md (define_attr cpu): Remove r4320.
2917         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
2918
2919 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2920
2921         * config/mips/mips.c (mips16_strings): New variable.
2922         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
2923         symbol in mips16_strings.  Free the list.
2924         (mips_encode_section_info): Keep track of local strings.
2925
2926 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2927
2928         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
2929         (sordered_df, sordered_sf): Remove.
2930         * config/mips/mips.c (get_float_compare_codes): New fn.
2931         (gen_int_relational, gen_conditional_move): Use it.
2932
2933 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
2934
2935         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
2936         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
2937         * config/mips/mips.c (fcc_register_operand): New function.
2938         (mips_emit_fcc_reload): New function, extracted from reload_incc.
2939         (override_options): Allow TFmode values in float registers
2940         if ISA_HAS_8CC.
2941         * cnfig/mips/mips.md (reload_incc): Change destination prediate
2942         to fcc_register_operand.  Remove misleading source constraint.
2943         Use mips_emit_fcc_reload.
2944         (reload_outcc): Duplicate reload_incc.
2945
2946 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
2947
2948         * longlong.h: Partially synchronize with GMP-4.1 version:
2949         Use i370 definitions also for s390.
2950         Add generic definition of umul_ppmm in terms of smul_ppmm.
2951         [s390] (umul_ppmm): Remove.
2952         [s390] (smul_ppmm): Fix incorrect assembler constraints.
2953         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
2954
2955 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
2956
2957         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2958         Add new RL_REGS register class.
2959         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
2960         Call xtensa_preferred_reload_class for both input and output reloads.
2961         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
2962         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
2963         instead of either AR_REGS or GR_REGS classes.
2964         (xtensa_secondary_reload_class): Use new RL_REGS class.
2965         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
2966
2967 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2968
2969         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
2970         (pa_strip_name_encoding): Strip '@' and '*', in that order.
2971         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
2972         there is a '*' prefix in NAME.
2973
2974 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
2975
2976         * reload.c (push_reload): Handle subregs and secondary memory.
2977         * reload1.c (gen_reload): Likewise.
2978
2979         * jump.c (reg_or_subregno): New function.
2980         * rtl.h (reg_or_subregno): Declare
2981         * unroll.c (find_splittable_givs): Handle subregs.
2982
2983 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
2984
2985         * store-layout.c (finish_record_layout): Add free_p parameter.
2986         (layout_type): Pass it.
2987         * tree.h (finish_record_layout): Update prototype.
2988
2989 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
2990
2991         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
2992
2993         * gcse.c (cprop_jump): Check that the register has not
2994         been modified
2995         (cprop_jump): Likewise.
2996
2997 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
2998
2999         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
3000         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
3001         that we have a SImode access, and only then if reload hasn't completed;
3002         for all other cases, use LO_REGS.
3003
3004 2002-09-29  Richard Henderson  <rth@redhat.com>
3005
3006         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
3007
3008 2002-09-29  Richard Henderson  <rth@redhat.com>
3009
3010         PR c/8002
3011         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
3012         for CONST_INT.
3013
3014 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
3015
3016         * real.h (ibm_extended_format): Declare.
3017         * real.c (encode_ibm_extended, decode_ibm_extended): New
3018         functions.
3019
3020 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3021
3022         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
3023
3024         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
3025
3026 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3027
3028         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
3029
3030 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
3031
3032         * builtins.def: Fix comment formatting.
3033         * c-common.def: Likewise.
3034         * cfgcleanup.c: Likewise.
3035         * combine.c: Likewise.
3036         * gengtype.c: Likewise.
3037         * params.def: Likewise.
3038         * predict.def: Likewise.
3039         * rtl.def: Likewise.
3040         * stab.def: Likewise.
3041         * stor-layout.c: Likewise.
3042         * tree.def: Likewise.
3043         * config/darwin.c: Likewise.
3044         * config/darwin.h: Likewise.
3045         * config/dbxcoff.h: Likewise.
3046         * config/elfos.h: Likewise.
3047         * config/fp-bit.c: Likewise.
3048         * config/freebsd-spec.h: Likewise.
3049         * config/interix.h: Likewise.
3050         * config/libgloss.h: Likewise.
3051         * config/linux-aout.h: Likewise.
3052         * config/linux.h: Likewise.
3053         * config/lynx-ng.h: Likewise.
3054         * config/lynx.h: Likewise.
3055         * config/netbsd-aout.h: Likewise.
3056         * config/netbsd.h: Likewise.
3057         * config/netware.h: Likewise.
3058         * config/psos.h: Likewise.
3059         * config/ptx4.h: Likewise.
3060
3061 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
3062
3063         * ChangeLog.4: Fix typos.
3064         * ChangeLog.6: Likewise.
3065         * FSFChangeLog.10: Likewise.
3066         * genattrtab.c: Fix comment typos.
3067         * haifa-sched.c: Likewise.
3068         * real.c: Likewise.
3069         * tree.h: Likewise.
3070         * config/arm/arm.c: Likewise.
3071         * config/arm/crti.asm: Likewise.
3072         * config/arm/crtn.asm: Likewise.
3073         * config/frv/frv.c: Likewise.
3074         * config/frv/frv.md: Likewise.
3075         * config/h8300/h8300.md: Likewise.
3076         * config/i386/rtemself.h: Likewise.
3077         * config/ia64/unwind-ia64.c: Likewise.
3078         * config/ip2k/ip2k.h: Likewise.
3079         * config/m88k/m88k.c: Likewise.
3080         * config/m88k/m88k.md: Likewise.
3081         * config/mips/sr71k.md: Likewise.
3082         * config/mmix/mmix.c: Likewise.
3083         * config/rs6000/rs6000.c: Likewise.
3084         * config/sh/sh.md: Likewise.
3085
3086 2002-09-26  Theodore A. Roth  <troth@verinet.com>
3087
3088         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
3089         * config/avr/avr.md: Ditto.
3090
3091 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
3092
3093         PR preprocessor/8055
3094         * cppmacro.c (stringify_arg): Do not overflow the buffer
3095         with the terminating NUL when the argument to be stringified
3096         has no tokens.
3097
3098 2002-09-27  Richard Henderson  <rth@redhat.com>
3099
3100         * unroll.c (simplify_cmp_and_jump_insns): New.
3101         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
3102         instead of expand_simple_foo.
3103
3104 2002-09-27  Richard Henderson  <rth@redhat.com>
3105
3106         PR optimization/7520
3107         * cfganal.c (flow_active_insn_p): New.
3108         (forwarder_block_p): Use it.
3109
3110 2002-09-27  Richard Henderson  <rth@redhat.com>
3111
3112         * emit-rtl.c (active_insn_p): Revert last change.
3113
3114 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
3115
3116         * doc/extend.texi (tls_model): Document.
3117         * varasm.c (decl_tls_model): New.
3118         * c-common.c (handle_tls_model_attribute): New.
3119         (c_common_attribute_table): Add tls_model.
3120         * config/alpha/alpha.c (alpha_encode_section_info): Use
3121         decl_tls_model.
3122         * flags.h (enum tls_model, flag_tls_default): Move...
3123         * tree.h (enum tls_model, flag_tls_default): ...here.
3124         (decl_tls_model): New prototype.
3125         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
3126         * config/i386/i386.c (ix86_encode_section_info): Likewise.
3127         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
3128         Allow !flag_pic.
3129
3130 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
3131
3132         * LANGUAGES: Follow spelling conventions.
3133         * rtl.def: Likewise.
3134         * sbitmap.c: Likewise.
3135         * sched-int.h: Likewise.
3136         * sched-rgn.c: Likewise.
3137         * sibcall.c: Likewise.
3138         * simplify-rtx.c: Likewise.
3139         * ssa.c: Likewise.
3140         * stab.def: Likewise.
3141         * stmt.c: Likewise.
3142         * stor-layout.c: Likewise.
3143         * target.h: Likewise.
3144         * timevar.c: Likewise.
3145         * toplev.c: Likewise.
3146         * tree-dump.c: Likewise.
3147         * tree-inline.c: Likewise.
3148         * tree.c: Likewise.
3149         * tree.def: Likewise.
3150         * tree.h: Likewise.
3151         * unroll.c: Likewise.
3152         * varasm.c: Likewise.
3153         * vmsdbgout.c: Likewise.
3154         * treelang/treelang.texi: Likewise.
3155         * treelang/treetree.c: Likewise.
3156
3157 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
3158
3159         * config/h8300/h8300.c (compute_saved_regs): Use a macro
3160         instead of a hard register number.
3161         (get_shift_alg): Use an enumerated type instead of numbers.
3162         (h8300_shift_needs_scratch_p): Likewise.
3163
3164 2002-09-26  David S. Miller  <davem@redhat.com>
3165
3166         PR optimization/7335
3167         * calls.c (emit_library_call_value_1): Passing args by reference
3168         converts a CONST function into a PURE one.
3169
3170 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
3171
3172         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
3173         text_section.
3174         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
3175         text section.
3176         * config/rs6000/rs6000.c (rs6000_override_options): Allow
3177         function-sections and data-sections functionality on AIX.
3178
3179 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
3180             Dale Johannesen  <dalej@apple.com>
3181
3182         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
3183         in RTL for sub-word loads from memory.
3184
3185 2002-09-26  Richard Henderson  <rth@redhat.com>
3186
3187         PR c/7160
3188         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
3189         on call insns.
3190
3191 2002-09-26  Richard Henderson  <rth@redhat.com>
3192
3193         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
3194
3195 2002-09-26  Chris Lattner  <sabre@nondot.org>
3196
3197         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
3198         handling undefined values.
3199
3200 2002-09-26  Richard Henderson  <rth@redhat.com>
3201
3202         PR opt/7520
3203         * emit-rtl.c (active_insn_p): Consider a clobber of the
3204         function return value to be active even after reload.
3205
3206 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
3207
3208         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
3209         by absolute loop increment, not loop increment.
3210
3211 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
3212
3213         * c-common.h: Follow spelling conventions.
3214         * cpplex.c: Likewise.
3215         * cpplib.h: Likewise.
3216         * gthr-dce.h: Likewise.
3217         * gthr-posix.h: Likewise.
3218         * optabs.c: Likewise.
3219         * output.h: Likewise.
3220         * profile.c: Likewise.
3221         * protoize.c: Likewise.
3222         * ra-rewrite.c: Likewise.
3223         * real.c: Likewise.
3224         * recog.c: Likewise.
3225         * reg-stack.c: Likewise.
3226         * regclass.c: Likewise.
3227         * regmove.c: Likewise.
3228         * reload.c: Likewise.
3229         * reload.h: Likewise.
3230         * reload1.c: Likewise.
3231         * reorg.c: Likewise.
3232         * resource.c: Likewise.
3233         * rtl.h: Likewise.
3234         * rtlanal.c: Likewise.
3235
3236 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3237
3238         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
3239         for symbol address.
3240
3241 2002-09-24  Eric Christopher  <echristo@redhat.com>
3242
3243         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
3244         * config/mips/elf64.h: Ditto.
3245
3246 2002-09-24  Eric Christopher  <echristo@redhat.com>
3247
3248         * except.c (expand_builtin_extract_return_address): Handle case
3249         where Pmode != ptr_mode.
3250
3251 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3252
3253         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
3254
3255 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
3256
3257         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
3258
3259 2002-09-26  Igor Shevlyakov <igor@microunity.com>
3260
3261         * combine.c (simplify_set): Don't call to force_to_mode if size
3262         of integer type is larger than HOST_BITS_PER_WIDE_INT.
3263
3264 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
3265
3266         * Makefile.in (qmtest-g++): Fix file path.
3267
3268 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
3269
3270         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
3271         A + (-const) on RTX level, even for unsigned types.
3272
3273 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
3274
3275         * reload.c (dup_replacements): New function.
3276         (find_reloads): Use it to duplicate replacements at the top level
3277         of match_dup operands.
3278
3279 2002-09-26  Miles Bader  <miles@gnu.org>
3280
3281         * v850.md ("length"): Change default value to 4.
3282
3283 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
3284
3285         * ChangeLog.1: Follow spelling conventions.
3286         * ChangeLog.4: Likewise.
3287         * ChangeLog.6: Likewise.
3288         * FSFChangeLog.11: Likewise.
3289         * doc/cpp.texi: Likewise.
3290         * doc/invoke.texi: Likewise.
3291         * doc/tm.texi: Likewise.
3292
3293 2002-09-26  Nick Clifton  <nickc@redhat.com>
3294
3295         * config.gcc: Add x prefix to v850e case for handling
3296         --with-cpu=v850e.
3297
3298 2002-09-25  David S. Miller  <davem@redhat.com>
3299
3300         PR target/7842
3301         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
3302         extend.
3303
3304 2002-09-25  Richard Henderson  <rth@redhat.com>
3305
3306         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
3307         fp CONST_DOUBLE; use real_identical.
3308
3309 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
3310
3311         * doc/invoke.texi: Add more -Wabi examples.
3312
3313 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
3314
3315         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
3316
3317 2002-09-24  Denis Chertykov  <denisc@overta.ru>
3318
3319         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
3320         cases of optimizing "add sp,w" to "inc sp".
3321
3322 2002-09-24  Adam Nemet  <anemet@lnxw.com>
3323
3324         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
3325         epilogue for naked functions.
3326
3327 2002-09-24  Adam Nemet  <anemet@lnxw.com>
3328             Nick Clifton  <nickc@redhat.com>
3329
3330         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
3331         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
3332         is defined.
3333
3334 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
3335
3336         * config/s390/s390.c (preferred_la_operand_p): New function.
3337         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
3338         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
3339         ("*la_64_cc", "*la_31_cc", splitters): ... these.
3340         ("*la_31"): Deactivate for TARGET_64BIT.
3341         ("*la_31_and", "*la_31_and_cc"): New.
3342
3343 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3344
3345         * real.h (real_value): Make `exp' explicitly signed.
3346
3347 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
3348
3349         * config/elfos.h: Follow spelling conventions.
3350         * config/alpha/alpha.h: Likewise.
3351         * config/arc/arc.h: Likewise.
3352         * config/arm/arm.md: Likewise.
3353         * config/avr/avr.h: Likewise.
3354         * config/cris/cris.md: Likewise.
3355         * config/d30v/d30v.h: Likewise.
3356         * config/frv/frv.c: Likewise.
3357         * config/frv/frv.h: Likewise.
3358         * config/h8300/h8300.c: Likewise.
3359         * config/h8300/h8300.h: Likewise.
3360         * config/h8300/h8300.md: Likewise.
3361         * config/i386/cygwin.h: Likewise.
3362         * config/i386/i386.h: Likewise.
3363         * config/i386/sysv3.h: Likewise.
3364         * config/i960/i960.h: Likewise.
3365         * config/ia64/ia64.h: Likewise.
3366         * config/ia64/ia64.md: Likewise.
3367         * config/ip2k/ip2k.h: Likewise.
3368         * config/m32r/m32r.h: Likewise.
3369         * config/m68k/m68k.h: Likewise.
3370         * config/m88k/m88k.h: Likewise.
3371         * config/mcore/mcore.c: Likewise.
3372         * config/mcore/mcore.h: Likewise.
3373         * config/mcore/mcore.md: Likewise.
3374         * config/mips/mips.h: Likewise.
3375         * config/mmix/mmix.h: Likewise.
3376         * config/mmix/mmix.md: Likewise.
3377         * config/ns32k/netbsd.h: Likewise.
3378         * config/ns32k/ns32k.h: Likewise.
3379         * config/ns32k/ns32k.md: Likewise.
3380         * config/pa/pa.h: Likewise.
3381         * config/romp/romp.h: Likewise.
3382         * config/rs6000/rs6000.h: Likewise.
3383         * config/rs6000/rs6000.md: Likewise.
3384         * config/sparc/sparc.h: Likewise.
3385         * config/stormy16/stormy-abi: Likewise.
3386         * config/stormy16/stormy16.h: Likewise.
3387         * config/vax/vax.h: Likewise.
3388
3389 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
3390
3391         * version.c (version_string): Now const char[].
3392         * version.h: Update to match.
3393
3394 2002-09-23  Richard Henderson  <rth@redhat.com>
3395
3396         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
3397         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
3398         (TARGET_SWITCHES): Don't reference them.
3399         * config/i386/i386.c (override_options): Use target_flags_explicit
3400         to examine bits set by the user.
3401
3402 2002-09-23  Dale Johannesen  <dalej@apple.com>
3403
3404         * dbxout.c (dbxout_parms):  Set current_sym_code for params
3405         passed on stack by invisible reference.
3406
3407 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
3408
3409         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
3410         at least one byte of space.
3411
3412 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
3413
3414         * c-common.h (flag_abi_version): Fix typo in comment.
3415         * doc/invoke.texi (flag_abi_version): Document default value.
3416
3417 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
3418
3419         * doc/extend.texi (Extended Asm): Clarify that overlap between
3420         asm-declared register variables used in an asm and the asm clobber
3421         list is not allowed.
3422         * stmt.c (decl_conflicts_with_clobbers_p): New function.
3423         (expand_asm_operands): Keep track of clobbered registers.  Call
3424         decl_conflicts_with_clobbers_p for each input and output operand.
3425         If no conflicts found before, also do conflict sanity check when
3426         emitting clobbers.
3427
3428 2002-09-23  Richard Henderson  <rth@redhat.com>
3429
3430         * c-common.c (cpp_define_data_format): Remove.
3431         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
3432         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3433         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3434         * doc/cpp.texi: Don't document them either.
3435         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
3436         __LONG_LONG_MAX__): Document.
3437         (__TARGET_FLOAT_FORMAT__): Remove.
3438
3439 2002-09-23  Richard Henderson  <rth@redhat.com>
3440
3441         * real.c (do_multiply): Normalize U before addition.
3442
3443 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
3444
3445         * c-common.c (flag_abi_version): New variable.
3446         * c-common.h (flag_abi_version): Declare it.
3447         * c-opts.c (missing_arg): Add -fabi-version.
3448         (c_common_decode_option): Process -fabi-version.
3449         * doc/invoke.texi (-fabi-version): Document it.
3450         (-Wabi): Add information about bit-fields in unions.
3451
3452 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
3453
3454         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
3455         unless -fno-pic or -fno-PIC is specified.
3456
3457 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3458
3459         * c-common.c (preprocessing_trad_p): Define.
3460         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
3461         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
3462         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
3463         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
3464         * pa-linux.h (CPP_PREDEFINES): Delete.
3465         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
3466         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
3467         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
3468         (TARGET_OS_CPP_BUILTINS): Define.
3469         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
3470         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
3471         (SUBTARGET_SWITCHES): Provide default definition.
3472         (TARGET_OPTIONS): Reformat.  Use N_() macro.
3473         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
3474         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
3475         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
3476         (TARGET_CPU_CPP_BUILTINS): Define.
3477         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
3478         * doc/invoke.texi (msio, mwsio): Document new hppa options.
3479         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
3480         preprocessing_trad_p().
3481
3482 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
3483
3484         * doc/install.texi: Document behavior of --with-headers and
3485         --with-libs when arguments are omitted.
3486
3487 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
3488
3489         * dbxout.c: Follow spelling conventions.
3490         * defaults.h: Likewise.
3491         * df.c: Likewise.
3492         * diagnostic.h: Likewise.
3493         * doloop.c: Likewise.
3494         * dwarf2out.c: Likewise.
3495         * dwarfout.c: Likewise.
3496         * emit-rtl.c: Likewise.
3497         * except.c: Likewise.
3498         * explow.c: Likewise.
3499         * expmed.c: Likewise.
3500         * expr.c: Likewise.
3501         * expr.h: Likewise.
3502         * flags.h: Likewise.
3503         * flow.c: Likewise.
3504         * fold-const.c: Likewise.
3505         * function.c: Likewise.
3506         * function.h: Likewise.
3507         * gcc.c: Likewise.
3508         * gcov-io.h: Likewise.
3509         * gcov.c: Likewise.
3510         * gcse.c: Likewise.
3511         * genattrtab.c: Likewise.
3512         * genconfig.c: Likewise.
3513         * genrecog.c: Likewise.
3514         * ggc-page.c: Likewise.
3515         * ggc.h: Likewise.
3516         * global.c: Likewise.
3517         * gthr-win32.h: Likewise.
3518         * integrate.c: Likewise.
3519         * jump.c: Likewise.
3520         * langhooks.c: Likewise.
3521         * langhooks.h: Likewise.
3522         * line-map.h: Likewise.
3523         * local-alloc.c: Likewise.
3524         * longlong.h: Likewise.
3525         * loop.c: Likewise.
3526         * loop.h: Likewise.
3527
3528 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
3529
3530         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
3531
3532 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
3533
3534         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
3535         for -Os/TARGET_64BIT too.
3536
3537 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
3538
3539         * ChangeLog: Follow spelling conventions.
3540         * ChangeLog.0: Likewise.
3541         * ChangeLog.1: Likewise.
3542         * ChangeLog.2: Likewise.
3543         * ChangeLog.3: Likewise.
3544         * ChangeLog.4: Likewise.
3545         * ChangeLog.5: Likewise.
3546         * ChangeLog.6: Likewise.
3547         * FSFChangeLog.10: Likewise.
3548         * FSFChangeLog.11: Likewise.
3549         * alias.c: Likewise.
3550         * basic-block.h: Likewise.
3551         * c-aux-info.c: Likewise.
3552         * c-common.c: Likewise.
3553         * c-common.h: Likewise.
3554         * c-decl.c: Likewise.
3555         * c-format.c: Likewise.
3556         * c-semantics.c: Likewise.
3557         * c-typeck.c: Likewise.
3558         * calls.c: Likewise.
3559         * cfganal.c: Likewise.
3560         * cfgloop.c: Likewise.
3561         * collect2.c: Likewise.
3562         * combine.c: Likewise.
3563         * conflict.c: Likewise.
3564         * cppexp.c: Likewise.
3565         * cppfiles.c: Likewise.
3566         * cpphash.h: Likewise.
3567         * cppinit.c: Likewise.
3568         * cpplex.c: Likewise.
3569         * cpplib.c: Likewise.
3570         * cpplib.h: Likewise.
3571         * cppmacro.c: Likewise.
3572         * cse.c: Likewise.
3573
3574 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
3575
3576         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
3577         LINK_SPEC.
3578         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
3579         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
3580         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
3581
3582 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
3583
3584         PR opt/7930
3585         * cse.c (fold_rtx): Calculate old_cost before we fold each
3586         operand.
3587
3588 2002-09-21  Richard Henderson  <rth@redhat.com>
3589
3590         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
3591         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3592         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3593         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
3594         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
3595         * doc/cpp.texi: Don't document them.
3596
3597 2002-09-21  Richard Henderson  <rth@redhat.com>
3598
3599         * c-common.c (builtin_define_float_constants): Use real_format
3600         to get the floating-point parameters.
3601
3602 2002-09-21  Richard Henderson  <rth@redhat.com>
3603
3604         * real.c (struct real_format): Move to real.h.
3605         (real_format_for_mode): Rename from fmt_for_mode; update all users;
3606         initialize with ieee defaults.
3607         (real_to_target_fmt, real_from_target_fmt): New.
3608         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
3609         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
3610         ieee_quad_format, i370_single_format, i370_double_format,
3611         c4x_single_format, c4x_extended_format): Rename from s/_format//.
3612         (ieee_quad_format): Fix emin.
3613         (format_for_size, init_real_once): Remove.
3614         * real.h (struct real_format): Move from real.c.
3615         (real_format_for_mode): Declare.
3616         (real_to_target_fmt, real_from_target_fmt): Declare.
3617         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
3618         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
3619         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
3620         i370_single_format, i370_double_format, c4x_single_format,
3621         c4x_extended_format): Declare.
3622         * toplev.c (do_compile): Don't call init_real_once.
3623
3624         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3625         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3626
3627         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
3628         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
3629         * config/alpha/alpha.c (override_options): Set real_format_for_mode
3630         for VAX, if enabled.
3631
3632         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
3633         for C4X.
3634
3635         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
3636         * config/i370/i370.c (override_options): New.
3637         * config/i370/i370-protos.h: Update.
3638
3639         * config/i386/i386.c (override_options): Set real_format_for_mode
3640         for Intel 80-bit extended.
3641         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
3642
3643         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
3644         (OVERRIDE_OPTIONS): Move code...
3645         * config/i960/i960.c (i960_initialize): ... here.  Set
3646         real_format_for_mode for Intel 80-bit extended.
3647
3648         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
3649         for Intel 80-bit extended, if enabled.
3650
3651         * config/m68k/m68k.c (override_options): Set real_format_for_mode
3652         for Motorola 96-bit extended.
3653
3654         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
3655         * config/vax/vax.c (override_options): New.
3656         * config/vax/vax-protos.h: Update.
3657
3658 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
3659
3660         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
3661         #if TARGET_MACHO.
3662
3663         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
3664         insns.  Supply missing clobber of scratch reg.
3665
3666 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
3667
3668         * config/m32r/m32r.c: Follow spelling conventions.
3669         * config/m32r/m32r.h: Likewise.
3670         * config/m32r/m32r.md: Likewise.
3671         * config/m68k/m68k.c: Likewise.
3672         * config/m88k/m88k.c: Likewise.
3673         * config/mcore/mcore.c: Likewise.
3674         * config/mips/mips.c: Likewise.
3675         * config/mips/mips.h: Likewise.
3676         * config/mmix/mmix.c: Likewise.
3677         * config/mn10200/mn10200.c: Likewise.
3678         * config/ns32k/ns32k.h: Likewise.
3679         * config/pa/pa.c: Likewise.
3680         * config/pa/pa64-linux.h: Likewise.
3681         * config/pdp11/pdp11.h: Likewise.
3682         * config/romp/romp.c: Likewise.
3683         * config/romp/romp.h: Likewise.
3684         * config/rs6000/eabi.asm: Likewise.
3685         * config/rs6000/linux64.h: Likewise.
3686         * config/rs6000/rs6000.c: Likewise.
3687         * config/rs6000/rs6000.h: Likewise.
3688         * config/rs6000/rs6000.md: Likewise.
3689         * config/rs6000/sysv4.h: Likewise.
3690         * config/rs6000/xcoff.h: Likewise.
3691
3692 2002-09-20  Jim Wilson  <wilson@redhat.com>
3693
3694         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
3695
3696 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
3697
3698         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
3699         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
3700         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
3701         (legitimate_address_p): Likewise.
3702         (legitimize_address): Use @gotntpoff and @indntpoff.
3703         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
3704         (output_addr_const_extra): Likewise.
3705
3706 2002-09-20  Jim Wilson  <wilson@redhat.com>
3707
3708         * combine.c (try_combine): When split an instruction pair, where the
3709         first has a sign_extend src, verify that the src and dest modes match.
3710
3711 2002-09-20  Richard Henderson  <rth@redhat.com>
3712
3713         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
3714         (override_options): Do not initialize them.
3715         (mips_const_double_ok): Allow no fp constants except zero,
3716         and not even that for mips16.
3717         (const_float_1_operand): Use dconst1.
3718         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
3719         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
3720         Don't allow arbitrary constants; fix predicates and C constraint.
3721
3722 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
3723
3724         * cppmacro.c: Don't warn about function-like macros without
3725         '(' during pre-expansion.
3726
3727 2002-09-20  Jim Wilson  <wilson@redhat.com>
3728
3729         * config/v850/v850.c (current_function_anonymous_args): Delete.
3730         (expand_prologue): Use current_function_args_info.anonymous_args.
3731         (expand_epilogue): Delete use of current_function_anonymous_args.
3732         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
3733         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
3734         (current_function_anonymous_args): Delete extern declaration.
3735         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
3736
3737 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
3738
3739         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
3740         to load_macho_picbase.
3741         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
3742         (load_macho_picbase): Take the symbol to use as a parameter.
3743         (macho_correct_pic): New insn.
3744         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
3745
3746         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
3747         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
3748         (CAN_ELIMINATE): Likewise.
3749         (INITIAL_ELIMINATION_OFFSET): Likewise.
3750         (TOC_REGISTER): Likewise.
3751
3752 2002-09-20  Richard Henderson  <rth@redhat.com>
3753
3754         * real.c (real_hash): New.
3755         * real.h: Declare it.
3756         * cse.c (canon_hash): Use it.
3757         * cselib.c (hash_rtx): Likewise.
3758         * emit-rtl.c (const_double_htab_hash): Likewise.
3759         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
3760         * varasm.c (struct rtx_const): Reduce vector size; separate
3761         integer and fp vectors.
3762         (HASHBITS): Remove.
3763         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
3764         take modulus MAX_HASH_TABLE.
3765         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
3766         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
3767         (SYMHASH): Don't use HASHBITS.
3768         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
3769         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
3770         (simplify_subtraction): Fix kind comparison.
3771         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
3772         Use a union to pun integer array.
3773         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
3774         only hash two words of integral CONST_DOUBLE.
3775
3776 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
3777
3778         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
3779         (STARTFILE_PREFIX_SPEC): New.
3780         (LINK_SPEC): Modify.
3781         (LIB_SPEC): Modify.
3782         (LIBGCC_SPEC): New.
3783
3784 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
3785
3786         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
3787         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
3788
3789 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
3790
3791         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
3792         Add clobber of the condition code register.
3793
3794 2002-09-20  Richard Henderson  <rth@redhat.com>
3795
3796         * real.c (do_fix_trunc): Static.
3797         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
3798         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
3799         encode_i370_single, encode_i370_double, encode_c4x_single,
3800         encode_c4x_extended): Add default abort case.
3801
3802 2002-09-20  Richard Henderson  <rth@redhat.com>
3803
3804         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
3805         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
3806         (struct realvaluetype): Remove.
3807         (REAL_VALUE_TYPE): Use struct real_value.
3808         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
3809         (test_real_width): New.
3810         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
3811         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
3812         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
3813         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
3814         real_to_integer, real_to_integer2, real_to_decimal,
3815         real_to_hexadecimal, real_from_string, real_from_integer,
3816         real_inf, real_nan, real_2expN, real_convert, real_to_target,
3817         real_from_target): Likewise.
3818         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
3819         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
3820
3821 2002-09-20  Richard Henderson  <rth@redhat.com>
3822
3823         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
3824         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
3825         * defaults.h: ... here.
3826         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
3827         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
3828         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
3829         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
3830
3831 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
3832
3833         * config/mmix/mmix.md ("negdf2"): Rewrite.
3834         ("*expanded_negdf2"): New.
3835
3836 2002-09-19  Jim Wilson  <wilson@redhat.com>
3837
3838         * combine.c (simplify_set): When optimizing a subreg src with a
3839         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
3840
3841 2002-09-19  Dale Johannesen <dalej@apple.com>
3842         * combine.c (make_extraction): Don't create
3843         invalid subreg.
3844
3845 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
3846
3847         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
3848         and STRICT_LOW_PART within SET_DEST.
3849         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
3850         splitters, replacing pre-reload splitters.
3851         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
3852         "*zero_extendqihi2_31"): New insns.
3853         ("*zero_extendqihi2_64"): Do not clobber CC.
3854
3855 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
3856
3857         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
3858         (DTORS_SECTION_ASM_OP): Ditto.
3859         (READONLY_DATA_SECTION_ASM_OP): Moved.
3860         (DATA_SECTION_ASM_OP): New.
3861         (SDATA_SECTION_ASM_OP): New.
3862         (BSS_SECTION_ASM_OP): New.
3863         (SBSS_SECTION_ASM_OP): New.
3864         (TEXT_SECTION_ASM_OP): New.
3865
3866 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
3867
3868         * config/fp-bit.c: Follow spelling conventions.
3869         * config/d30v/d30v.c: Likewise.
3870         * config/d30v/d30v.h: Likewise.
3871         * config/fr30/fr30.c: Likewise.
3872         * config/fr30/fr30.h: Likewise.
3873         * config/fr30/fr30.md: Likewise.
3874         * config/frv/frv.c: Likewise.
3875         * config/frv/frv.h: Likewise.
3876         * config/h8300/h8300.c: Likewise.
3877         * config/h8300/lib1funcs.asm: Likewise.
3878         * config/i370/i370.c: Likewise.
3879         * config/i386/i386.h: Likewise.
3880         * config/i386/i386.md: Likewise.
3881         * config/i386/pentium.md: Likewise.
3882         * config/i386/winnt.c: Likewise.
3883         * config/i960/i960.c: Likewise.
3884         * config/ia64/ia64.h: Likewise.
3885         * config/ip2k/ip2k.c: Likewise.
3886         * config/ip2k/ip2k.h: Likewise.
3887         * config/ip2k/ip2k.md: Likewise.
3888         * config/ip2k/libgcc.S: Likewise.
3889
3890 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
3891
3892         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
3893         (GOTOFF_P): Extend to allow gotoff plus constant.
3894
3895 2002-09-18  Richard Henderson  <rth@redhat.com>
3896
3897         * ifcvt.c (noce_process_if_block): Correctly detect X modified
3898         with INSN_B before COND_EARLIEST.  Don't check A and B for
3899         modification in condition range.  Reorder INSN_B for A==B properly.
3900         (if_convert): Iterate until no matches for a block.
3901
3902 2002-09-18  Richard Henderson  <rth@redhat.com>
3903
3904         * calls.c (store_one_arg): Rename default_align to parm_align;
3905         always adjust parm_align for downward padding.
3906
3907 2002-09-18  Richard Henderson  <rth@redhat.com>
3908
3909         * toplev.c (backend_init): Move init_real_once invocation ...
3910         (do_compile): ... here.
3911
3912 2002-09-18  Richard Henderson  <rth@redhat.com>
3913
3914         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
3915         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
3916
3917 2002-09-18  Richard Henderson  <rth@redhat.com>
3918
3919         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
3920
3921 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
3922
3923         * config/rs6000/rs6000.md: (floatdisf2): Rename to
3924         floatdisf2_internal1.
3925         (floatdisf2): New define_expand.
3926         (floatdisf2_internal2): Likewise.
3927
3928 2002-09-18  Richard Henderson  <rth@redhat.com>
3929
3930         * real.c (sticky_rshift_significand): Collect sticky as
3931         unsigned long, not bool.
3932
3933 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
3934
3935         * config/s390/s390.c (s390_address_cost): New function.
3936         config/s390/s390-protos.h (s390_address_cost): Add prototype.
3937         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
3938         (RTX_COST): Use COSTS_N_INSNS.
3939
3940 2002-09-18  Douglas Rupp  <rupp@gnat.com>
3941             Donn Terry  <donnte@microsoft.com>
3942
3943         * stor-layout.c (place_field): Handle alignment of whole
3944         structures when MSVC compatible bitfields are involved.
3945         Change method of computing location of MS bitfields to
3946         be compatible with #pragma pack(n).
3947
3948         * tree.h (record_layout_info): Add new field
3949         remaining_in_alignment.
3950
3951         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
3952         (pragma pack): Add paragraph on MSVC bit-field packing.
3953
3954 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
3955
3956         PR optimization/7967
3957         * arm.md (ne_zeroextractsi): Add clobber of the condition code
3958         register.
3959
3960 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
3961
3962         * config/s390/s390.c: Follow spelling conventions.
3963         * config/sh/lib1funcs.asm: Likewise.
3964         * config/sh/sh.c: Likewise.
3965         * config/sh/sh.h: Likewise.
3966         * config/sparc/sparc.c: Likewise.
3967         * config/sparc/sparc.h: Likewise.
3968         * config/sparc/sparc.md: Likewise.
3969         * config/stormy16/stormy16.c: Likewise.
3970         * config/stormy16/stormy16.h: Likewise.
3971         * config/v850/v850.c: Likewise.
3972         * config/v850/v850.h: Likewise.
3973         * config/vax/vax.c: Likewise.
3974         * config/vax/vax.h: Likewise.
3975
3976 2002-09-18  Nick Clifton  <nickc@redhat.com>
3977
3978         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
3979         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
3980         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
3981
3982 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
3983
3984         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
3985         statement that the only translation is to en_UK.
3986
3987 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
3988
3989         * config/alpha/alpha.c: Follow spelling conventions.
3990         * config/alpha/alpha.h: Likewise.
3991         * config/alpha/alpha.md: Likewise.
3992         * config/arc/arc.h: Likewise.
3993         * config/arm/arm.c: Likewise.
3994         * config/arm/arm.h: Likewise.
3995         * config/arm/arm.md: Likewise.
3996         * config/arm/pe.c: Likewise.
3997         * config/arm/unknown-elf.h: Likewise.
3998         * config/avr/avr.c: Likewise.
3999         * config/avr/avr.h: Likewise.
4000         * config/c4x/c4x.c: Likewise.
4001         * config/cris/cris.c: Likewise.
4002         * config/cris/cris.h: Likewise.
4003
4004 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
4005
4006         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
4007         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
4008         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
4009
4010 2002-09-17  Dale Johannesen  <dalej@apple.com>
4011
4012         * cfgcleanup.c (try_forward_edges):  Do not forward a
4013         branch to just after a loop exit before loop optimization;
4014         this interfered with doloop detection.
4015
4016 2002-09-17  Nick Clifton  <nickc@redhat.com>
4017
4018         * config/arm/arm.c (output_return_instruction): Do not
4019         writeback the stack pointer when it is being loaded.
4020         (arm_output_epilogue): Likewise.
4021
4022 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
4023
4024         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
4025         generate a pseudo reg that receives the result of a libcall.
4026         (prepare_float_lib_cmp): Likewise.
4027
4028 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
4029
4030         * config/ia64/elf.h: Remove CPP_PREDEFINES.
4031
4032 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4033
4034         Fix PR/7014 and related objc bugs:
4035         * c-typeck.c (comp_target_types): Added a reflexive argument.
4036         Pass it to ObjC when/if calling objc_comptypes().  Updated all
4037         callers to provide the appropriate reflexive argument.
4038         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
4039         typechecking for all cases of comparisons and assignments,
4040         particularly the obscure and less common ones involving protocols.
4041
4042 2002-09-17  Nick Clifton  <nickc@redhat.com>
4043
4044         * machmode.def (V1DImode): New mode.  A single element vector.
4045         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
4046         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
4047         * tree.c (build_common_tree_nodes_2): Build
4048         unsigned_V1DI_type_node and V1D1_type_node.
4049         * c-common.c (c_common_type_for_mode): Return
4050         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
4051         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
4052
4053 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
4054
4055         * doc/objc.texi (Constant string objects): Extended documentation
4056         to make clear that the constant string class ivar layout is
4057         completely fixed.
4058
4059 2002-09-17  Roger Sayle  <roger@eyesopen.com>
4060
4061         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
4062         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
4063
4064 2002-09-16  Richard Henderson  <rth@redhat.com>
4065
4066         * expr.c (emit_block_move): Set memory block size as appropriate
4067         for the copy.
4068
4069 2002-09-16  Richard Henderson  <rth@redhat.com>
4070
4071         PR fortran/3924
4072         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
4073
4074 2002-09-16  Richard Henderson  <rth@redhat.com>
4075
4076         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
4077         as well as OFFSET for BITPOS.
4078
4079 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
4080
4081         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
4082         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
4083         winchip2 and c3.
4084         * doc/invoke.texi: Mention new aliases.
4085
4086 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4087
4088         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
4089         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
4090         downward.
4091         * function.c (pad_below):  Always compile.
4092         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
4093         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
4094         Pad below when the argument is not in a register and the padding
4095         direction is downward.
4096
4097         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
4098         (PAD_VARARGS_DOWN): Define.
4099         * pa.c (function_arg_padding): Revise padding directions to make them
4100         compatible with the 32 and 64-bit runtime architecture documentation.
4101         (hppa_va_arg):  Add code to handle variable and size zero arguments
4102         passed by reference on TARGET_64BIT.  Reformat.
4103         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
4104         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
4105         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
4106         Add comments.
4107         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
4108         (RETURN_IN_MEMORY): Return size zero types in memory.
4109         (FUNCTION_VALUE): Return TFmode in general registers.
4110         (MUST_PASS_IN_STACK): Define.
4111         (FUNCTION_ARG_BOUNDARY): Simplify.
4112         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
4113         by reference.
4114         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
4115
4116 2002-09-16  Richard Henderson  <rth@redhat.com>
4117
4118         * real.c (do_fix_trunc): New.
4119         (real_arithmetic): Call it.
4120         * simplify-rtx.c (simplify_unary_operation): Handle FIX
4121         with a floating-point result mode.
4122
4123 2002-09-16  Richard Henderson  <rth@redhat.com>
4124
4125         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
4126         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
4127         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
4128         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
4129         * builtins.c (fold_builtin_nan): New.
4130         (fold_builtin): Call it.
4131         * real.c (real_nan): Parse a non-empty string.
4132         (round_for_format): Fix NaN significand truncation.
4133         * real.h (real_nan): Return bool.
4134         * doc/extend.texi: Document new builtins.
4135
4136 2002-09-16  Jason Merrill  <jason@redhat.com>
4137             Danny Smith  <dannysmith@users.sourceforge.net>
4138
4139         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
4140         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
4141         (i386_pe_mark_dllimport): Not here.
4142
4143 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
4144
4145         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
4146
4147 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
4148
4149         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
4150         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
4151         < 64.
4152         (rs6000_emit_cmove): Use real_isinf not target_isinf.
4153
4154 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
4155
4156         * calls.c (emit_library_call_value_1): Don't refer to
4157         hard_libcall_value.
4158         * optabs.c (prepare_float_lib_cmp): Likewise.
4159
4160 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
4161
4162         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
4163         mangling.
4164
4165         The following changes are merged from pch-branch:
4166
4167         * doc/gty.texi (GTY Options): Document %a.
4168         * gengtype.c (do_scalar_typedef): New function.
4169         (process_gc_options): Handle `length' option.
4170         (set_gc_used_type): A pointer to an array of structures doesn't
4171         qualify as a pointer to a structure.
4172         (output_escaped_param): Add `%a' escape.
4173         (write_gc_structure_fields): Allow 'desc' on array of unions.
4174         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
4175         do_scalar_typedef.
4176
4177         * gengtype.c (enum rtx_code): Make global.
4178         (rtx_format): Make global.
4179         (rtx_next): New.
4180         (gen_rtx_next): New.
4181         (write_rtx_next): New.
4182         (adjust_field_rtx_def): Skip fields marked by chain_next.
4183         (open_base_files): Delete redundant prototype.
4184         (write_enum_defn): New.
4185         (output_mangled_typename): Correct abort call.
4186         (write_gc_marker_routine_for_structure): Handle chain_next and
4187         chain_prev options.
4188         (finish_root_table): Don't output redundant \n.
4189         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
4190         * c-tree.h (union lang_tree_node): Add chain_next option.
4191
4192         * gengtype.h (NUM_PARAM): New definition.
4193         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
4194         * gengtype.c (find_param_structure): New.
4195         (adjust_field_type): Handle param<n>_is option.
4196         (process_gc_options): Detect use_params option.  Update callers.
4197         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
4198         'use_params' option.
4199         (open_base_files): Add splay-tree.h to list of files included.
4200         (output_mangled_typename): New.
4201         (write_gc_structure_fields): Update 'param' parameter to support
4202         multiple parameters.  Change name mangling.  Allow parameterized
4203         fields to have an apparent scalar type.  Handle param<n>_is options,
4204         use_param option.
4205         (write_gc_marker_routine_for_structure): Update for change to name
4206         mangling.  Better guess the output file for parameterized types.
4207         (write_gc_types): Update for change to name mangling.
4208         (write_gc_root): Update for change to name mangling.  Handle (ignore)
4209         param<n>_is options.
4210         * doc/gty.texi (GTY Options): Add description of param<n>_is
4211         options, use_params option.
4212         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
4213         * gengtype-lex.l: Produce token for param<n>_is.
4214         * gengtype-yacc.y: Parse param<n>_is.
4215
4216         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
4217
4218         * rtl.c: Update comment describing rtx_format.
4219         * rtl.h (union rtunion): Separate definition and typedef.
4220         (struct rtx_def): Use gengtype to mark.
4221         * Makefile.in (gengtype.o): Also depend on rtl.def.
4222         * ggc.h (ggc_mark_rtx_children): Delete prototype.
4223         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
4224         * ggc-common.c (ggc_mark_rtx_children): Delete.
4225         (ggc_mark_rtx_children_1): Delete.
4226         (gt_ggc_m_rtx_def): Delete.
4227         * gengtype.c (adjust_field_rtx_def): New.
4228         (adjust_field_type): Call adjust_field_rtx_def.
4229         (write_gc_structure_fields): Add 'default' case to switch if none
4230         is specified; remove unused code.
4231
4232         * tree.h (struct tree_exp): Update for change to meaning
4233         of special.
4234         * gengtype.c (adjust_field_tree_exp): New function.
4235         (adjust_field_type): Handle `tree_exp' special here.
4236         (write_gc_structure_fields): Don't handle `tree_exp' special here.
4237         Handle new `dot' option.
4238
4239         * gengtype.h: Make `info' a pointer-to-const.
4240         * gengtype-yacc.y (yacc_ids): Use xasprintf.
4241
4242         * gengtype.c (write_gc_structure_fields): Remove implementation
4243         of `always' option, add `default' option.
4244         * doc/gty.texi (GTY Options): Remove documentation of `always',
4245         add `default'.
4246
4247 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
4248
4249         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
4250
4251 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4252
4253         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
4254
4255         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
4256         instead of the *-protos.h file directly.
4257         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
4258         * darwin.c (machopic_output_stub): Move prototype ...
4259         * darwin-protos.h (machopic_output_stub): ... here.
4260         * rs6000-protos.h (machopic_output_stub): Don't declare.
4261
4262 2002-09-16  Richard Henderson  <rth@redhat.com>
4263
4264         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
4265
4266 2002-09-16  Richard Henderson  <rth@redhat.com>
4267
4268         * real.c, real.h: Rewrite from scratch.
4269
4270         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
4271         (paranoia): New target.
4272         * builtins.c (fold_builtin_inf): Use new real.h interface.
4273         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
4274         * c-lex.c (interpret_float): Likewise.
4275         * emit-rtl.c (gen_lowpart_common): Likewise.
4276         * optabs.c (expand_float): Use real_2expN.
4277         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
4278         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
4279         (FLOAT_WORDS_BIG_ENDIAN): New.
4280         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
4281         directly to REAL_VALUE_NEGATIVE.
4282         * loop.c (canonicalize_condition): Likewise.
4283         * simplify-rtx.c: Include tree.h.
4284         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
4285         with floating-point result modes.
4286         * toplev.c (backend_init): Call init_real_once.
4287
4288         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
4289         * tree.c (build_real): Likewise.
4290         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
4291         float_values, inited_float_values, check_float_value): Remove.
4292         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
4293         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
4294         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
4295         (VAX_HALFWORD_ORDER): Remove.
4296
4297 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
4298
4299         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
4300         (s390_load_address): ... this new function.
4301         (s390_decompose_address): Allow the argument pointer and all
4302         virtual registers as 'pointer' registers.
4303         (s390_expand_plus_operand): Use s390_load_address.
4304         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
4305         ("force_la_31"): New insn pattern.
4306         config/s390/s390-protos.h (legitimize_la_operand): Remove.
4307         (s390_load_address): Add prototype.
4308
4309         * config/s390/s390.c: Include "optabs.h".
4310         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
4311         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
4312         s390_expand_cmpstr): Add prototypes.
4313         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
4314         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
4315         for operands 0 and 1 to "memory_operand".  Add type attribute.
4316         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
4317         for operands 0 and 1 to "memory_operand".  Add type attribute.
4318         ("movstrdi_long", "movstrsi_long"): Remove.
4319         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
4320         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
4321         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
4322         ("clrstrsico"): Remove, replace by ...
4323         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
4324         ("clrstrsi_64"): Rename to "clrstr_long_64".
4325         ("clrstrsi_31"): Rename to "clrstr_long_31".
4326         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
4327         ("cmpstr_const"): Remove, replace by ...
4328         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
4329         ("cmpstr_64"): Rename to "cmpstr_long_64".
4330         ("cmpstr_31"): Rename to "cmpstr_long_31".
4331
4332 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
4333
4334         * ABOUT-NLS: Follow spelling conventions.
4335         * ChangeLog: Likewise.
4336         * ChangeLog.1: Likewise.
4337         * ChangeLog.2: Likewise.
4338         * ChangeLog.3: Likewise.
4339         * ChangeLog.4: Likewise.
4340         * ChangeLog.5: Likewise.
4341         * ChangeLog.6: Likewise.
4342         * FSFChangeLog.10: Likewise.
4343         * FSFChangeLog.11: Likewise.
4344         * c-common.c: Likewise.
4345         * c-lex.c: Likewise.
4346         * c-objc-common.c: Likewise.
4347         * cppexp.c: Likewise.
4348         * cppinit.c: Likewise.
4349         * cpplex.c: Likewise.
4350         * doloop.c: Likewise.
4351         * flow.c: Likewise.
4352         * function.c: Likewise.
4353         * integrate.c: Likewise.
4354         * loop.c: Likewise.
4355         * reg-stack.c: Likewise.
4356         * reload.h: Likewise.
4357         * ssa.c: Likewise.
4358
4359 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4360
4361         * ChangeLog: Follow spelling conventions.
4362         * ChangeLog.0: Likewise.
4363         * ChangeLog.1: Likewise.
4364         * ChangeLog.2: Likewise.
4365         * ChangeLog.4: Likewise.
4366         * ChangeLog.6: Likewise.
4367         * config.gcc: Likewise.
4368         * dwarfout.c: Likewise.
4369         * reload1.c: Likewise.
4370         * simplify-rtx.c: Likewise.
4371         * unwind-sjlj.c: Likewise.
4372         * config/avr/avr.h: Likewise.
4373         * config/d30v/d30v.h: Likewise.
4374         * config/frv/frv.c: Likewise.
4375         * config/frv/frv.h: Likewise.
4376         * config/ip2k/ip2k.h: Likewise.
4377         * config/m88k/m88k-move.sh: Likewise.
4378         * config/stormy16/stormy16.c: Likewise.
4379         * config/stormy16/stormy16.h: Likewise.
4380         * doc/extend.texi: Likewise.
4381         * doc/interface.texi: Likewise.
4382         * doc/invoke.texi: Likewise.
4383         * doc/md.texi: Likewise.
4384         * doc/rtl.texi: Likewise.
4385         * doc/tm.texi: Likewise.
4386         * doc/trouble.texi: Likewise.
4387         * ginclude/float.h: Likewise.
4388         * treelang/treelang.texi: Likewise.
4389
4390 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4391
4392         * i386-protos.h (i386_pe_dllexport_name_p,
4393         i386_pe_dllimport_name_p, i386_pe_unique_section,
4394         i386_pe_declare_function_type, i386_pe_record_external_function,
4395         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
4396         prototype.
4397         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
4398         * i386/t-interix (winnt.o): Likewise.
4399
4400         * v850-protos.h (v850_output_addr_const_extra): Prototype.
4401
4402 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4403
4404         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
4405         MIPS ABI CPP macros.
4406         (TARGET_CPU_CPP_BUILTINS): Redefine.
4407         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
4408         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
4409
4410 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4411
4412         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
4413
4414 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4415
4416         * ChangeLog: Follow spelling conventions.
4417         * ChangeLog.0: Likewise.
4418         * ChangeLog.1: Likewise.
4419         * ChangeLog.2: Likewise.
4420         * ChangeLog.3: Likewise.
4421         * ChangeLog.4: Likewise.
4422         * ChangeLog.5: Likewise.
4423         * ChangeLog.6: Likewise.
4424         * FSFChangeLog.10: Likewise.
4425         * FSFChangeLog.11: Likewise.
4426         * c-common.c: Likewise.
4427         * c-common.h: Likewise.
4428         * c-format.c: Likewise.
4429         * c-opts.c: Likewise.
4430         * cpplib.c: Likewise.
4431         * langhooks.h: Likewise.
4432         * real.c: Likewise.
4433         * reg-stack.c: Likewise.
4434         * toplev.c: Likewise.
4435         * config/arm/arm.c: Likewise.
4436         * config/arm/arm.md: Likewise.
4437         * config/arm/linux-gas.h: Likewise.
4438         * config/arm/netbsd.h: Likewise.
4439         * config/c4x/c4x.c: Likewise.
4440         * config/c4x/c4x.h: Likewise.
4441         * config/c4x/c4x.md: Likewise.
4442         * config/c4x/libgcc.S: Likewise.
4443         * config/fr30/fr30.md: Likewise.
4444         * config/frv/frv.md: Likewise.
4445         * config/ia64/ia64.md: Likewise.
4446         * config/mips/mips.h: Likewise.
4447         * config/mn10300/mn10300.c: Likewise.
4448         * config/stormy16/stormy16.c: Likewise.
4449         * config/v850/v850.md: Likewise.
4450         * doc/extend.texi: Likewise.
4451         * doc/invoke.texi: Likewise.
4452         * doc/md.texi: Likewise.
4453
4454 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4455
4456         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
4457         library if -pthread is specified.
4458
4459 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
4460
4461         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
4462         for --enable-threads=yes and --enable-threads=posix.
4463
4464 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
4465
4466         * config/sparc/cypress.md: Replace Sparc with SPARC.
4467         * config/sparc/freebsd.h: Likewise.
4468         * config/sparc/gmon-sol2.c: Likewise.
4469         * config/sparc/hypersparc.md: Likewise.
4470         * config/sparc/lb1spc.asm: Likewise.
4471         * config/sparc/lb1spl.asm: Likewise.
4472         * config/sparc/linux.h: Likewise.
4473         * config/sparc/linux64.h: Likewise.
4474         * config/sparc/lynx.h: Likewise.
4475         * config/sparc/sol2.h: Likewise.
4476         * config/sparc/sparc-modes.def: Likewise.
4477         * config/sparc/sparc.c: Likewise.
4478         * config/sparc/sparc.h: Likewise.
4479         * config/sparc/sparc.md: Likewise.
4480         * config/sparc/sparclet.md: Likewise.
4481         * config/sparc/supersparc.md: Likewise.
4482         * config/sparc/sysv4.h: Likewise.
4483         * config/sparc/vxsim.h: Likewise.
4484         * config/sparc/vxsparc64.h: Likewise.
4485
4486 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
4487
4488         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
4489
4490 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4491
4492         * ChangeLog: Follow spelling conventions.
4493         * ChangeLog.0: Likewise.
4494         * ChangeLog.2: Likewise.
4495         * ChangeLog.3: Likewise.
4496         * ChangeLog.4: Likewise.
4497         * ChangeLog.5: Likewise.
4498         * ChangeLog.6: Likewise.
4499         * cppfiles.c: Likewise.
4500         * cppinit.c: Likewise.
4501         * cpplib.h: Likewise.
4502         * cse.c: Likewise.
4503         * debug.h: Likewise.
4504         * df.c: Likewise.
4505         * dominance.c: Likewise.
4506         * hashtable.c: Likewise.
4507         * hashtable.h: Likewise.
4508         * loop.c: Likewise.
4509         * config/arm/README-interworking: Likewise.
4510         * config/arm/arm.c: Likewise.
4511         * config/arm/arm.h: Likewise.
4512         * config/arm/arm.md: Likewise.
4513         * config/dsp16xx/dsp16xx.h: Likewise.
4514         * config/frv/frv.c: Likewise.
4515         * config/frv/frv.h: Likewise.
4516         * config/ip2k/ip2k.h: Likewise.
4517         * config/rs6000/rs6000.c: Likewise.
4518         * config/stormy16/stormy-abi: Likewise.
4519         * config/stormy16/stormy16.h: Likewise.
4520         * config/v850/v850.c: Likewise.
4521
4522 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4523
4524         * loop.c: Fix a comment typo.
4525
4526 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4527
4528         * config/fr30/fr30.h: Fix comment typos.
4529         * config/frv/frv.c: Likewise.
4530         * config/i386/xmmintrin.h: Likewise.
4531         * config/mips/mips.c: Likewise.
4532         * config/sh/sh.c: Likewise.
4533
4534 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
4535
4536         * haifa-sched.c: Follow spelling conventions.
4537         * regclass.c: Likewise.
4538         * regrename.c: Likewise.
4539         * config/fp-bit.c: Likewise.
4540         * config/frv/frv.h: Likewise.
4541         * config/m88k/m88k.c: Likewise.
4542         * config/mcore/mcore.c: Likewise.
4543         * config/rs6000/darwin.h: Likewise.
4544         * config/rs6000/gnu.h: Likewise.
4545         * config/rs6000/linux.h: Likewise.
4546         * config/rs6000/linux64.h: Likewise.
4547         * config/rs6000/rs6000.c: Likewise.
4548         * config/rs6000/rs6000.h: Likewise.
4549         * config/sh/sh.c: Likewise.
4550         * config/sparc/sparc.c: Likewise.
4551         * config/sparc/ultra1_2.md: Likewise.
4552
4553 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
4554
4555         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
4556         memory operand when source is 0 (K constraint).
4557         ("movsi_internal"): Likewise.
4558         ("movdf_internal"): Likewise.
4559         ("movsf_internal"): Likewise.
4560
4561 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
4562
4563         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
4564         targetm.binds_local_p to set SYMBOL_REF_FLAG.
4565         (rs6000_xcoff_encode_section_info): Likewise.
4566         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4567
4568 2002-09-10  Theodore A. Roth  <troth@verinet.com>
4569
4570         * gcc/config/avr/avr.h: Set default options for C++ for avr.
4571
4572 2002-09-13  Richard Henderson  <rth@redhat.com>
4573
4574         * Makefile.in (toplev.o): Depend on real.h.
4575         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
4576
4577 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
4578
4579         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
4580         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
4581         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
4582
4583 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
4584
4585         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
4586
4587 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4588
4589         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
4590         ia64*-*-linux*): Set extra_parts.
4591         * config/ia64/t-aix (EXTRA_PARTS): Remove.
4592         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
4593
4594 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
4595
4596         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
4597         * config/h8300/h8300.c: Likewise.
4598         * config/h8300/h8300.h: Likewise.
4599         * config/h8300/h8300.md: Likewise.
4600         * doc/invoke.texi: Likewise.
4601
4602 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
4603
4604         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
4605
4606 2002-09-13  Richard Henderson  <rth@redhat.com>
4607
4608         * config/alpha/alpha.md (attr type): Add callpal.
4609         (imb, trap, load_tp, set_tp): Use it.
4610         * config/alpha/ev4.md (ev4_callpal): New.
4611         * config/alpha/ev5.md (ev5_callpal): New.
4612         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
4613         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
4614         (alphaev5_insn_pipe): Likewise.
4615
4616 2002-09-13  Andreas Jaeger  <aj@suse.de>
4617
4618         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
4619
4620 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4621
4622         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
4623         LIB2ADDEH): New, set to NULL.
4624         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
4625
4626 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
4627
4628         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
4629         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
4630         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
4631         Add declarations.
4632         (_U_Qfneg): Remove.
4633
4634 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
4635
4636         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
4637         for H8/300, H8S aa:8 mode.
4638         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
4639         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
4640         for H8/300 aa:8 mode.
4641
4642 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
4643
4644         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
4645         insns.
4646
4647 2002-09-12  Richard Henderson  <rth@redhat.com>
4648
4649         * Makefile.in (HOST_PRINT): Use print-rtl1.o
4650         (print-rtl.o): Don't define GENERATOR_FILE.
4651         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
4652         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
4653         unless GENERATOR_FILE.
4654
4655 2002-09-12  Stan Shebs  <shebs@apple.com>
4656
4657         * config/darwin.h (USER_LABEL_PREFIX): Define here...
4658         * config/i386/darwin.h: ... instead of here.
4659
4660         * target.h (struct gcc_target): New field
4661         terminate_dw2_eh_frame_info.
4662         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
4663         (TARGET_INITIALIZER): Add it.
4664         * dwarf2out.c (output_call_frame_info): Use target hook.
4665         * dwarf2asm.c (dw2_asm_output_delta): Use macro
4666         ASM_OUTPUT_DWARF_DELTA if defined.
4667         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
4668         (ASM_OUTPUT_DWARF_DELTA): Ditto.
4669         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
4670         (ASM_OUTPUT_DWARF_PCREL): Ditto.
4671         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
4672         (powerpc-*-darwin*): Ditto.
4673         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
4674         to work correctly for Darwin.
4675         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
4676         (STARTFILE_SPEC): Add crtbegin.o.
4677         (ENDFILE_SPEC): Define.
4678         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
4679         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
4680         (ASM_OUTPUT_DWARF_DELTA): Define.
4681         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
4682         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
4683
4684 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
4685
4686         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
4687         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
4688         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
4689
4690 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
4691
4692         * toplev.c: Move default definition of USER_LABEL_PREFIX...
4693         * defaults.h: ... here.
4694
4695 2002-09-12  Richard Henderson  <rth@redhat.com>
4696
4697         * vax.c: Include tree.h earlier.
4698
4699 2002-09-12  Stan Shebs  <shebs@apple.com>
4700
4701         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
4702         (machopic_operand_p): Ditto.
4703
4704 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4705
4706         * config/arm/arm.c (arm_compute_initial_elimination_offset):
4707         Fix a comment typo.
4708
4709 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4710
4711         * toplev.c (do_abort): Fix a comment typo.
4712
4713 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4714
4715         * cselib.c: Fix comment formatting.
4716         * gengtype.c: Likewise.
4717
4718 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
4719
4720         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
4721         (udivmodhi4): Likewise.
4722
4723 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
4724             Roger Sayle  <roger@eyesopen.com>
4725
4726         * i386.c (any_fp_register_operand, fp_register_operand,
4727         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
4728         New predicate functions.
4729         * i386-protos.h:  Add their prototypes.
4730         * i386.h: Add them to PREDICATE_CODES.
4731         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
4732         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
4733         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
4734         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
4735         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
4736         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
4737         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
4738         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
4739         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
4740         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
4741         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
4742         Use these new predicates to simplify and correct the use of
4743         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
4744
4745 2002-09-12  Jason Merrill  <jason@redhat.com>
4746
4747         * diagnostic.c (output_add_identifier): New fn.
4748         * diagnostic.h: Declare it.
4749
4750         * calls.c (store_one_arg): Use size_in_bytes to determine the
4751         amount of space to push.
4752
4753 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
4754
4755         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
4756
4757 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
4758
4759         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
4760         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
4761         (s390_select_ccmode): Likewise.
4762         (s390_branch_condition_mask): Likewise.
4763         (optimization_options): Do not set flag_branch_on_count.
4764         (s390_split_branches): Handle doloop branches.
4765         (s390_chunkify_pool): Likewise.
4766         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
4767         ("doloop_end"): New expander.
4768         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
4769         associated splitters): New.
4770
4771 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
4772
4773         * fold-const.c (make_range): Only narrow to signed range if
4774         the signed range is smaller than the unsigned range.
4775
4776 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
4777
4778         * emit-rtl.c (set_mem_size): New function.
4779         * expr.h (set_mem_size): Declare.
4780         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
4781         (expand_block_move): Instead, use adjust_address and
4782         replace_equiv_address to generate proper aliasing info.
4783         Move common code out of conditionals.  Localize vars.
4784
4785 2002-09-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
4786
4787         * optabs.c (expand_binop): Minor cleanup.
4788         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
4789
4790 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
4791
4792         * print-tree.c (print_node): Print the restrict qualifier.
4793
4794 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
4795
4796         * doc/install.texi: Fix typos.
4797
4798 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
4799
4800         * Makefile.in: Remove all references to s-under and underscore.c.
4801         * collect2.c, tlink.c: Change all uses of prepends_underscore
4802         to look directly at USER_LABEL_PREFIX.
4803
4804 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
4805
4806         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
4807         alignment to csect.
4808         (rs6000_xcoff_unique_section): Only set section name for public
4809         data.
4810         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
4811         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
4812         duplicate definition.
4813
4814 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4815
4816         * pa.md (extzv): Check predicates before emitting extzv_32.
4817         (insv): Likewise.
4818
4819 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
4820
4821         * config/s390/s390.h (MOVE_MAX): Define to correct value.
4822         (MAX_MOVE_MAX): Define.
4823         (MOVE_BY_PIECES_P): Define.
4824         (CLEAR_BY_PIECES_P): Define.
4825
4826 2002-09-10  Denis Chertykov  <denisc@overta.ru>
4827
4828         * config/avr/avr.md (movstrhi): Use right operands for conversion.
4829
4830 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
4831
4832         PR c/7873
4833         * arm.md (insv): Use reg_or_int_operand for operand[3].
4834
4835 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
4836
4837         * rs6000.c (rs6000_assemble_visibility): Protect declaration
4838         inside macro.  Correct function definition typo.
4839         (rs6000_xcoff_section_type_flags): New function.
4840         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
4841         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
4842         with appropriate PIC test.
4843         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
4844         determine readonly.
4845         (rs6000_binds_local_p): Combine PIC flags.
4846         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
4847         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
4848
4849 2002-09-09  Per Bothner  <per@bothner.com>
4850
4851         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
4852         characters, and only print TREE_STRING_LENGTH chars.
4853
4854 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
4855
4856         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
4857         (ASM_FILE_END) New.
4858         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
4859         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
4860         * config/ia64/ia64.c (ia64_asm_output_external): Create list
4861         of external functions if TARGET_HPUX_LD is true.
4862         (ia64_hpux_add_extern_decl): New, routine to put names on
4863         list of external functions.
4864         (ia64_hpux_asm_file_end): Put out declarations for external
4865         functions if and only if they are used.
4866
4867 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4868
4869         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
4870         on TARGET_64BIT before pic register restore.
4871
4872 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
4873
4874         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
4875         (TARGET_HAVE_TLS): New description.
4876
4877 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
4878
4879         * doc/extend.texi (Statement Exprs): Fix broken link.
4880
4881 2002-09-09  Denis Chertykov  <denisc@overta.ru>
4882
4883         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
4884         right conversion of operands[1].
4885
4886 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
4887
4888         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
4889         commutative.  Use "nonimmediate_operand" instead of "register_operand"
4890         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
4891
4892         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
4893         as commutative.
4894
4895         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
4896         mark as commutative.  Use "nonimmediate_operand" instead of
4897         "register_operand" as predicate for operand 1.
4898
4899         ("movstrictsi"): Fix typo in insn name.
4900
4901 2002-09-09  Jan Hubicka  <jh@suse.cz>
4902
4903         * i386.c (index_register_operand): New.
4904         * i386.h (predicate_codes): Add new predicate.
4905         * i386.md (lea_general_*): Use index_register_operand
4906         (ashift to lea splitter): Do not produce invalid leas
4907         (ashift to mov+ashift split): New.
4908
4909 2002-09-09  Nick Clifton  <nickc@redhat.com>
4910
4911         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
4912         Fix folding marks.
4913
4914 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
4915             J"orn Rennecke <joern.rennecke@superh.com>
4916
4917         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
4918
4919 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
4920
4921         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
4922         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
4923         attributes.
4924
4925 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4926
4927         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
4928
4929 2002-09-08  Richard Henderson  <rth@redhat.com>
4930
4931         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
4932         (DW_OP_GNU_push_tls_address): New.
4933         (DW_OP_lo_user): Fix.
4934         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
4935         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
4936         (size_of_loc_descr): Likewise.
4937         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
4938         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
4939         (loc_descriptor_from_tree): Handle TLS variables.
4940         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
4941         (add_location_or_const_value_attribute): ... not here.  Defer
4942         to loc_descriptor_from_tree for TLS variables.
4943
4944         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
4945         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
4946         * config/i386/i386-protos.h: Update.
4947
4948 2002-09-08  Roger Sayle  <roger@eyesopen.com>
4949
4950         PR optimization/6405
4951         * unroll.c (loop_iterations): last_loop_insn should be the previous
4952         non-note instruction before loop->end.
4953         * loop.c (strength_reduce): The conditional jump is the last
4954         non-note instruction before loop->end (as above).
4955
4956 2002-09-08  Roger Sayle  <roger@eyesopen.com>
4957
4958         * combine.c (try_combine): Handle the case that undobuf.other_insn
4959         has been turned into a return or unconditional jump, by inserting
4960         a BARRIER if necessary.
4961         (simplify_set):  Test if a condition code setter has a constant
4962         comparison at compile time, if so convert this insn to a no-op move
4963         and update/simplify the condition code user (undobuf.other_insn).
4964
4965 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
4966
4967         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
4968         (CLEAR_INSN_CACHE): Define.
4969
4970 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
4971
4972         * basic-block.h: Fix comment formatting.
4973         * c-common.c: Likewise.
4974         * c-common.h: Likewise.
4975         * c-lex.c: Likewise.
4976         * c-pretty-print.c: Likewise.
4977         * cfglayout.c: Likewise.
4978         * cfgloop.c: Likewise.
4979         * defaults.h: Likewise.
4980         * et-forest.c: Likewise.
4981         * explow.c: Likewise.
4982         * function.h: Likewise.
4983         * gcov.c: Likewise.
4984         * genattrtab.c: Likewise.
4985         * gengtype.c: Likewise.
4986         * ifcvt.c: Likewise.
4987         * libgcc2.c: Likewise.
4988         * loop.c: Likewise.
4989         * profile.c: Likewise.
4990         * ra-build.c: Likewise.
4991         * real.c: Likewise.
4992         * rtl.h: Likewise.
4993         * tracer.c: Likewise.
4994         * tree-inline.c: Likewise.
4995         * varasm.c: Likewise.
4996
4997 2002-09-08  Jan Hubicka  <jh@suse.cz>
4998
4999         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
5000         handling.
5001
5002         * loop.c (loop_givs_reduce):  Emit addition after.
5003
5004 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
5005
5006         * varasm.c (default_assemble_visibility): Rename from
5007         assemble_visibility.
5008         * output.h: Here too.
5009         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
5010         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
5011
5012 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
5013
5014         * reload.c (find_reloads <p constraint>): Pass operand_mode to
5015         find_reloads_address.
5016
5017 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
5018
5019         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
5020         (anonymous pattern): Likewise.
5021
5022 2002-09-07  Scott Snyder  <snyder@fnal.gov>
5023
5024         PR target/7374
5025         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
5026
5027 2002-09-07  Roger Sayle  <roger@eyesopen.com>
5028
5029         * basic-block.h (struct loop): Remove unused cont_dominator field.
5030
5031 2002-09-07  Igor Shevlyakov <igor@microunity.com>
5032
5033         * varasm.c (decode_rtx_const): Don't check undefined field for
5034         CONST_VECTOR.
5035
5036 2002-09-07  Glen Nakamura  <glen@imodulo.com>
5037
5038         PR opt/7814
5039         * sched-deps.c (sched_analyze_insn): Make sure to add insn
5040         to reg_last->sets after flushing the dependency lists to guarantee
5041         that subsequent clobbers will be dependent on it.
5042
5043 2002-09-07  Igor Shevlyakov <igor@microunity.com>
5044
5045         * combine.c (simplify_shift_const): Calculate rotate count
5046         correctly for vector operands.
5047
5048 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
5049
5050         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
5051         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
5052         tree_expr_nonnegative_p.
5053         (build_conditional_expr): Likewise.
5054         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
5055
5056 2002-09-07  Richard Henderson  <rth@redhat.com>
5057
5058         * builtins.def (inf, inff, infl): Mark const.
5059         (huge_val, huge_valf, huge_vall): Likewise.
5060         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
5061
5062         * real.c (ereal_inf): Clear E before use.
5063
5064 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
5065
5066         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
5067         an expander and an anonymous pattern.  Zero out the upper half
5068         of the dividend in the expander.
5069         (udivmodqi4): Likewise.
5070
5071 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
5072
5073         * config/h8300/h8300.c: Fix formatting.
5074         * config/h8300/h8300.h: Likewise.
5075         * config/h8300/h8300.md: Likewise.
5076
5077 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5078
5079         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
5080         information.
5081
5082 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
5083
5084        * rtlanal.c (dead_or_set_regno_p): Fix typo.
5085
5086 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
5087
5088         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5089
5090         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
5091         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
5092         (TARGET_ASM_OUT): Add the above here.
5093         * target.h (struct gcc_target): Add "visibility" field.
5094         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
5095         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
5096         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
5097         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
5098
5099 2002-09-06  Ziemowit Laski <zlaski@apple.com>
5100
5101         * c-lang.c (objc_is_id): New stub.
5102         * c-tree.h (objc_is_id): New forward declaration.
5103         * c-typeck.c (build_c_cast): Do not strip protocol
5104         qualifiers from 'id' type.
5105         * objc/objc-act.c (objc_comptypes): Correct handling
5106         of protocol qualifiers.
5107         (objc_is_id): New.
5108
5109 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
5110
5111         * pentium.md (pentium-firstvboth): Fix typo.
5112
5113 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
5114
5115         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
5116         (enum shift_type, enum h8_cpu): Likewise.
5117         (INL, ROT, LOP, SPC macros): Likewise.
5118         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
5119         const designator.
5120         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
5121         space efficient algorithms when optimize for codesize.
5122
5123 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5124
5125         Fix PR/1727 and long-standing failing testcase
5126         objc/formal-protocol-6.m.
5127         * objc-act.c (build_protocol_expr): If compiling for the GNU
5128         runtime, create a list of Protocol statically allocated instances
5129         if it doesn't exist, then add the Protocol object to this same
5130         list.
5131         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
5132         instead of TREE_CHAIN.
5133
5134 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5135
5136         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
5137         10k.  Fixed category dumping - print out category names with the
5138         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
5139         interface.
5140         (finish_objc): Fixed the -gen-decls option.  It was printing out
5141         only the last class.  Dump an interface declaration of all classes
5142         being compiled instead.
5143
5144 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
5145
5146         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
5147         prototype.
5148         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
5149         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
5150         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
5151         rather than GEN_INT.
5152         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
5153         (return_addr_mask, *check_arch2): New.
5154
5155 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
5156
5157         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
5158         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
5159         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
5160         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
5161         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
5162         "adddf3", "*adddf3", "*adddf3_ibm",
5163         "addsf3", "*addsf3", "*addsf3_ibm",
5164         "muldi3", "mulsi3", "mulsidi3",
5165         "muldf3", "*muldf3", "*muldf3_ibm",
5166         "mulsf3", "*mulsf3", "*mulsf3_ibm",
5167         "*anddi3_cc", "*anddi3_cconly", "anddi3",
5168         "*andsi3_cc", "*andsi3_cconly", "andsi3",
5169         "*iordi3_cc", "*iordi3_cconly", "iordi3",
5170         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
5171         "*xordi3_cc", "*xordi3_cconly", "xordi3",
5172         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
5173         instead of "register_operand" as predicate for "%0" operand.
5174
5175 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
5176
5177         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
5178         unconditionally when gcc_cv_as_flags64 checks are gone.
5179         * configure: Rebuilt.
5180
5181 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
5182
5183         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
5184         2002-07-26 change.  Comment.
5185
5186 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5187
5188         * frv.c (frv_unique_section, frv_select_section,
5189         frv_select_rtx_section): Delete.
5190         (frv_in_small_data_p): New.
5191         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
5192         TARGET_ASM_SELECT_RTX_SECTION): Delete.
5193         (TARGET_IN_SMALL_DATA_P): Define.
5194
5195 2002-09-05  Dale Johannesen  <dalej@apple.com>
5196
5197         * reload1.c (reload):  Retain only those memory clobbers
5198         added for variable-array handling.
5199
5200 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
5201
5202         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
5203         return-in-memory rules.
5204         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
5205
5206 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
5207
5208         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
5209         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
5210
5211 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
5212
5213         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
5214         not a compile-time constant for the non-IBM case.
5215         * config/arm/arm-protos.h (arm_float_words_big_endian): New
5216         prototype.
5217         * config/arm/arm.c (arm_float_words_big_endian): New function.
5218         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
5219         if TARGET_VFP  and not TARGET_HARD_FLOAT.
5220         (ARM_FLAG_VFP, TARGET_VFP): Define.
5221         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
5222
5223 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
5224
5225         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
5226         URLs.  Fix AIX wording.
5227
5228 2002-09-05  Stan Shebs  <shebs@apple.com>
5229
5230         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
5231         -fPIC equivalent on Darwin.
5232
5233 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
5234
5235         * sh.c (sh_expand_builtin): Return early if encountering an
5236         error_mark for a type.
5237
5238 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
5239
5240         * config/s390/s390.c (s390_expand_plus_operand): Do not require
5241         double-word scratch register.
5242         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
5243
5244         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
5245         "*cli"): Replace s_operand by memory_operand.
5246         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
5247
5248 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
5249
5250         * config/h8300/h8300.c (asm_file_start): Add a missing
5251         semicolon.
5252
5253 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
5254
5255         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
5256         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
5257         (ix86_output_addr_diff_elt) Likewise.
5258         (x86_output_mi_thunk) Likewise.
5259         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
5260
5261 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5262
5263         * frv.c (frv_encode_section_info): Fix error in last change.
5264
5265 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
5266
5267         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
5268         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
5269         (TARGET_BINDS_LOCAL_P): Define.
5270         (rs6000_override_options): Save original flag_pic value.
5271         (rs6000_elf_select_section): Call default_elf_select_section_1.
5272         (rs6000_elf_unique_section): Call default_unique_section_1.
5273         (rs6000_elf_in_small_data_p): New function.
5274         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
5275         (rs6000_xcoff_select_section): Update based on defaults.
5276         (rs6000_xcoff_unique_section): Set to basic name if not common.
5277         (rs6000_binds_local_p): New function.
5278         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
5279         targetm.have_srodata_section if SDATA_EABI.
5280         (TARGET_IN_SMALL_DATA_P): Define.
5281
5282 2002-09-04  Dale Johannesen  <dalej@apple.com>
5283
5284         * varasm.c (struct rtx_const, decode_rtx_const):
5285         Make veclo and vechi fields not share storage.
5286
5287 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
5288
5289         * loop.c (scan_loop): Don't mark separate insns out of a libcall
5290         for moving.
5291         (move_movables): Abort if we see the first insn of a libcall.
5292
5293 2002-09-04  Richard Henderson  <rth@redhat.com>
5294
5295         * builtin-types.def (BT_FN_FLOAT): New.
5296         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
5297         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
5298         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
5299         * builtins.c (fold_builtin_inf): New.
5300         (fold_builtin): Call it.
5301         * real.c (ereal_inf): New.
5302         * real.h: Declare it.
5303         * doc/extend.texi: Document new builtins.
5304
5305 2002-09-04  Richard Henderson  <rth@redhat.com>
5306
5307         * cse.c (cse_insn): Avoid subreg games if the equivalence
5308         is already in the proper mode.
5309
5310 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
5311
5312         PR c/7102
5313         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
5314
5315 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5316
5317         * pa.md (setccfp0, setccfp1): New patterns.
5318
5319 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5320
5321         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
5322         frv_select_section, frv_select_rtx_section,
5323         frv_encode_section_info, frv_unique_section): Delete.
5324         * frv.c: Update for target hooks.
5325         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
5326         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
5327         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
5328
5329 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5330
5331         * ip2k-protos.h (function_prologue, function_epilogue,
5332         encode_section_info): Update to match target hook specification.
5333         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
5334         (function_prologue, function_epilogue, encode_section_info):
5335         Update to match target hook specification.
5336         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
5337         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
5338         (NOTICE_UPDATE_CC): Cast to void.
5339         * ip2k.md: Add defaults in switch statements.
5340
5341 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5342
5343         * doc/trouble.texi (Interoperation): Update information about C++ ABI
5344         issues.
5345
5346 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
5347
5348         * config/sparc/t-netbsd64: Disable multilib for now.
5349
5350 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
5351
5352         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
5353         * target.h (gcc_target): Add have_srodata_section member.
5354         * varasm.c (section_category): Add SECCAT_SRODATA.
5355         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
5356         READONLY_SDATA_SECTION defined.
5357         (decl_readonly_section_1): True for SECCAT_SRODATA also.
5358         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
5359         (default_unique_section_1): Likewise.
5360
5361 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5362
5363         * expr.c (emit_group_load): Revise to allow splitting TCmode source
5364         into DImode pieces.
5365
5366         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
5367         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
5368         for floating-point register class.
5369         * pa.c (function_arg): Fix handling of modes wider than one word for
5370         TARGET_64BIT.
5371
5372 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
5373
5374         * combine.c (make_compound_operation): Don't generate zero / sign
5375         extensions in floating point modes.
5376
5377 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5378
5379         * doc/c-tree.texi: Fix overfull hboxes.
5380         * doc/cppopts.texi: Ditto.
5381         * doc/extend.texi: Ditto.
5382         * doc/gty.texi: Ditto.
5383         * doc/invoke.texi: Ditto.
5384         * doc/makefile.texi: Ditto.
5385         * doc/rtl.texi: Ditto.
5386         * doc/standards.texi: Ditto.
5387         * doc/tm.texi: Ditto.
5388
5389 2002-09-04  Richard Henderson  <rth@redhat.com>
5390
5391         * c-common.c (builtin_define_with_hex_fp_value): New.
5392         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
5393
5394 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
5395
5396         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
5397         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
5398         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
5399         Warn that these options can break ABI compatibility.
5400
5401 2002-09-04  Richard Henderson  <rth@redhat.com>
5402
5403         * real.c (ereal_to_decimal): Add digits parameter.
5404         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
5405         * c-pretty-print.c (pp_c_real_literal): Update call.
5406         * print-rtl.c (print_rtx): Likewise.
5407         * print-tree.c (print_node_brief, print_node): Likewise.
5408         * sched-vis.c (print_value): Likewise.
5409         * config/arc/arc.c (arc_print_operand): Likewise.
5410         * config/c4x/c4x.c (c4x_print_operand): Likewise.
5411         * config/i370/i370.h (PRINT_OPERAND): Likewise.
5412         * config/i386/i386.c (print_operand): Likewise.
5413         * config/i960/i960.c (i960_print_operand): Likewise.
5414         * config/ip2k/ip2k.c (asm_output_float): Likewise.
5415         * config/m32r/m32r.c (m32r_print_operand): Likewise.
5416         * config/m68hc11/m68hc11.c (print_operand): Likewise.
5417         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
5418         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
5419         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
5420         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
5421         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
5422         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5423         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
5424         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
5425         * config/mips/mips.c (print_operand): Likewise.
5426         * config/ns32k/ns32k.c (print_operand): Likewise.
5427         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
5428         * config/vax/vax.h (PRINT_OPERAND): Likewise.
5429         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
5430
5431 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
5432
5433         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
5434         xtensa_multibss_section_type_flags.
5435         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
5436
5437 2002-09-04  Richard Henderson  <rth@redhat.com>
5438
5439         * doc/install-old.texi: Don't mention enquire.
5440         * doc/sourcebuild.texi: Update float.h description.
5441
5442 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
5443
5444         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
5445
5446 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
5447
5448         * varasm.c (default_section_type_flags): Append _1 to name with
5449         shlib parameter.  Use original name to call new function with
5450         implicit flag_pic.
5451         (decl_readonly_section): Likewise.
5452         (default_elf_select_section): Likewise.
5453         (default_unique_section): Likewise.
5454         (default_bind_local_p): Likewise.
5455         (categorize_decl_for_section): Add shlib parameter to use in place
5456         of implicit flag_pic.
5457         * output.h: Declare new functions with _1 and shlib argument.
5458
5459 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
5460
5461         * doc/install.texi: Fix typos, formatting problems, and obvious
5462         overfull/underfull boxes.
5463
5464         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
5465         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
5466         include its file, compat.texi.
5467         * doc/compat.texi: New file with new chapter, Binary Compatibility.
5468
5469 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
5470
5471         Debian BTS Bug #157416
5472         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
5473         * cpplib.c (destringize_and_run): Kludge around getting
5474         tokens from in-progress macros.
5475         (_cpp_do__Pragma): Simplify.
5476
5477 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
5478
5479         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
5480         (CPP_CPU_SPEC): Remove.
5481         (TARGET_CPU_CPP_BUILTINS): New.
5482         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
5483         (CPP_SPEC): Remove.
5484         (TARGET_OS_CPP_BUILTINS): New.
5485         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
5486         (TARGET_OS_CPP_BUILTINS): New.
5487         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
5488         TARGET_OS_CPP_BUILTINS.
5489         (CPP_PREDEFINES): Remove.
5490         (CPLUSPLUS_CPP_SPEC): Remove.
5491         (TARGET_OS_CPP_BUILTINS): New.
5492
5493 2002-09-03  Richard Henderson  <rth@redhat.com>
5494
5495         * Makefile.in (USER_H): Add ginclude/float.h.
5496         (FLOAT_H): Remove.
5497         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
5498         (mostlyclean): Don't remove float.h intermediate files.
5499         (distclean): Don't remove float.h.
5500         * config.gcc: Remove all float_format references.
5501         * configure.in (float_format, float_h_file): Remove.
5502
5503         * c-common.c: Include tree-inline.h.
5504         (builtin_define_with_int_value): New.
5505         (builtin_define_type_precision): Use it.
5506         (builtin_define_float_constants): New.
5507         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
5508         __FLT_EVAL_METHOD__.
5509         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
5510         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
5511         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
5512         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
5513         (TARGET_FLT_EVAL_METHOD): New.
5514
5515         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
5516         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
5517         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
5518         * ginclude/float.h: New.
5519
5520 2002-09-03  Stan Shebs  <shebs@apple.com>
5521
5522         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
5523         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
5524         (PREFERRED_DEBUGGING_TYPE): Ditto.
5525         (ASM_OUTPUT_IDENT): Remove empty definition.
5526
5527 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
5528
5529         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
5530         cxx_target.
5531         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
5532         handling routine for builtin pragma.
5533         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
5534         Registered pragma handling routine.
5535         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
5536         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
5537         If builtin pragma seen for math routine and C89 conformance is
5538         requested use different math function in order to set errno.
5539         * t-ia64 (ia64-c.o): Add new rule for new file.
5540
5541 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
5542
5543         * config/s390/s390.md ("movti"): Add Q->Q alternative.
5544         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
5545         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
5546
5547         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
5548         "*movsf_ss"): Remove.
5549
5550 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5551
5552         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
5553         Delete macros.
5554
5555 2002-09-03   Arati Dikey  <aratid@kpit.com>
5556
5557         * h8300.c (asm_file_start): Corrected optimization comment.
5558
5559 2002-09-03  Stan Shebs  <shebs@apple.com>
5560
5561         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
5562         * c-tree.h (recognize_objc_keyword): Remove decl.
5563         * c-typeck.c (comp_target_types): Update a comment.
5564
5565 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
5566
5567         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
5568         and register validity checks.
5569         (general_s_operand): Adapt to s390_decompose_address interface change.
5570         (q_constraint): Likewise.
5571         (s390_expand_plus_operand): Likewise.
5572         (legitimiate_address_p): Likewise.
5573         (legitimate_la_operand_p): Likewise.
5574         (legitimize_la_operand): Likewise.
5575         (print_operand_address): Likewise.
5576         (print_operand): Likewise.
5577
5578 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5579
5580         PR objc/5956:
5581         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
5582         was causing the new selector never to match the existing ones
5583         (Patch by Alexander Malmberg <alexander@malmberg.org>).
5584
5585 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
5586
5587         * config/i386/i386.md ("femms"): Add "memory" attr "none".
5588
5589 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
5590
5591         * expr.c (expand_expr): Remove extraneous comment and code.
5592
5593 2002-08-31  Richard Henderson  <rth@redhat.com>
5594
5595         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
5596
5597 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5598
5599         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
5600
5601 2002-08-30  Richard Henderson  <rth@redhat.com>
5602
5603         PR opt/7515
5604         * c-objc-common.c: Include target.h.
5605         (c_cannot_inline_tree_fn): Don't auto-inline functions that
5606         don't bind locally.  Factor setting DECL_UNINLINABLE.
5607         * Makefile.in (c-objc-common.o): Update.
5608
5609 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
5610
5611         * doc/install.texi (Configuration, Building): Fix a typo and
5612         some formatting directives.
5613
5614 2002-08-30  Paul Koning <pkoning@equallogic.com>
5615
5616         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
5617         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
5618         implemented" note.
5619         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
5620         for alphabetic order.
5621         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
5622         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
5623         (VAX_HALFWORD_ORDER): Document.
5624         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
5625         IEEE float format.
5626         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
5627         (ASM_OUTPUT_LABEL_REF): Fix font.
5628         (CASE_VECTOR_SHORTEN_MODE): Ditto.
5629
5630 2002-08-30  Denis Chertykov  <denisc@overta.ru>
5631
5632         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
5633         stuff.
5634         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
5635         CONST_DOUBLE constants.
5636
5637 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
5638
5639         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
5640         related defines to...
5641         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
5642         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
5643         as a no-op.
5644
5645 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
5646
5647         * config/arm/arm.c (arm_asm_output_labelref): New function.
5648         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
5649         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
5650
5651 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
5652
5653         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
5654         memory exhausted" workarounds.
5655
5656 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5657
5658         * diagnostic.c (fancy_abort): Don't repeat "internal error".
5659         * toplev.c (crash_signal): Likewise.
5660
5661 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5662
5663         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
5664         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
5665         Extended, updated documentation.
5666         (-Wundeclared-selector): Documented.
5667
5668 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
5669
5670         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
5671         the value 1.  Do not undef before defining.
5672         * config/darwin.h: Likewise.
5673         * config/dbx.h: Likewise.
5674         * config/dbxcoff.h: Likewise.
5675         * config/dbxelf.h: Likewise.
5676         * config/elfos.h: Likewise.
5677         * config/interix.h: Likewise.
5678         * config/lynx-ng.h: Likewise.
5679         * config/lynx.h: Likewise.
5680         * config/netware.h: Likewise.
5681         * config/psos.h: Likewise.
5682         * config/svr3.h: Likewise.
5683         * config/alpha/alpha.h: Likewise.
5684         * config/alpha/elf.h: Likewise.
5685         * config/alpha/vms.h: Likewise.
5686         * config/arc/arc.h: Likewise.
5687         * config/arm/aout.h: Likewise.
5688         * config/arm/coff.h: Likewise.
5689         * config/c4x/c4x.h: Likewise.
5690         * config/h8300/h8300.h: Likewise.
5691         * config/i386/cygwin.h: Likewise.
5692         * config/i386/djgpp.h: Likewise.
5693         * config/i386/gas.h: Likewise.
5694         * config/i386/gstabs.h: Likewise.
5695         * config/i386/i386-coff.h: Likewise.
5696         * config/i386/i386-interix.h: Likewise.
5697         * config/i386/sco5.h: Likewise.
5698         * config/i386/svr3dbx.h: Likewise.
5699         * config/i386/sysv3.h: Likewise.
5700         * config/i386/win32.h: Likewise.
5701         * config/i386/x86-64.h: Likewise.
5702         * config/i960/i960.h: Likewise.
5703         * config/ia64/ia64.h: Likewise.
5704         * config/ip2k/ip2k.h: Likewise.
5705         * config/m32r/m32r.h: Likewise.
5706         * config/m68k/3b1.h: Likewise.
5707         * config/m68k/3b1g.h: Likewise.
5708         * config/m68k/ccur-GAS.h: Likewise.
5709         * config/m68k/coff.h: Likewise.
5710         * config/m68k/hp2bsd.h: Likewise.
5711         * config/m68k/hp310g.h: Likewise.
5712         * config/m68k/hp320g.h: Likewise.
5713         * config/m68k/hp3bsd.h: Likewise.
5714         * config/m68k/hp3bsd44.h: Likewise.
5715         * config/m68k/linux-aout.h: Likewise.
5716         * config/m68k/m68k-aout.h: Likewise.
5717         * config/m68k/mot3300.h: Likewise.
5718         * config/m68k/netbsd.h: Likewise.
5719         * config/m68k/openbsd.h: Likewise.
5720         * config/m68k/pbb.h: Likewise.
5721         * config/m68k/plexus.h: Likewise.
5722         * config/m68k/sun2.h: Likewise.
5723         * config/m68k/sun3.h: Likewise.
5724         * config/m68k/tower-as.h: Likewise.
5725         * config/m68k/vxm68k.h: Likewise.
5726         * config/m88k/aout-dbx.h: Likewise.
5727         * config/m88k/m88k-aout.h: Likewise.
5728         * config/mcore/mcore-elf.h: Likewise.
5729         * config/mcore/mcore-pe.h: Likewise.
5730         * config/mips/elf.h: Likewise.
5731         * config/mips/elf64.h: Likewise.
5732         * config/mips/iris5gas.h: Likewise.
5733         * config/mips/iris6.h: Likewise.
5734         * config/mips/mips.h: Likewise.
5735         * config/mips/sni-gas.h: Likewise.
5736         * config/mmix/mmix.h: Likewise.
5737         * config/ns32k/netbsd.h: Likewise.
5738         * config/pa/pa64-hpux.h: Likewise.
5739         * config/romp/romp.h: Likewise.
5740         * config/rs6000/sysv4.h: Likewise.
5741         * config/rs6000/xcoff.h: Likewise.
5742         * config/sh/coff.h: Likewise.
5743         * config/sh/elf.h: Likewise.
5744         * config/sparc/linux64.h: Likewise.
5745         * config/sparc/liteelf.h: Likewise.
5746         * config/sparc/netbsd.h: Likewise.
5747         * config/sparc/openbsd.h: Likewise.
5748         * config/sparc/pbd.h: Likewise.
5749         * config/sparc/sp64-elf.h: Likewise.
5750         * config/sparc/sp86x-elf.h: Likewise.
5751         * config/sparc/sparc.h: Likewise.
5752         * config/vax/vax.h: Likewise.
5753         * config/vax/vaxv.h: Likewise.
5754
5755 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
5756
5757         * h8300.c (shift_alg_hi): Various tweaks to improve performance
5758         of HImode shifts.
5759         (get_shift_alg): Corresponding changes.
5760
5761 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5762
5763         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
5764
5765 2002-08-29  Richard Henderson  <rth@redhat.com>
5766
5767         * expr.h (enum block_op_methods): New.
5768         (emit_block_move): Update prototype.
5769         * expr.c (block_move_libcall_safe_for_call_parm): New.
5770         (emit_block_move_via_loop): New.
5771         (emit_block_move): Use them.  New argument METHOD.
5772         (emit_push_insn): Always respect the given alignment.
5773         (expand_assignment): Update call to emit_block_move.
5774         (store_expr, store_field, expand_expr): Likewise.
5775         * builtins.c (expand_builtin_apply): Likewise.
5776         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5777         * function.c (expand_function_end): Likewise.
5778         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
5779         * config/sparc/sparc.c (sparc_va_arg): Likewise.
5780         * calls.c (expand_call, emit_library_call_value_1): Likewise.
5781         (save_fixed_argument_area): Use emit_block_move with
5782         BLOCK_OP_CALL_PARM instead of move_by_pieces.
5783         (restore_fixed_argument_area): Likewise.
5784         (store_one_arg): Fix alignment parameter to emit_push_insn.
5785
5786 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5787
5788         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
5789
5790 2002-08-29  Catherine Moore  <clm@redhat.com>
5791
5792         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
5793         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
5794         (PREDICATE_CODES): Include new predicates.
5795         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
5796         (TARGET_SWITCHES):  Add strict-align.
5797         (TARGET_STRICT_ALIGN): New.
5798         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
5799         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
5800         Define.
5801         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
5802         v850_muldi3.
5803         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
5804         L_callt_save_r2_r31, L_return_r2_r31,
5805         L_save_all_interrupt): Change addi to add.
5806         (L_save_interrupt, L_return_interrupt): Rework.
5807         (__return_r31):  Correct .size directive.
5808         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
5809         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
5810         New routines.
5811         * config/v850/v850.c (expand_prologue): Call
5812         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
5813         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
5814         (reg_or_int9_operand): New predicate.
5815         (reg_or_const_operand): New routine.
5816         * config/v850/v850.md (return_interrupt): Changed from
5817         restore_interrupt.
5818         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
5819         (callt_save_interrupt): Change save sequence.
5820         (callt_return_interrupt): New.
5821         (save_interrupt): Don't use runtime function for LONG_CALLS
5822         and TARGET_PROLOG_FUNCTION.
5823         (save_all_interrupt): Likewise.
5824         (mulsi3): Use new predicate.
5825         (moviscc): Disallow some combination of constants.
5826         Fix define_split for sasf insns, so that it will not generate bad
5827         code if operand0 and operand5 are the same.
5828         * config/v850/v850-protos.h: Prototype new predicates.
5829
5830 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5831
5832         * c-common.c (builtin_define_type_precision): New function.
5833         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
5834         wchar_t is unsigned in C++.
5835         * doc/cpp.texi (Common Predefined Macros): Document
5836         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
5837         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
5838         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
5839
5840 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
5841
5842         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
5843         section.  Mention that it is enabled by -Wall.
5844         (-Wall): Mention that there can be language-specific warnings as well.
5845         (-Wctor-dtor-privacy): Mention that it is enabled by default.
5846         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
5847
5848 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
5849
5850         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
5851         if it is ever live.
5852
5853         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
5854         attribute for SHCOMPACT.
5855
5856         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
5857         appropriately.
5858         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
5859         by the ABI.
5860
5861         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
5862
5863 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
5864
5865         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
5866         "MASK_GAS|MASK_ABICALLS".
5867         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
5868         (TARGET_DEFAULT): Remove.
5869         (MACHINE_TYPE): Undefine before defining.
5870         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
5871
5872 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
5873
5874         * c-common.c (warn_abi): New variable.
5875         * c-common.h (warn_abi): Likewise.
5876         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
5877         (c_common_decode_option): Handle it.
5878         * doc/invoke.texi: Document -Wabi.
5879
5880 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
5881
5882         * c-common.c (warn_undeclared_selector): New variable.
5883         * c-common.h (warn_undeclared_selector): Idem.
5884         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
5885         to on when -Wundeclared-selector is found.
5886         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
5887         * objc/objc-act.c (build_selector_expr): If
5888         warn_undeclared_selector is set, check that the selector has
5889         already been defined, and emit a warning if not.
5890
5891 2002-08-27  Nick Clifton  <nickc@redhat.com>
5892             Catherine Moore  <clm@redhat.com>
5893             Jim Wilson  <wilson@cygnus.com>
5894
5895         * config.gcc: Add v850e-*-* target.
5896         Add --with-cpu= support for v850.
5897         * config/v850/lib1funcs.asm: Add v850e callt functions.
5898         * config/v850/v850.h: Add support for v850e target.
5899         * config/v850/v850.c: Add functions to support v850e target.
5900         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
5901         * config/v850/v850.md: Add patterns for v850e instructions.
5902         * doc/invoke.texi: Document new v850e command line switches.
5903
5904 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
5905                           Aldy Hernandez <aldyh at redhat dot com>
5906
5907         * doc/tm.texi: Applied numerous fixes to the automaton based
5908         scheduler descrition.
5909
5910 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
5911
5912         * i386.c (classify_argument): Handle variable sized objects.
5913
5914 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
5915
5916         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
5917
5918 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
5919
5920         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
5921
5922 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
5923
5924         * i386.c (classify_argument): Properly compute word size of the analyzed object.
5925
5926 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
5927
5928         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
5929         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
5930         accordingly.
5931         (attribute insn_class): Provide default definitions based on type.
5932         Remove all insn-specific settings.
5933         (various function units): Remove old SH4 scheduling.
5934         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
5935         New attributes.  Set them where appropriate.
5936         (cpu unit FS): Don't define / use.
5937         (F3, load_store): New cpu units.
5938         (F01): New reservation.
5939         (all insn_reservations): Make dependent on sh4 pipeline model.
5940         Fix latencies.
5941         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
5942         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
5943         (mt insn_reservation): Use type mt_group.
5944         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
5945         sh4_fload and sh4_store.
5946         (insn_reservation branch_zero and branch): Replace with sh4_branch.
5947         (insn_reservation branch_far): Replace with sh4_return.
5948         (insn_reservation return_from_exp): Rename to:
5949         (sh4_return_from_exp).  Change to be just d_lock*5.
5950         (insn_reservation lds_to_pr): Rename to:
5951         (sh4_lds_to_pr).  Change to be just d_lock*2.
5952         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
5953         d_lock*2.
5954         (insn_reservation prload_mem): Rename to:
5955         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
5956         (insn_reservation fpscr_store): Rename to:
5957         (fpscr_load).  Change to d_lock,nothing,F1*3.
5958         (insn_reservation fpscr_store_mem): Rename to:
5959         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
5960         (insn_reservation multi): Change to
5961         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
5962         (insn_reservation fp_arith): Change to issue,F01,F2.
5963         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
5964         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
5965         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
5966         (insn_reservation fp_double_cmp): Change to
5967         d_lock,(d_lock+F01),F1+F2,F2.
5968         (insn_reservation dp_div): Change to
5969         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
5970         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
5971         (sh_adjust_cost, SHcompact): Differentiate between different
5972         kinds of dependencies.  Drop factor of ten for superscalar.
5973         Use new instruction types.  Add new exception rules.
5974
5975         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
5976
5977         * sh.md (mperm_w): Add DONE.
5978
5979 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
5980
5981         * longlong.h: Import current PowerPC defintion from GMP-4.1.
5982
5983         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
5984
5985         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
5986
5987 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
5988
5989         * sh.h (MAX_FIXED_MODE_SIZE): Define.
5990
5991 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
5992
5993         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
5994         delimiter.
5995
5996 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
5997
5998         * c-common.c (cpp_define_data_format): New function.
5999         (cb_register_builtins): Call it.
6000
6001         * doc/cpp.texi (Common Predefined Macros): Document
6002         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
6003         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
6004         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
6005         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
6006         __TARGET_USES_VAX_H_FLOAT__.
6007
6008 2002-08-26  Ziemowit Laski <zlaski@apple.com>
6009
6010         * objc/objc-act.c (get_super_receiver): If inside a class method
6011         of a category, cast the receiver to 'id' before accessing the 'isa'
6012         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
6013
6014 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
6015
6016         * config/s390/s390-protos.h (s390_function_prologue,
6017         s390_function_epilogue): Remove.
6018         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
6019         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
6020
6021         config/s390/s390.c (s390_machine_dependent_recorg): New function.
6022         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
6023         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
6024         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
6025         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
6026
6027         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
6028         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
6029         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
6030         function is not a leaf function.  Use save_gprs and restore_gprs.
6031         (s390_emit_epilogue): Likewise.
6032         (save_gprs, restore_gprs): New functions.
6033         (struct s390_frame): Remove return_reg_saved_p member.
6034         (save_fprs_p): Remove.
6035         (s390_optimize_prolog): New function.
6036         (s390_legitimate_reload_constant): Remove now unnecessary check.
6037
6038         (s390_function_count): Remove.
6039         (s390_output_symbolic_const): Replace s390_function_count by
6040         current_function_funcdef_no.
6041         (s390_output_constant_pool): Likewise.
6042
6043         (legitimize_pic_address): Use regs_ever_live to track PIC register
6044         instead of current_function_uses_pic_offset_table.
6045         (s390_emit_prologue): Likewise.
6046         config/s390/s390.md ("call", "call_value"): Likewise.
6047
6048 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
6049
6050         * c-opts.c (find_opt): Don't complain about wrong languages
6051         here.  Return exact matches even for wrong language.
6052         (c_common_decode_option): Complain about wrong languages
6053         here.
6054
6055 2002-08-24  Stuart Hastings  <stuart@apple.com>
6056
6057         * function.h (struct function): Add flag
6058         all_throwers_are_sibcalls.
6059         * except.c (set_nothrow_function_flags): Replaces
6060         nothrow_function_p. Set new flag.
6061         * except.h (set_nothrow_function_flags): Replaces
6062         nothrow_function_p.
6063         * dwarf2out.c (struct dw_fde_struct): Add flag
6064         all_throwers_are_sibcalls.
6065         (output_call_frame_info): Test it.
6066         (dwarf2out_begin_prologue) Propagate it from cfun to
6067         dw_fde_struct.
6068         * toplev.c (rest_of_compilation): Update calls to
6069         nothrow_function_p.
6070
6071 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
6072
6073         * ggc-page.c (compute_inverse): Short circuit calculation for
6074         object sizes larger than half a page.
6075
6076 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
6077
6078         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
6079         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
6080         default.
6081         (rs6000_elf_unique_section): Likewise.
6082
6083 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6084
6085         * ns32k.c (ns32k_globalize_label): Delete.
6086         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
6087
6088 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
6089
6090         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
6091         for loading delta with num_insns_constant_wide.  Calculate
6092         delta_low, delta_high without using a conditional.
6093
6094 2002-08-22  Jason Merrill  <jason@redhat.com>
6095
6096         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
6097         * c-common.def: Adjust.
6098         * c-dump.c (c_dump_tree): Adjust.
6099         * c-semantics.c (genrtl_return_stmt): Adjust.
6100         * c-pretty-print.c (pp_c_statement): Adjust.
6101         * tree-inline.c (copy_body_r): Adjust.
6102
6103 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
6104
6105         * ggc-page.c: Avoid division in ggc_set_mark.
6106         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
6107         compute_inverse): New.
6108         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
6109         (init_ggc): Initialize inverse_table.
6110
6111 2002-08-22  Tom Tromey  <tromey@redhat.com>
6112
6113         * doc/install.texi (Configuration): Document --datadir.
6114
6115 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
6116
6117         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
6118
6119 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
6120
6121         * gengtype-lex.l (ID): Allow underscore as first character.
6122
6123 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
6124
6125         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
6126         function.
6127         (rs6000_xcoff_asm_named_section): Rename.
6128         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
6129
6130 2002-08-21  Tom Tromey  <tromey@redhat.com>
6131
6132         For PR java/6005 and PR java/7611:
6133         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
6134         (fold): Likewise.
6135         * langhooks.c (lhd_can_use_bit_fields_p): New function.
6136         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
6137         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
6138         (LANG_HOOKS_INITIALIZER): Use it.
6139         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
6140         field.
6141
6142 2002-08-21  Stan Shebs  <shebs@apple.com>
6143
6144         * tree.c (finish_vector_type): Fix a typo in a comment.
6145         * Makefile.in: Fix "the the" stutters in comments.
6146         * genautomata.c: Ditto.
6147         * ifcvt.c: Ditto.
6148         * regrename.c: Ditto.
6149         * config/alpha/alpha.c: Ditto.
6150         * config/alpha/vms-crt0-64.c: Ditto.
6151         * config/alpha/vms-crt0.c: Ditto.
6152         * config/alpha/vms-psxcrt0-64.c: Ditto.
6153         * config/alpha/vms-psxcrt0.c: Ditto.
6154         * config/d30v/d30v.h: Ditto.
6155         * config/fr30/fr30.h: Ditto.
6156         * config/rs6000/rs6000.c: Ditto.
6157         * config/stormy16/stormy16.h: Ditto.
6158         * doc/md.texi: Ditto.
6159
6160 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6161
6162         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
6163
6164 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
6165
6166         * c-decl.c (grokdeclarator): Make invalid combinations with long,
6167         short, signed or unsigned into hard errors.  Fixes PR c/4319.
6168         Also make duplicate modifiers such as "short short" into hard
6169         errors.
6170
6171 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
6172             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6173
6174         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
6175         to the actual end.  Add '@end table' and '@table @code'.
6176
6177 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
6178
6179         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
6180
6181         * unroll.c (biv_total_increment): Don't try to compute the total
6182         increment for FP BIVs.
6183
6184 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6185
6186         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
6187         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
6188         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6189         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
6190         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
6191         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
6192         (GLOBAL_ASM_OP): Define.
6193         * arm.c (aof_globalize_label): New function.
6194         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
6195         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6196         * c4x.c (c4x_globalize_label): New function.
6197         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
6198         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
6199         (GLOBAL_ASM_OP): Define.
6200         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
6201         * darwin-protos.h (darwin_globalize_label): Declare.
6202         * darwin.c (darwin_globalize_label): New function.
6203         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
6204         (ASM_GLOBALIZE_LABEL): Delete.
6205         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
6206         * dsp16xx.c (asm_output_common): Use target hook.
6207         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6208         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
6209         (GLOBAL_ASM_OP): Define.
6210         * i370.c (i370_globalize_label): New function.
6211         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
6212         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
6213         * i386.c (ix86_asm_file_end): Use target hook.
6214         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
6215         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
6216         * ia64.c (ia64_asm_output_external): Likewise.
6217         * ia64/sysv4.h: Update comment.
6218         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6219         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
6220         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
6221         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
6222         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
6223         * mmix-protos.h (mmix_asm_globalize_label): Delete.
6224         * mmix.c (mmix_asm_globalize_label): Likewise.
6225         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
6226         (GLOBAL_ASM_OP): Define.
6227         * ns32k.c (ns32k_globalize_label): New function.
6228         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
6229         (ASM_GLOBALIZE_LABEL): Delete.
6230         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
6231         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
6232         * pa.c (pa_globalize_label): New function.
6233         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
6234         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
6235         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
6236         (GLOBAL_ASM_OP): Define.
6237         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
6238         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
6239         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
6240         (GLOBAL_ASM_OP): Define.
6241         * v850.c (v850_output_aligned_bss): Use target hook.
6242         * vax.c (vms_globalize_label): New function.
6243         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
6244         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
6245         (GLOBAL_ASM_OP): Define.
6246         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
6247         * doc/tm.texi: Update docs.
6248         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
6249         target hook.
6250         * final.c (output_alternate_entry_point): Likewise.
6251         * hooks.c (hook_FILEptr_constcharptr_void): New function.
6252         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
6253         * output.h (assemble_global): Delete.
6254         (default_globalize_label): Declare.
6255         * system.h (ASM_GLOBALIZE_LABEL): Poison.
6256         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
6257         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
6258         * target.h (gcc_target): Add globalize_label member.
6259         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6260         globalize_decl): Use target hook.
6261         (assemble_global): Delete.
6262         (default_globalize_label): New function.
6263
6264 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6265
6266         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
6267
6268 2002-08-20  Devang Patel  <dpatel@apple.com>
6269         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
6270
6271 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6272
6273         * arc.c (output_shift): Use stdio instead of asm_fprintf.
6274         * arm.c (thumb_output_function_prologue): Likewise.
6275         * avr.c (print_operand): Likewise.
6276         * c4x.c (c4x_print_operand): Likewise.
6277         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
6278         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
6279         * cris.c (cris_target_asm_function_prologue,
6280         cris_asm_output_mi_thunk): Likewise.
6281         * h8300.c (print_operand): Likewise.
6282         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6283         * ip2k.c (print_operand): Likewise.  Fix format specifier.
6284         * m68hc11.c (asm_print_register, print_operand,
6285         print_operand_address): Use stdio instead of asm_fprintf.
6286         (print_operand_address): Fix format specifier.
6287         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
6288         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
6289         asm_fprintf.
6290         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6291         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6292         * m68k.c (m68k_output_function_prologue,
6293         m68k_output_function_epilogue, print_operand): Likewise.
6294         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
6295         Likewise.  Fix format specifier.
6296         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6297         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6298         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
6299
6300 2002-08-15  Eric Christopher  <echristo@redhat.com>
6301             Jeff Knaggs  <jknaggs@redhat.com>
6302
6303         * config.gcc (mipsisa64sr71k-elf): New target.
6304         * config/mips/sr71k.md: New file.
6305         * config/mips/mips.md: Use it.
6306         (rot*): Add sr71k specifics.
6307         * config/mips/t-sr71k: New file.
6308         * config/mips/mips.h (sr71k): New cpu.
6309         (TARGET_SR71K): Use it.
6310         (TUNE_SR71K): Ditto.
6311         (GENERATE_BRANCHLIKELY): Ditto.
6312         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
6313         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
6314         * config/mips/mips.c (sr71k): New cpu.
6315         (mips_use_dfa_pipeline_interface): Use.
6316
6317 2002-08-15  Eric Christopher  <echristo@redhat.com>
6318             Richard Sandiford <rsandifo@redhat.com>
6319             Aldy Hernandez  <aldyh@redhat.com>
6320             Graham Stott    <grahams@redhat.com>
6321             Michael Meissner  <meissner@redhat.com>
6322             Gavin Romig-Koch  <gavin@redhat.com>
6323             Ken Raeburn  <raeburn@cygnus.com>
6324             Alexandre Oliva <aoliva@redhat.com>
6325
6326         * config.gcc (mips64vr-elf): New target.
6327         * config/mips/5400.md: New file.
6328         * config/mips/5500.md: Ditto.
6329         * config/mips/mips.md: Use them.
6330         (frsqrt): New.
6331         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
6332         cpus.
6333         (mips_issue_rate): Use them.
6334         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
6335         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
6336         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
6337         cpus.
6338         (TARGET_MIPSx): Use them.
6339         (TUNE_MIPSx): Ditto.
6340         (GETNATE_MULT3_SI): Ditto.
6341         (ISA_HAS_BRANCHLIKELY): Ditto.
6342         (ISA_HAS_CONDMOVE): Ditto.
6343         (ISA_HAS_NMADD_NMSUB): Ditto.
6344         (ISA_HAS_MULHI): New. Ditto.
6345         (ISA_HAS_MULS): Ditto.
6346         (ISA_HAS_MSAC): Ditto.
6347         (ISA_HAS_MACC): Ditto.
6348         (ISA_HAS_ROTR_SI): Ditto.
6349         (ISA_HAS_ROTR_DI): Ditto.
6350         (RTX_COSTS): Use.
6351
6352 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6353
6354         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
6355         at head.
6356         (remove_dup_nonsys_dirs): New function.
6357         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
6358         (merge_include_chains): Remove non-system include directories from
6359         quote and bracket include chains when they duplicate equivalent system
6360         directories.
6361         * doc/cpp.texi (-I): Update.
6362         * doc/cppopts.texi (-I): Update.
6363         * doc/install.texi (--with-local-prefix): Further document usage of
6364         this option.
6365         * doc/invoke.texi (-I): Update.
6366
6367 2002-08-20  Richard Henderson  <rth@redhat.com>
6368
6369         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
6370         (emit_block_move): Split out subroutines.
6371         (emit_block_move_via_movstr): New.
6372         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
6373         (emit_block_move_libcall_fn): New.  Construct function prototype for
6374         bcopy as well.
6375         (clear_storage): Split out subroutines.
6376         (clear_storage_via_clrstr): New.
6377         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
6378         (clear_storage_libcall_fn): New.  Construct function prototype for
6379         bzero as well.
6380         (emit_push_insn): Use emit_block_move.
6381         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
6382         (store_constructor): Likewise.
6383
6384 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
6385
6386         * objc/objc-act.c (building_objc_message_expr): Rename to
6387         current_objc_message_selector.
6388
6389 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
6390
6391         * objc/objc-act.c (build_ivar_chain): Remove.
6392         (objc_copy_list): Likewise.
6393         (get_class_ivars): Inline call to removed build_ivar_chain
6394         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
6395         slot; use that slot (rather than CLASS_IVARS) when accessing
6396         ivars for base classes.  Call copy_list and chainon instead of
6397         objc_copy_list.
6398         (build_private_template): Call get_class_ivars instead of
6399         build_ivar_chain.
6400         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
6401         (continue_class): Call get_class_ivars instead of
6402         build_ivar_chain.
6403         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
6404         of DECL_BIT_FIELD (which may have been cleared).
6405         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
6406
6407 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6408
6409         * genautomata.c (output_translate_vect, output_state_ainsn_table,
6410         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
6411         in output file.
6412         (output_internal_min_issue_delay_func): Initialize variable in
6413         output file.
6414
6415 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
6416
6417         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
6418         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
6419
6420 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
6421             Steve Ellcey  <sje@cup.hp.com>
6422
6423         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
6424         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
6425         * explow.c (trunc_int_for_mode): Abort when the mode is not
6426         a scaler integer mode.
6427         * combine.c (expand_compound_operation): Don't expand Vector
6428         or Complex modes into shifts.
6429         (expand_field_assignment): Don't do bitwise arithmatic and
6430         shifts on Vector or Complex modes.
6431         (simplify_comparison): Don't call trunc_int_for_mode
6432         for VOIDmode.
6433         * recog.c (general_operand): Likewise.
6434         (immediate_operand): Likewise.
6435         (nonmemory_operand): Likewise.
6436
6437 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
6438
6439         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
6440         multi-instruction SImode constant.  Add REG_EQUAL note.
6441         * config/rs6000/rs6000.md (movsi splitter): Use
6442         rs6000_emit_set_const.
6443
6444 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6445
6446         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
6447         the macro test controlling its use.
6448
6449 2002-08-18  H.J. Lu  (hjl@gnu.org)
6450
6451         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
6452         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
6453         gnu_ld=yes.
6454         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
6455         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
6456         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
6457         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
6458         here.
6459         (cris-*-linux*): Remove setting thread_file here.
6460
6461 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
6462
6463         PR preprocessor/7602
6464         * cppinit.c (path_include): Treat the system environment
6465         variables as being cxx_aware.
6466
6467 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
6468
6469         * c-decl.c (flexible_array_type_p): New function.
6470         (grokdeclarator, finish_struct): Use it.
6471         * doc/extend.texi: Document constraints on use of structures with
6472         flexible array members.
6473
6474 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
6475
6476         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
6477         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
6478         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
6479
6480 2002-08-16  Stan Shebs  <shebs@apple.com>
6481
6482         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
6483         for ObjC with -fnext-runtime.
6484         * doc/cpp.texi: Document it.
6485
6486 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
6487
6488         * doc/install.texi (Final installation): Replace links to individual
6489         build status pages with a link to a common page that lists them all.
6490
6491 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
6492
6493         * doc/invoke.texi: Fix typo.
6494
6495 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
6496
6497         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
6498
6499 2002-08-16  Andrew Haley  <aph@redhat.com>
6500
6501         * tree-inline.c: Add includes for Java inliner.
6502         (remap_decl): Don't handle anonymous types for Java.
6503         (remap_block): Add handling for Java trees.
6504         (copy_scope_stmt): Conditionalize for non-Java use only.
6505         (copy_body_r): Handle Java trees.  Add handling for
6506         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
6507         (initialize_inlined_parameters):  Handle Java trees.
6508         (declare_return_variable): Likewise.
6509         (expand_call_inline): Handle Java trees.
6510         (walk_tree): Likewise.
6511         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
6512         (add_stmt_to_compound): New function.
6513
6514 2002-08-15  Richard Henderson  <rth@redhat.com>
6515
6516         * Makefile.in (LOOSE_WARN): Remove -fno-common.
6517         (NOCOMMON_FLAG): New substitution point.
6518         (GCC_WARN_CFLAGS): Include it.
6519         * configure.in (ac_checking): Set nocommon_flag.
6520         (nocommon_flag): New substitution point.
6521
6522 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
6523
6524         * c-tree.h (skip_evaluation): Move declaration...
6525         * c-common.h: ... here.
6526         * c-typeck.c (build_external_ref): Don't assemble_external nor
6527         mark a tree as used if skip_evaluation is set.
6528         * c-parse.in (typeof): New non-terminal to set skip_evaluation
6529         around TYPEOF.
6530         (typespec_nonreserved_nonattr): Use it.
6531
6532 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
6533
6534         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
6535         (xcoff_debug_hooks): Update end_prologue.
6536         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
6537         * debug.h (end_prologue): Add file arg.
6538         (end_epilogue): Add line and file args.
6539         (dwarf2out_end_epilogue): Add line and file args.
6540         (vmsdbgout_after_prologue): Remove.
6541         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
6542         (dwarf2_debug_hooks): Update end_prologue.
6543         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
6544         (dwarfout_end_prologue): Add file arg.
6545         * final.c (vmsdbgout_after_prologue): Remove
6546         (final_end_function): Update end_epilogue call.
6547         (final_scan_insn): Update end_prologue call.
6548         * sdbout.c (sdbout_end_epilogue): Add line and file args.
6549         (sdbout_end_prologue): Add file arg.
6550         (sdb_debug_hooks): Update end_prologue.
6551         (sdb_begin_prologue): Update sdbout_end_prologue call.
6552         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
6553         vmsdbgout_end_function.
6554         (vmsdbgout_end_prologue): New function renamed from
6555         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
6556         (vmsdbgout_end_function): New function.
6557         (vmsdbgout_end_epilogue): Add line and file args. Call
6558         vmsdbgout_source_line.
6559         (write_pclines): Write only valid line numbers.
6560         (write_srccorr): Don't write source correlation records if 0 lines.
6561         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
6562
6563 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
6564
6565         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
6566         (_Unwind_Internal_Ptr): 32 bit version for use in
6567         read_encoded_value_with_base.
6568         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
6569         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
6570         right size.
6571
6572 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6573
6574         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
6575         signed/unsigned warnings.
6576
6577         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
6578         record_reg_classes): Likewise.
6579
6580         * reload.c (reload_inner_reg_of_subreg, push_reload,
6581         find_reloads_address_1): Likewise.
6582
6583 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
6584
6585         * rs6000.c (output_mi_thunk): Return to function section on
6586         TARGET_ELF.
6587
6588         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
6589
6590 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
6591
6592         * config/s390/s390.c (legitimize_address): Optimize loading
6593         of large displacements.
6594
6595 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
6596
6597         * config/alpha/alpha-protos.h: Update.
6598
6599         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
6600         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
6601         (alpha_linkage_symbol_p): New static function.
6602         (print_operand_address): Print linkage operand.
6603
6604         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
6605         variables.
6606         (reloc_kind): New enum.
6607         (struct alpha_funcs): New struct.
6608         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
6609
6610         (alpha_need_linkage): Rewrite.
6611         (alpha_use_linkage): New global function.
6612         (alpha_write_linkage): Rewrite and make static.
6613         (alpha_write_one_linkage): Rewrite
6614
6615         (alpha_start_function): Remove procedure descriptor output.
6616         (alpha_end_function): Write linkages at end of each function.
6617
6618         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
6619         (call_vms_1, call_value_vms_1): Rewrite.
6620
6621         * config/alpha/vms.h (ASM_FILE_END): Remove.
6622
6623 2002-08-14  Richard Henderson  <rth@redhat.com>
6624
6625         * ggc-page.c (RTL_SIZE): New.
6626         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
6627         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
6628
6629 2002-08-14  Richard Henderson  <rth@redhat.com>
6630
6631         * calls.c: Include target.h.
6632         * Makefile.in (calls.o): Update.
6633
6634         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
6635         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
6636
6637 2002-08-14  Richard Henderson  <rth@redhat.com>
6638
6639         * Makefile.in (LOOSE_WARN): Add -fno-common.
6640         * c-common.h (constant_string_class_name): Add missing extern.
6641
6642 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
6643
6644         PR preprocessor/7358
6645         * c-opts.c (check_deps_environment_vars): Ignore main file
6646         for SUNPRO_DEPENDENCIES.
6647         * cppfiles.c (stack_include_file): Ignore main file if
6648         appropriate.
6649         * cpplib.h (struct cpp_options): New member in deps.
6650         * doc/cppenv.texi: Update.
6651
6652 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6653
6654         PR preprocessor/7526
6655         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
6656
6657 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
6658
6659         * doc/invoke.texi (-a): Remove documentation.
6660         (-fprofile-arcs): Remove reference to -a, -ax options.
6661         * doc/gcov.texi (Gcov Data Files): Data might be merged.
6662
6663 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6664
6665         Fix PR/7566
6666         * c-semantics.c (genrtl_case_label): Don't (mis)use
6667         warning_with_decl.
6668
6669 2002-08-14  Dale Johannesen  <dalej@apple.com>
6670
6671         * explow.c (emit_stack_restore):  Emit memory clobbers
6672         preceding the stack pop, to prevent the scheduler from
6673         moving refs to variable arrays below this pop.
6674         * reload1.c (reload):  Preserve these clobbers for sched2.
6675         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
6676
6677 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6678
6679         * c-opts.c (c_common_post_options): Correct test.
6680
6681 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6682
6683         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
6684         order in call to fprintf.
6685
6686 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6687
6688         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
6689
6690 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
6691
6692         * reload.c (find_reloads): Handle constraint letters marked by
6693         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
6694         (alternative_allows_memconst): Likewise.
6695         * reload1.c (maybe_fix_stack_asms): Likewise.
6696         * recog.c (asm_operand_ok, preprocess_constraints,
6697         constrain_operands): Likewise.
6698         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
6699         * local-alloc.c (block_alloc, requires_inout): Likewise.
6700         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
6701
6702         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
6703         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
6704         * doc/tm.texi: Document these two new target macros.
6705
6706         * config/s390/s390.c (s390_expand_plus_operand): Accept already
6707         valid operands.
6708         (q_constraint): New function.
6709         config/s390/s390-protos.h (q_constraint): Declare it.
6710         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
6711         (EXTRA_MEMORY_CONSTRAINT): New macro.
6712
6713         * config/s390/s390.md: Throughout the machine description,
6714         replace all instances of the constraint combinations 'Qo'
6715         or 'oQ' with simply 'Q'.
6716
6717 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6718
6719         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
6720         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
6721         (LIBGCC2_CFLAGS): Compile with -mrelax.
6722
6723 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6724
6725         * doc/invoke.texi: Document -minmax for 68HC12.
6726
6727         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
6728         ("uminqi3"): Likewise.
6729         ("uminhi3", "umaxhi3"): Likewise.
6730
6731         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
6732         (TARGET_MIN_MAX): Define.
6733         (TARGET_SWITCHES): New option -minmax/-mnominmax.
6734
6735 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6736
6737         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
6738         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
6739
6740         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
6741         (ret, declare, farsym): New gas macros.
6742         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
6743         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
6744         and declare the symbol far when compiled with -mlong-calls.
6745         (__far_trampoline): New for 68HC12 trampoline code to invoke a
6746         far handler using jsr/bsr.
6747
6748         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
6749         (jsr): New macro to transform a 'jsr' into a 'call'.
6750
6751 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
6752
6753         * doc/invoke.texi: Document -mlong-calls for 68HC12.
6754
6755         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
6756         -mlong-calls is specified.
6757         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
6758         assembler directives.
6759         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
6760         (TARGET_SWITCHES): Add -mlong-calls options.
6761         (current_function_far): Declare.
6762
6763         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
6764         into account the page register saved on the stack.
6765         (m68hc11_override_options): Take into account -mlong-calls option.
6766         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
6767
6768         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
6769         if the function is going to be in 68HC12 banked memory (-mlong-calls).
6770         ("*return_16bit"): Likewise.
6771         ("*return_void"): Likewise.
6772         ("call", "call_value"): Use call for a far function call.
6773
6774 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
6775
6776         * toplev.c (parse_options_and_default_flags): Don't call
6777         post_options here.
6778         (general_init): Initialize GC, pools and tree hash here,
6779         instead of lang_independent_init.
6780         (lang_independent_init): Rename backend_init.
6781         (do_compile): Call post_options hook; exit early if there
6782         have been errors after switch processing.
6783         (toplev_main): Update.
6784
6785 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6786
6787         * c-pretty-print.h: Guard against multiple inclusion.
6788         Robustify macros.
6789         (pp_c_attributes): Declare.
6790         * c-pretty-print.c (pp_c_attributes): New function.
6791
6792 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6793
6794         * m68k.c (m68k_output_function_prologue,
6795         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
6796         and NEWS/MOTOROLA.
6797         * genattrtab.c: Remove dpx2 comment.
6798         * libgcc2.c (__enable_execute_stack): Delete versions for
6799         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
6800         sony_news/SYSTYPE_BSD.
6801         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
6802         __gmicro__, __i860__, __NeXT__ and __pyr__.
6803         * rtl.h: Remove convex comment.
6804         * varasm.c: Likewise.
6805
6806 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6807
6808         * c-opts.c (lang_flags): Const-ify.
6809         * ra-build.c (undef_table): Likewise.
6810         * ra.c (eliminables): Likewise.
6811
6812 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
6813
6814         * tree.h: Guard against multiple inclusion.
6815
6816 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
6817
6818         * reload1.c (reload_cse_simplify): Before checking
6819         REG_FUNCTION_VALUE_P, check REG_P.
6820
6821 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
6822
6823         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
6824
6825 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
6826
6827         * c-opts.c (c_common_init_options): Extra braces needed.
6828
6829 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
6830
6831         * sh.c (sh_init_builtins): Add PARAMS to declaration.
6832         (sh_media_init_builtins, sh_expand_builtin): Likewise.
6833         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
6834         (sh_expand_binop_v2sf): Likewise.
6835         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
6836         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
6837         (sh_initialize_trampoline): Likewise.
6838
6839 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
6840
6841         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
6842         new condition code modes.
6843         s390.c (s390_match_ccmode_set): Handle those new CC modes.
6844         (s390_select_ccmode): Likewise.
6845         (s390_branch_condition_mask): Likewise.
6846
6847         * s390-protos.h (s390_tm_ccmode): Declare.
6848         s390.c (s390_tm_ccmode): New function.
6849         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
6850
6851         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
6852         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
6853         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
6854
6855         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
6856         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
6857         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
6858         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
6859         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
6860
6861         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
6862         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
6863         "*cmpqi_ccs_0"): Remove, replace by ...
6864         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
6865         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
6866         "*tstqi", "*tstqi_cconly"): ... these new patterns.
6867
6868         ("*cmpsidi_ccs"): Remove, replace by ...
6869         ("*cmpsi_ccs_sign"): ... this new pattern.
6870         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
6871
6872         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
6873         ("*cli"): ... this new pattern.
6874
6875         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
6876         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
6877         New patterns.
6878         ("adddi3_64"): Rename to "*adddi3_64".
6879         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
6880         ("adddi3"): Adapt expander.
6881
6882         ("*addsi3_cc"): Allow "general_operand" for operand 2.
6883         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
6884         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
6885
6886         ("addhi3", "addqi3"): Remove, replace by ...
6887         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
6888
6889         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
6890         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
6891         ("subdi3"): Replace by insn and splitter "*subdi3_31".
6892         ("subdi3"): New expander.
6893
6894         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
6895
6896         ("subhi3", "subqi3"): Remove, replace by ...
6897         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
6898
6899         ("*muldi3_sign"): New pattern.
6900         ("muldi3"): Do not clobber CC.
6901         ("mulsi3"): Likewise.
6902         ("mulsi_6432"): Likewise.
6903
6904 2002-08-13  Denis Chertykov  <denisc@overta.ru>
6905
6906         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
6907         which can change CC0.
6908
6909 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
6910
6911         * gcse.c (adjust_libcall_notes): New function.
6912         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
6913
6914 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
6915
6916         * libgcc2.c (L_bb): Remove unneeded #includes.
6917         (__global_counters, __gthreads_active): Remove unused globals.
6918         (__bb_exit_func): Merge counts into files rather than appending.
6919         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
6920         (ALL_CFLAGS): ... to here.
6921
6922 2002-08-13  Denis Chertykov  <denisc@overta.ru>
6923
6924         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
6925         (function_epilogue): Don't calculate function size.
6926         (ip2k_set_compare): Don't use lookup_const_double.
6927         (asm_file_start): Initialization of commands_in_file removed.
6928         (asm_file_end): Output of commands_in_file removed.
6929
6930         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
6931         __INT_MAX__.
6932
6933 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
6934
6935         * c-opts.c (c_common_init_options): Check option array is
6936         sorted if checking enabled.
6937
6938 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
6939
6940         * c-pretty-print.c: #include "c-tree.h".
6941         (pp_c_simple_type_specifier): Tweak.
6942         (pp_c_storage_class_specifier): New.
6943         (pp_c_function_specifier): Likewise.
6944         (pp_c_declaration_specifiers): Likewise.
6945         (pp_c_init_declarator): Likewise.
6946         (pp_c_declaration): Likewise.
6947         (pp_c_direct_declarator): Stub.
6948         (pp_c_declarator): Likewise.
6949         (pp_c_parameter_declaration): Likewise.
6950
6951 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
6952
6953         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
6954         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
6955         struct deferred_opt): New.
6956         (COMMAND_LINE_OPTIONS): Add -M*.
6957         (missing_arg): Update.
6958         (c_common_decode_option): Handle -M*.
6959         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
6960         don't call cpp_post_options.
6961         (c_common_finish, check_deps_environment_vars): Update.
6962         * cppfiles.c (stack_include_file, handle_missing_header): Update.
6963         * cpphash.h (CPP_PRINT_DEPS): Remove.
6964         * cppinit.c: Don't include version.h.
6965         (cpp_create_reader): Don't call deps_init.  Initialize
6966         warn_long_long.
6967         (cpp_read_main_file): Init deps if necessary.
6968         (cpp_destroy): Conditionally free deps.
6969         (cpp_finish): Update.
6970         (no_tgt): Remove.
6971         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
6972         (cpp_post_options): Rename post_options.
6973         * cpplib.h (struct cpp_options): Remove some dependency options;
6974         move others to a new structure.
6975         (cpp_post_options): Remove.
6976         (cpp_finish): Comment.
6977         * fix-header.c (read_scan_file): Don't call cpp_post_options.
6978
6979 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
6980
6981         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
6982         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
6983         MMIX_rR_REGNUM as clobbered.
6984         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
6985
6986 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
6987
6988         * diagnostic.h (output_formatted_scalar): Rename from
6989         output_formatted_integer.
6990         * diagnostic.def: Add DK_DEBUG.
6991         * diagnostic.c (output_decimal): Adjust.
6992         (output_long_decimal): Likewise.
6993         (output_unsigned_decimal): Likewise.
6994         (output_octal): Likewise.
6995         (output_long_octal): Likewise.
6996         (output_hexadecimal): Likewise.
6997         (output_long_hexadecimal): Likewise.
6998         * c-pretty-print.c (pp_c_type_specifier): New function.
6999         (pp_c_specifier_qualifier_list): Likewise.
7000         (pp_c_abstract_declarator): Likewise.
7001         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
7002
7003 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
7004
7005         * doc/trouble.texi (Disappointments): Add static constructor and
7006         destructor dependency information for AIX.
7007
7008 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
7009
7010         * cpphash.h (struct printer): New from cppmain.c.
7011         (cpp_reader): New member.
7012         * cppmain.c (struct printer): Move to cpphash.h.
7013         (options, print): Remove.
7014         (account_for_newlines, print_line, maybe_print_line,
7015         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
7016         scan_translation_unit_trad, cb_line_change, cb_ident,
7017         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
7018         cb_def_pragma): Make reentrant.
7019
7020 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7021
7022         * real.c (ieee_64): Always define.
7023         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
7024         (dec_h): Not used yet, hide it.
7025         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
7026         macro controlling use.
7027         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
7028
7029 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
7030
7031         * i386.md (tablejump): Sign extend the operand.
7032         * i386.c (classify_argument): Fix missed case from previous patch.
7033
7034 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
7035
7036         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
7037         to c-copts.c.
7038         (warn_multichar): Die.
7039         (cb_register_builtins): Export.
7040         * c-common.h (warn_multichar, preprocess_file): Remove.
7041         (cb_register_builtins): New.
7042         * c-lang.c (c_init): Remove.
7043         (LANG_HOOKS_INIT): Use c_objc_common_init.
7044         * c-lex.c (init_c_lex): Don't canonicalize filename.
7045         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
7046         (preprocess_file): Make static.  Update for cpplib.
7047         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
7048         (c_common_post_options): Set some cpp options here.
7049         (c_common_init): Move from c-common.c.
7050         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
7051         * cpplib.h (struct cpp_options): Remove in_fname.
7052         (cpp_preprocess_file): Update.
7053         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
7054
7055 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7056
7057         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
7058
7059 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7060
7061         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
7062         backslash in comment preceeding macro definition.
7063         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
7064         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
7065         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
7066
7067 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
7068
7069         * expr.c (store_expr): In condition for checking if value is
7070         generated in TARGET, move call to expr_size last.
7071
7072 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
7073
7074         * c-common.c (c_common_init): Call preprocess_file instead.
7075         (c_common_finish): Move to c-opts.c.
7076         * c-common.h (preprocess_file): new.
7077         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
7078         check_deps_environment_vars, c_common_finish): New.
7079         (c_common_decode_option): Update for out_fname and dependencies.
7080         * cppinit.c (init_dependency_output, output_deps): Remove.
7081         (cpp_destroy): Update prototype.
7082         (cpp_add_dependency_target): New.
7083         (cpp_read_main_file): Don't overlay a buffer.
7084         (cpp_finish): Take a deps output stream and write deps to it.
7085         Return the error count.
7086         (cpp_post_options): Don't canonicalize out_fname, or do anything
7087         with dependencies.
7088         * cpplib.h (struct cpp_options): Remove out_fname and
7089         preprocess_only.
7090         (cpp_add_dependency_target): New.
7091         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
7092         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
7093         set preprocess_only.  Don't handle the output stream directly.
7094
7095 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7096
7097         * dsp16xx.c (print_operand): Fix format specifier.
7098         * dsp16xx.md: Avoid automatic aggregate initialization.
7099         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
7100         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
7101         integer constant modifier.
7102         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
7103         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
7104         guards.
7105         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
7106         * v850.c (v850_select_section): Mark parameter with
7107         ATTRIBUTE_UNUSED.
7108         * global.c (global_alloc): Const-ify.
7109         * ra-colorize.c (hardregset_to_string): Fix format specifier.
7110
7111 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7112
7113         * darwin-c.c (darwin_pragma_options): Const-ify.
7114         * darwin.c (machopic_non_lazy_ptr_name,
7115         machopic_validate_stub_or_non_lazy_ptr): Likewise.
7116         (machopic_indirect_data_reference): Wrap variables in macros
7117         controlling their use.
7118         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
7119         (machopic_select_section): Use parentheses around && within ||.
7120         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
7121
7122 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7123
7124         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
7125         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
7126         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
7127         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
7128         mdr_try_remove_redundant_insns, track_w_reload,
7129         mdr_try_wreg_elim): Make function static to match prototype.
7130         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
7131         parameter with ATTRIBUTE_UNUSED.
7132
7133 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7134
7135         * arc.c (arc_init): Don't use ISO C style function definitions.
7136         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
7137         arm_get_strip_length, arm_strip_name_encoding): Likewise.
7138         * avr.h (progmem_section): Likewise.
7139         * h8300.c h8300_asm_insn_count): Likewise.
7140         * m32r.c (init_idents): Likewise.
7141         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
7142         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
7143         * xtensa.c (xtensa_build_va_list): Likewise.
7144
7145 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
7146
7147         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
7148         * c-opts.c (parse_option): Rename find_opt.
7149         (set_std_c99): New function.
7150         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
7151         (missing_arg): Remove OPT_std_bad.  Handle -o.
7152         (c_common_decode_option): Handle input and output file names,
7153         -o and -remap.  Clean up -std= handling.
7154         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
7155         (cpp_handle_option): Similarly.  Don't handle filenames.
7156
7157 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
7158
7159         * i386.c (classify_argument): Fix computing of field's offsets.
7160
7161 2002-08-11  Andreas Jaeger  <aj@suse.de>
7162
7163         PR target/7531:
7164         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
7165
7166 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
7167
7168         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
7169         reference to clk_objective_c with flag_objc.
7170         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
7171         Likewise.
7172         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
7173
7174 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
7175
7176         * c-opts.c (set_std_cxx98, set_std_c89): New.
7177         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
7178         (c_common_decode_option): Handle new switches from cppinit.c.
7179         Add -std=gnu++98.
7180         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
7181         (no_arg, no_num): Remove.
7182         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
7183         switches apart from -lang-objc and lang-asm.
7184         (cpp_handle_option): Similarly.
7185         * cpplib.h (cpp_set_lang): New.
7186         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
7187         -std=gnu++98.
7188         * objc/lang-specs.h: Remove -ansi.
7189
7190 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
7191                                Graham Stott
7192
7193         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
7194         errors.
7195
7196 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7197
7198         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
7199         emit_jump_insn): Fix uninitialized variable.
7200         * gcov.c (init_line_info): Likewise.
7201         * genautomata.c (transform_3): Add braces around ambiguous
7202         else.
7203         * ifcvt.c (cond_exec_process_insns): Mark parameter with
7204         ATTRIBUTE_UNUSED.
7205         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
7206         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
7207         variable.
7208
7209         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
7210         warnings in output files.
7211
7212 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
7213
7214         * c-common.c (flag_objc): New.
7215         * c-common.h (c_language_kind): Get rid of clk_objective_c
7216         enum value.
7217         (flag_objc): New extern declaration.
7218         * c-decl.c (implicitly_declare): Call objc_check_decl
7219         instead of maybe_objc_check_decl.
7220         (finish_decl): Likewise.
7221         (grokfield): Likewise.
7222         (finish_struct): Likewise.
7223         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
7224         (maybe_objc_comptypes): Rename to objc_comptypes.
7225         (maybe_building_objc_message_expr): Rename to
7226         objc_message_selector.
7227         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
7228         replace with flag_objc as needed.
7229         * c-opts.c (c_common_init_options): Likewise.
7230         (c_common_decode_option): Likewise.
7231         * c-parse.in (init_reswords): Likewise.
7232         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
7233         (maybe_objc_comptypes): Rename to objc_comptypes.
7234         (maybe_building_objc_message_expr): Rename to
7235         objc_message_selector.
7236         * c-typeck.c (comptypes): Call objc_comptypes instead of
7237         maybe_objc_comptypes, and/or objc_message_selector instead of
7238         maybe_building_objc_message_expr.
7239         (comp_target_types): Likewise.
7240         (convert_for_assignment): Likewise.
7241         (warn_for_assignment): Likewise.
7242         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
7243         independently of those for other languages.
7244         * objc/objc-act.c (maybe_objc_comptypes): Delete.
7245         (maybe_objc_check_decl): Delete.
7246         (maybe_building_objc_message_expr): Rename to
7247         objc_message_selector.
7248         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
7249         clk_objective_c; set flag_objc flag.
7250
7251 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
7252
7253         * ifcvt.c (find_if_case_2): Test correct basic block for size.
7254
7255 2002-08-09  Dale Johannesen  <dalej@apple.com>
7256
7257         * config/rs6000/rs6000.md: Add sibcall patterns.
7258         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
7259         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
7260         Rewritten to handle sibcalls.
7261         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
7262         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
7263
7264 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
7265
7266         * profile.c (da_file_name): New static var.
7267         (init_branch_prob): Initialize it.
7268         (end_branch_prob): Remove da file.
7269
7270         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
7271         * configure.in (coverage_flags): Default to nothing.
7272         * configure: Rebuilt.
7273
7274 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
7275
7276         * Makefile.in (c-opts.o): Update
7277         * c-opts.c: Include intl.h.
7278         (print_help): Move from cppinit.c.  Remove unused options.
7279         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
7280         (missing_arg): Complain for switches without an argument.
7281         (c_common_decode_option): Reject missing joined arguments.
7282         Handle new switches from cppinit.c.
7283         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
7284         (cpp_handle_option): Similarly.
7285         (print_help): Moved to c-opts.c.
7286         * cpplib.h (struct cpp_options): Remove help_only.
7287         * gcc.c (cpp_unique_options): Remove -$.
7288         * doc/cppopts.texi: Undocument -h.
7289
7290 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7291
7292         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
7293         legitimate constant.
7294         (legitimate_pic_operand_p): Neither pic operand.
7295         (legitimate_address_p): But legitimate address.
7296         (get_thread_pointer): Generate MEM/u instead of CONST around
7297         UNSPEC_TP.
7298         (print_operand): Remove printing of UNSPEC_TP.
7299         (print_operand_address): And print it here.
7300
7301 2002-08-08  Devang Patel  <dpatel@apple.com>
7302
7303         * objc/objc-act.c (build_selector_translation_table): Issue warning,
7304         when  -Wselector is used,if method for which selector is being
7305         created does not exist.
7306
7307 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
7308
7309         * config/sh/sh.c (prepare_move_operands): Only call
7310         target_reg_operand if TARGET_SHMEDIA.
7311
7312 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7313
7314         * config/rs6000/rs6000.h, config/rs6000/aix.h,
7315         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
7316         two patches.
7317         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
7318
7319 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
7320             Richard Henderson  <rth@redhat.com>
7321
7322         * emit-rtl.c (gen_rtx_REG): After reload, only return
7323         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
7324
7325 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7326
7327         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
7328         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
7329         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
7330         macro.
7331
7332 2002-08-08  Adam Nemet  <anemet@lnxw.com>
7333
7334         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
7335         register.
7336         (thumb_expand_prologue): Likewise.
7337         (thumb_output_function_prologue): Likewise.
7338         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
7339         the additional push of the PIC register.
7340
7341 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
7342
7343         * configure.in (enable_coverage): New enable switch.
7344         * configure: Rebuilt.
7345         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
7346         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
7347         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
7348         (mostlyclean): Remove coverage files.
7349         * doc/install.texi: Document enable_coverage.
7350
7351         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
7352         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
7353         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
7354         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
7355         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
7356         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
7357         files.
7358
7359 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
7360
7361         * c-opts.c (cpp_opts): New.
7362         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
7363         (c_common_decode_options): Handle cpplib switches.
7364         (c_common_init_options): Set cpp_opts.
7365         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
7366         (cpp_handle_option): Similarly.
7367
7368 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
7369
7370         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
7371         (TARGET_ALTIVEC_ABI): Same.
7372         (TARGET_ALTIVEC_VRSAVE): Same.
7373
7374         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
7375         icode not CODE_FOR_nothing.  Change switch to if.
7376
7377 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
7378
7379         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
7380
7381 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
7382
7383         * stor-layout.c (place_union_field): For bitfields if
7384         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
7385         TYPE_USER_ALIGN.
7386
7387 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7388
7389         * pa.c (struct deferred_plabel): Constify name field.
7390
7391 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
7392
7393         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
7394
7395 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7396
7397         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
7398         local_prefix are the same.
7399         * configure: Rebuilt.
7400
7401 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
7402             Richard Henderson  <rth@redhat.com>
7403
7404         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
7405         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
7406         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
7407         (place_field): Likewise.
7408         * config/i386/i386.c (x86_field_alignment): Don't check
7409         DECL_USER_ALIGN here.
7410         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
7411         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
7412         prototype.
7413         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
7414         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
7415         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
7416         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
7417         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
7418         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
7419
7420 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
7421
7422         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
7423         * c-common.c: Don't include tree-inline.h.
7424         (c_common_init_options, c_common_post_options): Move to c-opts.c.
7425         * c-common.h (c_common_decode_option): New.
7426         * c-decl.c (c_decode_option): Remove.
7427         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
7428         * c-opts.c: New file.
7429         * c-tree.h (c_decode_option): Remove.
7430         * doc/passes.texi: Update.
7431         * objc/objc-act.c (objc_decode_option): Remove.
7432         * objc/objc-act.h (objc_decode_option): Remove.
7433         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
7434         c_common_decode_option.
7435
7436 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
7437
7438         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
7439         dependency on TARGET_DOUBLE_FLOAT.
7440
7441 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
7442
7443         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
7444         overwrite callee-save registers.  Fix comment.
7445
7446 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
7447
7448         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
7449         in target_flags based on ISA, if it was not set on the command
7450         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
7451         support Branch Likely instructions.
7452         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
7453         (TARGET_BRANCHLIKELY): Likewise.
7454         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
7455         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
7456         ISA_HAS_BRANCHLIKELY.
7457         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
7458         * doc/invoke.texi: Document new MIPS -mbranch-likely and
7459         -mno-branch-likely options.
7460
7461 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7462
7463         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
7464
7465         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
7466         $(GCONFIG_H).
7467
7468 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
7469
7470         * c-decl.c (duplicate_decls): Error out for incompatible TLS
7471         declarations.
7472
7473         * testsuite/gcc.dg/tls/diag-3.c: New.
7474
7475 2002-08-06  Dale Johannesen  <dalej@apple.com>
7476
7477         * c-common.c (fname_decl): Use line number 0 for
7478         __func__, to avoid confusing debuggers.
7479
7480 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
7481
7482         * gcov.c: Tidy.
7483         (struct line_info, struct coverage): New structures.
7484         (gcov_file_name, gcov_file): Remove globals.
7485         (output_data): Take source file parameter. Fix memory leak. Break
7486         up into ...
7487         (init_line_info, output_line_info, make_gcov_file_name,
7488         accumulate_branch_counts): ... here.
7489         (calculate_branch_probs, function_summary): Adjust.
7490         (main): Adjust.
7491         (function_*): Remove global variables.
7492
7493 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7494
7495         * dwarf2out.c: Remove unused macros.
7496
7497 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7498
7499         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
7500
7501 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
7502
7503         * cppinit.c (struct lang_flags): Rename trigraphs std.
7504         (set_lang): Update.
7505         * cpplib.h (struct cpp_options): New member std.
7506         * cppmacro.c (_cpp_builtin_macro_text): Use std.
7507         (collect_args): Flag whether to swallow a possible future
7508         comma pasted with varargs.
7509         (replace_args): Use this flag.
7510         * doc/cpp.texi: Update varargs extension documentation.
7511
7512 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7513
7514         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
7515
7516 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7517
7518         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
7519         and MODE_CLASS_INT modes.
7520
7521 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
7522
7523         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
7524         --{enable,disable}-threads is given to configure.
7525         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
7526         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
7527         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
7528         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
7529         Remove thread_file setting here.
7530
7531 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
7532
7533         * doc/install.texi (Binaries): Update Bull Freeware URL.
7534
7535 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7536
7537         * doc/gcc.texi (Top): Rename Index to Keyword Index.
7538
7539 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
7540
7541         * gcov.c (output_data): Round to % to nearest, tweak formatting.
7542
7543 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
7544
7545         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
7546         of the operands into MINUS_EXPR if code is PLUS_EXPR.
7547
7548 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
7549
7550         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
7551         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
7552         drectve_section): Define.
7553         * config/i386/t-interix: Replace interix.o rule with winnt.o.
7554         * config/i386/interix.c: Remove.
7555
7556 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
7557
7558         * attribs.c: Don't include obstack.h.
7559         * builtins.c: Likewise.
7560         * cfganal.c: Likewise.
7561         * cfgbuild.c: Likewise.
7562         * cfgcleanup.c: Likewise.
7563         * emit-rtl.c: Likewise.
7564         * loop.c: Likewise.
7565         * stmt.c: Likewise.
7566
7567         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
7568
7569 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
7570
7571         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
7572
7573 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
7574
7575         * doc/invoke.texi: Remove duplicated paragraph describing
7576         TARGET_SWITCHES.
7577
7578 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
7579
7580         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
7581         * collect2.h (permanent_obstack): Delete declaration.
7582         * collect2.c (permanent_obstack): Delete definition.
7583         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
7584         * expr.c: Don't include obstack.h.
7585         (permanent_obstack): Delete declaration.
7586         * function.c: Don't include obstack.h.
7587         (permanent_obstack): Delete declaration.
7588         * integrate.c: Don't include obstack.h.
7589         (function_maybepermanent_obstack): Delete declaration.
7590         * print-tree.c (debug_tree): Use x*alloc not permalloc.
7591         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
7592         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
7593         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
7594         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
7595         of permalloc, expralloc, perm_calloc.
7596         * tree.c (permanent_obstack): Delete definition.
7597         (init_ttree): Rename from init_obstacks.
7598         (permalloc): Delete.
7599         (perm_calloc): Delete.
7600         (dump_tree_statistics): Don't print information about
7601         permanent_obstack.
7602         * varasm.c (assemble_start_function): Use xstrdup instead of
7603         permalloc/strcpy.
7604         (assemble_variable): Likewise.
7605         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
7606         permalloc.
7607         (unicosmk_add_extern): Likewise.
7608         * config/c4x/c4x.c (c4x_external_ref): Likewise.
7609         (c4x_global_label): Likewise.
7610         * config/frv/frv.c (frv_encode_section_info): Likewise.
7611         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
7612         (i386_pe_record_exported_symbol): Likewise.
7613         * config/mips/mips.c (mips_output_external): Likewise.
7614         (mips_output_external_libcall): Likewise.
7615         * config/pa/pa.c: (permanent_obstack): Delete declaration.
7616         (output_call): Use ggc_strdup instead of allocating on
7617         permanent_obstack.
7618         * config/romp/romp.c: Include ggc.h.
7619         (get_symref): Don't declare permanent_obstack, use ggc_strdup
7620         intead of permanent_obstack.
7621         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
7622         instead of permalloc.
7623         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
7624         instead of permalloc
7625         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
7626         instead of permalloc.
7627         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
7628         permalloc.
7629
7630 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
7631
7632         Contribute a port developed primarily by Michael Meissner,
7633         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
7634         * config.gcc: Add frv-elf target.
7635         * config/frv/cmovd.c: New file.
7636         * config/frv/cmovh.c: New file.
7637         * config/frv/cmovw.c: New file.
7638         * config/frv/frv-abi.h: New file.
7639         * config/frv/frv-asm.h: New file.
7640         * config/frv/frv-modes.def: New file.
7641         * config/frv/frv-protos.h: New file.
7642         * config/frv/frv.c: New file.
7643         * config/frv/frv.h: New file.
7644         * config/frv/frv.md: New file.
7645         * config/frv/frvbegin.c: New file.
7646         * config/frv/frvend.c: New file.
7647         * config/frv/lib1funcs.asm: New file.
7648         * config/frv/media.h: New file.
7649         * config/frv/modi.c: New file.
7650         * config/frv/t-frv: New file.
7651         * config/frv/uitod.c: New file.
7652         * config/frv/uitof.c: New file.
7653         * config/frv/ulltod.c: New file.
7654         * config/frv/ulltof.c: New file.
7655         * config/frv/umodi.c: New file.
7656         * config/frv/xm-frv.h: New file.
7657
7658         * config/frv/media.h: Removed again.
7659
7660 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7661
7662         * gcov.c (bb_file_time): New static variable.
7663         (object_directory): May also be object file.
7664         (preserve_paths): New static variable.
7665         (print_usage): Adjust.
7666         (options): Adjust.
7667         (process_args): Adjust.
7668         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
7669         file. Find modification date on bb file.
7670         (read_profile): Don't rewind a NULL file.
7671         (format_hwint): New static function.
7672         (function_summary): Use format_hwint.
7673         (output_data): SOURCE_FILE_NAME is never relative to
7674         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
7675         mangling. Adjust output format to make it more machine readable.
7676         * doc/gcov.texi: Document & clarify semantics.
7677
7678 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
7679
7680         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
7681
7682 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7683
7684         * gcc.c (cc1_options): Pass output file as auxbase when
7685         appropriate.
7686         * profile.c (init_branch_prob): FILENAME has already had ending
7687         stripped.
7688         * final.c (end_final): Likewise.
7689         * toplev.c (aux_base_name): New global.
7690         (compile_file): Pass aux_base_name to init init_branch_prob and
7691         end_final.
7692         (independent_decode_option, case 'a'): New auxinfo options.
7693         (case 'd'): Protect against mising basename.
7694         (do_compile): Initialize aux_base_name.
7695         * toplev.h (aux_base_name): New global.
7696         * doc/invoke.texi: Adjust documentation.
7697
7698 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
7699
7700         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
7701         of TARGET_ALIGN_DOUBLE.
7702
7703 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
7704
7705         * diagnostic.c (inform): New function.
7706         * diagnostic.h (inform): Declare.
7707
7708 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
7709
7710         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
7711         (movhi_internal): Same.
7712         (movqi_internal): Same.
7713         (movdi_internal64): Same.
7714
7715         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
7716
7717         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
7718         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
7719         (COMMON_ASM_OP): Define.
7720         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
7721         Use ALIGN parameter.
7722         (LOCAL_COMMON_ASM_OP): Define.
7723         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
7724
7725 2002-08-03  Roger Sayle  <roger@eyesopen.com>
7726
7727         * builtins.def: Define new builtin functions exp, expf, expl,
7728         log, logf and logl (and their __builtin_* variants).
7729         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
7730         Define exp_optab and log_optab.
7731         * optabs.c (init_optans): Initialize exp_optab and log_optab.
7732         * genopinit.c (optabs): Implement exp_optab and log_optab
7733         using exp?f2 and log?f2 patterns.
7734         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
7735         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
7736         (expand_builtin): Ignore the new builtins (and all cos and
7737         sin variants) when not optimizing.  Expand new builtins via
7738         expand_builtin_mathfn when flag_unsafe_math_optimizations.
7739
7740         * doc/extend.texi: Document new exp and log builtins.
7741         * doc/md.texi: Document new exp?f2 and log?f2 patterns
7742         (and previously undocumented cos?f2 and sin?f2 patterns).
7743
7744 2002-08-03  Jason Merrill  <jason@redhat.com>
7745
7746         * explow.c (int_expr_size): New fn.
7747         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
7748         * expr.h: Declare it.
7749
7750 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
7751
7752         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
7753         gengtype-* dependencies.
7754
7755 2002-08-02  Eric Christopher  <echristo@redhat.com>
7756
7757         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
7758         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
7759         #ifndef to #undef.
7760         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
7761
7762 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
7763
7764         PR optimize/7067
7765         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
7766         small if optimizing for size.
7767
7768 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
7769
7770         * configure.in (FORBUILD): Use $build_alias.
7771         * configure: Regenerated.
7772
7773 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
7774
7775         * config.gcc: Don't include mips/abi64.h in $tm_file.
7776         * hard-reg-set.h (call_really_used_regs): Declare.
7777         * config/mips/abi64.h: Remove file.
7778         * config/mips/linux.h,
7779         * config/mips/iris6.h: Don't include it.
7780         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
7781         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
7782         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
7783         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
7784         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
7785         Bring across definitions from abi64.h.
7786         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
7787         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
7788         (struct mips_args): Use it.
7789         * config/mips/mips.c (mips_conditional_register_usage): Define.
7790
7791 2002-08-02  Jason Merrill  <jason@redhat.com>
7792
7793         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
7794         * langhooks.c (lhd_expr_size): Define default.
7795         * langhooks.h (struct lang_hooks): Add expr_size.
7796         * explow.c (expr_size): Call it.
7797         * expr.c (store_expr): Don't copy an expression of size zero.
7798         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
7799         to store.
7800         * Makefile.in (builtins.o): Depend on langhooks.h.
7801
7802 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7803
7804         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
7805         * ra-debug.c: Include "tm_p.h".
7806         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
7807
7808 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
7809
7810         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
7811         when not honoring signalling NaNs.
7812         (simplify_ternary_operation): a == b has a definite value
7813         when not honoring NaNs.
7814
7815 2002-08-02  Jason Merrill  <jason@redhat.com>
7816
7817         * gdbinit.in (pct): New macro.
7818
7819 2002-08-01  Stan Shebs  <shebs@apple.com>
7820             Andreas Tobler  <toa@pop.agri.ch>
7821
7822         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
7823         plays nice with Darwin headers.
7824         (_BSD_RUNE_T_DEFINED_): Likewise.
7825
7826 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
7827
7828         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
7829         * cppinit.c (cpp_post_options): Likewise.
7830
7831         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
7832         warning about 'LL' suffix (but not 'ULL' etc) when
7833         -Wno-long-long is in effect.
7834
7835         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
7836         Check for failing time()/localtime(), issue a warning, and
7837         make __TIME__ and __DATE__ expand to fallback strings.
7838
7839         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
7840         and __TIME__ when the date and time cannot be determined.
7841
7842 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
7843
7844         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
7845
7846 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
7847
7848         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
7849
7850 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
7851
7852         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
7853         (mipsisa64sb1el-*-elf*): Likewise.
7854         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
7855         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
7856         (TARGET_SB1, TUNE_SB1): New macros.
7857         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
7858         -mtune flags.
7859
7860 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
7861
7862         * varasm.c (asm_emit_uninitialized): Return false if global BSS
7863         and ASM_EMIT_BSS not supported by target.
7864         (assemble_variable): Do not duplicate uninitialized logic.
7865         Fall through if asm_emit_uninitialized failed.
7866
7867 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
7868
7869         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
7870
7871 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
7872
7873         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
7874         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
7875
7876         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
7877         HOST_BITS_PER_WIDE_INT == 64.
7878
7879 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7880
7881         * df.c (df_insn_table_realloc): Change parameter to unsigned.
7882         * optabs.c (expand_binop): Make variable unsigned.
7883         * simplify-rtx.c (simplify_subreg): Likewise.
7884         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
7885
7886 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7887
7888         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
7889
7890 2002-08-01  Richard Henderson  <rth@redhat.com>
7891
7892         * toplev.c (parse_options_and_default_flags): Don't set
7893         flag_reorder_blocks for -Os.
7894
7895         * config/avr/avr.c (avr_optimization_options): Remove.
7896         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
7897         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
7898         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
7899
7900 2002-08-01  H.J. Lu <hjl@gnu.org>
7901             Richard Henderson  <rth@redhat.com>
7902
7903         * output.h (DECL_READONLY_SECTION): Remove.
7904         (decl_readonly_section): Declare.
7905         * varasm.c (decl_readonly_section): New.
7906         (default_section_type_flags, default_select_section): Use it.
7907         * config/arm/pe.c (arm_pe_unique_section): Likewise.
7908         * config/i386/interix.c (i386_pe_unique_section): Likewise.
7909         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
7910         * config/mcore/mcore.c (mcore_unique_section): Likewise.
7911         * config/mips/mips.c (mips_unique_section): Likewise.
7912
7913 2002-08-01  Richard Henderson  <rth@redhat.com>
7914
7915         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
7916         refers to a subroutine parameter.
7917
7918 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
7919
7920         * varasm.c (assemble_visibility): Strip name encoding.
7921
7922 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7923
7924         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
7925         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
7926         when there is no frame pointer.
7927         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
7928         registers properly.
7929         * config/ns32k/__unorddf2.c: New file.
7930         * config/ns32k/__unordsf2.c: New file.
7931         * config/ns32k/t-ns32k: New file.
7932         * config.gcc (ns32k-*-netbsd*): Use it.
7933
7934 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
7935
7936         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
7937
7938 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
7939
7940         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
7941
7942 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
7943
7944         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
7945
7946 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
7947
7948         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
7949
7950 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7951
7952         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
7953         n_sets): Removed.
7954         (expr_hash_table, set_hash_table): Type changed to ...
7955         (struct hash_table): New type.
7956         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
7957         insert_expr_in_table, insert_set_in_table, compute_hash_table,
7958         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
7959         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
7960         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
7961         (alloc_hash_table): New.
7962         (free_set_hash_table, free_expr_hash_table): Merged to ...
7963         (free_hash_table): New.
7964         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
7965         (compute_hash_table_work): New.
7966         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
7967         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
7968         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
7969         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
7970         hoist_code, one_code_hoisting_pass,
7971         trim_ld_motion_mems): Altered due to changed type of hash tables.
7972
7973 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
7974
7975         * final.c (output_alternate_entry_point):
7976         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
7977
7978 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7979
7980         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
7981         avoid ISO C style function definition.
7982
7983         * expr.c (expand_assignment): Delete unused variable.
7984
7985 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
7986
7987         * c-common.c (cb_register_builtins): Set
7988         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
7989         is given, and to 0 otherwise.
7990         * combine.c (simplify_if_then_else): HONOR_NANS
7991         implies FLOAT_MODE_P.
7992
7993 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
7994
7995         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
7996         (cpp_handle_option): Don't handle it.
7997         (print_help): Update.
7998         * doc/cppopts.texi: Update.
7999
8000 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8001
8002         * c-common.c (cb_register_builtins): If C++, define
8003         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
8004         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
8005 cp:
8006         * lang-specs.h: Simplify in accordance with new code in
8007         c-common.c.
8008
8009 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
8010
8011         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
8012         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
8013         * c-decl.c: Move all warning and flag variables to c-common.c.
8014         * c-format.c: Move all warning variables to c-common.c.
8015         * c-tree.h: Move all warning and flag declarations to c-common.h.
8016         * objc/objc-act.c: Move all warning variables to c-common.c.
8017         (flag_warn_protocol): Rename warn_protocol.
8018
8019 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8020
8021         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
8022
8023 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
8024
8025         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
8026         .section prefix.
8027
8028 2002-07-31  Stan Shebs  <shebs@apple.com>
8029
8030         * config.gcc (i[34567]86-*-darwin*): New configuration.
8031         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
8032         defining.
8033         (TARGET_ENCODE_SECTION_INFO): Ditto.
8034         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
8035         * config/darwin.c (machopic_indirect_data_reference): Remove
8036         setting of RTX_UNCHANGING_P.
8037         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
8038         not to be applied to sums.
8039         * config/i386/t-darwin: New file.
8040         * config/i386/darwin.h: New file.
8041         * config/i386/i386.h (TARGET_MACHO): Add default definition.
8042         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
8043         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
8044         label and not the GOT add.
8045         (constant_address_p): For Mach-O, seeing a CONST is enough.
8046         (legitimate_pic_address_disp_p): Add a Mach-O case.
8047         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
8048         (legitimize_pic_address): Use generic Mach-O code to legitimize.
8049         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
8050         if outputting a difference.
8051         (ix86_output_addr_diff_elt): Add Mach-O case.
8052         (ix86_expand_move): Similarly.
8053         (ix86_expand_call): Similarly.
8054         (current_machopic_label_num): New global.
8055         (machopic_output_stub): New function.
8056         (ix86_value_regno): New function.
8057         (ix86_function_value): Use it instead of VALUE_REGNO.
8058         (ix86_libcall_value): Ditto.
8059         * config/i386/unix.h (VALUE_REGNO): Remove.
8060
8061 2002-07-31  Graham Stott  <grahas@btinternet.com>
8062
8063         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
8064         hash for LABEL_REF's.
8065
8066 2002-07-31  Graham Stott  <grahams@btinternet.com>
8067
8068         * config/rs6000/rs6000.c (spe_init_builtins,
8069         altivec_init_builtins, rs6000_common_init_builtins):
8070         Replace ANSI with K&R function def.
8071
8072 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
8073
8074         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
8075         for CCFPmode.
8076
8077 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
8078
8079         * config/mips/crtn.asm: Don't use __mips16 to determine the
8080         return-address offset.  Define RA to a suitable temporary
8081         register for the return address.
8082
8083 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
8084
8085         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
8086         constraints to 'd'.
8087
8088 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
8089
8090         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
8091         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
8092         patch on 2002-07-29.)
8093         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8094
8095 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8096
8097         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
8098         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
8099         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
8100         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
8101         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
8102         (ASM_GLOBALIZE_LABEL): Delete.
8103         (GLOBAL_ASM_OP): Define.
8104
8105         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
8106
8107         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
8108         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
8109
8110 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
8111
8112         * doc/extend.texi (Hints implementation): Document that GCC
8113         mostly ignores `register'.
8114
8115 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
8116
8117         * flags.h: Declare flag_finite_math_only.
8118         Use it in definition of HONOR_NANS and
8119         HONOR_INFINITIES.
8120         * c-common.c (cb_register_builtins): Emit
8121         __FINITE_MATH_ONLY__ when flag_finite_math_only
8122         is set.
8123         * combine.c (simplify_if_then_else): If
8124         flag_finite_math_only is set, a == b has a
8125         definite value.
8126         * toplev.c: Initialize flag_finite_math_only.
8127         (set_flags_fast_math): Set it on -ffast-math.
8128         (flag_fast_math_set_p): Test it.
8129         * doc/invoke.texi: Document -ffinite-math-only.
8130
8131 2002-07-30  Richard Henderson  <rth@redhat.com>
8132
8133         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
8134         (noce_process_if_block): Likewise.
8135
8136 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
8137
8138         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
8139         Bail out early if false_expr is NULL and we'd crash due to this.
8140         * genemit.c (gen_expand): Recognize return insns even if the return
8141         appears in a parallel.
8142         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
8143         * config/fp-bit.c: Likewise.
8144         * doc/tm.texi: Document it.
8145
8146 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
8147             Zack Weinberg  <zack@codesourcery.com>
8148
8149         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
8150         CODE_FOR_nothing.  Change switch to if.
8151         (rs6000_expand_binop_builtin): Same.
8152         (rs6000_expand_builtin): Expand builtin if target support enabled.
8153         (rs6000_init_builtins): Init builtin if target support enabled.
8154         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
8155
8156 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8157
8158         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
8159
8160 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
8161
8162         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
8163
8164 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
8165
8166         * sh.md (cond_delay_slot): New attribute.
8167         (cbranch delay): Use it for anulled-true case.
8168         (stuff_delay_slot): New pattern.
8169         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
8170         delay slot insn.
8171         (gen_far_branch): Emit stuff_delay_slot pattern.
8172
8173 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
8174
8175         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
8176
8177 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
8178
8179         * fold-const.c: Fix comment typos.
8180         * gcse.c: Likewise.
8181         * reload1.c: Likewise.
8182
8183 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8184
8185         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
8186         for TARGET_SPE.
8187
8188 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8189
8190         * c-pretty-print.h (pp_c_statement): Declare.
8191         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
8192         (pp_c_statement): Define.
8193
8194 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8195
8196         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
8197         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
8198         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
8199         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
8200         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
8201         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
8202
8203         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
8204         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
8205
8206 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8207
8208         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
8209         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
8210         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
8211         (pp_c_expression): Update.
8212
8213 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8214
8215         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
8216         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
8217         * alpha/vms-ld.c (main): Likewise.
8218         * dsp16xx.c (double_reg_to_memory): Likewise.
8219         * mcore.c (mcore_expand_prolog): Likewise.
8220         * cppfiles.c (read_name_map): Likewise.
8221         * gensupport.c (process_rtx, identify_predicable_attribute,
8222         alter_test_for_insn): Likewise.
8223         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
8224
8225 2002-07-29  Roger Sayle  <roger@eyesopen.com>
8226
8227         * builtins.c (expand_builtin):  Change the default behavior to
8228         only issue an error if the builtin function doesn't have a
8229         fallback library call.  Remove several cases handled by the
8230         new default.
8231
8232 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
8233
8234         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
8235         floating point format of the target is IEEE.
8236         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
8237         format of the target is DEC.
8238
8239 2002-07-29  Richard Henderson  <rth@redhat.com>
8240
8241         * unroll.c (verify_addresses): Remove.
8242         (find_splittable_givs): Never split DEST_ADDR givs.
8243
8244 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
8245
8246         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
8247         is exhaustive.
8248         (Files): Improve documentation on generated source files.
8249
8250         * doc/extend.texi (Translation implementation): Document what
8251         diagnostics look like.
8252         (Identifiers implementation): Document that there's normally no
8253         limit on identifier names.
8254         (Integers implementation): Document two's complement.
8255         (Hints implementation): Document that GCC honors 'inline', mostly.
8256         (Preprocessing directives implementation): Document that GCC
8257         requires the current time.
8258
8259 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
8260
8261         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
8262         (pp_initializer): New macro.
8263         (pp_c_initializer): Declare.
8264         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
8265         (pp_c_initializer): Define.
8266         (pp_c_initializer_list): New function.
8267         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
8268         VECTOR_CST, CONSTRUCTOR.
8269         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
8270         IMAGPART_EXPR.
8271         (pp_c_cast_expression): Handle FLOAT_EXPR.
8272         (pp_c_assignment_expression): Handle INIT_EXPR.
8273         (pp_c_expression): Update.
8274
8275 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
8276
8277         * objc/objc-act.c (objc_init): Return immediately if filename
8278         is NULL.
8279
8280 2002-07-29  Eric Christopher  <echristo@redhat.com>
8281
8282         * config/mips/elf.h: Remove ecoff.h and gofast includes.
8283         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
8284         (SDB_DEBUGGING_INFO): Undefine.
8285         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
8286         (PUT_SDB_SIZE): Remove.
8287         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
8288         (STARTFILE_SPEC): Add isa3264 define.
8289         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
8290         * config/mips/ecoff.h: Remove. and here...
8291         * config/mips/iris3.h: and here...
8292         * config/mips/sni-svr4.h: and here...
8293         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
8294         Add assembler -mmdebug options for non-dwarf debugging.
8295         * config/mips/r3900.h: Remove debug info defines.
8296         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
8297         * config/mips/isa3264.h: Ditto.
8298         * config/mips/t-isa3264: Fix up for file removal and gofast configure
8299         change.
8300         * config/mips/t-elf: Ditto.
8301         * config/mips/t-ecoff: Ditto.
8302         * config/mips/t-r3900: Ditto.
8303         * config/mips/t-iris5-6: Ditto.
8304         * config/mips/t-isa3264: Ditto.
8305         * config/mips/t-linux: Remove.
8306         * config/mips/t-netbsd: Remove.
8307         * config/mips/t-mips: New file.
8308         * config/mips/t-gofast: Ditto.
8309         * config/mips/netbsd.h: Remove unnecessary undefines.
8310         * config/mips/linux.h: Remove #include of mips.h.
8311         * config.gcc: Add mips.h include for elf targets. Remove tm_file
8312         for ecoff. Add gofast configure option for mips.
8313
8314 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
8315
8316         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
8317         linker scripts use STARTUP directives consistently.
8318         * configure: Regenerate.
8319         * config.in: Regenerate.
8320         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
8321         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
8322         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8323         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
8324         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
8325         will be the same.
8326
8327 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8328
8329         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
8330
8331 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8332
8333         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
8334
8335 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
8336
8337         * config/rs6000/rs6000.md: Move altivec patterns from here...
8338
8339         * config/rs6000/altivec.md: ...to here.
8340
8341 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8342
8343         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
8344
8345 2002-07-29  Richard Henderson  <rth@redhat.com>
8346
8347         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
8348         set_mem_attributes and add BITPOS argument.  Subtract it from
8349         OFFSET when same is adjusted.
8350         (set_mem_attributes): New wrapper function.
8351         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
8352         remove offset adjustment hack.
8353         * expr.h (set_mem_attributes_minus_bitpos): Declare.
8354
8355 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
8356
8357         * Makefile.in (C_OBJS): Include c-pretty-print.o
8358         (c-pretty-print.o): Add depency rule.
8359         * pretty-print.h: Add more macros.
8360         * c-pretty-print.c: New file.
8361         * c-pretty-print.h: Likewise.
8362
8363 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
8364
8365         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
8366         constants to __ev64_s32__.
8367         (__internal_ev_mwhgsmian): Same.
8368         (__internal_ev_mwhgsmfan): Same.
8369         (__internal_ev_mwhgssfan): Same.
8370         (__internal_ev_mwhgumiaa): Same.
8371         (__internal_ev_mwhgsmiaa): Same.
8372         (__internal_ev_mwhgsmfaa): Same.
8373         (__internal_ev_mwhgssfaa): Same.
8374
8375 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
8376
8377         * varasm.c (assemble_variable): Narrow test for uninitialized
8378         without BSS target support.
8379
8380 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
8381
8382         * profile.c: Add file comment describing the overall algorithm and
8383         structures.
8384         (struct edge_info): Add comments.
8385         (struct bb_info): Add comments.
8386         * basic-block.h (EDGE_*): Add comments.
8387         * doc/gcov.texi (Gcov Data Files): Document bit flags.
8388
8389 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
8390
8391         * config/xtensa/elf.h, config/xtensa/linux.h
8392         (TARGET_OS_CPP_BUILTINS): Define.
8393         (CPP_PREDEFINES): Remove.
8394         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
8395         (CPP_SPEC): Remove.
8396
8397 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
8398
8399         * gensupport.c: Include hashtab.h.
8400         (insn_elision, condition_table, hash_c_test, cmp_c_test,
8401         maybe_eval_c_test): New routines and data structures to
8402         support insn elision.
8403         (init_md_reader): Read and initialize the condition_table.
8404         (read_md_rtx): Discard insn patterns whose C test is provably
8405         always false.
8406         * gensupport.h: Declare new functions and data structures.
8407
8408         * genconditions.c, dummy-conditions.c: New files.
8409         * Makefile.in: Build genconditions; run it to construct
8410         insn-conditions.c; build that and link it into most gen*
8411         programs.
8412         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
8413         (GEN): Delete, unused.
8414         (STAGESTUFF): Update.
8415
8416         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
8417         CODE_FOR_nothing for all elided patterns.
8418         (main): Tweaked to support this.
8419         * genflags.c (gen_proto): Emit a static inline generator
8420         function here for all elided patterns, which simply returns
8421         NULL_RTX.
8422         (gen_insn): Do not define HAVE_xxx for elided patterns.
8423         (main): Tweaked to support this.  No need to forward-declare
8424         struct rtx_def.
8425         * genrecog.c: Do not bother emitting the C test if it's known
8426         to be true at compile time.
8427
8428 2002-07-29  Mike Stump  <mrs@apple.com>
8429
8430         * config.gcc (target_gtfiles): Initialize, as otherwise cross
8431         compilers hosted on powerpc-apple-darwin6.0 won't even build.
8432
8433 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
8434
8435         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
8436         remove clobber of LR.
8437         (sibcall_insn, sibcall_value_insn): Update accordingly.
8438         (sibcall_epilogue): Remove debugging comment from assembler stream.
8439
8440 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
8441
8442         * pretty-print.h: Define more macros.
8443         * diagnostic.h (output_formatted_integer): Moved from...
8444         * diagnostic.c: ... here.
8445
8446 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8447
8448         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
8449
8450 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
8451
8452         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
8453         arguments.  Always use ".-symbol" as expression argument.
8454         * doc/tm.texi: Update to match.  Document requirement for
8455         ".size symbol, .-symbol" to be acceptable to assembler.
8456
8457         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
8458         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
8459         config/i386/freebsd-aout.h, config/i386/sco5.h,
8460         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
8461         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
8462
8463 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8464
8465         * Makefile.in (gengtype-lex.c): Fix error in last change.
8466
8467         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
8468         backslash.
8469
8470         * Makefile.in (vmsdbgout.o): Depend on function.h.
8471
8472         * vmsdbgout.c: Include function.h.
8473
8474 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
8475
8476         * prefix.c (update_path): Don't strip single `.' path components
8477         unless stripping a later `..' component.  Exit loop as soon as
8478         a valid path is found.
8479
8480 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8481
8482         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
8483         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
8484         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
8485         floating point unordered comparisons (e.g. __builtin_isgreater)
8486         as const, and leave the remaining GCC_BUILTINs unchanged.
8487
8488         * c-decl.c (builtin_function): No need to explicitly mark
8489         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
8490
8491 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8492
8493         * Makefile.in: rtlanal.o now depends upon real.h.
8494
8495         * flags.h [flag_signaling_nans]: New flag.
8496         [HONOR_SNANS]: New macro.
8497
8498         * toplev.c [flag_signaling_nans]: Initialize to false.
8499         (f_options): Add processing for "-fsignaling-nans".
8500         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
8501         (process_options): flag_signaling_nans implies flag_trapping_math.
8502
8503         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
8504         when -fsignaling-nans.  First step to implementing WG14's N965.
8505
8506         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
8507         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
8508         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
8509
8510         * simplify-rtx.c (simplify_relational_operation): Conditionalize
8511         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
8512
8513         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
8514         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
8515         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
8516         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
8517         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
8518
8519         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
8520
8521 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8522
8523         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
8524         * gengtype-lex.l (YY_USE_PROTOS): Undef.
8525         (YY_DECL): Define.
8526
8527 2002-07-27  Roger Sayle  <roger@eyesopen.com>
8528
8529         * doc/invoke.texi: Document that both -fno-builtin-foo and
8530         -fno-builtin are supported by the g++ front-end.
8531
8532 2002-07-27  Stan Shebs  <shebs@apple.com>
8533
8534         * configure.in: Rename config_gtfiles to target_gtfiles.
8535         * configure: Regenerate.
8536         * doc/gty.texi: Update reference.
8537         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
8538         instead of appending to it.
8539
8540 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
8541
8542         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
8543         vectors are split into two registers.
8544         (function_arg): Same.
8545
8546 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
8547
8548         * pa.md (extv): Check predicates before emitting extv_32.
8549
8550 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8551
8552         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
8553         (rs6000_traceback): New var.
8554         (rs6000_override_options): Set rs6000_traceback.
8555         (rs6000_output_function_epilogue): Implement traceback options.
8556         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
8557         (rs6000_traceback_name): Declare.
8558
8559         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
8560         label reference when NO_PROFILE_COUNTERS.
8561
8562 2002-07-26  Jason Merrill  <jason@redhat.com>
8563
8564         * function.c (assign_parms): Handle frontend-directed pass by
8565         invisible reference.
8566
8567 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8568
8569         * doc/cppopts.texi: Update.
8570
8571 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8572
8573         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
8574         warnings on assertions.
8575
8576 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
8577
8578         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
8579         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
8580         RID_COMPL): Remove.
8581         * c-parse.in (rid_to_yy): Similarly.
8582
8583 2002-07-26  Jason Merrill  <jason@redhat.com>
8584
8585         * c-dump.c: Resurrect.
8586         * tree-dump.c: Move C-specific stuff to c-dump.c.
8587         * c-common.h: Declare c_dump_tree.
8588         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
8589         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
8590         (c-dump.o): New rule.
8591
8592 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
8593
8594         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
8595         PowerPC64.  Replace "T" and "S" constraints with "n" when the
8596         predicate will do.  Formatting fixes.
8597         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
8598         as for extzvsi_internal1.
8599
8600 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8601
8602         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
8603         DERIV_END_LABEL_FMT): Remove.
8604         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
8605
8606 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8607
8608         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
8609         Remove.
8610
8611 2002-07-25  Stan Shebs  <shebs@apple.com>
8612
8613         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
8614         local var dwarfp.
8615         (output_compiler_stub): Remove unused locals.
8616         (output_call): Always initialize line number.
8617
8618 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
8619
8620         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
8621         * sh.md (truncdiqi2, movqi_media): Likewise.
8622
8623 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8624
8625         * gcse.c (obstack_chunk_alloc): Remove.
8626         (gcse_alloc): Fix to count allocated bytes.
8627         * collect2.c (SYMBOL__MAIN): Remove.
8628
8629 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8630
8631         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
8632         HAVE_TARGET_EXECUTABLE_SUFFIX.
8633
8634 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
8635
8636         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
8637         SIZE, EXPR and OFFSET.
8638
8639 2002-07-25  Richard Henderson  <rth@redhat.com>
8640
8641         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
8642         in ARRAY_REF of DECL_P case.
8643
8644 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
8645
8646         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
8647         description.  Document -mips32, -mips64, and the associated -march
8648         values.  Describe the "mipsN" arguments to -march.  Say that the
8649         -mipsN options are equivalent to -march.  Reword the description
8650         of default type sizes.
8651         * toplev.h (target_flags_explicit): Declare.
8652         * toplev.c (target_flags_explicit): New var.
8653         (set_target_switch): Update target_flags_explicit.
8654         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
8655         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
8656         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
8657         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
8658         * config/mips/mips.h (mips_cpu_info): New struct.
8659         (mips_cpu_string, mips_explicit_type_size_string): Remove.
8660         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
8661         (MIPS_CPP_SET_PROCESSOR): New macro.
8662         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
8663         Define _MIPS_ARCH and _MIPS_TUNE.
8664         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
8665         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
8666         MIPS_ISA_DEFAULT were already defined.
8667         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
8668         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
8669         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
8670         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
8671         (ABI_GAS_ASM_SPEC): Remove.
8672         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
8673         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
8674         Invoke %(asm_abi_default_spec) if no ABI was specified.
8675         (CC1_SPEC): Remove ISA -> register-size rules.
8676         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
8677         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
8678         (mips_cpu_string, mips_explicit_type_size_string): Remove.
8679         (mips_cpu_info_table): New array.
8680         (mips_set_architecture, mips_set_tune): New fns.
8681         (override_options): Rework to make -mipsN equivalent to -march.
8682         Detect more erroneous cases, including those removed from CC1_SPEC.
8683         Don't change the ABI based on architecture, or vice versa.
8684         Unify logic with GAS.
8685         (mips_asm_file_start): Get architecture name from mips_arch_info.
8686         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
8687         (mips_parse_cpu): Take the name of the option as argument.  Handle
8688         'from-abi'.  Raise an error if the option is wrong.
8689         (mips_cpu_info_from_isa): New fn.
8690
8691 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
8692
8693         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
8694         (tablejump_mips162): Likewise.
8695
8696 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
8697
8698         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
8699         int_mode_for_mode.
8700
8701 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
8702
8703         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
8704         complaining.
8705         * c-common.h (c_sizeof): Adjust definition.
8706         (c_alignof): Likewise.
8707         * c-tree.h (c_sizeof_nowarn): Now macro.
8708         * c-typeck.c (c_sizeof_nowarn): Remove definition.
8709
8710 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
8711
8712         * c-decl.c (c_decode_option): No need to handle switches
8713         cpplib handles.
8714
8715 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
8716
8717         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
8718         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
8719         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
8720         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
8721
8722         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
8723         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
8724         config/cris/aout.h, config/i386/freebsd-aout.h,
8725         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
8726         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
8727         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
8728         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
8729         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
8730         config/xtensa/elf.h, config/xtensa/linux.h:
8731         Use the new macros.
8732         Where possible, remove redundant definitions of SIZE_ASM_OP,
8733         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
8734
8735 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
8736
8737         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
8738         TARGET_ISEL, and TARGET_FPRS.
8739
8740         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
8741         -mabi=spe, -mabi=no-spe, and -misel=.
8742
8743         * config/rs6000/rs6000-protos.h: Add output_isel.
8744         Move vrsave_operation prototype here.
8745
8746         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
8747         (smaxsi3): Same.
8748         (uminsi3): Same.
8749         (umaxsi3): Same.
8750         (abssi2_nopower): Disallow when TARGET_ISEL.
8751         (*ne0): Same.
8752         (negsf2): Change to expand and rename old pattern to *negsf2.
8753         (abssf2): Change to expand and rename old pattern to *abssf2.
8754
8755         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
8756         fixunssfsi2.
8757
8758         Change patterns that check for TARGET_HARD_FLOAT or
8759         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
8760
8761         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
8762         rs6000_isel, rs6000_fprs, rs6000_isel_string.
8763         (rs6000_override_options): Add 8540 case to
8764         processor_target_table.
8765         Set rs6000_isel for the 8540.
8766         Call rs6000_parse_isel_option.
8767         (enable_mask_for_builtins): New.
8768         (rs6000_parse_isel_option): New.
8769         (rs6000_parse_abi_options): Add spe and no-spe.
8770         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
8771         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
8772         for TARGET_HARD_FLOAT.
8773         Add case for SPE_VECTOR_MODE.
8774         (rs6000_legitimize_reload_address): Handle SPE vector modes.
8775         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
8776         vector modes.
8777         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
8778         (rs6000_emit_move): Check for TARGET_FPRS.
8779         Add cases for SPE vector modes.
8780         (function_arg_boundary): Return 64 for SPE vector modes.
8781         (function_arg_advance): Check for TARGET_FPRS and
8782         Handle SPE vectors.
8783         (function_arg): Same.
8784         (setup_incoming_varargs): Check for TARGET_FPRS.
8785         (rs6000_va_arg): Same.
8786         (struct builtin_description): Un-constify mask field.  Move up in
8787         file.
8788         (bdesc_2arg): Un-constify and add SPE builtins.
8789         (bdesc_1arg): Same.
8790         (bdesc_spe_predicates): New.
8791         (bdesc_spe_evsel): New.
8792         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
8793         (rs6000_expand_binop_builtin): Same.
8794         (bdesc_2arg_spe): New.
8795         (spe_expand_builtin): New.
8796         (spe_expand_predicate_builtin): New.
8797         (spe_expand_evsel_builtin): New.
8798         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
8799         (rs6000_init_builtins): Initialize SPE builtins.  Call
8800         rs6000_common_init_builtins.
8801         (altivec_init_builtins): Move all non-altivec builtin code to...
8802         (rs6000_common_init_builtins): ...here.  New function.
8803         (branch_positive_comparison_operator): Allow NE code for SPE.
8804         (ccr_bit): Return correct ccr bit for SPE fp.
8805         (print_operand): Emit crnor in 'D' case for SPE.
8806         New case 't'.
8807         Add SPE code for 'y' case.
8808         (rs6000_generate_compare): Generate rtl for SPE fp.
8809         (output_cbranch): Handle SPE hard floats.
8810         (rs6000_emit_cmove): Handle isel.
8811         (rs6000_emit_int_cmove): New.
8812         (output_isel): New.
8813         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
8814         64-bits for SPE.
8815         (debug_stack_info): Add SPE info.
8816         (gen_frame_mem_offset): New.
8817         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
8818         Change mode of frame pointer, when saving it, to Pmode.
8819         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
8820         Misc cleanups and use gen_frame_mem_offset when appropriate.
8821
8822         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
8823         (TARGET_SPE_ABI): New.
8824         (TARGET_SPE): New.
8825         (TARGET_ISEL): New.
8826         (TARGET_FPRS): New.
8827         (FIXED_SCRATCH): New.
8828         (RTX_COSTS): Add PROCESSOR_PPC8540.
8829         (ASM_CPU_SPEC): Add case for 8540.
8830         (TARGET_OPTIONS): Add isel= case.
8831         (rs6000_spe_abi): New.
8832         (rs6000_isel): New.
8833         (rs6000_fprs): New.
8834         (rs6000_isel_string): New.
8835         (UNITS_PER_SPE_WORD): New.
8836         (LOCAL_ALIGNMENT): Adjust for SPE.
8837         (HARD_REGNO_MODE_OK): Same.
8838         (DATA_ALIGNMENT): Same.
8839         (MEMBER_TYPE_FORCES_BLK): New.
8840         (FIRST_PSEUDO_REGISTER): Set to 113.
8841         (FIXED_REGISTERS): Add SPE registers.
8842         (reg_class): Same.
8843         (REG_CLASS_NAMES): Same.
8844         (REG_CLASS_CONTENTS): Same.
8845         (REGNO_REG_CLASS): Same.
8846         (REGISTER_NAMES): Same.
8847         (DEBUG_REGISTER_NAMES): Same.
8848         (ADDITIONAL_REGISTER_NAMES): Same.
8849         (CALL_USED_REGISTERS): Same.
8850         (CALL_REALLY_USED_REGISTERS): Same.
8851         (SPE_ACC_REGNO): New.
8852         (SPEFSCR_REGNO): New.
8853         (SPE_SIMD_REGNO_P): New.
8854         (HARD_REGNO_NREGS): Adjust for SPE.
8855         (VECTOR_MODE_SUPPORTED_P): Same.
8856         (REGNO_REG_CLASS): Same.
8857         (FUNCTION_VALUE): Same.
8858         (LIBCALL_VALUE): Same.
8859         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
8860         (SPE_VECTOR_MODE): New.
8861         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
8862         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
8863         (rs6000_stack): Add spe_gp_size, spe_padding_size,
8864         spe_gp_save_offset.
8865         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
8866         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
8867         (SPE_CONST_OFFSET_OK): New.
8868         (rs6000_builtins): Add SPE builtins.
8869
8870         * testsuite/gcc.dg/ppc-spe.c: New.
8871
8872         * config/rs6000/eabispe.h: New.
8873
8874         * config/rs6000/spe.h: New.
8875
8876         * config/rs600/spe.md: New.
8877
8878         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
8879         __SIMD__ for TARGET_SPE.
8880
8881         * config.gcc: Add powerpc-*-eabispe* case.
8882         Add spe.h to user headers for powerpc.
8883
8884 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
8885
8886         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
8887         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8888         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
8889
8890 2002-07-24  Richard Henderson  <rth@redhat.com>
8891
8892         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
8893         form when not optimizing.
8894
8895 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
8896
8897         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
8898         thread_pointer_rtx as unchanging.
8899
8900 2002-07-24  Michael Matz  <matz@suse.de>
8901
8902         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
8903         (free_reg): Use it.
8904
8905 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
8906
8907         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
8908         pattern.
8909         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
8910         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
8911
8912 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
8913
8914         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
8915         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
8916         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
8917
8918 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
8919
8920         * toplev.c (rest_of_compilation): Dump loops before clobbering
8921         the structure.
8922
8923 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
8924
8925         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
8926
8927 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
8928
8929         PR optimization/7291
8930         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
8931         problem on x86_64.
8932
8933 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
8934
8935         * pretty-print.h: Add macros from cp/error.c
8936
8937 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
8938
8939         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
8940         (mask64_2_operand): Declare.
8941         (build_mask64_2_operands): Declare.
8942         (and64_2_operand): Declare.
8943         (extract_MB): Declare.
8944         (extract_ME): Declare.
8945         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
8946         CONST_DOUBLE code.
8947         (mask_operand_wrap): New insn predicate.
8948         (mask64_2_operand): Likewise.
8949         (and64_2_operand): Likewise.
8950         (build_mask64_2_operands): New function.
8951         (extract_MB): New function.
8952         (extract_ME): New function.
8953         (print_operand <case m,M>): Use extract_MB and extract_ME.
8954         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
8955         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
8956         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
8957         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
8958         * config/rs6000/rs6000.md (andsi3_internal3): New
8959         (andsi3_internal3+1): Enable split for powerpc64.
8960         (andsi3_internal3+2): New split.
8961         (andsi3_internal4): Renamed old andsi3_internal3.
8962         (andsi3_internal5): New.
8963         (andsi3_internal5+1): Enable split for powerpc64.
8964         (andsi3_internal5+2): New split.
8965         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
8966         (anddi3): Handle 't' constraint.
8967         (anddi3+1): New split.
8968         (anddi3_internal2): Handle 't' constraint.
8969         (anddi3_internal2+1): New split.
8970         (anddi3_internal3): Handle 't' constraint.
8971         (anddi3_internal3+1): New split.
8972
8973 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
8974
8975         * config/rs6000/rs6000.md: Remove scratch reg on insns using
8976         addze and similar (plus (comparison r1 r2) r3) insns.  Add
8977         missing scratch reg in one case.  Formatting fixes.
8978
8979 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
8980
8981         * cppexp.c (parse_defined): Mark macro used.
8982         * cpphash.h (struct cpp_macro): New member "used".
8983         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
8984         (struct cpp_reader): New member.
8985         * cppinit.c (cpp_finish_options): Set first_unused_line.
8986         (cpp_finish): Warn of unused macros if requested.
8987         (OPT_TABLE): New switches.
8988         (cpp_handle_option): Handle them.
8989         * cpplib.c (do_undef): Warn if macro unused.
8990         (do_ifdef, do_ifndef): Mark macro used.
8991         * cpplib.h (struct cpp_options): New member.
8992         * cppmacro.c (_cpp_warn_if_unused_macro): New.
8993         (enter_macro_context): Mark macro used.
8994         (_cpp_create_definition): Mark macro unused; warn if unused
8995         when redefined.
8996         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
8997         Mark macros used.
8998         * doc/cppopts.texi: Update.
8999
9000 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9001
9002         * dwarf2out.c (SECTION_ASM_OP,
9003         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9004         * system.h (SECTION_ASM_OP): Poison.
9005         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
9006         * config/alpha/alpha-interix.h, config/mips/linux.h
9007         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9008         * config/mmix/mmix-protos.h, config/mmix/mmix.c
9009         (mmix_asm_output_define_label_difference_symbol): Remove.
9010         * config/mmix/mmix.h
9011         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
9012         * doc/tm.texi: Remove documentation.
9013
9014 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
9015
9016         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
9017         (constrain_operands): Likewise.
9018         * regclass.c (record_reg_classes): Likewise.
9019         * reload.c (find_reloads): Likewise.
9020         * doc/md.texi: Likewise.
9021
9022         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
9023         * simplify-rtx.c (simplify_subreg): When converting to a non-int
9024         mode, try to convert to an integer mode of matching size first.
9025
9026         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
9027         from individual subregs, check that each subreg has been generated
9028         sucessfully.
9029
9030 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9031
9032         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
9033         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
9034         FOR_EACH_BB_IN_SBITMAP): Remove.
9035         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
9036         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
9037         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
9038         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
9039         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
9040         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
9041
9042 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9043
9044         * pretty-print.h: New file.
9045
9046 2002-07-23      Paul Koning     <pkoning@equallogic.com>
9047
9048         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
9049         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
9050         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
9051         (TARGET_G_FLOAT): Default to 0 if not defined.
9052         (ieeetoe): New, common routine to convert target format floats
9053         to internal form.
9054         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
9055         vs. others.
9056         (e113toe): Change to use ieeetoe.
9057
9058 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9059
9060         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
9061         IBM.
9062         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
9063         (e64toe): Remove special cases for DEC and IBM. Remove support for
9064         ARM_EXTENDED_IEEE_FORMAT.
9065         (e24toe): Remove special cases for DEC.
9066         (significand_size): Simplify. Indent.
9067         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
9068         (etoieee, toieee): New.
9069         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
9070         etoieee and toieee for IEEE arithmetic.
9071
9072 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9073
9074         * doc/extend.texi: Say ISO C90, not ISO C89.
9075         * doc/invoke.texi: Likewise.
9076         * doc/standards.texi: Likewise.
9077
9078 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
9079
9080         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
9081         Fix permutation of conversion and plus/mult.
9082         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
9083         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
9084         (expand_builtin_strncpy) Ditto.
9085         (expand_builtin_memset) Ditto.
9086
9087 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
9088
9089         Fix PR/7363:
9090         * c-common.c (c_sizeof_or_alignof_type): New function.
9091         (c_alignof): Remove definition.
9092         * c-common.h (c_sizeof, c_alignof): Define as macros.
9093         (c_sizeof_or_alignof_type): Declare.
9094         (my_friendly_assert): Moved from cp/cp-tree.h
9095         * c-typeck.c (c_sizeof): Remove definition.
9096
9097 2002-07-23  Jan Hubicka  <jh@suse.cz>
9098
9099         * gcse.c (try_replace_reg): Use num_changes_pending.
9100         * recog.c (num_changes_pending): New function.
9101         (validate_replace_src): Use validate_repalce_src_group.
9102         (validate_replace_src_group): New.
9103         * recog.h (validate_repalce_src_group): New.
9104         (num_changes_pending): Likewise.
9105
9106 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
9107
9108         * calls.c (emit_library_call_value_1): If
9109         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
9110         libcall, const call nor pure call.
9111
9112 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9113
9114         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
9115
9116 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9117
9118         * vmsdbgout.c (SECTION_ASM_OP): Remove.
9119
9120 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9121
9122         * config/i386/i386.c (AT_BP): Remove.
9123
9124 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
9125
9126         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
9127         Default definition.
9128         * gcse.c: Don't define obstack_chunk_free.
9129         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
9130         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
9131         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
9132         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
9133         Don't define obstack macros.
9134
9135 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
9136
9137         PR target/6744
9138         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
9139         ASM_OPERANDS instructions.
9140
9141 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
9142
9143         PR target/7361
9144         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
9145         constant addresses only on 68HC12.
9146
9147 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
9148
9149         * cppfiles.c (stack_include_file): Correct test of whether
9150         a dependency should be output.
9151
9152 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
9153
9154         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
9155
9156 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
9157
9158         * arm.md (movqi): If optimizing and we can create pseudos, use
9159         a ZERO_EXTEND to load from memory, then copy the result into the
9160         target.
9161         (movhi): Likewise, but only for ARMv4.
9162
9163 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
9164
9165         * ssa-ccp.c (PHI_PARMS): Remove.
9166
9167 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
9168
9169         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
9170         on big-endian targets.
9171
9172 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9173
9174         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
9175         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
9176         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
9177         New formatting macros.
9178
9179         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
9180
9181 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
9182
9183         * rtlanal.c (subreg_regno_offset): Return correct offset for
9184         big endian paradoxical subregs.
9185
9186         * optabs.c (expand_vector_unop): Don't expand using sub_optab
9187         if we got the wrong mode.
9188
9189         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
9190         * genrecog.c (write_switch, write_cond): Use it.
9191         * genemit.c (gen_exp): Likewise.
9192
9193 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
9194
9195         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
9196
9197 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
9198
9199         * c-decl.c (build_compound_literal): Defer compound literal decls
9200         until until file end to emit them only if they are actually used.
9201
9202 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9203
9204         * ra-build.c (check_conflict_numbers): Hide unused function.
9205         (livethrough_conflicts_bb): Avoid automatic aggregate
9206         initialization.
9207         (parts_to_webs_1): Avoid `U' integer constant modifier.
9208         (conflicts_between_webs): Wrap a variable in the macro controlling
9209         its usage.
9210         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
9211         (dump_igraph, dump_graph_cost): Avoid string concatenation
9212         (dump_static_insn_cost): Avoid automatic aggregate
9213         initialization.
9214         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
9215         initialization.
9216         (dump_cost): Avoid string concatenation
9217
9218 2002-07-21  Richard Henderson  <rth@redhat.com>
9219
9220         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
9221         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
9222
9223 2002-07-21  Richard Henderson  <rth@redhat.com>
9224
9225         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
9226         that are not unrolled completely.
9227
9228 2002-07-21  Richard Henderson  <rth@redhat.com>
9229
9230         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
9231         * loop.c (strength_reduce): Update.
9232         * toplev.c (rest_of_compilation): Do unrolling in the first
9233         loop pass, not the second.
9234
9235 2002-07-21  Richard Henderson  <rth@redhat.com>
9236
9237         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
9238         when flag_argument_noalias == 2.
9239         * alias.c (nonoverlapping_memrefs_p): Handle that.
9240         * print-rtl.c (print_mem_expr): Likewise.
9241
9242 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
9243
9244         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
9245         instead of __negdi2 directly.
9246
9247 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9248
9249         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
9250         * function.c (SYMBOL__MAIN): Remove definition.
9251         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
9252         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
9253         * profile.c (GCOV_INDEX_TO_BB): Remove.
9254         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
9255         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
9256
9257 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9258
9259         * c-lex.c (GET_ENVIRONMENT): Remove.
9260         * collect2.c (GET_ENV_PATH_LIST): Remove.
9261         (prefix_from_env): Use GET_ENVIRONMENT.
9262         * cppinit.c (GET_ENV_PATH_LIST): Remove.
9263         (init_standard_includes): Use GET_ENVIRONMENT.
9264         * defaults.h (GET_ENVIRONMENT): Define here if not already.
9265         * gcc.c (GET_ENV_PATH_LIST): Remove.
9266         (make_relative_prefix, process_command): Update.
9267         * protoize.c (GET_ENV_PATH_LIST): Remove.
9268         (do_processing): Update.
9269
9270 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
9271
9272         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
9273         (grokdeclarator): Likewise.
9274         * c-format.c (C_STD_NAME): Likewise.
9275         * c-lex.c (interpret_integer): Likewise.
9276         * c-typeck.c (build_array_ref): Likewise.
9277         * cpplex.c (_cpp_lex_direct): Likewise.
9278         * toplev.c (documented_lang_options): Likewise.
9279
9280 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9281
9282         * c-format.c (T99_I, T99_UI): Remove.
9283
9284 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
9285
9286         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
9287
9288 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
9289
9290         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
9291         do_local_cprop.
9292
9293 2002-07-21  Andreas Jaeger  <aj@suse.de>
9294
9295         * reload1.c (fixup_abnormal_edges): Remove unused variable.
9296
9297 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
9298
9299         Improvements for the ifcvt pass from Michael Meissner, with patches
9300         by Richard Sandiford <rsandifo@redhat.com>
9301         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
9302         * ifcvt.c (cond_exec_changed_p): New static variable.
9303         (last_active_insn): New function, renamed from last_active_insn_p
9304         and changed to return the last active insn in a basic block. All
9305         callers updated.
9306         (block_fallthru): New function.
9307         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
9308         IFCVT_MODIFY_INSN.  All callers updated.
9309         Return false if START or END are NULL.
9310         Handle case where we're processing an insn that is already
9311         conditional.
9312
9313         (noce_process_if_block): CE_INFO argument rather than
9314         multiple args containing the involved basic blocks.  All callers
9315         changed.
9316         (process_if_block, merge_if_block, find_if_block,
9317         cond_exec_process_if_block): Likewise.
9318
9319         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
9320         changed.
9321         Use new function last_active_insn to simplify some code.
9322         New code to handle multiple tests.
9323         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
9324         cond_exec_changed_p to TRUE.
9325
9326         (process_if_block): New code to handle multiple tests.
9327         (merge_if_block): Likewise.
9328         (find_if_header): New arg PASS.  Changed to return the currently
9329         processed basic block or NULL instead of true/false. All callers
9330         changed.
9331         Call IFCVT_INIT_EXTRA_FIELDS.
9332         (block_jumps_and_fallthru_p): New function.
9333         (find_if_block): Discover opportunities to convert multiple tests.
9334         Add additional debugging output.
9335         Update the ce_info structure before returning.
9336
9337         (if_convert): Run multiple passes of if-conversion.
9338         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
9339         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
9340         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
9341         these macros.
9342
9343 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
9344
9345         * gcse.c: Include cselib.h
9346         (constptop_register): Break out from ...
9347         (cprop_insn): ... here; kill basic_block argument.
9348         (do_local_cprop, local_cprop_pass): New functions.
9349         (one_cprop_pass): Call local_cprop_pass.
9350
9351 2002-07-20  Roger Sayle  <roger@eyesopen.com>
9352
9353         * simplify-rtx.c (simplify_relational_operation): Optimize
9354         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
9355
9356 2002-07-20  Michae Matz  <matz@suse.de>
9357
9358         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
9359
9360 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
9361
9362         * cppexp.c (struct op): Add token pointer.
9363         (check_promotion, CHECK_PROMOTION): New.
9364         (optab): Update.
9365         (_cpp_parse_expr): Update, use token pointer of struct op.
9366         (reduce): Warn about change of sign owing to promotion.
9367         * cppinit.c (cpp_handle_option): New warning if -Wall.
9368         * cpplib.h (struct cpp_options): New member.
9369
9370 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
9371
9372         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
9373         fpu list.  Separate Power4 compare and delayed_compare.  Correct
9374         Power4 fpcompare.
9375         (fix_truncdfsi2_internal): Restore FPR preference.
9376         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
9377         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
9378
9379 2002-07-19  Momchil Velikov <velco@fadata.bg>
9380
9381         * reload1.c (reload_as_needed): Duplicate oldpat.
9382
9383 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
9384
9385         PR optimization/7130
9386         * loop.h (struct loop_info): Add "preconditioned".
9387         * unroll.c (unroll_loop): Set it.
9388         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
9389
9390 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
9391
9392         * rtl.def (CODE_LABEL): Remove slot 8.
9393         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
9394         (LABEL_ALTERNATE_NAME): Delete.
9395         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
9396         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
9397
9398         * final.c (output_alternate_entry_point): New.
9399         (final_scan_insn): Use it instead of
9400         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
9401         of a case label being an alternate entry point.
9402
9403         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
9404         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
9405         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
9406         (field deleted).
9407         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
9408
9409         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
9410         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
9411         * doc/tm.texi: Delete documentation of
9412         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
9413
9414 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9415
9416         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
9417         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
9418         (LINK_SPEC): Define.
9419         (STARTFILE_SPEC): Define.
9420         (ENDFILE_SPEC): Define.
9421
9422         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
9423         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
9424
9425         * config/mips/iris6-o32-gas.h: New file.
9426         * config.gcc (mips-sgi-irix6*o32): Use it.
9427
9428         * config/mips/t-iris5-gas: New file.
9429         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
9430
9431 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
9432
9433         * cppexp.c (ALWAYS_EVAL): Remove.
9434         (optab, reduce): Always evaluate.
9435         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
9436         only if not skipping evaluation.
9437
9438 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9439
9440         * config/avr/avr.c (debug_hard_reg_set): Remove.
9441
9442 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
9443
9444         * gcc.c (cpp_options): Include "%1" (cc1_spec).
9445
9446 2002-07-19  Richard Henderson  <rth@redhat.com>
9447
9448         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
9449
9450 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
9451
9452         * prefix.c (update_path): Don't zap single `.' path components
9453         unless followed by another `.' and fix typo last patch.
9454
9455 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
9456
9457         * cppexp.c (cpp_num_mul): Remove unused parameter.
9458         (UNARY, BINARY, OTHER, binary_handler): Remove.
9459         (ALWAYS_EVAL): New.
9460         (optab): Update.
9461         (reduce): Refactor to a large switch, don't use a function
9462         pointer.
9463
9464 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
9465
9466         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
9467
9468 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
9469
9470         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
9471         (sh_expand_binop_v2sf): Likewise.
9472         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
9473         (int_gpr_dest, trunc_hi_operand): New functions.
9474         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
9475         trunc_hi_operand.
9476         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
9477         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
9478         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
9479         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
9480         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
9481         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
9482         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
9483         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
9484         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
9485         (movsf_ie+1): Likewise.
9486         (loaddi_trunc): Use int_gpr_dest predicate.
9487         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
9488         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
9489         (casesi_worker_0+[12], casesi_worker): Likewise.
9490         (shcompact_preserve_incoming_args): Likewise.
9491         (mov_nop): Use any_register_operand predicate.
9492         (mperm_w0): Use trunc_hi_operand predicate.
9493
9494 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9495
9496         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
9497         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
9498         numbering.
9499
9500 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9501
9502         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
9503
9504 2002-07-18  Richard Henderson  <rth@redhat.com>
9505
9506         PR optimization/7147
9507         * ifcvt.c (noce_get_condition): Make certain that the condition
9508         is valid at JUMP.
9509
9510 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
9511
9512         * sh.c (barrier_align, push): Shut up compiler warnings.
9513         (initial_elimination_offset,sh_media_init_builtins): Likewise.
9514         (reg_no_subreg_operand): Delete.
9515
9516 2002-07-17  Bo Thorsen  <bo@suse.de>
9517
9518         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
9519         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
9520         (STARTFILE_SPEC): Remove hardcoded library paths.
9521         (ENDFILE_SPEC): Likewise.
9522
9523 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
9524
9525         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
9526
9527         * gcse.c (try_replace_reg): Do not return false positives.
9528
9529 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
9530
9531         * prefix.c: (update_path): Strip ".." components when prior dir
9532         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
9533
9534         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
9535         (ASM_OUTPUT_REG_POP): Likewise.
9536
9537 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
9538
9539         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
9540         adjustments to first_reg for profiling case.
9541         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
9542         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
9543         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
9544         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
9545         (ASM_OUTPUT_REG_POP): Define.
9546         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
9547         (ASM_OUTPUT_REG_POP): Undef.
9548
9549 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
9550
9551         * cpplib.c (do_sccs): Handle #sccs on all systems.
9552         * system.h (SCCS_DIRECTIVE): Poison.
9553         * config/darwin.h, config/freebsd.h, config/netbsd.h,
9554         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
9555         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
9556         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
9557         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
9558         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
9559         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
9560         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
9561         Remove all references to SCCS_DIRECTIVE.
9562         * doc/cpp.texi, doc/tm.texi: Update.
9563
9564 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
9565
9566         * regrename.c (maybe_mode_change): New function.
9567         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
9568
9569 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
9570
9571         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
9572         suppress addition when either ct or cf are zero.
9573
9574 2002-06-17  Eric Botcazou <ebotcazou@multimania.com>
9575             Glen Nakamura <glen@imodulo.com>
9576
9577         PR optimization/6713
9578         * loop.c (loop_givs_rescan): Explicitly delete the insn that
9579         sets a non-replaceable giv after issuing the new one.
9580
9581 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
9582
9583         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
9584         eval_token): Clarify and correct use of "bool" variables.
9585         * cpplib.h (struct cpp_options): Similarly.
9586         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
9587         * cpptrad.c (recursive_macro): Similarly.
9588
9589 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
9590
9591         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
9592         SHmedia code.
9593
9594         * sh.md (cmpgtudi_media): Remove spurious @.
9595
9596         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
9597         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
9598
9599         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
9600         * sh-protos.h (sh_initialize_trampoline): Declare.
9601         * sh.c (sh_initialize_trampoline): New function.
9602         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
9603         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
9604         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
9605         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
9606         * sh.md (initialize_trampoline, double_shori): New patterns.
9607         (initialize_trampoline_compact): Likewise.
9608         (shmedia32_initialize_trampoline_big): Remove.
9609         (shmedia32_initialize_trampoline_little): Likewise.
9610
9611         * sh-protos.h (binary_float_operator): Remove declaration.
9612         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
9613         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
9614         (unary_float_operator, sh_expand_unop_v2sf): New functions.
9615         (sh_expand_binop_v2sf): Likewise.
9616         (zero_vec_operand): Delete.
9617         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
9618         all non-shared ones.
9619         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
9620         Enable nsb and byterev.
9621         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
9622         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
9623         in general regs.
9624         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
9625         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
9626         immediate operands.
9627         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
9628         Add DF_HI_REGS.
9629         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
9630         lowpart fp regs - only for big endian for now.
9631         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
9632         when FPU is in use.
9633         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
9634         (LOAD_EXTEND_OP): NIL for SImode.
9635         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
9636         general and fp registers is 4.
9637         PREDICATE_CODES: Amend binary_float_operator entry.
9638         Remove zero_vec_operand.  Add unary_float_operator.
9639         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
9640         subreg SET_DEST.
9641         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
9642         (truncdiqi2): Do sign extension.
9643         (movsi_media, movdi_media): Allow to use r63 to an fp register.
9644         (movdf_media, movsf_media): Likewise.
9645         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
9646         Collapse to one define_insn_and_split.  Allow immediate sources.
9647         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
9648         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
9649         (movv4sf): Allow immediate sources.
9650         (movsf_media_nofpu+1): Don't split moves to FP registers.
9651         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
9652         (movv8qi_i+3): Check against CONST0_RTX.
9653         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
9654         for input and output operands.  Fix argument 3 to gen_mextr_rl.
9655         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
9656         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
9657         (mshf0_w, fipr, ftrv): Likewise.
9658         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
9659
9660 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
9661
9662         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
9663         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
9664         * arm.c: Similarly.
9665
9666 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
9667
9668         * config/mips/mips-protos.h (mips_sign_extend): Declare.
9669         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
9670         (TARGET_SWITCHES): Remove debugh.
9671         (ISA_HAS_TRUNC_W): New macro.
9672         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
9673         (PREDICATE_CODES): Remove se_nonimmediate_operand.
9674         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
9675         any SImode move_operand.
9676         (se_nonimmediate_operand): Remove.
9677         (mips_sign_extend): New.
9678         (mips_move_2words): Use it for sign-extended source operands.
9679         (override_options): Allow integers to be put into single FPRs.
9680         (mips_secondary_reload_class): Handle integers in float registers.
9681         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
9682         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
9683         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
9684         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
9685         (fix_truncdfdi2): Provide only a single alternative, in which the
9686         integer is in a float register.  Depend on TARGET_FLOAT64 rather
9687         than TARGET_64BIT.
9688         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
9689         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
9690         (movdi_internal2): Don't allow the source operand to be sign-extended.
9691         Add alternatives for float registers.
9692         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
9693         allows sign-extension.
9694         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
9695         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
9696         float registers.  Remove TARGET_DEBUG_H_MODE test.
9697         (movhi_internal1): Rename to movhi_internal.  Don't check
9698         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
9699         (movqi_internal1): Rename to movqi_internal and remove
9700         TARGET_DEBUG_H_MODE dependency.
9701         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
9702
9703 2002-07-16  Jim Wilson  <wilson@redhat.com>
9704
9705         * toplev.c (lang_dependent_init): Create function context for
9706         init_expr_once.
9707
9708 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
9709
9710         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
9711         --gc-sections if -r.
9712         * config/cris/cris.h: Ditto.
9713
9714 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
9715
9716         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
9717         the comparison directly gives a mask suppress addition when cf is
9718         zero by complementing the mask.
9719
9720 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
9721
9722         * Makefile.in: Delete references to enquire.
9723         * enquire.c: Move to contrib.
9724
9725 2002-07-16  Stan Shebs  <shebs@apple.com>
9726
9727         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
9728         config/rs6000/darwin.h.
9729         (ASM_OUTPUT_SKIP): Ditto.
9730         (TEXT_SECTION_ASM_OP): Ditto.
9731         (DATA_SECTION_ASM_OP): Ditto.
9732         (ASM_APP_ON): Define.
9733         (ASM_APP_OFF): Define.
9734         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
9735         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
9736
9737         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
9738         (machopic_function_base_name): Declare result to be const.
9739         (machopic_non_lazy_ptr_name): Ditto.
9740         (machopic_stub_name): Ditto.
9741         * config/darwin-protos.h: Ditto for the prototypes.
9742
9743 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
9744
9745         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
9746
9747 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
9748
9749         * i386.md (prefetch): Fix for 64bit mode.
9750         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
9751
9752 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
9753
9754         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
9755         * i386.c (x86_machine_dependent_reorg): New function.
9756         * i386-protos.h (x86_machine_dependent_reorg): Declare.
9757
9758 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
9759
9760         * builtins.c (std_expand_builtin_va_start): Remove unused
9761         first argument.
9762         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
9763         std_expand_builtin_va_start with just two arguments.
9764         * expr.h: Update prototypes.
9765
9766         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
9767         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
9768         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
9769         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
9770         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
9771         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
9772         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
9773         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
9774         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
9775         argument from all implementations of EXPAND_BUILTIN_VA_START
9776         and all uses of std_expand_builtin_va_start.
9777
9778 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
9779
9780         * regrename.c (copy_value): Don't record high part copies.
9781
9782 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
9783
9784         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
9785         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
9786         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
9787
9788 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
9789
9790         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
9791
9792         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
9793         into addsi3 using register class "x" and "y".
9794
9795         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
9796         "earlyclobber" constraint modifier for some alternative.
9797
9798         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
9799         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
9800         unordered.
9801         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
9802
9803         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
9804         (TARGET_SWITCHES): Add -mieee-compare option.
9805         (OVERRIDE_OPTIONS): 32332 is a subset of
9806         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
9807         (TARGET_SWITCHES): Fix description of bit-field option.
9808         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
9809         -mieee-compare option. Remove 32332 flag.
9810
9811 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
9812
9813         * explow.c (convert_memory_address): Remove special handling
9814         when POINTERS_EXTEND_UNSIGNED < 0.
9815         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
9816         (movedi_symbolic): Fix typo.
9817         (load_fptr): Remove mode restriction so it works for SI and DI.
9818         (load_fptr_internal1): Ditto.
9819         (load_gprel): Ditto.
9820         (load_symptr_internal1): Ditto.
9821         (call_pic): Ditto.
9822         * config/ia64.c (call_operand): Modify mode check.
9823         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
9824         (ia64_expand_move): Ditto.
9825         (ia64_assemble_integer): Handle SImode function pointers.
9826         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
9827         (ia64_expand_op_and_fetch): Ditto.
9828         (ia64_expand_compare_and_swap): Ditto.
9829         (ia64_expand_lock_test_and_set): Ditto.
9830         (ia64_expand_lock_release): Ditto.
9831
9832 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9833
9834         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
9835
9836 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9837             Richard Earnshaw  <rearnsha@arm.com>
9838
9839         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
9840         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
9841
9842 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
9843
9844         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
9845         understands to be a memory clobber.
9846         * arm.c (arm_expand_prologue): Use it.
9847
9848 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
9849
9850         * ra-rewrite.c: #include reload.h, insn-config.h
9851         * ra-build.c: #include reload.h
9852         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
9853         depend on reload.h, insn-config.h.
9854
9855 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
9856
9857         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
9858         the same size as a word.
9859
9860         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
9861         BYTES_BIG_ENDIAN into account.
9862
9863 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
9864
9865         * i386.md (prefetch): Fix for 64bit mode.
9866         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
9867
9868         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
9869
9870 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9871
9872         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
9873
9874 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
9875
9876         * ginclude/varargs.h: Replace with stub which issues #error.
9877         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
9878         __builtin_va_start.
9879
9880         * builtins.def (BUILT_IN_VARARGS_START): Delete.
9881         (BUILT_IN_VA_START): New.
9882         * builtins.c (expand_builtin_va_start): Eliminate first
9883         argument and code to implement pre-ISO varargs.
9884         (std_expand_builtin_va_start): Ignore first argument; it is
9885         always 1.
9886         (expand_builtin): Handle BUILT_IN_VA_START and
9887         BUILT_IN_STDARG_START identically.  Delete
9888         BUILT_IN_VARARGS_START case.
9889
9890         * function.c (assign_parms): Delete hide_last_arg and all
9891         its uses.
9892         (mark_varargs): Delete function.
9893         * function.h (struct function): Delete 'varargs' bit.
9894         (current_function_varargs): Delete macro.
9895         * tree.h: Don't declare mark_varargs.
9896
9897         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
9898         (c_expand_body): Don't call mark_varargs.
9899         * c-objc-common.c: Handle BUILT_IN_VA_START and
9900         BUILT_IN_STDARG_START identically.  Delete
9901         BUILT_IN_VARARGS_START case.
9902         * c-tree.h: Don't declare c_mark_varargs.
9903         * c-parse.in: Remove grammar rules for '&...' (which has been
9904         commented out since before 2.7.2) and for '...' in K+R
9905         argument declarations.
9906
9907         * builtins.c, function.c, integrate.c, sibcall.c,
9908         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
9909         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
9910         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
9911         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
9912         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
9913         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
9914         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
9915         config/stormy16/stormy16.c: Delete all references to
9916         current_function_varargs, and code predicated on that flag.
9917
9918         * config/alpha/alpha.c (alpha_va_start),
9919         config/arc/arc.c (arc_va_start),
9920         config/i386/i386.c (ix86_va_start),
9921         config/mips/mips.c (mips_va_start),
9922         config/mn10300/mn10300.c (mn10300_va_start),
9923         config/rs6000/rs6000.c (rs6000_va_start),
9924         config/s390/s390.c (s390_va_start),
9925         config/sh/sh.c (sh_va_start),
9926         Ignore first argument; it is always 1.
9927
9928         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
9929         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
9930         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
9931         Delete m68hc11_va_start.
9932         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
9933         No need to define EXPAND_BUILTIN_VA_START.
9934
9935         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
9936         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
9937
9938 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
9939
9940         PR optimization/7153
9941         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
9942         dies in more than one insn.
9943
9944 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
9945
9946         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
9947
9948 2002-07-15  Michael Matz  <matz@suse.de>,
9949             Daniel Berlin  <dberlin@dberlin.org>,
9950             Denis Chertykov  <denisc@overta.ru>
9951
9952         Add a new register allocator.
9953
9954         * ra.c: New file.
9955         * ra.h: New file.
9956         * ra-build.c: New file.
9957         * ra-colorize.c: New file.
9958         * ra-debug.c: New file.
9959         * ra-rewrite.c: New file.
9960
9961         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
9962         (ra-rewrite.o): New .o files for libbackend.a.
9963         (GTFILES): Add basic-block.h.
9964
9965         * toplev.c (flag_new_regalloc): New.
9966         (f_options): New option "new-ra".
9967         (rest_of_compilation): Call initialize_uninitialized_subregs()
9968         only for the old allocator.  If flag_new_regalloc is set, call
9969         new allocator, instead of local_alloc(), global_alloc() and
9970         friends.
9971
9972         * doc/invoke.texi: Document -fnew-ra.
9973         * basic-block.h (FOR_ALL_BB): New.
9974         * config/rs6000/rs6000.c (print_operand): Write small constants
9975         as @l+80.
9976
9977         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
9978         (df_reg_table_realloc): Make size at least as large as max_reg_num().
9979         (df_insn_table_realloc): Size argument now is absolute, not relative.
9980         Changed all callers.
9981
9982         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
9983         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
9984
9985         2002-06-20  Michael Matz  <matz@suse.de>
9986
9987         * df.h (struct ref.id): Make unsigned.
9988         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
9989
9990         2002-06-13  Michael Matz  <matz@suse.de>
9991
9992         * df.h (DF_REF_MODE_CHANGE): New flag.
9993         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
9994         involving subregs with invalid mode changes, when
9995         CLASS_CANNOT_CHANGE_MODE is defined.
9996
9997         2002-05-07  Michael Matz  <matz@suse.de>
9998
9999         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
10000
10001         2002-05-03  Michael Matz  <matz@suse.de>
10002
10003         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
10004
10005         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
10006
10007         * regclass.c (regclass): Work with all regs which have sets or
10008         refs.
10009         (reg_scan_mark_refs): Count regs inside (clobber ...).
10010
10011         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
10012
10013         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
10014         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
10015         add new refs.
10016         (df_bb_refs_update): Don't clear insns_modified here, ...
10017         (df_analyse): ... but here.
10018
10019         * sbitmap.c (dump_sbitmap_file): New.
10020         (debug_sbitmap): Use it.
10021
10022         * sbitmap.h (dump_sbitmap_file): Add prototype.
10023
10024         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
10025
10026         * df.c (df_insn_modify): Grow the UID table if necessary, rather
10027         than assume all emits go through df_insns_modify.
10028
10029         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
10030
10031         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
10032         increase REG_N_REFS (like flow does), so that regclass doesn't
10033         think a reg is useless, and thus, not calculate a class, when it
10034         really should have.
10035
10036         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
10037
10038         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
10039         dataflow analysis.
10040
10041 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
10042
10043         PR middle-end/7245
10044         * config/i386/i386.c (const_int_1_31_operand): New.
10045         * config/i386/i386.h (PREDICATE_CODES): Add it.
10046         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
10047         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
10048         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
10049
10050 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
10051
10052         PR target/7282
10053         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
10054         (floatunssidf2): Likewise.
10055         (floatsidf_ppc64): New insn_and_split.
10056         (floatunssidf_ppc64): Likewise.
10057
10058 2002-07-14  Andreas Jaeger  <aj@suse.de>
10059
10060         * config.gcc (sh64): Remove unused
10061         target_requires_64bit_host_wide_int.
10062
10063 2002-07-12  Roger Sayle  <roger@eyesopen.com>
10064
10065         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
10066         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
10067         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
10068         whether clear_by_pieces should be used to clear storage.
10069         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
10070
10071         * doc/tm.texi: Document these two new target macros.
10072
10073 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
10074
10075         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
10076         the scratch register.
10077         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
10078         of it, forbid reload to use it.
10079
10080 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
10081
10082         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
10083         usage on 64-bit hosts, return value was truncated to 32 bits.
10084
10085 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
10086
10087         * simplify-rtx.c (simplify_subreg): Handle floating point
10088         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
10089         the element mode is requested, compute a subreg with an
10090         integer mode of the same size as the element mode first.
10091
10092 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
10093
10094         * combine.c (try_combine): When converting a paradoxical subreg
10095         to an extension, take LOAD_EXTEND_OP into account.
10096
10097 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10098
10099         * config.gcc (mips-sgi-irix6*o32): New configuration.
10100
10101         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
10102         configurations.
10103         * configure: Regenerate.
10104
10105         * config/mips/iris6-o32-as.h: New file.
10106         * config/mips/iris6-o32.h: New file.
10107
10108         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
10109         (NM_FLAGS): Define.
10110         (HAVE_AS_SHF_MERGE): Undefine.
10111
10112         * config/mips/t-iris5-as: New file.
10113         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
10114
10115         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
10116         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
10117         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
10118         dp-bit.c, fp-bit.c): Move ...
10119         * config/mips/t-iris5-6: ... here.
10120         New file, shared by IRIX 5 and IRIX 6.
10121         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
10122         mips-sgi-irix5*): Use it.
10123
10124         * config/mips/iris6.h: Remove duplicate comment.
10125
10126         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
10127         !TARGET_IRIX6]: Define.
10128         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
10129
10130         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
10131
10132 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10133
10134         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
10135         and delete code to force constant to register.
10136         * pa-protos.h (adddi3_operand): Add prototype.
10137         * pa.c (adddi3_operand): New function.
10138
10139 2002-07-11  Roger Sayle  <roger@eyesopen.com>
10140
10141         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
10142         non-ANSI builtin functions.
10143
10144 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
10145
10146         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
10147         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
10148         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
10149         (gen_const_vector_0): Use it.
10150
10151 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10152
10153         * pa.md (adddi3): For 32-bit targets, force constants to a register
10154         if they don't fit in an 11-bit immediate.  Change insn predicate to
10155         arith11_operand.  Remove comment.
10156         * pa.c (cint_ok_for_move): Fix comment.
10157         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
10158         targets.
10159
10160 2002-07-11  Tim Josling  <tej@melbpc.org.au>
10161
10162         Remove front end hard coding from gengtype.c.
10163
10164         * Makefile.in
10165         (STAGESTUFF): add gtyp-gen.h
10166         (GTFILES): Remove front end specific files.
10167         (GTFILES_FILES_LANGS): New, from configure..
10168         (GTFILES_FILES_FILES): Likewise.
10169         (GTFILES_LANG_DIR_NAMES): Likewise.
10170         (GTFILES_SRCDIR): Likewise.
10171         (gtyp-gen.h): Build from configure information.
10172         (s-gtype): Remove command line parameters from gengtype.
10173         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
10174         (mostlyclean): Delete files generated by and for gengtype.
10175
10176         * c-config-lang.in: New file.
10177
10178         * configure.in (all_gtfiles_files_langs): New. Accumulate files
10179         for each language.
10180         (all_gtfiles_files_files): New. Accumulate language for each file
10181         accumulated.
10182         (gtfiles): Pick up value for C.
10183         (srcdir): AC-SUBST this variable.
10184         (all_gtfiles_files_langs): AC-SUBST this variable.
10185         (all_gtfiles_files_files): AC-SUBST this variable.
10186
10187         * configure: Regenerate.
10188
10189         * gengtype-lex.l (parse_file): Make parameter const.
10190
10191         * gengtype.c (toplevel): include gtyp-gen.h.
10192         (BASE_FILE_<language> unnamed enum): Delete.
10193         (lang_names): Delete (replaced by gtyp-gen.h)
10194         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
10195         all references.
10196         (NUM_GT_FILES): New.
10197         (NUM_LANG_FILES): New.
10198         (srcdir_len): New.
10199         (NUM_BASE_FILES): Change calculation.
10200         (open_base_files): Change prototype to avoid warning.
10201         (startswith): Delete.
10202         (get_file_basename): Iterate through generated language list not
10203         hard coded list.
10204         (get_base_file_bitmap): Use generated list of files and languages.
10205         (close_output_files): Add prototype to rmove warning.
10206         (main): Iterate through list of generated files from gtyp-gen.h
10207         rather than command line paramaters.  Ignore duplicated file
10208         names.
10209
10210         * gengtype.h (parse_file): Amend prototype for const parameter.
10211
10212         * doc/sourcebuild.texi: Document gtfiles variable.
10213
10214         * doc/gty.texi: Document changes to gtfiles variable for front
10215         ends.
10216
10217         * objc/config-lang.in (gtfiles): Add files needed for objc front
10218         end.
10219
10220 2002-07-10  Roger Sayle  <roger@eyesopen.com>
10221
10222         PR c/2454
10223         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
10224         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
10225
10226 2002-07-10  Roger Sayle  <roger@eyesopen.com>
10227             Zack Weinberg <zack@codesourcery.com>
10228
10229         * builtins.def: Make the argument types of abort and exit
10230         independent of the front-end.
10231
10232 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
10233
10234         * config/rs6000/linux64.h (ASM_SPEC): Define.
10235
10236 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
10237
10238         * config/rs6000/rs6000.c (emit_frame_save): New.
10239         (rs6000_frame_related): Replace reg2 before reg.
10240         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
10241         and eh_return registers.
10242
10243 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
10244
10245         Revert all patches for optimization of Complex .op. Real.
10246         * complex_part_zero_p: Remove
10247         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
10248         with x.
10249         * expand_cmplxdiv_wide: Ditto.
10250         * expand_binop: Ditto.
10251
10252 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
10253
10254         * config/avr/avr.md: Fix two 0x80000000 constants to make them
10255         negative also on 64-bit hosts.
10256
10257         Default to -fno-reorder-blocks when optimizing for size.
10258         * config/avr/avr-protos.h (avr_optimization_options): Declare.
10259         * config/avr/avr.c (avr_optimization_options): New function.
10260         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
10261
10262         Optimize returning from simple functions.
10263         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
10264         * config/avr/avr.c (avr_simple_epilogue): New function.
10265         * config/avr/avr.md (return): New insn.
10266
10267 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
10268
10269         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
10270         HAS_INIT_SECTION to protection.
10271
10272 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
10273
10274         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
10275         deprecated.
10276
10277 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
10278
10279         * combine.c (gen_lowpart_for_combine): Handle vector modes.
10280         Supply non-VOID mode to simplify_gen_subreg.
10281
10282 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
10283
10284         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
10285
10286 2002-07-10  Jeffrey A Law  <law@redhat.com>
10287
10288         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
10289         as appropriate.
10290
10291         * mn10200.c (expand_epilogue): Fix test to determine which scratch
10292         register to use.
10293
10294 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
10295
10296         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
10297         Get mode from dest.
10298         If simplify_gen_subreg fails, try next equivalent.
10299
10300 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
10301
10302         * diagnostic.h: #include location.h
10303         (location_t): Move definition to..
10304         * location.h: ... here.  New file.
10305         * tree.h: #include location.h
10306         (DECL_SOURCE_LOCATION): New macro.
10307         (DECL_SOURCE_FILE): Use.
10308         (DECL_SOURCE_LINE): Likewise.
10309         (struct tree_decl): REplace filename and linenum with locus.
10310         * Makefile.in (TREE_H): add location.h
10311         (diagnostic.o): Depends on gt-location.h
10312         (gt-location.h): Depends on s-gtype
10313
10314 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
10315
10316         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
10317         TARGET_OS_CPP_BUILTINS.
10318         * config/rs6000/aix31.h: Likewise.
10319         * config/rs6000/aix41.h: Likewise.
10320         * config/rs6000/aix43.h: Likewise.
10321         * config/rs6000/aix51.h: Likewise.
10322         * config/rs6000/beos.h: Likewise.
10323         * config/rs6000/darwin.h: Likewise.
10324         * config/rs6000/eabi.h: Likewise.
10325         * config/rs6000/eabisim.h: Likewise.
10326         * config/rs6000/linux.h: Likewise.
10327         * config/rs6000/linux64.h: Likewise.
10328         * config/rs6000/lynx.h: Likewise.
10329         * config/rs6000/mach.h: Likewise.
10330         * config/rs6000/rtems.h: Likewise.
10331         * config/rs6000/sysv4.h: Likewise.
10332         * config/rs6000/vxppc.h: Likewise.
10333
10334 2002-07-09 Devang Patel <dpatel@apple.com>
10335         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
10336         Do not allow ObjC objects as a parameter type for Objective-C methods.
10337         My previous patch restricted  'struct' also.
10338
10339 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
10340
10341         * cpperror.c (cpp_error): Default to directive_line within
10342         directives here.
10343         * cppexp.c (cpp_interpret_integer): Only use traditional
10344         number semantics in directives.
10345         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
10346         (do_include_common): Similarly.
10347         * cpptrad.c (scan_out_logical_line): Implement accurate
10348         quoting of <> in #include.
10349         * doc/cpp.texi: Update.
10350
10351 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
10352                           J"orn Rennecke <joern.rennecke@superh.com>
10353
10354         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
10355         * sh.md (attribute issues): Replace with:
10356         (attribute pipe_model).  All users changed.
10357         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
10358         All users changed.
10359         (function units sh5issue, sh5fds): New.
10360         (attribute is_mac_media): New.
10361         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
10362         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
10363         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
10364         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
10365         (call_media, call_value_media, sibcall_media): Likewise.
10366         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
10367         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
10368         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
10369         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
10370         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
10371         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
10372         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
10373         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
10374         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
10375         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
10376         (truncdfsf2_media): Likewise.
10377         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
10378         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
10379
10380 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
10381
10382         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
10383         * sh.c (general_extend_operand, inqhi_operand): New functions.
10384         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
10385         alternatives using 'N' modifier.  Add type.
10386         (adddi3z_media): Likewise.  Enable generator function generation.
10387         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
10388         exact predicates / constraints.  Add type.
10389         (subsi3): Allow 0 for SHMEDIA.
10390         (udivsi3_i4_media): Use match_operand for input values
10391         rather than hard registers.
10392         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
10393         unnecessarily through hard registers.  Keep copies of pseudo
10394         registers outside of the libcall sequence.
10395         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
10396         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
10397         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
10398         (extendhidi2, extendqidi2): Likewise.
10399         (andsi3_compact): Name.
10400         (andcdi3): Enable generator function generation.
10401         (zero_extendhisi2, zero_extendqisi2): Rename to
10402         (zero_extendhisi2_compact, zero_extendqisi2_compact).
10403         (extendhisi2, extendqisi2): Rename to
10404         (extendhisi2_compact, extendqisi2_compact).
10405         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
10406         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
10407         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
10408         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
10409         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
10410         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
10411         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
10412         (shmedia32_initialize_trampoline_big): Likewise.
10413         (shmedia32_initialize_trampoline_little): Likewise.
10414         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
10415         (negdi2): Remove spurious T clobber.
10416         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
10417         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
10418         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
10419         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
10420         (ic_invalidate_line_media): Write back data cache before invalidating
10421         instruction cache.  Add type.
10422         (movsf_media): Sign-extend when the destination is a general
10423         purpose register.  Add type.
10424         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
10425         (casesi_worker_0+1): Only increment ref count for proper label.
10426         (casesi_worker_0+2): Likewise.
10427
10428 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
10429
10430         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
10431
10432 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
10433
10434         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
10435         from Pmode to ptr_mode.
10436         (get_exception_pointer): Ditto.
10437         (connect_post_landing_pads): Ditto.
10438         (dw2_build_landing_pads): Ditto.
10439
10440 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
10441         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
10442         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
10443         (handle_pragma_redefine_extname): Change to use new function.
10444
10445 2002-07-08  Roger Sayle  <roger@eyesopen.com>
10446
10447         * combine.c (combine_simplify_rtx): Add an explicit cast
10448         to avoid signed/unsigned comparison warning.
10449         (simplify_if_then_else): Likewise.
10450         (extended_count): Likewise.
10451         (simplify_shift_const): Likewise.
10452         (simplify_comparison): Likewise.
10453
10454 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
10455
10456         * config/mips/mips.md: Add imadd type.  Update scheduler description
10457         to use imadd as well as imul.
10458         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
10459         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
10460         (*mul_sub_si): Likewise for first alternative.  Change second
10461         alternative from imul to multi.
10462
10463 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
10464
10465         * c-common.c (c_common_post_options): Update prototype;
10466         don't init backends if preprocessing only.
10467         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
10468         * langhooks.h (struct lang_hooks): Update post_options to
10469         return a boolean.
10470         * toplev.c (parse_options_and_default_flags, do_compile,
10471         lang_independent_init): Update prototypes.  Allow the
10472         front end to specify that there is no need to initialize
10473         the back end.
10474         (general_init): Move call to hex_init here...
10475         (toplev_main): ...from here.  Pass flag for back end init
10476         suppression.
10477
10478 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
10479
10480         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
10481         (PREDICATE_CODES): Add entries for equality_comparison_operator,
10482         greater_comparison_operator and less_comparison_operator.
10483         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
10484         more operators.
10485         (equality_comparison_operator): New function.
10486         (greater_comparison_operator, less_comparison_operator): Likewise.
10487         * sh.md (beq_media_i): Disable generator function generation.
10488         Use match_operator to handle a whole class of comparisons.  Add
10489         modifier in output template to provide branch prediction.  Add type.
10490         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
10491         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
10492         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
10493         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
10494
10495 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
10496
10497         Emit MMIX function prologue and epilogue as rtl.
10498         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
10499         not unprototyped get_hard_reg_initial_val.
10500         ("call_value", "nonlocal_goto_receiver"): Ditto.
10501         ("return"): Make define_expand.  Move real insn to...
10502         ("*expanded_return"): New pattern.
10503         ("prologue", "epilogue"): New define_expands.
10504         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
10505         (struct machine_function): New member in_prologue.
10506         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
10507         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
10508         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
10509         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
10510         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
10511         (LOCAL_REGNO): Define.  Adjust comment.
10512         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
10513         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
10514         leaf_function_p.
10515         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
10516         the prologue.
10517         (mmix_target_asm_function_prologue): Make static.  Just mark that
10518         the prologue is being emitted.  Move guts to...
10519         (mmix_expand_prologue): New function.  Adjust for emitting
10520         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
10521         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
10522         \n.  Move guts to...
10523         (mmix_expand_epilogue): New function.  Adjust for emitting
10524         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
10525         (mmix_target_asm_function_end_prologue): Mark that the prologue
10526         has ended.
10527         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
10528         (mmix_conditional_register_usage): Improve comments.
10529         (mmix_local_regno): New function.
10530         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
10531         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
10532         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
10533         (mmix_get_hard_reg_initial_val): Ditto.
10534
10535 2002-07-06  Andreas Jaeger  <aj@suse.de>
10536
10537         * toplev.c (set_fast_math_flags): Don't use ISO C style function
10538         definitions.
10539         * gengtype.c (open_base_files): Likewise.
10540         (close_output_files): Likewise.
10541         * tracer.c (find_best_predecessor): Likewise.
10542         (find_best_successor): Likewise.
10543         (ignore_bb_p): Likewise.
10544
10545 2002-07-05  Roger Sayle  <roger@eyesopen.com>
10546
10547         PR c++/7099
10548         * builtin-attrs.def: Define new attribute lists for use in
10549         builtins.def.
10550         * builtins.def [DEF_BUILTIN]: Modify to take an additional
10551         ATTRS argument, an enumerated value defined in builtin-attrs.def
10552         that represents the attribute list for the builtins.  Modify
10553         all builtin functions to pass an appropriate attribute list.
10554         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
10555         their required noreturn attributes.
10556         * tree.h (enum_builtin_function): Ignore the additional parameter
10557         to DEF_BUILTIN.
10558         * builtins.c (built_in_names): Likewise.
10559         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
10560         argument with a tree representing the functions attribute list.
10561         Pass this "attrs" argument to builtin_function.  No longer handle
10562         the noreturn_p processing manually.
10563         (built_in_attributes): Move the definitions from builtin-attrs.def
10564         before c_common_nodes_and_builtins.
10565         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
10566         DEF_BUILTIN, passing it to both builtin_function and the changed
10567         builtin_function_2.
10568
10569         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
10570         __builtin__exit and __builtin__Exit.
10571
10572 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10573
10574         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
10575         QI mode registers in soft registers.
10576         ("zero_extendqihi2"): Do not take into account soft registers
10577         for register allocation (use '*' constraint).
10578
10579 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10580
10581         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
10582         it is dead.
10583         ("*ashrsi3"): Likewise.
10584         ("*lshrsi3"): Likewise.
10585
10586 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
10587
10588         * genautomata.c (output_max_insn_queue_index_def): Take latencies
10589         into account.
10590
10591 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
10592
10593         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
10594         address computation and memory moves.
10595
10596 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
10597
10598         PR c++/6706
10599         * dwarfout.c (output_reg_number): Fix warning message.
10600         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
10601         before using it.
10602
10603 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10604
10605         * gcc/gcc.c (asm_debug): Move initialization ...
10606         (init_spec): ... here.
10607
10608 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
10609
10610         * c-parse.in (extdef): Append ';'.
10611         (old_style_parm_decls): Append ';'.
10612
10613 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
10614
10615         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
10616         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
10617         to gcc_cv_as_gstabs_flag.
10618         * configure: Rebuilt.
10619
10620 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
10621
10622         * ggc.h (ggc_add_root): Document as obsolete.
10623
10624 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
10625
10626         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
10627         (mshflo_w): Likewise.
10628
10629 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
10630
10631         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
10632         vector mode subregs of constants to finding integer mode
10633         subregs of constants.
10634         * cse.c (cse_insn): Use simplify_gen_subreg.
10635         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
10636         From a vector mode expression of different size than the
10637         target mode.
10638
10639 2002-07-03  Eric Christopher  <echristo@redhat.com>
10640
10641         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
10642         * config/mips/mips.h: Remove deprecated -m<processor> options
10643         and cc1_cpu_spec associated.
10644         (CONSTANT_ADDRESS_P): Fix last patch.
10645         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
10646         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
10647         sunge_sf): Remove.
10648
10649 2002-07-03  Stan Shebs  <shebs@apple.com>
10650
10651         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
10652         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
10653         (CPP_SPEC): Remove insertion of APPLE_CC definition.
10654
10655 2002-07-03  Roger Sayle  <roger@eyesopen.com>
10656
10657         * combine.c (struct_undo): Change types of recorded substitutions
10658         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
10659         (do_SUBST_INT): Change types of the substitution from unsigned int
10660         to int, to avoid compilation warning from SUBST_INT's only caller.
10661
10662         (make_extraction): Add cast to avoid compilation warning.
10663         (force_to_mode): Remove cast to avoid compilation warning.
10664
10665 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
10666             Jeff Law  <law@redhat.com>
10667
10668         * i386.md (length_immediate attribute): Fix typo.
10669         (length_address attribute): Likewise.
10670         (modrm attribute): Set it to 0 for immediate call instructions.
10671         (jcc_1 pattern): Set modrm attribute to 0.
10672         (jcc_2 pattern ): Likewise.
10673         (jump pattern): Likewise.
10674         (doloop_end_internal pattern): Explicitly set length.
10675         (leave pattern): Fix typo.
10676         (leave_rex64 pattern): Likewise.
10677
10678 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
10679
10680         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
10681         in FPR as preference.
10682         (fctiwz): Same.
10683         (floatdidf2, fix_truncdfdi2): Same.
10684         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
10685         (floatditf2): Same.
10686         (floatsitf2, fix_trunctfsi2): SImode in GPR.
10687         (ctrdi): Remove FPR alternative and splitter.
10688
10689 2002-07-03  Will Cohen  <wcohen@redhat.com>
10690
10691         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
10692
10693 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
10694
10695         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
10696         than UNITS_PER_WORD, unless this is little endian and the first unit
10697         in this word.  Let extract_bit_field decide how to load an element.
10698         Force arguments to matching mode.
10699         (expand_vector_unop): Likewise.
10700
10701         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
10702         consist of word_mode elements.
10703         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
10704         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
10705         (build_unary_op): Allow vector types for BIT_NOT_EPR.
10706         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
10707         CONST_VECTOR.
10708         * optabs.c (expand_vector_binop): Try to perform operation in
10709         smaller vector modes with same inner size.  Add handling of AND, IOR
10710         and XOR.  Reject expansion to inner-mode sized scalars when using
10711         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
10712         (expand_vector_unop): Try to perform operation in smaller vector
10713         modes with same inner size.  Add handling of one's complement.
10714         When there is no vector negate operation, try a vector subtract
10715         operation.  Use simplify_gen_subreg on constants.
10716         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
10717         constants into smaller vectors with same inner mode, and to
10718         integer CONST_DOUBLEs.
10719
10720 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10721
10722         * c-parse.in (parsing_iso_function_signature): New variable.
10723         (extdef_1): New, copied from...
10724         (extdef): ... here.  Reset parsing_iso_function_signature.
10725         (old_style_parm_decls):  Reset parsing_iso_function_signature.
10726         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
10727         Warn about ISO C style function definitions.
10728         (nested_function, notype_nested_function): Reset
10729         parsing_iso_function_signature.
10730         (parmlist_2): Set parsing_iso_function_signature.
10731
10732         * doc/invoke.texi (-Wtraditional): Document new behavior.
10733
10734 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
10735
10736         * config.gcc (mips*el-*-*): Use tm_defines to set
10737         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
10738         * config/mips/little.h: Remove.
10739
10740 2002-07-02 Devang Patel <dpatel@apple.com>
10741
10742         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
10743         object as parameter. Prevent something like 'NSObject' to be
10744         used as the type for a method argument.
10745
10746 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
10747
10748         * cpptrad.c: Update comment.
10749
10750 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
10751
10752         * doc/cpp.texi: Update for traditional preprocessing changes.
10753         * goc/cppopts.texi: Similarly.
10754
10755 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
10756
10757         * c-parse.in (designator): Enable designated initializers if ObjC.
10758         (objcmessageexpr): Remove references to objc_receiver_context.
10759         * objc/objc-act.h (objc_receiver_context): Remove decl.
10760         * objc/objc-act.c (objc_receiver_context): Remove.
10761         (lookup_objc_ivar): Test objc_method_context instead of
10762         objc_receiver_context.
10763
10764 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
10765
10766         * sh.c (print_operand, case 'N'): Allow zero vector.
10767         (arith_reg_or_0_operand): Likewise.
10768         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
10769         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
10770         IOR, XOR, PLUS and SET and take their respective constant
10771         ranges into account.
10772         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
10773         * sh.md (subdi3, subdi3_media): Allow zero operand.
10774         (movv8qi_i+3): Only vector that is not split is the zero vector.
10775         Fix operand 3 to simplify_subreg.
10776         (movv2si_i): Split alternative 1.
10777         (mshfhi_l_di_rev+1): New splitter.
10778
10779 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
10780
10781         PR preprocessor/7029
10782         * cppinit.c (cpp_handle_option):  Suppress warnings with an
10783         implicit "-w" for "-M" and "-MM".
10784         * doc/cppopts.texi: Update.
10785
10786 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10787
10788         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
10789         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
10790         builtin_function.
10791
10792 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
10793
10794         * README.Portability: Fix typos.
10795
10796 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
10797
10798         PR target/7177
10799         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
10800         of indirections for register inside sign-extended mem part.
10801
10802 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10803
10804         * tree.h:  Modify builtin_function interface to take an extra
10805         argument ATTRS, which is a tree representing an attribute list.
10806
10807         * c-decl.c (builtin_function): Accept additional parameter.
10808         * objc/objc-act.c (builtin_function): Likewise.
10809         * f/com.c (builtin_function): Likewise.
10810         * java/decl.c (builtin_function): Likewise.
10811         * ada/utils.c (builtin_function): Likewise.
10812         * cp/decl.c (builtin_function): Likewise.
10813         (builtin_function_1): Likewise.
10814
10815         * c-common.c (c_common_nodes_and_builtins): Pass an additional
10816         NULL_TREE argument to builtin_function.  (builtin_function_2):
10817         Likewise.
10818         * cp/call.c (build_java_interface_fn_ref): Likewise.
10819         * objc/objc-act.c (synth_module_prologue): Likewise.
10820         * java/decl.c (java_init_decl_processing): Likewise.
10821         * f/com.c (ffe_com_init_0): Likewise.
10822
10823         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
10824         NULL_TREE argument to builtin_function.
10825         * config/arm/arm.c (def_builtin): Likewise.
10826         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
10827         * config/i386/i386.c (def_builtin): Likewise.
10828         * config/ia64/ia64.c (def_builtin): Likewise.
10829         * config/rs6000/rs6000.c (def_builtin): Likewise.
10830
10831 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
10832
10833         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
10834         * config/mips/t-isa3264: Likewise.
10835         * config/mmix/t-mmix: Likewise.
10836
10837 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10838
10839         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
10840
10841 2002-07-01  Roger Sayle  <roger@eyesopen.com>
10842
10843         PR opt/4046
10844         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
10845         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
10846         B are truth values.
10847
10848 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
10849
10850         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
10851
10852 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
10853
10854         * README.Portability (Function prototypes): Give an example of
10855         declaring and defining a function with no arguments.
10856
10857         * README.Portability (Function prototypes): Document new
10858         variable-argument function macros.
10859
10860 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
10861
10862         * sh.c (langhooks.h): Include.
10863         (sh_init_builtins, sh_media_init_builtins): New functions.
10864         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
10865         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
10866         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
10867         (builtin_description): New struct tag.
10868         (signature_args, bdesc): New arrays.
10869         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
10870         (print_operand): Add 'N' modifier.
10871         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
10872         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
10873         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
10874         (CONST_COSTS): Add special case for SHmedia AND.
10875         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
10876         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
10877         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
10878         target_operand can also be const or unspec.
10879         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
10880         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
10881         (attribute type): Add new types.
10882         (anddi3): Add splitter.
10883         (movdi_const_16bit+1): Add code to handle vector constants and
10884         bitmasks efficiently.
10885         (shori_media): Have generator function made.
10886         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
10887         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
10888         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
10889         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
10890         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
10891         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
10892         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
10893         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
10894         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
10895         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
10896         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
10897         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
10898         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
10899         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
10900         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
10901         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
10902         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
10903         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
10904         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
10905         (ftrv): Likewise.
10906
10907         (fpu_switch+1, fpu_switch+2): Remove constraint.
10908
10909 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
10910
10911         * tree.c (build_function_type_list): Update function comment.
10912         Rename first argument to return_type.
10913
10914 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
10915
10916         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
10917         tradcif.y and related files.
10918
10919 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
10920
10921         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
10922
10923 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10924
10925         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
10926
10927 See ChangeLog.7 for earlier changes.