Mark ChangeLog
[official-gcc.git] / gcc / ChangeLog
blob254e5440f5a3fb5fbbbba7030578b380adffb3c8
1 2004-02-14  Release Manager
3         * GCC 3.3.3 Released.
5 2004-02-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
7         PR target/14113
8         Backport from mainline:
10         2004-02-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
12         * config/sparc/sparc.md (call followed by jump define_peephole's):
13         Delete.
15 2004-02-06  H.J. Lu  <hongjiu.lu@intel.com>
17         * doc/invoke.texi: Mention SSE2 and SSE3.
19         * config/i386/i386.h: Deprecate -mpni/-mno-pni.
21 2004-02-06  Kelley Cook  <kcook@gcc.gnu.org>
23         * config/i386/i386.c: Rename pni to sse3.
24         * config/i386/i386.h: Likewise.
25         * config/i386/i386.md: Likewise.
26         * config/i386/pmmintrin.h: Likewise.
27         * doc/extend.texi: Likewise.
28         * doc/invoke.texi: Likewise.
30 2004-02-03  Wolfgang Bangerth  <bangerth@dealii.org>
32         PR other/14003
33         * doc/invoke.texi (x86 options): Fix spelling/wording.
35 2004-02-01  Geoffrey Keating  <geoffk@apple.com>
37         PR bootstrap/13960
38         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Accept
39         lo_sum addresses on Darwin.
41 2004-01-30  Eric Botcazou  <ebotcazou@libertysurf.fr>
43         * config/sparc/sparc.c: Update copyright.
44         * config/sparc/sparc.h: Likewise.
45         * config/sparc/sparc.md: Likewise.
47 2004-01-29  Roger Sayle  <roger@eyesopen.com>
49         PR java/13824
50         * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially
51         as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded
52         recursion.
54 2004-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56         * doc/invoke.texi: Remove the pni option from -mfpmath=.
58 2004-01-29  Gabriel Dos Reis  <gdr@integrable-solutions.net>
60         Backport from mainline
61         
62         2004-01-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
64         PR optimization/12440
65         * loop.c: Include ggc.h.
66         (loop_optimize): Run garbage collector between optimization of loops.
67         * Makefile.in (loop.o): Add GGC_H dependency.
69 2004-01-24  Matthias Klose  <doko@debian.org>
71         * objc/objc-act.c (is_public): Fix typo in message.
73 2004-01-23  Richard Henderson  <rth@redhat.com>
75         PR opt/12941
76         * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
77         (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
78         if SHIFT_COUNT_TRUNCATED is set.
80 2004-01-23  Ian Lance Taylor  <ian@wasabisystems.com>
82         * doc/invoke.texi (Optimize Options): Note that --param arguments
83         are subject to change without notice.
85 2004-01-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
87         * reload.c (can_reload_into): Add prototype and K&R style function
88         declaration.
90 2004-01-21  Andreas Jaeger  <aj@suse.de>
91             Michael Matz  <matz@suse.de>
93         * doc/extend.texi (Extended Asm): Clarify memory clobber.
95 2004-01-21  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
97         PR target/13073
98         * config/h8300/t-rtems (h8300-*-rtems*): New.
99         * config.gcc: Use config/h8300/t-rtems.
100         
101 2004-01-20  Gabriel Dos Reis  <gdr@integrable-solutions.net>
103         Backport from mainline
105         2004-01-10  Jan Hubicka  <jh@suse.cz>
106         PR opt/12826
107         * loop.c (insert_loop_mem): Prefer VOLATILE memory references to be
108         stored. 
109         
110 2004-01-16  Jan Hubicka  <jh@suse.cz>
112         PR opt/13608
113         * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
115 2004-01-16  Segher Boessenkool  <boessen@de.ibm.com>
117         PR target/11793
118         * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Handle
119         vectors.
120         
121 2004-01-16  Jan Hubicka  <jh@suse.cz>
123         PR opt/11350
124         * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
125         after reload.
126         * cfgrtl.c (try_redirect_by_replacing_branch): Likewise.
128 2004-01-15  J"orn Rennecke <joern.rennecke@superh.com>
130         PR optimization/10392
131         * reload.c (can_reload_into): New function.
132         (push_reload): Use it.
134 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
136         PR target/9365
137         * sh.c (gen_block_redirect): Add special handling of RETURN.
138         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
139         far branch target (i.e. it's a return).
141 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
143         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
144         Calculate always vrsave_mask if TARGET_ALTIVEC.
145         (rs6000_emit_prologue): Emit code for vrsave
146         only if TARGET_ALTIVEC_VRSAVE.
147         (rs6000_emit_epilogue): Likewise.
149 2003-01-14  Nicola Pero  <n.pero@mi.flashnet.it>
151         PR objc/7993
152         * objc-act.c (is_private): Do not emit the 'instance variable %s
153         is declared private' error.
154         (is_public): Emit the error after calling is_private.
155         (lookup_objc_ivar): If the instance variable is private, return 0
156         - the instance variable is invisible here.
157        
158 2004-01-12  Marc Espie <espie@openbsd.org>
160         * system.h: handle YYBYACC like YYBISON.
162 2004-01-12  Matthias Klose  <doko@debian.org>
164         Backport from mainline
166         2003-12-08 Stuart Hastings <stuart@apple.com>
167         * config/i386/i386.md: Typo in split of fp-valued if_then_else.
169 2004-01-12  Roger Sayle  <roger@eyesopen.com>
171         PR middle-end/11397
172         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
174 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
176         PR target/13585
177         * sh-protos.h (check_use_sfunc_addr): Declare.
178         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
179         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
181 2004-01-12  Matthias Klose  <doko@debian.org>
183         Backport from mainline
185         2004-01-11  Richard Henderson  <rth@redhat.com>
186         PR opt/12441
187         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
188         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
189         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
190         (ix86_address_cost): Be prepared for SUBREGed registers.
191         (legitimate_address_p): Accept SUBREGed registers.
193 2004-01-11  Richard Henderson  <rth@redhat.com>
195         * config/alpha/alpha.c (alpha_encode_section_info): Use 'I'
196         for TLS_MODEL_INITIAL_EXEC.
197         (tls_symbolic_operand_1): Update to match.
198         (tls_symbolic_operand_type): Likewise.
200 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
202         PR middle-end/13392
203         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
204         to drop through label.  Don't fall back to SCC even when conditional
205         jump has not been found.
207 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
209         PR target/12561
210         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
212 2004-01-09  Richard Henderson  <rth@redhat.com>
214         * recog.c (constrain_operands): Validate mem operands.
216 2004-01-02  Nathanael Nerode  <neroden@gcc.gnu.org>
218         PR target/13069
219         Backport the following from mainline: 
221         2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
222         * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
223         CPP_PREDEFINES.
224         * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
225         CPP_PREDEFINES.
227         2003-09-27  Kelley Cook  <kcook@gcc.gnu.org>
228         * config/sh/rtemself.h, config/sh/rtems.h: GNU CC -> GCC.
230 2004-01-02  Roger Sayle  <roger@eyesopen.com>
232         * tree.h (integer_nonzerop): Use PARAMS macro with prototype.
233         * tree.c (integer_nonzerop): Use K&R style function declaration.
235 2004-01-02  Andreas Schwab  <schwab@suse.de>
237         * doc/c-tree.texi: Fix @item vs. @itemx.
238         * doc/cpp.texi: Likewise.
239         * doc/install.texi: Likewise.
240         * doc/invoke.texi: Likewise.
242 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
244         * doc/install.texi (Specific): Mention x86_64.
246 2004-01-01  Jakub Jelinek  <jakub@redhat.com>
248         PR optimization/13521
249         Backport from mainline:
250                 2003-03-22  Richard Henderson <rth@redhat.com>
252                 * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
253                 after reload.
255 2003-12-31  Roger Sayle  <roger@eyesopen.com>
257         PR fortran/12632
258         * tree.c (integer_nonzerop): New predicate for nonzero integers.
259         * tree.h (integer_nonzerop): Add function prototype.
260         * fold-const.c (fold) <COND_EXPR>: Don't fold a constant condition,
261         if we'd replace a COND_EXPR of non-void type by one of its operands
262         of void type.
264 2003-12-31  Kazu Hirata  <kazu@cs.umass.edu>
266         Backport from mainline:
268         2003-09-12  Richard Sandiford  <rsandifo@redhat.com>
270         PR target/13373
271         * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
272         (mcore_secondary_reload_class): Declare.
273         (mcore_output_inline_const_forced): Remove.
274         * config/mcore/mcore.md (movsi): Remove the code that forced
275         non-inlineable constants into a register if the target was r15
276         or the stack pointer.  Remove constant restrictions from the main
277         define_insn.  Remove r <- I, r <- M and r <- N alternatives in favor
278         of an r <- P alternative.  Remove fallback define_insn for reload.
279         (movhi, movqi): Use gen_lowpart rather than gen_SUBREG.  Remove reload
280         define_insn.  Use mcore_output_move in the remaining define_insn.
281         Adjust condition and constraints in the way as for movsi.
282         (movdi): Always split unacceptable constants into two.  Use
283         simplify_gen_subreg instead of operand_subword{,_force}.
284         * config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
285         (mcore_output_move): Support HImode and QImode moves as well.
286         (mcore_m15_operand_p): New function.
287         (mcore_reload_class): Use it to detect cases where LRW_REGS are better.
288         (mcore_secondary_reload_class): New function.
289         * config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
290         terms of mcore_secondary_reload_class.
292 2003-12-31  Zack Weinberg  <zack@codesourcery.com>
294         * config/ia64/ia64.c (ia64_va_arg): Pass pointer for
295         variable-sized type through convert_memory_address.
296         (ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
298 2003-12-24  Andrew Pinski  <pinskia@physics.uc.edu>
300         PR bootstrap/13068
301         Backport from mainline:
302                 2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>
304                 * mklibgcc.in: Remove extra quotes.
305                 2003-05-08  Aldy Hernandez  <aldyh@redhat.com>
307                 * mklibgcc.in: Use mkinstalldirs when installing multilib
308                 directories.
310 2003-12-24  Roger Sayle  <roger@eyesopen.com>
312         Backport from mainline:
314         2003-09-18  Mark Mitchell  <mark@codesourcery.com>
315         * explow.c (convert_memory_address): Define even when
316         POINTERS_EXTEND_UNSIGNED is not defined.  Do nothing if the address
317         is already in the right mode.
319 2003-12-23  Andrew Pinski  <pinskia@physics.uc.edu>
321         PR middle-end/13475
322         Backport from mainline:
323                 2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
325                 * expr.c (const_vector_from_tree): Initialize remaining
326                 elements to 0.
328 2003-12-23  Kazu Hirata  <kazu@cs.umass.edu>
330         PR target/11576
331         * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
332         HIGH on all variants.
334 2003-12-23  Matthias Klose  <doko@debian.org>
336         * config/mips/linux.h (LIB_SPEC): Use -lpthread when
337         -pthread was specified.
339 2003-12-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
341         PR optimization/13394
342         * toplev.c (rest_of_compilation): Move call to
343         check_function_return_warnings right after the sibcall
344         optimization pass.
346 2003-12-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
348         PR c/13382
349         * c-typeck.c (convert_for_assignment): When converting from
350         integral type to pointer type, always call convert.
352 2003-12-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
354         PR target/11271
355         * reload.c: Revert last backport from mainline.  It breaks s390.
357 2003-12-21  Roger Sayle  <roger@eyesopen.com>
359         * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
360         when compiling in ILP32 mode.
362 2003-12-21  Gabriel Dos Reis <gdr@integrable-solutions.net>
364     Backport from mainline:
365     2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
367             PR target/11271
368             * reload.c (find_reloads_address): Handle any register in
369             (PLUS (PLUS (REG) (REG)) (CONST_INT).
371 2003-12-21  Roger Sayle  <roger@eyesopen.com>
373         PR middle-end/13400
374         * ifcvt.c (noce_process_if_block): Disable unconditional write
375         optimizations if we could introduce a store to trapping memory
376         that wasn't present previously.
378 2003-12-20  Roger Sayle  <roger@eyesopen.com>
380         PR optimization/13031
381         * gcse.c (cprop_jump): Backport code clean-up and bug-fix
382         from mainline [2003-05-20 Sayle, Hirata and Rennecke patch].
383         (cprop_insn): Don't attemp further substitutions if the
384         current instruction has been deleted.
385         (local_cprop_pass): Likewise.
387 2003-12-19  Jakub Jelinek  <jakub@redhat.com>
389         PR c++/13239
390         * builtins.c (expand_builtin_expect_jump): Update
391         TREE_VALUE (arglist) if unsave_expr_now langhook
392         created a new tree.
394 2003-12-18  Mark Mitchell  <mark@codesourcery.com>
396         * config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
397         (LINK_ARCH32_SPEC_BASE): ... this new macro.
398         * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
399         ...
400         (LINK_ARCH64_SPEC_BASE): ... this new macro.
401         * config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
402         (LINK_ARCH64_SPEC): Likewise.
404 2003-12-17  Ulrich Weigand  <uweigand@de.ibm.com>
406         PR target/11992
407         * config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
408         instead of CLCL.
409         ("*cmpmem_long_31"): Likewise.
411 2003-12-16  Zack Weinberg  <zack@codesourcery.com>
413         Backport the following patches from mainline.
415     2003-12-05  Mark Mitchell  <mark@codesourcery.com>
417         * config/ia64/ia64.h (MUST_PASS_IN_STACK): Define.
419     2003-12-01  James E Wilson  <wilson@specifixinc.com>
421         * config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
422         GR_ARG_FIRST.
424     2003-10-21  Zack Weinberg  <zack@codesourcery.com>
426         * config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
427         * config/ia64/ia64.c (ia64_expand_fetch_and_op,
428         ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
429         DImode.   Use convert_move to load ar.ccv.
430         (ia64_expand_compare_and_swap): Likewise.
431         If expand_expr doesn't put 'old' and 'new' in the proper
432         modes, run them through convert_to_mode.
434     2003-10-14  Steve Ellcey  <sje@cup.hp.com>
436         * config/ia64/ia64.c (ia64_expand_call): Force function address
437         to DImode.
438         * config/ia64/ia64.md (call_gp): Put DImode on operand 0.
440     2003-06-11  Richard Henderson  <rth@redhat.com>
442         * config/ia64/ia64.md (call_gp): Fix memory mode.
444     2003-05-14  Eric Christopher  <echristo@redhat.com>
446         * combine.c: Fix header comments.
447         (distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
448         to all calls and prototype.
450 2003-12-16  David O'Brien  <obrien@FreeBSD.org>
452         * config/alpha/freebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Add __LP64__.
453         * config/sparc/freebsd.h (FBSD_TARGET_CPU_CPP_BUILTINS): Likewise.
454         * config/i386/freebsd64.h (FBSD_TARGET_CPU_CPP_BUILTINS): Conditionally
455         add __LP64__.
457 2003-12-16  Hartmut Penner  <hpenner@de.ibm.com>
459         * altivec.h (vec_cmple, vec_all_numeric): Fix typo.
460         * testsuite/gcc.dg/altivec-10.c: Test for above.
462 2003-12-15  Kazu Hirata  <kazu@cs.umass.edu>
464         PR target/13122
465         * config/h8300/h8300.md (pushqi1_h8300hs_normal): New.
466         (pushqi1): Call gen_pushqi1_h8300hs_normal in normal mode.
467         (pushhi1_h8300hs_normal): New.
468         (pushhi1): Call gen_pushqi1_h8300hs_normal in normal mode.
470         * config/h8300/h8300.h (LINK_SPEC): Support normal mode.
471         * config/h8300/h8300.c (asm_file_start): Correctly output
472         an architecture directive.
473         * config/h8300/lib1funcs.asm: Correctly specify an
474         architecture directive.
476 2003-12-12  Roger Sayle  <roger@eyesopen.com>
478         PR optimization/13037
479         * loop.c (update_giv_derive): Ignore redundant sets of a biv when
480         calculating how to derive a giv from a biv.
482 2003-12-12  Jakub Jelinek  <jakub@redhat.com>
484         * config/ia64/linux.h (IA64_GATE_AREA_END): Increase by 64K.
485         (MD_FALLBACK_FRAME_STATE_FOR): Set fpsr_loc, br_loc[6] and
486         br_loc[7].  Update comment.
487         (MD_HANDLE_UNWABI): Define.
488         * config/ia64/unwind-ia64.c (struct unw_state_record): Add
489         unwabi field.
490         (struct _Unwind_Context): Increase br_loc array size to 8 entries.
491         (desc_abi): Set unwabi.
492         (uw_update_reg_address): Allow br up to 7.
493         (uw_update_context): Invoke MD_HANDLE_UNWABI if defined.
494         (uw_install_context): Load b1..b5 from correct locations.
495         Fix insn loading ar.fpsr.
496         * doc/tm.texi: Document MD_HANDLE_UNWABI.
498 2003-12-12  Hans-Peter Nilsson  <hp@axis.com>
500         PR target/13256
501         Backport from mainline:
502         * resource.h (enum mark_resource_type): Remove member MARK_DEST.
503         The only user changed as follows:
504         * resource.c (mark_set_resources) <case SET>: Always recurse for
505         SET_SRC (x).
506         <case SIGN_EXTRACT, case ZERO_EXTRACT>: Always recurse on
507         operands.
508         <case STRICT_LOW_PART>: Delete, deferring to default code.
510         PR target/12598
511         Backport from mainline:
512         * config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
513         (define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
514         Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
515         ("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
516         (define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
517         (define_split "*mov_sidesi_mem"+28, +29, +30): Use
518         replace_equiv_address, not gen_rtx_MEM.
519         * config/cris/cris.c (cris_mem_op): New match_operator function.
520         (cris_notice_update_cc): Use replace_equiv_address, not
521         gen_rtx_MEM.
522         * config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.
524 2003-12-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
526         Backport from mainline:
528         2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
530         PR optimization/13318
531         * loop.c (express_from): Protect integer division from overflow.
533 2003-12-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
535         Backport from mainline:
537         2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
539         PR optimization/13060
540         * function.c (fixup_var_refs_1) [SUBREG]: Recognize even if a
541         replacement already exists.  Fix again the whole insn if that fails.
543 2003-12-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
545         Backport from mainline:
547         2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
549         PR optimization/12965
550         * caller-save.c (save_call_clobbered_regs): Do not save/restore
551         registers around no-return calls.
553 2003-12-10  Andrew Pinski  <pinskia@physics.uc.edu>
555         * emit-rtl.c (copy_rtx_if_shared_1): Fix warning.
557 2003-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>
559         Backport from mainline (fixes unreported regression):
560         * cpptrad.c (_cpp_scan_out_logical_line): Improve test for
561           whether directive begins at the beginning of a line.
563 2003-12-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
565         PR target/13354
566         * config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA
567         manually if one can do that with only one instruction.
569 2003-12-09  Kelley Cook  <kelleycook@wideopenwest.com>
571         2003-06-04  Kelley Cook  <kelleycook@wideopenwest.com>
572         PR optimization/4490
573         * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
575 2003-12-08  David Edelsohn  <edelsohn@gnu.org>
576             Graham Reed <greed@pobox.com>
578         PR target/13150
579         * collect2.c (GCC_OK_SYMBOL): Add support for AIX C_WEAKEXT.
580         (GCC_UNDEF_SYMBOL): Same.
582 2003-12-08  Andrew Pinski  <pinskia@physics.uc.edu>
584         PR middle-end/10060
585         * emit-rtl.c (copy_rtx_if_shared): Split out into ...
586         (copy_rtx_if_shared_1): here and optimize the last one
587         in the sequence into tail-recursion.
588         (reset_used_flags): Optimize the last one
589         in the sequence into tail-recursion.
591 2003-12-07  Alan Modra  <amodra@bigpond.net.au>
593         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
594         set SECTION_WRITE on TARGET_RELOCATABLE.
596 2003-12-05  Andrew Pinski <pinskia@physics.uc.edu>
598         PR driver/13211
599         * gcc.c (execute) Increment execution_count when returning
600         early because verbose_only_flag is true.
602 2003-12-05  Stuart Menefy <stuart.menefy@st.com>
603             J"orn Rennecke <joern.rennecke@superh.com>
605         PR target/13302
606         * sh.c (sh_build_builtin_va_list): Use (*lang_hooks.types.make_type).
608 2003-12-04  Andrew Pinski  <pinskia@physics.uc.edu>
610         PR target/11322
611         * config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.
613         PR target/12467
614         * config/rs6000/altivec.md (altivec_vmsummbm): Fix typo.
616 2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>
618         * Makefile.in (stmp-fixinc): Don't bail out if SYSTEM_HEADER_DIR
619         does not exist and it's the default sys-include directory.
621 2003-12-03  Mark Mitchell  <mark@codesourcery.com>
623         * config/ia64/hpux.h (TARGET_HAVE_TLS): Define it to false.
624         * config/ia64/ia64.h (TARGET_HAVE_TLS): Define it to true if
625         HAVE_AS_TLS is true.
626         * config/ia64/ia64.c (TARGET_HAVE_TLS): Do not define it.
628 2003-12-03  James E Wilson  <wilson@specifixinc.com>
630        2003-11-29  James E Wilson  <wilson@specifixinc.com>
631        * gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
632        instead of in shared_name.
634 2003-12-03 David Mosberger  <davidm@hpl.hp.com>
636        2003-11-20 David Mosberger  <davidm@hpl.hp.com>
637        * config/t-libunwind (LIB2ADDEH): Add unwind-c.c.
638        (SHLIB_LC): Define.
639        * unwind-libunwind.c (_Unwind_GetCFA): Implement.
640        (_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.
642 2003-12-03  Jakub Jelinek  <jakub@redhat.com>
644         * expr.c (store_constructor): Only set RTX_UNCHANGING_P for
645         read-only field if cleared is 0.
647 2003-12-03  Kean Johnston  <jkj@sco.com>
649         PR 12969
650         * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Revert the
651         change I made on 2003-08-11 that removes the mach lines.
652         Restore them to the same list thats in the head, as per
653         Nathanael Nerode's changes.
654         * fixinc/fixincl.x: Regenerated
655         * fixinc/tests/base/ansi/string.h: Fix test case
657 2003-12-03  James E Wilson  <wilson@specifixinc.com>
659         2003-12-01  James E Wilson  <wilson@specifixinc.com>
660         PR target/8407
661         * config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call
662         gen_rtx_REG to create new reg with argument mode.
664 2003-12-03  Josef Zlomek  <zlomekj@suse.cz>
666         Backport from mainline
668         2003-10-31  Josef Zlomek  <zlomekj@suse.cz>
670                 PR/10239
671                 * cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all
672                 REG_LABEL notes.
674         2003-10-31  Josef Zlomek  <zlomekj@suse.cz>
676                 PR/11640
677                 * cfgrtl.c (try_redirect_by_replacing_jump): Move jump
678                 immediatelly before BARRIER.
680 2003-12-01  Kaz Kojima  <kkojima@gcc.gnu.org>
682         Backport from mainline
684         2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
686         * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux.
687         to tmake_file.
688         * config/sh/libgcc-glibc.ver: New file.
690         Backport from mainline
692         2003-10-08  Kaz Kojima  <kkojima@gcc.gnu.org>
694         * config/sh/t-linux (SHLIB_LINK): Override to use a linker script
695         libgcc_s.so.
696         (SHLIB_INSTALL): Likewise.
698 2003-12-01  Roger Sayle  <roger@eyesopen.com>
700         PR optimization/11634
701         * recog.c (split_insn): Factor test of INSN_P and handling of
702         set_noop_p out of here into the two callers.
703         (split_all_insns): Add INSN_P test and set_noop_p handling here.
704         If deleting a no-op set after reload that has a REG_UNUSED note,
705         mark the basic block as changed and recalculate life information.
706         (split_all_insns_noflow): Add INSN_P test and set_noop_p handling
707         here.
709 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
711         PR 12505
712         * configure.in: Check for system-provided 'uchar' type.
713         * configure, config.in: Regenerate.
714         * cpphash.h: Only typedef 'uchar' if the system doesn't.
716 2003-12-01  Ulrich Weigand  <uweigand@de.ibm.com>
718         * unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
720 2003-12-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
722         Backport from mainline:
724         2003-11-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
726         PR optimization/13041
727         * final.c (frame_pointer_needed): Fix comment.
728         * reload1.c (reload): Decrease alignment of the frame
729         pointer if it was used for register allocation.
731 2003-12-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
733         Backport from mainline:
735         2003-11-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
737         PR target/12900
738         * reg-stack (move_for_stack_reg): New prototype.  Return
739         whether a control flow insn was deleted.
740         (subst_stack_regs_pat): Likewise, using the information provided
741         by move_for_stack_reg.
742         (subst_stack_regs): Likewise, using the information provided
743         by subst_stack_regs_pat.
744         (convert_regs_1): Record whether a control flow insn was deleted,
745         using the information provided by subst_stack_regs.  Purge dead
746         edges only if a control flow insn was deleted.
748 2003-12-01  Gabriel Dos Reis <gdr@integrable-solutions.net>
750         * doc/c-tree.texi (Function Bodies): Update HANDLER documentation.
752 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
754         * config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
756 2003-11-19  Alan Modra  <amodra@bigpond.net.au>
758         Backport 2003-03-26  Alan Modra  <amodra@bigpond.net.au>
759         * cppinit.c (init_standard_includes): Add both "translated" and
760         non-translated header paths.
762 2003-11-18  Gerald Pfeifer  <gerald@pfeifer.com>
764         Fix links in online manuals.
765         * doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
767 2003-11-17  Gerald Pfeifer  <gerald@pfeifer.com>
769         * doc/invoke.texi (Warning Options): Simplify and clarify the
770         description of -Wnonnull.
772 2003-11-14  Matthias Klose  <doko@debian.org>
774         Backport from mainline
776         2003-06-04  Jakub Jelinek  <jakub@redhat.com>
778         * function.c (trampolines_created): New variable.
779         (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
780         * function.h (trampolines_created): Add.
781         * config/s390/linux.h (ASM_FILE_END): Define.
782         * config/alpha/linux-elf.h (ASM_FILE_END): Define.
783         * config/m68k/linux.h (ASM_FILE_END): Define.
784         * config/rs6000/linux.h (ASM_FILE_END): Define.
785         * config/rs6000/linux64.h (ASM_FILE_END): Define.
786         * config/sparc/linux.h (ASM_FILE_END): Define.
787         * config/sparc/linux64.h (ASM_FILE_END): Define.
788         * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
789         * config/i386/linux.h (SUBTARGET_FILE_END): Define.
790         * config/i386/linux64.h (SUBTARGET_FILE_END): Define.
792         2003-06-05  Jakub Jelinek  <jakub@redhat.com>
794         * mklibgcc.in: Propagate .note.GNU-stack section if needed into
795         the .hidden assembly stubs.
797 2003-11-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
799         PR optimization/12926
800         * expr.c (expand_assignment) [COMPONENT_REF]: Don't put
801         the UNCHANGING_RTX_P flag on memory references to read-only
802         components that are not addressable.
804 2003-11-12  Alexey Starovoytov  <alexey.starovoytov@sun.com>
806         PR optimization/12953
807         * c-objc-common.c (inline_forbidden_p): Added check for BUILT_IN
808         before switch by FUNCTION_CODE.
810 2003-11-10  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
812         PR target/12865
813         * config/sparc/sparc.c (sparc_initialize_trampoline): Call
814         __enable_execute_stack only after writing onto the stack.
815         (sparc64_initialize_trampoline): Likewise.
817 2003-11-08  Roger Sayle  <roger@eyesopen.com>
819         Backport from mainline
820         PR optimization/10467, PR optimization/11741
821         * gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
822         appropriate set to match the code in hash_scan_insn.
824 2003-11-06  H.J. Lu <hongjiu.lu@intel.com>
826         * cppinit.c (init_standard_includes): Updated.
828         * Makefile.in (fixinc.sh): Updated.
830         Backport from 3.4-branch
832         2003-07-16  Daniel Jacobowitz  <drow@mvista.com>
834         * gcc.c (STANDARD_STARTFILE_PREFIX): Remove unnecessary definition.
835         (main): Remove unnecessary case.  Only use standard_startfile_prefix
836         if native.
838         2003-04-11 Alexandre Oliva  <aoliva@redhat.com>
840         * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
841         mkfixinc.sh.
842         * fixinc/mkfixinc.sh (defs): Add LIBERTY.
843         * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
844         build != host sysrooted builds.
845         * configure.in (SYSTEM_HEADER_DIR): Make sure it contains
846         TARGET_SYSTEM_ROOT even on sysrooted natives.
847         * configure: Rebuilt.
849         2003-03-04  Daniel Jacobowitz  <drow@mvista.com>
851         * configure.in: Don't always define TARGET_SYSTEM_ROOT.
852         * configure: Regenerated.
853         * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
855         2003-01-16  Daniel Jacobowitz  <drow@mvista.com>
857         * Makefile.in (PREPROCESSOR_DEFINES): Add
858         @TARGET_SYSTEM_ROOT_DEFINE@.
859         * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
860         is specified or if building a cross compiler.
861         (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
862         if the sysroot is under $exec_prefix.
863         * configure: Regenerated.
864         * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
865         defined.
866         (struct default_include): Add add_sysroot field.
867         (cpp_SYSROOT): Declare.
868         * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
869         field.
870         (cpp_SYSROOT): New variable.
871         * cppinit.c (cpp_create_reader): Initialize
872         CPP_OPTION (pfile, sysroot).
873         (init_standard_includes): Handle add_sysroot.  Do not
874         add unrelocated copies of relocated directories.
875         (COMMAND_LINE_OPTIONS): Add -isysroot.
876         (cpp_handle_option): Handle -isysroot.
877         * cpplib.h (struct cpp_options): Add sysroot member.
878         * gcc.c (The Specs Language): Update description of %I.
879         (target_system_root_changed): New variable.
880         (process_command): Conditionalize make_relative_prefix call
881         on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
882         target_system_root_changed.
883         (do_spec_1): Add -isysroot to %I.
884         * doc/invoke.texi (Spec Files): Update description of %I.
885         * doc/install.texi (--with-sysroot): Update comment about
886         relocation.
888         2002-10-19  Alexandre Oliva  <aoliva@redhat.com>
889                     Angela Marie Thomas  <angela@releasedominatrix.com>
890                     Brendan Kehoe  <brendan@zen.org>
891                     Nick Clifton  <nickc@redhat.com>
892                     Andrew Haley  <aph@redhat.com>
894         * configure.in (--with-sysroot): New.  Don't inhibit libc if
895         given.  AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
896         and CROSS_SYSTEM_HEADER_DIR.
897         * configure: Rebuilt.
898         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
899         (TARGET_SYSTEM_ROOT): New.
900         (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
901         CROSS_SYSTEM_HEADER_DIR.
902         (install-gcc-tooldir): New target.
903         (stmp-fixinc): Do not create $(libsubdir), but rather bail out
904         of SYSTEM_HEADER_DIR does not exist.
905         (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
906         (install-mkheaders): Likewise.
907         * gcc.c (target_system_root): New variable.
908         (add_sysrooted_prefix): New function.
909         (process_command): Recompute run-time target_system_root from
910         gcc_exec_prefix, keeping it unchanged if the relocated sysroot
911         does not exist.
912         (do_spec_1): Process 'R' spec.
913         (main): Add md_exec_prefix to exec_prefixes regardless of
914         startfile_prefix_spec.  Use add_sysrooted_prefix for
915         startfile_prefixes, and don't skip the default ones when cross
916         compiling with sysroot enabled.  Removed unused case of
917         non-absolute standard_startfile_prefix.
918         * config/interix.h: Remove the only potential, yet disabled,
919         occurrence of non-absolute (empty) standard_startfile_prefix.
920         * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
921         linking.
922         * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
923         * doc/install.texi (--with-sysroot): Document.
924         (--with-headers, --with-libs): Deprecate.
926 2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
928         * config/s390/s390-protos.h (s390_output_dwarf_dtprel): Declare.
929         * config/s390/s390.c (s390_output_dwarf_dtprel): New function.
930         * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
932 2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
934         * config/s390/s390.c (s390_function_arg_pass_by_reference): Return
935         true for all arguments larger than 8 bytes, as well as for all vector
936         type arguments.
937         * config/s390/s390.h (RETURN_IN_MEMORY): Likewise for return values.
939 2003-11-05  Roger Sayle  <roger@eyesopen.com>
941         PR optimization/10339
942         * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
943         directly instead of unsafely transforming call into a memcmp.
944         (expand_builtin_strncmp): Likewise.
946 2003-11-03  Alexander Kabaev  <ak03@gte.com>
948         * real.c (encode_ieee_single): Ensure proper promotion.
950 2003-11-04  H.J. Lu <hongjiu.lu@intel.com>
952         Backport from 3.4-branch
954         2003-07-13  Andreas Jaeger  <aj@suse.de>
956         * config.gcc: Add pmmintrin.h for x86_64-*-*.
958         2003-06-26  H.J. Lu  <hongjiu.lu@intel.com>
960         * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
962         * config/i386/i386.c (override_options): Turn on MASK_SSE2
963         for -mpni.
964         (bdesc_2arg): Add PNI builtins with 2 args.
965         (bdesc_1arg): Add PNI builtins with 1 arg.
966         (ix86_init_mmx_sse_builtins): Handle PNI builtins.
967         (ix86_expand_builtin): Likewise.
969         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
970         MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
971         MASK_TLS_DIRECT_SEG_REFS): Renumbered.
972         (TARGET_PNI): New.
973         (TARGET_SWITCHES): Add -mpni and -mno-pni.
974         (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
975         (ix86_builtins): Add PNI builtins.
976         (config/i386/i386.md): Add PNI patterns.
978         * config/i386/pmmintrin.h: New file.
980         * config/i386/i386.c (override_options): Turn on MASK_SSE for
981         -msse2.
982         (MASK_SSE1): Removed.
983         (MASK_SSE164): Removed.
984         (MASK_SSE264): Removed.
985         (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
986         MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
987         with MASK_SSE2 | MASK_64BIT.
988         (bdesc_1arg): Likewise.
989         (ix86_init_mmx_sse_builtins): Likewise.
991         * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
993         2003-06-20  H.J. Lu  <hongjiu.lu@intel.com>
995         * doc/extend.texi: Document new builtin functions for Intel
996         Prescott New Intrunctions.
998         * doc/invoke.texi: Document new command-line options, -mpni and
999         -mno-pni, for Intel Prescott New Intrunctions.
1001         2003-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1003         * config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
1004         and x86_64-*-*.
1006         * config/i386/mmintrin.h: Update version and add alternate
1007         intrinsic names.
1008         * config/i386/xmmintrin.h: Likewise.
1010         * config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
1011         intrinsics to ...
1012         * config/i386/emmintrin.h: Here. New file.
1014 2003-11-04  H.J. Lu  <hongjiu.lu@intel.com>
1016         Backport from 3.4-branch
1017         2003-04-25  H.J. Lu   <hjl@gnu.org>
1019         * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
1020         for return mode.
1021         (ia64_expand_builtin): Set rmode to SImode for
1022         IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
1023         IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
1024         IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
1025         for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.
1027         2003-04-24  H.J. Lu  <hjl@gnu.org>
1029         * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
1030         for __sync_bool_compare_and_swap_di for int return type.
1032         * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
1033         Change return type to int.
1034         (__sync_bool_compare_and_swap): Likewise.
1036 2003-11-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1038         * doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
1039         and Andrew Pinski.
1041 2003-11-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1043         * fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
1044         Merge two substitutions.
1045         * fixinc/fixincl.x: Regenerate.
1046         Fixes PR bootstrap/12666.
1048 2003-10-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1050         PR target/11598
1051         PR libgcj/10610
1052         * config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro.
1054 2003-10-27  Falk Hueffner  <falk@debian.org>
1056         PR target/12654
1057         * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't do
1058         comparison against constant by adjusting the argument except for
1059         EQ and NE.
1061 2003-10-26  Ottavio Campana <ottavio@campana.vi.it>
1063         PR target/12690
1064         * config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.
1066 2003-10-25  Bruce Korb  <bkorb@gnu.org>
1068         * gcc/fixinc/tests/base/ansi/string.h:
1069         This fixes a result from a broken sed or a hand-edited output file.
1070         The '__GNUC__' wrappers were misplaced.
1072 2003-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
1074         PR target/12712
1075         * reg-stack.c (convert_regs_1): Create an arbitrary input stack
1076         if the block has no predecessors.
1077         (convert_regs_2): Document the problem with successors whose
1078         only predecessor is the block to be processed.
1079         (convert_regs): Don't create the arbitrary input stack here.
1081 2003-10-22  David Taylor <dtaylor@emc.com>
1083         PR debug/12500
1084         * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.
1086 2003-10-20  Zack Weinberg  <zack@codesourcery.com>
1088         * fixinc/inclhack.def (hpux11_snprintf): New edit.
1089         * fixinc/fixincl.x: Regenerate.
1090         * fixinc/tests/base/stdio.h: Add test for hpux11_snprintf.
1092 2003-05-16  Jakub Jelinek  <jakub@redhat.com>
1094         * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
1095         .save XX, r0.
1097 2003-10-19  Mark Mitchell  <mark@codesourcery.com>
1099         * doc/include/gcc-common.texi: Bump version number.
1100         * version.c (version_string): Reset to prerelease format.
1102 2003-10-18  Kazu Hirata  <kazu@cs.umass.edu>
1104         * doc/extend.texi: Fix typos.
1106 2003-10-16  Release Manager
1108         * GCC 3.3.2 Released.
1110 2003-10-14  Jason Merrill  <jason@redhat.com>
1112         PR c/11885
1113         * stor-layout.c (update_alignment_for_field): Packed non-bit-fields
1114         get byte alignment.
1116 2003-10-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1118         * fixinc/inclhack.def (alpha_pthread_gcc): New fix.
1119         * fixinc/fixincl.x: Regenerate.
1120         * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New
1121         testcase.
1122         Fixes PR bootstrap/9330.
1124 2003-10-14  Steven Bosscher  <steven@gcc.gnu.org>
1126         PR target/11087
1127         Backport from gcc-3_3-rhl-branch and mainline.
1129         2003-07-17  Jakub Jelinek  <jakub@redhat.com>
1131         * loop.c (basic_induction_var): Check if convert_modes
1132         emitted any instructions. Remove them and return 0 if so.
1134 2003-10-13  Matt Kraai <kraai@alumni.cmu.edu>
1136         PR target/11949
1137         Backport from mainline:
1139         2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
1141         * testsuite/gcc.c-torture/compile/simd-6.c: New.
1142         * c-typeck.c (digest_init): Handle arrays of vector constants.
1144 2003-10-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
1146         PR optimization/12544
1147         * function.c (put_var_into_stack): Don't generate ADDRESSOFs
1148         for DECL_NONLOCAL decls.
1150 2003-10-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
1152         PR optimization/12510
1153         Backport from mainline:
1155         2003-09-08  Jakub Jelinek  <jakub@redhat.com>
1157         * toplev.c (rest_of_compilation): Call split_all_insns before
1158         regstack if optimizing but not scheduling after reload.
1160 2003-10-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1162         * fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
1163         (irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
1164         introduced some multi-line prototypes.
1165         * fixinc/fixincl.x: Regenerate.
1166         Fixes PR libf2c/12263.
1168 2003-10-08  Timo Kokkonen  <tjko@iki.fi>
1169             Eric Botcazou  <ebotcazou@libertysurf.fr>
1171         PR bootstrap/12490
1172         * scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
1173         to define the size of the extern_C_braces array.  Set it to 200.
1174         (scan_decls): Abort when extern_C_braces_length is out-of-bounds.
1176 2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
1178         PR optimization/12215
1179         * cse.c (cse_set_around_loop): Emit the move at the beginning
1180         of the next basic block for trapping sets.
1182 2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
1184         PR optimization/11637
1185         * combine.c (adjust_for_new_dest): New function to adjust the
1186         notes and LOG_LINKS when the dest of an insn has changed.
1187         (try_combine): Use it when deleting the first insn of a two-insn
1188         parallel or splitting a two-load parallel.
1190 2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
1192         * config/m68hc11/t-m68hc11-gas (MULTILIB_MATCHES): m68hcs12 is
1193         identical to m68hc12 as far as libraries are concerned.
1195 2003-10-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
1197         PR c/12446
1198         * c-typeck.c (convert_for_assignment): Issue an error for
1199         array to pointer assignment after default conversion.
1200         (digest_init): Likewise.
1202 2003-10-03  Gerald Pfeifer  <gerald@pfeifer.com>
1204         * doc/extend.texi (Function Attributes): Fix title of GNU C
1205         Preprocessor manual.
1206         (C++ Extensions): Fix reference to "Predefined Macros" in the
1207         GNU C Preprocessor manual.
1209 2003-10-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1211         PR/11883
1212         * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
1214 2003-10-02  Mark Mitchell  <mark@codesourcery.com>
1216         PR optimization/12180
1217         * c-objc-common.c (inline_forbidden_p): Do not permit inlining of
1218         functions containing calls to __builtin_next_arg.
1220 2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
1222         PR/12292
1223         * combine.c (make_field_assignment): Check whether rtx's code
1224         is CONST_INT before using INTVAL.
1226 2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
1228         Waldek Hebisch <hebisch@math.uni.wroc.pl>
1229         PR/12072
1230         * varasm.c (compare_constant): Fix thinko.
1232 2003-10-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1234         * aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
1235         * configure: Rebuilt.
1237 2003-10-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1239         * aclocal.m4: Add ultrix* to /dev/zero blacklist.
1240         * configure: Rebuilt.
1242 2003-10-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1244         * config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
1245         Solaris 7-9.
1247         * fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
1248         wildcards which explicitly match micro versions.
1249         * fixinc/fixincl.x: Regenerate.
1251 2003-10-01  Richard Henderson  <rth@redhat.com>
1253         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
1254         DWARF_ALT_FRAME_RETURN_COLUMN.
1255         * unwind-dw2.c (dwarf_reg_size_table): Expand by one.
1256         (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
1257         (uw_frame_state_for): Return end-of-stack for null return address.
1259         * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
1260         (alpha_expand_prologue): Store a zero for it.
1261         (alpha_expand_epilogue): Don't reload it.
1262         * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
1263         * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
1264         for the sigframe return address.
1266 2003-10-01  Nick Clifton  <nickc@redhat.com>
1268         * Import this patch from mainline:
1270         2003-02-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1272         * collect2.c (pexecute_pid): Rename to pid.
1273         (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
1274         pid.
1276 2003-09-23  David S. Miller  <davem@redhat.com>
1278         * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
1279         before redefining.
1280         * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
1282 2003-10-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
1284         PR optimization/11753
1285         * config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
1286         the length in the non-V9 case.
1288 2003-09-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
1290         PR optimization/12340
1291         * loop.h (struct induction): Document the new semantics
1292         of the 'same' field for bivs.
1293         * unroll.c (biv_total_increment): Don't count the same
1294         biv increment several times.
1295         (loop_iterations) [GENERAL_INDUCT]: Likewise.
1297 2003-09-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1299         PR bootstrap/12358
1300         * pa.c (output_bvb): Fix typo.
1302 2003-09-24  Alexandre Oliva  <aoliva@redhat.com>
1304         * cpplib.c (do_pragma): Reintroduce cb_line_change call in the
1305         code path that calls a handler.
1307 2003-09-23  Geoffrey Keating  <geoffk@apple.com>
1309         * config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.
1311         * config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
1312         pass zero-size arrays by reference.
1313         (rs6000_va_arg): Likewise.
1315 2003-09-22      Joel Sherrill <joel@oarcorp.com>
1317         * combine.c, config/mips/t-elf, config/c4x/rtems.h: Revert patches
1318         which should not have been committed with other RTEMS changes.
1320 2003-09-22  Olivier Hainque  <hainque@act-europe.fr>
1322         PR target/9786
1323         * reg-stack.c (convert_regs_1): Purge possible dead eh edges
1324         after potential deletion of trapping insn. Avoids later ICE
1325         from call to fixup_abnormal_edges.
1326         (convert_regs_2): Stack the current block successors before
1327         processing this block, that is, before the potential deletion of
1328         dead edges by convert_regs_1, because these edges have been used
1329         to initialize the predecessors count.
1331 2003-09-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
1333         PR target/12301
1334         * reorg.c (stop_search_p): Return 1 for insns that can
1335         throw internally.
1337 2003-09-19  Joel Sherrill <joel@oarcorp.com>
1339         * config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
1340         68881.
1342 2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1344         * config/m68k/t-rtems (m68k-*-rtems*): New.
1345         * config.gcc: Use config/m68k/t-rtems.
1347 2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1349         * config/mips/t-rtems: New.
1350         * config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.
1352 2003-09-19  T. Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1353             Eric Botcazou <ebotcazou@libertysurf.fr>
1355         PR target/12166
1356         * config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.
1358 2003-09-18  Mark Mitchell  <mark@codesourcery.com>
1360         PR target/11184
1361         * builtins.c (expand_builtin_apply): Use convert_memory_address
1362         before returning the value.
1364 2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1366         * configure.in (gcc_cv_as_hidden): Only disable if no GNU ld
1367         detected.
1368         * configure: Regenerate.
1369         Fixes PR target/12248.
1371 2003-09-17  Richard Henderson  <rth@redhat.com>
1373         * config/alpha/alpha.c (alpha_expand_mov): Do gen_movdi_er_maybe_g
1374         always during initial code generation.
1375         * config/alpha/alpha.md (movdi_er_maybe_g): Don't conditionalize
1376         on flag_inline_functions.
1378 2003-09-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
1380         PR optimization/11646
1381         * cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
1382         EDGE_ABNORMAL flag for EH edges.
1383         * toplev.c (rest_of_compilation): Delete unreachable blocks
1384         if dead edges were purged after the first CSE pass.
1386 2003-09-16  Jakub Jelinek  <jakub@redhat.com>
1388         * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1389         * config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1390         * config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1391         * config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1392         * config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1393         * config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1394         * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1395         * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1397 2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
1399         * cpplib.c (do_pragma): Remove unnecessary cb_line_change.
1401 2003-09-14  Alexandre Oliva  <aoliva@redhat.com>
1403         * cppmain.c (cb_line_change): Revert 2003-08-04's change.
1404         * c-lex.c (cb_line_change): Skip line changing whenever
1405         cppmain.c would.
1407 2003-09-11  Alexandre Oliva  <aoliva@redhat.com>
1409         PR fortran/11522
1410         * dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
1411         for ultimate origin even if block is abstract.
1413 2003-09-10  Martin Husemann  <martin@duskware.de>
1415         PR target/11965
1416         * config/sparc/sparc.c (sparc_v8plus_shift): Protect against
1417         constants greater than 63.
1418         * config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect
1419         against constants greater than 31.
1420         (*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against
1421         constants greater than 63.
1423 2003-09-09  Richard Henderson  <rth@redhat.com>
1425         PR target/12224:
1426         * config/ia64/ia64.c (ia64_expand_move): Properly truncate
1427         result when op0 is SImode.
1429 2003-09-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1431         * configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
1432         assembler supports Sun syntax for cmov.
1433         * configure: Regenerate.
1434         * config.in: Li{ewise.
1435         * config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
1436         HAVE_AS_IX86_CMOV_SUN_SYNTAX.
1437         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
1438         Fixes PR target/12101.
1440 2003-09-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1442         * configure.in (gcc_cv_as_hidden): Disable unless using GNU ld.
1443         * configure: Regenerate.
1445 2003-09-08  Mark Mitchell  <mark@codesourcery.com>
1447         * mklibgcc.in (libcc.a): Depend on stmp-dirs.
1448         (libgov.a): Likewise.
1449         (libgcc_eh.a): Likewise.
1451 2003-09-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1453         PR target/11689
1454         * config/i386/i386.c (memory_address_length): Fix computation when
1455         the base is esp or ebp.
1457 2003-09-07  Mark Mitchell  <mark@codesourcery.com>
1459         PR c++/11852
1460         * varasm.c (initializer_constant_valid_p): Correct logic for
1461         CONSTRUCTORs.
1463 Sun Sep  7 14:53:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
1465         * cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
1467 2003-09-07  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
1469         PR optimization/11662
1470         Backport from mainline:
1472         2003-07-10  Denis Chertykov  <denisc@overta.ru>
1473                     Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1475         * combine.c (gen_binary): Handle the CLOBBER rtx and
1476         don't build a binary operation with it.
1478 Sat Sep  6 23:16:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
1480         * cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
1482         PR target/12070
1483         * calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
1485         PR opt/12082
1486         * cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.
1488 2003-09-06  Steven Bosscher  <steven@gcc.gnu.org>
1490         PR c/9862
1491         * c-decl.c (c_expand_body): Move return warning from here...
1492         (finish_function): ...to here.
1494 2003-09-05  Jan Hubicka  <jh@suse.cz>
1496         PR target/8869
1497         * expr.c (convert_modes): Deal properly with integer to vector
1498         constant conversion.
1500 2003-09-05  Andrew Pinski <pinskia@physics.uc.edu>
1502         PR c/10962
1503         * c-decl.c (field_decl_cmp): Add back function.
1504         (finish_struct): Sort fields if number greater than 15
1505         and no anymous structs/unions.
1507 2003-09-04  Jakub Jelinek  <jakub@redhat.com>
1509         * config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2.
1510         * config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function.
1511         * unwind.h (_Unwind_GetBSP): New prototype.
1512         * libgcc-std.ver: Add empty GCC_3.3.2 version.
1513         * mkmap-symver.awk: For symbol versions with no exported symbols,
1514         don't put anything into version script, just change all symbol
1515         versions which inherit from it to inherit from its ancestor.
1517 2003-09-02  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1519         This is a fix for PR 10988:
1520         * m32r.c (m32r_print_operand): Correct comment.
1521         (m32r_expand_block_move): Correct the handling of leftover/small
1522         blocks.
1523         (m32r_block_small_immediate_operand): New predicate.
1524         * m32r.md (movstrsi_small_internal): New pattern.
1525         * m32r.h (PREDICATE_CODES): Add m32r_block_small_immediate_operand.
1526         * m32r-protos.h: Add prototype for m32r_block_small_immediate_operand.
1528 2003-08-25  Richard Henderson  <rth@redhat.com>
1530         * config/i386.i386.c (ix86_return_in_memory): Reformat.  Return true
1531         for 16-byte vector modes if sse not enabled; warn for abi change.
1532         (ix86_value_regno): Only return xmm0 for 16-byte vector types.
1534 2003-08-25  Zack Weinberg  <zack@codesourcery.com>
1536         * config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove
1537         commented-out logic to use DCE threads (if present), add
1538         support for POSIX threads.
1539         * config/ia64/hpux.h: Define CPP_SPEC to set appropriate
1540         #defines for -pthread.  Add -lpthread to LIB_SPEC when
1541         -pthread.  In both cases take -mt as a synonym for -pthread
1542         for acc compatibility.
1543         Define GTHREAD_USE_WEAK to 0.
1544         * config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC.
1545         Remove old logic for DCE threads from LIB_SPEC.
1546         * config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0.
1548 2003-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
1550         * combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
1552 2003-08-23  Jakub Jelinek  <jakub@redhat.com>
1554         * c-decl.c (pushdecl): Only put decls which finish_struct will do
1555         something about onto incomplete chain.
1556         (finish_struct): If not removing type from incomplete
1557         list, update prev.
1559 2003-08-23  Alexandre Oliva  <aoliva@redhat.com>
1561         * cppmain.c (cb_line_change): Don't skip line changing while
1562         parsing macro arguments in the top-level context.
1564 2003-08-22  Mark Mitchell  <mark@codesourcery.com>
1566         * config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
1568         * config/ia64/ia64.c (ia64_output_mi_thunk): Support ILP32 mode.
1570 2003-08-21  Kazu Hirata  <kazu@cs.umass.edu>
1572         PR target/11805
1573         * config/h8300/h8300.md (two anonymous patterns): Remove.
1575 2003-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1577         * stmt.c (expand_asm_operands): Avoid string concatenation.
1578         * tree.c (default_flag_random_seed): Avoid ISO C definition.
1579         * varasm.c (output_constant_def): Delete unused variable.
1581 2003-08-18  Matt Kraai  <kraai@alumni.cmu.edu>
1583         PR c/11207
1584         * c-typeck.c (set_init_index): Check for negative index.
1586 2003-08-14  Mark Mitchell  <mark@codesourcery.com>
1588         * version.c (version_string): Use "prerelease" not "experimental".
1590 2003-08-11  James E Wilson  <wilson@tuliptree.org>
1592         PR optimization/11319
1593         PR target/10021
1594         * alias.c (find_base_value, case REG): Return 0 not src if no base
1595         found.
1597 2003-08-11  Kean Johnston  <jkj@sco.com>
1599         * fixinc/inclhack.def (sco_math): Updated test text and select trigger
1600         according to bkorb's review.
1601         * fixinc/inclhack.def (sco_regset): Ditto.
1602         * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Remove all mach
1603         lines so that this file is unconditionally replaced.
1604         * fixinc/inclhack.def (sco_string): Use ansi/string.h as the first file
1605         to check so that the Ultrix string.h check doesnt overwrite the test
1606         case with its replacement text.
1607         * fixinc/fixincl.x: Regenerated
1608         * fixinc/tests/base/math.h: Updated sco_math result text
1609         * fixinc/tests/base/ansi/string.h: New file.
1610         * fixinc/tests/base/sys/regset.h: Compacted result text to fewer lines.
1612 2003-08-11  Dale Johannesen  <dalej@apple.com>
1613         * config/rs6000/rs6000.md (ctrsi, ctrdi):  Reenable handling of
1614         decrement-and-branch farther away than 32 bits.
1616 2003-08-10  Zack Weinberg  <zack@codesourcery.com>
1618         Backport the following changes from mainline:
1620     2003-05-08  David Mosberger <davidm@hpl.hp.com>
1622         * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
1624     2003-04-03  Richard Henderson  <rth@redhat.com>
1626         * unwind-libunwind.c (_Unwind_GetCFA): New.
1628     2003-03-27  David Mosberger <davidm@hpl.hp.com>
1630         * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
1631         v0.9 API change: replace read of UNW_REG_HANDLER with
1632         unw_get_proc_info().
1633         (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
1634         with unw_get_proc_info().
1635         (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
1636         unw_get_proc_info().
1638     2003-03-13  Nathanael Nerode  <neroden@gcc.gnu.org>
1640         * unwind-libunwind.c: Replace "GNU CC" with "GCC".
1642     2002-10-02  David Mosberger-Tang  <David.Mosberger@acm.org>
1644         * config/t-libunwind: Mention unwind-sjlj.c.
1645         * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
1646         to #ifndef __USING_SJLJ_EXCEPTIONS__.
1648         * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
1649         before inclusion of config.gcc, but after configuring the compiler etc.
1650         Determine default value for --enable-libunwind-exceptions based on
1651         whether the host has a libunwind library (not guaranteed to be correct,
1652         but it's a reasonable first guess and can always be overridden with an
1653         explicit --enable/disable-libunwind-exceptions.
1654         * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
1655         tmake_file when $use_libunwind_exceptions is enabled.
1656         * Makefile.in: Update comment: LIB2ADDEH is updated not just by
1657         ia64 (e.g., config/t-linux also updates it).
1658         * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
1659         along with the shared version of libgcc since the latter requires
1660         the former.
1662         * unwind-libunwind.c: New file.
1663         * config/t-libunwind: Ditto.
1665 2003-08-10  Richard Henderson  <rth@redhat.com>
1667         PR target/11693
1668         * config/ia64/ia64.c (ia64_emit_nops): Skip L slots when
1669         padding before inline assembly.
1671 2003-08-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1673         PR c++/11712
1674         * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
1675         __STDC_EXT__ when using C++ dialect.
1677 2003-08-08  Kean Johnston  <jkj@sco.com>
1679         PR target/9877
1680         PR target/8336
1681         * config.gcc (sco3.2v5*): Use elfos.h and dbxelf.h in tm_file;
1682         Eliminate need for t-sco5gas target fragment.
1683         No longer build crt{begin,end}S.o, that were used for COFF support.
1684         * tlink.c (recompile_files): Add missing = in putenv() calls.
1685         * unwind-dw2.c (_Unwind_GetCFA): Correct return cast.
1686         * config/i386/sco5.h: Major overhaul to remove all COFF support
1687         * config/i386/t-sco5: Multilib for PIC support
1688         * config/i386/t-sco5gas: Remove
1689         * config/i386/i386.c: Check value as well as presence of
1690         SUPPORTS_ONE_ONLY
1691         * doc/install.texi: Update for modern SCO instructions
1692         * fixinc/check.tpl: Allow user to specify diff program for make check
1693         * fixinc/inclhack.def: Fix several SCO header files, namely string.h,
1694         math.h, sys/byteorder.h and sys/regset.h.
1695         * fixinc/fixincl.x: Regenerate
1696         * fixinc/tests/base/math.h: Update
1697         * fixinc/tests/base/sys/byteorder.h: Update
1698         * fixinc/tests/base/string.h: Added
1699         * fixinc/tests/base/sys/regset.h: Added
1700         * testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported)
1702 2003-08-08  Roger Sayle  <roger@eyesopen.com>
1704         PR c/11370
1705         * calls.c (emit_call_1): Don't bother popping the arguments off of
1706         the stack after a noreturn function call;  The adjustment is dead.
1707         (expand_call): Likewise.
1709 2003-08-08  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
1711         * config.gcc: Do not override sh/t-linux with sh/t-le.
1713 2003-08-08  Kaz Kojima  <kkojima@gcc.gnu.org>
1715         * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
1716         (LIB_SPEC): Set -lpthread always when -pthread set.  Set -lieee
1717         when -mieee-fp set and -shared not set.
1719 2003-08-08  Richard Henderson  <rth@redhat.com>
1721         PR target/11535
1722         * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
1723         RETURN_ADDRESS_POINTER_REGNUM.
1724         (ia64_expand_prologue): Don't frob it.
1725         (ia64_output_function_epilogue): Likewise.
1726         (ia64_return_addr_rtx): New.
1727         (ia64_split_return_addr_rtx): New.
1728         * config/ia64/ia64-protos.h: Update.
1729         * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
1730         (RETURN_ADDRESS_POINTER_REGNUM): Remove.
1731         (GENERAL_REGNO_P): Don't check it.
1732         (AR_*_REGNUM): Renumber.
1733         (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
1734         (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
1735         (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
1736         (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
1737         (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
1738         * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
1739         (movdi_ret_addr): New.
1741 2003-08-03  Geoffrey Keating  <geoffk@apple.com>
1743         PR 11709
1744         * varasm.c (output_constant_def_contents): Use
1745         ASM_DECLARE_CONSTANT_NAME if defined.
1746         * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
1747         * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
1748         objects get at least one byte to prevent assembler problems.
1749         (ASM_DECLARE_CONSTANT_NAME): New.
1751 2003-08-07  Mark Mitchell  <mark@codesourcery.com>
1753         * version.c (version_string): Reset to prerelease.
1754         * doc/include/gcc-common.texi: Update version.
1756 2003-08-04  Release Manager
1758         * GCC 3.3.1 Released.
1760 2003-08-04  Release Manager
1762         * GCC 3.3.1 Released.
1764 2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
1766         PR preprocessor/11534
1767         * cppexp.c (parse_defined): Warn only if -pedantic.
1769 2003-08-03  Mark Mitchell  <mark@codesourcery.com>
1771         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Pass AR.
1773         * Makefile.in (STAGE2_FLAGS_TO_PASS): Pass AR_FOR_TARGET and
1774         RANLIB_FOR_TARGET.
1775         (stage1_build): Likewise.
1777 2003-08-03  Jan Hubicka  <jh@suse.cz>
1779         PR 10510
1780         * config/pa/pa.h (MAYBE_FP_REG_CLASS_P): New.
1781         (SECONDARY_MEMORY_NEEDED): Use it.
1783 2003-08-01  Geoffrey Keating  <geoffk@apple.com>
1785         PR 11709 (partial fix)
1786         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
1787         insert a label at the end of an function under Mach-O.
1789         PR 11313
1790         * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
1791         when it's not needed.
1793 2003-07-29  Richard Henderson  <rth@redhat.com>
1795         PR target/10681
1797         2003-06-27  J"orn Rennecke <joern.rennecke@superh.com>
1798         * flow.c (propagate_one_insn): Use proper test for a register
1799         being part of the return value.
1801         2003-06-26  Richard Henderson  <rth@redhat.com>
1802         * flow.c (propagate_one_insn): Preserve live-at-end registers
1803         across tail calls.
1805         2003-06-26  Richard Henderson  <rth@redhat.com>
1806         * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
1807         (ia64_split_call): Only load descriptor for GP register inputs.
1808         (ia64_expand_epilogue): Check current_frame_info.mask not
1809         current_function_is_leaf to restore ar.pfs.
1811 2003-07-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1813         * doc/install.texi (Testing): Adjust required versions of DejaGnu.
1815 2003-07-24  Aldy Hernandez  <aldyh@redhat.com>
1817         Backport the folling patch.
1819         2003-04-01  Aldy Hernandez  <aldyh@redhat.com>
1821         PR/8878
1822         * expr.c (expand_expr): Handle VECTOR_CST.
1823         (const_vector_from_tree): New.
1825         * varasm.c (output_constant): Handle VECTOR_CST.
1827         * c-typeck.c (digest_init): Build a vector constant from a
1828         VECTOR_TYPE.
1830 2003-07-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1832         PR target/11607 and PR target/11516
1833         * pa.md (extzv, extv, insv): Revert latter half of last patch.
1835 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
1837         PR optimization/10679
1838         * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
1840 2003-07-22  Bob Wilson  <bob.wilson@acm.org>
1842         * unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
1844 2003-07-23  Dave Fluri  <dave.fluri@onlink.net>
1846         * doc/extend.texi: Fixes to spelling, grammar, and diction.
1848 2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
1850         PR optimization/11599
1851         * config/ia64/ia64.md (prefetch): Support predicate.
1853 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
1855         PR optimization/11536
1856         * unroll.c (loop_iterations): Do not replace a register holding
1857         the final value by its equivalent before the loop if it is not
1858         invariant.
1860 2003-07-21  Ben Elliston  <bje@wasabisystems.com>
1862         * doc/invoke.texi (V850 Options): Spelling fixes.
1864 2003-07-21  Lisa M. Goldstein  <opus@gnu.org>
1866         * doc/invoke.texi: Fixes to style, grammar and diction.
1868 2003-07-20  Mark Mitchell  <mark@codesourcery.com>
1870         PR debug/11279
1871         * dwarf2out.c (gen_enumeration_type_die): Remember that
1872         enumerators can be unsigned.
1874 2003-07-19  Kelley Cook  <kelleycook@wideopenwest.com>
1876         * c-tree.texi: Backport changes from mainline.
1877         * c-tree.texi: Ditto.
1878         * collect2.texi: Ditto.
1879         * cpp.texi: Ditto.
1880         * cppopts.texi: Ditto.
1881         * extend.texi: Ditto.
1882         * fragments.texi: Ditto.
1883         * headerdirs.texi: Ditto.
1884         * install.texi: Ditto.
1885         * invoke.texi: Ditto.
1886         * md.texi: Ditto.
1887         * portability.texi: Ditto.
1888         * rtl.texi: Ditto.
1889         * sourcebuild.texi: Ditto.
1890         * trouble.texi: Ditto.
1892 2003-07-19  Kelley Cook  <kelleycook@wideopenwest.com>
1894         PR optimization/4490
1895         * doc/invoke.texi (m96bit-long-double, m128bit-long-double):  Reword
1896         documentation to accurately reflect what these options do.
1898 2003-07-18  Richard Henderson  <rth@redhat.com>
1899             David S. Miller  <davem@redhat.com>
1901         PR target/11556
1902         * optabs.c (prepare_operand): Fail gracefully instead of abort
1903         if the predicate doesn't satisfy.
1904         (gen_cond_trap): Allow prepare_operand to fail.
1905         Pass correct opnum argument to prepare_operand.
1907 2003-07-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
1909         PR optimization/11083
1910         * toplev.c (rest_of_compilation): Delete unreachable blocks
1911         if dead edges were purged after the addressof pass.
1913 2003-07-17  Mark Mitchell  <mark@codesourcery.com>
1915         PR optimization/11557
1916         * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
1917         unless we know which function is being called.
1919 2003-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
1921         PR bootstrap/11043
1922         * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
1923         "x-crtfini.o" with "crtinit.o", "crtfini.o".
1925 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
1927         PR other/11466
1928         * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
1929         and its restrictions for the SPARC64 port.
1931         Backport from mainline:
1932         2003-06-13  Florian Weimer  <fw@deneb.enyo.de>
1934         * doc/invoke.texi (SPARC Options): Document "-mimpure-text".
1936 2003-07-17  Eric Botcazou <ebotcazou@libertysurf.fr>
1937             Phil Edwards <phil@jaj.com>
1939         * doc/install.texi (*-*-solaris2*): Document the step-by-step
1940         procedure to bootstrap and install.
1941         Document the preference for the legacy Sun tools in /usr/bin
1942         over the POSIX tools in /usr/xpg4/bin for the build process.
1944 2003-07-16  Richard Henderson  <rth@redhat.com>
1946         PR target/10907
1947         * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
1948         even with !TARGET_CONST_GP.
1949         (ia64_function_ok_for_sibcall): Reject non-local functions.
1951 2003-07-15  Geoffrey Keating  <geoffk@apple.com>
1953         * config/darwin.c (machopic_select_section): Use decl_readonly_section
1954         to do most of the work.
1956 2003-07-15  David S. Miller  <davem@redhat.com>
1958         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
1959         emit nop if the last real insn is CALL_INSN.
1961 2003-07-15  Loren James Rittle  <ljrittle@acm.org>
1963         * config/i386/freebsd.h (SET_ASM_OP): Remove.
1964         (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
1965         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
1966          MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
1968 2003-07-15  Mark Mitchell  <mark@codesourcery.com>
1970         PR debug/11473
1971         * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
1972         base classes.
1974 2003-07-15  James A. Morrison  <ja2morri@student.math.uwaterloo.ca>
1976         * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
1978 2003-07-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
1980         PR optimization/11320
1981         * sched-int.h (struct deps) [reg_conditional_sets]: New field.
1982         (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
1983         * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
1984         current_sched_info->compute_jump_reg_dependencies. Record which
1985         registers are used and which registers are set by the jump.
1986         Clear deps->reg_conditional_sets after a barrier.
1987         Set deps->reg_conditional_sets if the insn is a COND_EXEC.
1988         Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
1989         (init_deps): Initialize reg_conditional_sets.
1990         (free_deps): Clear reg_conditional_sets.
1991         * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
1992         Mark registers live on entry of the fallthrough block and conditionally
1993         set as set by the jump. Mark registers live on entry of non-fallthrough
1994         blocks as used by the jump.
1995         * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
1996         Mark new parameters as unused.
1998 2003-07-14  Mark Mitchell  <mark@codesourcery.com>
2000         PR debug/11098
2001         * integrate.c (copy_decl_for_inlining): Do not mark copied decls
2002         as DECL_ABSTRACT.
2004 2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2006         PR optimization/11440
2007         * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
2008         SIGN_EXTRACT SETs.
2010 2003-07-13  Aaron W. LaFramboise  <awlaframboise@aol.com>
2012         * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
2014 2003-07-13  Roger Sayle  <roger@eyesopen.com>
2016         PR optimization/11059
2017         * expr.c (can_store_by_pieces): Return true if length is zero.
2018         (store_by_pieces): Do nothing if length is zero.
2019         (clear_by_pieces): Do nothing if length is zero.
2020         (clear_storage): Do nothing if length is zero.
2021         (store_constructor): Simplify code when size is zero, or the
2022         target has already been cleared.  This avoids emitting a
2023         blockage instruction when initializing empty structures.
2025 2003-07-13  Richard Henderson  <rth@redhat.com>
2027         * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
2028         __gcc_personality_v0.
2030 2003-07-11  Dara Hazeghi  <dhazeghi@yahoo.com>
2032         PR optimization/10877
2033         * doc/install.tex: Update required binutils for i?86-*-linux*
2035 2003-07-11  Ben Elliston  <bje@redhat.com>
2037         PR c++/1607
2038         * doc/extend.texi (Function Attributes): Document the effect of
2039         the C++ "this" parameter on the counting of arguments for the
2040         "format" and "format_arg" attributes.
2042 2003-07-11  Danny Smith  <dannysmith@users.sourceforge.net>
2044         Backport from mainline.
2046         2003-05-13  Richard Henderson  <rth@redhat.com>
2048         * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
2049         the old decl had instantiated DECL_RTL.
2051         2003-05-21  Danny Smith  <dannysmitx@users.sourceforge.net>
2053         PR c++/9738
2054         * config/i386/winnt.c (i386_pe_encode_section_info): Enable
2055         even if not first.
2057         2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
2059         PR c++/5287, PR c++/7910, PR c++/11021
2060         * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
2061         dllimport attribute if function is defined at declaration, but
2062         report error instead. Likewise for dllimport'd variable
2063         definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
2064         declared within functions, Report error if dllimport or dllexport
2065         symbol is not global.
2066         (i386_pe_dllimport_p): Ignore dllimport attribute of functions
2067         if defined after declaration or if inlined. Don't allow definition
2068         of static data members of C++ classes. Don't dllimport virtual
2069         methods.
2070         (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
2071         (i386_pe_mark_dllimport): Remove unnecessary checks.
2072         (i386_pe_encode_section_info): Warn if the dllimport attribute
2073         and symbol prefix have been instantiated and then overridden.
2075         * doc/extend.texi: Document dllimport and dllexport attributes.
2077 2003-07-10  James E Wilson  <wilson@tuliptree.org>
2079         PR optimization/9745
2080         * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
2081         loop_insn_emit_before.
2082         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2084 2003-07-10  Dara Hazeghi  <dhazeghi@yahoo.com>
2086         PR bootstrap/10758
2087         * doc/install.texi: Document requirements for ia64-*-hpux* target.
2089 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2091         PR c++/10032
2092         * doc/invoke.texi (C++ Dialect Options): Change documentation of
2093         -fpermissive.
2095 2003-07-10  Matt Kraai  <kraai@alumni.cmu.edu>
2097         * doc/invoke.texi: Fix misspelling of "@item".
2099 2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
2101         * doc/install.texi (Configuration): Document the valgrind option
2102         to --enable-checking.
2104 2003-07-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2106         PR Target/11453
2107         * pa.md: Disparage all mtsar constraints.
2108         (extzv, extv, insv): Don't fail on length of {32|64}.
2110 2003-07-08  James E Wilson  <wilson@tuliptree.org>
2112         PR target/10021
2113         * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
2114         loop over new variable t2 instead of t.
2116 2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
2118         * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
2119         as .file/.loc directives are incompatible with linker relaxation.
2121 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
2123         PR c/11420
2124         * config/i386/i386.c (ix86_check_movabs): New function.
2125         * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
2126         * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
2127         (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
2129         * config/i386/i386.md (movdi_1_rex64): Set Y<-m alternative's type
2130         to ssemov.
2132 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
2134         * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
2135         REG_EQUIV notes as well.
2137 2003-07-07  Dale Johannesen <dalej@apple.com>
2139         PR 10900
2140         * config/rs6000/darwin-tramp.asm:  Fix trampolines.
2142 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
2144         PR optimization/11368
2145         * doc/invoke.texi (-falign-functions): Document that
2146         when n is zero then a machine-dependent default is used.
2147         (-falign-labels): Document that when n is zero then a
2148         machine-dependent default is used and that -falign-labels =1
2149         is equivalent to -fno-align-labels.
2150         (-falign-loops): Likewise.
2151         (-falign-jumps): Likewise.
2153 2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2154             Eric Botcazou  <ebotcazou@libertysurf.fr>
2156         PR optimization/11198
2157         * alias.c (objects_must_conflict_p): Return 1 if the types have
2158         the same alias set, not if the alias sets only conflict.
2160 2003-07-06  Matthias Klose  <doko@debian.org>
2162         Backport from mainline:
2164         2003-07-04  Zack Weinberg  <zack@codesourcery.com>
2166         * doc/extend.texi: Delete entire section on multiline strings.
2168 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
2170         * Makefile.in: Replace PWD with PWD_COMMAND.
2172 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
2174         PR optimization/11304
2175         Backport from mainline:
2177         2003-04-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2179         * cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p.
2181 2003-07-03  Roger Sayle  <roger@eyesopen.com>
2183         PR target/10700
2184         * fold-const.c (extract_muldiv_1): There's nothing that can be done
2185         if the expression is a SAVE_EXPR.
2187 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
2189         PR optimization/11381
2190         * simplify-rtx.c (simplify_relational_operation): Check that
2191         two equal operands have no side-effects before simplifying
2192         the comparison.
2194 2003-07-01  Zack Weinberg  <zack@codesourcery.com>
2196         PR 2873
2197         * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
2198         expressions to prevent triggering on recent curses.h,
2199         linux/nls.h, or X11/Xlib.h.
2200         (stdio_va_list): Add _G_va_list to bypass pattern.
2201         (strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
2202         * fixinc/fixincl.x: Regenerate.
2204 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2206         * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
2207         <internal/stdio_core.h> too.
2208         (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
2209         <internal/wchar_core.h> too.
2210         Substitute va_list uses in inline definition.
2211         * fixinc/fixincl.x: Regenerate.
2213 2003-07-01  Richard Henderson  <rth@redhat.com>
2214             (blame to: Loren James Rittle  <ljrittle@acm.org>)
2216         * real.h (ieee_extended_intel_96_round_53_format): New.
2217         * real.c (ieee_extended_intel_96_round_53_format): New.
2218         * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
2219         for XFmode and TFmode.
2221 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
2223         * doc/contrib.texi: Fix typos.
2224         * doc/sourcebuild.texi: Likewise.
2226 2003-06-27  Gunther Nikl  <gni@gecko.de>
2228         PR target/11014
2229         * config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
2230         syntax for MIT / MOTOROLA.
2232 2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
2234         * config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
2235         * config/s390/s390.c (s390_secondary_output_reload_class): New function.
2236         * config/s390/s390-protos.h (s390_secondary_output_reload_class):
2237         Declare it.
2238         * config/s390/s390.md ("reload_outti", "reload_outdi",
2239         "reload_outdf"): New expanders.
2241         * config/s390/s390.md ("movti" + splitters): Handle non-offsettable
2242         memory operands as source.
2243         ("movdi" + splitters): Likewise.
2244         ("movdf" + splitters): Likewise.
2245         * config/s390/s390.c (s390_split_ok_p): New function.
2246         * config/s390/s390-protos.h (s390_split_ok_p): Declare it.
2248 2003-06-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2250         * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
2252         * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
2253         (MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
2255         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
2256         !TARGET_IRIX6]: Define as NULL.
2258         * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
2259         DWARF 2 default.
2261         * config/mips/dbxmdebug.h: New file.
2262         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
2263         gas and --with-stabs.
2265 2003-06-27  Andreas Schwab  <schwab@suse.de>
2267         * config.gcc (m68k-*-linux*): Don't override extra_parts and
2268         gnu_ld, use the generic *-*-linux* settings instead.
2270 2003-06-26  Roger Sayle  <roger@eyesopen.com>
2272         PR optimization/11054
2273         * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
2274         and SIGN_EXTRACT.
2276 2003-06-25  Zack Weinberg  <zack@codesourcery.com>
2278         PR bootstrap/3163
2279         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
2280         (gcc_AC_FUNC_MMAP_BLACKLIST): New.
2281         * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
2282         and AC_CHECK_FUNCS lists, respectively.  Use
2283         gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
2284         AC_FUNC_MMAP_FILE.
2285         * configure, config.in: Regenerate.
2287         * ggc-page.c (init_gcc): Call fatal_io_error, not abort,
2288         if opening /dev/zero fails.
2290 2003-06-25  Roger Sayle  <roger@eyesopen.com>
2292         * builtins.c (expand_builtin_strcpy): Construct new argument list
2293         manually instead of using chainon to modify the original arglist.
2294         (expand_builtin_strcmp): Likewise.
2296 2003-06-25  David O'Brien  <obrien@FreeBSD.org>
2298         * config/i386/i386.h (builtin_define): Remove duplicate __amd64
2299         and __amd64__.
2301 2003-06-25      Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2303         * config/sh/sh.c (sh_register_move_cost):
2304         Add case for moving between MAC_REGS.
2306 2003-06-24  Jerry Quinn  <jlquinn@optonline.net>
2308         PR other/11280
2309         * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
2310         -freorder-functions description.
2312 2003-06-25  Richard Sandiford  <rsandifo@redhat.com>
2314         PR target/11084
2315         * config/mips/mips.c (mips_expand_prologue): Fix setting of regno
2316         for the end of a variable argument list.
2318 2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
2320         * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
2322 2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2324         PR target/11260
2325         * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
2327 2003-06-24  Jakub Jelinek  <jakub@redhat.com>
2329         * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
2330         src twice.
2332 2003-06-23  Jakub Jelinek  <jakub@redhat.com>
2334         * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
2335         mode, as it requires pic register loaded.
2337 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2339         * doc/extend.texi: Fix typos.
2340         * doc/md.texi: Likewise.
2342 2003-06-23  Roger Sayle  <roger@eyesopen.com>
2343             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2345         * doc/contrib.texi (Contributors): Add a note on testing and
2346         remove duplicates from testers list.
2348 2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
2350         * doc/invoke.texi: Document dump options, dT and dW.
2352 2003-06-23  Andreas Schwab  <schwab@suse.de>
2354         * doc/invoke.texi: Remove leading `-' from options in index.
2356 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2358         * doc/invoke.texi: Document dump, .cfg.
2360 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2362         * doc/invoke.texi: Alphabetize dump options.
2364 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2366         * doc/invoke.texi: Remove a duplicate -dk.
2368 2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
2370         * doc/rtl.texi: Fix the @findex for pre_modify.
2372 Sat Jun 21 13:37:52 CEST 2003  Jan Hubicka  <jh@suse.cz>
2374         * i386.c (ix86_va_arg): Fix allocation of temporary slot.
2376 2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2378         * doc/contrib.texi (Contributors): Use Windows instead of Win32.
2380         Update Andreas Jaeger's entry.
2382         Merge the two entries of Kaveh Ghazi, David Edelsohn, and
2383         Loren J. Rittle.
2385 2003-06-20  Geoffrey Keating  <geoffk@apple.com>
2387         PR c++/9393
2388         * doc/invoke.texi (Debugging Options): Document -frandom-seed.
2389         * configure.in: Check for gettimeofday.
2390         * tree.c (flag_random_seed): Define.
2391         (default_flag_random_seed): New.
2392         (append_random_chars): Use flag_random_seed rather than trying
2393         to acquire randomness here.
2394         * tree.h (default_flag_random_seed): Declare.
2395         * toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
2396         descriptions.
2397         (decode_f_option): Handle -frandom-seed.
2398         (print_switch_values): Call default_flag_random_seed.
2399         * flags.h (flag_random_seed): Declare.
2400         * configure: Regenerate.
2401         * config.in: Regenerate.
2403 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
2405         PR c++/10888
2406         * tree-inline.c (expand_call_inline): Do not warn about failing to
2407         inline functions declared in system headers.
2408         * doc/invoke.texi (-Winline): Expand on documentation.
2410 2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2412         * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
2413         * configure: Regenerate.
2414         Fixes PR driver/9362.
2416 2003-06-19  Vladimir Makarov  <vmakarov@redhat.com>
2418         * haifa-sched.c (max_isse): Backport from the mainline.
2419         (choice_entry): New structure.
2420         (choice_stack, cycle_issued_insns, max_lookahead_tries,
2421         cached_first_cycle_multipass_dfa_lookahead, cached_issue_rate):
2422         New variables.
2423         (choose_ready): Calculate max_lookahead_tries.  Initiate
2424         ready_try.
2425         (schedule_block): Allocate/deallocate choice_stack.  Change
2426         cycle_issued_insns value as necessary.
2427         (sched_init): Check cached_issue_rate.
2429 2003-06-20  Daniel Egger  <degger@fhm.edu>
2430             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2432         * doc/install.texi (Building): Correct and improve statement
2433         about parallel builds.
2435 2003-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
2437         * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
2438         SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
2439         (--with-as): Add @anchor.
2440         (--with-gnu-ld): Fix typo.
2441         (--with-ld): Add @uref to --with-as.
2443 2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
2445         * flow.c (initialize_uninitialized_subregs): Use
2446         emit_move_insn instead of emitting a hardcoded move.
2448 2003-06-19  David Edelsohn  <edelsohn@gnu.org>
2450         * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
2451         to ABI_V4.
2453 2003-06-19  DJ Delorie  <dj@redhat.com>
2455         PR preprocessor/11022
2456         * cppmacro.c (warn_of_redefinition): Handle cases where the two
2457         definitions have different numbers of tokens.
2459 2003-06-18  Richard Henderson  <rth@redhat.com>
2461         * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
2462         (_Unwind_FindEnclosingFunction): Implement.
2464 2003-06-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2466         * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
2467         argument.
2468         (function_arg): Handle CALL_LIBCALL flag.
2469         * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
2470         prototype.
2471         * config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
2472         (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
2473         (INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
2474         (INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
2476 2003-06-17  Jason Merrill  <jason@redhat.com>
2478         PR c++/10929
2479         * tree-inline.c (expand_call_inline): Don't warn about failing to
2480         inline a function which was made inline by -finline-functions.
2482 2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
2484         * install.texi (Testing): Add information on how to run Java
2485         runtime tests separately.
2487 2003-06-17  Christopher Faylor  <cgf@redhat.com>
2489         * doc/install.texi: Add msvc rebuild caveat.
2491 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
2493         * doc/contrib.texi: Replace Hitachi with Renesas.
2494         * doc/install.texi: Likewise.
2495         * doc/invoke.texi: Likewise.
2497 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2499         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
2500         2003-01-23 patch. Corrected to handle kernels with changed ucontext.
2502         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
2503         -msdata=eabi usages.
2505 2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
2507         PR optimization/10842
2508         From trunk:
2509         2003-01-20  Nick Clifton  <nickc@redhat.com>
2511         * config/arm/arm.md (sibcall_epilogue): Add an
2512         UNSPEC_PROLOGUE_USE to prevent the link register from being
2513         considered dead.
2515         2003-02-02  Richard Earnshaw  <rearnsha@arm.com>
2517         * arm.md (sibcall_epilogue): Set the "conds" to "clob".
2518         (epilogue_insns): Likewise.
2520 2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
2522         PR target/11183
2523         * arm.c (output_move_double): Pass SImode to adjust_address.
2525 2003-06-13  Janis Johnson  <janis187@us.ibm.com>
2527         * doc/install.texi (m32r-*-elf): Change company to Renesas.
2529 2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
2531         * arm.c (output_call_mem): If the address references the link-register
2532         use an instruction sequence that avoids early-clobbering IP.
2533         (eliminate_lr2ip): Delete.
2535 2003-06-12  Richard Henderson  <rth@redhat.com>
2537         PR target/11089
2538         * config/i386/i386.md (sse_movaps): Use an expander to force
2539         one operand to be a register.
2540         (sse_movups): Likewise.
2542 2003-06-12  Richard Henderson  <rth@redhat.com>
2544         PR middle-end/10557
2545         * rtlanal.c (subreg_offset_representable_p): Relax subreg check.
2547 2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2548             Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
2550         PR target/10142
2551         * config/sparc/sparc.c (function_arg_record_value_parms): Add
2552         new 'stack' field.
2553         (function_arg_record_value_1): Set 'stack' to 1 if we run out of
2554         integer slots for an integer field.
2555         (function_arg_record_value_3): Shift vector index.
2556         (function_arg_record_value_2): Likewise.
2557         (function_arg_record_value): Initialize 'stack' to 0.
2558         Set 'stack' to 1 if we run out of integer slots for an integer field.
2559         Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
2561 2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2563         PR optimization/10955
2564         * unroll.c (unroll_loop): Fix off-by-one bug.
2566 2003-06-12  Richard Henderson  <rth@redhat.com>
2568         PR middle-end/10475
2569         * expmed.c (emit_store_flag): Use simplify_gen_subreg directly
2570         for extracting sub-words.
2572 2003-06-12  Richard Henderson  <rth@redhat.com>
2574         PR target/7594
2575         * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
2576         (zero_extendqihi2, zero_extendqisi2): Likewise.
2578 2003-06-12  Richard Henderson  <rth@redhat.com>
2580         PR inline-asm/4823
2581         * reg-stack.c (any_malformed_asm): New.
2582         (check_asm_stack_operands): Set it.
2583         (convert_regs_1): Check it before aborting.
2585 2003-06-12  Jakub Jelinek  <jakub@redhat.com>
2587         * c-decl.c (c_expand_body): Save input_filename and lineno,
2588         set it before tree inlining and restore before return.
2590 2003-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
2592         * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
2593         to initialize GOT register.
2595 2003-06-12  Jakub Jelinek  <jakub@redhat.com>
2597         * c-opts.c (complain_wrong_lang): Add on argument.
2598         Print no- switch if on is false.
2599         (c_common_decode_option): Adjust caller.
2601 2003-06-11  Richard Henderson  <rth@redhat.com>
2603         * stmt.c (expand_asm_operands): Don't warn for memories with
2604         queued addresses.
2606 2003-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2608         PR target/8787
2609         * config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
2610         if -masm=intel.
2612 2003-06-10  Andrew Haley  <aph@redhat.com>
2614         * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
2615         (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
2616         (lhd_decl_ok_for_sibcall): New.
2617         * langhooks.c (lhd_decl_ok_for_sibcall): New.
2618         * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
2619         * calls.c (expand_call): Check lang_hook before generating a
2620         sibcall.
2622 2003-06-09  Richard Henderson  <rth@redhat.com>
2624         2003-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
2625         * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
2626         (EH_RETURN_HANDLER_RTX): Likewise.
2627         (expand_builtin_eh_return): Do not copy stack adjustment
2628         if EH_RETURN_STACKADJ_RTX is not defined.
2629         (expand_eh_return): Likewise.  Also, do not pass stack
2630         adjustment as argument to the eh_return pattern.
2631         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
2632         because EH_RETURN_STACKADJ_RTX is not defined.
2633         * unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
2634         is not defined, treat stack pointer like a regular register.
2635         (uw_init_context_1): Set up fake initial stack pointer register.
2636         (uw_install_context_1): Do not compute stack adjustment if
2637         EH_RETURN_STACKADJ_RTX is not defined.
2639         * config/i386/i386.md ("eh_return"): Remove first argument.
2640         * config/mips/mips.md ("eh_return"): Likewise.
2641         * config/rs6000/rs6000.md ("eh_return"): Likewise.
2642         * config/sh/sh.md ("eh_return"): Likewise.
2644         * config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.
2646 2003-06-08  Richard Henderson  <rth@redhat.com>
2648         * stmt.c (expand_asm_operands): Re-word warning.
2650 2003-06-08  Richard Henderson  <rth@redhat.com>
2652         * expr.h (EXPAND_MEMORY): New.
2653         * expr.c (expand_expr): Check it.
2654         * stmt.c (expand_asm_operands): Provide it when the constraint
2655         requires a memory.  Warn for memory input constraints without
2656         a memory operand.
2658 2003-06-07  Richard Henderson  <rth@redhat.com>
2660         * c-common.c (cb_register_builtins): Define __EXCEPTIONS for C also.
2662 2003-06-07  Kelley Cook  <kelleycook@wideopenwest.com>
2664         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
2665         section names.
2666         * configure: Regenerate.
2668 2003-06-07  Alan Modra  <amodra@bigpond.net.au>
2670         * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
2672 2003-06-06  James E Wilson  <wilson@tuliptree.org>
2674         PR inline-asm/10890
2675         * reload1.c (merge_assigned_reloads): Abort only if two reloads have
2676         different in fields.
2678 2003-06-06  Richard Earnshaw  <rearnsha@arm.com>
2680         PR target/11052
2681         * ifcvt.c (noce_process_if_block): Fail if the destination has
2682         side-effects.
2684 2003-06-06  Dan Kegel  <dank@kegel.com>
2685             Kaz Kojima  <kkojima@gcc.gnu.org>
2687         PR target/10331
2688         * config/sh/t-linux (STMP_FIXPROTO): Define.
2690         PR target/11096
2691         * config/sh/linux.h (CPLUSPLUS_CPP_SPEC): Redefine so to include
2692         -D_GNU_SOURCE.
2694 2003-06-05  David Miller  <davem@redhat.com>
2695             Richard Henderson  <rth@redhat.com>
2697         * optabs.c (HAVE_conditional_trap): Provide default.
2698         (gen_conditional_trap): Likewise.
2699         (init_optabs): Merge init_traps.
2700         (gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
2702 2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
2704         * doc/md.texi (Machine Constraints): Correct the meaning of
2705         constraints related to floating-point registers on SPARC.
2707 2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
2708             Paolo Bonzini  <bonzini@gnu.org>
2710         PR target/10663
2711         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
2712         assembler and linker output to /dev/null.
2713         Use a 'sed' construct instead of 'grep -A1'.
2714         * configure: Regenerate.
2716 2003-06-04  David Edelsohn  <edelsohn@gnu.org>
2718         * doc/install.texi (*-ibm-aix*): Native as and ld required
2719         to bootstrap on AIX 5L.
2721 2003-06-04  Richard Henderson  <rth@redhat.com>
2723         * c-common.c (handle_cleanup_attribute): New.
2724         (c_common_attributes): Add it.
2725         * c-decl.c (finish_decl): Honor the cleanup attribute.
2726         * doc/extend.texi (Variable Attributes): Document it.
2728         * unwind-c.c: New file.
2729         * Makefile.in (LIB2ADDEH): Add it.
2730         * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
2731         config/ia64/t-ia64: Likewise.
2733 2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
2735         PR optimization/11018
2736         * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
2737         consistently to decide whether the scratch register is really
2738         required.
2740 2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
2742         PR optimization/10876
2743         * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
2744         new 'O' constraint for constant 4096.
2745         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2746         * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
2747         Do not transform into MINUS insn for constant 4096.
2748         (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
2749         for constant 4096 as third operand.
2750         (addsi3 expander): Remove.
2751         (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
2752         new alternative for constant 4096 as third operand.
2753         (subdi3 expander): Do not transform into PLUS insn for constant 4096.
2754         (*subdi3_sp64 insn): Add new alternative for constant 4096 as third
2755         operand.
2756         (subsi3 expander): Remove.
2757         (*subsi3 insn): Rename into 'subsi3'. Add new alternative for
2758         constant 4096 as third operand.
2759         * doc/md.texi (Machine Constraints): Document new 'O' constraint for
2760         the SPARC port.
2762 2003-06-03  Richard Henderson  <rth@redhat.com>
2764         * unwind.inc (_Unwind_Resume_or_Rethrow): Fix return type.
2765         * unwind.h (_Unwind_Resume_or_Rethrow): Update.
2766         (_Unwind_SjLj_Resume_or_Rethrow): Likewise.
2768 2003-06-03  Douglas B Rupp  <rupp@gnat.com>
2770         * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
2771         * doc/gcc.texi: Remove vms.texi section.
2772         * doc/vms.texi: Remove obsolete file.
2774 2003-06-03  Richard Henderson  <rth@redhat.com>
2776         PR target/10673
2777         * config/i386/i386.c (ix86_split_long_move): Fix base register
2778         mode for XFmode splits for TARGET_64BIT.
2780 2003-06-02  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
2782         * gcc/config.gcc Add support multilib parts for m32rx processor.
2784 2003-06-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
2786         PR target/11044
2787         * config/i386/i386.md (length attribute): Set length to 4
2788         for instructions of type "fcmp".
2790 2003-06-01  Josef Zlomek  <zlomekj@suse.cz>
2792         * rtl.def (CONST_DOUBLE): Update comment.
2794 2003-06-01  Seth Arnold  <sarnold@wirex.com>
2795             Aldy Hernandez  <aldyh@redhat.com>
2797         PR10871
2798         * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
2799         vrsave_size twice.
2801 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
2803         * doc/install.texi (mips-sgi-irix5): Add missing
2804         HTML <hr> marker.
2806 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
2808         * doc/md.texi (Machine Constraints): Document
2809         missing SPARC constraints.
2811 2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
2813         * doc/md.texi (Automaton pipeline description): Use
2814         "type" instead of "cpu" as the attribute in the examples.
2816 2003-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2818         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
2819         -mdebug/-no-mdebug switches ...
2820         (MDEBUG_ASM_SPEC): ... here.
2821         Use only with gas.
2822         (EXTRA_SPECS): Initialize mdebug_asm_spec.
2823         (CONSTANT_ADDRESS_P): Allow native IRIX 6 O32 assembler.
2825 2003-05-29  Gabriel Dos Reis <gdr@integrable-solutions.net>
2827         * diagnostic.h (output_verbatim): Remove printf attribute.
2828         (verbatim): Likewise.
2829         * diagnostic.c (output_pointer): New function.
2830         (output_format): Use it.  Handle %p format specifier.
2832 2003-05-27  Denis Chertykov  <denisc@overta.ru>
2834         * cselib.c (cselib_invalidate_regno): Abort if hardreg have a
2835         VOIDmode.
2836         * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
2837         call of cselib_invalidate_regno.
2839 2003-05-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2841         * doc/contrib.texi (Contributors): Update Kean Johnston.
2843 Fri May 23 21:19:31 CEST 2003  Jan Hubicka  <jh@suse.cz>
2844                                Andreas Jaeger  <aj@suse.de>
2846         * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
2847         do not use assertion.
2849 Fri May 23 20:55:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
2851         * i386.md (sse_loadss, sse_loadss_1, sse2_loadsd, sse2_loadsd_1):
2852         Rewrite
2854 2003-05-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
2856         * doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
2857         Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.
2859 2003-05-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
2861         PR bootstrap/10805
2862         * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
2863         failure with Sun assembler 5.0 Alpha 03/27/98.
2865 2003-03-21  Loren James Rittle  <ljrittle@acm.org>
2867         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
2868         -D__sparc__ to match system compiler convention.
2870 2003-05-20  Kevin Ryde <user42@zip.com.au>
2871             Wolfgang Bangerth <bangerth@dealii.org>
2873         PR c/10355
2874         * doc/extend.texi: Put a warning into the documentation
2875         of attribute regparm.
2877 2003-05-20  Ulrich Weigand  <uweigand@de.ibm.com>
2879         * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
2880         ("*iorsi3_oi"): Likewise.
2882 2003-05-19  John David Anglin  <dave.anglin@nrc-gnrc.gc.ca>
2884         * pa/milli64.S ($$mulI): Fix typo.
2886 2003-05-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2888         * hashtable.h (struct ht_identifier): Add new field "hash_value".
2889         * hashtable.c (ht_lookup): Use it.
2890         (ht_expand): Likewise.  Avoid doing the same computation twice.
2891         * tree.h (IDENTIFIER_HASH_VALUE): New macro.
2893 2003-05-19  Nick Clifton  <nickc@redhat.com>
2895         * config/arm/arm.c (use_return_insn): Do not use a single return
2896         instruction for interrupt handlers which have to create a stack
2897         frame.
2898         (arm_expand_prologue): Do not pre-bias the return address of
2899         interrupt handlers which create a stack frame.
2901 2003-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
2903         Backport from mainline:
2905         2003-05-10  Alexander Aganichev  <aaganichev@yandex.ru>
2907         * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
2909 2003-05-16  Wolfgang Bangerth <bangerth@dealii.org>
2911         * doc/bugreport.texi: Remove most of the preface of the
2912         bugs section.
2914 2003-05-16  Nick Clifton  <nickc@redhat.com>
2916         * config/mcore/mcore.md (jump): Use emit_jump_insn to generate the
2917         jump insn.
2919 2003-05-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2921         * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
2922         as a C only option.
2924 2003-05-15  Wolfgang Bangerth <bangerth@dealii.org>
2926         * doc/bugreport.texi: Remove most of the bug reporting
2927         instructions and merge them into bugs.html.
2929 2003-05-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2931         * sparc.c (print_operand): Fix uninitialized warning.
2933 2003-05-14  Mark Mitchell  <mark@codesourcery.com>
2935         * version.c: Reset to prerelease format.
2936         * doc/include/gcc-common.texi: Update version number.
2938 2003-05-13  Release Manager
2940         * GCC 3.3 Released.
2942 2003-05-12  Mark Mitchell  <mark@codesourcery.com>
2944         PR other/10745
2945         * configure.in: Correct detection of GNU ld version number.
2946         * configure: Regenerated.
2948 2003-05-08  J"orn Rennecke <joern.rennecke@superh.com>
2950         * sh.c (gen_block_redirect, split_branches): Use
2951         CODE_FOR_jump_compact instead of CODE_FOR_jump
2953 2003-05-06  Eric Christopher  <echristo@redhat.com>
2955         * config/mips/linux.h: Fix typo.
2957 2003-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
2959         PR other/10650
2960         * unwind-dw2.c (uw_update_context_1): Don't set sp as cfa on s390.
2961         (uw_init_context_1): Set initial sp to outer cfa on s390.
2963 2003-05-06  Mark Mitchell  <mark@codesourcery.com>
2965         PR other/10658
2966         * gcc.c (process_command): Update copyright date.
2968 2003-05-06  Bruce Korb  <bkorb@gnu.org>
2970         * inclhack.def: fix up whitespace differences from mainline.
2971         mark fix tests that fail on BSD systems (like mainline).
2972         Fixup the solaris_mutex_init test to cope with Sol. 2.6 (like mainline).
2973         Removed unused SONY commentary (its obsolete anyway).
2974         (svr4_mach_defines): remove i860 machine from comment (like mainline).
2975         * gcc/fixinc/tests/base/pthread.h: solaris_mutex_init fix tests
2976         * gcc/fixinc/tests/base/testing.h: remove ^M chars from some mistake
2977         * gcc/fixinc/tests/base/Xm/Traversal.h: accommodate BSD's sed
2978         * gcc/fixinc/tests/base/sys/stat.h: accommodate BSD's sed
2979         * gcc/fixinc/fixincl.x: regenerated
2981 2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
2983         * doc/install.texi (mips-*-*):  Add note about libstdc++.
2985 2003-05-05  Mark Mitchell  <mark@codesourcery.com>
2986             Kean Johnston <jkj@sco.com>
2988         * toplev.c (check_global_declarations): Do not warn about unused
2989         static consts.
2991 2003-05-05  Richard Henderson  <rth@redhat.com>
2993         * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
2994         <BUILT_IN_DWARF_SP_COLUMN>: New.
2995         * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
2996         (BUILT_IN_DWARF_SP_COLUMN): New.
2997         * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
2998         (expand_builtin_dwarf_sp_column): New.
2999         * except.h: Update to match.
3000         * unwind-dw2.c (execute_stack_op): Correct stack push typo.
3001         (execute_cfa_program): Record location expression address
3002         before extracting length.
3003         (uw_update_context_1): Install old CFA into stack pointer column.
3004         (uw_init_context_1): Set cfa_reg to stack pointer column.
3006 2003-05-05  David O'Brien  <obrien@FreeBSD.org>
3008         * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
3009         other FreeBSD ports.
3010         (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.
3012 2003-05-05  Jason Merrill  <jason@redhat.com>
3014         * stor-layout.c (update_alignment_for_field): Set DECL_ALIGN for
3015         the field.
3017 2003-05-02  Zack Weinberg  <zack@codesourcery.com>
3019         PR c/10604
3020         * c-opts.c (c_common_decode_option <OPT_Wall>): Set
3021         warn_sign_compare for C++ only.
3022         * doc/invoke.texi: Clarify documentation of -Wsign-compare.
3024 2003-05-03  Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3025             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3027         * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
3028         Hernandez, and Kazu Hirata.
3030 2003-05-02  Richard Henderson  <rth@redhat.com>
3032         PR c++/10570
3033         * except.c: Revert 04-01 and 04-02 forced-unwind changes.
3034         * flags.h, toplev.c, doc/invoke.texi: Likewise.
3036         * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
3037         * unwind.inc (_Unwind_DeleteException): Check for null
3038         exception_cleanup.
3040         * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
3041         * unwind.inc (_Unwind_Resume_or_Rethrow): New.
3042         * unwind.h: Declare them.
3043         * libgcc-std.ver (GCC_3.3): Export them.
3045 2003-05-02  Steven Bosscher  <steven@gcc.gnu.org>
3047         * tree-inline.c (find_alloca_call):
3048         Use walk_tree_without_duplicates, instead of walk_tree.
3049         (find_builtin_longjmp_call): Ditto.
3050         * c-objc-common.c (c_cannot_inline_fn): Ditto.
3052 2003-05-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3054         * doc/contrib.texi (Contributors): Add Daniel Berlin.
3056 2003-05-01  Rodney Brown  <rbrown64@csc.com.au>
3058       * rtl.h (subreg_offset_representable_p): Prototype.
3060 2003-05-01  Roger Sayle  <roger@eyesopen.com>
3062         PR fortran/9974
3063         * gcse.c (reg_killed_on_edge): New function to test whether the
3064         given reg is overwritten by any instruction queued on an edge.
3065         (bypass_block): Ignore substitutions killed on incoming edges.
3066         Don't bypass outgoing edges that have queued instructions.
3068 2003-04-30  Andreas Schwab  <schwab@suse.de>
3070         * doc/extend.texi (Other Builtins): Enclose multiple word data
3071         type in braces for @deftypefn.
3073 2003-04-29  Jason Merrill  <jason@redhat.com>
3075         PR middle-end/10336
3076         * jump.c (never_reached_warning): Really stop looking if we reach
3077         the beginning of the function.
3079 Tue Apr 29 21:07:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
3081         * cse.c (count_reg_usage): Revert my previous patch.
3083 2003-04-29  Alexander Kabaev  <kan@FreeBSD.ORG>
3085         bootstrap/10452
3086         * gengtype-yacc.y: Improve portability.
3088 2003-04-29  Zack Weinberg  <zack@codesourcery.com>
3090         * config.gcc: Install obsolete target list for GCC 3.3.
3091         * doc/install.texi: Mention in specific-target instructions
3092         that certain configurations are deprecated.
3094 2003-04-29  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3096         * c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
3097         * gcc.c (display_help): Likewise.
3098         * toplev.c (f_options): Likewise.
3099         * params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
3100         * config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
3101         * config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
3102         * config/s390/s390.h (TARGET_SWITCHES): Likewise.
3103         * config/v850/v850.h (TARGET_SWITCHES): Likewise.
3105 2003-04-29  Danny Smith  <dannysmith@users.sourceforge.net>
3107         * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
3108         Update copyright.
3109         * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a, for
3110         -mno-cygwin case.
3112 2003-04-29  J"orn Rennecke <joern.rennecke@superh.com>
3114         * varasm.c (default_assemble_visibility): Use assemble_name.
3116 2003-04-29  David O'Brien  <obrien@FreeBSD.org>
3118         * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
3119         * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
3120         (SIZE_TYPE): New macro.
3121         * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
3122         (SET_ASM_OP): New macro.
3123         (HANDLE_SYSV_PRAGMA): New macro.
3124         (ASM_WEAKEN_LABEL): New macro.
3126 2003-04-28  Mark Mitchell  <mark@codesourcery.com>
3128         PR c++/10180
3129         * tree-inline.c (expand_call_inline): Call push_srcloc when
3130         encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.
3132 2003-04-28  Mike Stump  <mrs@apple.com>
3134         * gdbinit.in: Update to reflect new identifier structure.
3136 2003-04-28  Richard Henderson  <rth@redhat.com>
3138         * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
3139         * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
3140         integral constant mult operand.
3141         (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
3142         (const_smulsi3_highpart_v8plus): Likewise.
3143         (const_smulsi3_highpart): Likewise.
3144         (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
3145         (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
3146         (const_umulsi3_highpart_v8plus): Likewise.
3147         (const_umulsi3_highpart): Likewise.
3149 2003-04-28  David O'Brien  <obrien@FreeBSD.org>
3151         * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
3153 Mon Apr 28 09:54:56 CEST 2003  Jan Hubicka  <jh@suse.cz>
3155         PR c/10308
3156         * reload.c (find_reloads_address_1): Reload plus at the place of
3157         index register.
3159 2003-04-26  Richard Henderson  <rth@redhat.com>
3161         * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
3162         to clobber ar.pfs and ar.unat.
3163         (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
3164         fix test for spilling ar.pfs to the stack.
3166 2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>
3168         * doc/install.texi (Binaries): Mention binaries for HC11/HC12.
3170 2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
3172         * doc/extend.texi (Function Attributes): Document "near" and "far"
3173         for 68HC11 and 68HC12.
3175 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
3177         * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
3178         addition of __PIC__ and __pic__ macros.
3179         * config/xtensa/xtensa.h: Clean up indentation.
3181 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
3183         * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
3184         _GNU_SOURCE.  Add definitions of __PIC__ and __pic__.
3185         (SUBTARGET_CPP_SPEC): Define.
3186         (LIB_SPEC): Delete.
3187         * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
3188         * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
3189         * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
3190         Define.
3191         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
3192         (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.
3194 2003-04-25  Richard  Henderson  <rth@redhat.com>
3196         PR opt/10315
3197         * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
3198         checks during reload; use validize_mem instead of adjust_address.
3200 Fri Apr 25 15:43:23 CEST 2003  Jan Hubicka  <jh@suse.cz>
3202         * emit-rtl.c (subreg_hard_regno):  Check that register is
3203         representable.
3204         * reload.c (reload_inner_reg_of_subreg):  When register is not
3205         representable, reload the whole thing.
3206         (find_reloads): Likewsie.
3207         * rtlanal.c (subreg_representable_p):  New function.
3209 Sun Apr 20 18:23:18 CEST 2003  Richard Henderson  <rth@redhat.com>
3211         (backported to 3.3 by Jan Hubicka)
3213         * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
3214         (builtin_setjmp_receiver): Delay call to ia64_reload_gp
3215         until after reload.
3217         * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
3219         * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
3220         (ia64_gp_save_reg): Remove.
3221         (struct ia64_frame_info): Move to the beginning of the file;
3222         add reg_save_gp.
3223         (ia64_expand_call): Rearrange for new call patterns.
3224         (ia64_reload_gp): New.
3225         (ia64_split_call): New.
3226         (ia64_compute_frame_size): Allocate reg_save_gp.
3227         (ia64_expand_prologue): Save reg_save_gp.
3228         (ia64_expand_epilogue): Don't restore gp.
3229         (ia64_hard_regno_rename_ok): Remove R4 hack.
3230         (ia64_function_ok_for_sibcall): New.
3231         (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
3232         call try_split on sibcall pattern.
3233         * config/ia64/ia64-protos.h: Update.
3234         * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
3235         Rename from nopic versions.  Confiscate 2nd argument to call as
3236         a marker.
3237         (call_pic, call_value_pic, sibcall_pic): Remove.
3238         (call_gp, call_value_gp, sibcall_gp): New.
3239         (builtin_setjmp_setup): Remove.
3240         (builtin_setjmp_receiver): Call ia64_reload_gp.
3242 2003-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3244         PR opt/8705
3245         * gcse.c (try_replace_reg): On a successful substitution of a constant
3246         into a single set, try to simplify the source of the set.
3247         * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
3248         constant source.
3250 2003-04-24  Alexander Kabaev <kan@FreeBSD.ORG>
3252         bootstrap/10453
3253         * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
3254         const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
3255         where they might be not present. Use their _sp64 equivalent
3256         instead.
3258 2003-04-23  Richard Henderson  <rth@redhat.com>
3260         PR opt/8300
3261         * toplev.c (rest_of_compilation): Delay no_new_pseudos until
3262         after initialize_uninitialized_subregs; update reg info assuming
3263         new pseudos were created.
3265 2003-04-23  Olivier Hainque  <hainque@act-europe.fr>
3267         * config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.
3269 2003-04-23  James A Morrison  <ja2morri@uwaterloo.ca>
3271         * invoke.texi: Eliminate extra white-space caused by @gccoptlist{
3272         on its own line.
3273         Ensure there are two spaces between each pair of options and add
3274         @gol where appropriate.
3276 2003-04-23  Ulrich Weigand  <uweigand@de.ibm.com>
3278         * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
3280 2003-04-22  Devang Patel  <dpatel@apple.com>
3282         * cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
3283         (_cpp_copy_replacement_text): Same.
3285 2003-04-22  Richard Henderson  <rth@redhat.com>
3287         PR 8866
3288         * rtl.h (MEM_NOTRAP_P): New.
3289         (MEM_COPY_ATTRIBUTES): Copy it.
3290         * rtlanal.c (may_trap_p): Check it.
3291         * expr.c (do_tablejump): Set it.
3293         * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.
3295 2003-04-22  David Turner <novalis@gnu.org>
3297         * gbl-ctors.h: Add special license exception.
3298         * libgcc2.h: Likewise.
3299         * tsystem.h: Likewise.
3300         * gcov-io.h: Likewise.
3302 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
3304         * Makefile.in (calls.o): Depend on except.h.
3305         * calls.c: Include except.h.
3306         (emit_call_1): Call note_eh_region_may_contain_throw if
3307         appropriate.
3308         * except.c (eh_region): Add may_contain_throw.
3309         (expand_eh_region_end_cleanup): Do not include handler code when
3310         it cannot be reached.
3311         (note_eh_region_may_contain_throw): New function.
3312         * except.h (note_eh_region_may_contain_throw): New function.
3314 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
3316         * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
3317         changes.
3319 2003-04-21  Mark Mitchell  <mark@codesourcery.com>
3321         * config/i386/winnt.c (i386_pe_}ark_dllimport): Make the new RTL
3322         have the same form as the old RTL.
3324 2003-04-18  Mark Mitchell  <mark@codesourcery.com>
3326         * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
3327         for orphaned jump tables.
3329 2003-04-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3331         PR/8705
3332         * pa.md (movccfp): New expander.
3333         (setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
3334         Reverse fcmp conditions.
3336 2003-04-20  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3338         * config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
3339         of operand 1 correctly.
3341 2003-04-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3343         * cfgrtl.c (try_redirect_by_replacing_jump): Remove unused variables.
3344         * flow.c (life_analysis): Fix warning.
3346 2003-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3348         * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
3349         Add Segher Boessenkool.
3351 2003-04-18  Alexander Sotirov  <sluncho@mirizma.org>
3353         PR c/9177
3354         * c-decl.c (c_expand_body): Don't garbage collect the function
3355         body if we are going to dump it later.
3357 2003-04-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
3359         PR optimization/7675
3360         * c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
3361         on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
3362         nested functions if they refer to declarations from parent functions.
3363         * stmt.c (expand_decl): Don't put automatic variables in registers
3364         if the DECL_NONLOCAL flag is set.
3366 2003-04-17  Janis Johnson  <janis187@us.ibm.com>
3368         * doc/sourcebuild.texi (Test Suites): Document support for testing
3369         binary compatibility (moved from testsuite/README.compat).
3371 2003-04-17  Simon Law  <sfllaw@engmail.uwaterloo.ca>
3373         * doc/include/gpl.texi: Fix double-spacing after "MA" to match
3374         the one provided by the FSF.
3376 2003-04-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3378         * doc/install.texi (Binaries): Update URL and list of platforms
3379         provided by ftp.thewrittenword.com.
3381 2003-04-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
3383         * doc/invoke.texi (inline-limit): Fix pasto.
3385 2003-04-16  Mark Mitchell  <mark@codesourcery.com>
3387         PR middle-end/8866
3388         * cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
3389         jumptables.
3391 2003-04-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3393         PR/10271
3394         * pa-protos.h (function_arg): Remove last argument.
3395         * pa.c (function_arg): Likewise.  Use CUMULATIVE_ARGS struct instead.
3396         * pa.h (struct hppa_args): Add member incoming.
3397         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
3398         member incoming.
3399         (FUNCTION_ARG): Revise call to function_arg.
3400         (FUNCTION_INCOMING_ARG): Delete.
3402 2003-04-15  J"orn Rennecke <joern.rennecke@superh.com>
3404         PR target/9594:
3405         * sh.c (barrier_align): Also recognize stuff_delay_slot as
3406         an indicator that a barrier was created by branch splitting.
3408         merge from mainline:
3410         2003-03-05  J"orn Rennecke <joern.rennecke@superh.com>
3412         * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
3413         for align_jumps is 4.
3415         (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
3416         use GENERAL_REGS.
3418         2003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
3420         * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
3421         and align_jumps if not set.
3422         Force align_jumps to be at least 2.
3423         When relaxing, force align_functions to be at least the maximum of
3424         align_loops, align_jumps and 4.
3425         * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
3426         (sh_loop_align): Honour align_loops_log.
3428         * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
3429         to check for indirect_jump_scratch.
3430         (indirect_jump_scratch): Add second set.
3431         * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
3432         when looking for indirect_jump_scratch.
3433         Extract scratch register taking new structure of indirect_jump_scratch
3434         into account.
3435         (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
3437 2003-04-15  James A. Morrison  <ja2morri@uwaterloo.ca>
3439         * invoke.texi (Spec Files): Wrap if-exists-else example.
3440         (MCore): Remove duplicate @itemx entries and @opindex entries.
3442 2003-04-15  Ulrich Weigand  <uweigand@de.ibm.com>
3444         * unwind.inc (_Unwind_Backtrace): New function.
3445         * unwind.h (_Unwind_Backtrace): Declare it.
3446         * libgcc-std.ver (_Unwind_Backtrace): Export it.
3448 2003-04-15  Jason Merrill  <jason@redhat.com>
3450         PR middle-end/10336, c++/10401
3451         * jump.c (never_reached_warning): Also stop looking if we reach the
3452         beginning of the function.
3454 2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3456         PR target/10338
3457         PR bootstrap/10198
3458         PR bootstrap/10140
3459         * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
3461 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
3463         * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
3464         instead of TOC_REGISTER in epilogue in
3465         current_function_calls_eh_return functions.
3467 2003-04-14  Hans-Peter Nilsson  <hp@axis.com>
3469         PR target/10377
3470         * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
3471         ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
3472         ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
3473         ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
3474         ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
3475         ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
3476         ("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
3477         ("*extopqihi_swap_side", "*extopqisi_swap_side")
3478         ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
3479         When next to constraint R, replace constraint i with n.
3481 Mon Apr 14 16:14:37 CEST 2003  Jan Hubicka  <jh@suse.cz>
3483         PR opt/10024
3484         * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.
3486 2003-04-14  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3488         * doc/contrib.texi (Contributors): Correct my entry.
3490 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3492         * config/m68hc11/m68hc11-protos.h
3493         (m68hc11_eq_compare_operator): Declare
3494         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
3495         * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
3496         (d_register_operand): Check the operand mode.
3497         (hard_addr_reg_operand): Likewise.
3499 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3501         * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
3502         pattern for dbcc/ibcc generation for 68HC12.
3503         ("doloop_end"): New pattern.
3504         ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
3505         ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
3506         ("m68hc12_dbcc_dec_qi"): New pattern.
3507         ("m68hc12_dbcc_inc_qi"): New pattern.
3508         (split): Add split for the above when we can't use dbcc/ibcc due to
3509         reloading.
3510         (peephole2): Add peephole2 to generate the above when possible.
3512 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3514         * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
3515         mode of operand 0.
3516         (peephole2 optimize const load): Likewise for operand 2.
3517         ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
3518         clobbers CC_REGNUM.
3519         ("*rotrhi3_with_carry"): Likewise.
3520         (ashift:DI 1 split): Update pattern to create the above rotate.
3521         (lshiftrt:DI 1 split): Likewise.
3523 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3525         * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
3526         ("tstqi_z_used" split): Use it.
3527         ("cmphi_z_used"): Likewise.
3528         ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
3529         ("cmpqi_z_used"): Likewise.
3531 2003-04-12  Mark Mitchell  <mark@codesourcery.com>
3533         PR c++/7910
3534         * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.
3536 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3538         * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
3539         recognize -mnorelax.
3540         (reg_class): Add Z_OR_S_REGS to represent soft registers with Z
3541         (REG_CLASS_NAMES): Add its name.
3542         (REG_CLASS_CONTENTS): Define its content.
3544 2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
3546         * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
3547         parameters so that offsets are valid for far definition.
3548         (__mulsi3): Likewise and use ret to return.
3549         (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.
3551 2003-04-11  Geoffrey Keating  <geoffk@apple.com>
3553         * doc/extend.texi (Empty Structures): New.
3555 2003-04-11  Richard Henderson  <rth@redhat.com>
3557         PR c++/10202
3558         * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
3559         not COMPLETE_TYPE_P for re-invoking layout_decl.
3561 2003-04-11  Simon Law  <sfllaw@engmail.uwaterloo.ca>
3563         * doc/bugreport.texi: Fix paragraph breaking between sections
3564         in preparation for TeXinfo's paragraph indentation fixes.
3565         * doc/extend.texi: Ditto.
3566         * doc/invoke.texi: Ditto.
3567         * doc/objc.texi: Ditto.
3568         * doc/gcov.texi: Wrap 'gcov' in @command{}.
3569         * doc/invoke.texi (Darwin Options): Add a preamble.
3571 2003-04-11  Richard Henderson  <rth@redhat.com>
3573         PR c/10201
3574         * expr.c (expand_expr): Move DECL_RTL frobbing ...
3575         * stor-layout.c (layout_decl): ... here.
3577 2003-04-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3579         * doc/install.texi (hppa): Update links for HP-UX patches.  Revise
3580         notes on linker selection and configuration for 64-bit HP-UX port.
3581         * doc/invoke.texi (hppa): Remove hppa text from description for
3582         -ffunction-sections and -fdata-sections.  Document -static, -nolibdld
3583         and -threads options.
3585         * pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
3586         libc.a on libdld.sl when -static is specified and -nolibdld is not
3587         specified.
3588         * pa64-hpux.h (LIB_SPEC): Likewise.
3589         * pa-hpux11.h (LIB_SPEC): Likewise.
3590         (LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
3591         is not specified.
3593 2003-04-08  Jonathan Wakely  <redi@gcc.gnu.org>
3595         * doc/extend.texi (Template Instantiation): Refer to ISO standard,
3596         not Working Paper.
3597         * doc/invoke.texi (C++ Dialect Options): Same.
3599 Fri Apr 11 00:12:14 CEST 2003  Jan Hubicka  <jh@suse.cz>
3601         PR inline-asm/8803
3602         * function.c (instantate_virtual_regs):  Verify that all ASM statements
3603         match after the virutal regs instantiation.
3605 2003-04-10  Steve Ellcey  <sje@cup.hp.com>
3607         * ia64-protos.h (addp4_optimize_ok): New.
3608         * ia64.c (addp4_optimize_ok): New.
3609         * ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
3610         (*ptr_extend_plus_2): Ditto.
3612 2003-04-10  Steve Ellcey  <sje@cup.hp.com>
3614         * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
3615         not with convert_memory_address.
3616         (store_constructor): Ditto, and same for copy_size_rtx.
3617         (expand_expr): Ditto.
3619 2003-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
3621         * config/s390/s390.c (larl_operand): Do not allow symbols
3622         marked with '@'.
3623         (s390_encode_section_info): Mark symbols with forced 1-byte
3624         alignment with '@'.
3625         (s390_strip_name_encoding): Strip '@'.
3626         (legitimize_pic_address): Handle symbols that are not valid
3627         LARL operands in 64-bit mode.
3629 2003-04-10  Andrew Haley  <aph@redhat.com>
3631         * tree-inline.c (inlinable_function_p): Disable inlining for
3632         synchronized methods.
3634 2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
3636         * config/fp-bit.c (unpack_d): Handle pair of doubles with
3637         different signs correctly.
3639 2003-04-08  Richard Henderson  <rth@redhat.com>
3641         PR target/9886
3642         * config/ia64/ia64.md (cmovdi_internal): Use 'n' not 'i' constraints.
3643         (cmovsi_internal): Likewise.
3645 2003-04-07  Matt Kraai  <kraai@alumni.cmu.edu>
3647         * doc/install.texi: Use @command and @samp for single- and
3648         multi-word commands respectively.
3649         * doc/makefile.texi: Likewise.
3650         * doc/sourcebuild.texi: Likewise.
3652 2003-04-07  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
3653             Richard Henderson  <rth@redhat.com>
3655         PR c/9516
3656         * expr.c (safe_from_p): Rearrange to avoid deep recursion in
3657         favour of looping and tail recursion for TREE_LIST and binops.
3659 2003-04-07  Glen Nakamura  <glen@imodulo.com>
3661         PR opt/8634
3662         * explow.c (maybe_set_unchanging): Don't flag non-static const
3663         aggregate type initializers with RTX_UNCHANGING_P.
3665 2003-04-07  Richard Henderson  <rth@redhat.com>
3667         PR opt/8634
3668         * function.c (purge_addressof_1): Don't try arithmetics for
3669         unchanging memories.
3671 2003-04-07  Janis Johnson  <janis187@us.ibm.com>
3673         * doc/sourcebuild.texi (Test Suites): Document testing support for
3674         gcov and profile-directed optimizations; describe gcc.misc-tests.
3676 2003-04-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
3678         * doc/rtl.texi (Comparison operations): Update to
3679         record the allowed comparison modes.
3681 Mon Apr  7 22:13:38 CEST 2003  Jan Hubicka  <jh@suse.cz>
3683         PR target/10077
3684         * i386.md (movsi_1):  Fix SSEMOV alternative.
3686 Mon Apr  7 15:56:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
3688         PR opt/10024
3689         Revert Zack's change
3690         * cfglayout.c (cfg_layout_redirect_edge):
3691         Redirect any branch edges unified with the fallthru one.
3692         * cfgrtl.c (force_nonfallthru_and_redirect):  Do not special
3693         case fallthru edges when called via cfglayout.c
3695 2003-04-07  James A Morrison <ja2morri@student.math.uwaterloo.ca>
3697         * doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
3699 2003-04-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3701         * c-decl.c (set_save_expr_context): Prototype.
3703 2003-04-05  David Edelsohn  <edelsohn@gnu.org>
3705         * config/rs6000/rs6000.h (RTX_COSTS): Halve Power multiply costs.
3706         * config/rs6000/rs6000.md: Correct Power4 multiply latency.
3708 2003-04-05  Zack Weinberg  <zack@codesourcery.com>
3710         PR optimization/10024
3711         * cfgrtl.c (force_nonfallthru_and_redirect): If e is the edge
3712         we want, use it.
3714 2003-04-05  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3716         PR bootstrap/10267
3717         * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
3718         for configuring.
3720 2003-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3722         * c-decl.c (set_save_expr_context): Use traditional-style function
3723         definition.
3725 2003-04-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3727         * doc/contrib.texi (Contributors): Add entries for Wolfgang
3728         Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
3729         Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
3730         Danny Smith, and Ulrich Weigand.
3731         Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
3732         entry.
3734 2003-04-04  Zack Weinberg  <zack@codesourcery.com>
3736         PR bootstrap/10216
3737         * configure.in: Check whether it is necessary to link against
3738         libm to use ldexp.
3739         * configure: Regenerate.
3740         * Makefile.in: Add LDEXP_LIB substitution variable.
3742 2003-04-03  Jason Merrill  <jason@redhat.com>
3744         PR c/10175
3745         * jump.c (never_reached_warning): Revert patch of 2002-11-02.
3746         Look backwards for a line note.
3748 2003-04-02  Mike Stump  <mrs@apple.com>
3750         * doc/extend.texi (PowerPC AltiVec Built-in Functions): Split up
3751         some to avoid faulting makeinfo --html.
3753 2003-04-02  Richard Henderson  <rth@redhat.com>
3755         * libgcc-std.ver (_Unwind_GetCFA): New.
3756         * unwind-dw2.c (_Unwind_GetCFA): New.
3757         * unwind-sjlj.c (_Unwind_GetCFA): New.
3758         * unwind.h: Declare it.
3760 2003-04-02  Mike Stump  <mrs@apple.com>
3762         * doc/install.texi (Specific): Update pointers to apple.com.
3764 2003-04-01  Jan Hubicka  <jh@suse.cz>
3766         PR inline-asm/8088
3767         * i386.c (ix86_hard_regno_mode_ok):  Return 0 for MMX/SSE registers
3768         when MMX/SSE is not available.
3770 2003-04-02  Richard Henderson  <rth@redhat.com>
3772         * except.c (sjlj_find_directly_reachable_regions): Recognize when
3773         must-not-throw region has been deleted.
3775 2003-04-02  Richard Henderson  <rth@redhat.com>
3777         * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
3778         optimization when flag_exceptions not enabled.
3780 2003-04-01  Richard Henderson  <rth@redhat.com>
3782         * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
3783         notes for nothrow calls if flag_forced_unwind_exceptions.
3784         (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
3785         (sjlj_find_directly_reachable_regions): Likewise.
3786         (reachable_handlers): Likewise.
3787         (can_throw_external): Likewise.
3788         (collect_one_action_chain): Record cleanups after catch-all and
3789         must-not-throw if flag_forced_unwind_exceptions.
3790         * flags.h (flag_forced_unwind_exceptions): Declare.
3791         * toplev.c (flag_forced_unwind_exceptions): New.
3792         (lang_independent_options): Add it.
3793         * doc/invoke.texi: Add it.
3795 2003-04-01  Geoffrey Keating  <geoffk@apple.com>
3797         * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
3798         (live_image_destructor): Reset image to initial state.
3799         (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.
3801 2003-04-01  Dale Johannesen  <dalej@apple.com>
3803         * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
3804         (Zdenek Dvorak's fix from 3.4 branch)
3806 2003-04-01  Ulrich Weigand  <uweigand@de.ibm.com>
3808         * config/s390/s390.c (s390_fixup_clobbered_return_reg):
3809         Do nothing if __builtin_return_address was not used.
3811 2003-04-01  David Edelsohn  <edelsohn@gnu.org>
3813         * config/rs6000/rs6000.c (function_arg_pass_by_reference):
3814         Return true for variable sized types.
3815         (rs6000_va_arg): Handle variable sized types passed by reference
3816         on non-SVR4 ABI.
3818 2003-03-31  Mark Mitchell  <mark@codesourcery.com>
3820         PR c/9936
3821         * c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
3822         variably-sized arrays in parameters.
3823         (set_save_expr_context): New function.
3824         (c_expand_body): Use it, via walk_tree.
3826 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
3828         * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
3830 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
3832         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
3833         notes as they are boggus.
3834         (m68hc11_gen_movqi): Likewise.
3836 2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
3838         * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
3839         save the soft registers after the frame pointer so that gdb can unwind
3840         the frame more easily.
3841         (expand_epilogue): Likewise in opposite order; allow to use X register
3842         as scratch if the return value is by reference.
3844 2003-03-31  Jason Merrill  <jason@redhat.com>
3846         PR java/10145
3847         * stor-layout.c (update_alignment_for_field): Respect
3848         DECL_USER_ALIGN for zero-length bitfields, too.
3849         * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
3850         fields.
3852 2003-03-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3854         PR other/6955
3855         * collect2.c (collect_wait): Use WCOREDUMP and fix output message.
3856         * system.h (WCOREDUMP, WCOREFLG): Define if necessary.
3858 2003-03-30  Richard Henderson  <rth@redhat.com>
3860         PR c/10083
3861         * config/alpha/alpha.md (umuldi3_highpart): Change to expander;
3862         don't zero_extend const inputs.
3864 2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3866         * doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
3867         Uniformly use bugfix instead of bug fix.
3869 2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3871         PR doc/895
3872         * ONEWS: Remove those items that already appear in the EGCS
3873         release notes on our web pages.
3875 2003-03-29  Alan Modra  <amodra@bigpond.net.au>
3877         * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
3878         TARGET_HARD_FLOAT.  Reformat.
3879         (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
3881 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
3883         * config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
3884         set up before any trapping memory access if flag_non_call_exceptions.
3886 2003-03-29  Alan Modra  <amodra@bigpond.net.au>
3888         * reload1.c (reload_as_needed): Allow a USE in asm reloads.
3890         * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
3892 2003-03-28  Loren James Rittle  <ljrittle@acm.org>
3894         * doc/install.texi (*-*-freebsd*): Update with known status.
3896 2003-03-28  Ulrich Weigand  <uweigand@de.ibm.com>
3898         * config/s390/s390.md ("literal_pool_31"): Output pool anchor
3899         label even if pool empty when generating PIC.
3900         ("literal_pool_31", "literal_pool_64"): Coding style cleanup.
3902 2003-03-28  Kazu Hirata  <kazu@cs.umass.edu>,
3903             Dhananjay Deshpande  <dhananjayd@kpit.com>
3905         PR target/10205
3906         * config/h8300/h8300.c (h8300_initial_elimination_offset):
3907         Correct the offset computation when TARGET_NORMAL.
3909 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3911         PR target/10067
3912         * config/sparc/sparc.md (jump pattern): Correct order
3913         when issuing the annuling marker.
3915 2003-03-28  Alan Modra  <amodra@bigpond.net.au>
3917         * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
3918         (replace_loop_mems): Add "written" param.  Remove invalid REG_EQUAL
3919         notes after hoisting.
3920         (load_mems): Adjust replace_loop_mems call.
3922 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3924         PR c/8281
3925         * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
3926         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
3928 2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3929             Richard Henderson  <rth@redhat.com>
3931         PR target/10114 and PR target/10084
3932         * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
3934 2003-03-27  Olivier Hainque  <hainque@act-europe.fr>
3936         PR ada/9953
3937         * ada/Makefile.in (gnatlib configuration for HPUX): Split
3938         the general section for HPUX into specific sections for
3939         HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
3940         11 case.
3942 2003-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
3944         * config/s390/s390.c (s390_optimize_prolog): Do not save/restore
3945         registers used for global asm variables.
3946         (s390_frame_info, s390_arg_frame_offset): Likewise.
3947         (s390_emit_prologue, s390_emit_epilogue): Likewise.
3949 2003-03-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3951         * doc/contrib.texi (Contributors): Update Janis Johnson.
3953 2003-03-26  Jakub Jelinek  <jakub@redhat.com>
3955         * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
3956         (ia64_expand_compare_and_swap): Use always DImode ar.ccv,
3957         zero extend old to it.
3958         * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
3959         operand.
3961 2003-03-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
3963         PR target/7784
3964         * reload.c (find_reloads_address): Handle
3965         (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
3966         all base registers.
3968 2003-03-25  Marcelo Abreu  <mmabreu@inf.ufrgs.br>
3970         PR other/10203
3971         * version.c: Reference the GCC web site in the URL.
3973 2003-03-25  Jan Hubicka  <jh@suse.cz>
3975         PR opt/10056
3976         * cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
3977         jump jumping to the next instruction.
3978         * cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.
3979         * cfg.c (unchecked_make_edge): New.
3980         * basic-block.h (unchecked_make_edge): Declare.
3982 2003-03-25  Jason Merrill  <jason@redhat.com>
3984         PR optimization/10171
3985         * unroll.c (unroll_loop): Don't delete the jump at the end unless
3986         we also delete a jump at the beginning.
3988 2003-03-25  Stephane Carrez  <stcarrez@nerim.fr>
3990         * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
3991         contributor.
3993 2003-03-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3995         * doc/passes.texi (Passes): Properly document that we do not
3996         perform jump2 any longer; remove command-line option -dJ.
3998 2003-03-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4000         PR optimization/8746
4001         * config/i386/i386.md (and promoting splitters): Disable HImode to
4002         SImode promoting when the sign bit matters and is not preserved, or
4003         when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
4004         for size.
4006 2003-03-24  Stephane Carrez  <stcarrez@nerim.fr>
4008         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
4009         _return_far
4010         (MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
4011         (MULTILIB_EXCEPTIONS): Likewise.
4012         * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
4013         by calling some board support routine.
4014         ("call_value"): Likewise.
4015         ("*return_void"): Likewise for return.
4016         ("*return_16bit"): Likewise.
4017         ("*return_32bit"): Likewise.
4018         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
4019         for 68HC11 too.
4020         (DWARF2_ADDR_SIZE): Use 4 so that addresses can
4021         * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
4022         -mlong-calls for 68HC11.
4023         * config/m68hc11/larith.asm (declare_near): New macro.
4024         (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
4025         (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
4026         (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
4027         (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
4028         (__mulhi32): Likewise.
4029         (ret): Update macro for 68HC11.
4030         (__far_trampoline): Implement for 68HC11.
4031         (__call_a16, __call_a32, __return_void, __return_16): New support
4032         routines for 68HC11 memory bank switching calling support.
4033         (__return_32): Likewise.
4035 2003-03-21  Glen Nakamura  <glen@imodulo.com>
4037         PR opt/10087
4038         * loop.c (loop_givs_reduce): Skip bivs with duplicate locations
4039         while incrementing giv.
4040         (record_biv): Check for duplicate biv locations and
4041         set (struct induction *) v->same if found.
4043 2003-03-24  Janis Johnson  <janis187@us.ibm.com>
4045         * doc/install.texi (Testing): Mention test result links from build
4046         status pages.
4048 2003-03-24  Mark Mitchell  <mark@codesourcery.com>
4050         * function.c (put_var_into_stack): Change bool parameter to int.
4051         (gen_mem_addressof): Likewise.
4052         * rtl.h (gen_mem_addressof): Likewise.
4053         * tree.h (put_var_into_stack): Likewise.
4054         * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
4055         gen_mem_addressof or put_var_into_stack.
4056         * config/c4x/c4x.c (c4x_expand_builtin): Likewise.
4058 2003-03-24  Andreas Schwab  <schwab@suse.de>
4060         * config/ia64/ia64.c (spill_tfmode_operand): Adjust calls to
4061         gen_mem_addressof.
4063 2003-03-24  Jakub Jelinek  <jakub@redhat.com>
4065         * expr.c (do_jump): Handle UNSAVE_EXPR specially.
4067 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
4069         PR target/10072
4070         * combine.c (simplify_if_then_else): Check that the mode
4071         has MODE_INT class before applying the (OP Z (mult COND C2))
4072         transformation.
4074 2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
4076         PR optimization/9414
4077         * config/sparc/sparc.md (widening peepholes): Use
4078         widen_memory_access instead of change_address.
4080 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
4082         PR c++/7086
4083         * c-typeck.c (c_mark_addressable): Adjust calls to
4084         put_var_into_stack.
4085         * expr.c (expand_expr): Likewise.
4086         * function.c (put_var_into_stack): Add rescan parameter.  Do not
4087         call fixup_var_refs when rescan is false.
4088         (gen_mem_addressof): Likewise.
4089         (assign_parms): Adjust calls to put_var_into_stack.
4090         (setjmp_protect): Likewise.
4091         (setjmp_protect_args): Likewise.
4092         * rtl.h (gen_mem_addressof): Change prototype.
4093         * stmt.c (expand_decl): Adjust calls to put_var_into_stack.
4094         * tree.h (put_var_into_stack): Change prototype.
4096 2003-03-23  Arpad Beszedes <beszedes@cc.u-szeged.hu>
4098         PR middle-end/9967
4099         * builtins.c (expand_builtin_fputs): When optimizing for size,
4100         don't transform fputs into fwrite.
4102 2003-03-24  Alan Modra  <amodra@bigpond.net.au>
4104         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
4105         globalize_label.
4107         Merge from mainline.
4108         2003-01-13  Andreas Schwab  <schwab@suse.de>
4109         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
4110         directive.
4112 2003-03-23  Glen Nakamura <glen@imodulo.com>
4114         PR c/8224
4115         * fold-const.c (extract_muldiv_1): Don't pass through type conversions
4116         when signedness changes for division or modulus.
4118 2003-03-23  Richard Henderson  <rth@redhat.com>
4120         * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
4121         before flow2.
4122         * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
4124 2003-03-23  Richard Henderson  <rth@redhat.com>
4126         PR opt/10116
4127         * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
4128         from then_bb or else_bb after flow2.
4129         * jump.c (tablejump_p): New.
4130         * rtl.h: Declare it.
4132 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4134         * pa.c (output_cbranch): Fix typo in comment.
4136 2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4138         * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
4139         conditional branch to the following instruction.  Use next_real_insn
4140         instead of next_active_insn.
4141         (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
4142         instead of next_active_insn.
4144 2003-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
4146         * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
4147         of 'm' constraint in forced-split alternatives.
4148         ("*adddi3_31", "*subdi3_31"): Likewise.  Also, pass 0 instead of 1 as
4149         VALIDATE_ADDRESS parameter to operand_subword.
4151 2003-03-22  Svein E. Seldal  <Svein.Seldal@solidas.com>
4153         * config/c4x/t-c4x (MULTILIB_MATCHES): Make gcc recognize a c33 as
4154         a c30 instead of a c40 processor.
4156 2003-03-21  Richard Henderson  <rth@redhat.com>
4158         PR opt/2001
4159         * bb-reorder.c (maybe_duplicate_computed_goto_succ): New.
4160         (make_reorder_chain_1): Call it.
4162         * function.h (struct function): Add computed_goto_common_label,
4163         computed_goto_common_reg.
4164         * function.c (free_after_compilation): Zap them.
4165         * stmt.c (expand_computed_goto): Use them to produce one
4166         indirect branch per function.
4168 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
4170         * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
4172 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
4174         * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
4175         writing .interrupt command.
4176         * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
4177         if it's a far or near function.
4178         ("call_value"): Likewise.
4179         * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
4180         near attributes.
4181         (m68hc11_handle_fntype_attribute): Accept attributes on methods.
4182         (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
4183         (m68hc11_initial_elimination_offset): Set current_function_far
4184         according to attributes.
4185         (expand_prologue): Likewise.
4186         (trap_handler_symbol): New global to keep track of trap handlers.
4187         (m68hc11_encode_section_info): Mark symbol as far if needed; set
4188         trap symbol.
4189         (m68hc11_is_far_symbol): New function.
4190         (m68hc11_is_trap_symbol): New function.
4191         * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
4192         (m68hc11_is_trap_symbol): Declare.
4194 2003-03-21  Jan Hubicka  <jh@suse.cz>
4196         PR inline-asm/7916
4198         * function.c (instantiate_virtual_regs_lossage): New function.
4199         (instantiate_virtual_regs_1): Use it.
4200         (instantiate_virtual_regs): Do not continue in substition when insn has
4201         been deleted.
4203 2003-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
4205         * config/s390/s390.h: Do not include fixdfdi.h on s390x.
4206         (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
4207         (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
4209 2003-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4211         PR doc-bug/9813
4212         * doc/extend.texi: Move misplaced paragraph about underscores in
4213         variables in macros.
4215 2003-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
4217         * doc/invoke.texi: Fix table environment.
4219 2003-03-21 Richard Earnshaw  <rearnsha@arm.com>
4221         * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
4222         information.
4224 2003-03-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
4225             Richard Henderson  <rth@redhat.com>
4227         PR optimization/8366
4228         * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
4229         (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
4230         PIC+SYMBOLIC_CONST in other modes than Pmode.
4231         (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
4232         the form PIC+SYMBOLIC_CONST as mode dependent.
4234 2003-03-20  Richard Henderson  <rth@redhat.com>
4236         * fold-const.c (extract_muldiv_1): Revert changing order of
4237         operands in case MULT_EXPR of 2003-02-16 patch.
4239 2003-03-20  Richard Henderson  <rth@redhat.com>
4241         PR c/8602
4242         * integrate.c (output_inline_function): Reset input_filename
4243         and lineno from the decl before rest_of_compilation.
4245 2003-03-20  Richard Earnshaw  <rearnsha@arm.com>
4247         PR 10066
4248         * arm.md (UNSPEC_PIC_BASE): New constant.
4249         (pic_add_dot_plus_four): Wrap with unspec.
4250         (pic_add_dot_plus_eight): Likewise.
4252 2003-03-19  Ulrich Weigand  <uweigand@de.ibm.com>
4254         * config/s390/s390.c (s390_preferred_reload_class): Do not
4255         force constants to the pool unless necessary.
4256         (s390_decompose_address): Prefer to use pointer as base,
4257         not index register.
4258         * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
4259         Q alternative.
4260         ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
4261         "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
4262         ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
4263         "*zero_extendqisi2_31", "*zero_extendqihi2_31",
4264         "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
4266 2003-03-19  Jakub Jelinek  <jakub@redhat.com>
4268         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
4269         rs6000_maybe_dead if !fromprolog.
4271 2003-03-19  Jakub Jelinek  <jakub@redhat.com>
4273         * ifcvt.c (dead_or_predicable): Fail if there are any references
4274         to tablejump in merge_bb other than the final JUMP_INSN.
4276 2003-03-19  Jakub Jelinek  <jakub@redhat.com>
4278         * stmt.c (expand_start_case): Call emit_queue ().
4280 2003-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4282         PR 10062
4283         * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
4284         * pa-protos.h (output_lbranch): New prototype.
4285         * pa.c (compute_frame_size): Change size of the frame marker on the
4286         64-bit ports to 48 bytes.
4287         (pa_output_function_prologue): Document why SAVE_SP is set.
4288         (hppa_expand_prologue): Save previous stack pointer into frame marker
4289         on targets which use the hpux unwind library.
4290         (output_cbranch): Use output_lbranch.
4291         (output_lbranch): New function to output long unconditional branches.
4292         * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
4293         (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
4294         64-bit ports.
4295         * pa.md (jump): Use output_lbranch.
4296         (allocate_stack): New expander for dynamic stack allocation.
4298 2003-03-18  Alexandre Oliva  <aoliva@redhat.com>
4300         * toplev.c (independent_decode_option): Return success for --help,
4301         --target-help and --version.
4303 2003-03-19  Alan Modra  <amodra@bigpond.net.au>
4305         PR target/10073
4306         * combine.c (force_to_mode <NOT>): Use gen_int_mode.
4308 2003-03-18  Andreas Schwab  <schwab@suse.de>
4310         PR target/7248
4311         * config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
4312         martin@blom.org.
4314 2003-03-17  Jason Merrill  <jason@redhat.com>
4316         PR c++/10091
4317         * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
4318         an unaligned member of TREE_ADDRESSABLE type.
4320 2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4322         * dwarf2asm.h: Delete obsolete comment.
4323         (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
4324         dw2_asm_output_pcrel, dw2_asm_output_addr,
4325         dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
4326         dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
4327         dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
4328         dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
4330 2003-03-17  Steve Ellcey  <sje@cup.hp.com>
4332         * stmt.c (tail_recursion_args): Call promote_mode to set
4333         unsignedp flag correctly before calling convert_move.
4335 2003-03-17  Dave Love  <fx@gnu.org>
4336             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4338         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
4339         __arch64__ to match Compaq cc.
4341 2003-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4343         * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
4344         argument to 0 for redirect_jump.
4346 2003-03-16  Mark Mitchell  <mark@codesourcery.com>
4348         PR c++/8805
4349         * except.c (eh_region_u_cleanup): Add prev_try.
4350         (expand_eh_region_end_cleanup): Set it.
4351         (reachable_handlers): Use it to skip over cleanup blocks.
4353 2003-03-16  Richard Henderson  <rth@redhat.com>
4355         PR opt/6798
4356         * cfgcleanup.c: Include params.h.
4357         (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
4358         too many outgoing edges from a block.
4359         * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
4360         * params.def (max-crossjump-edges): New.
4361         * doc/invoke.texi: Document it.
4363 2003-03-16  Richard Henderson  <rth@redhat.com>
4365         * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
4366         optimize_size as well.
4368 2003-03-16  Stephane Carrez  <stcarrez@nerim.fr>
4370         * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
4371         for D register to specify the low part of it, aka B.
4372         (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
4373         the register if we are loading 1 or -1 to it; avoid using temp
4374         register when moving X/Y to Y/X.
4375         (m68hc11_gen_movqi): Likewise.
4376         (m68hc11_check_z_replacement): Fix last insn setting for compare case.
4378 2003-03-14  Mark Mitchell  <mark@codesourcery.com>
4380         PR optimization/9016
4381         * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
4382         into the constant pool.
4384 2003-03-16  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
4386         PR target/9164
4387         * tree.c (get_narrower): For extensions with unchanged bit number,
4388         return the unsignedness of the outer mode.
4390 2003-03-16  Roger Sayle  <roger@eyesopen.com>
4392         * c-typeck.c (build_component_ref):  Turn "for" into "do .. while"
4393         to avoid "may be used uninitialized" warning on ia64-hpux.
4394         * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
4396 2003-03-16  Neil Booth  <neil@daikokuya.co.uk>
4398         * cppinit.c: Remove support of -A-.
4399         * doc/cppopts.texi: Remove documentation of -A-.
4401 2003-03-15  Richard Henderson  <rth@redhat.com>
4403         2003-01-14  Richard Henderson  <rth@redhat.com>
4404         * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
4405         for force_const_mem.
4407 2003-03-15  Richard Henderson  <rth@redhat.com>
4409         PR target/9700
4410         * config/alpha/alpha.c (alpha_va_start): Account for
4411         current_function_pretend_args_size in the AP offset.
4413 2003-03-15  Jason Merrill  <jason@redhat.com>
4415         PR debug/6387
4416         * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
4417         function DIEs at toplevel.
4418         (decls_for_scope): At -g1, don't descend into subblocks.
4420 2003-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
4422         * varasm.c (struct rtx_const): Change type of un.addr member
4423         to struct holding an additional 'symbol' member.
4424         (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
4425         with equal string addresses as equal.
4426         (simplify_subtraction): Adapt to struct rtx_const change.
4428 2003-03-15  Glen Nakamura  <glen@imodulo.com>
4430         * reload1.c (choose_reload_regs): Use && instead of ||
4431         with REG_CANNOT_CHANGE_MODE_P condition.
4433 2003-03-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4435         PR optimization/9387
4436         * function.c (thread_prologue_and_epilogue_insns): Use redirect jump
4437         for conditional returns.
4439 2003-03-14  Jason Merrill  <jason@redhat.com>
4441         PR optimization/6871
4442         * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
4444 2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
4446         PR c++/7050
4447         * expr.c (store_expr): Don't attempt to store void-typed trees,
4448         just evaluate them for side effects.
4450 2003-03-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
4452         PR optimization/8396
4453         * tree-inline.c (initialize_inlined_parameters): Make sure the value
4454         of read-only constant arguments is passed with the right type.
4456 2003-03-14  Andreas Jaeger  <aj@suse.de>
4457             Gwenole Beauchesne  <gbeauchesne@mandrakesoft.com>
4459         * linux64.h (TARGET_OS_CPP_BUILTINS): Define _LP64 and __LP64__ in
4460         64-bit mode.
4462 2003-03-13  Mike Stump  <mrs@apple.com>
4464         * ggc-page.c (struct page_entry): Remove varray.h header.
4465         Add index_by_depth field.
4466         Remove save_in_use_p field.
4467         (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
4468         by_depth_max, by_depth, and save_in_use fields.
4469         (INITIAL_PTE_COUNT): Add.
4470         (save_in_use_p_i): Add.
4471         (save_in_use_p): Add.
4472         (adjust_depth): Add.
4473         (push_depth): Add.
4474         (push_by_depth): Add.
4475         (prefetch): Add.
4476         (free_page): Add support for and use faster data structures.
4477         (ggc_alloc): Likewise.
4478         (init_ggc): Likewise.
4479         (ggc_recalculate_in_use_p): Likewise.
4480         (ggc_pop_context): Likewise.
4481         (clear_marks): Likewise.
4482         * Makefile.in (ggc-page.o): Remove varray.h.
4484 2003-03-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4486         * pa.c (pa_init_builtins): Fix warning.
4488 2003-03-12  Richard Henderson  <rth@redhat.com>
4490         PR opt/8178
4491         * config/i386/i386.md (ffssi2): Tighten op1 predicate to
4492         the requirements of the output insns.
4494 2003-03-12  Steve Ellcey  <sje@cup.hp.com>
4496         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
4497         (ASM_OUTPUT_XDATA_SHORT): Remove.
4498         (ASM_OUTPUT_XDATA_INT): Remove.
4499         (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
4500         (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
4501         (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
4502         (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
4504 2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
4506         PR c++/7050
4507         * expr.c (store_expr): Don't attempt to store void-typed trees,
4508         just evaluate them for side effects.
4510 2003-03-12  Bob Wilson  <bob.wilson@acm.org>
4512         Backport from mainline:
4513         2003-03-12  Bob Wilson  <bob.wilson@acm.org>
4515         * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
4516         to detect carry.
4517         (subdi3): Reorder emitted instructions.
4519 2003-03-12  Jan Hubicka  <jh@suse.cz>
4521         * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
4523 2003-03-12  Daniel Jacobowitz  <drow@mvista.com>
4525         Fix PR target/9797 and PR c/9853.
4526         * stmt.c (expand_decl_init): Call push_temp_slots () and
4527         pop_temp_slots ().
4529 2003-03-12  Hans-Peter Nilsson  <hp@bitrange.com>
4531         * configure.in (rlim_t): Define to long if no valid definition
4532         found in sys/resource.h.
4533         * config.in, configure: Regenerate.
4535 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
4537         PR c/9928
4538         * c-decl.c (duplicate_decls): Discard the initializer of the new decl
4539         only if it is a VAR_DECL.
4541 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
4543         PR optimization/9888
4544         * config/i386/i386.md (jcc_1): Fix range.
4545         (jcc_2): Likewise.
4546         (jump): LIkewise.
4547         (doloop_end_internal): Likewise.
4549 2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
4551         PR optimization/9888
4552         * config/i386/i386.md (movsi_1): Remove special alternatives
4553         for %eax register.
4554         (movhi_1): Likewise.
4555         * config/i386/i386.c (memory_address_length): Do not use
4556         short displacement when there is no base.
4557         (ix86_attr_length_address_default): Handle LEA instructions.
4559 2003-03-11  Loren James Rittle  <ljrittle@acm.org>
4561         (per-port preprocessor fix, concurrent to Neil's cppinit.c fix)
4562         * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
4563         (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
4564         (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
4565         * config/freebsd.h (CPP_PREDEFINES): Remove.
4566         (TARGET_OS_CPP_BUILTINS): New.
4567         * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
4568         instead of TARGET_OS_CPP_BUILTINS.
4569         * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
4571 2003-03-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4573         PR bootstrap/9994
4574         Backport from mainline:
4576         2003-02-18  Roger Sayle  <roger@eyesopen.com>
4578         * sbitmap.c (sbitmap_resize): New function.
4579         * sbitmap.h (sbitmap_resize): Prototype here.
4580         * recog.c (split_all_insns): Use sbitmap_resize.
4582         Mon Feb 17 16:16:54 CET 2003  Jan Hubicka  <jh@suse.cz>
4584         * recog.c (split_all_insns):  Fix memory overflow.
4586         2003-02-15  Richard Henderson  <rth@redhat.com>
4588         * recog.c (split_all_insns): Include new blocks in life update;
4589         do a global life update.
4591 2003-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
4593         * config/cris/cris.md: Remove lingering EGCS reference.
4594         ("*extopqihi_side_biap"): For HI operation, match
4595         cris_additive_operand_extend_operator, not
4596         cris_operand_extend_operator.  Adjust condition.
4597         ("*extopqihi_side", "*extopqihi"): Ditto.
4598         ("*extopqisi_side_biap"): Correct operand numbers in condition.
4599         ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
4600         ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
4601         ("*extophisi_swap"): Ditto.
4602         ("*extopqihi_swap_side_biap"): For HI operation, match a simple
4603         PLUS, not cris_operand_extend_operator.  Adjust condition and
4604         output template.
4605         ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
4606         * config/cris/cris.h (PREDICATE_CODES): Add
4607         cris_additive_operand_extend_operator.
4608         * config/cris/cris.c (cris_additive_operand_extend_operator):
4609         New predicate.
4611         * config/cris/aout.h (ENDFILE_SPEC): Undef.
4612         (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
4613         (TARGET_OS_CPP_BUILTINS): New macro.
4614         (HAVE_GAS_HIDDEN): Undef.
4615         * config/cris/cris.h: Remove EGCS references.
4616         (CPP_SPEC): Remove "-$".
4617         (INIT_CUMULATIVE_ARGS): Correct comment.
4618         * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
4619         (TARGET_OS_CPP_BUILTINS): New macro.
4620         (CPP_PREDEFINES): Don't define.  Move old definitions and...
4621         (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
4622         (TARGET_CPU_CPP_BUILTINS): New macro.
4623         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
4624         definitions and the optional __PIC__, __pic__ and
4625         __NO_UNDERSCORES__ definitions to...
4626         (TARGET_OS_CPP_BUILTINS): New macro.
4628 2003-03-10  Devang Patel  <dpatel@apple.com>
4630         PR c++/9394
4631         * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
4632         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
4633         * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
4634         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
4635         * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
4636         (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
4638 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
4640         * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
4641         * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
4642         Declare.
4643         * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
4644         for reg rename optimization to avoid using Z and Y registers.
4646 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
4648         * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
4649         when adding to X and Y since leax/leay are fast.
4650         ("*addhi3"): Accept 'I' constraint when adding to address register.
4651         ("rotlhi3"): Operand 1 must be a register_operand.
4652         (peephole2): New peephole to optimize some adds.
4653         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
4654         to represent -2 .. 2 small integer range.
4656 2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
4658         * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
4659         each 16-bit rotation.
4661 2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
4663         * config/rs6000/spe.h: Merge from mainline.
4665 2003-03-10  Jan Hubicka  <jh@suse.cz>
4667         * toplev.c (rest_of_compilation):  Revert the previous patch.
4669 2003-03-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4671         PR middle-end/9986
4672         * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
4673         after the common builtins.
4674         * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
4675         * pa.c (TARGET_INIT_BUILTINS): Define.
4676         (pa_init_builtins): New function.
4678         * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
4679         space has been allocated for the outgoing arguments, set the arg
4680         pointer for a call emitted after virtuals have been instantiated
4681         using the stack pointer offset, otherwise abort.
4683 2003-03-06  Jan Hubicka  <jh@suse.cz>
4685         * toplev.c (rest_of_compilation):  Defer RTL compilation only when
4686         RTL inlining is done.
4688         * i386.c (ix86_expand_vector_move): Do not crash when offloading
4689         to memory in PIC mode.
4691 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
4693         * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
4695 2003-03-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
4697         PR middle-end/7796
4698         * unroll.c (calculate_giv_inc): Handle constants being
4699         loaded with LSHIFTRT.
4701 2003-03-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
4703         PR optimization/8726
4704         Backport patch from mainline:
4706         2003-01-08  Dale Johannesen  <dalej@apple.com>
4708         * function.c (assign_parms):  Don't set pretend_args_size if
4709         REG_PARM_STACK_SPACE.
4711 2003-03-06  Kurt Garloff  <garloff@suse.de>
4712             Geoffrey Keating  <geoffk@apple.com>
4713             Dale Johannesen  <dalej@apple.com>
4714         * params.def: Introduce parameter max-inline-insns-rtl for
4715         a separate limit for the RTL inliner.
4716         * params.h: Likewise.
4717         * integrate.c (function_cannot_inline_p): Use it.
4718         * toplev.c (decode_f_option): Set multiple parameters
4719         controlling inlining with -finline-limit.
4720         * params.def: Fix orthographic and typographic errors.
4721         * doc/invoke.texi: Document parameters controlling inlining
4722         and the way -finline-limit sets multiple of them.
4723         * tree.h (struct tree_decl): Introduce inlined_function_flag,
4724         recording whether the function became eligible for inlining
4725         by a compiler flag rather than the declaration.
4726         Provide DID_INLINE_FUNC macro to access it.
4727         * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
4728         * cp/decl.c (grokfndecl): Likewise.
4729         * toplev.c (rest_of_compilation): Likewise.
4730         * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
4731         * print-tree.c (print_node): Report it.
4732         * params.def: Introduce new max-inline-insns-auto limit.
4733         * params.h: Likewise.
4734         * tree-inline.c (inlinable_function_p): Apply it to functions
4735         with DID_INLINE_FUNC set.
4736         * toplev.c (decode_f_option): Initialize it from -finline-limit
4737         value.
4738         * doc/invoke.texi: Document new parameter.
4740 2003-03-06  Michael Matz  <matz@suse.de>
4742         * i386/i386.c (ix86_save_reg): Also test
4743         current_function_uses_const_pool.
4745 2003-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4747         * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
4748         (epilogue): Don't generate return_external_pic when emitting PA 2.0
4749         code.
4751 2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>
4753         * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
4754         according to va_arg type.
4755         (EXPAND_BUILTIN_VA_ARG): Remove.
4756         * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
4757         * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
4759 2003-03-05  Jan Hubicka  <jh@suse.cz>
4761         * toplev.c (rest_of_compilation):  Do duplicate loop headers when
4762         optimizing for size.
4764 2003-03-05  Michael Matz  <matz@suse.de>
4766         * unwind.h: Add the GPL exception.
4767         * Makefile.in (USER_H): Add unwind.h.
4769 2003-03-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
4771         PR c/9799
4772         * c-typeck.c (push_init_level): Add sanity check.
4774 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
4776         * expr.c (convert_modes): Check for legal hard register.
4778 2003-03-04  Andreas Schwab  <schwab@suse.de>
4780         * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
4781         offset without frame pointer.
4783 2003-03-04  Steve Ellcey  <sje@cup.hp.com>
4785         * expr.c (expand_expr): Call promote_mode to set unsignedp.
4787 2003-03-04  Roger Sayle  <roger@eyesopen.com>
4789         PR c++/9367
4790         * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
4791         (BT_FN_INT_CONST_STRING_VALIST_ARG,
4792         BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
4793         BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
4794         BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
4795         BT_FN_INT_STRING_CONST_STRING_VAR,
4796         BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
4797         BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
4798         * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
4799         ATTR_NONNULL_3): Also include the nothrow attribute.
4800         (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
4801         vsnprintf, vscanf, vsscanf): Don't define attributes here.
4802         * builtins.def (putchar, puts): Make full C89 built-ins.
4803         (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
4804         vsscanf, vsnprintf, vsprintf): New built-ins.
4805         * c-common.c (c_common_nodes_and_builtins): Handle new macro
4806         DEF_FUNCTION_TYPE_VAR_3.
4808         * doc/extend.texi: Document these new built-in functions.
4810 2003-03-04  Jan Hubicka  <jh@suse.cz>
4812         * calls.c (rtx_for_function_call): Take the address as an argument
4813         (expand_call): Do not modify the expression.
4815 2003-03-04  Kevin Buettner  <kevinb@redhat.com>
4817         * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
4818         global register variables.
4820 2003-03-03  Richard Henderson  <rth@redhat.com>
4822         * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
4823         * config.in, configure: Rebuild.
4824         * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
4825         * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
4826         paired ldtoffx and ldxmov annotations.
4827         (load_symptr_internal1): Remove.
4828         (load_symptr_high, load_symptr_low): New.
4829         * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
4831 2003-03-03  Jason Merrill  <jason@redhat.com>
4833         * calls.c (compute_argument_addresses): Give the new MEMs a
4834         minimum alignment of PARM_BOUNDARY.
4836 2003-03-03  Geoffrey Keating  <geoffk@apple.com>
4838         * doc/install.texi (Specific): Update entry for powerpc-darwin.
4840 2003-03-03  Jan Hubicka  <jh@suse.cz>
4841         * toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
4842         optimizing.
4844 2003-02-28  Jan Hubicka  <jh@suse.cz>
4846         * combine.c (gen_lowpart_for_combine): Update handling of subregs_of_mode
4847         * flow.c (life_analysis, mark_used_regs): Likewise.
4848         * regclass.c (subregs_of_mode): Turn into single bitmap.
4849         (cannot_change-mode_set_regs, invalid_mode_change_p): Update
4850         dealing with subregs_of_mode
4851         * regs.h (subregs_of_mode): Update prototype.
4853 2003-02-28  Jan Hubicka  <jh@suse.cz>
4855         * toplev.c (rest_of_compilation): Rearrange insn splitting
4856         * reg-stack.c (reg_to_stack): Do not split insns.
4858 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4860         * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
4861         warnings.
4863 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
4865         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
4866         min/max instructions by default as may result in reload errors.
4868 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
4870         * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
4871         avoid reload problems; define split for it.
4873 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
4875         * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
4876         * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
4877         * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
4878         * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
4879         rotatert and rotate.
4880         ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
4881         ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
4882         ("*rotrhi3_addr"): New split for shift insns on address register.
4883         ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
4884         * config/m68hc11/larith.asm (___rotlhi3): New asm function.
4885         (___rotrhi3): Likewise.
4886         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
4888 2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4890         * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
4892 2003-03-02  Ashif Harji  <asharji@uwaterloo.ca>
4894         * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
4895           an external cpp during compilation.
4896         (option_map): Likewise.
4897         * objc/lang-specs.h (default_compilers): Similarly.
4898         * doc/invoke.texi: Document -no-integrated-cpp flag.
4900 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
4902         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
4903         POSIX thread support by default.
4905 2003-03-01  Roger Sayle  <roger@eyesopen.com>
4907         PR bootstrap/7389.
4908         * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
4910 2003-02-28  Jason Thorpe  <thorpej@wasabisystems.com>
4912         * config/netbsd.h: Update copyright years.
4913         (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
4914         -pthread is specified on the command line.
4916 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
4918         Backport following patch:
4920         2003-02-28  Bob Wilson  <bob.wilson@acm.org>
4921         * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
4923 2003-02-27  Joel Sherrill <joel@OARcorp.com>
4925         PR 9638/other
4926         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
4927         this constant defaults to 1.
4929 2003-02-28  Richard Sandiford  <rsandifo@redhat.com>
4931         * config/mips/mips.md: Disable the movstrsi define_split.
4933 2003-02-28  Richard Sandiford  <rsandifo@redhat.com>
4935         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
4936         #ifndef __mips16.
4938 2003-02-27   Geert Bosch <bosch@gnat.com>
4940         * toplev.c (print_version): Add indentation for GGC heuristics and
4941         output after printing version information.
4943 2003-02-27  James E Wilson  <wilson@tuliptree.org>
4945         PR bootstrap/9255
4946         * combine.c (simplify_comparison): Require integral mode when
4947         permuting SUBREG with AND.
4949 2003-02-27  Steve Ellcey  <sje@cup.hp.com>
4951         * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
4953 2003-02-27  Alan Modra  <amodra@bigpond.net.au>
4955         * config/rs6000/rs6000.md: Add TI constant splitter.
4957 2003-02-26  Jan Hubicka  <jh@suse.cz>
4959         * expr.c (emit_group_store):  Fix crash when converting single
4960         register into complex register.
4962 2003-02-26  Michael Matz  <matz@suse.de>
4964         * ra-colorize.c (merge_moves): Fix list handling.
4966 2003-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4968         * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
4969         is 8 * STACK_BOUNDARY.
4970         * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
4972 2003-02-26  Alan Modra  <amodra@bigpond.net.au>
4974         PR target/9681
4975         * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
4977 2003-02-25  Richard Henderson  <rth@redhat.com>
4979         * config/i386/i386.c (function_arg): Pass variable sized
4980         structures correctly on the stack.
4982 2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4984         PR target/9732
4985         * config/rs6000/rs6000.c (first_reg_to_save): Handle
4986         PIC_OFFSET_TABLE_REGNUM for -fPIC too.
4987         (rs6000_emit_prologue): Likewise.
4988         (rs6000_emit_epilogue): Likewise.
4989         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
4990         PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
4992 2003-02-25  Richard Henderson  <rth@redhat.com>
4994         * real.c (real_to_integer2): Force overflow result only for
4995         unsigned overflow.
4997 2003-02-25  Jan Hubicka  <jh@suse.cz>
4999         PR target/8343
5000         * m68k.md (umulsidi, mulsidi expanders): Use register operand.
5002 2003-02-24  Svein E. Seldal  <Svein.Seldal@solidas.com>
5004         * config/c4x/c4x.h (ASM_FILE_START): Added support for the c33
5005         processor.
5007 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5009         * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
5010         ISO C99 and C++.
5012         * fixinc/inclhack.def (irix___restrict): Don't change __restrict
5013         for C++ on IRIX 6.5.1[89].
5014         * fixinc/tests/base/internal/sgimacros.h: New file.
5016         * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
5017         * fixinc/tests/base/internal/wchar_core.h: New file.
5019         * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
5020         socklen_t definition.
5021         * fixinc/fixincl.x: Regenerate.
5022         * fixinc/tests/base/sys/socket.h: New file.
5023         Fixes PR libgcj/9652.
5025 2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5027         * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
5028         __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
5029         * doc/extend.texi (Tru64 Pragmas): Reflect this.
5031         * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
5032         extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
5033         * fixinc/fixincl.x: Regenerate.
5034         * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
5035         testcase.
5036         Fixes PR c/5059, c/6126, other/9671.
5038 2003-02-24  Alan Modra  <amodra@bigpond.net.au>
5040         PR 9297, PR 9722
5041         * calls.c (store_one_arg): Revert 1999-02-16 change.  Revert
5042         2000-12-17 change.  Pass EXPAND_STACK_PARM to expand_expr.
5043         * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
5044         (enum block_op_methods): Reorder for better store_expr optimization.
5045         * expr.c (store_expr): Test bit 1 of "want_value" for call param
5046         stores, test bit 0 for original want_value meaning.  Pass
5047         BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set.  Adjust
5048         recursive calls, and calls to expand_param.
5049         (expand_expr): Handle EXPAND_STACK_PARM modifier.  When cse
5050         expected, set target to 0 rather than to subtarget.  Formatting.
5052 2003-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5054         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
5055         new default behavior.
5056         * ggc-common.c: Include sys/resource.h.
5057         (ggc_rlimit_bound): New function.
5058         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
5059         defaults to account for rlimits.
5061 2003-02-22  Jan Hubicka  <jh@suse.cz>
5063         * config/linux.h (TARGET_HAS_F_SETLKW): Define.
5064         * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
5066 2003-02-22  Hans-Peter Nilsson  <hp@axis.com>
5068         * regmove.c (optimize_reg_copy_1): Do not replace a hard register
5069         in an asm.
5071 2003-02-22  Jan Hubicka  <jh@suse.cz>
5073         * i386.c (builtin_description): Add __builtin_ia32_paddq and
5074         __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
5075          and __builtin_ia32_psubq128.
5076         * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
5077         * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
5078         (mmx_adddi3, mmx_subdi3): New.
5079         * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
5080         * xmmintrin.h (_mm_movepi64_pi64): New.
5081         (_mm_add_epi64, _mm_sub_epi64): fix.
5082         (_mm_mul_pu16): Rename to...
5083         (_mm_mul_su32): ... this one.
5085         * i386.c (def_builtin):  Special case 64bit builtins.
5086         (MASK_SSE164, MASK_SSE264): New constants.
5087         (builtin_description): Add 64bit builtins.
5088         (ix86_init_mmx_sse_builtins): Likewise.
5089         * i386.h (enum ix86_builtins): Likewise.
5090         * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
5091         sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
5092         (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
5093         * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
5094         * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
5095         _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
5096         _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
5098         * builtins.c (expand_builtin_expect):  Do not predict
5099         flag_guess_branch_prob is not set.
5100         * c-semantics.c (expand_stmt): Likewise.
5101         * predict.c (predict_insn): Likewise.
5102         * stmt.c (expand_continue_loop): Likewise.
5103         * toplev.c (rest_of_compilation): Do not call
5104         note_prediction_to_br_prob and note_prediction_to_br_prob
5105         when not optimizing.
5107         * basic-block.h (tidy_fallthru_edges): Kill.
5108         * cfgrtl.c (tidy_fallthru_edges): Kill.
5109         * cfgbuild.c (find_basic_blocks): Do not call tidy_fallthru_edges.
5110         * cfgcleanup.c (delete_unreachable_blocks): Likewise.
5112 2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
5114         PR other/3782
5115         * toplev.c (process_options): If flag_detailed_statistics is set,
5116         then set time_report as well.
5118         PR c/8828
5119         * jump.c (never_reached_warning): Don't fall through BARRRIER
5120         insns.  Update comments to reflect what the function really does.
5122 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5124         * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
5125         documentation.
5126         * ggc-common.c: Include params.h
5127         (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
5128         init_ggc_heuristics): New functions.
5129         * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
5130         init_ggc_heuristics): Prototype.
5131         * toplev.c (print_version):  Output GGC heuristics.
5132         (parse_options_and_default_flags): Call init_ggc_heuristics.
5134 2003-02-21  Jan Hubicka  <jh@suse.cz>
5136         * cfgrtl.c (commit_edge_insertions):  Call
5137         find_many_sub_basic_block only when some code has been emitted.
5138         (commit_edge_insertions_watch_calls): Bring into sync with
5139         commit_edge_insertions
5141 2003-02-21  Zack Weinberg  <zack@codesourcery.com>
5143         * cpphash.h (struct lexer_state): Add directive_wants_padding.
5144         * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
5145         for directives of type INCL.
5146         (glue_header_name, parse_include): Use get_token_no_padding.
5147         * cppmacro.c (replace_args): If directive_wants_padding,
5148         provide padding tokens.
5150 2003-02-21  Jan Hubicka  <jh@suse.cz>
5152         * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
5153         (commit_edge_insertions): Call find_many_sub_basic_blocks
5155         * reg-stack.c (convert_regs): Cleax aux for blocks.
5157 2003-02-21  Glen Nakamura  <glen@imodulo.com>
5159         PR optimization/8613
5160         * builtins.c (expand_builtin): Emit postincrements before expanding
5161         builtin functions.
5163 2003-02-21  Toon Moene  <toon@moene.indiv.nluug.nl>
5165         PR fortran/9038
5166         * c-opts.c (sanitize_cpp_opts): Add Fortran front end
5167         options to be ignored.
5168         (c_common_decode_option): Ignore them when preprocessing.
5170 2003-02-21  Ben Elliston  <bje@redhat.com>
5172         PR other/5634
5173         * doc/install.texi (Configuration): Explain using $HOME instead of
5174         the ~ metacharacter when referring to home directories.
5176 2003-02-20  Richard Earnshaw  <rearnsha@arm.com>
5178         * arm.c (arm_reload_in_hi): Ensure that the scratch register does
5179         not overlap the final result register.
5181 2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
5183         * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
5184         * rtl.c (reg_note_name): Likewise.
5185         * rtl.h (enum reg_note): Likewise.
5186         * doc/invoke.texi: Likewise.
5187         * doc/rtl.texi: Likewise.
5189 2003-01-30  Richard Henderson  <rth@redhat.com>
5191         * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
5193 2003-02-19  Daniel Jacobowitz  <drow@mvista.com>
5195         * expr.c (expand_expr): Use gen_int_mode for the argument
5196         to gen_rtx_MULT.
5198 2003-02-19  Jan Hubicka  <jh@suse.cz>
5200         * i386.md (cosxf2):  Fix conditional.
5202 2003-02-18  Matt Austern <austern@apple.com>
5203         * toplev.c, langhooks.c, langhooks-def.h: Move
5204         write_global_declarations from toplev.c to langhooks.c.
5206 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
5208         * config/h8300/h8300.c (general_operand_src): Always check
5209         MODE.
5210         (general_operand_dst): Likewise.
5212 2003-02-18  Richard Henderson  <rth@redhat.com>
5214         * c-common.c (handle_used_attribute): Accept static data too.
5216 2003-02-18  Jim Wilson  <wilson@redhat.com>
5218         * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
5219         instruction in output template.
5220         (bsp_value): Change output template from string to C code, add %,
5221         before actual instruction.
5222         (flushrs): Mark as not predicable.
5224 2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
5226         * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
5227         insn length.
5228         (extendqisi2): Likewise.
5229         (*extendhisi2_h8300): Likewise.
5231 2003-02-18  Matt Austern <austern@apple.com>
5233         * langhooks.h, langhooks-def.h: introduce new langhook,
5234         final_write_globals, with write_global_declarations as default.
5235         * toplev.c: Move invocation of wrapup_global_declarations from
5236         compile_file to new function, write_global_declarations.  Change
5237         compile_file to use final_write_globals hook.  Change
5238         wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
5239         conditional.
5241 2003-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5243         * pa.md: Correct and enhance comment.
5245 2003-02-16  Kai Henningsen  <kaih@khms.westfalen.de>
5246             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5248         * doc/install.texi (Specific): Fix link for m68k-att-sysv.
5249         (Binaries): Ditto for Sinix/Reliant Unix.
5251 2003-02-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5253         * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
5254         * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
5255         * config/i386/i386.c (function_arg_pass_by_reference): New.
5256         (ix86_va_arg): Support arguments passed by reference.
5258 2003-02-16 Arend Bayer <arend.bayer@web.de>
5259            Richard Henderson  <rth@redhat.com>
5261         PR c/8068
5262         * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
5263         rearrange mult arguments for less recursion.
5264         (extract_muldiv): New.  Prevent runaway recursion.
5266 2003-02-16  Danny Smith  <dannysmith@users.sourceforge.net>
5268         * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
5269         MASK_ALIGN_DOUBLE.
5271 2003-02-15  Adam Nemet  <anemet@lnxw.com>
5273         PR opt/2391
5274         * combine.c: Fix spelling in comment.
5275         (cached_nonzero_bits): New function.
5276         (cached_num_sign_bit_copies): New function.
5277         (nonzero_bits_with_known): New macro.
5278         (num_sign_bit_copies_with_known): New macro.
5279         (nonzero_bits1): Rename from nonzero_bits.  Add three new
5280         arguments.  Change calls from nonzero_bits to
5281         nonzero_bits_with_known.
5282         (num_sign_bit_copies1): Rename from num_sign_bit_copies.  Add
5283         three new arguments.  Change calls from num_sign_bit_copies to
5284         num_sign_bit_copies_with_known.
5285         (nonzero_bits): New macro.
5286         (num_sign_bit_copies): New macro.
5287         (update_table_tick): Don't traverse identical subexpression more
5288         than once.
5289         (get_last_value_validate): Likewise.
5291 2003-02-15  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
5293         PR optimization/7702
5294         * reload1.c (reload_cse_simplify_set): Honor
5295         CANNOT_CHANGE_MODE_CLASS.
5297 2003-02-15  Jan Hubicka  <jh@suse.cz>
5299         PR optimization/9258, PR fortran/7681
5300         * global.c (struct allocno): Add no_stack_reg.
5301         (global_conflicts): Set it.
5302         (find_reg): Use it.
5304 2003-02-14  Alexandre Oliva  <aoliva@redhat.com>
5306         * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
5307         function.
5308         * config/mn10300/mn10300-protos.h: Declare it.
5309         * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
5310         attribute cc of instructions that may use clr.
5312 2003-02-13  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
5314         * inclhack.def (hpux_long_double): Tighten select and add bypass
5315         regexp.
5316         * fixincl.x: Rebuilt.
5318 2003-01-30  Richard Henderson  <rth@redhat.com>
5320         * ggc-page.c (G.context_depth_allocations): New.
5321         (G.context_depth_collections): New.
5322         (alloc_page): Set G.context_depth_allocations.
5323         (ggc_collect): Set G.context_depth_collections.
5324         (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
5325         (ggc_pop_context): Early exit for no allocations or collections.
5327 2003-01-25  Segher Boessenkool  <segher@koffie.nl>
5329         * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
5330         type for bitmaps.  Use unsigned long.
5331         (nBITMAP_WORD_BITS): New macro.
5332         (BITMAP_WORD_BITS): New macro.
5333         (rest of file): Use it.
5334         * bitmap.c: Use it.
5336 2003-02-13  Josef Zlomek  <zlomekj@suse.cz>
5338         * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
5339         edge and block ends with a jump insn it must be simple jump.
5341 2003-02-13  Robert Lipe <robertlipe@usa.net>
5342             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5344         * doc/install.texi (Specific): Update three SCO-related URLs.
5346 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
5348         * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
5349         * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
5351 2003-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5353         * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
5355 2003-02-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
5357         PR c/9100
5358         Backport patch from mainline:
5360         2003-01-12  Mark Mitchell  <mark@codesourcery.com>
5362         PR c++/9264
5363         * c-lex.c (c_lex): Set the token value to error_mark_node for
5364         invalid numeric constants.
5366 2003-02-11  Jan Hubicka  <jh@suse.cz>
5368         * i386.md (ahi?v*3): Set third operand type to TImode.
5369         * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
5371         * i386.c (contains_128bit_aligned_vector_p): New function
5372         (ix86_function_arg_boundary): Properly align vector modes.
5374 2003-02-11  Bob Wilson  <bob.wilson@acm.org>
5376         Backport following patch:
5378         2003-02-11  Bob Wilson  <bob.wilson@acm.org>
5380         * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
5381         * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
5382         as a SET pattern.
5384 2003-02-11  Jan Hubicka  <jh@suse.cz>
5386         * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
5387         integer mode.
5389         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
5390         Change code so they are arithmetic expressions now.
5391         * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
5392         simplify_ternary_operation): Deal with VEC_* expressions.
5394 2003-02-11  Richard Henderson  <rth@redhat.com>
5396         2003-01-15  Richard Henderson  <rth@redhat.com>
5397         * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
5398         also check that GP is being used.
5399         (alpha_find_lo_sum_using_gp): New.
5400         (alpha_does_function_need_gp): Use get_attr_usegp.
5401         * config/alpha/alpha-protos.h: Update.
5402         * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
5403         as needed.
5405 2003-02-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5407         * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
5408         hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
5409         * fixincl.x: Rebuilt.
5410         * tests/base/stdlib.h: Update.
5411         * tests/base/ctype.h: New file.
5413 2003-02-11  Janis Johnson  <janis187@us.ibm.com>
5415         * config/rs6000/ppc64-fp.c: New file.
5416         * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
5418 2003-02-11  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
5420         PR optimization/9651
5421         * rtlanal.c (may_trap_p): Handle FIX.
5423 2003-02-11  Jan Hubicka  <jh@suse.cz>
5425         * predict.c (choose_function_section): Choose sections correctly.
5427 2003-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5429         * reload1.c (first_label_num): New.
5430         (reload): Index offsets_known_at and offsets_at using difference of
5431         label number and first label number.  Don't use offset pointers.
5432         (set_label_offsets, set_initial_label_offsets): Likewise.
5434 2003-02-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
5435             Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
5437         PR c/7741
5438         * c-decl.c (duplicate_decls): Discard the initializer of the
5439         new decl when the types are conflicting.
5441 2003-02-09  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
5443         * doc/install.texi: Squeeze and streamline section on
5444         testing and regression checking.
5446 2003-02-07  Jason Thorpe  <thorpej@wasabisystems.com>
5448         * config/t-netbsd (USER_H): Revert previous change.
5450 2003-02-07  Richard Henderson  <rth@redhat.com>
5452         PR 9226
5453         * gcse.c (local_cprop_find_used_regs): New.
5454         (local_cprop_pass): Use it.
5456 2003-02-07  Jan Hubicka  <jh@suse.cz>
5458         * i386.md (sse2_nandv2di3):  Fix.
5460         * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
5462 2003-02-07  Andrey Petrov <petrov@netbsd.org>
5464         * optabs.c (expand_float): Search wider integer modes first.
5466 2003-02-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5468         * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
5469         target_cpu_default.
5470         * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
5471         if not MASK_NO_SPACE_REGS.
5472         (output_call): Adjust return pointer, don't load new space register
5473         into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
5474         (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
5475         TARGET_NO_SPACE_REGS is true.
5476         * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
5477         conditions.
5478         (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
5479         (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
5480         true.  Use bve when TARGET_64BIT is true.
5482 2003-02-06  Eric Botcazou <ebotcazou@libertysurf.fr>
5483             Richard Henderson <rth@redhat.com>
5485         PR c/9530
5486         * config/i386/i386.h (FUNCTION_OK_FOR_SIBCALL): Forbid sibcalls
5487         from functions that return a float to functions that don't.
5489 2003-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
5491         * reload.c (find_reloads): Do not use the mode specified in the insn
5492         pattern as reload mode for address operands.  Do not generate optional
5493         reloads for operands where a mandatory reload was already pushed.
5495 2003-02-04  Jan Hubicka  <jh@suse.cz>
5497         * i386.md (movti_rex64):  Fix constraint.
5499 2003-02-04  Rodney Brown  <rbrown64@csc.com.au>
5501         * config/i386/i386.c (x86_function_profiler): Fix typo in format.
5503 2003-01-23  Mike Stump  <mrs@apple.com>
5505         * regclass.c (init_reg_autoinc): New function.
5506         (regclass): Move initialization of forbidden_inc_dec_class from
5507         here...
5508         (init_regs): to here.  Avoids reinitialization for each function,
5509         saving compilation time.
5511 2003-02-04  Phil Edwards  <pme@gcc.gnu.org>
5513         * doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
5514         for recent libstdc++.  Remove formatting cruft.
5516 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
5518         * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
5519         doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
5520         * doc/install.texi: Update copyright dates.  Update to GFDL 1.2.
5522 2003-02-03  Bob Wilson  <bob.wilson@acm.org>
5524         * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
5525         coprocessor registers before floating-point registers.
5526         * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
5527         to account for a previously removed register.
5528         (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
5529         Delete unused macros.
5531 2003-02-03  Jan Hubicka  <jh@suse.cz>
5533         * i386.c (ix86_expand_store_builtin):  Always force op1 to register.
5534         (mov*_internal): Fix predicates; require one of operands to not be memory.
5535         (SSE?MMX move expanders):  Fix predicates; force one of operands to register.
5536         (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
5537         (movups/movupd/movdqu patterns): Force one of operands to not be memory.
5539 2003-02-03  Jan Hubicka  <jh@suse.cz>
5541         * regclass.c (cannot_change_mode_set_regs): Correct argument order.
5543 2003-02-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5545         * mips/_tilib.c: Don't include tsystem.h.  Don't define
5546         LIBGCC2_WORDS_BIG_ENDIAN.
5548 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5550         * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
5552 2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5554         * pa-protos.h (attr_length_millicode_call): Remove second argument.
5555         (attr_length_indirect_call, attr_length_indirect_call,
5556         attr_length_save_restore_dltp): New prototypes.
5557         * pa.c (attr_length_millicode_call): Remove second argument.  Check
5558         INSN_ADDRESSES_SET_P in distance calculation.
5559         (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
5560         INSN_ADDRESSES.
5561         (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
5562         (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
5563         Call attr_length_call directly.
5564         (attr_length_indirect_call, output_indirect_call,
5565         attr_length_save_restore_dltp): New functions.
5566         * pa.md (attr_length_millicode_call): Drop second argument from all
5567         patterns.
5568         (return_internal_pic): Delete.
5569         (return_external_pic): Remove use of PIC register and pic operand and
5570         flag checks.
5571         (epilogue): Use return_internal for both normal and pic code.
5572         (call, call_value): Emit new 32-bit pic patterns for symref and
5573         indirect calls.  Remove uses for arg pointer and pic register.
5574         (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
5575         call_reg_pic_post_reload, call_val_symref_pic,
5576         call_val_symref_pic_post_reload, call_val_reg_pic,
5577         call_val_reg_pic_post_reload): New pre and post reload insn patterns.
5578         Implement define_split and define_peephole2 patterns for pre reload
5579         patterns.
5580         (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
5581         call_value_internal_reg_64bit): Shorten names.
5582         (all call patterns): Explicitly indicate registers used and clobbered.
5583         Use attr_length_indirect_call and attr_length_save_restore_dltp for
5584         attribute length calculation.  Move code generation for indirect calls
5585         to output_indirect_call.
5586         (sibcall, sibcall_value): Don't restore PIC register.
5587         (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
5588         register retore.
5590 2003-02-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5592         * doc/install.texi (Testing): Simplify and compress instructions
5593         concerning Dejagnu.
5595 2003-02-01  Daniel Jacobowitz  <drow@mvista.com>
5597         * dwarf2out.c (gen_type_die): Check for typedefs before calling
5598         for TYPE_MAIN_VARIANT.
5600 2003-02-01  Ulrich Weigand  <uweigand@de.ibm.com>
5602         * reload.c: Revert 2003-01-31 change.
5604 2003-02-01  Jan Hubicka  <jh@suse.cz>
5606         PR c/9506
5607         * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
5609 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5611         * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
5612         updating of total_code_bytes from prologue to epilogue.
5614 2003-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
5616         * regclass.c (record_reg_classes): Fix incorrect argument
5617         to EXTRA_ADDRESS_CONSTRAINT macro.
5619 2003-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
5621         * reload.c (find_reloads): Do not use the mode specified in the insn
5622         pattern as reload mode for address operands.  Do not generate optional
5623         reloads for operands where a mandatory reload was already pushed.
5624         Generate optional reloads only in the final pass though find_reloads.
5625         (have_replacement_p): New function.
5627 2003-01-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5629         * doc/install.texi (Testing): Remove a reference to our obsolete
5630         /testresults web pages and strip redundant information concerning
5631         test results.
5632         (Binaries): Refer to Microsoft Windows instead of listing all
5633         possible variants.
5635 2003-02-01  Jan Hubicka  <jh@suse.cz>
5637         * loop.c (emit_prefetch_instructions):  Do conversion at right place in
5638         RTL chain.
5640         * combine.c (simplify_set): Reverse order of ragumetns to
5641         REG_CANNOT_CHANGE_MODE_P
5642         * df.c (df_def_record_1): Likewise.
5643         * recog.c (register_operand): Likewise.
5644         * simplify-rtx.c (simplify_subreg): Likewise.
5645         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
5646         CANNOT_CHANGE_MODE_CLASS.
5647         * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
5648         Likewise.
5649         * reload.c (push_reload): Likewise.
5650         * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5651         * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5652         * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5653         * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
5654         * mips.c (mips_cannot_change_mode_class): Update.
5655         * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5656         * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5657         * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5658         * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
5659         * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
5660         * sh.c (sh_cannot_change_mode_class): Update.
5661         * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
5662         * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
5664 2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5666         * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
5667         duplicated code.
5669 2003-01-30  Richard Earnshaw  <rearnsha@arm.com>
5671         * arm.c (arm_compute_initial_elimination_offset): If optimizing for
5672         size, the link register is always saved if any other register is
5673         saved.
5675 2003-01-30  Jerry Quinn  <jlquinn@optonline.net>
5677         * gcc/doc/invoke.texi (Optimization Options): Group together
5678         optional and experimental flags.  Move trapv and bounds-check
5679         out of this section.  Group floating point flags together.
5680         (Code Gen Options): Move trapv and bounds-check to here.
5682 2003-01-30  Jerry Quinn  <jlquinn@optonline.net>
5684         * gcc/doc/invoke.texi (Optimization Options): List -O levels
5685         for each optimization flag.
5687 2003-01-30  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
5689         PR target/9316
5690         * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
5691         * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
5692         * config/rs6000/t-rtems: New file. multilib variants to match OS.
5693         * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
5694         rs6000/t-ppcgas so we get the desired multilibs.
5696 2003-01-30  Alexandre Oliva  <aoliva@redhat.com>
5698         * config/fp-bit.h (__make_dp): Declare if TMODES.
5700 2003-01-29      Steve Ellcey <sje@cup.hp.com>
5702         * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
5703         * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
5705 2003-01-29      Steve Ellcey <sje@cup.hp.com>
5707         * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
5708         from ia64_aix_select_rtx_section.
5709         (ia64_rwreloc_select_section): Simlarly; use default*_1 function
5710         instead of saving and restoring flag_pic.
5711         (ia64_rwreloc_unique_section): Similarly.
5712         * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
5713         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
5714         * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
5715         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
5717 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
5719         PR bootstrap/9296
5720         * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
5721         depended on it being defined until now.
5723 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
5725         PR target/9295
5726         * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
5727         RTEMS code knows which C++ initialization style the toolset
5728         configuration is using.
5730 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
5732         PR bootstrap/9293
5733         * config/m68k/t-crtstuff: Replace spaces with tabs, add
5734          $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
5736 2003-01-29  Joel Sherrill  <joel@OARcorp.com>
5738         PR bootstrap/9292
5739         * config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
5740         RTEMS threads.
5741         * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
5743 2003-01-25  Andrew Haley  <aph@redhat.com>
5745         * tree-inline.c (walk_tree): Add CHAR_TYPE.
5747 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5749         * doc/install.texi: Add documentation for installation into
5750         tooldirs and with DESTDIR.
5752 2003-01-28  Andreas Schwab  <schwab@suse.de>
5754         * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
5755         register.
5756         * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
5757         * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
5758         * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
5759         * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
5760         * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
5761         * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
5762         * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
5764 2003-01-28  David Edelsohn  <edelsohn@gnu.org>
5766         * config/rs6000/rs6000.md (movti_string): Remove clobber.
5767         * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
5768         generate PARALLEL with clobber for TARGET_POWER.
5770 2003-01-28  Richard Henderson  <rth@redhat.com>
5772         * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
5773         in no-else-block case.  Add commentary.
5775 2003-01-28  Alexandre Oliva  <aoliva@redhat.com>
5777         * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
5778         (UNITS_PER_FPVALUE): Defined as the width of a long double, or
5779         zero if no hardware floating point.
5780         (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
5781         (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
5782         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
5783         (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
5784         (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
5785         * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
5786         * config/mips/mips.c (override_options): Use it.
5787         (mips_arg_info): Pass TFmode values in even FP registers on N32
5788         and N64.
5789         (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
5790         (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
5791         (mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
5792         even-register-like alignment to 128-bit arguments.
5793         (save_restore_insns): Use UNITS_PER_HWFPVALUE.
5794         (mips_function_value): Likewise.  Return TFmode in $f0 and $f2
5795         on N32 or N64.
5796         * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
5797         * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
5798         (TPBIT): Set to tp-bit.c.
5799         (tp-bit.c): Create out of fp-bit.c.
5801 2003-01-27  Gabriel Dos_Reis  <gdosreis@sophia.inria.fr>
5803         * c-parse.in: Remove '%expect 32' directive when in objc mode.
5805 2003-01-27  Josef Zlomek  <zlomekj@suse.cz>
5807         * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
5809 2003-01-27  Richard Earnshaw  <rearnsha@arm.com>
5811         PR optimization/9090
5812         * function.c (purge_addressof_1): After pushing an addressed register
5813         onto the stack, simplify the result.
5815 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5817         * doc/extend.texi: Fix typo.
5819 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5821         * doc/cppopts.texi: Fix typo.
5822         * doc/objc.texi: Likewise.
5823         * doc/passes.texi: Likewise.
5825 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5827         * real.c (ibm_extended_format): Add 53 to minimum exponent.
5828         (encode_ibm_extended): Adjust.
5830 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
5832         * doc/gccint.texi: Update the copyright.
5834 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
5836         * doc/cpp.texi: Fix typos.
5837         * doc/extend.texi: Likewise.
5838         * doc/gty.texi: Likewise.
5839         * doc/install.texi: Likewise.
5840         * doc/passes.texi: Likewise.
5841         * doc/rtl.texi: Likewise.
5843 2003-01-26  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5845         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
5846         (install-cpp, installdirs, install-common)
5847         (install-driver, install-info, install-man)
5848         (install-headers, install-include-dir, install-headers-tar)
5849         (install-headers-cpio, install-headers-cp, install-mkheaders)
5850         (install-collect2, uninstall): Prepend $(DESTDIR) to
5851         destination paths in all (un)installation commands.
5852         (install-driver): Rewrite $(LN) commands to support DESTDIR
5853         with "ln" as well as with "ln -s".
5854         (installdirs): Simply use mkinstalldirs.
5855         (install-libgcc, install-multilib): Also pass DESTDIR.
5856         * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
5857         installation destination variable ldir.
5858         * config/alpha/t-osf4 (SHLIB_INSTALL): Prepend $$(DESTDIR)
5859         to $$(slibdir) in the installation commands.
5860         * config/arm/t-netbsd (SHLIB_INSTALL): Likewise.
5861         * config/ia64/t-hpux (SHLIB_INSTALL): Likewise.
5862         * config/mips/t-iris5-6 (SHLIB_INSTALL): Likewise.
5863         * config/pa/t-hpux-shlib (SHLIB_INSTALL): Likewise.
5864         * config/rs6000/t-aix43 (SHLIB_INSTALL): Likewise.
5865         * config/rs6000/t-aix52 (SHLIB_INSTALL): Likewise.
5866         * config/t-slibgcc-elf-ver (SHLIB_INSTALL): Likewise.
5867         * config/t-slibgcc-sld (SHLIB_INSTALL): Likewise.
5868         * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
5869         $(libsubdir) in the installation commands.
5871 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
5873         * fp-bit.h: Define macros for TFmode floating-point constants
5874         in IBM-extended TFmode types.
5875         (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
5876         widths.
5877         * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
5878         TFmode type.
5880         * config/fp-bit.h: Define macros for TFmode floating-point
5881         constants in IEEE quad TFmode type.  Declare functions according
5882         to L_ macros.
5883         (TMODES): Define if __LDBL_MANT_DIG__ is 113.
5884         (TFtype, TItype, UTItype): Define if TMODES is defined.
5885         (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
5886         (F_T_BITOFF, D_T_BITOFF): Define.
5887         (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
5888         guaranteed to be wide enough.
5889         * config/fp-bit.c: Check for L_ macros for tf functions.
5890         (__thenan_tf): New.
5891         (nan): Adjust.
5892         (pack_d, unpack_d): Support IEEE 854 quad type.
5893         (_fpmul_parts): Support TFmode.  Compute exponent adjustment
5894         from FRAC_NBITS, FRAC_BITS and NGARDS.
5895         (usi_to_float): Cast constants to be shifted to fractype
5896         instead of assuming long long is wide enough.
5897         (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
5899         * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
5900         (DBBIT_FUNCS): Added _df_to_tf.
5901         (TPBIT_FUNCS): New.
5902         (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
5903         (LIBGCC_DEPS): Added TPBIT.
5904         * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
5906         * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
5907         been able to move the result to target.
5909         * expr.c (emit_group_store): Initialize dst with CONST0_RTX
5910         for the appropriate mode.
5912         * calls.c (emit_library_call_value_1): Handle return values
5913         in a PARALLEL.
5915         * rtl.c (get_mode_alignment): Moved to...
5916         * stor-layout.c: ... here.
5918         * print-rtl.c (print_rtx): Don't print MEM details in
5919         GENERATOR_FILEs.
5921 2003-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5923         * df.c (df_uses_record): Handle CC0.
5925 2003-01-25  Jan Hubicka  <jh@suse.cz>
5926             Eric Botcazou <ebotcazou@libertysurf.fr>
5928         PR opt/8492
5929         * gcse.c (one_cprop_pass): Delete unreachable blocks.
5931 2003-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
5933         * reload.c (maybe_memory_address_p): New function.
5934         (find_reloads_address): Use it instead of memory_address_p.
5936 2003-01-25  Kaz Kojima  <kkojima@gcc.gnu.org>
5938         * final.c (shorten_branches): Align the address of code label
5939         when computing initial lengths and addresses.
5941 2003-01-25  Richard Henderson  <rth@redhat.com>
5943         2002-02-19  Robert Lipe  <robertlipe@usa.net>
5944         * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
5946 2003-01-23  Andreas Schwab  <schwab@suse.de>
5948         * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
5949         __do_global_ctors_aux hidden global and don't put it in
5950         .init_array.
5951         * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
5952         instead so that it comes first.
5954 2003-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5956         * config/c4x/c4x.h (ASM_SPEC): Fix for new gas format.
5958 2003-01-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5960         * calls.c (fix_unsafe_tree): Prototype.
5961         * loop.c (loop_invariant_p): Avoid signed/unsigned warning.
5963 2003-01-24  Richard Henderson  <rth@redhat.com>
5965         PR optimization/4382
5966         * tree-inline.c (find_builtin_longjmp_call_1): New.
5967         (find_builtin_longjmp_call): New.
5968         (inlinable_function_p): Use it.
5970 2003-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
5972         * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
5973         * configure: Regenerate.
5975         * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
5976         (tls_symbolic_reference_mentioned_p): Add prototype.
5977         (s390_tls_get_offset): Add prototype.
5978         (emit_pic_move): Remove prototype, replace by ...
5979         (emit_symbolic_move): .. this new prototype.
5981         * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
5982         (tls_model_chars): New global variable.
5983         (s390_encode_section_info): Encode TLS model.
5984         Use targetm.binds_local_p to check for local symbols.
5985         (s390_strip_name_encoding): New function.
5986         (TARGET_STRIP_NAME_ENCODING): Define.
5988         (get_thread_pointer): New function.
5989         (legitimize_tls_address): New function.
5990         (legitimize_address): Call it.
5991         (emit_pic_move): Remove, replace by ...
5992         (emit_symbolic_move): ... this new function.
5994         (larl_operand): Handle TLS operands.
5995         (legitimate_constant_p): Likewise.
5996         (s390_decompose_address): Likewise.
5997         (s390_cannot_force_const_mem): New function.
5998         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
6000         (s390_output_symbolic_const): Handle TLS unspecs.
6001         (print_operand): New code 'J'.
6002         (machine_function): Add struct member 'some_ld_name'.
6003         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
6005         (enum s390_builtin): New type.
6006         (code_for_builtin_64, code_for_builtin_31): New global variables.
6007         (s390_init_builtins, s390_expand_builtin): New functions.
6008         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
6010         * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
6011         (ASM_OUTPUT_LABELREF): Define.
6012         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
6014         * config/s390/s390.md: Define TLS UNSPEC constants.
6015         ("movdi", "movsi"): Handle TLS operands.
6016         ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
6017         ("*tls_load_64", "*tls_load_31"): New insns.
6018         ("call_value_tls", "call_value_tls_exp"): New expanders.
6019         ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
6020         "bas_tls_64", "bas_tls_31"): New insns.
6022 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
6024         * doc/passes.texi: Fix typo.
6025 2003-02-01  Jan Hubicka  <jh@suse.cz>
6027         * loop.c (emit_prefetch_instructions):  Do conversion at right place in
6028         RTL chain.
6030         * combine.c (simplify_set): Reverse order of ragumetns to
6031         REG_CANNOT_CHANGE_MODE_P
6032         * df.c (df_def_record_1): Likewise.
6033         * recog.c (register_operand): Likewise.
6034         * simplify-rtx.c (simplify_subreg): Likewise.
6035         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
6036         CANNOT_CHANGE_MODE_CLASS.
6037         * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
6038         Likewise.
6039         * reload.c (push_reload): Likewise.
6040         * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6041         * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6042         * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6043         * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
6044         * mips.c (mips_cannot_change_mode_class): Update.
6045         * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6046         * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6047         * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6048         * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
6049         * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
6050         * sh.c (sh_cannot_change_mode_class): Update.
6051         * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
6052         * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
6054 2003-01-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6056         * timevar.def (TV_NAME_LOOKUP, TV_OVERLOAD,
6057         TV_TEMPLATE_INSTANTIATION):  New timevar_id eumerations.
6058         * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
6059         * timevar.c (timevar_pop): Be verbose when aborting.  Include
6060         "toplev.h".
6062 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
6064         * doc/bugreport.texi: Use @command instead of @code for commands.
6065         * doc/collect2.texi: Likewise.
6066         * doc/headerdirs.texi: Likewise.
6067         * doc/invoke.texi: Likewise.
6068         * doc/standards.texi: Likewise.
6069         * doc/tm.texi: Likewise.
6070         * doc/trouble.texi: Likewise.
6072 2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6074         PR java/6748
6075         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
6076         regs->nip. Fix rt_sigreturn frame layout. Add support for newer
6077         kernels.
6079 2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
6081         PR other/7341
6082         * invoke.texi (ftest-coverage): Fix broken cross-reference.
6083         Change @code to @command for gcov command.
6085         * gcc.texi: Adjust title of gcov section.
6086         Adjust copyright.
6087         * gcov.texi: Likewise.
6089 2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
6091         PR other/7448
6092         * doc/passes.texi (fssa-ccp): Remove misplaced line.
6094 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
6096         * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
6097         introduced by last change.
6099 2003-01-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6101         * configure.in: Make --disable-checking the default.
6102         * configure: Regenerate.
6104 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
6106         * config/s390/s390-protos.h (preferred_la_operand_p):
6107         Remove second parameter.
6108         * config/s390/s390.c (preferred_la_operand_p): Likewise.
6109         * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
6110         (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
6111         * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
6112         Add peepholes to transform ADD to LOAD ADDRESS.
6114 2003-01-20  Jan Hubicka  <jh@suse.cz>
6116         * i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
6118 2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
6120         PR opt/7507
6121         * calls.c (fix_unsafe_tree): Split out from ...
6122         (expand_call): ... here.  Use it on the function address too.
6124 2003-01-20  Richard Henderson  <rth@redhat.com>
6126         PR opt/7154
6127         * stmt.c (expand_asm_operands): Validize memory operands.
6129 2003-01-20  Richard Henderson  <rth@redhat.com>
6131         PR opt/8848
6132         * ifcvt.c (noce_process_if_block): Correct arguments to
6133         modified_between_p for no-else-block case.
6135 2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6137         * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
6138         is not a scalar int mode.
6140 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
6142         * config/h8300/h8300.c (notice_update_cc): Don't assume that
6143         recog_data.operands[0] is always associated with cc0.
6145 2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
6147         * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
6148         z_reg, z_reg_qi): Declare static and GTY().
6149         (da_reg): Remove.
6150         (create_regs_rtx): Don't create da_reg.
6151         ("gt-m68hc11.h"): Include for GTY roots.
6152         (m68hc11_autoinc_compatible_p): Remove.
6153         (autoinc_mode): Declare prototype.
6154         (m68hc11_make_autoinc_notes): Likewise.
6155         * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
6156         and GTY() here.
6157         (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
6158         (m68hc11_soft_tmp_reg): Likewise.
6159         * config/m68hc11/m68hc11-protos.h: Remove above declarations.
6161 2003-01-18  Roger Sayle  <roger@eyesopen.com>
6163         * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
6165 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
6167         * varasm.c (struct constant_descriptor_rtx): Remove unused
6168         `label' field.
6170         * ggc-page.c (ggc_collect): Avoid overflow computing
6171         min_expand.
6173 2002-12-20  Geoffrey Keating  <geoffk@apple.com>
6175         * integrate.c (output_inline_function): Don't hold private
6176         pointers to 'struct function' over GC calls.
6178 2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
6180         * config/mips/mips.h: Don't use #elif.  Reported by Kaveh
6181         R. Ghazi.
6183 2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
6185         * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
6186         instead of rotldi3_mextr.
6188 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
6190         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
6191         68HC12 pre/post inc/dec side effects.
6193 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
6195         * config/m68hc11/m68hc11.h (MASK_M6812): Define.
6197 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
6199         * config/m68hs11/m68hc11.c (expand_prologue): Use push/pop to
6200         allocate 4-bytes of locals on 68HC11.
6201         (expand_epilogue): Likewise.
6202         (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
6204 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6206         * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
6207         ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
6208         * pa.h (TARGET_SOM_SDEF): Define.
6209         * pa-hpux11.h (TARGET_SOM_SDEF): Define.
6211 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
6213         * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
6214         and -mshort-double to the assembler to specify the ABI.
6215         (LINK_SPEC): Likewise.
6216         (CPP_SPEC): Pass HCS12 specific define.
6217         (MASK_M68S12): New define.
6218         (TARGET_M68S12): Likewise.
6219         (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
6220         (TARGET_VERSION): Update.
6221         * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
6222         (LINK_SPEC): Update.
6223         (ASM_SPEC): Update.
6224         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
6225         * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
6227 2003-01-15  John David Anglin  <dave.anglin@nrc.gc.ca>
6229         * gengtype-lex.l (malloc, realloc): Move defines after include of
6230         system.h.
6232 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
6234         * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
6235         the return code.
6237 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
6239         * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
6240         flag before setting it.
6242 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
6244         Segher Boessenkool  <segher@koffie.nl>
6246         * predict.c (real_inv_br_prob_base): New variable.
6247         (propagate_freq): Use multiply by reciprocal instead of
6248         division.  Don't divide by 1.0 at all.
6249         (estimate_bb_frequencies): Similar.
6251 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
6253         * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
6254         * configure: Rebuilt.
6256         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
6257         to set $gp before the call.
6259 2003-01-10  Andrew Haley  <aph@redhat.com>
6261         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
6262         registers to be in correct order.  Add rip.
6264 2003-01-14  Denis Chertykov  <denisc@overta.ru>
6266         * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
6267         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
6269         * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
6270         attributes.
6271         (TARGET_ATTRIBUTE_TABLE): New macro.
6272         (valid_machine_type_attribute): Remove.
6273         (valid_machine_decl_attribute): Remove.
6274         (ip2k_handle_progmem_attribute): New function.
6275         (ip2k_handle_fndecl_attribute): New function.
6277 2003-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
6279         PR target/8870, PR target/9195
6281         Backport from mainline:
6283         2003-01-10  Richard Henderson  <rth@redhat.com>
6285         * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
6286         not INTEGRAL_MODE_P when widening extensions.
6288 2003-01-13  Alexandre Oliva  <aoliva@redhat.com>
6290         * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
6291         ${ac_tool_prefix} to ADAC or CC.  Protect them from word
6292         splitting.
6293         * configure: Rebuilt.
6295 2003-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6297         * unwind-dw2-fde.h (last_fde): Mark parameter with __attribute__
6298         ((__unused__)).
6300 2003-01-12  Alan Modra  <amodra@bigpond.net.au>
6302         * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
6304 2003-01-11  Jan Hubicka  <jh@suse.cz>
6306         PR target/9068
6307         * i386.c (output_fp_compare): Fix typo
6309 2003-01-10  Josef Zlomek  <zlomekj@suse.cz>
6311         * jump.c (next_nonnote_insn_in_loop): New function.
6312         (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
6313         next_nonnote_insn.
6314         (duplicate_loop_exit_test). Likewise.
6316 2003-01-08  Jan Hubicka  <jh@suse.cz>
6318         PR target/8213
6319         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem.
6321 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
6323         * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
6324         length.
6325         (*extzv_1_r_h8300hs): Likewise.
6326         (*extzv_1_r_inv_h8300): Likewise.
6327         (*extzv_1_r_inv_h8300hs): Likewise.
6329 2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
6331         * Makefile.in (optabs.o): Add dependency on basic-block.h.
6332         * basic-block.h (control_flow_insn_p): Fuction was exported.
6333         * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
6334         * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
6335         notes only when the region is contained in a single basic block.
6337 2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
6339         * Makefile.in (PARTITION_H): New.
6340         (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
6341         * basic-block.h: Include hard-reg-set.h.
6343 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
6345         PR inline-asm/8832
6346         * tree.h (expand_asm): New prototype.
6347         * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
6348         to do so.
6349         * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
6350         down to expand_asm.
6351         * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
6352         * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
6353         (volatile_refs_p) [ASM_INPUT]: Likewise.
6354         (side_effects_p) [ASM_INPUT]: Likewise.
6356 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
6358         PR c/8032
6359         * c-typeck.c (process_init_element) [RECORD_TYPE]: For
6360         an empty element, do not advance the pointer to unfilled
6361         fields if there are pending initializers.
6363 2003-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6365         * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
6366         non-optimizing compile.
6367         (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
6368         compile.
6370 2003-01-09  Andreas Jaeger  <aj@suse.de>
6372         * unwind-dw2-fde.h (last_fde): Revert last patch.
6374 2003-01-08  Danny Smith  <dannysmith@users.sourceforge.net>
6376         PR optimization/8750
6377         * config/i386/i386.c (ix86_expand_prologue): Don't allow
6378         scheduling pass to move insns across __alloca call.
6380 2003-01-08  Jeff Sturm  <jsturm@one-point.com>
6382         PR target/9210
6383         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
6384         Set SYMBOL_REF_FLAG on local data sym_ref.
6386 2003-01-08  Jan Hubicka  <jh@suse.cz>
6388         PR target/8322
6389         * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
6390         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
6392         PR target/7782
6393         * reload1.c (delete_output_reload): Avoid repeated attempts
6394         to delete insn.
6396         * cselib.c (cselib_current_insn_in_libcall): New static variable.
6397         (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
6398         we are inside libcall.
6399         * cselib.h (elt_loc_list): Add in_libcall.
6400         * gcse.c (do_local_cprop): Do not copy propagate using insns
6401         in libcalls.
6403 2003-01-07  Janis Johnson  <janis187@us.ibm.com>
6405         PR other/8947
6406         * doc/invoke.texi (-malign-double): Explain that the option breaks
6407         binary compatibility.
6409 2003-01-07  Richard Henderson  <rth@redhat.com>
6411         * alias.c (find_base_value): Only use new_reg_base_value shortcut
6412         if the register is set once.
6414 2003-01-07  Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
6416         * config/i386/i386.c (ix86_init_mmx_sse_builtins):
6417         __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
6418         * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
6420 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
6421             Sunil Davasam  <sunil.k.davasam@intel.com>
6423         PR libstdc++/9076
6424         * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
6425         DW_CFA_same_value, read next and ignore.
6427 2003-01-07  Richard Henderson  <rth@redhat.com>
6429         * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
6431 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
6433         Segher Boessenkool  <segher@koffie.nl>
6435         * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
6436         (alt_reg_names): Ditto, fix formatting.
6437         * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
6439 2003-01-06  Bruce Korb  <bkorb@gnu.org>
6441         * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
6442         of *both* the file name and the fix name.
6444 2003-01-06  Richard Henderson  <rth@redhat.com>
6446         * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
6447         properly when changing "local-ness".
6448         * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
6450 2003-01-05  Andreas Jaeger  <aj@suse.de>
6452         * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
6454 2003-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6456         * pa64-hpux.h (JCR_SECTION_NAME): Define.
6457         (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
6458         USE_EH_FRAME_REGISTRY when defining.
6460 2003-01-04  John David Anglin  <dave.anglin@nrc.ca>
6462         * config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
6463         collect2.
6464         * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
6465         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
6466         * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
6467         GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
6468         GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
6469         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
6470         elfos.h.
6471         (EH_FRAME_IN_DATA_SECTION): Delete define.
6472         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
6473         (STARTFILE_SPEC): Use crtbegin.o.
6474         (ENDFILE_SPEC): Use crtend.o.
6475         (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
6476         SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
6477         PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
6478         DTOR_LIST_BEGIN): Define.
6479         * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
6480         (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
6481         * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
6483 2003-01-02  Eric Christopher  <echristo@redhat.com>
6485         * config/mips/mips.md (movdf_internal2): Fix constraints.
6487 2003-01-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6489         * doc/install.texi (Configuration): Fix markup for reference to
6490         gcc/config.gcc.
6492 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
6494         * config/h8300/h8300.c (stack_pointer_operand): New.
6495         (const_int_gt_2_operand): Likewise.
6496         (const_int_ge_8_operand): Likewise.
6497         * config/h8300/h8300.md (a splitter): Likewise.
6498         (a peephole2): Likewise.
6499         * config/h8300/h8300-protos.h: Add prototypes for the new
6500         functions above.
6502 2003-01-02  Neil Booth  <neil@daikokuya.co.uk>
6504         * gccbug.in: Update for new categories.
6506 2002-12-31  Tom Tromey  <tromey@redhat.com>
6508         * doc/install.texi (Testing): Fixed typo.
6510 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
6512         * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
6513         descriptions.
6515 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
6517         * gcc/doc/invoke.texi (Optimization Options): List the options
6518         enabled by each -O flag.
6520 2002-12-31  David Edelsohn  <edelsohn@gnu.org>
6522         * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
6524 2002-12-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6526         * doc/install.texi (Configuration): Explicitly refer
6527         gcc/config.gcc for a list of cpu models.
6529 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
6531         * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
6533 2002-12-30  Tom Tromey  <tromey@redhat.com>
6535         * doc/install.texi (Testing): Mention Jacks.
6537 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
6539         * doc/service.texi: Uncomment and update FAQ link.
6541 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
6543         * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
6544         Use @copying.
6546 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
6548         * configure.in: Increase makeinfo version requirement to 4.[2-9].
6549         * configure: Regenerate.
6550         * doc/install.texi: Update Texinfo version requirement.
6552 2002-12-27  Joseph S. Myers  <jsm@polyomino.org.uk>
6554         * doc/include/texinfo.tex: Update to version 2002-12-26.16.
6556 2002-12-26  Joseph S. Myers  <jsm@polyomino.org.uk>
6558         * doc/standards.texi, doc/invoke.texi: Point to 3.3 version of
6559         c99status.html.
6561 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
6563         * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
6565 2002-12-23  Larin Hennessy  <larin@science.oregonstate.edu>
6567         * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
6568         m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
6569         * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
6570         DG/UX entries.
6571         * doc/md.texi: Remove AMD 29K entries.
6572         * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
6573         1.38.1, NewsOS, RT PC, WE32K entries.
6575 2002-12-23  Aldy Hernandez  <aldyh@redhat.com>
6577         PR/8763
6578         * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
6579         (altivec_vspltisw_v4sf): Name pattern.
6580         (altivec_vslw_v4sf): New pattern.
6582 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
6584         * doc/include/gcc-common.texi: Clear DEVELOPMENT.
6586 2002-12-23  David Edelsohn  <edelsohn@gnu.org>
6588         PR middle-end/8784
6589         * expr.c (expand_assignment): Apply special treatment to
6590         ARRAY_TYPE.
6592 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
6594         * config/h8300/h8300.md (zero_extendqisi2): Correct the
6595         length.
6597 2002-12-19  Devang Patel <dpatel@apple.com>
6599         * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add support for -dynamic.
6600         (CPP_SPEC): Define __STATIC__ and __DYNAMIC__ depending on -dynamic.
6601         (LINK_SPEC): Pass -dynamic to linker.
6602         * config/rs6000/darwin.h: Reject conflicting -static and -dynamic.
6604 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
6606         * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
6607         pointer.
6608         (pushqi_h8300hs): Likewise.
6609         (pushhi_h8300): Likewise.
6610         (pushhi_h8300hs): Likewise.
6612 2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
6614         PR optimization/8988
6615         * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
6616         the biv when eliminating.
6618 2002-12-19  Aldy Hernandez  <aldyh@redhat.com>
6620         PR 8553
6621         * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
6622         registers.
6623         ("absv16qi2"): Same.
6624         ("absv4si2"): Same.
6625         ("absv4sf2"): Same.
6626         ("altivec_abss_v16qi"): Same.
6627         ("altivec_abss_v8hi"): Same.
6628         ("altivec_abss_v4si"): Same.
6630 2002-12-19  Ulrich Weigand  <uweigand@de.ibm.com>
6632         * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
6633         "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
6635 2002-12-18  Aldy Hernandez  <aldyh@redhat.com>
6637         * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
6638         macro.
6639         (vec_cmplt C++ functions): Reverse arguments.
6641 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
6643         * doc/c-tree.texi: Restore deliberate spelling mistakes.
6645 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
6647         * doc/c-tree.texi: Fix typos and follow spelling conventions.
6648         * doc/cpp.texi: Likewise.
6649         * doc/extend.texi: Likewise.
6650         * doc/gty.texi: Likewise.
6651         * doc/install.texi: Likewise.
6652         * doc/invoke.texi: Likewise.
6653         * doc/md.texi: Likewise.
6654         * doc/passes.texi: Likewise.
6655         * doc/rtl.texi: Likewise.
6656         * doc/sourcebuild.texi: Likewise.
6657         * doc/tm.texi: Likewise.
6659 2002-12-17  Jerry Quinn  <jlquinn@optonline.net>
6661         * doc/invoke.texi: Minor spelling and grammar fixes.
6663 2002-12-16  Mark Mitchell  <mark@codesourcery.com>
6665         * version.c (version_string): Mark as prerelease.
6667 2002-12-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6669         * pa.c (output_millicode_call): Correct typo.
6670         (output_call): Likewise.
6672 2002-12-13  Alexandre Oliva  <aoliva@redhat.com>
6674         * config/mn10300/mn10300.c (print_operand) <case N>: Check
6675         operand's range.  Print value directly, without aid from
6676         output_address.
6677         <case U>: New.
6678         <case S>: Make sure argument to fprintf has the right type.
6679         * config/mn10300/mn10300.h (OK_FOR_T): New macro.
6680         (EXTRA_CONSTRAINT): Adjust.
6681         * config/mn10300/mn10300.md: Add new all-QImode pattern for
6682         bclr.  Use %U for immediate operands of bset and bclr.
6683         (iorqi3): New expand, with insns for AM33 and mn10300.
6685 2002-12-13  J"orn Rennecke <joern.rennecke@superh.com>
6687         * sh.c (sh_register_operand): New function.
6688         (prepare_move_operands): Use it.
6689         * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
6690         * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
6691         (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
6692         (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
6693         (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
6694         (movv2si_i): Likewise.
6696 2002-12-13  Jim Wilson  <wilson@redhat.com>
6698         * doc/extend.texi (Complex Numbers): Update info on debug info.
6700 2002-12-13  Kazu Hirata  <kazu@cs.umass.edu>
6702         * config/h8300/h8300.md (addhi3_h8300): Remove the last
6703         alternative.
6705 2002-12-12  Devang Patel  <dpatel@apple.com>
6707         * doc/invoke.texi: Document Darwin linker options, -bundle
6708         -bind_at_load, -all_load and -arch_errors_fatal
6710 2002-12-12  Jim Wilson  <wilson@redhat.com>
6712         * dbxout.c (dbxout_fptype_value): New.
6713         (dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.
6715 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
6717         * c-decl.c: Fix a comment typo.
6718         * cfg.c: Likewise.
6719         * cfgcleanup.c: Likewise.
6720         * cfglayout.c: Likewise.
6721         * cfgrtl.c: Likewise.
6722         * c-typeck.c: Likewise.
6723         * dominance.c: Likewise.
6724         * dwarf2asm.c: Likewise.
6725         * dwarfout.c: Likewise.
6726         * expmed.c: Likewise.
6727         * expr.c: Likewise.
6728         * final.c: Likewise.
6729         * flow.c: Likewise.
6730         * function.c: Likewise.
6731         * gcc.c: Likewise.
6732         * genautomata.c: Likewise.
6733         * integrate.c: Likewise.
6734         * loop.c: Likewise.
6735         * loop.h: Likewise.
6736         * output.h: Likewise.
6737         * profile.c: Likewise.
6738         * ra.h: Likewise.
6739         * reload1.c: Likewise.
6740         * reload.c: Likewise.
6741         * sched-rgn.c: Likewise.
6742         * stmt.c: Likewise.
6743         * tree.h: Likewise.
6744         * vmsdbgout.c: Likewise.
6746 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
6748         * config/h8300/h8300.md: Add a new peephole2.
6750 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
6752         * config/h8300/h8300.md (a peephole2): Accept a constant
6753         that's accepted by CONST_OK_FOR_J.
6755 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
6757         * config/h8300/h8300.h (CONST_OK_FOR_J): New.
6758         (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
6759         * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
6760         (*addhi_h8300hs): Likewise.
6762 2002-12-12  J"orn Rennecke <joern.rennecke@superh.com>
6764         * sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
6765         (sh_register_move_cost): Add clause for SImode fp-fp moves.
6766         Increase cost for moves involving multiple general purpose registers.
6767         * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
6768         TARGET_FMOVD.
6769         (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
6770         registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
6771         (enum reg_class reg_class_from_letter): No longer const.
6772         (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
6773         REGCLASS_HAS_GENERAL_REG.
6774         Handle SImode moves from/to fp registers.
6775         ! TARGET_SHMEDIA && TARGET_FMOVD.
6776         (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
6777         * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
6779 2002-12-12  Andreas Schwab  <schwab@suse.de>
6781         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
6782         change and some warnings.
6784 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
6786         * doc/md.texi (pushm): Fix a typo.
6788 2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
6790         * config/mips/mips.c (mips_output_conditional_branch): Support
6791         PIC-safe out-of-range branch and branch-likely.
6792         * config/mips/mips.md (attr length): PIC-safe out-of-range
6793         branches are longer.
6794         ("jump"): Support PIC-safe out-of-range-for-branch jumps.  Remove
6795         unused code to support indirect jumps.
6797 2002-12-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6799         * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
6800         (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
6801         BIGGEST_ALIGNMENT.
6802         (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
6803         (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
6805 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
6807         * doc/invoke.texi: Correct dump file names.
6809 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
6811         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
6812         name to globalize_label or assemble_name.
6814 2002-12-11  J"orn Rennecke <joern.rennecke@superh.com>
6816         * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
6817         if not TARGET_SHMEDIA.
6819 2002-12-11  J"orn Rennecke <joern.rennecke@superh.com>
6821         * sh.h (REG_CLASS_HAS_FP_REG): New.
6822         (REGISTER_MOVE_COST) Use it.  Put body into a function and
6823         move it into:
6824         * sh.c (sh_register_move_cost).
6825         * sh-protos.h (sh_register_move_cost): Declare.
6827         * sh.c (sh_expand_builtin): Abort for unexpected nop values.
6828         (sh_adjust_cost): Always return a value.
6830 2002-12-11  J"orn Rennecke <joern.rennecke@superh.com>
6832         * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
6833         (REGISTER_MOVE_COST): Use it.
6835 2002-12-11  Richard Henderson  <rth@redhat.com>
6837         * tree.h (MODULE_LOCAL_P): Kill.
6838         * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
6840 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
6842         * config/h8300/h8300.md (two define_peephole2): New.
6844 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
6846         * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
6847         (CONST_OK_FOR_K): Likewise.
6848         (CONST_OK_FOR_M): Likewise.
6849         (CONST_OK_FOR_LETTER_P): Do not use the above macros.
6851 2002-12-11  Neil Booth  <neil@daikokuya.co.uk>
6853         * c-common.c (builtin_define_type_max): Handle unsigned
6854         types too.
6856 2002-12-10  Janis Johnson  <janis187@us.ibm.com>
6858         PR other/8882
6859         * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
6861 2002-12-10  Devang Patel  <dpatel@appple.com>
6863         * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
6864         * doc/invoke.texi: Add new "Darwin Options" section.
6866 2002-12-10  Jim Wilson  <wilson@redhat.com>
6868         * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
6869         memory.
6871 2002-12-10  Andrew Haley  <aph@redhat.com>
6873         * cse.c (cse_insn): Don't cse past a basic block boundary.
6875 2002-12-10  Jakub Jelinek  <jakub@redhat.com>
6877         * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
6878         -shared.
6879         * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
6880         * config/alpha/linux.h (LIB_SPEC): Likewise.
6881         * config/arm/linux-elf.h (LIB_SPEC): Likewise.
6882         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
6883         * config/sparc/linux.h (LIB_SPEC): Likewise.
6884         * config/sparc/linux64.h (LIB_SPEC): Likewise.
6886 2002-12-09  Larin Hennessy  <larin@science.oregonstate.edu>
6888         * doc/invoke.texi: Document UltraSparc III option.
6890 2002-12-09  Richard Henderson  <rth@redhat.com>
6892         * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
6893         __tune_pentium2__ and __tune_pentium3__ as necessary.
6895 2002-12-09  Richard Henderson  <rth@redhat.com>
6897         * target.h (gcc_target): Add cannot_force_const_mem.
6898         * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
6899         (TARGET_INITIALIZER): Add it.
6900         * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
6901         * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
6902         * reload1.c (reload): Likewise.
6903         * hooks.c (hook_bool_rtx_false): New.
6904         * hooks.h: Declare it.
6906         * config/i386/i386.c (ix86_cannot_force_const_mem): New.
6907         (TARGET_CANNOT_FORCE_CONST_MEM): New.
6908         (ix86_expand_move): Remove de-const-pooling hack.
6910 2002-12-09  Jan Hubicka  <jh@suse.cz>
6912         * toplev.c (dump_file): Fix order to match reality.
6914 2002-12-08  Geoffrey Keating  <geoffk@apple.com>
6916         * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
6917         (store_multiple): Likewise.
6919 2002-12-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6921         * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
6922         function pointers in page 0.
6924 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
6926         * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
6927         definition
6928         (MEMBER_TYPE_FORCES_BLK): Move.
6929         * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
6930         aggregate arguments.
6931         (ia64_function_value): Use PARALLEL to return aggregate values.
6933 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
6935         * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
6936         * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
6937         * calls.c (store_unaligned_arguments_into_pseudos) Remove
6938         FUNCTION_ARG_REG_LITTLE_ENDIAN.
6939         * stmt.c (expand_return): Ditto.
6940         * expr.c (move_block_from_reg): Ditto.
6941         (copy_blkmode_from_reg): Ditto.
6942         * expmed.c (store_bit_field): Ditto.
6944 2002-12-09  Svein E. Seldal  <Svein.Seldal@solidas.com>
6946         * config.gcc: Added tic4x-* target as an alias to c4x-*
6948 2002-12-08  Jan Hubicka  <jh@suse.cz>
6950         * i386.c (ix86_expand_int_movcc): Use force_operand instead of
6951         constructing insn directly.
6953 2002-12-07  Kazu Hirata  <kazu@cs.umass.edu>
6955         * config/h8300/h8300.md (*iorhi_shift_8): New.
6957 2002-12-06  Bernd Schmidt  <bernds@redhat.com>
6959         * doc/invoke.texi: Document FRV port options.
6960         * doc/md.texi: Document FRV register classes.
6962 2002-12-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6964         * doc/install.texi (Configuration): Improve description of cases
6965         where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
6967 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
6969         * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
6970         FPU.
6971         (push): Generate push_fpscr.
6972         (pop): Generate pop_fpscr.
6973         * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
6974         (fpu_switch): Add alternative to push fpscr.  Enable for TARGET_SH3E.
6976 2002-12-06  J"orn Rennecke <joern.rennecke@superh.com>
6978         * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
6979         DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
6981 2002-12-06  J"orn Rennecke <joern.rennecke@superh.com>
6983         * sh.md (movdi_i): Name.  Remove inappropriate comment.
6985 2002-12-06  J"orn Rennecke <joern.rennecke@superh.com>
6986         Merged from basic improvements branch (excerpt):
6988         2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
6989         * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
6991 2002-12-06  Jakub Jelinek  <jakub@redhat.com>
6993         * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
6995 2002-12-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6997         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
6998         * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
7000 2002-12-05  Dale Johannesen  <dalej@apple.com>
7002         * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.
7004 2002-12-05  Danny Smith  <dannysmith@users.sourceforge.net>
7006         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
7007         PROFILE_HOOK.
7008         * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
7010 2002-12-05  Aldy Hernandez  <aldyh@redhat.com>
7012         * config/rs6000/spe.h (__ev_mwlufi): Remove.
7013         (__ev_mwlufia): Remove.
7014         (__ev_mwlumfaaw): Remove.
7015         (__ev_mwlusfaaw): Remove.
7016         (__ev_mwlumfanw): Remove.
7017         (__ev_mwlusfanw): Remove.
7019 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
7021         * config/h8300/h8300.md (*andorsi3_shift_8): New.
7023 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
7025         * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
7026         lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
7027         (get_shift_alg): Return optimal assembly instructions for the
7028         shifts mentioned above.
7030 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
7032         * config/h8300/h8300.c (h8300_init_once): Do not use loop to
7033         implement ashiftrt:HI by 13 bits on H8S.
7035 2002-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7037         * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
7038         * pa.md (canonicalize_funcptr_for_compare): Output library call to
7039         canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
7040         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
7041         CTOR_LIST_BEGIN): New defines.
7042         * pa/t-linux (LIB2FUNCS_EXTRA): New define.
7043         (fptr.c): Add make rules.
7045 2002-12-04  Geoffrey Keating  <geoffk@apple.com>
7047         * combine.c (combine_simplify_rtx): Add new canonicalizations.
7048         * doc/md.texi (Insn Canonicalizations): Document new
7049         canonicalizations for multiply/add combinations.
7050         * config/rs6000/rs6000.md: Add and modify floating add/multiply
7051         patterns to ensure they're used whenever they can be.
7053 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
7055         * config/h8300/h8300.c: Update the comments related to shifts.
7057 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
7059         * config/mips/mips.md (get_fnaddr): Correct length attribute.
7061 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
7063         * config/h8300/h8300.md (*extzv_8_8): New.
7064         (*extzv_8_16): Likewise.
7066 2002-12-04  Jason Merrill  <jason@redhat.com>
7068         PR c++/8461, c++/8625
7069         * integrate.c (copy_decl_for_inlining): Handle explicit invisible
7070         references.
7071         * tree-inline.c (initialize_inlined_parameters): Likewise.
7073         * tree.c (variably_modified_type_p): Just return an error_mark_node.
7075 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
7077         * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
7078         macro instruction in a branch delay slot, to avoid assembler
7079         warnings.
7081 2002-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
7083         PR c/7622
7084         * c-semantics (genrtl_scope_stmt): Do not output inlined
7085         nested functions that contain no code.
7087 2002-12-04  Jan Hubicka  <jh@suse.cz>
7089         * cfgrtl.c (force_nonfallthru_and_redirect):  Allow abnormal edge
7090         to be forced into nonfallthru.
7092 2002-12-03  Jason Thorpe  <thorpej@wasabisystems.com>
7094         * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
7096 2002-12-03  Aldy Hernandez  <aldyh@redhat.com>
7098         * config/rs6000/spe.md (*movv1di_const0): New pattern.
7100 2002-12-03  Richard Henderson  <rth@redhat.com>
7102         * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
7104 2002-12-03  Hans-Peter Nilsson  <hp@bitrange.com>
7106         * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
7107         Initialize tmp.using_obstack to 0.
7109 2002-12-03  Andreas Schwab  <schwab@suse.de>
7111         * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
7112         (EH_RETURN_STACKADJ_RTX): Define.
7113         (EH_RETURN_HANDLER_RTX): Define.
7114         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7115         * config/m68k/m68k.c (m68k_save_reg): New function.  Handle eh
7116         registers and don't save fixed registers.
7117         (m68k_output_function_prologue): Use it.
7118         (use_return_insn): Likewise.
7119         (m68k_output_function_epilogue): Likewise.
7121 2002-12-03  Kazu Hirata  <kazu@cs.umass.edu>
7123         * config/h8300/h8300.c (single_one_operand): Fix a warning.
7124         (single_zero_operand): Likewise.
7126 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
7128         * config/h8300/h8300.c (dosize): Replace argument op with
7129         sign.
7130         (h8300_output_function_prologue): Update the call to dosize.
7131         (h8300_output_function_epilogue): Likewise.
7133 2002-12-02  Bob Wilson  <bob.wilson@acm.org>
7135         * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
7137 2002-12-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
7139         * configure.in: Use "missing" script to generate warning if
7140         flex or bison programs not found, instead of invoking "false".
7141         * configure: Rebuilt.
7143 2002-12-02  Jan Hubicka  <jh@suse.cz>
7145         * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
7147 2002-12-02  Jan Hubicka  <jh@suse.cz>
7149         * i386.c (ix86_expand_int_movcc):  Avoid overflow.
7151 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
7153         * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
7154         (push): Likewise.
7155         (pop): Likewise.
7156         (h8300_output_function_prologue): Likewise.
7157         (h8300_output_function_epilogue): Likewise.
7159 2002-12-02  J"orn Rennecke <joern.rennecke@superh.com>
7161         * expmed.c (store_bit_field): Use int_mode_for_mode to find
7162         corresponding mode of non-integer mode, unless it is VOIDmode.
7164 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
7166         * config/h8300/h8300.md (stm_h8300s_2): New.
7167         (stm_h8300s_3): Likewise.
7168         (stm_h8300s_4): Likewise.
7169         (five define_peephole2): Likewise.
7171 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
7173         * ra-build.c: Fix a comment typo.
7175 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
7177         * config/h8300/h8300.c (h8300_output_function_prologue):
7178         Remove variable idx.
7179         (h8300_output_function_epilogue): Likewise.
7181 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
7183         * config/frv/xm-frv.h: Delete, unnecessary.
7185 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
7187         * config/h8300/h8300.md: Add comments for define_peephole2.
7189 2002-12-01  Mark Mitchell  <mark@codesourcery.com>
7191         * builtin-types.def (BT_SIZE): Use size_type_node.
7192         * builtins.c (fold_builtin): Make the builtin strlen returns a
7193         size_t, not a sizetype.
7194         * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
7195         c_size_type_node.
7196         (c_alignof_expr): Likewise.
7197         (c_common_nodes_and_builtins): Likewise.
7198         * c-common.h (CTI_C_SIZE_TYPE): Remove.
7199         (c_size_type_node): Likewise.
7200         * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
7201         * tree.h (TI_SIZE_TYPE): New enumeral.
7202         (size_type_node): Likewise.
7204 2002-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7206         * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
7207         pseudo register number plus 1.
7209 2002-11-29  Hans-Peter Nilsson  <hp@bitrange.com>
7211         * cpplib.c (_cpp_test_assertion): Default *value to 0.
7213         * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
7215 2002-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
7217         * config/s390/t-crtstuff: New target makefile fragment.
7218         * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
7220 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
7222         * config/h8300/h8300.md (movsi_h8300hs): Change the order of
7223         alternatives to correct the length when the memory operand is
7224         either pre_dec or post_inc.
7226 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
7228         * config/h8300/h8300.md (an anonymous pattern): Give an
7229         internal name *tst_extzv_bitqi_1_n.
7230         Accept bit_operand instead of bit_memory_operand.
7231         Do not accept bit tests with the MSB.
7232         (*tst_extzv_memqi_1_n): New.
7234 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
7236         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
7237         Fix a comment typo.
7238         (h8300_tiny_constant_address_p): Likewise.
7240 2002-11-28  Michael Matz  <matz@suse.de>
7242         * doc/passes.texi: Mention the other register allocator.
7244 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
7246         * config/h8300/h8300.md (6 new peephole2 patterns): New.
7248 2002-11-28  Jakub Jelinek  <jakub@redhat.com>
7250         * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
7251         * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
7252         * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
7254 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
7256         * config/h8300/h8300.c (h8300_and_costs): New.
7257         * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
7258         * config/h8300/h8300-protos.h: Add a prototype for
7259         h8300_and_costs.
7261 2002-11-27  Zack Weinberg  <zack@codesourcery.com>
7263         * config/rs6000/rs6000.c (altivec_init_builtins): Make the
7264         pointer argument in the prototypes of the following builtins
7265         be (const TYPE *) rather than (TYPE *):
7266          + __builtin_altivec_ld_internal_4sf
7267          + __builtin_altivec_ld_internal_4si
7268          + __builtin_altivec_ld_internal_8hi
7269          + __builtin_altivec_ld_internal_16qi
7270          + __builtin_altivec_lvsl
7271          + __builtin_altivec_lvsr
7272          + __builtin_altivec_lvebx
7273          + __builtin_altivec_lvehx
7274          + __builtin_altivec_lvewx
7275          + __builtin_altivec_lvxl
7276          + __builtin_altivec_lvx
7277          + __builtin_altivec_dst
7278          + __builtin_altivec_dstt
7279          + __builtin_altivec_dstst
7280          + __builtin_altivec_dststt
7282 2002-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7284         * except.c (default_exception_section): Move variable into the
7285         scope where it is used.
7287 2002-11-27  Krister Walfridsson  <cato@df.lth.se>
7289         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
7290         correct version.
7292 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
7294         * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
7296 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
7298         * config/h8300/h8300.c (h8300_shift_costs): New.
7299         * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
7300         * config/h8300/h8300-protos.h: Add a prototype for
7301         h8300_shift_costs.
7303 2002-11-27  Jim Wilson  <wilson@redhat.com>
7305         * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
7306         in output template.
7308 2002-11-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>
7310         * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
7311         * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
7312         DLL_IMPORT_EXPORT_PREFIX, not '@'.
7313         (i386_pe_dllimport_name_p): Likewise.
7314         (i386_pe_mark_dllexport): Likewise.
7315         (i386_pe_mark_dllimport): Likewise.
7316         (i386_pe_encode_section_info): Likewise.
7317         (i386_pe_strip_name_encoding): Likewise.
7319 2002-11-27  Richard Henderson  <rth@redhat.com>
7321         * mkmap-symver.awk (BEGIN): Set sawsymbol false.
7322         (nm && NF == 3): Set sawsymbol true.
7323         (END): Exit if no symbols seen.
7324         (output): Fix map syntax error if no globals for the version.
7326 2002-11-27  Jan Hubicka  <jh@suse.cz>
7328         * builtins.def (DEF_C99_BUILTIN): Fix.
7330 2002-11-26  Andrew Haley  <aph@redhat.com>
7332         * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
7333         from_Unwind_Find_Enclosing_Function.
7334         * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
7335         * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
7336         * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
7337         _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
7338         * unwind.h (_Unwind_FindEnclosingFunction): Add.
7340 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
7342         * config/s390/s390.c (390_output_constant_pool): Set alignment
7343         before label in 64 bit mode, behind otherwise.
7345 2002-11-26  Richard Henderson  <rth@redhat.com>
7347         * c-common.c (handle_visibility_attribute): Accept "default".
7348         * tree.h (enum symbol_visibility): New.
7349         (decl_visibility): Declare.
7350         * target.h (gcc_target.visibility): Take visibility arg as integer.
7351         * varasm.c (default_assemble_visibility): Likewise.
7352         (decl_visibility): New.
7353         (maybe_assemble_visibility): Use it.
7354         * output.h (default_assemble_visibility): Update prototype.
7355         * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
7356         visibility arg as integer.
7357         * doc/extend.texi: Document default visibility.
7359 2002-11-26  Kazu Hirata  <kazu@cs.umass.edu>
7361         * config/h8300/h8300.c: Adjust spacing.
7362         * config/h8300/h8300.h: Likewise.
7364 2002-11-26  Richard Henderson  <rth@redhat.com>
7366         * hooks.c (hook_bool_void_false, hook_void_tree_int,
7367         hook_void_FILEptr_constcharptr): Rename so that the return
7368         type is first.
7369         (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
7370         hook_bool_tree_false): New.
7371         * hooks.h: Update.
7372         * langhooks-def.h: Update for renames.
7373         * target-def.h: Likewise.
7374         * tree.c (default_comp_type_attributes,
7375         default_set_default_type_attributes, default_insert_attributes,
7376         default_function_attribute_inlinable_p,
7377         default_ms_bitfield_layout_p): Remove.
7378         * tree.h: Update.
7380 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7382         * pa-protos.h (function_value): New prototype.
7383         * pa.c (function_value): Use a PARALLEL to return small aggregates on
7384         TARGET_64BIT.
7385         * pa.h (FUNCTION_VALUE): Use function_value.
7386         * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
7387         call_value_internal_reg, sibcall_value_internal_symref,
7388         sibcall_value_internal_symref_64bit): Remove =rf constraint on return
7389         value.
7391 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7393         * expr.c (gen_group_rtx, emit_group_move): New functions.
7394         * expr.h (gen_group_rtx, emit_group_move): Prototype.
7395         * function.c (expand_function_start): Use gen_group_rtx to create a
7396         PARALLEL rtx to hold the return value when the real return rtx is a
7397         PARALLEL.
7398         (expand_function_end): Use emit_group_move to move the return value
7399         from a PARALLEL to the real return registers.
7400         * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
7401         in PARALLELs.
7403 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
7405         * config/t-libc-ok: Fix typo.
7407 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
7409         * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
7410         before AC_PROG_CC.
7411         * configure: Rebuilt.
7413 2002-11-26  Nathan Sidwell  <nathan@codesourcery.com>
7415         * c-decl.c: (start_struct): Commonize flag setting.
7417 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
7419         * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
7420         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
7421         RS6000_CPU_CPP_ENDIAN_BUILTINS.
7422         * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
7424 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
7426         * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
7427         insns.
7428         * config/s390/s390.c (struct machine_function): Introduction of
7429         struct machine_function.
7430         (s390_output_symbolic_const): Use of cfun.
7431         (s390_optimize_prolog): Likewise.
7432         (s390_fixup_clobbered_return_reg): Likewise.
7433         (s390_frame_info): Likewise.
7434         (s390_emit_prologue, s390_emit_epilogue): Likewise.
7435         (s390_init_machine_status): New function.
7436         (override_options): call s390_init_machine_status.
7437         * config/s390/s390-protos.h (s390_output_constant_pool): Changed
7438         prototype.
7440 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
7442         * varasm.c (output_constant_pool): For pool constants in mergeable
7443         section ensure each constant is padded to multiple of entity size.
7445 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
7447         * varasm.c (default_exception_section): Move to...
7448         * except.c (default_exception_section): ... here. Make
7449         .gcc_except_table read-only if it is not expected to have any
7450         dynamic relocations and linker handles it.
7451         * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
7452         if it is not expected to have any dynamic relocations and linker
7453         handles it.
7454         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
7455         when linking read-only and read-write sections together.
7456         * configure, config.in: Rebuilt.
7457         * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
7458         (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
7460 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
7462         * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
7463         new function.
7464         (__ev_create_ufix32_fs): Same.
7465         (__ev_get_sfix32_fs_internal): New.
7466         (__ev_get_sfix32_fs): Define to use function.
7467         (__ev_get_ufix32_fs_internal): New.
7468         (__ev_get_ufix32_fs): Define to use function.
7469         (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
7470         (__ev_get_lower_ufix32_fs): Same.
7471         (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
7472         (__ev_get_lower_sfix32_fs): Same.
7473         (__ev_set_sfix32_fs_internal): New.
7474         (__ev_set_ufix32_fs_internal): New.
7475         (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
7476         (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
7477         (__ev_set_upper_sfix32_fs): Call function.
7478         (__ev_set_lower_sfix32_fs): Same.
7479         (__ev_set_upper_ufix32_fs): Same.
7480         (__ev_set_lower_ufix32_fs): Same.
7482 2002-11-25  Douglas B Rupp  <rupp@gnat.com>
7484         * gcc.c (do_spec_1): Reset delete_this_arg to zero.
7486 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
7488         * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
7489         * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
7490         * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
7491         * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
7492         * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
7493         * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
7494         * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
7495         * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
7496         * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
7497         * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
7498         * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
7499         * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
7500         * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
7501         * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
7502         * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
7503         * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
7504         * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
7505         * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
7506         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
7507         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
7508         * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
7509         * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
7510         * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
7511         * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
7512         defining.
7513         * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
7514         * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
7516 2002-11-25  Dave Pitts  <dpitts@cozx.com>
7518         * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
7520 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
7522         * config/h8300/h8300.md (an anonymous pattern): New.
7524 2002-11-25  Richard Henderson  <rth@redhat.com>
7526         * alias.c (find_base_value): Use new_reg_base_value if it's live.
7527         (copying_arguments): Make boolean.
7529 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
7531         * gcc.c (static_spec_functions): Add if-exists-else spec
7532         function.
7533         (if_exists_else_spec_function): New function.
7534         * doc/invoke.texi: Document the if-exists-else spec function.
7536         * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
7537         "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
7539 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
7541         * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
7542         "netbsd.h netbsd-elf.h" in tm_file.  Set tmake_file to
7543         "${tmake_file} rs6000/t-netbsd".
7544         * config/rs6000/netbsd.h: Rewrite.
7545         * config/rs6000/t-netbsd: New file.
7547 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
7549         * config/h8300/h8300.md (an anonymous pattern): Relax the
7550         condition for the pattern.
7552 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
7554         * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
7555         evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
7556         evmwlssfanw, evmwlsmfanw.
7558         * config/rs6000/rs6000.c (bdesc_2arg): Same.
7560         * config/rs6000/spe.md: Same for patterns.
7562 2002-11-25  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
7564         PR c/8639
7565         * fold-const.c (extract_muldiv): Don't propagate division unless
7566         both arguments are multiples of C.
7568 2002-11-25  Andrew Haley  <aph@redhat.com>
7570         * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
7571         * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
7572         * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
7573         * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
7575 2002-11-24  Kazu Hirata  <kazu@cs.umass.edu>
7577         * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
7578         target help message.
7580 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
7582         * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
7583         extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
7584         crtbeginT.o".
7585         (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
7586         (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
7587         to "" for a.out configurations.
7588         * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
7590 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
7592         * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
7593         NETBSD_CPP_SPEC directly.
7594         (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec.  Add
7595         netbsd_endfile_spec.
7596         (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
7598 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
7600         * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
7601         NETBSD_STARTFILE_SPEC.
7602         (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
7603         (ENDFILE_SPEC): Likewise.
7604         * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
7606 2002-11-24  Andreas Schwab  <schwab@suse.de>
7608         * Makefile.in (install-driver): Remove versioned link before
7609         trying to create it.
7611         * config/m68k/m68k.c: Fix typo in last change defining
7612         TARGET_ASM_CAN_OUTPUT_MI_THUNK.
7614 2002-11-23  Kazu Hirata  <kazu@cs.umass.edu>
7616         * config/h8300/h8300.c (print_operand): Update the use of
7617         h8300_tiny_constant_address_p.
7618         (h8300_adjust_insn_length): Likewise.
7619         (h8300_tiny_constant_address_p): Check if the given rtx is a
7620         variable declared with __attribute__ ((tiny_data)).
7622 2002-11-22  Dale Johannesen  <dalej@apple.com>
7624         * toplev.c (rest_of_compilation):  Fix comments.
7626 2002-11-22  Geoffrey Keating  <geoffk@apple.com>
7628         * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
7629         allow mmap from /dev/zero.  Don't make decisions for the host
7630         based on presence or absence of /dev/zero on the build machine.
7631         (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
7632         (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
7633         * configure: Regenerate.
7635 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
7637         * gcc.c (make_relative_prefix, split_directories)
7638         (free_split_directories): Removed.
7640 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
7642         * configure.in: Set insn=nop for DWARF-2 tests on ARM.
7643         * configure: Regenerated.
7645 2002-11-22  Kazu Hirata  <kazu@cs.umass.edu>
7647         * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
7648         length computation when xor.l is output.
7650 2002-11-21  Jim Wilson  <wilson@redhat.com>
7652         * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
7653         vectors to SI.
7655 2002-11-21  Bob Wilson  <bob.wilson@acm.org>
7657         * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
7658         * config/xtensa/xtensa.c (struct machine_function): Add
7659         incoming_a7_copied flag.
7660         (xtensa_copy_incoming_a7): Define.
7661         (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
7662         * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
7664 2002-11-21  Jan Hubicka  <jH@suse.cz>
7666         * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
7667         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
7668         x86_64_nonmemory_operand, x86_64_movabs_operand,
7669         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
7670         ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
7671         (local_symbolic_operand): Do not care the 64bit limits.
7672         (x86_64_sign_extended_value): Remove allow_rip support.
7673         (legitimate_pic_address_disp_p): Handle all cases allowed
7674         with RIP addressing.
7675         (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
7676         (legitimize_pic_address): Reorganize.
7677         * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
7679 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
7681         * config.gcc (arm*-*-netbsdelf*): Enable configuration.
7682         * config/arm/netbsd-elf.h: New file.
7684 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
7686         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
7687         subtarget_asm_float_spec.
7688         (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
7689         defaults from...
7690         (ASM_SPEC): ...here.  Use subtarget_asm_float_spec.
7692 2002-11-21  Nick Clifton  <nickc@redhat.com>
7694         * config/fr30/fr30.md (movsf_constant_store): Move code to
7695         detect 0.0 into fr30.c.
7696         * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
7697         Prototype.
7698         * config/fr30/fr30.c (fr30_const_double_is_zero): New
7699         function.  Return true if the rtx is 0.0.
7701 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
7703         * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
7704         if -mlittle-endian is specified.
7706 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
7708         PR optimization/2903
7709         * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
7710         (anddi_notsesidi_di): Likewise.
7712 2002-11-21  Kazu Hirata  <kazu@cs.umass.edu>
7714         * config/h8300/h8300.c (print_operand): Use
7715         h8300_eightbit_constant_address_p and
7716         h8300_tiny_constant_address_p.
7717         (h8300_adjust_insn_length): Likewise.
7718         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
7719         (TINY_CONSTANT_ADDRESS_P): Likewise.
7720         (OK_FOR_U): Use eightbit_constant_address_p.
7722 2002-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
7724         * config/s390/libgcc-libc.ver: Add multilib support.
7725         * config/s390/linux.h (MULTILIB_DEFAULT): Define.
7726         * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
7727         MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
7728         EXTRA_MULTILIB_PARTS): Define.
7730 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
7732         * arm.c (arm_get_frame_size): A leaf function does not need its
7733         stack padding to an aligned boundary if it has no frame.
7734         (thumb_get_frame_size): Likewise.
7736 2002-11-20  Steve Ellcey  <sje@cup.hp.com>
7738         * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
7739         to component type using GET_MODE_INNER.
7740         * expr.c (emit_move_insn_1): Ditto.
7741         * optabs.c (expand_binop): Ditto.
7742         (expand_unop): Ditto.
7743         (expand_complex_abs): Ditto.
7745 2002-11-20  Douglas B Rupp  <rupp@gnat.com>
7747         * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
7749 2002-11-20  DJ Delorie  <dj@redhat.com>
7751         * config/stormy16/stormy16.c (s16builtins,
7752         xstormy16_init_builtins, xstormy16_expand_builtin): New.
7753         * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
7755 2002-11-20  Hans-Peter Nilsson  <hp@bitrange.com>
7757         * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
7758         (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
7759         (executing gencheck, genconfigs, genconditions, genflags,
7760         gencodes, genconstants, genemit, genrecog, genopinit, genextract,
7761         genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
7762         gengtype, genprotos): Prepend $(RUN_GEN).
7763         * configure.in: Move host compiler tests before --enable-checking
7764         tests.
7765         (--enable-checking=valgrind): New.
7766         * config.in, configure: Regenerate.
7767         * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
7768         Define as empty.
7769         (read_include_file): When doing the mmap+1 trick,
7770         valgrind-annotate the byte after the mmap:ed area as readable.
7771         (purge_cache): Remove above annotation.
7772         * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
7773         VALGRIND_PATH -q to each command.
7775         * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
7776         Define as empty.
7777         (ggc_realloc): Update valgrind annotations.
7778         * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
7779         Define as empty.
7780         (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
7781         valgrind-annotate memory.
7783 2002-11-20  Ulrich Weigand  <uweigand@de.ibm.com>
7785         * recog.c (constrain_operands): Prefer exact match over reloadable
7786         EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
7788         * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
7789         operands in Pmode.
7791 2002-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
7793         PR c/8518
7794         * c-decl.c (duplicate_decls): Outline the second definition
7795         of an extern inline function in all cases.
7797 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
7799         * stor-layout.c (place_field): Update rli->offset as well as
7800         rli->bitpos.
7802 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
7804         * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
7806 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
7808         * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
7809         into a libcall block.
7810         (divsi3): Likewise divsi3_i4_media.
7812 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
7814         * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
7815         out another register.
7817 2002-11-20  Jakub Jelinek  <jakub@redhat.com>
7819         * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
7820         (not just mask) are set in C.
7822 2002-11-19  Andreas Jaeger  <aj@suse.de>
7824         * loop.c (record_giv): Initialize not_replaceable.
7825         (check_final_value): Likewise.
7827 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
7829         * config/h8300/h8300.c (h8300_init_once): Replace 1 with
7830         MASK_H8300S.
7832 2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
7834         * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
7835         only if -mh or -ms present.
7836         (h8300_eightbit_constant_address_p): Support the normal mode.
7837         (h8300_tiny_constant_address_p): Likewise.
7838         * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
7839         (POINTER_SIZE): Add 16 bit pointer for the normal mode.
7840         (Pmode): Evaluate to HImode for the normal mode.
7841         (SIZE_TYPE): Evaluate to unsigned int for normal mode.
7842         (PTRDIFF_TYPE): Evaluate to int for the normal mode.
7843         (ASM_WORD_OP): Evaluate to word for the normal mode.
7844         * config/h8300/h8300.md (tablejump_normal_mode): New.
7845         (indirect_jump_normal_mode): New.
7846         * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
7847         directory.
7848         (MULTILIB_DIRNAMES): Create target dependent directory
7849         'normal'.
7850         (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
7851         * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
7853 2002-11-19  Jan Hubicka  <jh@suse.cz>
7855         * i386.md (length_immediate): Do not refer to insn address.
7856         (jcc*, jmp patterns):  Compute length explicitly.
7858 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
7860         PR c/8588
7861         * optabs.c (expand_binop): Convert CONST_INTs in shift
7862         operations too.
7864 2002-11-19  Roger Sayle  <roger@eyesopen.com>
7866         * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
7868 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
7870         * config/h8300/h8300.md (an anonymous pattern): Relax the
7871         condition to accept the same operands and/or subregs.
7873 2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
7875         * config/sh/sh.c (gen_shl_and): Revert previous patch.
7876         * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
7877         reload_completed.
7879 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
7881         * config/h8300/h8300.c (print_operand): Update the use of
7882         EIGHTBIT_CONSTANT_ADDRESS_P.
7883         (h8300_adjust_insn_length): Likewise.
7884         (h8300_eightbit_constant_address_p): Check if the given rtx is
7885         a variable with __attribute__((eightbit_data)).
7886         * config/h8300/h8300.h (OK_FOR_U): Update the use of
7887         EIGHTBIT_CONSTANT_ADDRESS_P.
7889 2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7891         * doc/contrib.texi (Contributors): Add self as second contact in
7892         addition to Jeff Law.
7894 2002-11-19  Andreas Jaeger  <aj@suse.de>
7896         * tree-inline.c: Move prototpyes of find_alloca_call_1 and
7897         find_alloca_call to right place.
7899 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
7901         * cppfiles.c: Fix formatting.
7903 2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
7905         * gcc.c (The Specs Language): Document spec functions.
7906         (static_spec_functions, lookup_spec_function)
7907         (eval_spec_function, handle_spec_function)
7908         (if_exists_spec_function, alloc_args): New.
7909         (execute): Abort if processing_spec_function is true.
7910         (do_spec_1): Hand off spec to handle_spec_function if %:
7911         is encountered.  If processing_spec_function is true,
7912         end any pending argument when the end of the string is reached.
7913         (main): Use alloc_args to allocate the initial argument vector.
7914         * gcc.h (struct spec_function): New.
7915         (lang_specific_spec_functions): New extern.
7917         * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
7918         (ENDFILE_SPEC): Add if-exists(crtn%O%s).
7919         * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
7921         * doc/invoke.texi: Document spec functions.
7923         * cppspec.c (lang_specific_spec_functions): New.
7924         * gccspec.c: Likewise.
7926 2002-11-18  Steve Ellcey  <sje@cup.hp.com>
7928         * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
7929         (FIXUNS_TRUNCTFDI2_LIBCALL): New.
7930         (fixunstfsi_libfunc): Change.
7931         (fixunstfdi_libfunc): Change.
7932         (sdiv_optab): Don't zero out SImode handler.
7933         (udiv_optab): Don't zero out SImode handler.
7934         (smod_optab): Don't zero out SImode handler.
7935         (umod_optab): Don't zero out SImode handler.
7937 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
7939         PR preprocessor/8524
7940         * cpplib.c (run_directive): Remove previous kludge to _Pragma.
7941         Add a new one in its place, which hopefully works.
7942         (skip_rest_of_line): Change test for bottom-of-context-stack.
7944 2002-11-18  Jan Hubicka  <jh@suse.cz>
7946         * i386.md (addqi_1_slp): Fix output template.
7947         (subqi_1_slp): Fix type.
7949 2002-11-17  Jan Hubicka  <jh@suse.cz>
7951         * calls.c (alloca_call_p): New global function.
7952         * tree.h (alloca_call_p): New.
7953         * tree-inline.c (inlinable_function_p):  Do not inline when
7954         function calls alloca.
7955         (find_alloca_call, find_alloca_call_1): New functions.
7957 2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
7959         * config/h8300/h8300.md (*andorqi3): Use bor between bld and
7960         bst.  Update the insn length.
7961         (*andorhi3): Likewise.
7962         (*andorsi3): Likewise.
7964 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
7966         * config/sh/sh-protos.h (sh_mark_label): Declare.
7967         * config/sh/sh.c (sh_mark_label): New function, taken from
7968         movdi_const, but fixing the case when the address has an addend.
7969         * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
7971 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
7973         * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
7974         (add_constant): Set it.
7975         (dump_table): Don't reorder a constant if part_of_sequence_p.
7976         (machine_dependent_reorg): Assume that float constants will
7977         stay in their original order if used as a sequence.
7979 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
7981         * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
7982         in compact code.
7984 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
7986         * config/sh/sh.md (initialize_trampoline): Do not force the
7987         trampoline address into R0_REGS here.
7989 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
7991         * df.c: Fix formatting.
7993 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
7995         * config/h8300/h8300.md (two anonymous patterns): Fix insn
7996         lengths.
7998 2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
8000         * sh.c (gen_shl_and): Don't create a zero_extend if the operand
8001         is not an arith_reg_operand.
8003 2002-11-17  Graham Stott  <graham.stott@btinternet.com>
8005         * real.c (real_to_decimal): Fix buffer overrun when buffer size
8006         is smaller than representation.
8008 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
8010         * builtins.c: Fix formatting.
8012 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8014         * config/h8300/h8300.md (two anonymous patterns): Fix typos.
8016 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8018         * config/h8300/h8300.md: Fix formatting.
8020 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8022         * config/h8300/h8300.md: Replace spaces with tabs.
8023         * config/h8300/t-h8300: Remove a trailing empty line.
8025 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8027         * tlink.c: Fix formatting.
8029 2002-11-16  David Edelsohn  <edelsohn@gnu.org>
8031         PR 8362
8032         * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
8033         * config/rs6000/rs6000.md (movti_string): Remove output modifier
8034         when scratch register never needed.
8035         (ldmsi[3-8]): New patterns.
8037 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8039         * hard-reg-set.h: Follow spelling conventions.
8040         * real.c: Likewise.
8041         * target.h: Likewise.
8043 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
8045         * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
8047 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
8049         * optabs.c: Fix formatting.
8051 2002-11-16  Jan Hubicka  <jh@suse.cz>
8053         * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
8054         * i386.md (attribute type): Add type shift1 and rotate1.
8055         (*_slp): Rewrite to have just two operands to avoid reload problems.
8057 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
8059         * config/h8300/h8300.md (4 anonymous patterns): New.
8061 2002-11-15  Geoffrey Keating  <geoffk@apple.com>
8063         * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
8064         * doc/invoke.texi: Correct description of what needs to be done to
8065         force collection at every ggc_collect call.
8067 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
8069         * config/s390/s390.c (optimization_options): Set
8070         flag_asynchronous_unwind_tables to 1 by default.
8072 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
8074         * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8076 2002-11-15  Jan Hubicka  <jh@suse.cz>
8078         * i386-protos.h (x86_function_profiler): New function
8079         * i386.h (MCOUNT_NAME): New.
8080         (PROFILE_COUNT_REGISTER): New.
8081         (FUNCTION_PROFILER): Move offline to ...
8082         * i386.c (x86_function_profiler) ... here; fix 64bit support
8083         * beos-elf.h (FUNCTION_PROFILER): Kill.
8084         (MCOUNT_NAME): New.
8085         * freebsd-aout.h (FUNCTION_PROFILER): Kill.
8086         (MCOUNT_NAME): New.
8087         (PROFILE_COUNT_REGISTER): New.
8088         * linux.h (FUNCTION_PROFILER): Kill.
8089         (MCOUNT_NAME): New.
8090         * x86-64.h (FUNCTION_PROFILER): Kill.
8091         (MCOUNT_NAME): New.
8092         * freebsd.h (FUNCTION_PROFILER): Kill.
8093         (MCOUNT_NAME): New.
8095 2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
8097         * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
8098         FUNCTION_ARG_PASS_BY_REFERENCE): Define.
8099         * config/arm/arm.c (arm_va_arg,
8100         arm_function_arg_pass_by_reference): New.
8101         * config/arm/arm-protos.h: Add prototypes.
8103 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
8105         * gthr-single.h: Fix formatting.
8107 2002-11-14  Zack Weinberg  <zack@codesourcery.com>
8109         * tree.c (tree_vec_elt_check_failed): New function.
8110         * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
8111         (TREE_VEC_ELT): Use it.
8113         * tree-inline.c (optimize_inline_calls): Don't copy a
8114         zero-length vector.
8116 2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
8118         * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
8120 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
8122         * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
8123         both operands contain local relocations.
8124         (categorize_decl_for_section): Don't use mergeable sections if
8125         initializer has any relocations.
8127 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
8129         * gthr-vxworks.h: Fix formatting.
8131 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
8133         * doc/install.texi (Testing): Document extra Java testing.
8134         * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
8136 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8138         * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
8139         beginning of the spec.
8140         (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
8141         (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
8142         regarding problems with global constructors when using GNU ld.
8144 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
8146         * gthr-solaris.h: Fix formatting.
8148 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
8150         * gthr-posix.h: Fix formatting.
8152 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
8154         * config/h8300/h8300.md (*andorsi3): New.
8156 2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8158         * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
8160 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
8162         * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
8163         expressions appropriately.
8165 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
8167         * gthr-win32.h: Fix formatting.
8169 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
8171         * config/h8300/h8300.c (single_one_operand): Correctly compute
8172         mask when mode is SImode.
8173         (single_zero_operand): Likewise.
8174         * config/h8300/h8300.md (two new anonymous insns): New.
8176 2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8178         * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
8179         to that entire project.
8181 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8183         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
8184         directories.
8186 2002-11-11  Zack Weinberg  <zack@codesourcery.com>
8188         * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
8189         * doc/invoke.texi: Document them.
8191         * ggc-page.c: Include params.h.  Remove definitions of
8192         GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
8193         GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
8194         (init_gcc): Don't set G.allocated_last_gc here.
8195         (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
8196         PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
8197         perform collection.
8198         * ggc-simple.c: Similarly.
8199         * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
8200         dependencies.
8202 2002-11-11  Kazu Hirata  <kazu@cs.umass.edu>
8204         * gthr-dce.h: Fix formatting.
8206 2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8208         PR c/8467
8209         * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
8210         mode of DECL_RTL case.
8212 2002-11-11  Janis Johnson  <janis187@us.ibm.com>
8214         * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
8216 2002-11-11  Jan Hubicka  <jh@suse.cz>
8218         * i386.c (construct_container): Fix handling of SSE_CLASS.
8220 2002-11-10  Joel Sherrill <joel@gcc.gnu.org>
8222         * config/m68k/t-crtstuff (crti.o): Use this...
8223         ($(T)crti.o): ... instead.
8224         (crtn.o): Use this...
8225         ($(T)crtn.o): ... instead.
8227 2002-11-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
8229         PR c/8439
8230         * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
8231         if there is something new to be simplified.
8233 2002-11-10  H.J. Lu <hjl@gnu.org>
8235         * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
8236         * expr.c (PUSH_ARGS_REVERSED): Likewise.
8238         * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
8240 2002-11-10  Zack Weinberg  <zack@codesourcery.com>
8242         * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
8243         * config/rs6000/linux.h, config/rs6000/linux64.h,
8244         config/rs6000/windiss.h: ... not here.
8246 2002-11-10  Jason Thorpe  <thorpej@wasabisystems.com>
8248         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
8249         __ABICALLS__ if TARGET_ABICALLS.
8251 2002-11-10  Jan Hubicka  <jh@suse.cz>
8253         * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
8255 2002-11-10  Joseph S. Myers  <jsm@polyomino.org.uk>
8257         * c-decl.c (grokdeclarator): Make error for duplicate type
8258         qualifiers into a pedwarn, disabled for C99.
8260 2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
8262         * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
8263         as FUNCTION_ARG_PASS_BY_REFERENCE.
8265 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8267         * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
8269         * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
8270         (hppa*64*-*-hpux11*): Likewise.  Use elfos.h with gas.
8271         * pa.c (output_millicode_call): Use symbol difference rather than
8272         $PIC_pcrel$0 when using HP assembler.
8273         * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
8274         not elfos.h (i.e., gas) is being used.
8275         (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
8276         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
8277         ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
8278         ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
8279         ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
8280         using elfos.h.
8281         (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
8282         (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
8283         (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
8284         using elfos.h.
8285         (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8286         BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
8287         (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
8288         Don't define when not using elfos.h.
8289         (ASM_DECLARE_RESULT): Don't define.
8290         * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
8291         doesn't work on hppa64-hp-hpux11.
8292         (hppa*-hp-hpux11): Update.
8294 2002-11-09  Jason Thorpe  <thorpej@wasabisystems.com>
8296         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
8297         to the assembler if -mno-abicalls was specified.
8299 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8301         * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
8302         ASM_OUTPUT_DEF): Delete.
8304 2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
8306         * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
8308 2002-11-08  Dale Johannesen  <dalej@apple.com>
8310         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
8312 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
8314         PR preprocessor/8497
8315         PR preprocessor/8501
8316         * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
8317         start a directive.  In assembler, #NUM is not a line directive.
8319 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
8321         * cppmain.c (cpp_preprocess_file): Loop to pop any -included
8322         buffers.
8324 2002-11-08  Kazu Hirata  <kazu@cs.umass.edu>
8326         * config/h8300/h8300.md (two anonymous test insns): New.
8328 2002-11-08  Jan Hubicka  <jh@suse.cz>
8330         * jump.c (mark_jump_label): Handle subregs of label_refs.
8332 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
8334         * config/ia64/crtend.asm: Include "auto-host.h".
8335         [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
8336         * config/ia64/crtbegin.asm: Similarly.
8337         * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
8338         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
8340         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
8341         * configure.in: Use it if --enable-initfini-array not specified.
8342         * doc/install.texi (Configuration): Document --enable-initfini-array.
8343         * configure, config.in: Rebuild.
8345 2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>
8347         * config/arm/arm-protos.h (arm_get_frame_size)
8348         (thumb_get_frame_size): New prototypes.
8349         * config/arm/arm.c (arm_get_frame_size)
8350         (thumb_get_frame_size): New functions.
8351         (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
8352         (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
8353         arm_get_frame_size.
8354         (thumb_expand_prologue, thumb_expand_epilogue): Use
8355         thumb_get_frame_size.
8356         * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
8357         (machine_function): Add frame_size member.
8358         (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
8360 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
8362         * arm.c (bit_count): Make argument unsigned long.  Return unsigned.
8363         Adjust code to use portable unsigned bit manipulation.
8364         (insn_flags, tune_flags): Change type to unsigned.
8365         (struct processors): Make flags unsigned long.
8366         (arm_override_options): Change type of count and current_bit_count
8367         to unsigned.
8369 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
8371         * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
8373 2002-11-07  J"orn Rennecke <joern.rennecke@superh.com>
8375         * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
8377 2002-11-07  Jan Hubicka  <jh@suse.cz>
8379         * reg-stack.c (compensate_edge): Fix sanity check.
8381 2002-11-05  Geoffrey Keating  <geoffk@apple.com>
8383         * config.gcc: Don't create crtbegin, crtend on Darwin; do create
8384         crt2.o.  Rearrange t-darwin makefiles.
8385         * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
8386         * unwind-dw2-fde-darwin.c: New.
8387         * unwind-dw2-fde-glibc.c: Correct comment.
8388         * unwind-dw2-fde.c (__register_frame_info_bases)
8389         [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
8390         (classify_object_over_fdes): Use last_fde.
8391         (add_fdes): Likewise.
8392         (linear_search_fdes): Likewise.
8393         * unwind-dw2-fde.h (struct object)
8394         [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
8395         (last_fde): New.
8396         * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
8397         (ENDFILE_SPEC): No crtend.o.
8398         * config/t-darwin: New.
8399         * config/i386/t-darwin: Delete.
8400         * config/darwin-crt2.c: New.
8401         * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
8402         or config/t-darwin.
8404 2002-11-06  David Edelsohn  <edelsohn@gnu.org>
8406         PR target/8480
8407         * config/rs6000/rs6000.md (movdi_internal64): Discourage
8408         FPR to FPR moves.
8410 2002-11-06  Janis Johnson  <janis187@us.ibm.com>
8412         * doc/contrib.texi: Merge in the list from the Java web pages.
8414 2002-11-06  David O'Brien  <obrien@FreeBSD.org>
8416         * config/sparc/freebsd: Fix typo.
8418 2002-11-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8420         * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
8422 2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
8424         * config/mips/mips.md (call_value_multiple_internal2): Use dla for
8425         non-SImode addresses.
8427 2002-11-05  Bob Wilson  <bob.wilson@acm.org>
8429         * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
8431 2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
8433         * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
8434         (STARTFILE_SPEC): Remove p and pg options.
8436 2002-11-05  Andrew Haley  <aph@redhat.com>
8438         * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
8439         to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
8441 2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
8443         * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
8444         * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
8446 2002-11-04  Dale Johannesen  <dalej@apple.com>
8448         * doloop.c (doloop_modify_runtime):  Fix loop count computation
8449         for unrolled loops.
8450         * loop.c (loop_invariant_p):  Support calling from unroller.
8452 2002-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
8454         * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
8455         for comparison.
8457 2002-11-04  Aldy Hernandez  <aldyh@redhat.com>
8459         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
8461         * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
8462         (CLASS_CANNOT_CHANGE_MODE): Remove.
8463         (CANNOT_CHANGE_MODE_CLASS): New.
8465         * config/alpha/alpha.h: Same.
8467         * config/ia64/ia64.h: Same.
8469         * config/mips/mips.h: Same.
8471         * config/s390/s390.h: Same.
8473         * config/sh/sh.h: Same.
8475         * config/pa/pa64-regs.h: Same.
8477         * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
8479         * config/sh/sh.c (sh_cannot_change_mode_class): New.
8481         * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
8482         prototype.
8484         * config/mips/mips.c (mips_cannot_change_mode_class): New.
8486         * doc/tm.texi (Register Classes): Remove
8487         CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
8488         Document CANNOT_CHANGE_MODE_CLASS.
8490         * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
8491         (push_reload): Same.
8493         * simplify-rtx.c (simplify_subreg): Same.
8495         * reload1.c (choose_reload_regs): Same.
8497         * recog.c (register_operand): Same.
8499         * regrename.c (mode_change_ok): Change to use new
8500         CANNOT_CHANGE_MODE_CLASS infrastructure.
8502         * regclass.c (cannot_change_mode_set_regs): New.
8503         Declare subregs_of_mode.
8504         (regclass): Use subregs_of_mode.
8505         Remove references to reg_changes_mode.
8506         (init_reg_sets_1): Remove class_can_change_mode and
8507         reg_changes_mode code.
8508         (invalid_mode_change_p): New.
8509         (dump_regclass): Use invalid_mode_change_p instead of
8510         class_can_change_mode.
8511         (regclass): Same.
8512         (record_operand_costs): Do not set reg_changes_mode.
8514         * local-alloc.c (struct qty): Remove changes_mode field.
8515         (alloc_qty): Remove changes_mode initialization.
8516         (update_qty_class): Remove set of changes_mode.
8517         (find_free_reg): Use subregs_of_mode.
8519         * global.c (find_reg): Use subregs_of_mode info.
8521         * rtl.h (cannot_change_mode_set_regs): New prototype.
8522         (invalid_mode_change_p): Same.
8523         (REG_CANNOT_CHANGE_MODE_P): New macro.
8525         * flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
8526         REG_CHANGES_MODE.
8527         (life_analysis): Clear subregs_of_mode.
8529         * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
8530         Remove use of CLASS_CANNOT_CHANGE_MODE.
8531         (simplify_set): Same.
8532         (gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
8533         REG_CHANGES_MODE.
8535         * regs.h: Add extern for subregs_of_mode;
8536         Include hard-reg-set and basic-block.
8537         (REG_CHANGES_MODE): Delete.
8539 2002-11-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8541         * jump.c (never_reached_warning): Don't set contains_insn until the
8542         first line note is seen.
8544 2002-11-03  David Edelsohn  <edelsohn@gnu.org>
8546         * config/rs6000/rs6000.md (movti_string): Use string instructions.
8548 2002-11-03  Roger Sayle  <roger@eyesopen.com>
8550         PR c/7128
8551         * c-typeck.c (c_expand_asm_operands): Defend against
8552         error_mark_nodes in the output argument to avoid ICE.
8554 2002-11-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
8556         PR middle-end/8408
8557         * genrecog.c (preds): Handle ADDRESSOF.
8558         (validate_pattern): Mark it as an lvalue.
8560 2002-11-02  David Edelsohn  <edelsohn@gnu.org>
8562         * config/rs6000/rs6000.c (rs6000_override_options): Use string
8563         instructions when optimizing for size.
8565 2002-11-02  Kazu Hirata  <kazu@cs.umass.edu>
8567         * config/h8300/h8300.h: Fix comment typos.
8568         * config/h8300/h8300.md: Likewise.
8569         * config/h8300/lib1funcs.asm: Likewise.
8571 2002-11-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8573         Revert this change:
8575         *doc/install.texi (Installing GCC: Configuration): Clarify
8576         the only supported ways to configure gcc.
8578 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
8580         * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
8581         instead of 'O' for the constraint for the second operand.
8583 2002-11-01  Mark Mitchell  <mark@codesourcery.com>
8585         PR c++/8391
8586         * toplev.c (rest_of_compilation): Do not refuse to output code for
8587         an inline function in a local class.
8589 2002-11-01  David O'Brien  <obrien@FreeBSD.org>
8591         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
8592         (TRANSFER_FROM_TRAMPOLINE): Reformat.
8593         Add comment.
8595 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
8597         * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
8599 2002-11-01  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
8601         * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
8603 2002-11-01  Steve Ellcey  <sje@cup.hp.com>
8605         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
8606         (MASK_INLINE_DIV_THR): Remove.
8607         (TARGET_INLINE_DIV_LAT): Remove.
8608         (TARGET_INLINE_DIV_THR): Remove.
8609         (TARGET_INLINE_DIV): Remove.
8610         (MASK_INLINE_FLOAT_DIV_LAT): New macro.
8611         (MASK_INLINE_FLOAT_DIV_THR): New macro.
8612         (MASK_INLINE_INT_DIV_LAT): New macro.
8613         (MASK_INLINE_INT_DIV_THR): New macro.
8614         (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
8615         (TARGET_INLINE_FLOAT_DIV_THR): New macro.
8616         (TARGET_INLINE_INT_DIV_LAT): New macro.
8617         (TARGET_INLINE_INT_DIV_THR): New macro.
8618         (TARGET_INLINE_FLOAT_DIV): New macro.
8619         (TARGET_INLINE_INT_DIV): New macro.
8620         * config/ia64/ia64.md (divsi3): Change to use new macros.
8621         (modsi3): Ditto.
8622         (udivsi3): Ditto.
8623         (umodsi3): Ditto.
8624         (divsi3_internal): Ditto.
8625         (divdi3): Ditto.
8626         (moddi3): Ditto.
8627         (udivdi3): Ditto.
8628         (umoddi3): Ditto.
8629         (divdi3_internal_lat): Ditto.
8630         (divdi3_internal_thr): Ditto.
8631         (divsf3): Ditto.
8632         (divsf3_internal_lat): Ditto.
8633         (divsf3_internal_thr): Ditto.
8634         (divdf3): Ditto.
8635         (divdf3_internal_lat): Ditto.
8636         (divdf3_internal_thr): Ditto.
8637         (divtf3): Ditto.
8638         (divtf3_internal_lat): Ditto.
8639         (divtf3_internal_thr): Ditto.
8640         * config/ia64/ia64.c (ia64_override_options): Change
8641         to check new macros for conflicts in settings.
8642         * doc/invoke.texi (-minline-divide-min-latency): Remove.
8643         (-minline-divide-max-throughput): Remove.
8644         (-minline-float-divide-min-latency): New.
8645         (-minline-float-divide-max-throughput): New.
8646         (-minline-int-divide-min-latency): New.
8647         (-minline-int-divide-max-throughput): New.
8649 2002-11-01  Richard Earnshaw  (rearnsha@arm.com)
8651         PR target/7856
8652         * arm.c (use_return_insn): Don't use a return insn if there are
8653         saved integer regs, but LR is not one of them.
8655 2002-11-01  Jan Hubicka  <jh@suse.cz>
8657         * expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
8658         * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
8660 2002-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
8662         PR optimization/6162
8663         * doc/md.texi: Document restriction on commutative operand
8664         specification.
8666 2002-10-31  Eric Christopher  <echristo@redhat.com>
8668         * explow.c (convert_memory_address): Use shallow_copy_rtx.
8670 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
8672         * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
8674 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
8676         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
8678 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
8680         * config/rs6000/darwin.h:  Correct formatting in previous.
8682 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
8684         * config/rs6000/darwin.h:  Enable -falign-xxx options.
8686 2002-10-31  Jan Hubicka  <jh@suse.cz>
8688         * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
8689         flag_asynchronous_unwind_tables, flag_pcc_struct_return.
8690         * i386.c (optimization_options): Set flag_omit_frame_pointer,
8691         flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
8692         Do not clear -momit-leaf-frame-pointer when profiling.
8693         (ix86_frame_pointer_required): Frame pointer is always required when
8694         profiling.
8696 2002-10-31  Jan Hubicka  <jh@suse.cz>
8698         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
8700 2002-10-31  J"orn Rennecke <joern.rennecke@superh.com>
8702         * sh.h (binary_logical_operator): Declare.
8703         * sh.c (binary_logical_operator): New function.
8704         * sh.md (xordi3+1): New combiner splitter pattern.
8706 2002-10-31  David O'Brien  <obrien@FreeBSD.org>
8708         * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
8709         __enable_execute_stack function.
8711 2002-10-30  Aldy Hernandez  <aldyh@redhat.com>
8713         * c-common.c: Add GTY to vector_type_node_list.
8715 2002-10-30  John David Anglin  <dave@hiauly.hia.nrc.ca>
8717         * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
8718         * pa-protos.h (attr_length_millicode_call, attr_length_call,
8719         pa_init_machine_status): Declare new global functions.
8720         * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
8721         implement new functions.
8722         (attr_length_millicode_call, attr_length_call): Implement.
8723         (total_code_bytes): Change type to long.
8724         (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
8725         Reset counter if flag_function_sections.
8726         (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
8727         (output_cbranch): Move call to gen_label_rtx.
8728         (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
8729         delay slot in all variants, shorten pc-relative calls.
8730         (output_call): Rewrite adding long TARGET_64BIT call, improved delay
8731         slot usage and exposure, various new call variants, and shortened
8732         sequences for some variants on TARGET_PA_20.
8733         Miscellaneous format changes.
8734         * pa.h (total_code_bytes): Change type to long.
8735         (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
8736         TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
8737         (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
8738         (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
8739         LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
8740         stores on TARGET_ELF32.
8741         *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
8742         (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
8743         canonicalize_funcptr_for_compare expanders): Calculate attribute length
8744         attr_length_millicode_call().
8745         (call_internal_symref, call_value_internal_symref): Clobber register 1.
8746         Calculate attribute length using attr_length_call().
8747         (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
8748         to delay slot.
8749         (sibcall, sibcall_value): Rewrite.
8750         (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
8751         register 1.  Use attr_length_call().
8752         (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
8753         New patterns.
8754         (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
8755         * som.h (MEMBER_TYPE_FORCES_BLK): Define.
8756         * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
8757         * doc/invoke.texi (mlong-calls): Document.
8759 2002-10-30  Roger Sayle  <roger@eyesopen.com>
8761         * fold-const.c (fold_binary_op_with_conditional_arg):  Improve
8762         handling of cases where one or both branches of the conditional
8763         have void type, i.e. throw an exception or don't return.
8764         (fold): Only apply (and undo) type conversion to the non-void
8765         branches of a COND_EXPR.
8767 2002-10-30  Mark Mitchell  <mark@codesourcery.com>
8769         PR c++/8333
8770         * varasm.c (asm_output_aligned_bss): Do not call
8771         ASM_GLOBALIZE_LABEL.
8773 2002-10-30  David Edelsohn  <edelsohn@gnu.org>
8774             Torbjorn Granlund  <tege@swox.com>
8776         * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
8777         for addressibility.
8778         (load_toc_v4_PIC_1b): Same.
8780 2002-10-30  Kazu Hirata  <kazu@cs.umass.edu>
8782         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
8783         Truncate the addresses for H8/300 using HImode.
8785 2002-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
8787         * toplev.c (rest_of_type_compilation): Return early in case of
8788         errors.
8789         (check_global_declarations): Don't call debug_hooks->global_decl
8790         in case of errors.
8792 2002-10-28  Andreas Bauer  <baueran@in.tum.de>
8794         * doc/c-tree.texi (Tree overview): Fix typos.
8796 2002-10-29  Phil Edwards  <pme@gcc.gnu.org>
8798         * Makefile.in (gnucompare*):  Only record bad comparisons
8799         if there really was a bad comparison.
8801 2002-10-29  Jan Hubicka  <jh@suse.cz>
8803         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
8804         * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
8805         * md.texi (machine dependent constraints): Document 'C'
8807         * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
8809         * i386.c (ix86_expand_vector_move): Fix.
8811         * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
8812         * i386.md (sse2_maskmovdqu_rex64): New pattern
8814         PR target/8322
8815         * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
8816         (ix86_init_mmx_sse_builtins): Fix type.
8818 2002-10-29  Jason Thorpe  <thorpej@wasabisystems.com>
8820         * gthr-posix.h: Include <unistd.h> for feature tests.
8821         (sched_get_priority_max, sched_get_priority_min)
8822         (pthread_getschedparam, pthread_setschedparam): Only use
8823         if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
8824         (__gthread_objc_thread_set_priority): Don't treat all non-zero
8825         returns from sched_get_priority_max and sched_get_priority_min
8826         as an error.
8828 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
8830         * config/h8300/h8300.h (TARGET_DEFAULT): Make it
8831         MASK_QUICKCALL.
8833 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
8835         * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
8836         (h8300_tiny_constant_address_p): Likewise.
8837         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
8838         h8300_eightbit_constant_address_p.
8839         (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
8840         * config/h8300/h8300-protos.h: Add the prototypes for the two
8841         new functions.
8843 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
8845         * reload1.c (update_eliminables): Unconditionally check if
8846         frame_pointer_needed has changed.
8848 2002-10-29  Jan Hubicka  <jh@suse.cz>
8850         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
8851         before final pass.
8853 2002-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
8855         PR optimization/8334
8856         * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
8857         check for zero operands explicitly.
8859 2002-10-29  Richard Sandiford  <rsandifo@redhat.com>
8861         * config/mips/mips.md (extv, extzv, insv): Set size of referenced
8862         memory after adjusting to BLKmode.
8864 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
8866         * config/h8300/h8300.h (MASK_*): New.
8867         (TARGET_*): Use MASK_*.
8869 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
8871         * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
8872         tm_defines if pthreads are enabled.
8873         * config/netbsd.h (LIB_SPEC): Only support the -pthread option
8874         if NETBSD_ENABLE_PTHREADS is defined.
8876 2002-10-28  Kazu Hirata  <kazu@cs.umass.edu>
8878         * ChangeLog.1: Fix typos.
8879         * cse.c: Fix a comment typo.
8880         * reload1.c: Likewise.
8882 2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
8884         * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
8885         * fixinc/tests/base/_G_config.h: New file.
8887 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
8889         * combine.c: Fix comment formatting.
8890         * loop.c: Likewise.
8891         * real.c: Likewise.
8892         * regclass.c: Likewise.
8893         * regmove.c: Likewise.
8894         * regrename.c: Likewise.
8895         * reg-stack.c: Likewise.
8896         * reload1.c: Likewise.
8897         * reload.c: Likewise.
8898         * reload.h: Likewise.
8899         * unroll.c: Likewise.
8901 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
8903         * reload1.c (reload): Fix a comment typo.
8905 2002-10-27  Jan Hubicka  <jh@suse.cz>
8907         * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
8909 2002-10-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8911         * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
8912         * dwarf2out.c: Include hashtab.h.
8913         (is_main_source): New static variable.
8914         (attr_checksum, die_checksum): Modified to handle die references.
8915         (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
8916         unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
8917         record_comdat_symbol_number): New static functions.
8918         (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
8919         mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
8920         * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
8921         declarations added.
8923 2002-10-26  Kazu Hirata  <kazu@cs.umass.edu>
8925         * config/h8300/h8300.c (initial_offset): Change to
8926         h8300_initial_elimination_offset.
8927         * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
8928         h8300_initial_elimination_offset.
8929         * config/h8300/h8300-protos.h: Update the prototype.
8931 2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
8933         * config/mmix/mmix.h (LIBCALL_VALUE): Use
8934         MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
8935         (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
8936         * config/mmix/mmix.c (mmix_function_value_regno_p): New.
8937         * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
8938         and RTX_CODE.
8939         (mmix_function_value_regno_p): Declare.
8941         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
8942         invalid for floating point mode result, with fix.
8944 2002-10-25  Mike Stump  <mrs@apple.com>
8946         Fixes gcc.dg/warn-1.c.
8947         * c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
8949 2002-10-26  Jan Hubicka  <jh@suse.cz>
8951         * toplev.c (dump_file_index): Add DFI_ce3.
8952         (dump_file_info): Likewise.
8953         (rest_of_compilation): Run first ifcvt pass before tracer.
8955 2002-10-25  Steve Ellcey  <sje@cup.hp.com>
8957         * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
8959 2002-10-25  Richard Henderson  <rth@redhat.com>
8961         * real.c (real_to_decimal): If the >1 tens reduction loop results
8962         in a negative exponent, fall into the <1 pten computation.
8964 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
8966         PR middle-end/6994
8967         * c-objc-common.c (inline_forbidden_p): Can not inline
8968         functions containing structures or unions containing VLAs.
8969         * tree-inline.c (walk_tree): For all class 't' nodes, walk
8970         TYPE_SIZE and TYPE_SIZE_UNIT.
8971         (copy_tree_r): Copy types if they are variably modified.
8973 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
8975         * config/s390/s390.md: Remove old-style peepholes.
8977 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
8979         * config/s390/s390.c (s390_decompose_address): Do not range check the
8980         displacement if base or index is the argument pointer register.
8982 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
8984         PR other/3337
8985         PR bootstrap/6763
8986         PR bootstrap/8122
8987         * fixinc/inclhack.def (libc1_G_va_list): New fix.
8988         * fixinc/fixincl.x: Regenerate.
8989         * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
8990         ifndef IN_LIBGCC2.  Wrap it together with signal.h and
8991         sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
8992         * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
8993         * config.in, configure: Regenerate.
8995 2002-10-24  Igor Shevlyakov <igor@microunity.com>
8997         * varasm.c (struct rtx_const): Array size 16 for V16QImode.
8999 2002-10-24  Richard Henderson  <rth@redhat.com>
9001         * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
9003 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
9005         * config/h8300/h8300.c (initial_offset): Simplify by using
9006         round_frame_size.
9008 2002-10-24  Marek Michalkiewicz  <marekm@amelek.gda.pl>
9010         * doc/install.texi (avr): Update required binutils version.
9012 2002-10-24  Theodore A. Roth  <troth@openavr.org>
9014         * doc/install.texi: Point avr users at more up-to-date information.
9016 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
9018         * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
9019         to pull operands out of the literal pool where possible.
9021 2002-10-24  Denis Chertykov  <denisc@overta.ru>
9023         * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
9025 2002-10-24  Steve Ellcey  <sje@cup.hp.com>
9027         * expr.c (convert_move): If unsignedp is less then zero there
9028         is no equivalent code.
9030 2002-10-24  Zack Weinberg  <zack@codesourcery.com>
9032         * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
9034 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
9036         * config/s390/s390.h: Rework comments; re-sort target macro definitions
9037         according to the sequence they are defined in the manual.
9038         (POINTER_BOUNDARY): Remove.
9040 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
9042         * config/h8300/h8300.c (round_frame_size): Replace 8 with
9043         BITS_PER_UNIT.
9045 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
9047         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
9048         64-bit safe.
9049         (TINY_CONSTANT_ADDRESS_P): Likewise.
9051 2002-10-24  Richard Henderson  <rth@redhat.com>
9053         * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
9054         (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
9055         vcall offset.
9057 2002-10-24  Richard Henderson  <rth@redhat.com>
9059         PR opt/7944
9060         * reload.c (find_reloads_toplev): Mode of X is not important
9061         when simplifying subregs of constants.
9063 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
9065         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
9066         MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
9067         * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
9068         (override_options): Base default setting of MASK_SOFT_FLOAT on -march
9069         if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
9071 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
9073         * optabs.c (expand_binop): Don't reuse the shift target in the
9074         middle of shift sequences.
9076 2002-10-23  Ziemowit Laski <zlaski@apple.com>
9078         * objc/objc-act.c (get_static_reference): Remove unneeded
9079         TYPE_BINFO initialization.
9080         (get_object-reference): Likewise.
9081         (build_constructor): Tighten precondition check.
9082         (finish_message_expr): Likewise.
9084 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
9086         * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
9087         after CONST test.
9089 2002-10-23  Steve Ellcey  <sje@cup.hp.com>
9091         * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
9092         in HFAs.
9094 2002-10-23  Richard Henderson  <rth@redhat.com>
9096         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
9097         (alpha_output_mi_thunk_osf): Handle vcall_offset.
9099 2002-10-23  Zack Weinberg  <zack@codesourcery.com>
9101         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
9102         var_mod_type_p.
9103         * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
9104         hook_tree_bool_false.
9106         * tree.c (variably_modified_type_p): Moved here from
9107         cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
9108         language-specific cases.  Due to this, must weaken some 'if
9109         and only if' checks to merely 'if'.
9110         * tree.h: Prototype variably_modified_type_p.
9112         * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
9114 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
9116         * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
9117         * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
9119         * config/s390/s390-protos.h (fp_operand): Remove.
9120         * config/s390/s390.c (fp_operand): Remove.
9121         * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
9122         ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
9123         ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
9124         (movdi_31, movdf_31 splitters): Likewise.
9126         * config/s390/s390.h (IEEE_FLOAT): Remove.
9127         (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
9128         (INT_REGNO_P): Rename to ...
9129         (GENERAL_REGNO_P): ... this.
9130         (FLOAT_REGNO_P): Rename to ...
9131         (FP_REGNO_P): ... this.
9132         (ADDR_REGNO_P): New macro.
9133         (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
9134         (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
9135         (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
9136         (HARD_REGNO_NREGS): Adapt to macro renaming.
9137         (HARD_REGNO_MODE_OK): Likewise.
9139 2002-10-23  David Edelsohn  <edelsohn@gnu.org>
9140             Geoff Keating  <geoffk@apple.com>
9142         * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
9143         (rs6000_memory_move_cost): New function.
9144         * config/rs6000/rs6000-protos.h: Declare them.
9145         * config/rs6000/rs6000.h: Use them.
9147 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
9149         * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
9150         inlining it into other libgcc2 routines.
9151         (__udivmoddi4): Likewise.
9153 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
9155         * doc/sourcebuild.texi (Test Suites): Improve.
9157 2002-10-22  Stan Shebs  <shebs@apple.com>
9159         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
9160         case for Darwin.
9162 2002-10-22  Jim Wilson  <wilson@redhat.com>
9164         * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
9166 2002-10-23  Jan Hubicka  <jh@suse.cz>
9168         PR other/8289
9169         * xmmintrin.h: Add const to the argument of loads.
9171         * i386.md (pushv2di): New pattern.
9172         PR target/6890
9173         * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
9175 2002-10-22  Richard Henderson  <rth@redhat.com>
9177         * target.h (gcc_target.asm_out): Merge output_mi_thunk and
9178         output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
9179         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
9180         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
9181         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9182         (TARGET_ASM_OUT): Update.
9183         * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
9184         (hook_bool_tree_hwi_hwi_tree_true): New.
9185         (default_can_output_mi_thunk_no_vcall): New.
9186         * hooks.h: Declare them.
9187         * system.h (ASM_OUTPUT_MI_THUNK): Poison.
9189         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9190         (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
9191         * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
9192         config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
9193         config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
9194         config/stormy16/stormy16.c: Similarly.
9196         * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
9197         Handle 64-bit properly.  Streamline.
9198         (x86_output_mi_vcall_thunk): Remove.
9199         (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
9200         (x86_can_output_mi_thunk): New.
9201         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
9202         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9203         (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
9205         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
9206         output_mi_thunk; make static; always use function_section.
9207         (TARGET_ASM_OUTPUT_MI_THUNK): New.
9208         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9209         (rs6000_ra_ever_killed): Test no_new_pseudos not
9210         targetm.asm_out.output_mi_thunk in conjunction with thunks.
9211         * config/rs6000/rs6000-protos.h: Update.
9212         * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
9213         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
9214         xcoffout_declare_function when using rs6000_output_mi_thunk.
9216         * config/s390/s390.c (s390_output_mi_thunk): Rename from
9217         s390_output_mi_vcall_thunk.
9218         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
9219         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9221         * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
9222         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
9223         * config/vax/vax-protos.h: Update.
9224         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
9226 2002-10-23  Jan Hubicka  <jh@suse,cz>
9228         * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
9229         * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
9230         * i386.md (movti_internal): Use 'C'
9232         * xmmintrin.h (_mm_cmplt_epi*): New.
9234 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
9236         * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
9237         ("*movdf_64"): Likewise.
9238         ("*lshrdi3_64"): Likewise.
9239         ("blockage"): Add length attribute.
9240         ("lit"): Likewise.
9242 2002-10-22  Jan Hubicka  <jh@suse.cz>
9244         * i386.md: FIx typo.
9245         (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
9246         (sse2_umulv2siv2di3): Fix predicate.
9247         (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
9248         lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
9249         * xmmintrin.h (_mm_mul_epu16): Rename to...
9250         (_mm_mul_epu32): This one.
9251         (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
9253         (contains_128bit_aligned_vector_p): Undo accidental checkin.
9255 2002-10-22  Eric Christopher  <echristo@redhat.com>
9257         * config/sparc/sparc.h: Add #error.
9259 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
9261         * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
9262         [s390x-*-linux*]: Likewise.
9263         * config/s390/t-linux: Remove.
9264         * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
9266 2002-10-22  Jan Hubicka  <jh@suse.cz>
9268         * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
9269         (ix86_expand_builtin): Fix MASKMOVDQU expasion.
9270         * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
9271         * i386.md (mmx_punpck?dq): Simplify.
9272         (sse2_pubpcklqdq): Fix.
9273         (sse2_pubpckhqdq): New.
9274         * xmmintrin.h (_mm_unpackhi_epi32): New.
9276         * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
9277         (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
9279 2002-10-22  Nathan Sidwell  <nathan@codesourcery.com>
9281         PR c++/7209
9282         * fold_const.c (fold_binary_op_with_conditional_arg): Always
9283         build compound_expr if we used save_expr.
9285 2002-10-22  Alan Modra  <amodra@bigpond.net.au>
9287         * output.h (SECTION_NOTYPE): Define.
9288         * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
9289         init array sections.
9290         (default_elf_asm_named_section): Mind SECTION_NOTYPE.
9291         * config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
9292         merge TLS support.
9294 2002-10-21  Richard Henderson  <rth@redhat.com>
9296         * real.c (sticky_rshift_significand): Return inexact, don't
9297         or it in immediately.
9298         (sub_significands): Accept incomming carry.
9299         (div_significands, rtd_divmod): Update for sub_significands change.
9300         (round_for_format): Update for sticky_rshift_significand change.
9301         (do_add): Don't involve the inexact bit in addition, do give the
9302         inexact bit as the subtraction carry-in.
9303         (encode_internal, decode_internal, real_internal_format): New.
9304         * real.h (real_internal_format): Declare.
9306 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9308         * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
9309         don't define sdiv_qrnnd.
9311 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
9313         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
9314         using IN_RANGE.
9315         (TINY_CONSTANT_ADDRESS_P): Likewise.
9317 2002-10-22  Jan Hubicka  <jh@suse.cz>
9319         * i386.c (builtin_description): Add punpcklqdq and movdq2q
9320         (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
9321         v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
9322         void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
9323         __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
9324         __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
9325         __builtin_ia32_setzero128.
9326         (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
9327         IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
9328         IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
9329         * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
9330         IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
9331         IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
9332         IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
9333         * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
9334         sse2_movq): New patterns.
9335         (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
9336         * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
9337         _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
9338         _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
9339         _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
9340         _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
9341         _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
9342         (_mm_insert_epi16): Fix.
9344 2002-10-21  Dale Johannesen  <dalej@apple.com>
9346         * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
9347             unsafe math reversals correctly for RTL generation.
9348           (output_cbranch):  Replace rs6000_reverse_condition call
9349             by its former definition.
9351 2002-10-21  Jakub Jelinek  <jakub@redhat.com>
9353         * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
9354         argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
9355         from constant pool or LABEL_REFs as sign extended if allow_rip.
9356         Change all +-1GB limits to +-16MB.
9357         (x86_64_general_operand, x86_64_szext_general_operand,
9358         x86_64_nonmemory_operand, x86_64_movabs_operand,
9359         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
9360         legitimate_address_p, ix86_expand_int_movcc): Update callers.
9361         (local_symbolic_operand): Don't allow offsets bigger than +-16MB
9362         in CM_SMALL_PIC model.
9363         (legitimate_pic_address_disp_p): Don't check offsets before
9364         calling local_symbolic_operand.
9365         (legitimize_pic_address): Force offsets bigger than +-16MB into
9366         register.
9367         * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
9368         * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
9369         prototype.
9371         * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
9372         Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
9373         * configure: Rebuilt.
9374         * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
9375         SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
9376         UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
9377         (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
9378         -fpic.
9379         (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
9380         non-pic code if TARGET_64BIT.
9381         (legitimize_address): Generate 64-bit TLS sequences.
9382         (output_pic_addr_const): Support x86-64 TLS operators.
9383         (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
9384         (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
9385         Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
9386         (output_addr_const_extra): Support x86-64 TLS operators.
9387         (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
9388         (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
9389         unconditionally.
9390         * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
9391         (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
9392         (*tls_global_dynamic_sun): Renamed to...
9393         (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
9394         (tls_global_dynamic): Renamed to...
9395         (tls_global_dynamic_32): ... this.
9396         (tls_global_dynamic_64, *tls_global_dynamic_64): New.
9397         (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
9398         (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
9399         (*tls_local_dynamic_base_dynamic_sun): Renamed to...
9400         (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
9401         (tls_local_dynamic_base_dynamic): Renamed to...
9402         (tls_local_dynamic_base_dynamic_32): ... this.
9403         (tls_local_dynamic_base_dynamic_64,
9404         *tls_local_dynamic_base_dynamic_64): New.
9405         (*tls_local_dynamic_once): Renamed to...
9406         (*tls_local_dynamic_32_once): ... this.
9408 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9410         * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
9411         __divdi3, __umoddi3, or __moddi3.
9413 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9415         * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
9416         instead of just opt_index as switch expression.
9418         * calls.c (store_one_arg): Change type of 'excess_align'
9419         to unsigned int.
9421         * profile.c (output_gcov_string): Change type of 'temp'
9422         to size_t.
9424 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9426         * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
9427         (__fixunssfdi, __fixsfdi): Likewise.
9428         * config/s390/s390.c (s390_single_hi): Initialize 'value'.
9429         (s390_single_qi): Likewise.
9430         (s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
9431         unsigned comparison warning.
9432         (s390_return_addr_rtx): New function.
9433         * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
9434         * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
9435         (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
9437 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
9439         * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
9440         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
9441         (s390_output_mi_thunk): Remove.
9442         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
9444 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
9446         * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
9448 2002-10-20  Richard Henderson  <rth@redhat.com>
9450         * target.h (struct gcc_target): Line wrap.
9452         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
9453         (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
9454         * config/alpha/alpha.h: ... not here.
9455         * config/alpha/alpha-protos.h: Update.
9457         * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
9458         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
9459         config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
9460         config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
9461         config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
9462         config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
9463         config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
9464         config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
9465         config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
9466         config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
9467         config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
9468         config/sparc/openbsd.h, config/sparc/sparc-protos.h,
9469         config/sparc/sparc.c, config/sparc/sparc.h,
9470         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
9471         config/stormy16/stormy16.h: Similarly.
9473         * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
9474         selection logic from call patterns.
9476 2002-10-20  Mark Mitchell  <mark@codesourcery.com>
9478         * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
9480 2002-10-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9482         PR other/8202
9483         * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
9484         expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
9485         * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
9486         * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
9488 2002-10-20  Roger Sayle  <roger@eyesopen.com>
9490         PR c/761
9491         * toplev.c (flag_unsafe_profile_arcs): Remove.
9492         (flag_bounded_pointers): Remove.
9493         (flag_bounds_check): Correct comments.
9494         (lang_independent_options): Remove -funsafe-profile-arcs and
9495         -fbounded-pointers.  Correct -fbounds-check comments.
9497         * flags.h: Correct flag_schedule_interblock comments.
9498         (flag_bounded_pointers): Remove prototype.
9499         (flag_bounds_check): Correct comments.
9501         * c-opts.c (c_common_init_options): No need to mark
9502         flag_bounds_check as unspecified.
9503         (c_common_post_options): And no need to set it from
9504         flag_bounded_pointers if its still unspecified.
9506         * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
9507         Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
9508         -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
9509         -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
9511 2002-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9512             Mark Mitchell  <mark@codesourcery.com>
9514         * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
9515         match target.h.
9516         * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
9517         * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
9518         * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
9519         * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
9520         x86_output_mi_thunk): Likewise.
9521         * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
9522         * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
9523         * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
9524         * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
9525         * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
9526         * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
9527         * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
9528         Likewise.
9529         * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
9531         * target.h (gcc_target): Update output_mi_thunk and
9532         output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
9533         vcall_index.
9535         * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
9536         TARGET_ASM_OUTPUT_MI_THUNK in comments.
9537         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
9538         (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
9539         * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
9540         * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
9541         signature.
9542         * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
9543         * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
9544         TARGET_ASM_OUTPUT_MI_THUNK in comments.
9545         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
9546         (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
9547         * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
9548         TARGET_ASM_OUTPUT_MI_THUNK in comments.
9549         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
9550         ASM_OUTPUT_MI_THUNK and replace with check of targetm.
9552         * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
9553         (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
9555 2002-10-19  Brad Lucier  <lucier@math.purdue.edu>
9557         * real.c (do_add): Fix 0+0 sign corner case.
9558         (do_divide): Fix Inf/0 corner case.
9560 2002-10-20  Jan Hubicka  <jh@suse.cz>
9562         * i386.c (classify_argument): Pass MMX arguments in memory
9563         (ix86_expand_builtin): Expand proper address mode for cflush.
9564         * i386.md (movdqa): Fix typo.
9565         (sse2_cflush): Accept DImode addresses.
9567         * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
9568         (_mm_max_sd): Fix pasto.
9569         (_mm_storeh_pd, _mm_storel_pd): Fix.
9571         * i386.c (bdesc_comi): Fix to match specification.
9572         (ix86_expand_sse_comi): Emit the comparison properly.
9573         * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
9574         Do not use comparison operator.
9575         (vnmaskcmp): Fix template.
9577         * xmmintrin.h (_mm_cvtps_pi16): Fix.
9579 2002-10-19  Sebastian Pop  <s.pop@laposte.net>
9581         * dependence.c : Removed.
9582         * Makefile.in : Remove dependence.o.
9584 2002-10-19  Jan Hubicka  <jh@suse.cz>
9586         * mmintrin.h (__m64): typedef it to v2si.
9587         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
9588         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
9589         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
9590         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
9591         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
9592         * xmmintrin.h (_mm_setzero_si64): Likewise.
9594         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
9595         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
9597         PR target/7693
9598         Patch by Shawn Wagner
9599         * mmintrin.h: Replace pi64 by si64.
9601 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
9603         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
9604         Use length of 4 not *.
9605         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
9606         (movdf_softfloat64): Likewise.
9607         (movdi_internal32): Use length of 4 not *.
9608         (movti_power): Same.
9609         (ctrsi, ctrdi): Same.
9611 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
9613         * c-decl.c (start_decl): Point users of the old initialized-
9614         typedef extension at __typeof__.
9616 2002-10-18  Richard Henderson  <rth@redhat.com>
9618         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
9619         (real_to_decimal): Re-implement using the logic from the
9620         gcc 3.2 etoasc.  Comment heavily.
9621         (div_significands): Simplify loop startup and comparison logic.
9623 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
9625         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
9626         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
9627         (TARGET_ASM_OUT): Add them.
9628         * target.h (asm_out): Add output_mi_thunk and
9629         output_mi_vcall_thunk.
9630         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9631         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9632         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
9633         * config/arm/arm.c (arm_output_mi_thunk): Define.
9634         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9635         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9636         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9637         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9638         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9639         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9640         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
9641         prototype.
9642         (x86_output_mi_vcall_thunk): Declare.
9643         * config/i386/i386.c (override_options): Clear
9644         output_mi_vcall_thunk in 64-bit mode.
9645         (ix86_fntype_regparm): New function.
9646         (ix86_return_pops_args): Use it.
9647         (ia32_this_parameter): New function.
9648         (x86_output_mi_vcall_thunk): New function.
9649         (x86_output_mi_thunk): Use it
9650         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
9651         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
9652         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
9653         * config/i960/i960.c (i960_output_mi_thunk): New function.
9654         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
9655         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
9656         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
9657         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9658         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9659         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
9660         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9661         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9662         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9663         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9664         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9665         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9666         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9667         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9668         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9669         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9670         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
9671         * config/s390/s390.c (s390_output_mi_thunk): Define.
9672         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9673         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9674         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9675         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9676         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9677         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9678         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
9679         * config/vax/vax.c (vax_output_mi_thunk): Define.
9680         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
9681         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
9682         * doc/tm.texi: Adjust documentation.
9684 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
9686         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
9687         __enable_execute_stack function.
9688         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
9689         as NETBSD_ENABLE_EXECUTE_STACK.
9690         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
9691         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
9692         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
9693         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
9694         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
9696 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
9698         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
9699         to __enable_execute_stack with the address of the trampoline
9700         if TRANSFER_FROM_TRAMPOLINE is defined.
9701         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
9702         constant if building libgcc2.
9704 2002-10-17  Roger Sayle  <roger@eyesopen.com>
9706         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
9708 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
9710         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
9711         in CTR/LR/MQ.
9712         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
9713         to/from CTR/LR/MQ.
9714         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
9715         (movsf_softfloat): Likewise.
9717 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
9719         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
9721 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
9723         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
9724         tramp, not addr, to pass the trampoline address to
9725         __enable_execute_stack.
9727 2002-10-17  Jan Hubicka  <jh@suse.cz>
9729         * mmintrin.h: Guard by __MMX__
9730         * xmmintrin.h: Guard by __SSE__
9732         PR other/8062
9733         * xmmintrin.h (_MM_SHUFFLE2): New macro.
9734         (_mm_load*_?d): New functions.
9735         (_mm_set*_?d): New functions.
9736         (_mm_store*_?d): New functions.
9738 2002-10-16  Jan Hubicka  <jh@suse.cz>
9740         Really commit patch announced at Oct 14
9741         PR c/7344
9742         * predict.c (can_predict_insn_p): New function.
9743         (estimate_probability): Avoid unnecesary work.
9744         (process_note_prediction): Likewise.
9745         * toplev.c (rest_of_compilation): Account early branch prediction pass
9746         as TV_BRANCH_PROB.
9748         PR other/8048
9749         Found by Ian Ollmann
9750         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
9751         (_mm_load?_pd): Likewise.
9752         (_mm_store?_pd): Likewise.
9754         PR target/7386
9755         * i386.c (builtin_description):Drop cmpg[te]s[sd].
9756         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
9757         swapped alternative.
9759         PR opt/7630
9760         * reload1.c (reload_inner_reg_of_subreg): New argument output;
9761         (push_reload): Update call.
9763 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
9765         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
9766         if using mips/elf.h or mips/elf64.h.
9767         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
9768         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
9770 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
9772         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
9773         SI.
9775 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
9777         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
9778         (LPREFIX): Likewise.
9779         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
9780         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
9781         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
9782         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
9783         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
9785         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
9786         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
9787         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9788         BSS_SECTION_ASM_OP): Move from linux.h.
9789         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9790         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
9792         * config/s390/s390.c (s390_function_profiler): Use
9793         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
9795 2002-10-15  Richard Henderson  <rth@redhat.com>
9797         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
9798         as arguments.  Bound DIGITS by the available buffer size.
9799         (real_to_hexadecimal): Likewise.
9800         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
9801         (REAL_VALUE_TO_DECIMAL): Remove.
9802         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
9803         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
9804         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
9805         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
9806         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
9807         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
9808         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
9809         use real_to_decimal directly, and with the proper arguments.
9810         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
9812 2002-10-15  Jim Wilson  <wilson@redhat.com>
9814         * reload1.c (merge_assigned_reloads): After converting overlapping
9815         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
9817         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
9819 2002-10-15  Jan Hubicka  <jh@suse.cz>
9821         * expr.c (do_tablejump): Fix typo in my previous commit.
9823 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
9825         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
9827 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
9829         * config/s390/s390.c (s390_split_branches): Add return
9830         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
9832         (find_base_register_in_addr): New function.
9833         (find_base_register_ref): New function.
9834         (replace_base_register_ref): New function.
9836         (struct constant_pool): Add members pool_insn, insns, and anchor.
9837         Remove member last_insn.
9838         (s390_start_pool): Initialize them.
9839         (s390_end_pool): Emit pool placeholder insn.
9840         (s390_add_pool_insn): New function.
9841         (s390_find_pool): Use insns bitmap instead of addresses.
9842         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
9843         Replace unspec 104 by local-pool-relative references.
9844         (s390_output_constant_pool): Output anchor label if required.
9845         (s390_output_symbolic_const): Handle unspec 104 and 105.
9846         (s390_add_pool): Remove, replace by ...
9847         (s390_add_constant, s390_find_constant): ... these new functions.
9848         (s390_add_anchor): New function.
9850         (s390_chunkify_pool): Delete, replace by ...
9851         (s390_chunkify_start, s390_chunkify_finish,
9852         s390_chunkify_cancel): ... these new functions.
9853         (s390_optimize_prolog): Add parameter TEMP_REGNO.
9854         Recompute register live data for special registers.
9855         (s390_fixup_clobbered_return_reg): New function.
9856         (s390_machine_dependent_reorg): Rewrite to use new
9857         s390_chunkify_... routines.
9859         config/s390/s390.md ("reload_base"): Rename to ...
9860         ("reload_base_31"): ... this.
9861         ("reload_base_64"): New insn.
9862         ("reload_base2"): Remove.
9863         ("reload_anchor"): New insn.
9864         ("pool"): New insn.
9866         s390.c (s390_pool_overflow): Remove.
9867         s390.h (s390_pool_overflow): Likewise.
9868         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
9870 2002-10-15  J"orn Rennecke <joern.rennecke@superh.com>
9872         * sh.md (movv8qi_i+2): Don't split if source is -1.
9874 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
9876         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
9878 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
9880         PR opt/7409
9881         * loop.c (loop_regs_scan): Mark registers used for function
9882         argument passing as MAY_NOT_OPTIMIZE.
9884 2002-10-14  Jan Hubicka  <jh@suse.cz>
9886         * i386.md (movv2di_internal): New pattern.
9887         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
9888         (movv2di): New expander.
9889         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
9891         * i386.c (ix86_expand_timode_binop_builtin): Delete.
9892         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
9893         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
9894         (ix86_expand_builtin): Likewise.
9895         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
9896         sse_andti3,
9897         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
9898         sse_andnti3,
9899         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
9900         sse_orti3,
9901         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
9902         sse_xorti3): Kill.
9903         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
9904          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
9905         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
9906          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
9907         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
9908          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
9910         * xmmintrin.h (__m128i): Define as __v2di.
9912         PR c++/6419
9913         (expand_expr): Use DECL_RTL_SET_P.
9915 2002-10-14  Roger Sayle  <roger@eyesopen.com>
9917         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
9919 2002-10-14  Roger Sayle  <roger@eyesopen.com>
9920             Zack Weinberg <zack@codesourcery.com>
9922         * config/i386/i386.c (k6_cost): Correct typo.
9924 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
9926         PR optimization/6631
9927         * alias.c (objects_must_conflict_p): Check honor_readonly when
9928         examining TYPE_READONLY.
9929         * function.c (assign_stack_temp_for_type): Likewise.
9931 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
9933         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
9934         Swap zero extension arguments.
9935         (umaxhi3): Fix instruction class.
9936         PR target/7211
9937         (prefetch): Fix prefetch instructions.
9938         PR target/7238
9939         (pkwb): Fix output constraint.
9941 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
9943         * config/mips/mips.c (print_operand): Increase buffer size for
9944         real numbers.
9946 2002-10-14  Richard Henderson  <rth@redhat.com>
9948         PR opt/8165
9949         * gcse.c (adjust_libcall_notes): Revert last change.
9950         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
9952 2002-10-14  Andrew Haley  <aph@redhat.com>
9954         * tree-inline.c (remap_block): All local class initialization
9955         flags go in the outermost scope.
9956         (expand_call_inline): Call java_inlining_map_static_initializers.
9957         (expand_call_inline): Call java_inlining_merge_static_initializers.
9958         * java/lang.c (merge_init_test_initialization): New.
9959         (java_inlining_merge_static_initializers): New.
9960         (inline_init_test_initialization): New.
9961         (java_inlining_map_static_initializers): New.
9963         * tree-inline.c (expand_call_inline): Convert retvar to expected
9964         type.
9966 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
9968         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
9970 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
9972         * stmt.c: Fix typo in comment.
9974 2002-10-14  J"orn Rennecke <joern.rennecke@superh.com>
9976         * c-common.c (c_common_type_for_mode): Add V2HImode case.
9977         * tree.c (build_common_tree_nodes_2): Initialize
9978         unsigned_V2HI_type_node and V2HI_type_node.
9979         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
9980         (unsigned_V2HI_type_node, V2HI_type_node): Define.
9982 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
9984         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
9985         Handle TARGET_64BIT.
9987 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
9989         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
9990         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
9991         (MULTILIB_DIRNAMES): Remove long32.
9992         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
9993         (MULTILIB_REDUNDANT_DIRS): Remove.
9995 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
9997         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
9998         * gcc.c (driver_self_specs): New variable.
9999         (do_self_spec): New function.
10000         (main): Use it to process driver_self_specs.
10002 2002-10-13  Richard Henderson  <rth@redhat.com>
10004         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
10006 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
10008         PR preprocessor/7862
10009         PR preprocessor/8190
10010         * gcc.c (cpp_unique_options): Don't delete .d files.
10011         Remove stray whitespace.
10013 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
10015         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
10016         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
10017         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
10018         (pdp11_output_function_epilogue, output_ascii): Likewise.
10019         (output_addr_const_pdp11): Likewise.
10020         * pdp11.md (movdi): Use offsetable memory for floating store.
10021         (lshrsi3, negsi2): Delete irrelevant comment.
10023 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
10025         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
10026         not the address of the REG.
10027         (struct cse_reg_info): Make subreg_ticked unsigned.
10029 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
10031         * doc/compat.texi: Add info about C++ libraries.
10033 2002-10-11  Richard Henderson  <rth@redhat.com>
10035         PR opt/8165
10036         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
10038 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10040         * cfganal.c (dfs_enumerate_from): Use PARAMS.
10041         * genautomata.c (output_insn_code_cases): Likewise.
10042         * real.c (real_format): Likewise.
10043         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
10044         ensure value is promoted before doing subtraction.
10046 2002-10-11  Jan Hubicka  <jh@suse.cz>
10048         * calls.c (expand_call): Simplify noreturn call.
10050         PR c/7344
10051         * cfgbuild.c (make_edges): Create edge cache when we do have
10052         large jumptable.
10053         * expr.c (do_tablejump): Note size of maximal jumptable.
10054         * function.c (prepare_function_start): Zero out size.
10055         * function.h (function): Add max_jumptable_ents.
10057         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
10059 2002-10-11  J"orn Rennecke <joern.rennecke@superh.com>
10061         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
10062         register for mperm_w operation.
10064 2002-10-11  J"orn Rennecke <joern.rennecke@superh.com>
10066         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
10067         an integer, use simplify_gen_subreg.
10069 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
10071         * extend.texi (Vector Extensions): Remove comment about single
10072         element vectors.
10074 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10076         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
10077         * function.c (insns_for_mem_hash): Likewise.
10078         * varasm.c (STRHASH): Likewise.
10080 2002-10-10  Stuart Hastings  <stuart@apple.com>
10082         * cse.c (struct cse_reg_info): Add subreg_ticked.
10083         (SUBREG_TICKED): New.
10084         (get_cse_reg_info): Initialize SUBREG_TICKED.
10085         (mention_regs): Use it.
10086         (invalidate): Set SUBREG_TICKED.
10087         (invalidate_for_call): Likewise.
10088         (addr_affects_sp_p): Likewise.
10090 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
10092         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
10093         into proper operand.
10095 2002-10-10  Denis Chertykov  <denisc@overta.ru>
10097         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
10098         deallocation.
10099         * config/ip2k/libgcc.S: Combine routines used by function
10100         epilogue.
10102 2002-10-10  Jim Wilson  <wilson@redhat.com>
10104         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
10105         UDIV.
10107 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
10109         * config/rs6000/aix52.h: New file.
10110         * config/rs6000/t-aix52: New File.
10111         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
10112         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
10114 2002-10-10  Jan Hubicka  <jh@suse.cz>
10116         PR target/5610
10117         * invoke.texi (-msse-math): Kill
10118         (-msse): Add note to mfpmath=sse.
10120 2002-10-10  Jan Hubicka  <jh@suse.cz>
10122         PR target/7723
10123         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
10125 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
10127         PR preprocessor/8179
10128         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
10129         as cc1_options.
10130         (default_compilers): Pass debug options when preprocessing
10131         stdin.
10133 2002-10-06  Richard Henderson  <rth@redhat.com>
10135         * toplev.c (rest_of_compilation): Revert opt/2960 change.
10137 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
10139         PR c/7353
10140         * c-decl.c (start_decl): Unconditionally issue error for
10141         'typedef foo = bar'.
10142         (finish_decl): Remove special case for TYPE_DECL with initializer.
10144         * doc/extend.texi: Delete "Naming Types" section.  Change all
10145         cross-references to that section to refer to "Typeof" instead.
10146         Add the useful safe-max()-macro example from "Naming Types" to
10147         "Typeof", rewritten using that extension.  Add some compatibility
10148         notes to "Typeof."
10150 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10152         * loop.c: Revert 2002-08-15 change.
10153         (LOOP_REGNO_NREGS): Ensure type is int.
10155 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
10157         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
10158         which copies first FPR and clears second.
10159         (extendsftf2): Same.
10160         (floatditf2): Fix typo.
10161         (floatsitf2): Same.
10162         (fix_trunctfdi2): Same.
10163         (fix_trunctfsi2): Same.
10165 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10167         * conflict.c (arc_hash): Change return type to hashval_t.
10168         * cselib.c (get_value_hash): Likewise.
10169         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
10170         state_hash, automata_list_hash): Likewise.
10171         * read-rtl.c (def_hash): Likewise.
10172         * tree.c (type_hash_hash): Likewise.
10174 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
10176         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
10177         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
10179 2002-10-09  J"orn Rennecke <joern.rennecke@superh.com>
10181         * sh.md (ffssi2): Fix emitted code.
10183 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
10185         * cse.c (insn_live_p): Pass insn pattern, not full insn
10186         to may_trap_p.
10188 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
10190         * cppmacro.c (paste_tokens): Only allow / to paste with =.
10192 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
10194         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
10195         64-bit hosts.
10196         (movtf_internal): Reference correct displacement for second value
10197         in memory.
10198         (movtf splitter): Correct generation of constants in 64-bit mode.
10200 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
10202         * libgcc2.c (__floatdisf): Properly cure double rounding.
10204 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
10206         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
10207         * doc/cpp.texi (Common Predefined Macros): Document.
10209 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
10211         PR doc/7484
10212         * doc/invoke.texi (Option Summary): List
10213         -Wmissing-declarations as a C only option.
10215 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
10217         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
10218         mno-app-regs|mcmodel=medany.
10219         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
10220         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
10221         (CRTSTUFF_T_CFLAGS): Define.
10223 2002-10-08  Roger Sayle  <roger@eyesopen.com>
10225         PR target/8087
10226         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
10227         pool references that are constructed using LO_SUM.
10229 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
10231         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
10232         -Wall.
10233         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
10234         message.
10235         * flags.h (warn_strict_aliasing): Declare.
10236         * toplev.c (warn_strict_aliasing): Define.
10237         (lang_independent_options): Add it.
10238         * doc/invoke.texi (-Wstrict-aliasing): Document it.
10240 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
10242         * system.h (GCCBUGURL): Delete.
10243         * version.c (bug_report_url): New.  Add commentary about
10244         modifying both these strings in modified distributions.
10245         * version.h: Declare bug_report_url.
10247         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
10248         bug_report_url.
10250 2002-10-08  Nick Clifton  <nickc@redhat.com>
10252         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
10253         convert uint64_t into __ev64_opaque__.
10254         (__ev_set_acc_s64): Likewise, but using signed types.
10256 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
10258         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
10259         ("*doloop_di_long"): Likewise.
10261 2002-10-08  Jan Hubicka  <jh@suse.cz>
10263         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
10265 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
10267         * config/mips/mips.md (define_attr cpu): Add r4111.
10269 2002-10-08  Anthony Green  <green@redhat.com>
10271         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
10273 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10275         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
10276         for REAL_VALUE_TO_DECIMAL output.
10278 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
10280         * config/rs6000/rs6000.c (rs6000_override_options): Set
10281         real_format_for_mode for IBM extended format, if enabled.
10282         (easy_fp_constant): Add TFmode.
10283         (rs6000_legitimize_address): Add TFmode.
10284         (rs6000_legitimate_address): Same.
10285         (function_arg_advance): TFmode uses two FPRs.
10286         (rs6000_emit_prologue): Fix warning.
10287         (rs6000_output_function_epilogue): Add TFmode.
10288         (output_toc): Add TFmode.
10289         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
10290         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
10291         * rs6000.md (movtf splitter): Load TFmode constant.
10293 2002-10-07  Dale Johannesen  <dalej@apple.com>
10295         * rtl.h:  Add NOTE_PRECONDITIONED.
10296         * unroll.c:  Set it.
10297         * loop.c:  Set loop_info->preconditioned from it.
10298         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
10300 2002-10-07  Richard Henderson  <rth@redhat.com>
10302         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
10303         new rtx for comparing the argument pointer against zero.
10304         (i960_va_start): Similarly.
10306 2002-10-07  Richard Henderson  <rth@redhat.com>
10308         * config/i960/i960.md (*): Use TFmode, not XFmode.
10309         * config/i960/i960.c (*): Likewise.
10310         (i960_arg_size_and_align): Remove XFmode alignment hack.
10311         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
10312         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
10313         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
10314         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
10316 2002-10-07  Richard Henderson  <rth@redhat.com>
10318         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
10319         entry points; use void return value and argument list.
10321 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
10323         * t-pdp11: Add MULTILIB support for msoft-float.
10324         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
10326         * t-pdp11: Add LIB2FUNCS_EXTRA.
10327         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
10328         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
10329         'fldd' to 'ldd', rename 'fstd' to 'std'.
10330         (pdp11_output_function_epilogue): Likewise.
10331         (output_move_quad): Make the comment gas compatible.
10332         (output_ascii): Add preceding 0 to the octal constant.
10333         (print_operand_address): Add pre_modify, post_modify.
10334         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
10335         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
10336         with the indication of Paul Koning.
10337         (PRINT_OPERAND): Fix floating constant.
10338         * pdp11.md (movdi): Restrict matching pattern.
10339         (movqi): Generalize the matching pattern.
10340         (movdf): Restrict matching pattern.
10341         (zero_extendqihi2): Change constant representation.
10342         (floatsidf2): Fix wrong operands.
10343         (addqi3): Fix wrong instruction name.
10344         (subqi3): Fix wrong instruction name.
10345         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
10346         (xorsi3): Fix wrong insn.
10347         (one_cmplqi2): Add two operand pattern.
10348         (lsrsi3): New.
10349         (negsi2): New.
10350         (call): Add register indirect case.
10351         (mod): Fix wrong subreg.
10353 2002-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
10354             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
10356         PR c/7411
10357         * expr.c (expand_expr) [PLUS]: Simplify after the operands
10358         have been expanded in EXPAND_NORMAL mode.
10360 2002-10-06  Richard Henderson  <rth@redhat.com>
10362         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
10364 2002-10-06  Richard Henderson  <rth@redhat.com>
10366         PR optimization/2960
10367         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
10368         optimize_size.
10370 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
10372         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
10373         previously definitions.
10375 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
10377         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
10378         * c-opts.c (find_opt): Similarly.
10380 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
10382         * gcc.c (set_multilib_dir): Don't access *end.
10383         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
10384         (print_multilib_info): Don't show paths starting with ".:".
10385         * genmultilib: Add new option, "yes" if multilibs are enabled.
10386         Update comments.  If multilibs not enabled, print .:${osdirout}
10387         for each directory.  If multilibs are enabled, always print
10388         ${dirout}:${osdirout}, even if the two are the same.
10389         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
10390         Pass all MULTILIB_* variables to genmultilib even if
10391         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
10393 2002-10-04  Bruce Korb  <bkorb@gnu.org>
10395         * fixinc/inclhack.def(hpux11_abs):  use format fix
10396         * fixinc/fixincl.x: regenerate
10397         * fixinc/tests/base/stdlib.h: accommodate new fix test
10399 2002-10-05  Jan Hubicka  <jh@suse.cz>
10401         * c-common.c (cb_register_builtins):  Use really_no_inline.
10403 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
10405         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
10406         copied instruction if the note is not loop invariant.
10408 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
10410         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
10412 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
10414         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
10415         and -mhp-ld options to list of options.  Add -mgnu-ld
10416         and -mhp-ld option descriptions.
10418 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
10420         * fixinc/inclhack.def (hpux11_abs):  New.
10421         (stdio_va_list): change __va_list__ to __gnuc_va_list.
10422         * fixinc/fixincl.x: Rebuild.
10424 2002-10-04  Roger Sayle  <roger@eyesopen.com>
10426         * config/i386/i386.h (processor_costs): Add new fields fadd,
10427         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
10428         (RTX_COSTS): Use these fields to determine the RTX costs
10429         of floating point addition/subtraction, multiplication,
10430         division, fabs, negation and square root respectively.
10431         * config/i386/i386.c (size_cost): Provide instruction sizes
10432         for these new fields.
10433         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
10434         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
10435         counts for these new fields for all x86 processor variants.
10437 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10439         * mips.c (mips_const_double_ok): Delete unused variable.
10441         * gengtype.c (rtx_next): Change type to int.
10443 2002-10-04  Andreas Jaeger  <aj@suse.de>
10445         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
10447 2002-10-04  Richard Henderson  <rth@redhat.com>
10449         * real.h (SIGNIFICAND_BITS): Add one more word.
10450         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
10451         * real.c (times_pten): New.
10452         (real_to_decimal, real_from_string): Use it.
10453         (sticky_rshift_significand): Use & to find modulus.
10454         (rshift_significand, lshift_significand): Likewise.
10455         (do_divide): Apply sticky bit after normalization.
10456         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
10458 2002-10-03  Andreas Jaeger  <aj@suse.de>
10460         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
10461         to unsigned long, adjust printf format string.
10462         (output_mangled_typename): Likewise.
10464 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
10466         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
10467         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
10468         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
10469         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
10470         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
10471         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
10472         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
10473         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
10475 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
10477         * doc/invoke.texi (-Wabi): Document mangling bug.
10479 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
10481         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
10482         name for the tbtab label that depends on the function asm name.
10483         Don't output tbtab label unless optional_tbtab.
10484         (output_mi_thunk): Formatting.
10486 2002-10-03  Richard Henderson  <rth@redhat.com>
10488         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
10489         * config/m68k/m68k.c (override_options): ... here.
10490         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
10491         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
10492         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
10493         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
10495 2002-10-03  Richard Henderson  <rth@redhat.com>
10497         * real.h (struct real_value): Use ENUM_BITFIELD.
10499 2002-10-03  Richard Henderson  <rth@redhat.com>
10501         * config/i960/i960.md (call, call_value): Use emit_call_insn.
10503 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
10505         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
10507 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
10509         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
10510         * config/pa/pa.h (MASK_GNU_LD): New.
10511         (TARGET_GNU_LD): New.
10512         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
10513         on gnu-ld and MASK_GNU_LD.
10514         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
10516 2002-10-03  Jan Hubicka  <jh@suse.cz>
10518         * i386.c (athlon_cost): Fix the move costs.
10520 2002-10-03  Jan Hubicka  <jh@suse.cz>
10522         * final.c (final): Use symbol name as function name for profiling.
10523         * profile.c (get_exec_counts): Likewise.
10524         (branch_prob): Likewise.
10526 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
10528         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
10530 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
10532         * gcc.c (print_multi_os_directory): New variable.
10533         (option_map): Support --print-multi-os-directory.
10534         (struct prefix_list): Add os_multilib field.
10535         (multilib_os_dir): New variable.
10536         (static_specs): Add multilib_options.
10537         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
10538         subdirs if non-zero.
10539         (read_specs, execute): Update callers.
10540         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
10541         pass 1 as multilib option.
10542         (display_help): Include --print-multi-os-directory.
10543         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
10544         (process_command): Update callers.  Handle --print-multi-os-directory.
10545         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
10546         set.
10547         (main): Update find_a_file and add_prefix callers.
10548         Handle print_multi_os_directory.
10549         (struct mdswitchstr): New.
10550         (mdswitches, n_mdswitches): New variables.
10551         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
10552         present on the command line nor their mutually incompatible
10553         switches.
10554         (default_arg): Optimize.
10555         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
10556         array.
10557         (print_multilib_info): Only print GCC multilib dir name, not OS
10558         multilib dirname.
10559         * genmultilib: Add osdirnames parameter.  Output multilib_options
10560         variable.  If osdirnames is specified, output dirnames as
10561         dirname:osdirname.
10562         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
10563         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
10564         to compute libgcc_s soname and install path.
10565         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
10566         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
10567         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
10568         argument.
10570         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
10571         (SHLIB_SLIBDIR_SUFFIXES): Remove.
10572         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
10573         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
10574         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
10575         and -m64.
10576         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
10577         (SHLIB_SLIBDIR_SUFFIXES): Remove.
10578         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
10579         (STARTFILE_ARCH_SPEC): Remove.
10580         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
10581         (SHLIB_SLIBDIR_SUFFIXES): Remove.
10582         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
10583         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
10584         (SHLIB_SLIBDIR_SUFFIXES): Remove.
10586 2002-10-03  Jan Hubicka  <jh@suse.cz>
10588         * predict.c (choose_function_section): Avoid choice for linkonce functions.
10590 2002-10-03  Jan Hubicka  <jh@suse.cz>
10592         * i386.md (lea to mul peep2): Fix condition.
10594 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10596         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
10597         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
10599 2002-10-02  Richard Henderson  <rth@redhat.com>
10601         PR opt/7124
10602         * config/i386/i386.c (ix86_register_move_cost): Increase cost
10603         for secondary_memory_needed pairs.
10605 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
10607         * doc/vms.texi: Blow away false include file section.
10609 2002-10-02  Roger Sayle  <roger@eyesopen.com>
10611         PR optimization/6627
10612         * toplev.c (force_align_functions_log): New global variable.
10613         * flags.h (force_align_functions_log): Add extern prototype.
10614         * varasm.c (assemble_start_function): Use it to force minimum
10615         function alignment.
10616         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
10617         minimum function alignment to one byte.
10618         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
10619         the least significant bit of vtable member function pointers.
10620         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
10621         here from cp/cp-tree.h.
10623 2002-10-02  Jan Hubicka  <jh@suse.cz>
10625         * i386.c (print_operand_address): Use RIP addressing for offsetted
10626         label refs too.
10628 2002-09-30  David S. Miller  <davem@redhat.com>
10630         PR middle-end/7151
10631         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
10632         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
10634 2002-10-01  Roger Sayle  <roger@eyesopen.com>
10636         * unroll.c (loop_iterations): Revert 2002-09-08 change.
10638 2002-10-01  Richard Henderson  <rth@redhat.com>
10640         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
10641         (real_to_hexadecimal): Likewise.
10642         * print-rtl.c (print_rtx): If we are linked with real.c, don't
10643         dump the XWINT fields of a floating point CONST_DOUBLE.
10645 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
10647         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
10649 2002-10-01  Richard Henderson  <rth@redhat.com>
10651         * calls.c (precompute_register_parameters): Force non-legitimate
10652         constants into pseudos.
10654 2002-10-01  Nick Clifton  <nickc@redhat.com>
10656         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
10657         to assembler template.
10659 2002-10-01  Richard Henderson  <rth@redhat.com>
10661         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
10662         for TLS debug info to !DECL_EXTERNAL.
10664 2002-10-01  Matt Thomas  <matt@3am-software.com>
10665             Jason Thorpe  <thorpej@wasabisystems.com>
10667         * config.gcc (vax-*-netbsdelf*): Enable configuration.
10668         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
10669         if not already defined.
10670         * config/vax/elf.h: New file.
10671         * config/vax/netbsd-elf.h: New file.
10672         * config/vax/vax.c: Include "debug.h".
10673         (vax_output_function_prologue): Add dwarf2 support.  Use
10674         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
10675         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
10676         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
10677         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
10678         (VAX_ISTREAM_SYNC): Remove.
10679         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
10680         (JUMP_TABLES_IN_TEXT_SECTION): Define.
10681         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
10682         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
10683         and assemble_name.
10684         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
10685         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
10686         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
10687         (INCOMING_RETURN_ADDR_RTX): Define.
10688         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
10689         (VUNSPEC_SYNC_ISTREAM): Define.
10690         (blockage): Use VUNSPEC_BLOCKAGE.
10691         (sync_istream): New insn.
10693 2002-10-01  Richard Henderson  <rth@redhat.com>
10695         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
10696         (*call_value_pop, call, call_value): Add dwarf2 EH support.
10697         (*call): New insn.
10699 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
10701         PR c/8083
10702         * c-typeck.c (build_c_cast): Warn about type punning which breaks
10703         type based aliasing.
10705 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
10707         * stor-layout.c (update_alignment_for_field): New function.
10708         (place_union_field): Use it.
10709         (place_field): Likewise.
10711 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
10713         PR other/8077
10714         * gcc.c (cc1_options): Add space on -auxbase-strip.
10716 2002-10-01  Jim Wilson  <wilson@redhat.com>
10718         * config/v850/v850.h (EPILOGUE_USES): Define.
10720 2002-09-30  Andrew Haley  <aph@redhat.com>
10722         * flow.c (insn_dead_p): When using non-call-exceptions, don't
10723         eliminate insns that may trap.
10724         * cse.c (insn_live_p): Likewise.
10726 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
10728         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
10729         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
10730         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
10731         * config/mips/mips.md: Apply same renaming here.
10733 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
10735         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
10736         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
10737         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
10738         * config/mips/mips.md (define_attr cpu): Remove r4320.
10739         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
10741 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
10743         * config/mips/mips.c (mips16_strings): New variable.
10744         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
10745         symbol in mips16_strings.  Free the list.
10746         (mips_encode_section_info): Keep track of local strings.
10748 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
10750         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
10751         (sordered_df, sordered_sf): Remove.
10752         * config/mips/mips.c (get_float_compare_codes): New fn.
10753         (gen_int_relational, gen_conditional_move): Use it.
10755 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
10757         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
10758         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
10759         * config/mips/mips.c (fcc_register_operand): New function.
10760         (mips_emit_fcc_reload): New function, extracted from reload_incc.
10761         (override_options): Allow TFmode values in float registers
10762         if ISA_HAS_8CC.
10763         * cnfig/mips/mips.md (reload_incc): Change destination prediate
10764         to fcc_register_operand.  Remove misleading source constraint.
10765         Use mips_emit_fcc_reload.
10766         (reload_outcc): Duplicate reload_incc.
10768 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
10770         * longlong.h: Partially synchronize with GMP-4.1 version:
10771         Use i370 definitions also for s390.
10772         Add generic definition of umul_ppmm in terms of smul_ppmm.
10773         [s390] (umul_ppmm): Remove.
10774         [s390] (smul_ppmm): Fix incorrect assembler constraints.
10775         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
10777 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
10779         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
10780         Add new RL_REGS register class.
10781         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
10782         Call xtensa_preferred_reload_class for both input and output reloads.
10783         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
10784         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
10785         instead of either AR_REGS or GR_REGS classes.
10786         (xtensa_secondary_reload_class): Use new RL_REGS class.
10787         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
10789 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10791         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
10792         (pa_strip_name_encoding): Strip '@' and '*', in that order.
10793         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
10794         there is a '*' prefix in NAME.
10796 2002-09-30  Jan Hubicka  <jh@suse.cz>
10798         * reload.c (push_reload): Handle subregs and secondary memory.
10799         * reload1.c (gen_reload): Likewise.
10801         * jump.c (reg_or_subregno): New function.
10802         * rtl.h (reg_or_subregno): Declare
10803         * unroll.c (find_splittable_givs): Handle subregs.
10805 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
10807         * store-layout.c (finish_record_layout): Add free_p parameter.
10808         (layout_type): Pass it.
10809         * tree.h (finish_record_layout): Update prototype.
10811 2002-09-30  Jan Hubicka  <jh@suse.cz>
10813         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
10815         * gcse.c (cprop_jump): Check that the register has not
10816         been modified
10817         (cprop_jump): Likewise.
10819 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
10821         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
10822         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
10823         that we have a SImode access, and only then if reload hasn't completed;
10824         for all other cases, use LO_REGS.
10826 2002-09-29  Richard Henderson  <rth@redhat.com>
10828         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
10830 2002-09-29  Richard Henderson  <rth@redhat.com>
10832         PR c/8002
10833         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
10834         for CONST_INT.
10836 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
10838         * real.h (ibm_extended_format): Declare.
10839         * real.c (encode_ibm_extended, decode_ibm_extended): New
10840         functions.
10842 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10844         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
10846         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
10848 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10850         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
10852 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
10854         * builtins.def: Fix comment formatting.
10855         * c-common.def: Likewise.
10856         * cfgcleanup.c: Likewise.
10857         * combine.c: Likewise.
10858         * gengtype.c: Likewise.
10859         * params.def: Likewise.
10860         * predict.def: Likewise.
10861         * rtl.def: Likewise.
10862         * stab.def: Likewise.
10863         * stor-layout.c: Likewise.
10864         * tree.def: Likewise.
10865         * config/darwin.c: Likewise.
10866         * config/darwin.h: Likewise.
10867         * config/dbxcoff.h: Likewise.
10868         * config/elfos.h: Likewise.
10869         * config/fp-bit.c: Likewise.
10870         * config/freebsd-spec.h: Likewise.
10871         * config/interix.h: Likewise.
10872         * config/libgloss.h: Likewise.
10873         * config/linux-aout.h: Likewise.
10874         * config/linux.h: Likewise.
10875         * config/lynx-ng.h: Likewise.
10876         * config/lynx.h: Likewise.
10877         * config/netbsd-aout.h: Likewise.
10878         * config/netbsd.h: Likewise.
10879         * config/netware.h: Likewise.
10880         * config/psos.h: Likewise.
10881         * config/ptx4.h: Likewise.
10883 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
10885         * ChangeLog.4: Fix typos.
10886         * ChangeLog.6: Likewise.
10887         * FSFChangeLog.10: Likewise.
10888         * genattrtab.c: Fix comment typos.
10889         * haifa-sched.c: Likewise.
10890         * real.c: Likewise.
10891         * tree.h: Likewise.
10892         * config/arm/arm.c: Likewise.
10893         * config/arm/crti.asm: Likewise.
10894         * config/arm/crtn.asm: Likewise.
10895         * config/frv/frv.c: Likewise.
10896         * config/frv/frv.md: Likewise.
10897         * config/h8300/h8300.md: Likewise.
10898         * config/i386/rtemself.h: Likewise.
10899         * config/ia64/unwind-ia64.c: Likewise.
10900         * config/ip2k/ip2k.h: Likewise.
10901         * config/m88k/m88k.c: Likewise.
10902         * config/m88k/m88k.md: Likewise.
10903         * config/mips/sr71k.md: Likewise.
10904         * config/mmix/mmix.c: Likewise.
10905         * config/rs6000/rs6000.c: Likewise.
10906         * config/sh/sh.md: Likewise.
10908 2002-09-26  Theodore A. Roth  <troth@verinet.com>
10910         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
10911         * config/avr/avr.md: Ditto.
10913 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
10915         PR preprocessor/8055
10916         * cppmacro.c (stringify_arg): Do not overflow the buffer
10917         with the terminating NUL when the argument to be stringified
10918         has no tokens.
10920 2002-09-27  Richard Henderson  <rth@redhat.com>
10922         * unroll.c (simplify_cmp_and_jump_insns): New.
10923         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
10924         instead of expand_simple_foo.
10926 2002-09-27  Richard Henderson  <rth@redhat.com>
10928         PR optimization/7520
10929         * cfganal.c (flow_active_insn_p): New.
10930         (forwarder_block_p): Use it.
10932 2002-09-27  Richard Henderson  <rth@redhat.com>
10934         * emit-rtl.c (active_insn_p): Revert last change.
10936 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
10938         * doc/extend.texi (tls_model): Document.
10939         * varasm.c (decl_tls_model): New.
10940         * c-common.c (handle_tls_model_attribute): New.
10941         (c_common_attribute_table): Add tls_model.
10942         * config/alpha/alpha.c (alpha_encode_section_info): Use
10943         decl_tls_model.
10944         * flags.h (enum tls_model, flag_tls_default): Move...
10945         * tree.h (enum tls_model, flag_tls_default): ...here.
10946         (decl_tls_model): New prototype.
10947         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
10948         * config/i386/i386.c (ix86_encode_section_info): Likewise.
10949         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
10950         Allow !flag_pic.
10952 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
10954         * LANGUAGES: Follow spelling conventions.
10955         * rtl.def: Likewise.
10956         * sbitmap.c: Likewise.
10957         * sched-int.h: Likewise.
10958         * sched-rgn.c: Likewise.
10959         * sibcall.c: Likewise.
10960         * simplify-rtx.c: Likewise.
10961         * ssa.c: Likewise.
10962         * stab.def: Likewise.
10963         * stmt.c: Likewise.
10964         * stor-layout.c: Likewise.
10965         * target.h: Likewise.
10966         * timevar.c: Likewise.
10967         * toplev.c: Likewise.
10968         * tree-dump.c: Likewise.
10969         * tree-inline.c: Likewise.
10970         * tree.c: Likewise.
10971         * tree.def: Likewise.
10972         * tree.h: Likewise.
10973         * unroll.c: Likewise.
10974         * varasm.c: Likewise.
10975         * vmsdbgout.c: Likewise.
10976         * treelang/treelang.texi: Likewise.
10977         * treelang/treetree.c: Likewise.
10979 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
10981         * config/h8300/h8300.c (compute_saved_regs): Use a macro
10982         instead of a hard register number.
10983         (get_shift_alg): Use an enumerated type instead of numbers.
10984         (h8300_shift_needs_scratch_p): Likewise.
10986 2002-09-26  David S. Miller  <davem@redhat.com>
10988         PR optimization/7335
10989         * calls.c (emit_library_call_value_1): Passing args by reference
10990         converts a CONST function into a PURE one.
10992 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
10994         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
10995         text_section.
10996         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
10997         text section.
10998         * config/rs6000/rs6000.c (rs6000_override_options): Allow
10999         function-sections and data-sections functionality on AIX.
11001 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
11002             Dale Johannesen  <dalej@apple.com>
11004         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
11005         in RTL for sub-word loads from memory.
11007 2002-09-26  Richard Henderson  <rth@redhat.com>
11009         PR c/7160
11010         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
11011         on call insns.
11013 2002-09-26  Richard Henderson  <rth@redhat.com>
11015         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
11017 2002-09-26  Chris Lattner  <sabre@nondot.org>
11019         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
11020         handling undefined values.
11022 2002-09-26  Richard Henderson  <rth@redhat.com>
11024         PR opt/7520
11025         * emit-rtl.c (active_insn_p): Consider a clobber of the
11026         function return value to be active even after reload.
11028 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
11030         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
11031         by absolute loop increment, not loop increment.
11033 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
11035         * c-common.h: Follow spelling conventions.
11036         * cpplex.c: Likewise.
11037         * cpplib.h: Likewise.
11038         * gthr-dce.h: Likewise.
11039         * gthr-posix.h: Likewise.
11040         * optabs.c: Likewise.
11041         * output.h: Likewise.
11042         * profile.c: Likewise.
11043         * protoize.c: Likewise.
11044         * ra-rewrite.c: Likewise.
11045         * real.c: Likewise.
11046         * recog.c: Likewise.
11047         * reg-stack.c: Likewise.
11048         * regclass.c: Likewise.
11049         * regmove.c: Likewise.
11050         * reload.c: Likewise.
11051         * reload.h: Likewise.
11052         * reload1.c: Likewise.
11053         * reorg.c: Likewise.
11054         * resource.c: Likewise.
11055         * rtl.h: Likewise.
11056         * rtlanal.c: Likewise.
11058 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
11060         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
11061         for symbol address.
11063 2002-09-24  Eric Christopher  <echristo@redhat.com>
11065         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
11066         * config/mips/elf64.h: Ditto.
11068 2002-09-24  Eric Christopher  <echristo@redhat.com>
11070         * except.c (expand_builtin_extract_return_address): Handle case
11071         where Pmode != ptr_mode.
11073 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
11075         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
11077 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
11079         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
11081 2002-09-26  Igor Shevlyakov <igor@microunity.com>
11083         * combine.c (simplify_set): Don't call to force_to_mode if size
11084         of integer type is larger than HOST_BITS_PER_WIDE_INT.
11086 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
11088         * Makefile.in (qmtest-g++): Fix file path.
11090 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
11092         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
11093         A + (-const) on RTX level, even for unsigned types.
11095 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
11097         * reload.c (dup_replacements): New function.
11098         (find_reloads): Use it to duplicate replacements at the top level
11099         of match_dup operands.
11101 2002-09-26  Miles Bader  <miles@gnu.org>
11103         * v850.md ("length"): Change default value to 4.
11105 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
11107         * ChangeLog.1: Follow spelling conventions.
11108         * ChangeLog.4: Likewise.
11109         * ChangeLog.6: Likewise.
11110         * FSFChangeLog.11: Likewise.
11111         * doc/cpp.texi: Likewise.
11112         * doc/invoke.texi: Likewise.
11113         * doc/tm.texi: Likewise.
11115 2002-09-26  Nick Clifton  <nickc@redhat.com>
11117         * config.gcc: Add x prefix to v850e case for handling
11118         --with-cpu=v850e.
11120 2002-09-25  David S. Miller  <davem@redhat.com>
11122         PR target/7842
11123         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
11124         extend.
11126 2002-09-25  Richard Henderson  <rth@redhat.com>
11128         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
11129         fp CONST_DOUBLE; use real_identical.
11131 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
11133         * doc/invoke.texi: Add more -Wabi examples.
11135 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
11137         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
11139 2002-09-24  Denis Chertykov  <denisc@overta.ru>
11141         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
11142         cases of optimizing "add sp,w" to "inc sp".
11144 2002-09-24  Adam Nemet  <anemet@lnxw.com>
11146         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
11147         epilogue for naked functions.
11149 2002-09-24  Adam Nemet  <anemet@lnxw.com>
11150             Nick Clifton  <nickc@redhat.com>
11152         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
11153         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
11154         is defined.
11156 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
11158         * config/s390/s390.c (preferred_la_operand_p): New function.
11159         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
11160         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
11161         ("*la_64_cc", "*la_31_cc", splitters): ... these.
11162         ("*la_31"): Deactivate for TARGET_64BIT.
11163         ("*la_31_and", "*la_31_and_cc"): New.
11165 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11167         * real.h (real_value): Make `exp' explicitly signed.
11169 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
11171         * config/elfos.h: Follow spelling conventions.
11172         * config/alpha/alpha.h: Likewise.
11173         * config/arc/arc.h: Likewise.
11174         * config/arm/arm.md: Likewise.
11175         * config/avr/avr.h: Likewise.
11176         * config/cris/cris.md: Likewise.
11177         * config/d30v/d30v.h: Likewise.
11178         * config/frv/frv.c: Likewise.
11179         * config/frv/frv.h: Likewise.
11180         * config/h8300/h8300.c: Likewise.
11181         * config/h8300/h8300.h: Likewise.
11182         * config/h8300/h8300.md: Likewise.
11183         * config/i386/cygwin.h: Likewise.
11184         * config/i386/i386.h: Likewise.
11185         * config/i386/sysv3.h: Likewise.
11186         * config/i960/i960.h: Likewise.
11187         * config/ia64/ia64.h: Likewise.
11188         * config/ia64/ia64.md: Likewise.
11189         * config/ip2k/ip2k.h: Likewise.
11190         * config/m32r/m32r.h: Likewise.
11191         * config/m68k/m68k.h: Likewise.
11192         * config/m88k/m88k.h: Likewise.
11193         * config/mcore/mcore.c: Likewise.
11194         * config/mcore/mcore.h: Likewise.
11195         * config/mcore/mcore.md: Likewise.
11196         * config/mips/mips.h: Likewise.
11197         * config/mmix/mmix.h: Likewise.
11198         * config/mmix/mmix.md: Likewise.
11199         * config/ns32k/netbsd.h: Likewise.
11200         * config/ns32k/ns32k.h: Likewise.
11201         * config/ns32k/ns32k.md: Likewise.
11202         * config/pa/pa.h: Likewise.
11203         * config/romp/romp.h: Likewise.
11204         * config/rs6000/rs6000.h: Likewise.
11205         * config/rs6000/rs6000.md: Likewise.
11206         * config/sparc/sparc.h: Likewise.
11207         * config/stormy16/stormy-abi: Likewise.
11208         * config/stormy16/stormy16.h: Likewise.
11209         * config/vax/vax.h: Likewise.
11211 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
11213         * version.c (version_string): Now const char[].
11214         * version.h: Update to match.
11216 2002-09-23  Richard Henderson  <rth@redhat.com>
11218         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
11219         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
11220         (TARGET_SWITCHES): Don't reference them.
11221         * config/i386/i386.c (override_options): Use target_flags_explicit
11222         to examine bits set by the user.
11224 2002-09-23  Dale Johannesen  <dalej@apple.com>
11226         * dbxout.c (dbxout_parms):  Set current_sym_code for params
11227         passed on stack by invisible reference.
11229 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
11231         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
11232         at least one byte of space.
11234 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
11236         * c-common.h (flag_abi_version): Fix typo in comment.
11237         * doc/invoke.texi (flag_abi_version): Document default value.
11239 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
11241         * doc/extend.texi (Extended Asm): Clarify that overlap between
11242         asm-declared register variables used in an asm and the asm clobber
11243         list is not allowed.
11244         * stmt.c (decl_conflicts_with_clobbers_p): New function.
11245         (expand_asm_operands): Keep track of clobbered registers.  Call
11246         decl_conflicts_with_clobbers_p for each input and output operand.
11247         If no conflicts found before, also do conflict sanity check when
11248         emitting clobbers.
11250 2002-09-23  Richard Henderson  <rth@redhat.com>
11252         * c-common.c (cpp_define_data_format): Remove.
11253         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
11254         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
11255         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
11256         * doc/cpp.texi: Don't document them either.
11257         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
11258         __LONG_LONG_MAX__): Document.
11259         (__TARGET_FLOAT_FORMAT__): Remove.
11261 2002-09-23  Richard Henderson  <rth@redhat.com>
11263         * real.c (do_multiply): Normalize U before addition.
11265 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
11267         * c-common.c (flag_abi_version): New variable.
11268         * c-common.h (flag_abi_version): Declare it.
11269         * c-opts.c (missing_arg): Add -fabi-version.
11270         (c_common_decode_option): Process -fabi-version.
11271         * doc/invoke.texi (-fabi-version): Document it.
11272         (-Wabi): Add information about bit-fields in unions.
11274 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
11276         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
11277         unless -fno-pic or -fno-PIC is specified.
11279 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11281         * c-common.c (preprocessing_trad_p): Define.
11282         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
11283         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
11284         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
11285         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
11286         * pa-linux.h (CPP_PREDEFINES): Delete.
11287         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
11288         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
11289         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
11290         (TARGET_OS_CPP_BUILTINS): Define.
11291         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
11292         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
11293         (SUBTARGET_SWITCHES): Provide default definition.
11294         (TARGET_OPTIONS): Reformat.  Use N_() macro.
11295         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
11296         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
11297         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
11298         (TARGET_CPU_CPP_BUILTINS): Define.
11299         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
11300         * doc/invoke.texi (msio, mwsio): Document new hppa options.
11301         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
11302         preprocessing_trad_p().
11304 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
11306         * doc/install.texi: Document behavior of --with-headers and
11307         --with-libs when arguments are omitted.
11309 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
11311         * dbxout.c: Follow spelling conventions.
11312         * defaults.h: Likewise.
11313         * df.c: Likewise.
11314         * diagnostic.h: Likewise.
11315         * doloop.c: Likewise.
11316         * dwarf2out.c: Likewise.
11317         * dwarfout.c: Likewise.
11318         * emit-rtl.c: Likewise.
11319         * except.c: Likewise.
11320         * explow.c: Likewise.
11321         * expmed.c: Likewise.
11322         * expr.c: Likewise.
11323         * expr.h: Likewise.
11324         * flags.h: Likewise.
11325         * flow.c: Likewise.
11326         * fold-const.c: Likewise.
11327         * function.c: Likewise.
11328         * function.h: Likewise.
11329         * gcc.c: Likewise.
11330         * gcov-io.h: Likewise.
11331         * gcov.c: Likewise.
11332         * gcse.c: Likewise.
11333         * genattrtab.c: Likewise.
11334         * genconfig.c: Likewise.
11335         * genrecog.c: Likewise.
11336         * ggc-page.c: Likewise.
11337         * ggc.h: Likewise.
11338         * global.c: Likewise.
11339         * gthr-win32.h: Likewise.
11340         * integrate.c: Likewise.
11341         * jump.c: Likewise.
11342         * langhooks.c: Likewise.
11343         * langhooks.h: Likewise.
11344         * line-map.h: Likewise.
11345         * local-alloc.c: Likewise.
11346         * longlong.h: Likewise.
11347         * loop.c: Likewise.
11348         * loop.h: Likewise.
11350 2002-08-27  Jan Hubicka  <jh@suse.cz>
11352         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
11354 2002-08-27  Jan Hubicka  <jh@suse.cz>
11356         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
11357         for -Os/TARGET_64BIT too.
11359 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
11361         * ChangeLog: Follow spelling conventions.
11362         * ChangeLog.0: Likewise.
11363         * ChangeLog.1: Likewise.
11364         * ChangeLog.2: Likewise.
11365         * ChangeLog.3: Likewise.
11366         * ChangeLog.4: Likewise.
11367         * ChangeLog.5: Likewise.
11368         * ChangeLog.6: Likewise.
11369         * FSFChangeLog.10: Likewise.
11370         * FSFChangeLog.11: Likewise.
11371         * alias.c: Likewise.
11372         * basic-block.h: Likewise.
11373         * c-aux-info.c: Likewise.
11374         * c-common.c: Likewise.
11375         * c-common.h: Likewise.
11376         * c-decl.c: Likewise.
11377         * c-format.c: Likewise.
11378         * c-semantics.c: Likewise.
11379         * c-typeck.c: Likewise.
11380         * calls.c: Likewise.
11381         * cfganal.c: Likewise.
11382         * cfgloop.c: Likewise.
11383         * collect2.c: Likewise.
11384         * combine.c: Likewise.
11385         * conflict.c: Likewise.
11386         * cppexp.c: Likewise.
11387         * cppfiles.c: Likewise.
11388         * cpphash.h: Likewise.
11389         * cppinit.c: Likewise.
11390         * cpplex.c: Likewise.
11391         * cpplib.c: Likewise.
11392         * cpplib.h: Likewise.
11393         * cppmacro.c: Likewise.
11394         * cse.c: Likewise.
11396 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
11398         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
11399         LINK_SPEC.
11400         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
11401         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
11402         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
11404 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
11406         PR opt/7930
11407         * cse.c (fold_rtx): Calculate old_cost before we fold each
11408         operand.
11410 2002-09-21  Richard Henderson  <rth@redhat.com>
11412         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
11413         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
11414         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
11415         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
11416         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
11417         * doc/cpp.texi: Don't document them.
11419 2002-09-21  Richard Henderson  <rth@redhat.com>
11421         * c-common.c (builtin_define_float_constants): Use real_format
11422         to get the floating-point parameters.
11424 2002-09-21  Richard Henderson  <rth@redhat.com>
11426         * real.c (struct real_format): Move to real.h.
11427         (real_format_for_mode): Rename from fmt_for_mode; update all users;
11428         initialize with ieee defaults.
11429         (real_to_target_fmt, real_from_target_fmt): New.
11430         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
11431         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
11432         ieee_quad_format, i370_single_format, i370_double_format,
11433         c4x_single_format, c4x_extended_format): Rename from s/_format//.
11434         (ieee_quad_format): Fix emin.
11435         (format_for_size, init_real_once): Remove.
11436         * real.h (struct real_format): Move from real.c.
11437         (real_format_for_mode): Declare.
11438         (real_to_target_fmt, real_from_target_fmt): Declare.
11439         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
11440         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
11441         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
11442         i370_single_format, i370_double_format, c4x_single_format,
11443         c4x_extended_format): Declare.
11444         * toplev.c (do_compile): Don't call init_real_once.
11446         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
11447         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
11449         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
11450         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
11451         * config/alpha/alpha.c (override_options): Set real_format_for_mode
11452         for VAX, if enabled.
11454         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
11455         for C4X.
11457         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
11458         * config/i370/i370.c (override_options): New.
11459         * config/i370/i370-protos.h: Update.
11461         * config/i386/i386.c (override_options): Set real_format_for_mode
11462         for Intel 80-bit extended.
11463         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
11465         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
11466         (OVERRIDE_OPTIONS): Move code...
11467         * config/i960/i960.c (i960_initialize): ... here.  Set
11468         real_format_for_mode for Intel 80-bit extended.
11470         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
11471         for Intel 80-bit extended, if enabled.
11473         * config/m68k/m68k.c (override_options): Set real_format_for_mode
11474         for Motorola 96-bit extended.
11476         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
11477         * config/vax/vax.c (override_options): New.
11478         * config/vax/vax-protos.h: Update.
11480 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
11482         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
11483         #if TARGET_MACHO.
11485         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
11486         insns.  Supply missing clobber of scratch reg.
11488 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
11490         * config/m32r/m32r.c: Follow spelling conventions.
11491         * config/m32r/m32r.h: Likewise.
11492         * config/m32r/m32r.md: Likewise.
11493         * config/m68k/m68k.c: Likewise.
11494         * config/m88k/m88k.c: Likewise.
11495         * config/mcore/mcore.c: Likewise.
11496         * config/mips/mips.c: Likewise.
11497         * config/mips/mips.h: Likewise.
11498         * config/mmix/mmix.c: Likewise.
11499         * config/mn10200/mn10200.c: Likewise.
11500         * config/ns32k/ns32k.h: Likewise.
11501         * config/pa/pa.c: Likewise.
11502         * config/pa/pa64-linux.h: Likewise.
11503         * config/pdp11/pdp11.h: Likewise.
11504         * config/romp/romp.c: Likewise.
11505         * config/romp/romp.h: Likewise.
11506         * config/rs6000/eabi.asm: Likewise.
11507         * config/rs6000/linux64.h: Likewise.
11508         * config/rs6000/rs6000.c: Likewise.
11509         * config/rs6000/rs6000.h: Likewise.
11510         * config/rs6000/rs6000.md: Likewise.
11511         * config/rs6000/sysv4.h: Likewise.
11512         * config/rs6000/xcoff.h: Likewise.
11514 2002-09-20  Jim Wilson  <wilson@redhat.com>
11516         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
11518 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
11520         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
11521         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
11522         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
11523         (legitimate_address_p): Likewise.
11524         (legitimize_address): Use @gotntpoff and @indntpoff.
11525         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
11526         (output_addr_const_extra): Likewise.
11528 2002-09-20  Jim Wilson  <wilson@redhat.com>
11530         * combine.c (try_combine): When split an instruction pair, where the
11531         first has a sign_extend src, verify that the src and dest modes match.
11533 2002-09-20  Richard Henderson  <rth@redhat.com>
11535         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
11536         (override_options): Do not initialize them.
11537         (mips_const_double_ok): Allow no fp constants except zero,
11538         and not even that for mips16.
11539         (const_float_1_operand): Use dconst1.
11540         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
11541         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
11542         Don't allow arbitrary constants; fix predicates and C constraint.
11544 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
11546         * cppmacro.c: Don't warn about function-like macros without
11547         '(' during pre-expansion.
11549 2002-09-20  Jim Wilson  <wilson@redhat.com>
11551         * config/v850/v850.c (current_function_anonymous_args): Delete.
11552         (expand_prologue): Use current_function_args_info.anonymous_args.
11553         (expand_epilogue): Delete use of current_function_anonymous_args.
11554         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
11555         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
11556         (current_function_anonymous_args): Delete extern declaration.
11557         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
11559 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
11561         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
11562         to load_macho_picbase.
11563         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
11564         (load_macho_picbase): Take the symbol to use as a parameter.
11565         (macho_correct_pic): New insn.
11566         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
11568         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
11569         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
11570         (CAN_ELIMINATE): Likewise.
11571         (INITIAL_ELIMINATION_OFFSET): Likewise.
11572         (TOC_REGISTER): Likewise.
11574 2002-09-20  Richard Henderson  <rth@redhat.com>
11576         * real.c (real_hash): New.
11577         * real.h: Declare it.
11578         * cse.c (canon_hash): Use it.
11579         * cselib.c (hash_rtx): Likewise.
11580         * emit-rtl.c (const_double_htab_hash): Likewise.
11581         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
11582         * varasm.c (struct rtx_const): Reduce vector size; separate
11583         integer and fp vectors.
11584         (HASHBITS): Remove.
11585         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
11586         take modulus MAX_HASH_TABLE.
11587         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
11588         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
11589         (SYMHASH): Don't use HASHBITS.
11590         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
11591         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
11592         (simplify_subtraction): Fix kind comparison.
11593         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
11594         Use a union to pun integer array.
11595         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
11596         only hash two words of integral CONST_DOUBLE.
11598 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
11600         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
11601         (STARTFILE_PREFIX_SPEC): New.
11602         (LINK_SPEC): Modify.
11603         (LIB_SPEC): Modify.
11604         (LIBGCC_SPEC): New.
11606 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
11608         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
11609         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
11611 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
11613         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
11614         Add clobber of the condition code register.
11616 2002-09-20  Richard Henderson  <rth@redhat.com>
11618         * real.c (do_fix_trunc): Static.
11619         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
11620         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
11621         encode_i370_single, encode_i370_double, encode_c4x_single,
11622         encode_c4x_extended): Add default abort case.
11624 2002-09-20  Richard Henderson  <rth@redhat.com>
11626         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
11627         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
11628         (struct realvaluetype): Remove.
11629         (REAL_VALUE_TYPE): Use struct real_value.
11630         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
11631         (test_real_width): New.
11632         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
11633         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
11634         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
11635         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
11636         real_to_integer, real_to_integer2, real_to_decimal,
11637         real_to_hexadecimal, real_from_string, real_from_integer,
11638         real_inf, real_nan, real_2expN, real_convert, real_to_target,
11639         real_from_target): Likewise.
11640         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
11641         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
11643 2002-09-20  Richard Henderson  <rth@redhat.com>
11645         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
11646         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
11647         * defaults.h: ... here.
11648         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
11649         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
11650         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
11651         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
11653 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
11655         * config/mmix/mmix.md ("negdf2"): Rewrite.
11656         ("*expanded_negdf2"): New.
11658 2002-09-19  Jim Wilson  <wilson@redhat.com>
11660         * combine.c (simplify_set): When optimizing a subreg src with a
11661         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
11663 2002-09-19  Dale Johannesen <dalej@apple.com>
11664         * combine.c (make_extraction): Don't create
11665         invalid subreg.
11667 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
11669         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
11670         and STRICT_LOW_PART within SET_DEST.
11671         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
11672         splitters, replacing pre-reload splitters.
11673         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
11674         "*zero_extendqihi2_31"): New insns.
11675         ("*zero_extendqihi2_64"): Do not clobber CC.
11677 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
11679         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
11680         (DTORS_SECTION_ASM_OP): Ditto.
11681         (READONLY_DATA_SECTION_ASM_OP): Moved.
11682         (DATA_SECTION_ASM_OP): New.
11683         (SDATA_SECTION_ASM_OP): New.
11684         (BSS_SECTION_ASM_OP): New.
11685         (SBSS_SECTION_ASM_OP): New.
11686         (TEXT_SECTION_ASM_OP): New.
11688 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
11690         * config/fp-bit.c: Follow spelling conventions.
11691         * config/d30v/d30v.c: Likewise.
11692         * config/d30v/d30v.h: Likewise.
11693         * config/fr30/fr30.c: Likewise.
11694         * config/fr30/fr30.h: Likewise.
11695         * config/fr30/fr30.md: Likewise.
11696         * config/frv/frv.c: Likewise.
11697         * config/frv/frv.h: Likewise.
11698         * config/h8300/h8300.c: Likewise.
11699         * config/h8300/lib1funcs.asm: Likewise.
11700         * config/i370/i370.c: Likewise.
11701         * config/i386/i386.h: Likewise.
11702         * config/i386/i386.md: Likewise.
11703         * config/i386/pentium.md: Likewise.
11704         * config/i386/winnt.c: Likewise.
11705         * config/i960/i960.c: Likewise.
11706         * config/ia64/ia64.h: Likewise.
11707         * config/ip2k/ip2k.c: Likewise.
11708         * config/ip2k/ip2k.h: Likewise.
11709         * config/ip2k/ip2k.md: Likewise.
11710         * config/ip2k/libgcc.S: Likewise.
11712 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
11714         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
11715         (GOTOFF_P): Extend to allow gotoff plus constant.
11717 2002-09-18  Richard Henderson  <rth@redhat.com>
11719         * ifcvt.c (noce_process_if_block): Correctly detect X modified
11720         with INSN_B before COND_EARLIEST.  Don't check A and B for
11721         modification in condition range.  Reorder INSN_B for A==B properly.
11722         (if_convert): Iterate until no matches for a block.
11724 2002-09-18  Richard Henderson  <rth@redhat.com>
11726         * calls.c (store_one_arg): Rename default_align to parm_align;
11727         always adjust parm_align for downward padding.
11729 2002-09-18  Richard Henderson  <rth@redhat.com>
11731         * toplev.c (backend_init): Move init_real_once invocation ...
11732         (do_compile): ... here.
11734 2002-09-18  Richard Henderson  <rth@redhat.com>
11736         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
11737         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
11739 2002-09-18  Richard Henderson  <rth@redhat.com>
11741         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
11743 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
11745         * config/rs6000/rs6000.md: (floatdisf2): Rename to
11746         floatdisf2_internal1.
11747         (floatdisf2): New define_expand.
11748         (floatdisf2_internal2): Likewise.
11750 2002-09-18  Richard Henderson  <rth@redhat.com>
11752         * real.c (sticky_rshift_significand): Collect sticky as
11753         unsigned long, not bool.
11755 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
11757         * config/s390/s390.c (s390_address_cost): New function.
11758         config/s390/s390-protos.h (s390_address_cost): Add prototype.
11759         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
11760         (RTX_COST): Use COSTS_N_INSNS.
11762 2002-09-18  Douglas Rupp  <rupp@gnat.com>
11763             Donn Terry  <donnte@microsoft.com>
11765         * stor-layout.c (place_field): Handle alignment of whole
11766         structures when MSVC compatible bitfields are involved.
11767         Change method of computing location of MS bitfields to
11768         be compatible with #pragma pack(n).
11770         * tree.h (record_layout_info): Add new field
11771         remaining_in_alignment.
11773         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
11774         (pragma pack): Add paragraph on MSVC bit-field packing.
11776 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
11778         PR optimization/7967
11779         * arm.md (ne_zeroextractsi): Add clobber of the condition code
11780         register.
11782 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
11784         * config/s390/s390.c: Follow spelling conventions.
11785         * config/sh/lib1funcs.asm: Likewise.
11786         * config/sh/sh.c: Likewise.
11787         * config/sh/sh.h: Likewise.
11788         * config/sparc/sparc.c: Likewise.
11789         * config/sparc/sparc.h: Likewise.
11790         * config/sparc/sparc.md: Likewise.
11791         * config/stormy16/stormy16.c: Likewise.
11792         * config/stormy16/stormy16.h: Likewise.
11793         * config/v850/v850.c: Likewise.
11794         * config/v850/v850.h: Likewise.
11795         * config/vax/vax.c: Likewise.
11796         * config/vax/vax.h: Likewise.
11798 2002-09-18  Nick Clifton  <nickc@redhat.com>
11800         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
11801         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
11802         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
11804 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
11806         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
11807         statement that the only translation is to en_UK.
11809 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
11811         * config/alpha/alpha.c: Follow spelling conventions.
11812         * config/alpha/alpha.h: Likewise.
11813         * config/alpha/alpha.md: Likewise.
11814         * config/arc/arc.h: Likewise.
11815         * config/arm/arm.c: Likewise.
11816         * config/arm/arm.h: Likewise.
11817         * config/arm/arm.md: Likewise.
11818         * config/arm/pe.c: Likewise.
11819         * config/arm/unknown-elf.h: Likewise.
11820         * config/avr/avr.c: Likewise.
11821         * config/avr/avr.h: Likewise.
11822         * config/c4x/c4x.c: Likewise.
11823         * config/cris/cris.c: Likewise.
11824         * config/cris/cris.h: Likewise.
11826 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
11828         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
11829         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
11830         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
11832 2002-09-17  Dale Johannesen  <dalej@apple.com>
11834         * cfgcleanup.c (try_forward_edges):  Do not forward a
11835         branch to just after a loop exit before loop optimization;
11836         this interfered with doloop detection.
11838 2002-09-17  Nick Clifton  <nickc@redhat.com>
11840         * config/arm/arm.c (output_return_instruction): Do not
11841         writeback the stack pointer when it is being loaded.
11842         (arm_output_epilogue): Likewise.
11844 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
11846         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
11847         generate a pseudo reg that receives the result of a libcall.
11848         (prepare_float_lib_cmp): Likewise.
11850 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
11852         * config/ia64/elf.h: Remove CPP_PREDEFINES.
11854 2002-09-17  Nicola Pero  <n.pero@mi.flashnet.it>
11856         Fix PR/7014 and related objc bugs:
11857         * c-typeck.c (comp_target_types): Added a reflexive argument.
11858         Pass it to ObjC when/if calling objc_comptypes().  Updated all
11859         callers to provide the appropriate reflexive argument.
11860         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
11861         typechecking for all cases of comparisons and assignments,
11862         particularly the obscure and less common ones involving protocols.
11864 2002-09-17  Nick Clifton  <nickc@redhat.com>
11866         * machmode.def (V1DImode): New mode.  A single element vector.
11867         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
11868         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
11869         * tree.c (build_common_tree_nodes_2): Build
11870         unsigned_V1DI_type_node and V1D1_type_node.
11871         * c-common.c (c_common_type_for_mode): Return
11872         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
11873         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
11875 2002-09-17  Nicola Pero  <n.pero@mi.flashnet.it>
11877         * doc/objc.texi (Constant string objects): Extended documentation
11878         to make clear that the constant string class ivar layout is
11879         completely fixed.
11881 2002-09-17  Roger Sayle  <roger@eyesopen.com>
11883         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
11884         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
11886 2002-09-16  Richard Henderson  <rth@redhat.com>
11888         * expr.c (emit_block_move): Set memory block size as appropriate
11889         for the copy.
11891 2002-09-16  Richard Henderson  <rth@redhat.com>
11893         PR fortran/3924
11894         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
11896 2002-09-16  Richard Henderson  <rth@redhat.com>
11898         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
11899         as well as OFFSET for BITPOS.
11901 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
11903         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
11904         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
11905         winchip2 and c3.
11906         * doc/invoke.texi: Mention new aliases.
11908 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11910         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
11911         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
11912         downward.
11913         * function.c (pad_below):  Always compile.
11914         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
11915         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
11916         Pad below when the argument is not in a register and the padding
11917         direction is downward.
11919         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
11920         (PAD_VARARGS_DOWN): Define.
11921         * pa.c (function_arg_padding): Revise padding directions to make them
11922         compatible with the 32 and 64-bit runtime architecture documentation.
11923         (hppa_va_arg):  Add code to handle variable and size zero arguments
11924         passed by reference on TARGET_64BIT.  Reformat.
11925         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
11926         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
11927         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
11928         Add comments.
11929         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
11930         (RETURN_IN_MEMORY): Return size zero types in memory.
11931         (FUNCTION_VALUE): Return TFmode in general registers.
11932         (MUST_PASS_IN_STACK): Define.
11933         (FUNCTION_ARG_BOUNDARY): Simplify.
11934         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
11935         by reference.
11936         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
11938 2002-09-16  Richard Henderson  <rth@redhat.com>
11940         * real.c (do_fix_trunc): New.
11941         (real_arithmetic): Call it.
11942         * simplify-rtx.c (simplify_unary_operation): Handle FIX
11943         with a floating-point result mode.
11945 2002-09-16  Richard Henderson  <rth@redhat.com>
11947         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
11948         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
11949         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
11950         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
11951         * builtins.c (fold_builtin_nan): New.
11952         (fold_builtin): Call it.
11953         * real.c (real_nan): Parse a non-empty string.
11954         (round_for_format): Fix NaN significand truncation.
11955         * real.h (real_nan): Return bool.
11956         * doc/extend.texi: Document new builtins.
11958 2002-09-16  Jason Merrill  <jason@redhat.com>
11959             Danny Smith  <dannysmith@users.sourceforge.net>
11961         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
11962         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
11963         (i386_pe_mark_dllimport): Not here.
11965 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
11967         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
11969 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
11971         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
11972         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
11973         < 64.
11974         (rs6000_emit_cmove): Use real_isinf not target_isinf.
11976 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
11978         * calls.c (emit_library_call_value_1): Don't refer to
11979         hard_libcall_value.
11980         * optabs.c (prepare_float_lib_cmp): Likewise.
11982 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
11984         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
11985         mangling.
11987         The following changes are merged from pch-branch:
11989         * doc/gty.texi (GTY Options): Document %a.
11990         * gengtype.c (do_scalar_typedef): New function.
11991         (process_gc_options): Handle `length' option.
11992         (set_gc_used_type): A pointer to an array of structures doesn't
11993         qualify as a pointer to a structure.
11994         (output_escaped_param): Add `%a' escape.
11995         (write_gc_structure_fields): Allow 'desc' on array of unions.
11996         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
11997         do_scalar_typedef.
11999         * gengtype.c (enum rtx_code): Make global.
12000         (rtx_format): Make global.
12001         (rtx_next): New.
12002         (gen_rtx_next): New.
12003         (write_rtx_next): New.
12004         (adjust_field_rtx_def): Skip fields marked by chain_next.
12005         (open_base_files): Delete redundant prototype.
12006         (write_enum_defn): New.
12007         (output_mangled_typename): Correct abort call.
12008         (write_gc_marker_routine_for_structure): Handle chain_next and
12009         chain_prev options.
12010         (finish_root_table): Don't output redundant \n.
12011         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
12012         * c-tree.h (union lang_tree_node): Add chain_next option.
12014         * gengtype.h (NUM_PARAM): New definition.
12015         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
12016         * gengtype.c (find_param_structure): New.
12017         (adjust_field_type): Handle param<n>_is option.
12018         (process_gc_options): Detect use_params option.  Update callers.
12019         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
12020         'use_params' option.
12021         (open_base_files): Add splay-tree.h to list of files included.
12022         (output_mangled_typename): New.
12023         (write_gc_structure_fields): Update 'param' parameter to support
12024         multiple parameters.  Change name mangling.  Allow parameterized
12025         fields to have an apparent scalar type.  Handle param<n>_is options,
12026         use_param option.
12027         (write_gc_marker_routine_for_structure): Update for change to name
12028         mangling.  Better guess the output file for parameterized types.
12029         (write_gc_types): Update for change to name mangling.
12030         (write_gc_root): Update for change to name mangling.  Handle (ignore)
12031         param<n>_is options.
12032         * doc/gty.texi (GTY Options): Add description of param<n>_is
12033         options, use_params option.
12034         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
12035         * gengtype-lex.l: Produce token for param<n>_is.
12036         * gengtype-yacc.y: Parse param<n>_is.
12038         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
12040         * rtl.c: Update comment describing rtx_format.
12041         * rtl.h (union rtunion): Separate definition and typedef.
12042         (struct rtx_def): Use gengtype to mark.
12043         * Makefile.in (gengtype.o): Also depend on rtl.def.
12044         * ggc.h (ggc_mark_rtx_children): Delete prototype.
12045         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
12046         * ggc-common.c (ggc_mark_rtx_children): Delete.
12047         (ggc_mark_rtx_children_1): Delete.
12048         (gt_ggc_m_rtx_def): Delete.
12049         * gengtype.c (adjust_field_rtx_def): New.
12050         (adjust_field_type): Call adjust_field_rtx_def.
12051         (write_gc_structure_fields): Add 'default' case to switch if none
12052         is specified; remove unused code.
12054         * tree.h (struct tree_exp): Update for change to meaning
12055         of special.
12056         * gengtype.c (adjust_field_tree_exp): New function.
12057         (adjust_field_type): Handle `tree_exp' special here.
12058         (write_gc_structure_fields): Don't handle `tree_exp' special here.
12059         Handle new `dot' option.
12061         * gengtype.h: Make `info' a pointer-to-const.
12062         * gengtype-yacc.y (yacc_ids): Use xasprintf.
12064         * gengtype.c (write_gc_structure_fields): Remove implementation
12065         of `always' option, add `default' option.
12066         * doc/gty.texi (GTY Options): Remove documentation of `always',
12067         add `default'.
12069 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
12071         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
12073 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12075         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
12077         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
12078         instead of the *-protos.h file directly.
12079         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
12080         * darwin.c (machopic_output_stub): Move prototype ...
12081         * darwin-protos.h (machopic_output_stub): ... here.
12082         * rs6000-protos.h (machopic_output_stub): Don't declare.
12084 2002-09-16  Richard Henderson  <rth@redhat.com>
12086         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
12088 2002-09-16  Richard Henderson  <rth@redhat.com>
12090         * real.c, real.h: Rewrite from scratch.
12092         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
12093         (paranoia): New target.
12094         * builtins.c (fold_builtin_inf): Use new real.h interface.
12095         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
12096         * c-lex.c (interpret_float): Likewise.
12097         * emit-rtl.c (gen_lowpart_common): Likewise.
12098         * optabs.c (expand_float): Use real_2expN.
12099         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
12100         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
12101         (FLOAT_WORDS_BIG_ENDIAN): New.
12102         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
12103         directly to REAL_VALUE_NEGATIVE.
12104         * loop.c (canonicalize_condition): Likewise.
12105         * simplify-rtx.c: Include tree.h.
12106         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
12107         with floating-point result modes.
12108         * toplev.c (backend_init): Call init_real_once.
12110         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
12111         * tree.c (build_real): Likewise.
12112         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
12113         float_values, inited_float_values, check_float_value): Remove.
12114         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
12115         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
12116         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
12117         (VAX_HALFWORD_ORDER): Remove.
12119 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
12121         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
12122         (s390_load_address): ... this new function.
12123         (s390_decompose_address): Allow the argument pointer and all
12124         virtual registers as 'pointer' registers.
12125         (s390_expand_plus_operand): Use s390_load_address.
12126         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
12127         ("force_la_31"): New insn pattern.
12128         config/s390/s390-protos.h (legitimize_la_operand): Remove.
12129         (s390_load_address): Add prototype.
12131         * config/s390/s390.c: Include "optabs.h".
12132         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
12133         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
12134         s390_expand_cmpstr): Add prototypes.
12135         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
12136         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
12137         for operands 0 and 1 to "memory_operand".  Add type attribute.
12138         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
12139         for operands 0 and 1 to "memory_operand".  Add type attribute.
12140         ("movstrdi_long", "movstrsi_long"): Remove.
12141         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
12142         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
12143         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
12144         ("clrstrsico"): Remove, replace by ...
12145         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
12146         ("clrstrsi_64"): Rename to "clrstr_long_64".
12147         ("clrstrsi_31"): Rename to "clrstr_long_31".
12148         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
12149         ("cmpstr_const"): Remove, replace by ...
12150         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
12151         ("cmpstr_64"): Rename to "cmpstr_long_64".
12152         ("cmpstr_31"): Rename to "cmpstr_long_31".
12154 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
12156         * ABOUT-NLS: Follow spelling conventions.
12157         * ChangeLog: Likewise.
12158         * ChangeLog.1: Likewise.
12159         * ChangeLog.2: Likewise.
12160         * ChangeLog.3: Likewise.
12161         * ChangeLog.4: Likewise.
12162         * ChangeLog.5: Likewise.
12163         * ChangeLog.6: Likewise.
12164         * FSFChangeLog.10: Likewise.
12165         * FSFChangeLog.11: Likewise.
12166         * c-common.c: Likewise.
12167         * c-lex.c: Likewise.
12168         * c-objc-common.c: Likewise.
12169         * cppexp.c: Likewise.
12170         * cppinit.c: Likewise.
12171         * cpplex.c: Likewise.
12172         * doloop.c: Likewise.
12173         * flow.c: Likewise.
12174         * function.c: Likewise.
12175         * integrate.c: Likewise.
12176         * loop.c: Likewise.
12177         * reg-stack.c: Likewise.
12178         * reload.h: Likewise.
12179         * ssa.c: Likewise.
12181 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
12183         * ChangeLog: Follow spelling conventions.
12184         * ChangeLog.0: Likewise.
12185         * ChangeLog.1: Likewise.
12186         * ChangeLog.2: Likewise.
12187         * ChangeLog.4: Likewise.
12188         * ChangeLog.6: Likewise.
12189         * config.gcc: Likewise.
12190         * dwarfout.c: Likewise.
12191         * reload1.c: Likewise.
12192         * simplify-rtx.c: Likewise.
12193         * unwind-sjlj.c: Likewise.
12194         * config/avr/avr.h: Likewise.
12195         * config/d30v/d30v.h: Likewise.
12196         * config/frv/frv.c: Likewise.
12197         * config/frv/frv.h: Likewise.
12198         * config/ip2k/ip2k.h: Likewise.
12199         * config/m88k/m88k-move.sh: Likewise.
12200         * config/stormy16/stormy16.c: Likewise.
12201         * config/stormy16/stormy16.h: Likewise.
12202         * doc/extend.texi: Likewise.
12203         * doc/interface.texi: Likewise.
12204         * doc/invoke.texi: Likewise.
12205         * doc/md.texi: Likewise.
12206         * doc/rtl.texi: Likewise.
12207         * doc/tm.texi: Likewise.
12208         * doc/trouble.texi: Likewise.
12209         * ginclude/float.h: Likewise.
12210         * treelang/treelang.texi: Likewise.
12212 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12214         * i386-protos.h (i386_pe_dllexport_name_p,
12215         i386_pe_dllimport_name_p, i386_pe_unique_section,
12216         i386_pe_declare_function_type, i386_pe_record_external_function,
12217         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
12218         prototype.
12219         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
12220         * i386/t-interix (winnt.o): Likewise.
12222         * v850-protos.h (v850_output_addr_const_extra): Prototype.
12224 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
12226         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
12227         MIPS ABI CPP macros.
12228         (TARGET_CPU_CPP_BUILTINS): Redefine.
12229         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
12230         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
12232 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12234         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
12236 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
12238         * ChangeLog: Follow spelling conventions.
12239         * ChangeLog.0: Likewise.
12240         * ChangeLog.1: Likewise.
12241         * ChangeLog.2: Likewise.
12242         * ChangeLog.3: Likewise.
12243         * ChangeLog.4: Likewise.
12244         * ChangeLog.5: Likewise.
12245         * ChangeLog.6: Likewise.
12246         * FSFChangeLog.10: Likewise.
12247         * FSFChangeLog.11: Likewise.
12248         * c-common.c: Likewise.
12249         * c-common.h: Likewise.
12250         * c-format.c: Likewise.
12251         * c-opts.c: Likewise.
12252         * cpplib.c: Likewise.
12253         * langhooks.h: Likewise.
12254         * real.c: Likewise.
12255         * reg-stack.c: Likewise.
12256         * toplev.c: Likewise.
12257         * config/arm/arm.c: Likewise.
12258         * config/arm/arm.md: Likewise.
12259         * config/arm/linux-gas.h: Likewise.
12260         * config/arm/netbsd.h: Likewise.
12261         * config/c4x/c4x.c: Likewise.
12262         * config/c4x/c4x.h: Likewise.
12263         * config/c4x/c4x.md: Likewise.
12264         * config/c4x/libgcc.S: Likewise.
12265         * config/fr30/fr30.md: Likewise.
12266         * config/frv/frv.md: Likewise.
12267         * config/ia64/ia64.md: Likewise.
12268         * config/mips/mips.h: Likewise.
12269         * config/mn10300/mn10300.c: Likewise.
12270         * config/stormy16/stormy16.c: Likewise.
12271         * config/v850/v850.md: Likewise.
12272         * doc/extend.texi: Likewise.
12273         * doc/invoke.texi: Likewise.
12274         * doc/md.texi: Likewise.
12276 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
12278         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
12279         library if -pthread is specified.
12281 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
12283         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
12284         for --enable-threads=yes and --enable-threads=posix.
12286 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
12288         * config/sparc/cypress.md: Replace Sparc with SPARC.
12289         * config/sparc/freebsd.h: Likewise.
12290         * config/sparc/gmon-sol2.c: Likewise.
12291         * config/sparc/hypersparc.md: Likewise.
12292         * config/sparc/lb1spc.asm: Likewise.
12293         * config/sparc/lb1spl.asm: Likewise.
12294         * config/sparc/linux.h: Likewise.
12295         * config/sparc/linux64.h: Likewise.
12296         * config/sparc/lynx.h: Likewise.
12297         * config/sparc/sol2.h: Likewise.
12298         * config/sparc/sparc-modes.def: Likewise.
12299         * config/sparc/sparc.c: Likewise.
12300         * config/sparc/sparc.h: Likewise.
12301         * config/sparc/sparc.md: Likewise.
12302         * config/sparc/sparclet.md: Likewise.
12303         * config/sparc/supersparc.md: Likewise.
12304         * config/sparc/sysv4.h: Likewise.
12305         * config/sparc/vxsim.h: Likewise.
12306         * config/sparc/vxsparc64.h: Likewise.
12308 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
12310         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
12312 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
12314         * ChangeLog: Follow spelling conventions.
12315         * ChangeLog.0: Likewise.
12316         * ChangeLog.2: Likewise.
12317         * ChangeLog.3: Likewise.
12318         * ChangeLog.4: Likewise.
12319         * ChangeLog.5: Likewise.
12320         * ChangeLog.6: Likewise.
12321         * cppfiles.c: Likewise.
12322         * cppinit.c: Likewise.
12323         * cpplib.h: Likewise.
12324         * cse.c: Likewise.
12325         * debug.h: Likewise.
12326         * df.c: Likewise.
12327         * dominance.c: Likewise.
12328         * hashtable.c: Likewise.
12329         * hashtable.h: Likewise.
12330         * loop.c: Likewise.
12331         * config/arm/README-interworking: Likewise.
12332         * config/arm/arm.c: Likewise.
12333         * config/arm/arm.h: Likewise.
12334         * config/arm/arm.md: Likewise.
12335         * config/dsp16xx/dsp16xx.h: Likewise.
12336         * config/frv/frv.c: Likewise.
12337         * config/frv/frv.h: Likewise.
12338         * config/ip2k/ip2k.h: Likewise.
12339         * config/rs6000/rs6000.c: Likewise.
12340         * config/stormy16/stormy-abi: Likewise.
12341         * config/stormy16/stormy16.h: Likewise.
12342         * config/v850/v850.c: Likewise.
12344 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
12346         * loop.c: Fix a comment typo.
12348 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
12350         * config/fr30/fr30.h: Fix comment typos.
12351         * config/frv/frv.c: Likewise.
12352         * config/i386/xmmintrin.h: Likewise.
12353         * config/mips/mips.c: Likewise.
12354         * config/sh/sh.c: Likewise.
12356 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
12358         * haifa-sched.c: Follow spelling conventions.
12359         * regclass.c: Likewise.
12360         * regrename.c: Likewise.
12361         * config/fp-bit.c: Likewise.
12362         * config/frv/frv.h: Likewise.
12363         * config/m88k/m88k.c: Likewise.
12364         * config/mcore/mcore.c: Likewise.
12365         * config/rs6000/darwin.h: Likewise.
12366         * config/rs6000/gnu.h: Likewise.
12367         * config/rs6000/linux.h: Likewise.
12368         * config/rs6000/linux64.h: Likewise.
12369         * config/rs6000/rs6000.c: Likewise.
12370         * config/rs6000/rs6000.h: Likewise.
12371         * config/sh/sh.c: Likewise.
12372         * config/sparc/sparc.c: Likewise.
12373         * config/sparc/ultra1_2.md: Likewise.
12375 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
12377         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
12378         memory operand when source is 0 (K constraint).
12379         ("movsi_internal"): Likewise.
12380         ("movdf_internal"): Likewise.
12381         ("movsf_internal"): Likewise.
12383 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
12385         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
12386         targetm.binds_local_p to set SYMBOL_REF_FLAG.
12387         (rs6000_xcoff_encode_section_info): Likewise.
12388         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12390 2002-09-10  Theodore A. Roth  <troth@verinet.com>
12392         * gcc/config/avr/avr.h: Set default options for C++ for avr.
12394 2002-09-13  Richard Henderson  <rth@redhat.com>
12396         * Makefile.in (toplev.o): Depend on real.h.
12397         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
12399 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
12401         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
12402         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
12403         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
12405 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
12407         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
12409 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
12411         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
12412         ia64*-*-linux*): Set extra_parts.
12413         * config/ia64/t-aix (EXTRA_PARTS): Remove.
12414         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
12416 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
12418         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
12419         * config/h8300/h8300.c: Likewise.
12420         * config/h8300/h8300.h: Likewise.
12421         * config/h8300/h8300.md: Likewise.
12422         * doc/invoke.texi: Likewise.
12424 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
12426         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
12428 2002-09-13  Richard Henderson  <rth@redhat.com>
12430         * config/alpha/alpha.md (attr type): Add callpal.
12431         (imb, trap, load_tp, set_tp): Use it.
12432         * config/alpha/ev4.md (ev4_callpal): New.
12433         * config/alpha/ev5.md (ev5_callpal): New.
12434         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
12435         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
12436         (alphaev5_insn_pipe): Likewise.
12438 2002-09-13  Andreas Jaeger  <aj@suse.de>
12440         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
12442 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
12444         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
12445         LIB2ADDEH): New, set to NULL.
12446         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
12448 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
12450         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
12451         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
12452         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
12453         Add declarations.
12454         (_U_Qfneg): Remove.
12456 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
12458         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
12459         for H8/300, H8S aa:8 mode.
12460         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
12461         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
12462         for H8/300 aa:8 mode.
12464 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
12466         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
12467         insns.
12469 2002-09-12  Richard Henderson  <rth@redhat.com>
12471         * Makefile.in (HOST_PRINT): Use print-rtl1.o
12472         (print-rtl.o): Don't define GENERATOR_FILE.
12473         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
12474         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
12475         unless GENERATOR_FILE.
12477 2002-09-12  Stan Shebs  <shebs@apple.com>
12479         * config/darwin.h (USER_LABEL_PREFIX): Define here...
12480         * config/i386/darwin.h: ... instead of here.
12482         * target.h (struct gcc_target): New field
12483         terminate_dw2_eh_frame_info.
12484         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
12485         (TARGET_INITIALIZER): Add it.
12486         * dwarf2out.c (output_call_frame_info): Use target hook.
12487         * dwarf2asm.c (dw2_asm_output_delta): Use macro
12488         ASM_OUTPUT_DWARF_DELTA if defined.
12489         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
12490         (ASM_OUTPUT_DWARF_DELTA): Ditto.
12491         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
12492         (ASM_OUTPUT_DWARF_PCREL): Ditto.
12493         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
12494         (powerpc-*-darwin*): Ditto.
12495         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
12496         to work correctly for Darwin.
12497         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
12498         (STARTFILE_SPEC): Add crtbegin.o.
12499         (ENDFILE_SPEC): Define.
12500         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
12501         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
12502         (ASM_OUTPUT_DWARF_DELTA): Define.
12503         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
12504         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
12506 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
12508         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
12509         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
12510         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
12512 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
12514         * toplev.c: Move default definition of USER_LABEL_PREFIX...
12515         * defaults.h: ... here.
12517 2002-09-12  Richard Henderson  <rth@redhat.com>
12519         * vax.c: Include tree.h earlier.
12521 2002-09-12  Stan Shebs  <shebs@apple.com>
12523         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
12524         (machopic_operand_p): Ditto.
12526 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
12528         * config/arm/arm.c (arm_compute_initial_elimination_offset):
12529         Fix a comment typo.
12531 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
12533         * toplev.c (do_abort): Fix a comment typo.
12535 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
12537         * cselib.c: Fix comment formatting.
12538         * gengtype.c: Likewise.
12540 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
12542         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
12543         (udivmodhi4): Likewise.
12545 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
12546             Roger Sayle  <roger@eyesopen.com>
12548         * i386.c (any_fp_register_operand, fp_register_operand,
12549         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
12550         New predicate functions.
12551         * i386-protos.h:  Add their prototypes.
12552         * i386.h: Add them to PREDICATE_CODES.
12553         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
12554         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
12555         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
12556         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
12557         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
12558         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
12559         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
12560         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
12561         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
12562         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
12563         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
12564         Use these new predicates to simplify and correct the use of
12565         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
12567 2002-09-12  Jason Merrill  <jason@redhat.com>
12569         * diagnostic.c (output_add_identifier): New fn.
12570         * diagnostic.h: Declare it.
12572         * calls.c (store_one_arg): Use size_in_bytes to determine the
12573         amount of space to push.
12575 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
12577         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
12579 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
12581         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
12582         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
12583         (s390_select_ccmode): Likewise.
12584         (s390_branch_condition_mask): Likewise.
12585         (optimization_options): Do not set flag_branch_on_count.
12586         (s390_split_branches): Handle doloop branches.
12587         (s390_chunkify_pool): Likewise.
12588         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
12589         ("doloop_end"): New expander.
12590         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
12591         associated splitters): New.
12593 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
12595         * fold-const.c (make_range): Only narrow to signed range if
12596         the signed range is smaller than the unsigned range.
12598 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
12600         * emit-rtl.c (set_mem_size): New function.
12601         * expr.h (set_mem_size): Declare.
12602         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
12603         (expand_block_move): Instead, use adjust_address and
12604         replace_equiv_address to generate proper aliasing info.
12605         Move common code out of conditionals.  Localize vars.
12607 2002-09-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
12609         * optabs.c (expand_binop): Minor cleanup.
12610         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
12612 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
12614         * print-tree.c (print_node): Print the restrict qualifier.
12616 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
12618         * doc/install.texi: Fix typos.
12620 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
12622         * Makefile.in: Remove all references to s-under and underscore.c.
12623         * collect2.c, tlink.c: Change all uses of prepends_underscore
12624         to look directly at USER_LABEL_PREFIX.
12626 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
12628         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
12629         alignment to csect.
12630         (rs6000_xcoff_unique_section): Only set section name for public
12631         data.
12632         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
12633         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
12634         duplicate definition.
12636 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12638         * pa.md (extzv): Check predicates before emitting extzv_32.
12639         (insv): Likewise.
12641 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
12643         * config/s390/s390.h (MOVE_MAX): Define to correct value.
12644         (MAX_MOVE_MAX): Define.
12645         (MOVE_BY_PIECES_P): Define.
12646         (CLEAR_BY_PIECES_P): Define.
12648 2002-09-10  Denis Chertykov  <denisc@overta.ru>
12650         * config/avr/avr.md (movstrhi): Use right operands for conversion.
12652 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
12654         PR c/7873
12655         * arm.md (insv): Use reg_or_int_operand for operand[3].
12657 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
12659         * rs6000.c (rs6000_assemble_visibility): Protect declaration
12660         inside macro.  Correct function definition typo.
12661         (rs6000_xcoff_section_type_flags): New function.
12662         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
12663         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
12664         with appropriate PIC test.
12665         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
12666         determine readonly.
12667         (rs6000_binds_local_p): Combine PIC flags.
12668         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
12669         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
12671 2002-09-09  Per Bothner  <per@bothner.com>
12673         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
12674         characters, and only print TREE_STRING_LENGTH chars.
12676 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
12678         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
12679         (ASM_FILE_END) New.
12680         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
12681         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
12682         * config/ia64/ia64.c (ia64_asm_output_external): Create list
12683         of external functions if TARGET_HPUX_LD is true.
12684         (ia64_hpux_add_extern_decl): New, routine to put names on
12685         list of external functions.
12686         (ia64_hpux_asm_file_end): Put out declarations for external
12687         functions if and only if they are used.
12689 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12691         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
12692         on TARGET_64BIT before pic register restore.
12694 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
12696         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
12697         (TARGET_HAVE_TLS): New description.
12699 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
12701         * doc/extend.texi (Statement Exprs): Fix broken link.
12703 2002-09-09  Denis Chertykov  <denisc@overta.ru>
12705         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
12706         right conversion of operands[1].
12708 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
12710         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
12711         commutative.  Use "nonimmediate_operand" instead of "register_operand"
12712         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
12714         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
12715         as commutative.
12717         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
12718         mark as commutative.  Use "nonimmediate_operand" instead of
12719         "register_operand" as predicate for operand 1.
12721         ("movstrictsi"): Fix typo in insn name.
12723 2002-09-09  Jan Hubicka  <jh@suse.cz>
12725         * i386.c (index_register_operand): New.
12726         * i386.h (predicate_codes): Add new predicate.
12727         * i386.md (lea_general_*): Use index_register_operand
12728         (ashift to lea splitter): Do not produce invalid leas
12729         (ashift to mov+ashift split): New.
12731 2002-09-09  Nick Clifton  <nickc@redhat.com>
12733         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
12734         Fix folding marks.
12736 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
12737             J"orn Rennecke <joern.rennecke@superh.com>
12739         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
12741 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
12743         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
12744         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
12745         attributes.
12747 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12749         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
12751 2002-09-08  Richard Henderson  <rth@redhat.com>
12753         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
12754         (DW_OP_GNU_push_tls_address): New.
12755         (DW_OP_lo_user): Fix.
12756         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
12757         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
12758         (size_of_loc_descr): Likewise.
12759         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
12760         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
12761         (loc_descriptor_from_tree): Handle TLS variables.
12762         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
12763         (add_location_or_const_value_attribute): ... not here.  Defer
12764         to loc_descriptor_from_tree for TLS variables.
12766         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
12767         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
12768         * config/i386/i386-protos.h: Update.
12770 2002-09-08  Roger Sayle  <roger@eyesopen.com>
12772         PR optimization/6405
12773         * unroll.c (loop_iterations): last_loop_insn should be the previous
12774         non-note instruction before loop->end.
12775         * loop.c (strength_reduce): The conditional jump is the last
12776         non-note instruction before loop->end (as above).
12778 2002-09-08  Roger Sayle  <roger@eyesopen.com>
12780         * combine.c (try_combine): Handle the case that undobuf.other_insn
12781         has been turned into a return or unconditional jump, by inserting
12782         a BARRIER if necessary.
12783         (simplify_set):  Test if a condition code setter has a constant
12784         comparison at compile time, if so convert this insn to a no-op move
12785         and update/simplify the condition code user (undobuf.other_insn).
12787 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
12789         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
12790         (CLEAR_INSN_CACHE): Define.
12792 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
12794         * basic-block.h: Fix comment formatting.
12795         * c-common.c: Likewise.
12796         * c-common.h: Likewise.
12797         * c-lex.c: Likewise.
12798         * c-pretty-print.c: Likewise.
12799         * cfglayout.c: Likewise.
12800         * cfgloop.c: Likewise.
12801         * defaults.h: Likewise.
12802         * et-forest.c: Likewise.
12803         * explow.c: Likewise.
12804         * function.h: Likewise.
12805         * gcov.c: Likewise.
12806         * genattrtab.c: Likewise.
12807         * gengtype.c: Likewise.
12808         * ifcvt.c: Likewise.
12809         * libgcc2.c: Likewise.
12810         * loop.c: Likewise.
12811         * profile.c: Likewise.
12812         * ra-build.c: Likewise.
12813         * real.c: Likewise.
12814         * rtl.h: Likewise.
12815         * tracer.c: Likewise.
12816         * tree-inline.c: Likewise.
12817         * varasm.c: Likewise.
12819 2002-09-08  Jan Hubicka  <jh@suse.cz>
12821         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
12822         handling.
12824         * loop.c (loop_givs_reduce):  Emit addition after.
12826 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
12828         * varasm.c (default_assemble_visibility): Rename from
12829         assemble_visibility.
12830         * output.h: Here too.
12831         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
12832         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
12834 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
12836         * reload.c (find_reloads <p constraint>): Pass operand_mode to
12837         find_reloads_address.
12839 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
12841         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
12842         (anonymous pattern): Likewise.
12844 2002-09-07  Scott Snyder  <snyder@fnal.gov>
12846         PR target/7374
12847         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
12849 2002-09-07  Roger Sayle  <roger@eyesopen.com>
12851         * basic-block.h (struct loop): Remove unused cont_dominator field.
12853 2002-09-07  Igor Shevlyakov <igor@microunity.com>
12855         * varasm.c (decode_rtx_const): Don't check undefined field for
12856         CONST_VECTOR.
12858 2002-09-07  Glen Nakamura  <glen@imodulo.com>
12860         PR opt/7814
12861         * sched-deps.c (sched_analyze_insn): Make sure to add insn
12862         to reg_last->sets after flushing the dependency lists to guarantee
12863         that subsequent clobbers will be dependent on it.
12865 2002-09-07  Igor Shevlyakov <igor@microunity.com>
12867         * combine.c (simplify_shift_const): Calculate rotate count
12868         correctly for vector operands.
12870 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
12872         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
12873         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
12874         tree_expr_nonnegative_p.
12875         (build_conditional_expr): Likewise.
12876         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
12878 2002-09-07  Richard Henderson  <rth@redhat.com>
12880         * builtins.def (inf, inff, infl): Mark const.
12881         (huge_val, huge_valf, huge_vall): Likewise.
12882         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
12884         * real.c (ereal_inf): Clear E before use.
12886 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
12888         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
12889         an expander and an anonymous pattern.  Zero out the upper half
12890         of the dividend in the expander.
12891         (udivmodqi4): Likewise.
12893 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
12895         * config/h8300/h8300.c: Fix formatting.
12896         * config/h8300/h8300.h: Likewise.
12897         * config/h8300/h8300.md: Likewise.
12899 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12901         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
12902         information.
12904 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
12906        * rtlanal.c (dead_or_set_regno_p): Fix typo.
12908 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
12910         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
12912         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
12913         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
12914         (TARGET_ASM_OUT): Add the above here.
12915         * target.h (struct gcc_target): Add "visibility" field.
12916         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
12917         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
12918         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
12919         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
12921 2002-09-06  Ziemowit Laski <zlaski@apple.com>
12923         * c-lang.c (objc_is_id): New stub.
12924         * c-tree.h (objc_is_id): New forward declaration.
12925         * c-typeck.c (build_c_cast): Do not strip protocol
12926         qualifiers from 'id' type.
12927         * objc/objc-act.c (objc_comptypes): Correct handling
12928         of protocol qualifiers.
12929         (objc_is_id): New.
12931 2002-09-06  Jeffrey A Law  (law@redhat.com)
12933         * pentium.md (pentium-firstvboth): Fix typo.
12935 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
12937         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
12938         (enum shift_type, enum h8_cpu): Likewise.
12939         (INL, ROT, LOP, SPC macros): Likewise.
12940         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
12941         const designator.
12942         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
12943         space efficient algorithms when optimize for codesize.
12945 2002-09-06  Nicola Pero  <n.pero@mi.flashnet.it>
12947         Fix PR/1727 and long-standing failing testcase
12948         objc/formal-protocol-6.m.
12949         * objc-act.c (build_protocol_expr): If compiling for the GNU
12950         runtime, create a list of Protocol statically allocated instances
12951         if it doesn't exist, then add the Protocol object to this same
12952         list.
12953         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
12954         instead of TREE_CHAIN.
12956 2002-09-06  Nicola Pero  <n.pero@mi.flashnet.it>
12958         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
12959         10k.  Fixed category dumping - print out category names with the
12960         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
12961         interface.
12962         (finish_objc): Fixed the -gen-decls option.  It was printing out
12963         only the last class.  Dump an interface declaration of all classes
12964         being compiled instead.
12966 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
12968         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
12969         prototype.
12970         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
12971         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
12972         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
12973         rather than GEN_INT.
12974         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
12975         (return_addr_mask, *check_arch2): New.
12977 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
12979         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
12980         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
12981         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
12982         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
12983         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
12984         "adddf3", "*adddf3", "*adddf3_ibm",
12985         "addsf3", "*addsf3", "*addsf3_ibm",
12986         "muldi3", "mulsi3", "mulsidi3",
12987         "muldf3", "*muldf3", "*muldf3_ibm",
12988         "mulsf3", "*mulsf3", "*mulsf3_ibm",
12989         "*anddi3_cc", "*anddi3_cconly", "anddi3",
12990         "*andsi3_cc", "*andsi3_cconly", "andsi3",
12991         "*iordi3_cc", "*iordi3_cconly", "iordi3",
12992         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
12993         "*xordi3_cc", "*xordi3_cconly", "xordi3",
12994         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
12995         instead of "register_operand" as predicate for "%0" operand.
12997 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
12999         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
13000         unconditionally when gcc_cv_as_flags64 checks are gone.
13001         * configure: Rebuilt.
13003 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
13005         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
13006         2002-07-26 change.  Comment.
13008 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13010         * frv.c (frv_unique_section, frv_select_section,
13011         frv_select_rtx_section): Delete.
13012         (frv_in_small_data_p): New.
13013         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
13014         TARGET_ASM_SELECT_RTX_SECTION): Delete.
13015         (TARGET_IN_SMALL_DATA_P): Define.
13017 2002-09-05  Dale Johannesen  <dalej@apple.com>
13019         * reload1.c (reload):  Retain only those memory clobbers
13020         added for variable-array handling.
13022 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
13024         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
13025         return-in-memory rules.
13026         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
13028 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
13030         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
13031         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
13033 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
13035         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
13036         not a compile-time constant for the non-IBM case.
13037         * config/arm/arm-protos.h (arm_float_words_big_endian): New
13038         prototype.
13039         * config/arm/arm.c (arm_float_words_big_endian): New function.
13040         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
13041         if TARGET_VFP  and not TARGET_HARD_FLOAT.
13042         (ARM_FLAG_VFP, TARGET_VFP): Define.
13043         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
13045 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
13047         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
13048         URLs.  Fix AIX wording.
13050 2002-09-05  Stan Shebs  <shebs@apple.com>
13052         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
13053         -fPIC equivalent on Darwin.
13055 2002-09-05  J"orn Rennecke <joern.rennecke@superh.com>
13057         * sh.c (sh_expand_builtin): Return early if encountering an
13058         error_mark for a type.
13060 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
13062         * config/s390/s390.c (s390_expand_plus_operand): Do not require
13063         double-word scratch register.
13064         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
13066         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
13067         "*cli"): Replace s_operand by memory_operand.
13068         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
13070 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
13072         * config/h8300/h8300.c (asm_file_start): Add a missing
13073         semicolon.
13075 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
13077         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
13078         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
13079         (ix86_output_addr_diff_elt) Likewise.
13080         (x86_output_mi_thunk) Likewise.
13081         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
13083 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13085         * frv.c (frv_encode_section_info): Fix error in last change.
13087 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
13089         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
13090         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
13091         (TARGET_BINDS_LOCAL_P): Define.
13092         (rs6000_override_options): Save original flag_pic value.
13093         (rs6000_elf_select_section): Call default_elf_select_section_1.
13094         (rs6000_elf_unique_section): Call default_unique_section_1.
13095         (rs6000_elf_in_small_data_p): New function.
13096         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
13097         (rs6000_xcoff_select_section): Update based on defaults.
13098         (rs6000_xcoff_unique_section): Set to basic name if not common.
13099         (rs6000_binds_local_p): New function.
13100         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
13101         targetm.have_srodata_section if SDATA_EABI.
13102         (TARGET_IN_SMALL_DATA_P): Define.
13104 2002-09-04  Dale Johannesen  <dalej@apple.com>
13106         * varasm.c (struct rtx_const, decode_rtx_const):
13107         Make veclo and vechi fields not share storage.
13109 2002-09-05  J"orn Rennecke <joern.rennecke@superh.com>
13111         * loop.c (scan_loop): Don't mark separate insns out of a libcall
13112         for moving.
13113         (move_movables): Abort if we see the first insn of a libcall.
13115 2002-09-04  Richard Henderson  <rth@redhat.com>
13117         * builtin-types.def (BT_FN_FLOAT): New.
13118         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
13119         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
13120         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
13121         * builtins.c (fold_builtin_inf): New.
13122         (fold_builtin): Call it.
13123         * real.c (ereal_inf): New.
13124         * real.h: Declare it.
13125         * doc/extend.texi: Document new builtins.
13127 2002-09-04  Richard Henderson  <rth@redhat.com>
13129         * cse.c (cse_insn): Avoid subreg games if the equivalence
13130         is already in the proper mode.
13132 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
13134         PR c/7102
13135         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
13137 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13139         * pa.md (setccfp0, setccfp1): New patterns.
13141 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13143         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
13144         frv_select_section, frv_select_rtx_section,
13145         frv_encode_section_info, frv_unique_section): Delete.
13146         * frv.c: Update for target hooks.
13147         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
13148         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
13149         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
13151 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13153         * ip2k-protos.h (function_prologue, function_epilogue,
13154         encode_section_info): Update to match target hook specification.
13155         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
13156         (function_prologue, function_epilogue, encode_section_info):
13157         Update to match target hook specification.
13158         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
13159         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
13160         (NOTICE_UPDATE_CC): Cast to void.
13161         * ip2k.md: Add defaults in switch statements.
13163 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
13165         * doc/trouble.texi (Interoperation): Update information about C++ ABI
13166         issues.
13168 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
13170         * config/sparc/t-netbsd64: Disable multilib for now.
13172 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
13174         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
13175         * target.h (gcc_target): Add have_srodata_section member.
13176         * varasm.c (section_category): Add SECCAT_SRODATA.
13177         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
13178         READONLY_SDATA_SECTION defined.
13179         (decl_readonly_section_1): True for SECCAT_SRODATA also.
13180         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
13181         (default_unique_section_1): Likewise.
13183 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13185         * expr.c (emit_group_load): Revise to allow splitting TCmode source
13186         into DImode pieces.
13188         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
13189         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
13190         for floating-point register class.
13191         * pa.c (function_arg): Fix handling of modes wider than one word for
13192         TARGET_64BIT.
13194 2002-09-04  J"orn Rennecke <joern.rennecke@superh.com>
13196         * combine.c (make_compound_operation): Don't generate zero / sign
13197         extensions in floating point modes.
13199 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
13201         * doc/c-tree.texi: Fix overfull hboxes.
13202         * doc/cppopts.texi: Ditto.
13203         * doc/extend.texi: Ditto.
13204         * doc/gty.texi: Ditto.
13205         * doc/invoke.texi: Ditto.
13206         * doc/makefile.texi: Ditto.
13207         * doc/rtl.texi: Ditto.
13208         * doc/standards.texi: Ditto.
13209         * doc/tm.texi: Ditto.
13211 2002-09-04  Richard Henderson  <rth@redhat.com>
13213         * c-common.c (builtin_define_with_hex_fp_value): New.
13214         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
13216 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
13218         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
13219         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
13220         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
13221         Warn that these options can break ABI compatibility.
13223 2002-09-04  Richard Henderson  <rth@redhat.com>
13225         * real.c (ereal_to_decimal): Add digits parameter.
13226         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
13227         * c-pretty-print.c (pp_c_real_literal): Update call.
13228         * print-rtl.c (print_rtx): Likewise.
13229         * print-tree.c (print_node_brief, print_node): Likewise.
13230         * sched-vis.c (print_value): Likewise.
13231         * config/arc/arc.c (arc_print_operand): Likewise.
13232         * config/c4x/c4x.c (c4x_print_operand): Likewise.
13233         * config/i370/i370.h (PRINT_OPERAND): Likewise.
13234         * config/i386/i386.c (print_operand): Likewise.
13235         * config/i960/i960.c (i960_print_operand): Likewise.
13236         * config/ip2k/ip2k.c (asm_output_float): Likewise.
13237         * config/m32r/m32r.c (m32r_print_operand): Likewise.
13238         * config/m68hc11/m68hc11.c (print_operand): Likewise.
13239         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
13240         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
13241         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
13242         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
13243         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
13244         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
13245         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
13246         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
13247         * config/mips/mips.c (print_operand): Likewise.
13248         * config/ns32k/ns32k.c (print_operand): Likewise.
13249         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
13250         * config/vax/vax.h (PRINT_OPERAND): Likewise.
13251         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
13253 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
13255         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
13256         xtensa_multibss_section_type_flags.
13257         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
13259 2002-09-04  Richard Henderson  <rth@redhat.com>
13261         * doc/install-old.texi: Don't mention enquire.
13262         * doc/sourcebuild.texi: Update float.h description.
13264 2002-09-04  J"orn Rennecke <joern.rennecke@superh.com>
13266         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
13268 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
13270         * varasm.c (default_section_type_flags): Append _1 to name with
13271         shlib parameter.  Use original name to call new function with
13272         implicit flag_pic.
13273         (decl_readonly_section): Likewise.
13274         (default_elf_select_section): Likewise.
13275         (default_unique_section): Likewise.
13276         (default_bind_local_p): Likewise.
13277         (categorize_decl_for_section): Add shlib parameter to use in place
13278         of implicit flag_pic.
13279         * output.h: Declare new functions with _1 and shlib argument.
13281 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
13283         * doc/install.texi: Fix typos, formatting problems, and obvious
13284         overfull/underfull boxes.
13286         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
13287         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
13288         include its file, compat.texi.
13289         * doc/compat.texi: New file with new chapter, Binary Compatibility.
13291 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
13293         Debian BTS Bug #157416
13294         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
13295         * cpplib.c (destringize_and_run): Kludge around getting
13296         tokens from in-progress macros.
13297         (_cpp_do__Pragma): Simplify.
13299 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
13301         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
13302         (CPP_CPU_SPEC): Remove.
13303         (TARGET_CPU_CPP_BUILTINS): New.
13304         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
13305         (CPP_SPEC): Remove.
13306         (TARGET_OS_CPP_BUILTINS): New.
13307         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
13308         (TARGET_OS_CPP_BUILTINS): New.
13309         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
13310         TARGET_OS_CPP_BUILTINS.
13311         (CPP_PREDEFINES): Remove.
13312         (CPLUSPLUS_CPP_SPEC): Remove.
13313         (TARGET_OS_CPP_BUILTINS): New.
13315 2002-09-03  Richard Henderson  <rth@redhat.com>
13317         * Makefile.in (USER_H): Add ginclude/float.h.
13318         (FLOAT_H): Remove.
13319         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
13320         (mostlyclean): Don't remove float.h intermediate files.
13321         (distclean): Don't remove float.h.
13322         * config.gcc: Remove all float_format references.
13323         * configure.in (float_format, float_h_file): Remove.
13325         * c-common.c: Include tree-inline.h.
13326         (builtin_define_with_int_value): New.
13327         (builtin_define_type_precision): Use it.
13328         (builtin_define_float_constants): New.
13329         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
13330         __FLT_EVAL_METHOD__.
13331         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
13332         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
13333         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
13334         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
13335         (TARGET_FLT_EVAL_METHOD): New.
13337         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
13338         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
13339         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
13340         * ginclude/float.h: New.
13342 2002-09-03  Stan Shebs  <shebs@apple.com>
13344         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
13345         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
13346         (PREFERRED_DEBUGGING_TYPE): Ditto.
13347         (ASM_OUTPUT_IDENT): Remove empty definition.
13349 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
13351         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
13352         cxx_target.
13353         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
13354         handling routine for builtin pragma.
13355         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
13356         Registered pragma handling routine.
13357         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
13358         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
13359         If builtin pragma seen for math routine and C89 conformance is
13360         requested use different math function in order to set errno.
13361         * t-ia64 (ia64-c.o): Add new rule for new file.
13363 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
13365         * config/s390/s390.md ("movti"): Add Q->Q alternative.
13366         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
13367         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
13369         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
13370         "*movsf_ss"): Remove.
13372 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13374         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
13375         Delete macros.
13377 2002-09-03   Arati Dikey  <aratid@kpit.com>
13379         * h8300.c (asm_file_start): Corrected optimization comment.
13381 2002-09-03  Stan Shebs  <shebs@apple.com>
13383         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
13384         * c-tree.h (recognize_objc_keyword): Remove decl.
13385         * c-typeck.c (comp_target_types): Update a comment.
13387 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
13389         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
13390         and register validity checks.
13391         (general_s_operand): Adapt to s390_decompose_address interface change.
13392         (q_constraint): Likewise.
13393         (s390_expand_plus_operand): Likewise.
13394         (legitimiate_address_p): Likewise.
13395         (legitimate_la_operand_p): Likewise.
13396         (legitimize_la_operand): Likewise.
13397         (print_operand_address): Likewise.
13398         (print_operand): Likewise.
13400 2002-09-03  Nicola Pero  <n.pero@mi.flashnet.it>
13402         PR objc/5956:
13403         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
13404         was causing the new selector never to match the existing ones
13405         (Patch by Alexander Malmberg <alexander@malmberg.org>).
13407 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
13409         * config/i386/i386.md ("femms"): Add "memory" attr "none".
13411 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
13413         * expr.c (expand_expr): Remove extraneous comment and code.
13415 2002-08-31  Richard Henderson  <rth@redhat.com>
13417         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
13419 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13421         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
13423 2002-08-30  Richard Henderson  <rth@redhat.com>
13425         PR opt/7515
13426         * c-objc-common.c: Include target.h.
13427         (c_cannot_inline_tree_fn): Don't auto-inline functions that
13428         don't bind locally.  Factor setting DECL_UNINLINABLE.
13429         * Makefile.in (c-objc-common.o): Update.
13431 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
13433         * doc/install.texi (Configuration, Building): Fix a typo and
13434         some formatting directives.
13436 2002-08-30  Paul Koning <pkoning@equallogic.com>
13438         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
13439         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
13440         implemented" note.
13441         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
13442         for alphabetic order.
13443         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
13444         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
13445         (VAX_HALFWORD_ORDER): Document.
13446         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
13447         IEEE float format.
13448         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
13449         (ASM_OUTPUT_LABEL_REF): Fix font.
13450         (CASE_VECTOR_SHORTEN_MODE): Ditto.
13452 2002-08-30  Denis Chertykov  <denisc@overta.ru>
13454         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
13455         stuff.
13456         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
13457         CONST_DOUBLE constants.
13459 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
13461         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
13462         related defines to...
13463         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
13464         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
13465         as a no-op.
13467 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
13469         * config/arm/arm.c (arm_asm_output_labelref): New function.
13470         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
13471         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
13473 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
13475         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
13476         memory exhausted" workarounds.
13478 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13480         * diagnostic.c (fancy_abort): Don't repeat "internal error".
13481         * toplev.c (crash_signal): Likewise.
13483 2002-08-30  Nicola Pero  <n.pero@mi.flashnet.it>
13485         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
13486         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
13487         Extended, updated documentation.
13488         (-Wundeclared-selector): Documented.
13490 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
13492         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
13493         the value 1.  Do not undef before defining.
13494         * config/darwin.h: Likewise.
13495         * config/dbx.h: Likewise.
13496         * config/dbxcoff.h: Likewise.
13497         * config/dbxelf.h: Likewise.
13498         * config/elfos.h: Likewise.
13499         * config/interix.h: Likewise.
13500         * config/lynx-ng.h: Likewise.
13501         * config/lynx.h: Likewise.
13502         * config/netware.h: Likewise.
13503         * config/psos.h: Likewise.
13504         * config/svr3.h: Likewise.
13505         * config/alpha/alpha.h: Likewise.
13506         * config/alpha/elf.h: Likewise.
13507         * config/alpha/vms.h: Likewise.
13508         * config/arc/arc.h: Likewise.
13509         * config/arm/aout.h: Likewise.
13510         * config/arm/coff.h: Likewise.
13511         * config/c4x/c4x.h: Likewise.
13512         * config/h8300/h8300.h: Likewise.
13513         * config/i386/cygwin.h: Likewise.
13514         * config/i386/djgpp.h: Likewise.
13515         * config/i386/gas.h: Likewise.
13516         * config/i386/gstabs.h: Likewise.
13517         * config/i386/i386-coff.h: Likewise.
13518         * config/i386/i386-interix.h: Likewise.
13519         * config/i386/sco5.h: Likewise.
13520         * config/i386/svr3dbx.h: Likewise.
13521         * config/i386/sysv3.h: Likewise.
13522         * config/i386/win32.h: Likewise.
13523         * config/i386/x86-64.h: Likewise.
13524         * config/i960/i960.h: Likewise.
13525         * config/ia64/ia64.h: Likewise.
13526         * config/ip2k/ip2k.h: Likewise.
13527         * config/m32r/m32r.h: Likewise.
13528         * config/m68k/3b1.h: Likewise.
13529         * config/m68k/3b1g.h: Likewise.
13530         * config/m68k/ccur-GAS.h: Likewise.
13531         * config/m68k/coff.h: Likewise.
13532         * config/m68k/hp2bsd.h: Likewise.
13533         * config/m68k/hp310g.h: Likewise.
13534         * config/m68k/hp320g.h: Likewise.
13535         * config/m68k/hp3bsd.h: Likewise.
13536         * config/m68k/hp3bsd44.h: Likewise.
13537         * config/m68k/linux-aout.h: Likewise.
13538         * config/m68k/m68k-aout.h: Likewise.
13539         * config/m68k/mot3300.h: Likewise.
13540         * config/m68k/netbsd.h: Likewise.
13541         * config/m68k/openbsd.h: Likewise.
13542         * config/m68k/pbb.h: Likewise.
13543         * config/m68k/plexus.h: Likewise.
13544         * config/m68k/sun2.h: Likewise.
13545         * config/m68k/sun3.h: Likewise.
13546         * config/m68k/tower-as.h: Likewise.
13547         * config/m68k/vxm68k.h: Likewise.
13548         * config/m88k/aout-dbx.h: Likewise.
13549         * config/m88k/m88k-aout.h: Likewise.
13550         * config/mcore/mcore-elf.h: Likewise.
13551         * config/mcore/mcore-pe.h: Likewise.
13552         * config/mips/elf.h: Likewise.
13553         * config/mips/elf64.h: Likewise.
13554         * config/mips/iris5gas.h: Likewise.
13555         * config/mips/iris6.h: Likewise.
13556         * config/mips/mips.h: Likewise.
13557         * config/mips/sni-gas.h: Likewise.
13558         * config/mmix/mmix.h: Likewise.
13559         * config/ns32k/netbsd.h: Likewise.
13560         * config/pa/pa64-hpux.h: Likewise.
13561         * config/romp/romp.h: Likewise.
13562         * config/rs6000/sysv4.h: Likewise.
13563         * config/rs6000/xcoff.h: Likewise.
13564         * config/sh/coff.h: Likewise.
13565         * config/sh/elf.h: Likewise.
13566         * config/sparc/linux64.h: Likewise.
13567         * config/sparc/liteelf.h: Likewise.
13568         * config/sparc/netbsd.h: Likewise.
13569         * config/sparc/openbsd.h: Likewise.
13570         * config/sparc/pbd.h: Likewise.
13571         * config/sparc/sp64-elf.h: Likewise.
13572         * config/sparc/sp86x-elf.h: Likewise.
13573         * config/sparc/sparc.h: Likewise.
13574         * config/vax/vax.h: Likewise.
13575         * config/vax/vaxv.h: Likewise.
13577 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
13579         * h8300.c (shift_alg_hi): Various tweaks to improve performance
13580         of HImode shifts.
13581         (get_shift_alg): Corresponding changes.
13583 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13585         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
13587 2002-08-29  Richard Henderson  <rth@redhat.com>
13589         * expr.h (enum block_op_methods): New.
13590         (emit_block_move): Update prototype.
13591         * expr.c (block_move_libcall_safe_for_call_parm): New.
13592         (emit_block_move_via_loop): New.
13593         (emit_block_move): Use them.  New argument METHOD.
13594         (emit_push_insn): Always respect the given alignment.
13595         (expand_assignment): Update call to emit_block_move.
13596         (store_expr, store_field, expand_expr): Likewise.
13597         * builtins.c (expand_builtin_apply): Likewise.
13598         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
13599         * function.c (expand_function_end): Likewise.
13600         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
13601         * config/sparc/sparc.c (sparc_va_arg): Likewise.
13602         * calls.c (expand_call, emit_library_call_value_1): Likewise.
13603         (save_fixed_argument_area): Use emit_block_move with
13604         BLOCK_OP_CALL_PARM instead of move_by_pieces.
13605         (restore_fixed_argument_area): Likewise.
13606         (store_one_arg): Fix alignment parameter to emit_push_insn.
13608 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13610         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
13612 2002-08-29  Catherine Moore  <clm@redhat.com>
13614         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
13615         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
13616         (PREDICATE_CODES): Include new predicates.
13617         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
13618         (TARGET_SWITCHES):  Add strict-align.
13619         (TARGET_STRICT_ALIGN): New.
13620         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
13621         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
13622         Define.
13623         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
13624         v850_muldi3.
13625         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
13626         L_callt_save_r2_r31, L_return_r2_r31,
13627         L_save_all_interrupt): Change addi to add.
13628         (L_save_interrupt, L_return_interrupt): Rework.
13629         (__return_r31):  Correct .size directive.
13630         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
13631         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
13632         New routines.
13633         * config/v850/v850.c (expand_prologue): Call
13634         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
13635         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
13636         (reg_or_int9_operand): New predicate.
13637         (reg_or_const_operand): New routine.
13638         * config/v850/v850.md (return_interrupt): Changed from
13639         restore_interrupt.
13640         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
13641         (callt_save_interrupt): Change save sequence.
13642         (callt_return_interrupt): New.
13643         (save_interrupt): Don't use runtime function for LONG_CALLS
13644         and TARGET_PROLOG_FUNCTION.
13645         (save_all_interrupt): Likewise.
13646         (mulsi3): Use new predicate.
13647         (moviscc): Disallow some combination of constants.
13648         Fix define_split for sasf insns, so that it will not generate bad
13649         code if operand0 and operand5 are the same.
13650         * config/v850/v850-protos.h: Prototype new predicates.
13652 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13654         * c-common.c (builtin_define_type_precision): New function.
13655         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
13656         wchar_t is unsigned in C++.
13657         * doc/cpp.texi (Common Predefined Macros): Document
13658         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
13659         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
13660         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
13662 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
13664         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
13665         section.  Mention that it is enabled by -Wall.
13666         (-Wall): Mention that there can be language-specific warnings as well.
13667         (-Wctor-dtor-privacy): Mention that it is enabled by default.
13668         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
13670 2002-08-28  J"orn Rennecke <joern.rennecke@superh.com>
13672         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
13673         if it is ever live.
13675         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
13676         attribute for SHCOMPACT.
13678         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
13679         appropriately.
13680         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
13681         by the ABI.
13683         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
13685 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
13687         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
13688         "MASK_GAS|MASK_ABICALLS".
13689         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
13690         (TARGET_DEFAULT): Remove.
13691         (MACHINE_TYPE): Undefine before defining.
13692         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
13694 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
13696         * c-common.c (warn_abi): New variable.
13697         * c-common.h (warn_abi): Likewise.
13698         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
13699         (c_common_decode_option): Handle it.
13700         * doc/invoke.texi: Document -Wabi.
13702 2002-08-27  Nicola Pero  <n.pero@mi.flashnet.it>
13704         * c-common.c (warn_undeclared_selector): New variable.
13705         * c-common.h (warn_undeclared_selector): Idem.
13706         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
13707         to on when -Wundeclared-selector is found.
13708         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
13709         * objc/objc-act.c (build_selector_expr): If
13710         warn_undeclared_selector is set, check that the selector has
13711         already been defined, and emit a warning if not.
13713 2002-08-27  Nick Clifton  <nickc@redhat.com>
13714             Catherine Moore  <clm@redhat.com>
13715             Jim Wilson  <wilson@cygnus.com>
13717         * config.gcc: Add v850e-*-* target.
13718         Add --with-cpu= support for v850.
13719         * config/v850/lib1funcs.asm: Add v850e callt functions.
13720         * config/v850/v850.h: Add support for v850e target.
13721         * config/v850/v850.c: Add functions to support v850e target.
13722         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
13723         * config/v850/v850.md: Add patterns for v850e instructions.
13724         * doc/invoke.texi: Document new v850e command line switches.
13726 2002-08-27  J"orn Rennecke <joern.rennecke@superh.com>
13727                           Aldy Hernandez <aldyh at redhat dot com>
13729         * doc/tm.texi: Applied numerous fixes to the automaton based
13730         scheduler descrition.
13732 2002-08-27  Jan Hubicka  <jh@suse.cz>
13734         * i386.c (classify_argument): Handle variable sized objects.
13736 2002-08-27  Jan Hubicka  <jh@suse.cz>
13738         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
13740 2002-08-27  Jan Hubicka  <jh@suse.cz>
13742         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
13744 2002-08-27  Jan Hubicka  <jh@suse.cz>
13746         * i386.c (classify_argument): Properly compute word size of the analyzed object.
13748 2002-08-27  J"orn Rennecke <joern.rennecke@superh.com>
13750         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
13751         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
13752         accordingly.
13753         (attribute insn_class): Provide default definitions based on type.
13754         Remove all insn-specific settings.
13755         (various function units): Remove old SH4 scheduling.
13756         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
13757         New attributes.  Set them where appropriate.
13758         (cpu unit FS): Don't define / use.
13759         (F3, load_store): New cpu units.
13760         (F01): New reservation.
13761         (all insn_reservations): Make dependent on sh4 pipeline model.
13762         Fix latencies.
13763         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
13764         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
13765         (mt insn_reservation): Use type mt_group.
13766         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
13767         sh4_fload and sh4_store.
13768         (insn_reservation branch_zero and branch): Replace with sh4_branch.
13769         (insn_reservation branch_far): Replace with sh4_return.
13770         (insn_reservation return_from_exp): Rename to:
13771         (sh4_return_from_exp).  Change to be just d_lock*5.
13772         (insn_reservation lds_to_pr): Rename to:
13773         (sh4_lds_to_pr).  Change to be just d_lock*2.
13774         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
13775         d_lock*2.
13776         (insn_reservation prload_mem): Rename to:
13777         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
13778         (insn_reservation fpscr_store): Rename to:
13779         (fpscr_load).  Change to d_lock,nothing,F1*3.
13780         (insn_reservation fpscr_store_mem): Rename to:
13781         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
13782         (insn_reservation multi): Change to
13783         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
13784         (insn_reservation fp_arith): Change to issue,F01,F2.
13785         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
13786         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
13787         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
13788         (insn_reservation fp_double_cmp): Change to
13789         d_lock,(d_lock+F01),F1+F2,F2.
13790         (insn_reservation dp_div): Change to
13791         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
13792         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
13793         (sh_adjust_cost, SHcompact): Differentiate between different
13794         kinds of dependencies.  Drop factor of ten for superscalar.
13795         Use new instruction types.  Add new exception rules.
13797         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
13799         * sh.md (mperm_w): Add DONE.
13801 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
13803         * longlong.h: Import current PowerPC defintion from GMP-4.1.
13805         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
13807         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
13809 2002-08-27  J"orn Rennecke <joern.rennecke@superh.com>
13811         * sh.h (MAX_FIXED_MODE_SIZE): Define.
13813 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
13815         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
13816         delimiter.
13818 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13820         * c-common.c (cpp_define_data_format): New function.
13821         (cb_register_builtins): Call it.
13823         * doc/cpp.texi (Common Predefined Macros): Document
13824         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
13825         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
13826         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
13827         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
13828         __TARGET_USES_VAX_H_FLOAT__.
13830 2002-08-26  Ziemowit Laski <zlaski@apple.com>
13832         * objc/objc-act.c (get_super_receiver): If inside a class method
13833         of a category, cast the receiver to 'id' before accessing the 'isa'
13834         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
13836 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
13838         * config/s390/s390-protos.h (s390_function_prologue,
13839         s390_function_epilogue): Remove.
13840         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
13841         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
13843         config/s390/s390.c (s390_machine_dependent_recorg): New function.
13844         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
13845         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
13846         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
13847         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
13849         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
13850         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
13851         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
13852         function is not a leaf function.  Use save_gprs and restore_gprs.
13853         (s390_emit_epilogue): Likewise.
13854         (save_gprs, restore_gprs): New functions.
13855         (struct s390_frame): Remove return_reg_saved_p member.
13856         (save_fprs_p): Remove.
13857         (s390_optimize_prolog): New function.
13858         (s390_legitimate_reload_constant): Remove now unnecessary check.
13860         (s390_function_count): Remove.
13861         (s390_output_symbolic_const): Replace s390_function_count by
13862         current_function_funcdef_no.
13863         (s390_output_constant_pool): Likewise.
13865         (legitimize_pic_address): Use regs_ever_live to track PIC register
13866         instead of current_function_uses_pic_offset_table.
13867         (s390_emit_prologue): Likewise.
13868         config/s390/s390.md ("call", "call_value"): Likewise.
13870 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
13872         * c-opts.c (find_opt): Don't complain about wrong languages
13873         here.  Return exact matches even for wrong language.
13874         (c_common_decode_option): Complain about wrong languages
13875         here.
13877 2002-08-24  Stuart Hastings  <stuart@apple.com>
13879         * function.h (struct function): Add flag
13880         all_throwers_are_sibcalls.
13881         * except.c (set_nothrow_function_flags): Replaces
13882         nothrow_function_p. Set new flag.
13883         * except.h (set_nothrow_function_flags): Replaces
13884         nothrow_function_p.
13885         * dwarf2out.c (struct dw_fde_struct): Add flag
13886         all_throwers_are_sibcalls.
13887         (output_call_frame_info): Test it.
13888         (dwarf2out_begin_prologue) Propagate it from cfun to
13889         dw_fde_struct.
13890         * toplev.c (rest_of_compilation): Update calls to
13891         nothrow_function_p.
13893 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
13895         * ggc-page.c (compute_inverse): Short circuit calculation for
13896         object sizes larger than half a page.
13898 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
13900         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
13901         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
13902         default.
13903         (rs6000_elf_unique_section): Likewise.
13905 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13907         * ns32k.c (ns32k_globalize_label): Delete.
13908         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
13910 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
13912         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
13913         for loading delta with num_insns_constant_wide.  Calculate
13914         delta_low, delta_high without using a conditional.
13916 2002-08-22  Jason Merrill  <jason@redhat.com>
13918         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
13919         * c-common.def: Adjust.
13920         * c-dump.c (c_dump_tree): Adjust.
13921         * c-semantics.c (genrtl_return_stmt): Adjust.
13922         * c-pretty-print.c (pp_c_statement): Adjust.
13923         * tree-inline.c (copy_body_r): Adjust.
13925 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
13927         * ggc-page.c: Avoid division in ggc_set_mark.
13928         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
13929         compute_inverse): New.
13930         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
13931         (init_ggc): Initialize inverse_table.
13933 2002-08-22  Tom Tromey  <tromey@redhat.com>
13935         * doc/install.texi (Configuration): Document --datadir.
13937 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
13939         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
13941 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
13943         * gengtype-lex.l (ID): Allow underscore as first character.
13945 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
13947         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
13948         function.
13949         (rs6000_xcoff_asm_named_section): Rename.
13950         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
13952 2002-08-21  Tom Tromey  <tromey@redhat.com>
13954         For PR java/6005 and PR java/7611:
13955         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
13956         (fold): Likewise.
13957         * langhooks.c (lhd_can_use_bit_fields_p): New function.
13958         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
13959         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
13960         (LANG_HOOKS_INITIALIZER): Use it.
13961         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
13962         field.
13964 2002-08-21  Stan Shebs  <shebs@apple.com>
13966         * tree.c (finish_vector_type): Fix a typo in a comment.
13967         * Makefile.in: Fix "the the" stutters in comments.
13968         * genautomata.c: Ditto.
13969         * ifcvt.c: Ditto.
13970         * regrename.c: Ditto.
13971         * config/alpha/alpha.c: Ditto.
13972         * config/alpha/vms-crt0-64.c: Ditto.
13973         * config/alpha/vms-crt0.c: Ditto.
13974         * config/alpha/vms-psxcrt0-64.c: Ditto.
13975         * config/alpha/vms-psxcrt0.c: Ditto.
13976         * config/d30v/d30v.h: Ditto.
13977         * config/fr30/fr30.h: Ditto.
13978         * config/rs6000/rs6000.c: Ditto.
13979         * config/stormy16/stormy16.h: Ditto.
13980         * doc/md.texi: Ditto.
13982 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13984         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
13986 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
13988         * c-decl.c (grokdeclarator): Make invalid combinations with long,
13989         short, signed or unsigned into hard errors.  Fixes PR c/4319.
13990         Also make duplicate modifiers such as "short short" into hard
13991         errors.
13993 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
13994             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13996         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
13997         to the actual end.  Add '@end table' and '@table @code'.
13999 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
14001         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
14003         * unroll.c (biv_total_increment): Don't try to compute the total
14004         increment for FP BIVs.
14006 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14008         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
14009         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
14010         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
14011         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
14012         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
14013         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
14014         (GLOBAL_ASM_OP): Define.
14015         * arm.c (aof_globalize_label): New function.
14016         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
14017         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
14018         * c4x.c (c4x_globalize_label): New function.
14019         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
14020         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
14021         (GLOBAL_ASM_OP): Define.
14022         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
14023         * darwin-protos.h (darwin_globalize_label): Declare.
14024         * darwin.c (darwin_globalize_label): New function.
14025         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
14026         (ASM_GLOBALIZE_LABEL): Delete.
14027         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
14028         * dsp16xx.c (asm_output_common): Use target hook.
14029         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
14030         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
14031         (GLOBAL_ASM_OP): Define.
14032         * i370.c (i370_globalize_label): New function.
14033         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
14034         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
14035         * i386.c (ix86_asm_file_end): Use target hook.
14036         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
14037         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
14038         * ia64.c (ia64_asm_output_external): Likewise.
14039         * ia64/sysv4.h: Update comment.
14040         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
14041         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
14042         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
14043         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
14044         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
14045         * mmix-protos.h (mmix_asm_globalize_label): Delete.
14046         * mmix.c (mmix_asm_globalize_label): Likewise.
14047         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
14048         (GLOBAL_ASM_OP): Define.
14049         * ns32k.c (ns32k_globalize_label): New function.
14050         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
14051         (ASM_GLOBALIZE_LABEL): Delete.
14052         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
14053         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
14054         * pa.c (pa_globalize_label): New function.
14055         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
14056         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
14057         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
14058         (GLOBAL_ASM_OP): Define.
14059         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
14060         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
14061         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
14062         (GLOBAL_ASM_OP): Define.
14063         * v850.c (v850_output_aligned_bss): Use target hook.
14064         * vax.c (vms_globalize_label): New function.
14065         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
14066         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
14067         (GLOBAL_ASM_OP): Define.
14068         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
14069         * doc/tm.texi: Update docs.
14070         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
14071         target hook.
14072         * final.c (output_alternate_entry_point): Likewise.
14073         * hooks.c (hook_FILEptr_constcharptr_void): New function.
14074         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
14075         * output.h (assemble_global): Delete.
14076         (default_globalize_label): Declare.
14077         * system.h (ASM_GLOBALIZE_LABEL): Poison.
14078         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
14079         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
14080         * target.h (gcc_target): Add globalize_label member.
14081         * varasm.c (asm_output_bss, asm_output_aligned_bss,
14082         globalize_decl): Use target hook.
14083         (assemble_global): Delete.
14084         (default_globalize_label): New function.
14086 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14088         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
14090 2002-08-20  Devang Patel  <dpatel@apple.com>
14091         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
14093 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14095         * arc.c (output_shift): Use stdio instead of asm_fprintf.
14096         * arm.c (thumb_output_function_prologue): Likewise.
14097         * avr.c (print_operand): Likewise.
14098         * c4x.c (c4x_print_operand): Likewise.
14099         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
14100         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
14101         * cris.c (cris_target_asm_function_prologue,
14102         cris_asm_output_mi_thunk): Likewise.
14103         * h8300.c (print_operand): Likewise.
14104         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
14105         * ip2k.c (print_operand): Likewise.  Fix format specifier.
14106         * m68hc11.c (asm_print_register, print_operand,
14107         print_operand_address): Use stdio instead of asm_fprintf.
14108         (print_operand_address): Fix format specifier.
14109         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
14110         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
14111         asm_fprintf.
14112         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
14113         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
14114         * m68k.c (m68k_output_function_prologue,
14115         m68k_output_function_epilogue, print_operand): Likewise.
14116         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
14117         Likewise.  Fix format specifier.
14118         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
14119         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
14120         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
14122 2002-08-15  Eric Christopher  <echristo@redhat.com>
14123             Jeff Knaggs  <jknaggs@redhat.com>
14125         * config.gcc (mipsisa64sr71k-elf): New target.
14126         * config/mips/sr71k.md: New file.
14127         * config/mips/mips.md: Use it.
14128         (rot*): Add sr71k specifics.
14129         * config/mips/t-sr71k: New file.
14130         * config/mips/mips.h (sr71k): New cpu.
14131         (TARGET_SR71K): Use it.
14132         (TUNE_SR71K): Ditto.
14133         (GENERATE_BRANCHLIKELY): Ditto.
14134         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
14135         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
14136         * config/mips/mips.c (sr71k): New cpu.
14137         (mips_use_dfa_pipeline_interface): Use.
14139 2002-08-15  Eric Christopher  <echristo@redhat.com>
14140             Richard Sandiford <rsandifo@redhat.com>
14141             Aldy Hernandez  <aldyh@redhat.com>
14142             Graham Stott    <grahams@redhat.com>
14143             Michael Meissner  <meissner@redhat.com>
14144             Gavin Romig-Koch  <gavin@redhat.com>
14145             Ken Raeburn  <raeburn@cygnus.com>
14146             Alexandre Oliva <aoliva@redhat.com>
14148         * config.gcc (mips64vr-elf): New target.
14149         * config/mips/5400.md: New file.
14150         * config/mips/5500.md: Ditto.
14151         * config/mips/mips.md: Use them.
14152         (frsqrt): New.
14153         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
14154         cpus.
14155         (mips_issue_rate): Use them.
14156         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
14157         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
14158         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
14159         cpus.
14160         (TARGET_MIPSx): Use them.
14161         (TUNE_MIPSx): Ditto.
14162         (GETNATE_MULT3_SI): Ditto.
14163         (ISA_HAS_BRANCHLIKELY): Ditto.
14164         (ISA_HAS_CONDMOVE): Ditto.
14165         (ISA_HAS_NMADD_NMSUB): Ditto.
14166         (ISA_HAS_MULHI): New. Ditto.
14167         (ISA_HAS_MULS): Ditto.
14168         (ISA_HAS_MSAC): Ditto.
14169         (ISA_HAS_MACC): Ditto.
14170         (ISA_HAS_ROTR_SI): Ditto.
14171         (ISA_HAS_ROTR_DI): Ditto.
14172         (RTX_COSTS): Use.
14174 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14176         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
14177         at head.
14178         (remove_dup_nonsys_dirs): New function.
14179         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
14180         (merge_include_chains): Remove non-system include directories from
14181         quote and bracket include chains when they duplicate equivalent system
14182         directories.
14183         * doc/cpp.texi (-I): Update.
14184         * doc/cppopts.texi (-I): Update.
14185         * doc/install.texi (--with-local-prefix): Further document usage of
14186         this option.
14187         * doc/invoke.texi (-I): Update.
14189 2002-08-20  Richard Henderson  <rth@redhat.com>
14191         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
14192         (emit_block_move): Split out subroutines.
14193         (emit_block_move_via_movstr): New.
14194         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
14195         (emit_block_move_libcall_fn): New.  Construct function prototype for
14196         bcopy as well.
14197         (clear_storage): Split out subroutines.
14198         (clear_storage_via_clrstr): New.
14199         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
14200         (clear_storage_libcall_fn): New.  Construct function prototype for
14201         bzero as well.
14202         (emit_push_insn): Use emit_block_move.
14203         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
14204         (store_constructor): Likewise.
14206 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
14208         * objc/objc-act.c (building_objc_message_expr): Rename to
14209         current_objc_message_selector.
14211 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
14213         * objc/objc-act.c (build_ivar_chain): Remove.
14214         (objc_copy_list): Likewise.
14215         (get_class_ivars): Inline call to removed build_ivar_chain
14216         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
14217         slot; use that slot (rather than CLASS_IVARS) when accessing
14218         ivars for base classes.  Call copy_list and chainon instead of
14219         objc_copy_list.
14220         (build_private_template): Call get_class_ivars instead of
14221         build_ivar_chain.
14222         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
14223         (continue_class): Call get_class_ivars instead of
14224         build_ivar_chain.
14225         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
14226         of DECL_BIT_FIELD (which may have been cleared).
14227         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
14229 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14231         * genautomata.c (output_translate_vect, output_state_ainsn_table,
14232         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
14233         in output file.
14234         (output_internal_min_issue_delay_func): Initialize variable in
14235         output file.
14237 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
14239         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
14240         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
14242 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
14243             Steve Ellcey  <sje@cup.hp.com>
14245         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
14246         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
14247         * explow.c (trunc_int_for_mode): Abort when the mode is not
14248         a scaler integer mode.
14249         * combine.c (expand_compound_operation): Don't expand Vector
14250         or Complex modes into shifts.
14251         (expand_field_assignment): Don't do bitwise arithmatic and
14252         shifts on Vector or Complex modes.
14253         (simplify_comparison): Don't call trunc_int_for_mode
14254         for VOIDmode.
14255         * recog.c (general_operand): Likewise.
14256         (immediate_operand): Likewise.
14257         (nonmemory_operand): Likewise.
14259 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
14261         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
14262         multi-instruction SImode constant.  Add REG_EQUAL note.
14263         * config/rs6000/rs6000.md (movsi splitter): Use
14264         rs6000_emit_set_const.
14266 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14268         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
14269         the macro test controlling its use.
14271 2002-08-18  H.J. Lu  (hjl@gnu.org)
14273         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
14274         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
14275         gnu_ld=yes.
14276         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
14277         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
14278         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
14279         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
14280         here.
14281         (cris-*-linux*): Remove setting thread_file here.
14283 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
14285         PR preprocessor/7602
14286         * cppinit.c (path_include): Treat the system environment
14287         variables as being cxx_aware.
14289 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
14291         * c-decl.c (flexible_array_type_p): New function.
14292         (grokdeclarator, finish_struct): Use it.
14293         * doc/extend.texi: Document constraints on use of structures with
14294         flexible array members.
14296 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
14298         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
14299         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
14300         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
14302 2002-08-16  Stan Shebs  <shebs@apple.com>
14304         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
14305         for ObjC with -fnext-runtime.
14306         * doc/cpp.texi: Document it.
14308 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
14310         * doc/install.texi (Final installation): Replace links to individual
14311         build status pages with a link to a common page that lists them all.
14313 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
14315         * doc/invoke.texi: Fix typo.
14317 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
14319         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
14321 2002-08-16  Andrew Haley  <aph@redhat.com>
14323         * tree-inline.c: Add includes for Java inliner.
14324         (remap_decl): Don't handle anonymous types for Java.
14325         (remap_block): Add handling for Java trees.
14326         (copy_scope_stmt): Conditionalize for non-Java use only.
14327         (copy_body_r): Handle Java trees.  Add handling for
14328         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
14329         (initialize_inlined_parameters):  Handle Java trees.
14330         (declare_return_variable): Likewise.
14331         (expand_call_inline): Handle Java trees.
14332         (walk_tree): Likewise.
14333         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
14334         (add_stmt_to_compound): New function.
14336 2002-08-15  Richard Henderson  <rth@redhat.com>
14338         * Makefile.in (LOOSE_WARN): Remove -fno-common.
14339         (NOCOMMON_FLAG): New substitution point.
14340         (GCC_WARN_CFLAGS): Include it.
14341         * configure.in (ac_checking): Set nocommon_flag.
14342         (nocommon_flag): New substitution point.
14344 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
14346         * c-tree.h (skip_evaluation): Move declaration...
14347         * c-common.h: ... here.
14348         * c-typeck.c (build_external_ref): Don't assemble_external nor
14349         mark a tree as used if skip_evaluation is set.
14350         * c-parse.in (typeof): New non-terminal to set skip_evaluation
14351         around TYPEOF.
14352         (typespec_nonreserved_nonattr): Use it.
14354 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
14356         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
14357         (xcoff_debug_hooks): Update end_prologue.
14358         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
14359         * debug.h (end_prologue): Add file arg.
14360         (end_epilogue): Add line and file args.
14361         (dwarf2out_end_epilogue): Add line and file args.
14362         (vmsdbgout_after_prologue): Remove.
14363         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
14364         (dwarf2_debug_hooks): Update end_prologue.
14365         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
14366         (dwarfout_end_prologue): Add file arg.
14367         * final.c (vmsdbgout_after_prologue): Remove
14368         (final_end_function): Update end_epilogue call.
14369         (final_scan_insn): Update end_prologue call.
14370         * sdbout.c (sdbout_end_epilogue): Add line and file args.
14371         (sdbout_end_prologue): Add file arg.
14372         (sdb_debug_hooks): Update end_prologue.
14373         (sdb_begin_prologue): Update sdbout_end_prologue call.
14374         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
14375         vmsdbgout_end_function.
14376         (vmsdbgout_end_prologue): New function renamed from
14377         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
14378         (vmsdbgout_end_function): New function.
14379         (vmsdbgout_end_epilogue): Add line and file args. Call
14380         vmsdbgout_source_line.
14381         (write_pclines): Write only valid line numbers.
14382         (write_srccorr): Don't write source correlation records if 0 lines.
14383         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
14385 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
14387         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
14388         (_Unwind_Internal_Ptr): 32 bit version for use in
14389         read_encoded_value_with_base.
14390         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
14391         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
14392         right size.
14394 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14396         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
14397         signed/unsigned warnings.
14399         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
14400         record_reg_classes): Likewise.
14402         * reload.c (reload_inner_reg_of_subreg, push_reload,
14403         find_reloads_address_1): Likewise.
14405 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
14407         * rs6000.c (output_mi_thunk): Return to function section on
14408         TARGET_ELF.
14410         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
14412 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
14414         * config/s390/s390.c (legitimize_address): Optimize loading
14415         of large displacements.
14417 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
14419         * config/alpha/alpha-protos.h: Update.
14421         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
14422         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
14423         (alpha_linkage_symbol_p): New static function.
14424         (print_operand_address): Print linkage operand.
14426         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
14427         variables.
14428         (reloc_kind): New enum.
14429         (struct alpha_funcs): New struct.
14430         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
14432         (alpha_need_linkage): Rewrite.
14433         (alpha_use_linkage): New global function.
14434         (alpha_write_linkage): Rewrite and make static.
14435         (alpha_write_one_linkage): Rewrite
14437         (alpha_start_function): Remove procedure descriptor output.
14438         (alpha_end_function): Write linkages at end of each function.
14440         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
14441         (call_vms_1, call_value_vms_1): Rewrite.
14443         * config/alpha/vms.h (ASM_FILE_END): Remove.
14445 2002-08-14  Richard Henderson  <rth@redhat.com>
14447         * ggc-page.c (RTL_SIZE): New.
14448         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
14449         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
14451 2002-08-14  Richard Henderson  <rth@redhat.com>
14453         * calls.c: Include target.h.
14454         * Makefile.in (calls.o): Update.
14456         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
14457         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
14459 2002-08-14  Richard Henderson  <rth@redhat.com>
14461         * Makefile.in (LOOSE_WARN): Add -fno-common.
14462         * c-common.h (constant_string_class_name): Add missing extern.
14464 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
14466         PR preprocessor/7358
14467         * c-opts.c (check_deps_environment_vars): Ignore main file
14468         for SUNPRO_DEPENDENCIES.
14469         * cppfiles.c (stack_include_file): Ignore main file if
14470         appropriate.
14471         * cpplib.h (struct cpp_options): New member in deps.
14472         * doc/cppenv.texi: Update.
14474 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
14476         PR preprocessor/7526
14477         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
14479 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
14481         * doc/invoke.texi (-a): Remove documentation.
14482         (-fprofile-arcs): Remove reference to -a, -ax options.
14483         * doc/gcov.texi (Gcov Data Files): Data might be merged.
14485 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
14487         Fix PR/7566
14488         * c-semantics.c (genrtl_case_label): Don't (mis)use
14489         warning_with_decl.
14491 2002-08-14  Dale Johannesen  <dalej@apple.com>
14493         * explow.c (emit_stack_restore):  Emit memory clobbers
14494         preceding the stack pop, to prevent the scheduler from
14495         moving refs to variable arrays below this pop.
14496         * reload1.c (reload):  Preserve these clobbers for sched2.
14497         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
14499 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
14501         * c-opts.c (c_common_post_options): Correct test.
14503 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14505         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
14506         order in call to fprintf.
14508 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14510         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
14512 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
14514         * reload.c (find_reloads): Handle constraint letters marked by
14515         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
14516         (alternative_allows_memconst): Likewise.
14517         * reload1.c (maybe_fix_stack_asms): Likewise.
14518         * recog.c (asm_operand_ok, preprocess_constraints,
14519         constrain_operands): Likewise.
14520         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
14521         * local-alloc.c (block_alloc, requires_inout): Likewise.
14522         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
14524         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
14525         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
14526         * doc/tm.texi: Document these two new target macros.
14528         * config/s390/s390.c (s390_expand_plus_operand): Accept already
14529         valid operands.
14530         (q_constraint): New function.
14531         config/s390/s390-protos.h (q_constraint): Declare it.
14532         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
14533         (EXTRA_MEMORY_CONSTRAINT): New macro.
14535         * config/s390/s390.md: Throughout the machine description,
14536         replace all instances of the constraint combinations 'Qo'
14537         or 'oQ' with simply 'Q'.
14539 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
14541         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
14542         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
14543         (LIBGCC2_CFLAGS): Compile with -mrelax.
14545 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
14547         * doc/invoke.texi: Document -minmax for 68HC12.
14549         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
14550         ("uminqi3"): Likewise.
14551         ("uminhi3", "umaxhi3"): Likewise.
14553         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
14554         (TARGET_MIN_MAX): Define.
14555         (TARGET_SWITCHES): New option -minmax/-mnominmax.
14557 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
14559         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
14560         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
14562         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
14563         (ret, declare, farsym): New gas macros.
14564         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
14565         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
14566         and declare the symbol far when compiled with -mlong-calls.
14567         (__far_trampoline): New for 68HC12 trampoline code to invoke a
14568         far handler using jsr/bsr.
14570         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
14571         (jsr): New macro to transform a 'jsr' into a 'call'.
14573 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
14575         * doc/invoke.texi: Document -mlong-calls for 68HC12.
14577         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
14578         -mlong-calls is specified.
14579         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
14580         assembler directives.
14581         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
14582         (TARGET_SWITCHES): Add -mlong-calls options.
14583         (current_function_far): Declare.
14585         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
14586         into account the page register saved on the stack.
14587         (m68hc11_override_options): Take into account -mlong-calls option.
14588         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
14590         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
14591         if the function is going to be in 68HC12 banked memory (-mlong-calls).
14592         ("*return_16bit"): Likewise.
14593         ("*return_void"): Likewise.
14594         ("call", "call_value"): Use call for a far function call.
14596 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
14598         * toplev.c (parse_options_and_default_flags): Don't call
14599         post_options here.
14600         (general_init): Initialize GC, pools and tree hash here,
14601         instead of lang_independent_init.
14602         (lang_independent_init): Rename backend_init.
14603         (do_compile): Call post_options hook; exit early if there
14604         have been errors after switch processing.
14605         (toplev_main): Update.
14607 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
14609         * c-pretty-print.h: Guard against multiple inclusion.
14610         Robustify macros.
14611         (pp_c_attributes): Declare.
14612         * c-pretty-print.c (pp_c_attributes): New function.
14614 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14616         * m68k.c (m68k_output_function_prologue,
14617         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
14618         and NEWS/MOTOROLA.
14619         * genattrtab.c: Remove dpx2 comment.
14620         * libgcc2.c (__enable_execute_stack): Delete versions for
14621         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
14622         sony_news/SYSTYPE_BSD.
14623         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
14624         __gmicro__, __i860__, __NeXT__ and __pyr__.
14625         * rtl.h: Remove convex comment.
14626         * varasm.c: Likewise.
14628 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14630         * c-opts.c (lang_flags): Const-ify.
14631         * ra-build.c (undef_table): Likewise.
14632         * ra.c (eliminables): Likewise.
14634 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
14636         * tree.h: Guard against multiple inclusion.
14638 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
14640         * reload1.c (reload_cse_simplify): Before checking
14641         REG_FUNCTION_VALUE_P, check REG_P.
14643 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
14645         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
14647 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
14649         * c-opts.c (c_common_init_options): Extra braces needed.
14651 2002-08-13  J"orn Rennecke <joern.rennecke@superh.com>
14653         * sh.c (sh_init_builtins): Add PARAMS to declaration.
14654         (sh_media_init_builtins, sh_expand_builtin): Likewise.
14655         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
14656         (sh_expand_binop_v2sf): Likewise.
14657         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
14658         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
14659         (sh_initialize_trampoline): Likewise.
14661 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
14663         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
14664         new condition code modes.
14665         s390.c (s390_match_ccmode_set): Handle those new CC modes.
14666         (s390_select_ccmode): Likewise.
14667         (s390_branch_condition_mask): Likewise.
14669         * s390-protos.h (s390_tm_ccmode): Declare.
14670         s390.c (s390_tm_ccmode): New function.
14671         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
14673         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
14674         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
14675         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
14677         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
14678         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
14679         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
14680         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
14681         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
14683         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
14684         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
14685         "*cmpqi_ccs_0"): Remove, replace by ...
14686         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
14687         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
14688         "*tstqi", "*tstqi_cconly"): ... these new patterns.
14690         ("*cmpsidi_ccs"): Remove, replace by ...
14691         ("*cmpsi_ccs_sign"): ... this new pattern.
14692         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
14694         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
14695         ("*cli"): ... this new pattern.
14697         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
14698         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
14699         New patterns.
14700         ("adddi3_64"): Rename to "*adddi3_64".
14701         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
14702         ("adddi3"): Adapt expander.
14704         ("*addsi3_cc"): Allow "general_operand" for operand 2.
14705         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
14706         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
14708         ("addhi3", "addqi3"): Remove, replace by ...
14709         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
14711         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
14712         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
14713         ("subdi3"): Replace by insn and splitter "*subdi3_31".
14714         ("subdi3"): New expander.
14716         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
14718         ("subhi3", "subqi3"): Remove, replace by ...
14719         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
14721         ("*muldi3_sign"): New pattern.
14722         ("muldi3"): Do not clobber CC.
14723         ("mulsi3"): Likewise.
14724         ("mulsi_6432"): Likewise.
14726 2002-08-13  Denis Chertykov  <denisc@overta.ru>
14728         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
14729         which can change CC0.
14731 2002-08-13  J"orn Rennecke <joern.rennecke@superh.com>
14733         * gcse.c (adjust_libcall_notes): New function.
14734         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
14736 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
14738         * libgcc2.c (L_bb): Remove unneeded #includes.
14739         (__global_counters, __gthreads_active): Remove unused globals.
14740         (__bb_exit_func): Merge counts into files rather than appending.
14741         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
14742         (ALL_CFLAGS): ... to here.
14744 2002-08-13  Denis Chertykov  <denisc@overta.ru>
14746         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
14747         (function_epilogue): Don't calculate function size.
14748         (ip2k_set_compare): Don't use lookup_const_double.
14749         (asm_file_start): Initialization of commands_in_file removed.
14750         (asm_file_end): Output of commands_in_file removed.
14752         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
14753         __INT_MAX__.
14755 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
14757         * c-opts.c (c_common_init_options): Check option array is
14758         sorted if checking enabled.
14760 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
14762         * c-pretty-print.c: #include "c-tree.h".
14763         (pp_c_simple_type_specifier): Tweak.
14764         (pp_c_storage_class_specifier): New.
14765         (pp_c_function_specifier): Likewise.
14766         (pp_c_declaration_specifiers): Likewise.
14767         (pp_c_init_declarator): Likewise.
14768         (pp_c_declaration): Likewise.
14769         (pp_c_direct_declarator): Stub.
14770         (pp_c_declarator): Likewise.
14771         (pp_c_parameter_declaration): Likewise.
14773 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
14775         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
14776         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
14777         struct deferred_opt): New.
14778         (COMMAND_LINE_OPTIONS): Add -M*.
14779         (missing_arg): Update.
14780         (c_common_decode_option): Handle -M*.
14781         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
14782         don't call cpp_post_options.
14783         (c_common_finish, check_deps_environment_vars): Update.
14784         * cppfiles.c (stack_include_file, handle_missing_header): Update.
14785         * cpphash.h (CPP_PRINT_DEPS): Remove.
14786         * cppinit.c: Don't include version.h.
14787         (cpp_create_reader): Don't call deps_init.  Initialize
14788         warn_long_long.
14789         (cpp_read_main_file): Init deps if necessary.
14790         (cpp_destroy): Conditionally free deps.
14791         (cpp_finish): Update.
14792         (no_tgt): Remove.
14793         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
14794         (cpp_post_options): Rename post_options.
14795         * cpplib.h (struct cpp_options): Remove some dependency options;
14796         move others to a new structure.
14797         (cpp_post_options): Remove.
14798         (cpp_finish): Comment.
14799         * fix-header.c (read_scan_file): Don't call cpp_post_options.
14801 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
14803         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
14804         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
14805         MMIX_rR_REGNUM as clobbered.
14806         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
14808 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
14810         * diagnostic.h (output_formatted_scalar): Rename from
14811         output_formatted_integer.
14812         * diagnostic.def: Add DK_DEBUG.
14813         * diagnostic.c (output_decimal): Adjust.
14814         (output_long_decimal): Likewise.
14815         (output_unsigned_decimal): Likewise.
14816         (output_octal): Likewise.
14817         (output_long_octal): Likewise.
14818         (output_hexadecimal): Likewise.
14819         (output_long_hexadecimal): Likewise.
14820         * c-pretty-print.c (pp_c_type_specifier): New function.
14821         (pp_c_specifier_qualifier_list): Likewise.
14822         (pp_c_abstract_declarator): Likewise.
14823         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
14825 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
14827         * doc/trouble.texi (Disappointments): Add static constructor and
14828         destructor dependency information for AIX.
14830 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
14832         * cpphash.h (struct printer): New from cppmain.c.
14833         (cpp_reader): New member.
14834         * cppmain.c (struct printer): Move to cpphash.h.
14835         (options, print): Remove.
14836         (account_for_newlines, print_line, maybe_print_line,
14837         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
14838         scan_translation_unit_trad, cb_line_change, cb_ident,
14839         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
14840         cb_def_pragma): Make reentrant.
14842 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14844         * real.c (ieee_64): Always define.
14845         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14846         (dec_h): Not used yet, hide it.
14847         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
14848         macro controlling use.
14849         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14851 2002-08-12  Jan Hubicka  <jh@suse.cz>
14853         * i386.md (tablejump): Sign extend the operand.
14854         * i386.c (classify_argument): Fix missed case from previous patch.
14856 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
14858         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
14859         to c-copts.c.
14860         (warn_multichar): Die.
14861         (cb_register_builtins): Export.
14862         * c-common.h (warn_multichar, preprocess_file): Remove.
14863         (cb_register_builtins): New.
14864         * c-lang.c (c_init): Remove.
14865         (LANG_HOOKS_INIT): Use c_objc_common_init.
14866         * c-lex.c (init_c_lex): Don't canonicalize filename.
14867         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
14868         (preprocess_file): Make static.  Update for cpplib.
14869         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
14870         (c_common_post_options): Set some cpp options here.
14871         (c_common_init): Move from c-common.c.
14872         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
14873         * cpplib.h (struct cpp_options): Remove in_fname.
14874         (cpp_preprocess_file): Update.
14875         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
14877 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14879         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
14881 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14883         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
14884         backslash in comment preceeding macro definition.
14885         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
14886         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
14887         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
14889 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
14891         * expr.c (store_expr): In condition for checking if value is
14892         generated in TARGET, move call to expr_size last.
14894 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
14896         * c-common.c (c_common_init): Call preprocess_file instead.
14897         (c_common_finish): Move to c-opts.c.
14898         * c-common.h (preprocess_file): new.
14899         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
14900         check_deps_environment_vars, c_common_finish): New.
14901         (c_common_decode_option): Update for out_fname and dependencies.
14902         * cppinit.c (init_dependency_output, output_deps): Remove.
14903         (cpp_destroy): Update prototype.
14904         (cpp_add_dependency_target): New.
14905         (cpp_read_main_file): Don't overlay a buffer.
14906         (cpp_finish): Take a deps output stream and write deps to it.
14907         Return the error count.
14908         (cpp_post_options): Don't canonicalize out_fname, or do anything
14909         with dependencies.
14910         * cpplib.h (struct cpp_options): Remove out_fname and
14911         preprocess_only.
14912         (cpp_add_dependency_target): New.
14913         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
14914         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
14915         set preprocess_only.  Don't handle the output stream directly.
14917 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14919         * dsp16xx.c (print_operand): Fix format specifier.
14920         * dsp16xx.md: Avoid automatic aggregate initialization.
14921         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
14922         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
14923         integer constant modifier.
14924         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
14925         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
14926         guards.
14927         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
14928         * v850.c (v850_select_section): Mark parameter with
14929         ATTRIBUTE_UNUSED.
14930         * global.c (global_alloc): Const-ify.
14931         * ra-colorize.c (hardregset_to_string): Fix format specifier.
14933 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14935         * darwin-c.c (darwin_pragma_options): Const-ify.
14936         * darwin.c (machopic_non_lazy_ptr_name,
14937         machopic_validate_stub_or_non_lazy_ptr): Likewise.
14938         (machopic_indirect_data_reference): Wrap variables in macros
14939         controlling their use.
14940         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
14941         (machopic_select_section): Use parentheses around && within ||.
14942         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
14944 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14946         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
14947         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
14948         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
14949         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
14950         mdr_try_remove_redundant_insns, track_w_reload,
14951         mdr_try_wreg_elim): Make function static to match prototype.
14952         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
14953         parameter with ATTRIBUTE_UNUSED.
14955 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14957         * arc.c (arc_init): Don't use ISO C style function definitions.
14958         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
14959         arm_get_strip_length, arm_strip_name_encoding): Likewise.
14960         * avr.h (progmem_section): Likewise.
14961         * h8300.c h8300_asm_insn_count): Likewise.
14962         * m32r.c (init_idents): Likewise.
14963         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
14964         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
14965         * xtensa.c (xtensa_build_va_list): Likewise.
14967 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
14969         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
14970         * c-opts.c (parse_option): Rename find_opt.
14971         (set_std_c99): New function.
14972         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
14973         (missing_arg): Remove OPT_std_bad.  Handle -o.
14974         (c_common_decode_option): Handle input and output file names,
14975         -o and -remap.  Clean up -std= handling.
14976         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
14977         (cpp_handle_option): Similarly.  Don't handle filenames.
14979 2002-08-11  Jan Hubicka  <jh@suse.cz>
14981         * i386.c (classify_argument): Fix computing of field's offsets.
14983 2002-08-11  Andreas Jaeger  <aj@suse.de>
14985         PR target/7531:
14986         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
14988 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
14990         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
14991         reference to clk_objective_c with flag_objc.
14992         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
14993         Likewise.
14994         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
14996 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
14998         * c-opts.c (set_std_cxx98, set_std_c89): New.
14999         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
15000         (c_common_decode_option): Handle new switches from cppinit.c.
15001         Add -std=gnu++98.
15002         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
15003         (no_arg, no_num): Remove.
15004         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
15005         switches apart from -lang-objc and lang-asm.
15006         (cpp_handle_option): Similarly.
15007         * cpplib.h (cpp_set_lang): New.
15008         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
15009         -std=gnu++98.
15010         * objc/lang-specs.h: Remove -ansi.
15012 2002-08-10  Jan Hubicka  <jh@suse.cz>
15013                                Graham Stott
15015         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
15016         errors.
15018 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15020         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
15021         emit_jump_insn): Fix uninitialized variable.
15022         * gcov.c (init_line_info): Likewise.
15023         * genautomata.c (transform_3): Add braces around ambiguous
15024         else.
15025         * ifcvt.c (cond_exec_process_insns): Mark parameter with
15026         ATTRIBUTE_UNUSED.
15027         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
15028         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
15029         variable.
15031         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
15032         warnings in output files.
15034 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
15036         * c-common.c (flag_objc): New.
15037         * c-common.h (c_language_kind): Get rid of clk_objective_c
15038         enum value.
15039         (flag_objc): New extern declaration.
15040         * c-decl.c (implicitly_declare): Call objc_check_decl
15041         instead of maybe_objc_check_decl.
15042         (finish_decl): Likewise.
15043         (grokfield): Likewise.
15044         (finish_struct): Likewise.
15045         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
15046         (maybe_objc_comptypes): Rename to objc_comptypes.
15047         (maybe_building_objc_message_expr): Rename to
15048         objc_message_selector.
15049         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
15050         replace with flag_objc as needed.
15051         * c-opts.c (c_common_init_options): Likewise.
15052         (c_common_decode_option): Likewise.
15053         * c-parse.in (init_reswords): Likewise.
15054         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
15055         (maybe_objc_comptypes): Rename to objc_comptypes.
15056         (maybe_building_objc_message_expr): Rename to
15057         objc_message_selector.
15058         * c-typeck.c (comptypes): Call objc_comptypes instead of
15059         maybe_objc_comptypes, and/or objc_message_selector instead of
15060         maybe_building_objc_message_expr.
15061         (comp_target_types): Likewise.
15062         (convert_for_assignment): Likewise.
15063         (warn_for_assignment): Likewise.
15064         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
15065         independently of those for other languages.
15066         * objc/objc-act.c (maybe_objc_comptypes): Delete.
15067         (maybe_objc_check_decl): Delete.
15068         (maybe_building_objc_message_expr): Rename to
15069         objc_message_selector.
15070         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
15071         clk_objective_c; set flag_objc flag.
15073 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
15075         * ifcvt.c (find_if_case_2): Test correct basic block for size.
15077 2002-08-09  Dale Johannesen  <dalej@apple.com>
15079         * config/rs6000/rs6000.md: Add sibcall patterns.
15080         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
15081         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
15082         Rewritten to handle sibcalls.
15083         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
15084         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
15086 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
15088         * profile.c (da_file_name): New static var.
15089         (init_branch_prob): Initialize it.
15090         (end_branch_prob): Remove da file.
15092         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
15093         * configure.in (coverage_flags): Default to nothing.
15094         * configure: Rebuilt.
15096 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
15098         * Makefile.in (c-opts.o): Update
15099         * c-opts.c: Include intl.h.
15100         (print_help): Move from cppinit.c.  Remove unused options.
15101         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
15102         (missing_arg): Complain for switches without an argument.
15103         (c_common_decode_option): Reject missing joined arguments.
15104         Handle new switches from cppinit.c.
15105         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
15106         (cpp_handle_option): Similarly.
15107         (print_help): Moved to c-opts.c.
15108         * cpplib.h (struct cpp_options): Remove help_only.
15109         * gcc.c (cpp_unique_options): Remove -$.
15110         * doc/cppopts.texi: Undocument -h.
15112 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
15114         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
15115         legitimate constant.
15116         (legitimate_pic_operand_p): Neither pic operand.
15117         (legitimate_address_p): But legitimate address.
15118         (get_thread_pointer): Generate MEM/u instead of CONST around
15119         UNSPEC_TP.
15120         (print_operand): Remove printing of UNSPEC_TP.
15121         (print_operand_address): And print it here.
15123 2002-08-08  Devang Patel  <dpatel@apple.com>
15125         * objc/objc-act.c (build_selector_translation_table): Issue warning,
15126         when  -Wselector is used,if method for which selector is being
15127         created does not exist.
15129 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
15131         * config/sh/sh.c (prepare_move_operands): Only call
15132         target_reg_operand if TARGET_SHMEDIA.
15134 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
15136         * config/rs6000/rs6000.h, config/rs6000/aix.h,
15137         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
15138         two patches.
15139         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
15141 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
15142             Richard Henderson  <rth@redhat.com>
15144         * emit-rtl.c (gen_rtx_REG): After reload, only return
15145         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
15147 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
15149         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
15150         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
15151         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
15152         macro.
15154 2002-08-08  Adam Nemet  <anemet@lnxw.com>
15156         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
15157         register.
15158         (thumb_expand_prologue): Likewise.
15159         (thumb_output_function_prologue): Likewise.
15160         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
15161         the additional push of the PIC register.
15163 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
15165         * configure.in (enable_coverage): New enable switch.
15166         * configure: Rebuilt.
15167         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
15168         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
15169         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
15170         (mostlyclean): Remove coverage files.
15171         * doc/install.texi: Document enable_coverage.
15173         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
15174         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
15175         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
15176         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
15177         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
15178         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
15179         files.
15181 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
15183         * c-opts.c (cpp_opts): New.
15184         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
15185         (c_common_decode_options): Handle cpplib switches.
15186         (c_common_init_options): Set cpp_opts.
15187         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
15188         (cpp_handle_option): Similarly.
15190 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
15192         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
15193         (TARGET_ALTIVEC_ABI): Same.
15194         (TARGET_ALTIVEC_VRSAVE): Same.
15196         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
15197         icode not CODE_FOR_nothing.  Change switch to if.
15199 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
15201         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
15203 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
15205         * stor-layout.c (place_union_field): For bitfields if
15206         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
15207         TYPE_USER_ALIGN.
15209 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15211         * pa.c (struct deferred_plabel): Constify name field.
15213 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
15215         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
15217 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15219         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
15220         local_prefix are the same.
15221         * configure: Rebuilt.
15223 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
15224             Richard Henderson  <rth@redhat.com>
15226         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
15227         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
15228         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
15229         (place_field): Likewise.
15230         * config/i386/i386.c (x86_field_alignment): Don't check
15231         DECL_USER_ALIGN here.
15232         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
15233         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
15234         prototype.
15235         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
15236         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
15237         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
15238         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
15239         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
15240         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
15242 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
15244         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
15245         * c-common.c: Don't include tree-inline.h.
15246         (c_common_init_options, c_common_post_options): Move to c-opts.c.
15247         * c-common.h (c_common_decode_option): New.
15248         * c-decl.c (c_decode_option): Remove.
15249         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
15250         * c-opts.c: New file.
15251         * c-tree.h (c_decode_option): Remove.
15252         * doc/passes.texi: Update.
15253         * objc/objc-act.c (objc_decode_option): Remove.
15254         * objc/objc-act.h (objc_decode_option): Remove.
15255         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
15256         c_common_decode_option.
15258 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
15260         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
15261         dependency on TARGET_DOUBLE_FLOAT.
15263 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
15265         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
15266         overwrite callee-save registers.  Fix comment.
15268 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
15270         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
15271         in target_flags based on ISA, if it was not set on the command
15272         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
15273         support Branch Likely instructions.
15274         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
15275         (TARGET_BRANCHLIKELY): Likewise.
15276         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
15277         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
15278         ISA_HAS_BRANCHLIKELY.
15279         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
15280         * doc/invoke.texi: Document new MIPS -mbranch-likely and
15281         -mno-branch-likely options.
15283 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15285         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
15287         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
15288         $(GCONFIG_H).
15290 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
15292         * c-decl.c (duplicate_decls): Error out for incompatible TLS
15293         declarations.
15295         * testsuite/gcc.dg/tls/diag-3.c: New.
15297 2002-08-06  Dale Johannesen  <dalej@apple.com>
15299         * c-common.c (fname_decl): Use line number 0 for
15300         __func__, to avoid confusing debuggers.
15302 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
15304         * gcov.c: Tidy.
15305         (struct line_info, struct coverage): New structures.
15306         (gcov_file_name, gcov_file): Remove globals.
15307         (output_data): Take source file parameter. Fix memory leak. Break
15308         up into ...
15309         (init_line_info, output_line_info, make_gcov_file_name,
15310         accumulate_branch_counts): ... here.
15311         (calculate_branch_probs, function_summary): Adjust.
15312         (main): Adjust.
15313         (function_*): Remove global variables.
15315 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
15317         * dwarf2out.c: Remove unused macros.
15319 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
15321         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
15323 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
15325         * cppinit.c (struct lang_flags): Rename trigraphs std.
15326         (set_lang): Update.
15327         * cpplib.h (struct cpp_options): New member std.
15328         * cppmacro.c (_cpp_builtin_macro_text): Use std.
15329         (collect_args): Flag whether to swallow a possible future
15330         comma pasted with varargs.
15331         (replace_args): Use this flag.
15332         * doc/cpp.texi: Update varargs extension documentation.
15334 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
15336         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
15338 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
15340         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
15341         and MODE_CLASS_INT modes.
15343 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
15345         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
15346         --{enable,disable}-threads is given to configure.
15347         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
15348         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
15349         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
15350         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
15351         Remove thread_file setting here.
15353 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
15355         * doc/install.texi (Binaries): Update Bull Freeware URL.
15357 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15359         * doc/gcc.texi (Top): Rename Index to Keyword Index.
15361 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
15363         * gcov.c (output_data): Round to % to nearest, tweak formatting.
15365 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
15367         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
15368         of the operands into MINUS_EXPR if code is PLUS_EXPR.
15370 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
15372         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
15373         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
15374         drectve_section): Define.
15375         * config/i386/t-interix: Replace interix.o rule with winnt.o.
15376         * config/i386/interix.c: Remove.
15378 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
15380         * attribs.c: Don't include obstack.h.
15381         * builtins.c: Likewise.
15382         * cfganal.c: Likewise.
15383         * cfgbuild.c: Likewise.
15384         * cfgcleanup.c: Likewise.
15385         * emit-rtl.c: Likewise.
15386         * loop.c: Likewise.
15387         * stmt.c: Likewise.
15389         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
15391 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
15393         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
15395 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
15397         * doc/invoke.texi: Remove duplicated paragraph describing
15398         TARGET_SWITCHES.
15400 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
15402         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
15403         * collect2.h (permanent_obstack): Delete declaration.
15404         * collect2.c (permanent_obstack): Delete definition.
15405         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
15406         * expr.c: Don't include obstack.h.
15407         (permanent_obstack): Delete declaration.
15408         * function.c: Don't include obstack.h.
15409         (permanent_obstack): Delete declaration.
15410         * integrate.c: Don't include obstack.h.
15411         (function_maybepermanent_obstack): Delete declaration.
15412         * print-tree.c (debug_tree): Use x*alloc not permalloc.
15413         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
15414         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
15415         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
15416         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
15417         of permalloc, expralloc, perm_calloc.
15418         * tree.c (permanent_obstack): Delete definition.
15419         (init_ttree): Rename from init_obstacks.
15420         (permalloc): Delete.
15421         (perm_calloc): Delete.
15422         (dump_tree_statistics): Don't print information about
15423         permanent_obstack.
15424         * varasm.c (assemble_start_function): Use xstrdup instead of
15425         permalloc/strcpy.
15426         (assemble_variable): Likewise.
15427         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
15428         permalloc.
15429         (unicosmk_add_extern): Likewise.
15430         * config/c4x/c4x.c (c4x_external_ref): Likewise.
15431         (c4x_global_label): Likewise.
15432         * config/frv/frv.c (frv_encode_section_info): Likewise.
15433         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
15434         (i386_pe_record_exported_symbol): Likewise.
15435         * config/mips/mips.c (mips_output_external): Likewise.
15436         (mips_output_external_libcall): Likewise.
15437         * config/pa/pa.c: (permanent_obstack): Delete declaration.
15438         (output_call): Use ggc_strdup instead of allocating on
15439         permanent_obstack.
15440         * config/romp/romp.c: Include ggc.h.
15441         (get_symref): Don't declare permanent_obstack, use ggc_strdup
15442         intead of permanent_obstack.
15443         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
15444         instead of permalloc.
15445         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
15446         instead of permalloc
15447         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
15448         instead of permalloc.
15449         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
15450         permalloc.
15452 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
15454         Contribute a port developed primarily by Michael Meissner,
15455         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
15456         * config.gcc: Add frv-elf target.
15457         * config/frv/cmovd.c: New file.
15458         * config/frv/cmovh.c: New file.
15459         * config/frv/cmovw.c: New file.
15460         * config/frv/frv-abi.h: New file.
15461         * config/frv/frv-asm.h: New file.
15462         * config/frv/frv-modes.def: New file.
15463         * config/frv/frv-protos.h: New file.
15464         * config/frv/frv.c: New file.
15465         * config/frv/frv.h: New file.
15466         * config/frv/frv.md: New file.
15467         * config/frv/frvbegin.c: New file.
15468         * config/frv/frvend.c: New file.
15469         * config/frv/lib1funcs.asm: New file.
15470         * config/frv/media.h: New file.
15471         * config/frv/modi.c: New file.
15472         * config/frv/t-frv: New file.
15473         * config/frv/uitod.c: New file.
15474         * config/frv/uitof.c: New file.
15475         * config/frv/ulltod.c: New file.
15476         * config/frv/ulltof.c: New file.
15477         * config/frv/umodi.c: New file.
15478         * config/frv/xm-frv.h: New file.
15480         * config/frv/media.h: Removed again.
15482 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
15484         * gcov.c (bb_file_time): New static variable.
15485         (object_directory): May also be object file.
15486         (preserve_paths): New static variable.
15487         (print_usage): Adjust.
15488         (options): Adjust.
15489         (process_args): Adjust.
15490         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
15491         file. Find modification date on bb file.
15492         (read_profile): Don't rewind a NULL file.
15493         (format_hwint): New static function.
15494         (function_summary): Use format_hwint.
15495         (output_data): SOURCE_FILE_NAME is never relative to
15496         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
15497         mangling. Adjust output format to make it more machine readable.
15498         * doc/gcov.texi: Document & clarify semantics.
15500 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
15502         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
15504 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
15506         * gcc.c (cc1_options): Pass output file as auxbase when
15507         appropriate.
15508         * profile.c (init_branch_prob): FILENAME has already had ending
15509         stripped.
15510         * final.c (end_final): Likewise.
15511         * toplev.c (aux_base_name): New global.
15512         (compile_file): Pass aux_base_name to init init_branch_prob and
15513         end_final.
15514         (independent_decode_option, case 'a'): New auxinfo options.
15515         (case 'd'): Protect against mising basename.
15516         (do_compile): Initialize aux_base_name.
15517         * toplev.h (aux_base_name): New global.
15518         * doc/invoke.texi: Adjust documentation.
15520 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
15522         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
15523         of TARGET_ALIGN_DOUBLE.
15525 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
15527         * diagnostic.c (inform): New function.
15528         * diagnostic.h (inform): Declare.
15530 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
15532         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
15533         (movhi_internal): Same.
15534         (movqi_internal): Same.
15535         (movdi_internal64): Same.
15537         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
15539         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
15540         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
15541         (COMMON_ASM_OP): Define.
15542         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
15543         Use ALIGN parameter.
15544         (LOCAL_COMMON_ASM_OP): Define.
15545         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
15547 2002-08-03  Roger Sayle  <roger@eyesopen.com>
15549         * builtins.def: Define new builtin functions exp, expf, expl,
15550         log, logf and logl (and their __builtin_* variants).
15551         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
15552         Define exp_optab and log_optab.
15553         * optabs.c (init_optans): Initialize exp_optab and log_optab.
15554         * genopinit.c (optabs): Implement exp_optab and log_optab
15555         using exp?f2 and log?f2 patterns.
15556         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
15557         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
15558         (expand_builtin): Ignore the new builtins (and all cos and
15559         sin variants) when not optimizing.  Expand new builtins via
15560         expand_builtin_mathfn when flag_unsafe_math_optimizations.
15562         * doc/extend.texi: Document new exp and log builtins.
15563         * doc/md.texi: Document new exp?f2 and log?f2 patterns
15564         (and previously undocumented cos?f2 and sin?f2 patterns).
15566 2002-08-03  Jason Merrill  <jason@redhat.com>
15568         * explow.c (int_expr_size): New fn.
15569         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
15570         * expr.h: Declare it.
15572 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
15574         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
15575         gengtype-* dependencies.
15577 2002-08-02  Eric Christopher  <echristo@redhat.com>
15579         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
15580         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
15581         #ifndef to #undef.
15582         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
15584 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
15586         PR optimize/7067
15587         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
15588         small if optimizing for size.
15590 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
15592         * configure.in (FORBUILD): Use $build_alias.
15593         * configure: Regenerated.
15595 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
15597         * config.gcc: Don't include mips/abi64.h in $tm_file.
15598         * hard-reg-set.h (call_really_used_regs): Declare.
15599         * config/mips/abi64.h: Remove file.
15600         * config/mips/linux.h,
15601         * config/mips/iris6.h: Don't include it.
15602         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
15603         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
15604         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
15605         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
15606         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
15607         Bring across definitions from abi64.h.
15608         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
15609         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
15610         (struct mips_args): Use it.
15611         * config/mips/mips.c (mips_conditional_register_usage): Define.
15613 2002-08-02  Jason Merrill  <jason@redhat.com>
15615         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
15616         * langhooks.c (lhd_expr_size): Define default.
15617         * langhooks.h (struct lang_hooks): Add expr_size.
15618         * explow.c (expr_size): Call it.
15619         * expr.c (store_expr): Don't copy an expression of size zero.
15620         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
15621         to store.
15622         * Makefile.in (builtins.o): Depend on langhooks.h.
15624 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15626         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
15627         * ra-debug.c: Include "tm_p.h".
15628         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
15630 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
15632         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
15633         when not honoring signalling NaNs.
15634         (simplify_ternary_operation): a == b has a definite value
15635         when not honoring NaNs.
15637 2002-08-02  Jason Merrill  <jason@redhat.com>
15639         * gdbinit.in (pct): New macro.
15641 2002-08-01  Stan Shebs  <shebs@apple.com>
15642             Andreas Tobler  <toa@pop.agri.ch>
15644         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
15645         plays nice with Darwin headers.
15646         (_BSD_RUNE_T_DEFINED_): Likewise.
15648 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
15650         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
15651         * cppinit.c (cpp_post_options): Likewise.
15653         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
15654         warning about 'LL' suffix (but not 'ULL' etc) when
15655         -Wno-long-long is in effect.
15657         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
15658         Check for failing time()/localtime(), issue a warning, and
15659         make __TIME__ and __DATE__ expand to fallback strings.
15661         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
15662         and __TIME__ when the date and time cannot be determined.
15664 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
15666         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
15668 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
15670         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
15672 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
15674         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
15675         (mipsisa64sb1el-*-elf*): Likewise.
15676         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
15677         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
15678         (TARGET_SB1, TUNE_SB1): New macros.
15679         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
15680         -mtune flags.
15682 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
15684         * varasm.c (asm_emit_uninitialized): Return false if global BSS
15685         and ASM_EMIT_BSS not supported by target.
15686         (assemble_variable): Do not duplicate uninitialized logic.
15687         Fall through if asm_emit_uninitialized failed.
15689 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
15691         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
15693 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
15695         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
15696         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
15698         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
15699         HOST_BITS_PER_WIDE_INT == 64.
15701 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15703         * df.c (df_insn_table_realloc): Change parameter to unsigned.
15704         * optabs.c (expand_binop): Make variable unsigned.
15705         * simplify-rtx.c (simplify_subreg): Likewise.
15706         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
15708 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15710         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
15712 2002-08-01  Richard Henderson  <rth@redhat.com>
15714         * toplev.c (parse_options_and_default_flags): Don't set
15715         flag_reorder_blocks for -Os.
15717         * config/avr/avr.c (avr_optimization_options): Remove.
15718         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
15719         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
15720         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
15722 2002-08-01  H.J. Lu <hjl@gnu.org>
15723             Richard Henderson  <rth@redhat.com>
15725         * output.h (DECL_READONLY_SECTION): Remove.
15726         (decl_readonly_section): Declare.
15727         * varasm.c (decl_readonly_section): New.
15728         (default_section_type_flags, default_select_section): Use it.
15729         * config/arm/pe.c (arm_pe_unique_section): Likewise.
15730         * config/i386/interix.c (i386_pe_unique_section): Likewise.
15731         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
15732         * config/mcore/mcore.c (mcore_unique_section): Likewise.
15733         * config/mips/mips.c (mips_unique_section): Likewise.
15735 2002-08-01  Richard Henderson  <rth@redhat.com>
15737         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
15738         refers to a subroutine parameter.
15740 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
15742         * varasm.c (assemble_visibility): Strip name encoding.
15744 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
15746         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
15747         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
15748         when there is no frame pointer.
15749         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
15750         registers properly.
15751         * config/ns32k/__unorddf2.c: New file.
15752         * config/ns32k/__unordsf2.c: New file.
15753         * config/ns32k/t-ns32k: New file.
15754         * config.gcc (ns32k-*-netbsd*): Use it.
15756 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
15758         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
15760 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15762         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
15764 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
15766         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
15768 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
15770         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
15772 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15774         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
15775         n_sets): Removed.
15776         (expr_hash_table, set_hash_table): Type changed to ...
15777         (struct hash_table): New type.
15778         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
15779         insert_expr_in_table, insert_set_in_table, compute_hash_table,
15780         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
15781         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
15782         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
15783         (alloc_hash_table): New.
15784         (free_set_hash_table, free_expr_hash_table): Merged to ...
15785         (free_hash_table): New.
15786         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
15787         (compute_hash_table_work): New.
15788         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
15789         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
15790         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
15791         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
15792         hoist_code, one_code_hoisting_pass,
15793         trim_ld_motion_mems): Altered due to changed type of hash tables.
15795 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
15797         * final.c (output_alternate_entry_point):
15798         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
15800 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15802         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
15803         avoid ISO C style function definition.
15805         * expr.c (expand_assignment): Delete unused variable.
15807 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
15809         * c-common.c (cb_register_builtins): Set
15810         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
15811         is given, and to 0 otherwise.
15812         * combine.c (simplify_if_then_else): HONOR_NANS
15813         implies FLOAT_MODE_P.
15815 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15817         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
15818         (cpp_handle_option): Don't handle it.
15819         (print_help): Update.
15820         * doc/cppopts.texi: Update.
15822 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15824         * c-common.c (cb_register_builtins): If C++, define
15825         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
15826         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
15828         * lang-specs.h: Simplify in accordance with new code in
15829         c-common.c.
15831 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15833         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
15834         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
15835         * c-decl.c: Move all warning and flag variables to c-common.c.
15836         * c-format.c: Move all warning variables to c-common.c.
15837         * c-tree.h: Move all warning and flag declarations to c-common.h.
15838         * objc/objc-act.c: Move all warning variables to c-common.c.
15839         (flag_warn_protocol): Rename warn_protocol.
15841 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15843         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
15845 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
15847         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
15848         .section prefix.
15850 2002-07-31  Stan Shebs  <shebs@apple.com>
15852         * config.gcc (i[34567]86-*-darwin*): New configuration.
15853         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
15854         defining.
15855         (TARGET_ENCODE_SECTION_INFO): Ditto.
15856         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
15857         * config/darwin.c (machopic_indirect_data_reference): Remove
15858         setting of RTX_UNCHANGING_P.
15859         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
15860         not to be applied to sums.
15861         * config/i386/t-darwin: New file.
15862         * config/i386/darwin.h: New file.
15863         * config/i386/i386.h (TARGET_MACHO): Add default definition.
15864         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
15865         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
15866         label and not the GOT add.
15867         (constant_address_p): For Mach-O, seeing a CONST is enough.
15868         (legitimate_pic_address_disp_p): Add a Mach-O case.
15869         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
15870         (legitimize_pic_address): Use generic Mach-O code to legitimize.
15871         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
15872         if outputting a difference.
15873         (ix86_output_addr_diff_elt): Add Mach-O case.
15874         (ix86_expand_move): Similarly.
15875         (ix86_expand_call): Similarly.
15876         (current_machopic_label_num): New global.
15877         (machopic_output_stub): New function.
15878         (ix86_value_regno): New function.
15879         (ix86_function_value): Use it instead of VALUE_REGNO.
15880         (ix86_libcall_value): Ditto.
15881         * config/i386/unix.h (VALUE_REGNO): Remove.
15883 2002-07-31  Graham Stott  <grahas@btinternet.com>
15885         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
15886         hash for LABEL_REF's.
15888 2002-07-31  Graham Stott  <grahams@btinternet.com>
15890         * config/rs6000/rs6000.c (spe_init_builtins,
15891         altivec_init_builtins, rs6000_common_init_builtins):
15892         Replace ANSI with K&R function def.
15894 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
15896         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
15897         for CCFPmode.
15899 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
15901         * config/mips/crtn.asm: Don't use __mips16 to determine the
15902         return-address offset.  Define RA to a suitable temporary
15903         register for the return address.
15905 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
15907         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
15908         constraints to 'd'.
15910 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
15912         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
15913         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
15914         patch on 2002-07-29.)
15915         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15917 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15919         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
15920         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
15921         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
15922         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
15923         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
15924         (ASM_GLOBALIZE_LABEL): Delete.
15925         (GLOBAL_ASM_OP): Define.
15927         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
15929         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
15930         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
15932 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
15934         * doc/extend.texi (Hints implementation): Document that GCC
15935         mostly ignores `register'.
15937 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
15939         * flags.h: Declare flag_finite_math_only.
15940         Use it in definition of HONOR_NANS and
15941         HONOR_INFINITIES.
15942         * c-common.c (cb_register_builtins): Emit
15943         __FINITE_MATH_ONLY__ when flag_finite_math_only
15944         is set.
15945         * combine.c (simplify_if_then_else): If
15946         flag_finite_math_only is set, a == b has a
15947         definite value.
15948         * toplev.c: Initialize flag_finite_math_only.
15949         (set_flags_fast_math): Set it on -ffast-math.
15950         (flag_fast_math_set_p): Test it.
15951         * doc/invoke.texi: Document -ffinite-math-only.
15953 2002-07-30  Richard Henderson  <rth@redhat.com>
15955         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
15956         (noce_process_if_block): Likewise.
15958 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
15960         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
15961         Bail out early if false_expr is NULL and we'd crash due to this.
15962         * genemit.c (gen_expand): Recognize return insns even if the return
15963         appears in a parallel.
15964         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
15965         * config/fp-bit.c: Likewise.
15966         * doc/tm.texi: Document it.
15968 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
15969             Zack Weinberg  <zack@codesourcery.com>
15971         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
15972         CODE_FOR_nothing.  Change switch to if.
15973         (rs6000_expand_binop_builtin): Same.
15974         (rs6000_expand_builtin): Expand builtin if target support enabled.
15975         (rs6000_init_builtins): Init builtin if target support enabled.
15976         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
15978 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15980         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
15982 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
15984         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
15986 2002-07-30  J"orn Rennecke <joern.rennecke@superh.com>
15988         * sh.md (cond_delay_slot): New attribute.
15989         (cbranch delay): Use it for anulled-true case.
15990         (stuff_delay_slot): New pattern.
15991         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
15992         delay slot insn.
15993         (gen_far_branch): Emit stuff_delay_slot pattern.
15995 2002-07-30  J"orn Rennecke <joern.rennecke@superh.com>
15997         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
15999 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
16001         * fold-const.c: Fix comment typos.
16002         * gcse.c: Likewise.
16003         * reload1.c: Likewise.
16005 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
16007         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
16008         for TARGET_SPE.
16010 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
16012         * c-pretty-print.h (pp_c_statement): Declare.
16013         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
16014         (pp_c_statement): Define.
16016 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16018         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
16019         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
16020         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
16021         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
16022         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
16023         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
16025         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
16026         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
16028 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
16030         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
16031         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
16032         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
16033         (pp_c_expression): Update.
16035 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16037         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
16038         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
16039         * alpha/vms-ld.c (main): Likewise.
16040         * dsp16xx.c (double_reg_to_memory): Likewise.
16041         * mcore.c (mcore_expand_prolog): Likewise.
16042         * cppfiles.c (read_name_map): Likewise.
16043         * gensupport.c (process_rtx, identify_predicable_attribute,
16044         alter_test_for_insn): Likewise.
16045         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
16047 2002-07-29  Roger Sayle  <roger@eyesopen.com>
16049         * builtins.c (expand_builtin):  Change the default behavior to
16050         only issue an error if the builtin function doesn't have a
16051         fallback library call.  Remove several cases handled by the
16052         new default.
16054 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
16056         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
16057         floating point format of the target is IEEE.
16058         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
16059         format of the target is DEC.
16061 2002-07-29  Richard Henderson  <rth@redhat.com>
16063         * unroll.c (verify_addresses): Remove.
16064         (find_splittable_givs): Never split DEST_ADDR givs.
16066 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
16068         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
16069         is exhaustive.
16070         (Files): Improve documentation on generated source files.
16072         * doc/extend.texi (Translation implementation): Document what
16073         diagnostics look like.
16074         (Identifiers implementation): Document that there's normally no
16075         limit on identifier names.
16076         (Integers implementation): Document two's complement.
16077         (Hints implementation): Document that GCC honors 'inline', mostly.
16078         (Preprocessing directives implementation): Document that GCC
16079         requires the current time.
16081 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
16083         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
16084         (pp_initializer): New macro.
16085         (pp_c_initializer): Declare.
16086         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
16087         (pp_c_initializer): Define.
16088         (pp_c_initializer_list): New function.
16089         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
16090         VECTOR_CST, CONSTRUCTOR.
16091         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
16092         IMAGPART_EXPR.
16093         (pp_c_cast_expression): Handle FLOAT_EXPR.
16094         (pp_c_assignment_expression): Handle INIT_EXPR.
16095         (pp_c_expression): Update.
16097 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
16099         * objc/objc-act.c (objc_init): Return immediately if filename
16100         is NULL.
16102 2002-07-29  Eric Christopher  <echristo@redhat.com>
16104         * config/mips/elf.h: Remove ecoff.h and gofast includes.
16105         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
16106         (SDB_DEBUGGING_INFO): Undefine.
16107         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
16108         (PUT_SDB_SIZE): Remove.
16109         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
16110         (STARTFILE_SPEC): Add isa3264 define.
16111         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
16112         * config/mips/ecoff.h: Remove. and here...
16113         * config/mips/iris3.h: and here...
16114         * config/mips/sni-svr4.h: and here...
16115         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
16116         Add assembler -mmdebug options for non-dwarf debugging.
16117         * config/mips/r3900.h: Remove debug info defines.
16118         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
16119         * config/mips/isa3264.h: Ditto.
16120         * config/mips/t-isa3264: Fix up for file removal and gofast configure
16121         change.
16122         * config/mips/t-elf: Ditto.
16123         * config/mips/t-ecoff: Ditto.
16124         * config/mips/t-r3900: Ditto.
16125         * config/mips/t-iris5-6: Ditto.
16126         * config/mips/t-isa3264: Ditto.
16127         * config/mips/t-linux: Remove.
16128         * config/mips/t-netbsd: Remove.
16129         * config/mips/t-mips: New file.
16130         * config/mips/t-gofast: Ditto.
16131         * config/mips/netbsd.h: Remove unnecessary undefines.
16132         * config/mips/linux.h: Remove #include of mips.h.
16133         * config.gcc: Add mips.h include for elf targets. Remove tm_file
16134         for ecoff. Add gofast configure option for mips.
16136 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
16138         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
16139         linker scripts use STARTUP directives consistently.
16140         * configure: Regenerate.
16141         * config.in: Regenerate.
16142         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
16143         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
16144         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
16145         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
16146         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
16147         will be the same.
16149 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
16151         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
16153 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
16155         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
16157 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
16159         * config/rs6000/rs6000.md: Move altivec patterns from here...
16161         * config/rs6000/altivec.md: ...to here.
16163 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
16165         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
16167 2002-07-29  Richard Henderson  <rth@redhat.com>
16169         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
16170         set_mem_attributes and add BITPOS argument.  Subtract it from
16171         OFFSET when same is adjusted.
16172         (set_mem_attributes): New wrapper function.
16173         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
16174         remove offset adjustment hack.
16175         * expr.h (set_mem_attributes_minus_bitpos): Declare.
16177 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
16179         * Makefile.in (C_OBJS): Include c-pretty-print.o
16180         (c-pretty-print.o): Add depency rule.
16181         * pretty-print.h: Add more macros.
16182         * c-pretty-print.c: New file.
16183         * c-pretty-print.h: Likewise.
16185 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
16187         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
16188         constants to __ev64_s32__.
16189         (__internal_ev_mwhgsmian): Same.
16190         (__internal_ev_mwhgsmfan): Same.
16191         (__internal_ev_mwhgssfan): Same.
16192         (__internal_ev_mwhgumiaa): Same.
16193         (__internal_ev_mwhgsmiaa): Same.
16194         (__internal_ev_mwhgsmfaa): Same.
16195         (__internal_ev_mwhgssfaa): Same.
16197 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
16199         * varasm.c (assemble_variable): Narrow test for uninitialized
16200         without BSS target support.
16202 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
16204         * profile.c: Add file comment describing the overall algorithm and
16205         structures.
16206         (struct edge_info): Add comments.
16207         (struct bb_info): Add comments.
16208         * basic-block.h (EDGE_*): Add comments.
16209         * doc/gcov.texi (Gcov Data Files): Document bit flags.
16211 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
16213         * config/xtensa/elf.h, config/xtensa/linux.h
16214         (TARGET_OS_CPP_BUILTINS): Define.
16215         (CPP_PREDEFINES): Remove.
16216         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
16217         (CPP_SPEC): Remove.
16219 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
16221         * gensupport.c: Include hashtab.h.
16222         (insn_elision, condition_table, hash_c_test, cmp_c_test,
16223         maybe_eval_c_test): New routines and data structures to
16224         support insn elision.
16225         (init_md_reader): Read and initialize the condition_table.
16226         (read_md_rtx): Discard insn patterns whose C test is provably
16227         always false.
16228         * gensupport.h: Declare new functions and data structures.
16230         * genconditions.c, dummy-conditions.c: New files.
16231         * Makefile.in: Build genconditions; run it to construct
16232         insn-conditions.c; build that and link it into most gen*
16233         programs.
16234         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
16235         (GEN): Delete, unused.
16236         (STAGESTUFF): Update.
16238         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
16239         CODE_FOR_nothing for all elided patterns.
16240         (main): Tweaked to support this.
16241         * genflags.c (gen_proto): Emit a static inline generator
16242         function here for all elided patterns, which simply returns
16243         NULL_RTX.
16244         (gen_insn): Do not define HAVE_xxx for elided patterns.
16245         (main): Tweaked to support this.  No need to forward-declare
16246         struct rtx_def.
16247         * genrecog.c: Do not bother emitting the C test if it's known
16248         to be true at compile time.
16250 2002-07-29  Mike Stump  <mrs@apple.com>
16252         * config.gcc (target_gtfiles): Initialize, as otherwise cross
16253         compilers hosted on powerpc-apple-darwin6.0 won't even build.
16255 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
16257         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
16258         remove clobber of LR.
16259         (sibcall_insn, sibcall_value_insn): Update accordingly.
16260         (sibcall_epilogue): Remove debugging comment from assembler stream.
16262 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
16264         * pretty-print.h: Define more macros.
16265         * diagnostic.h (output_formatted_integer): Moved from...
16266         * diagnostic.c: ... here.
16268 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16270         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
16272 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
16274         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
16275         arguments.  Always use ".-symbol" as expression argument.
16276         * doc/tm.texi: Update to match.  Document requirement for
16277         ".size symbol, .-symbol" to be acceptable to assembler.
16279         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
16280         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
16281         config/i386/freebsd-aout.h, config/i386/sco5.h,
16282         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
16283         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
16285 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16287         * Makefile.in (gengtype-lex.c): Fix error in last change.
16289         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
16290         backslash.
16292         * Makefile.in (vmsdbgout.o): Depend on function.h.
16294         * vmsdbgout.c: Include function.h.
16296 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
16298         * prefix.c (update_path): Don't strip single `.' path components
16299         unless stripping a later `..' component.  Exit loop as soon as
16300         a valid path is found.
16302 2002-07-27  Roger Sayle  <roger@eyesopen.com>
16304         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
16305         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
16306         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
16307         floating point unordered comparisons (e.g. __builtin_isgreater)
16308         as const, and leave the remaining GCC_BUILTINs unchanged.
16310         * c-decl.c (builtin_function): No need to explicitly mark
16311         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
16313 2002-07-27  Roger Sayle  <roger@eyesopen.com>
16315         * Makefile.in: rtlanal.o now depends upon real.h.
16317         * flags.h [flag_signaling_nans]: New flag.
16318         [HONOR_SNANS]: New macro.
16320         * toplev.c [flag_signaling_nans]: Initialize to false.
16321         (f_options): Add processing for "-fsignaling-nans".
16322         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
16323         (process_options): flag_signaling_nans implies flag_trapping_math.
16325         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
16326         when -fsignaling-nans.  First step to implementing WG14's N965.
16328         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
16329         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
16330         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
16332         * simplify-rtx.c (simplify_relational_operation): Conditionalize
16333         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
16335         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
16336         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
16337         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
16338         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
16339         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
16341         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
16343 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16345         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
16346         * gengtype-lex.l (YY_USE_PROTOS): Undef.
16347         (YY_DECL): Define.
16349 2002-07-27  Roger Sayle  <roger@eyesopen.com>
16351         * doc/invoke.texi: Document that both -fno-builtin-foo and
16352         -fno-builtin are supported by the g++ front-end.
16354 2002-07-27  Stan Shebs  <shebs@apple.com>
16356         * configure.in: Rename config_gtfiles to target_gtfiles.
16357         * configure: Regenerate.
16358         * doc/gty.texi: Update reference.
16359         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
16360         instead of appending to it.
16362 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
16364         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
16365         vectors are split into two registers.
16366         (function_arg): Same.
16368 2002-07-26  J"orn Rennecke <joern.rennecke@superh.com>
16370         * pa.md (extv): Check predicates before emitting extv_32.
16372 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
16374         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
16375         (rs6000_traceback): New var.
16376         (rs6000_override_options): Set rs6000_traceback.
16377         (rs6000_output_function_epilogue): Implement traceback options.
16378         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
16379         (rs6000_traceback_name): Declare.
16381         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
16382         label reference when NO_PROFILE_COUNTERS.
16384 2002-07-26  Jason Merrill  <jason@redhat.com>
16386         * function.c (assign_parms): Handle frontend-directed pass by
16387         invisible reference.
16389 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
16391         * doc/cppopts.texi: Update.
16393 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
16395         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
16396         warnings on assertions.
16398 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
16400         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
16401         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
16402         RID_COMPL): Remove.
16403         * c-parse.in (rid_to_yy): Similarly.
16405 2002-07-26  Jason Merrill  <jason@redhat.com>
16407         * c-dump.c: Resurrect.
16408         * tree-dump.c: Move C-specific stuff to c-dump.c.
16409         * c-common.h: Declare c_dump_tree.
16410         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
16411         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
16412         (c-dump.o): New rule.
16414 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
16416         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
16417         PowerPC64.  Replace "T" and "S" constraints with "n" when the
16418         predicate will do.  Formatting fixes.
16419         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
16420         as for extzvsi_internal1.
16422 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
16424         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
16425         DERIV_END_LABEL_FMT): Remove.
16426         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
16428 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
16430         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
16431         Remove.
16433 2002-07-25  Stan Shebs  <shebs@apple.com>
16435         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
16436         local var dwarfp.
16437         (output_compiler_stub): Remove unused locals.
16438         (output_call): Always initialize line number.
16440 2002-07-25  J"orn Rennecke <joern.rennecke@superh.com>
16442         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
16443         * sh.md (truncdiqi2, movqi_media): Likewise.
16445 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
16447         * gcse.c (obstack_chunk_alloc): Remove.
16448         (gcse_alloc): Fix to count allocated bytes.
16449         * collect2.c (SYMBOL__MAIN): Remove.
16451 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
16453         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
16454         HAVE_TARGET_EXECUTABLE_SUFFIX.
16456 2002-07-25  J"orn Rennecke <joern.rennecke@superh.com>
16458         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
16459         SIZE, EXPR and OFFSET.
16461 2002-07-25  Richard Henderson  <rth@redhat.com>
16463         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
16464         in ARRAY_REF of DECL_P case.
16466 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
16468         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
16469         description.  Document -mips32, -mips64, and the associated -march
16470         values.  Describe the "mipsN" arguments to -march.  Say that the
16471         -mipsN options are equivalent to -march.  Reword the description
16472         of default type sizes.
16473         * toplev.h (target_flags_explicit): Declare.
16474         * toplev.c (target_flags_explicit): New var.
16475         (set_target_switch): Update target_flags_explicit.
16476         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
16477         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
16478         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
16479         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
16480         * config/mips/mips.h (mips_cpu_info): New struct.
16481         (mips_cpu_string, mips_explicit_type_size_string): Remove.
16482         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
16483         (MIPS_CPP_SET_PROCESSOR): New macro.
16484         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
16485         Define _MIPS_ARCH and _MIPS_TUNE.
16486         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
16487         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
16488         MIPS_ISA_DEFAULT were already defined.
16489         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
16490         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
16491         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
16492         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
16493         (ABI_GAS_ASM_SPEC): Remove.
16494         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
16495         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
16496         Invoke %(asm_abi_default_spec) if no ABI was specified.
16497         (CC1_SPEC): Remove ISA -> register-size rules.
16498         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
16499         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
16500         (mips_cpu_string, mips_explicit_type_size_string): Remove.
16501         (mips_cpu_info_table): New array.
16502         (mips_set_architecture, mips_set_tune): New fns.
16503         (override_options): Rework to make -mipsN equivalent to -march.
16504         Detect more erroneous cases, including those removed from CC1_SPEC.
16505         Don't change the ABI based on architecture, or vice versa.
16506         Unify logic with GAS.
16507         (mips_asm_file_start): Get architecture name from mips_arch_info.
16508         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
16509         (mips_parse_cpu): Take the name of the option as argument.  Handle
16510         'from-abi'.  Raise an error if the option is wrong.
16511         (mips_cpu_info_from_isa): New fn.
16513 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
16515         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
16516         (tablejump_mips162): Likewise.
16518 2002-07-25  J"orn Rennecke <joern.rennecke@superh.com>
16520         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
16521         int_mode_for_mode.
16523 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
16525         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
16526         complaining.
16527         * c-common.h (c_sizeof): Adjust definition.
16528         (c_alignof): Likewise.
16529         * c-tree.h (c_sizeof_nowarn): Now macro.
16530         * c-typeck.c (c_sizeof_nowarn): Remove definition.
16532 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
16534         * c-decl.c (c_decode_option): No need to handle switches
16535         cpplib handles.
16537 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
16539         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
16540         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
16541         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
16542         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
16544         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
16545         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
16546         config/cris/aout.h, config/i386/freebsd-aout.h,
16547         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
16548         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
16549         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
16550         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
16551         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
16552         config/xtensa/elf.h, config/xtensa/linux.h:
16553         Use the new macros.
16554         Where possible, remove redundant definitions of SIZE_ASM_OP,
16555         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
16557 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
16559         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
16560         TARGET_ISEL, and TARGET_FPRS.
16562         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
16563         -mabi=spe, -mabi=no-spe, and -misel=.
16565         * config/rs6000/rs6000-protos.h: Add output_isel.
16566         Move vrsave_operation prototype here.
16568         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
16569         (smaxsi3): Same.
16570         (uminsi3): Same.
16571         (umaxsi3): Same.
16572         (abssi2_nopower): Disallow when TARGET_ISEL.
16573         (*ne0): Same.
16574         (negsf2): Change to expand and rename old pattern to *negsf2.
16575         (abssf2): Change to expand and rename old pattern to *abssf2.
16577         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
16578         fixunssfsi2.
16580         Change patterns that check for TARGET_HARD_FLOAT or
16581         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
16583         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
16584         rs6000_isel, rs6000_fprs, rs6000_isel_string.
16585         (rs6000_override_options): Add 8540 case to
16586         processor_target_table.
16587         Set rs6000_isel for the 8540.
16588         Call rs6000_parse_isel_option.
16589         (enable_mask_for_builtins): New.
16590         (rs6000_parse_isel_option): New.
16591         (rs6000_parse_abi_options): Add spe and no-spe.
16592         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
16593         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
16594         for TARGET_HARD_FLOAT.
16595         Add case for SPE_VECTOR_MODE.
16596         (rs6000_legitimize_reload_address): Handle SPE vector modes.
16597         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
16598         vector modes.
16599         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
16600         (rs6000_emit_move): Check for TARGET_FPRS.
16601         Add cases for SPE vector modes.
16602         (function_arg_boundary): Return 64 for SPE vector modes.
16603         (function_arg_advance): Check for TARGET_FPRS and
16604         Handle SPE vectors.
16605         (function_arg): Same.
16606         (setup_incoming_varargs): Check for TARGET_FPRS.
16607         (rs6000_va_arg): Same.
16608         (struct builtin_description): Un-constify mask field.  Move up in
16609         file.
16610         (bdesc_2arg): Un-constify and add SPE builtins.
16611         (bdesc_1arg): Same.
16612         (bdesc_spe_predicates): New.
16613         (bdesc_spe_evsel): New.
16614         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
16615         (rs6000_expand_binop_builtin): Same.
16616         (bdesc_2arg_spe): New.
16617         (spe_expand_builtin): New.
16618         (spe_expand_predicate_builtin): New.
16619         (spe_expand_evsel_builtin): New.
16620         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
16621         (rs6000_init_builtins): Initialize SPE builtins.  Call
16622         rs6000_common_init_builtins.
16623         (altivec_init_builtins): Move all non-altivec builtin code to...
16624         (rs6000_common_init_builtins): ...here.  New function.
16625         (branch_positive_comparison_operator): Allow NE code for SPE.
16626         (ccr_bit): Return correct ccr bit for SPE fp.
16627         (print_operand): Emit crnor in 'D' case for SPE.
16628         New case 't'.
16629         Add SPE code for 'y' case.
16630         (rs6000_generate_compare): Generate rtl for SPE fp.
16631         (output_cbranch): Handle SPE hard floats.
16632         (rs6000_emit_cmove): Handle isel.
16633         (rs6000_emit_int_cmove): New.
16634         (output_isel): New.
16635         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
16636         64-bits for SPE.
16637         (debug_stack_info): Add SPE info.
16638         (gen_frame_mem_offset): New.
16639         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
16640         Change mode of frame pointer, when saving it, to Pmode.
16641         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
16642         Misc cleanups and use gen_frame_mem_offset when appropriate.
16644         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
16645         (TARGET_SPE_ABI): New.
16646         (TARGET_SPE): New.
16647         (TARGET_ISEL): New.
16648         (TARGET_FPRS): New.
16649         (FIXED_SCRATCH): New.
16650         (RTX_COSTS): Add PROCESSOR_PPC8540.
16651         (ASM_CPU_SPEC): Add case for 8540.
16652         (TARGET_OPTIONS): Add isel= case.
16653         (rs6000_spe_abi): New.
16654         (rs6000_isel): New.
16655         (rs6000_fprs): New.
16656         (rs6000_isel_string): New.
16657         (UNITS_PER_SPE_WORD): New.
16658         (LOCAL_ALIGNMENT): Adjust for SPE.
16659         (HARD_REGNO_MODE_OK): Same.
16660         (DATA_ALIGNMENT): Same.
16661         (MEMBER_TYPE_FORCES_BLK): New.
16662         (FIRST_PSEUDO_REGISTER): Set to 113.
16663         (FIXED_REGISTERS): Add SPE registers.
16664         (reg_class): Same.
16665         (REG_CLASS_NAMES): Same.
16666         (REG_CLASS_CONTENTS): Same.
16667         (REGNO_REG_CLASS): Same.
16668         (REGISTER_NAMES): Same.
16669         (DEBUG_REGISTER_NAMES): Same.
16670         (ADDITIONAL_REGISTER_NAMES): Same.
16671         (CALL_USED_REGISTERS): Same.
16672         (CALL_REALLY_USED_REGISTERS): Same.
16673         (SPE_ACC_REGNO): New.
16674         (SPEFSCR_REGNO): New.
16675         (SPE_SIMD_REGNO_P): New.
16676         (HARD_REGNO_NREGS): Adjust for SPE.
16677         (VECTOR_MODE_SUPPORTED_P): Same.
16678         (REGNO_REG_CLASS): Same.
16679         (FUNCTION_VALUE): Same.
16680         (LIBCALL_VALUE): Same.
16681         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
16682         (SPE_VECTOR_MODE): New.
16683         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
16684         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
16685         (rs6000_stack): Add spe_gp_size, spe_padding_size,
16686         spe_gp_save_offset.
16687         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
16688         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
16689         (SPE_CONST_OFFSET_OK): New.
16690         (rs6000_builtins): Add SPE builtins.
16692         * testsuite/gcc.dg/ppc-spe.c: New.
16694         * config/rs6000/eabispe.h: New.
16696         * config/rs6000/spe.h: New.
16698         * config/rs600/spe.md: New.
16700         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
16701         __SIMD__ for TARGET_SPE.
16703         * config.gcc: Add powerpc-*-eabispe* case.
16704         Add spe.h to user headers for powerpc.
16706 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
16708         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
16709         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
16710         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
16712 2002-07-24  Richard Henderson  <rth@redhat.com>
16714         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
16715         form when not optimizing.
16717 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
16719         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
16720         thread_pointer_rtx as unchanging.
16722 2002-07-24  Michael Matz  <matz@suse.de>
16724         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
16725         (free_reg): Use it.
16727 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
16729         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
16730         pattern.
16731         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
16732         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
16734 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
16736         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
16737         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
16738         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
16740 2002-07-24  Jan Hubicka  <jh@suse.cz>
16742         * toplev.c (rest_of_compilation): Dump loops before clobbering
16743         the structure.
16745 2002-07-24  Jan Hubicka  <jh@suse.cz>
16747         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
16749 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
16751         PR optimization/7291
16752         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
16753         problem on x86_64.
16755 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
16757         * pretty-print.h: Add macros from cp/error.c
16759 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
16761         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
16762         (mask64_2_operand): Declare.
16763         (build_mask64_2_operands): Declare.
16764         (and64_2_operand): Declare.
16765         (extract_MB): Declare.
16766         (extract_ME): Declare.
16767         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
16768         CONST_DOUBLE code.
16769         (mask_operand_wrap): New insn predicate.
16770         (mask64_2_operand): Likewise.
16771         (and64_2_operand): Likewise.
16772         (build_mask64_2_operands): New function.
16773         (extract_MB): New function.
16774         (extract_ME): New function.
16775         (print_operand <case m,M>): Use extract_MB and extract_ME.
16776         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
16777         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
16778         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
16779         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
16780         * config/rs6000/rs6000.md (andsi3_internal3): New
16781         (andsi3_internal3+1): Enable split for powerpc64.
16782         (andsi3_internal3+2): New split.
16783         (andsi3_internal4): Renamed old andsi3_internal3.
16784         (andsi3_internal5): New.
16785         (andsi3_internal5+1): Enable split for powerpc64.
16786         (andsi3_internal5+2): New split.
16787         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
16788         (anddi3): Handle 't' constraint.
16789         (anddi3+1): New split.
16790         (anddi3_internal2): Handle 't' constraint.
16791         (anddi3_internal2+1): New split.
16792         (anddi3_internal3): Handle 't' constraint.
16793         (anddi3_internal3+1): New split.
16795 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
16797         * config/rs6000/rs6000.md: Remove scratch reg on insns using
16798         addze and similar (plus (comparison r1 r2) r3) insns.  Add
16799         missing scratch reg in one case.  Formatting fixes.
16801 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
16803         * cppexp.c (parse_defined): Mark macro used.
16804         * cpphash.h (struct cpp_macro): New member "used".
16805         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
16806         (struct cpp_reader): New member.
16807         * cppinit.c (cpp_finish_options): Set first_unused_line.
16808         (cpp_finish): Warn of unused macros if requested.
16809         (OPT_TABLE): New switches.
16810         (cpp_handle_option): Handle them.
16811         * cpplib.c (do_undef): Warn if macro unused.
16812         (do_ifdef, do_ifndef): Mark macro used.
16813         * cpplib.h (struct cpp_options): New member.
16814         * cppmacro.c (_cpp_warn_if_unused_macro): New.
16815         (enter_macro_context): Mark macro used.
16816         (_cpp_create_definition): Mark macro unused; warn if unused
16817         when redefined.
16818         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
16819         Mark macros used.
16820         * doc/cppopts.texi: Update.
16822 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16824         * dwarf2out.c (SECTION_ASM_OP,
16825         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16826         * system.h (SECTION_ASM_OP): Poison.
16827         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
16828         * config/alpha/alpha-interix.h, config/mips/linux.h
16829         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16830         * config/mmix/mmix-protos.h, config/mmix/mmix.c
16831         (mmix_asm_output_define_label_difference_symbol): Remove.
16832         * config/mmix/mmix.h
16833         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16834         * doc/tm.texi: Remove documentation.
16836 2002-07-23  J"orn Rennecke <joern.rennecke@superh.com>
16838         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
16839         (constrain_operands): Likewise.
16840         * regclass.c (record_reg_classes): Likewise.
16841         * reload.c (find_reloads): Likewise.
16842         * doc/md.texi: Likewise.
16844         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
16845         * simplify-rtx.c (simplify_subreg): When converting to a non-int
16846         mode, try to convert to an integer mode of matching size first.
16848         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
16849         from individual subregs, check that each subreg has been generated
16850         sucessfully.
16852 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16854         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
16855         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
16856         FOR_EACH_BB_IN_SBITMAP): Remove.
16857         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
16858         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
16859         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
16860         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
16861         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
16862         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
16864 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16866         * pretty-print.h: New file.
16868 2002-07-23      Paul Koning     <pkoning@equallogic.com>
16870         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
16871         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
16872         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
16873         (TARGET_G_FLOAT): Default to 0 if not defined.
16874         (ieeetoe): New, common routine to convert target format floats
16875         to internal form.
16876         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
16877         vs. others.
16878         (e113toe): Change to use ieeetoe.
16880 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
16882         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
16883         IBM.
16884         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
16885         (e64toe): Remove special cases for DEC and IBM. Remove support for
16886         ARM_EXTENDED_IEEE_FORMAT.
16887         (e24toe): Remove special cases for DEC.
16888         (significand_size): Simplify. Indent.
16889         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
16890         (etoieee, toieee): New.
16891         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
16892         etoieee and toieee for IEEE arithmetic.
16894 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16896         * doc/extend.texi: Say ISO C90, not ISO C89.
16897         * doc/invoke.texi: Likewise.
16898         * doc/standards.texi: Likewise.
16900 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
16902         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
16903         Fix permutation of conversion and plus/mult.
16904         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
16905         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
16906         (expand_builtin_strncpy) Ditto.
16907         (expand_builtin_memset) Ditto.
16909 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16911         Fix PR/7363:
16912         * c-common.c (c_sizeof_or_alignof_type): New function.
16913         (c_alignof): Remove definition.
16914         * c-common.h (c_sizeof, c_alignof): Define as macros.
16915         (c_sizeof_or_alignof_type): Declare.
16916         (my_friendly_assert): Moved from cp/cp-tree.h
16917         * c-typeck.c (c_sizeof): Remove definition.
16919 2002-07-23  Jan Hubicka  <jh@suse.cz>
16921         * gcse.c (try_replace_reg): Use num_changes_pending.
16922         * recog.c (num_changes_pending): New function.
16923         (validate_replace_src): Use validate_repalce_src_group.
16924         (validate_replace_src_group): New.
16925         * recog.h (validate_repalce_src_group): New.
16926         (num_changes_pending): Likewise.
16928 2002-07-23  J"orn Rennecke <joern.rennecke@superh.com>
16930         * calls.c (emit_library_call_value_1): If
16931         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
16932         libcall, const call nor pure call.
16934 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16936         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
16938 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16940         * vmsdbgout.c (SECTION_ASM_OP): Remove.
16942 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16944         * config/i386/i386.c (AT_BP): Remove.
16946 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16948         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
16949         Default definition.
16950         * gcse.c: Don't define obstack_chunk_free.
16951         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
16952         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
16953         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
16954         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
16955         Don't define obstack macros.
16957 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
16959         PR target/6744
16960         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
16961         ASM_OPERANDS instructions.
16963 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
16965         PR target/7361
16966         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
16967         constant addresses only on 68HC12.
16969 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
16971         * cppfiles.c (stack_include_file): Correct test of whether
16972         a dependency should be output.
16974 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
16976         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
16978 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
16980         * arm.md (movqi): If optimizing and we can create pseudos, use
16981         a ZERO_EXTEND to load from memory, then copy the result into the
16982         target.
16983         (movhi): Likewise, but only for ARMv4.
16985 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
16987         * ssa-ccp.c (PHI_PARMS): Remove.
16989 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
16991         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
16992         on big-endian targets.
16994 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16996         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
16997         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
16998         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
16999         New formatting macros.
17001         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
17003 2002-07-22  J"orn Rennecke <joern.rennecke@superh.com>
17005         * rtlanal.c (subreg_regno_offset): Return correct offset for
17006         big endian paradoxical subregs.
17008         * optabs.c (expand_vector_unop): Don't expand using sub_optab
17009         if we got the wrong mode.
17011         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
17012         * genrecog.c (write_switch, write_cond): Use it.
17013         * genemit.c (gen_exp): Likewise.
17015 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
17017         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
17019 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
17021         * c-decl.c (build_compound_literal): Defer compound literal decls
17022         until until file end to emit them only if they are actually used.
17024 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17026         * ra-build.c (check_conflict_numbers): Hide unused function.
17027         (livethrough_conflicts_bb): Avoid automatic aggregate
17028         initialization.
17029         (parts_to_webs_1): Avoid `U' integer constant modifier.
17030         (conflicts_between_webs): Wrap a variable in the macro controlling
17031         its usage.
17032         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
17033         (dump_igraph, dump_graph_cost): Avoid string concatenation
17034         (dump_static_insn_cost): Avoid automatic aggregate
17035         initialization.
17036         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
17037         initialization.
17038         (dump_cost): Avoid string concatenation
17040 2002-07-21  Richard Henderson  <rth@redhat.com>
17042         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
17043         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
17045 2002-07-21  Richard Henderson  <rth@redhat.com>
17047         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
17048         that are not unrolled completely.
17050 2002-07-21  Richard Henderson  <rth@redhat.com>
17052         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
17053         * loop.c (strength_reduce): Update.
17054         * toplev.c (rest_of_compilation): Do unrolling in the first
17055         loop pass, not the second.
17057 2002-07-21  Richard Henderson  <rth@redhat.com>
17059         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
17060         when flag_argument_noalias == 2.
17061         * alias.c (nonoverlapping_memrefs_p): Handle that.
17062         * print-rtl.c (print_mem_expr): Likewise.
17064 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
17066         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
17067         instead of __negdi2 directly.
17069 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
17071         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
17072         * function.c (SYMBOL__MAIN): Remove definition.
17073         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
17074         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
17075         * profile.c (GCOV_INDEX_TO_BB): Remove.
17076         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
17077         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
17079 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
17081         * c-lex.c (GET_ENVIRONMENT): Remove.
17082         * collect2.c (GET_ENV_PATH_LIST): Remove.
17083         (prefix_from_env): Use GET_ENVIRONMENT.
17084         * cppinit.c (GET_ENV_PATH_LIST): Remove.
17085         (init_standard_includes): Use GET_ENVIRONMENT.
17086         * defaults.h (GET_ENVIRONMENT): Define here if not already.
17087         * gcc.c (GET_ENV_PATH_LIST): Remove.
17088         (make_relative_prefix, process_command): Update.
17089         * protoize.c (GET_ENV_PATH_LIST): Remove.
17090         (do_processing): Update.
17092 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
17094         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
17095         (grokdeclarator): Likewise.
17096         * c-format.c (C_STD_NAME): Likewise.
17097         * c-lex.c (interpret_integer): Likewise.
17098         * c-typeck.c (build_array_ref): Likewise.
17099         * cpplex.c (_cpp_lex_direct): Likewise.
17100         * toplev.c (documented_lang_options): Likewise.
17102 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
17104         * c-format.c (T99_I, T99_UI): Remove.
17106 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
17108         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
17110 2002-07-21  Jan Hubicka  <jh@suse.cz>
17112         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
17113         do_local_cprop.
17115 2002-07-21  Andreas Jaeger  <aj@suse.de>
17117         * reload1.c (fixup_abnormal_edges): Remove unused variable.
17119 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
17121         Improvements for the ifcvt pass from Michael Meissner, with patches
17122         by Richard Sandiford <rsandifo@redhat.com>
17123         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
17124         * ifcvt.c (cond_exec_changed_p): New static variable.
17125         (last_active_insn): New function, renamed from last_active_insn_p
17126         and changed to return the last active insn in a basic block. All
17127         callers updated.
17128         (block_fallthru): New function.
17129         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
17130         IFCVT_MODIFY_INSN.  All callers updated.
17131         Return false if START or END are NULL.
17132         Handle case where we're processing an insn that is already
17133         conditional.
17135         (noce_process_if_block): CE_INFO argument rather than
17136         multiple args containing the involved basic blocks.  All callers
17137         changed.
17138         (process_if_block, merge_if_block, find_if_block,
17139         cond_exec_process_if_block): Likewise.
17141         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
17142         changed.
17143         Use new function last_active_insn to simplify some code.
17144         New code to handle multiple tests.
17145         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
17146         cond_exec_changed_p to TRUE.
17148         (process_if_block): New code to handle multiple tests.
17149         (merge_if_block): Likewise.
17150         (find_if_header): New arg PASS.  Changed to return the currently
17151         processed basic block or NULL instead of true/false. All callers
17152         changed.
17153         Call IFCVT_INIT_EXTRA_FIELDS.
17154         (block_jumps_and_fallthru_p): New function.
17155         (find_if_block): Discover opportunities to convert multiple tests.
17156         Add additional debugging output.
17157         Update the ce_info structure before returning.
17159         (if_convert): Run multiple passes of if-conversion.
17160         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
17161         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
17162         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
17163         these macros.
17165 2002-07-21  Jan Hubicka  <jh@suse.cz>
17167         * gcse.c: Include cselib.h
17168         (constptop_register): Break out from ...
17169         (cprop_insn): ... here; kill basic_block argument.
17170         (do_local_cprop, local_cprop_pass): New functions.
17171         (one_cprop_pass): Call local_cprop_pass.
17173 2002-07-20  Roger Sayle  <roger@eyesopen.com>
17175         * simplify-rtx.c (simplify_relational_operation): Optimize
17176         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
17178 2002-07-20  Michae Matz  <matz@suse.de>
17180         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
17182 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
17184         * cppexp.c (struct op): Add token pointer.
17185         (check_promotion, CHECK_PROMOTION): New.
17186         (optab): Update.
17187         (_cpp_parse_expr): Update, use token pointer of struct op.
17188         (reduce): Warn about change of sign owing to promotion.
17189         * cppinit.c (cpp_handle_option): New warning if -Wall.
17190         * cpplib.h (struct cpp_options): New member.
17192 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
17194         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
17195         fpu list.  Separate Power4 compare and delayed_compare.  Correct
17196         Power4 fpcompare.
17197         (fix_truncdfsi2_internal): Restore FPR preference.
17198         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
17199         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
17201 2002-07-19  Momchil Velikov <velco@fadata.bg>
17203         * reload1.c (reload_as_needed): Duplicate oldpat.
17205 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
17207         PR optimization/7130
17208         * loop.h (struct loop_info): Add "preconditioned".
17209         * unroll.c (unroll_loop): Set it.
17210         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
17212 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
17214         * rtl.def (CODE_LABEL): Remove slot 8.
17215         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
17216         (LABEL_ALTERNATE_NAME): Delete.
17217         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
17218         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
17220         * final.c (output_alternate_entry_point): New.
17221         (final_scan_insn): Use it instead of
17222         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
17223         of a case label being an alternate entry point.
17225         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
17226         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
17227         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
17228         (field deleted).
17229         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
17231         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
17232         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
17233         * doc/tm.texi: Delete documentation of
17234         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
17236 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17238         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
17239         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
17240         (LINK_SPEC): Define.
17241         (STARTFILE_SPEC): Define.
17242         (ENDFILE_SPEC): Define.
17244         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
17245         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
17247         * config/mips/iris6-o32-gas.h: New file.
17248         * config.gcc (mips-sgi-irix6*o32): Use it.
17250         * config/mips/t-iris5-gas: New file.
17251         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
17253 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
17255         * cppexp.c (ALWAYS_EVAL): Remove.
17256         (optab, reduce): Always evaluate.
17257         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
17258         only if not skipping evaluation.
17260 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
17262         * config/avr/avr.c (debug_hard_reg_set): Remove.
17264 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
17266         * gcc.c (cpp_options): Include "%1" (cc1_spec).
17268 2002-07-19  Richard Henderson  <rth@redhat.com>
17270         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
17272 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
17274         * prefix.c (update_path): Don't zap single `.' path components
17275         unless followed by another `.' and fix typo last patch.
17277 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
17279         * cppexp.c (cpp_num_mul): Remove unused parameter.
17280         (UNARY, BINARY, OTHER, binary_handler): Remove.
17281         (ALWAYS_EVAL): New.
17282         (optab): Update.
17283         (reduce): Refactor to a large switch, don't use a function
17284         pointer.
17286 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
17288         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
17290 2002-07-18  J"orn Rennecke <joern.rennecke@superh.com>
17292         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
17293         (sh_expand_binop_v2sf): Likewise.
17294         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
17295         (int_gpr_dest, trunc_hi_operand): New functions.
17296         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
17297         trunc_hi_operand.
17298         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
17299         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
17300         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
17301         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
17302         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
17303         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
17304         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
17305         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
17306         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
17307         (movsf_ie+1): Likewise.
17308         (loaddi_trunc): Use int_gpr_dest predicate.
17309         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
17310         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
17311         (casesi_worker_0+[12], casesi_worker): Likewise.
17312         (shcompact_preserve_incoming_args): Likewise.
17313         (mov_nop): Use any_register_operand predicate.
17314         (mperm_w0): Use trunc_hi_operand predicate.
17316 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17318         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
17319         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
17320         numbering.
17322 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17324         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
17326 2002-07-18  Richard Henderson  <rth@redhat.com>
17328         PR optimization/7147
17329         * ifcvt.c (noce_get_condition): Make certain that the condition
17330         is valid at JUMP.
17332 2002-07-18  J"orn Rennecke <joern.rennecke@superh.com>
17334         * sh.c (barrier_align, push): Shut up compiler warnings.
17335         (initial_elimination_offset,sh_media_init_builtins): Likewise.
17336         (reg_no_subreg_operand): Delete.
17338 2002-07-17  Bo Thorsen  <bo@suse.de>
17340         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
17341         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
17342         (STARTFILE_SPEC): Remove hardcoded library paths.
17343         (ENDFILE_SPEC): Likewise.
17345 2002-07-18  Jan Hubicka  <jh@suse.cz>
17347         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
17349         * gcse.c (try_replace_reg): Do not return false positives.
17351 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
17353         * prefix.c: (update_path): Strip ".." components when prior dir
17354         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
17356         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
17357         (ASM_OUTPUT_REG_POP): Likewise.
17359 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
17361         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
17362         adjustments to first_reg for profiling case.
17363         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
17364         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
17365         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
17366         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
17367         (ASM_OUTPUT_REG_POP): Define.
17368         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
17369         (ASM_OUTPUT_REG_POP): Undef.
17371 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
17373         * cpplib.c (do_sccs): Handle #sccs on all systems.
17374         * system.h (SCCS_DIRECTIVE): Poison.
17375         * config/darwin.h, config/freebsd.h, config/netbsd.h,
17376         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
17377         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
17378         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
17379         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
17380         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
17381         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
17382         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
17383         Remove all references to SCCS_DIRECTIVE.
17384         * doc/cpp.texi, doc/tm.texi: Update.
17386 2002-07-17  J"orn Rennecke <joern.rennecke@superh.com>
17388         * regrename.c (maybe_mode_change): New function.
17389         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
17391 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
17393         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
17394         suppress addition when either ct or cf are zero.
17396 2002-07-17  Eric Botcazou <ebotcazou@multimania.com>
17397             Glen Nakamura <glen@imodulo.com>
17399         PR optimization/6713
17400         * loop.c (loop_givs_rescan): Explicitly delete the insn that
17401         sets a non-replaceable giv after issuing the new one.
17403 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
17405         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
17406         eval_token): Clarify and correct use of "bool" variables.
17407         * cpplib.h (struct cpp_options): Similarly.
17408         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
17409         * cpptrad.c (recursive_macro): Similarly.
17411 2002-07-17  J"orn Rennecke <joern.rennecke@superh.com>
17413         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
17414         SHmedia code.
17416         * sh.md (cmpgtudi_media): Remove spurious @.
17418         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
17419         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
17421         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
17422         * sh-protos.h (sh_initialize_trampoline): Declare.
17423         * sh.c (sh_initialize_trampoline): New function.
17424         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
17425         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
17426         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
17427         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
17428         * sh.md (initialize_trampoline, double_shori): New patterns.
17429         (initialize_trampoline_compact): Likewise.
17430         (shmedia32_initialize_trampoline_big): Remove.
17431         (shmedia32_initialize_trampoline_little): Likewise.
17433         * sh-protos.h (binary_float_operator): Remove declaration.
17434         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
17435         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
17436         (unary_float_operator, sh_expand_unop_v2sf): New functions.
17437         (sh_expand_binop_v2sf): Likewise.
17438         (zero_vec_operand): Delete.
17439         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
17440         all non-shared ones.
17441         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
17442         Enable nsb and byterev.
17443         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
17444         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
17445         in general regs.
17446         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
17447         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
17448         immediate operands.
17449         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
17450         Add DF_HI_REGS.
17451         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
17452         lowpart fp regs - only for big endian for now.
17453         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
17454         when FPU is in use.
17455         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
17456         (LOAD_EXTEND_OP): NIL for SImode.
17457         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
17458         general and fp registers is 4.
17459         PREDICATE_CODES: Amend binary_float_operator entry.
17460         Remove zero_vec_operand.  Add unary_float_operator.
17461         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
17462         subreg SET_DEST.
17463         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
17464         (truncdiqi2): Do sign extension.
17465         (movsi_media, movdi_media): Allow to use r63 to an fp register.
17466         (movdf_media, movsf_media): Likewise.
17467         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
17468         Collapse to one define_insn_and_split.  Allow immediate sources.
17469         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
17470         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
17471         (movv4sf): Allow immediate sources.
17472         (movsf_media_nofpu+1): Don't split moves to FP registers.
17473         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
17474         (movv8qi_i+3): Check against CONST0_RTX.
17475         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
17476         for input and output operands.  Fix argument 3 to gen_mextr_rl.
17477         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
17478         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
17479         (mshf0_w, fipr, ftrv): Likewise.
17480         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
17482 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
17484         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
17485         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
17486         * arm.c: Similarly.
17488 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
17490         * config/mips/mips-protos.h (mips_sign_extend): Declare.
17491         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
17492         (TARGET_SWITCHES): Remove debugh.
17493         (ISA_HAS_TRUNC_W): New macro.
17494         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
17495         (PREDICATE_CODES): Remove se_nonimmediate_operand.
17496         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
17497         any SImode move_operand.
17498         (se_nonimmediate_operand): Remove.
17499         (mips_sign_extend): New.
17500         (mips_move_2words): Use it for sign-extended source operands.
17501         (override_options): Allow integers to be put into single FPRs.
17502         (mips_secondary_reload_class): Handle integers in float registers.
17503         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
17504         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
17505         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
17506         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
17507         (fix_truncdfdi2): Provide only a single alternative, in which the
17508         integer is in a float register.  Depend on TARGET_FLOAT64 rather
17509         than TARGET_64BIT.
17510         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
17511         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
17512         (movdi_internal2): Don't allow the source operand to be sign-extended.
17513         Add alternatives for float registers.
17514         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
17515         allows sign-extension.
17516         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
17517         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
17518         float registers.  Remove TARGET_DEBUG_H_MODE test.
17519         (movhi_internal1): Rename to movhi_internal.  Don't check
17520         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
17521         (movqi_internal1): Rename to movqi_internal and remove
17522         TARGET_DEBUG_H_MODE dependency.
17523         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
17525 2002-07-16  Jim Wilson  <wilson@redhat.com>
17527         * toplev.c (lang_dependent_init): Create function context for
17528         init_expr_once.
17530 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
17532         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
17533         --gc-sections if -r.
17534         * config/cris/cris.h: Ditto.
17536 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
17538         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
17539         the comparison directly gives a mask suppress addition when cf is
17540         zero by complementing the mask.
17542 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
17544         * Makefile.in: Delete references to enquire.
17545         * enquire.c: Move to contrib.
17547 2002-07-16  Stan Shebs  <shebs@apple.com>
17549         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
17550         config/rs6000/darwin.h.
17551         (ASM_OUTPUT_SKIP): Ditto.
17552         (TEXT_SECTION_ASM_OP): Ditto.
17553         (DATA_SECTION_ASM_OP): Ditto.
17554         (ASM_APP_ON): Define.
17555         (ASM_APP_OFF): Define.
17556         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
17557         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
17559         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
17560         (machopic_function_base_name): Declare result to be const.
17561         (machopic_non_lazy_ptr_name): Ditto.
17562         (machopic_stub_name): Ditto.
17563         * config/darwin-protos.h: Ditto for the prototypes.
17565 2002-07-17  Jan Hubicka  <jh@suse.cz>
17567         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
17569 2002-07-17  Jan Hubicka  <jh@suse.cz>
17571         * i386.md (prefetch): Fix for 64bit mode.
17572         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
17574 2002-07-17  Jan Hubicka  <jh@suse.cz>
17576         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
17577         * i386.c (x86_machine_dependent_reorg): New function.
17578         * i386-protos.h (x86_machine_dependent_reorg): Declare.
17580 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
17582         * builtins.c (std_expand_builtin_va_start): Remove unused
17583         first argument.
17584         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
17585         std_expand_builtin_va_start with just two arguments.
17586         * expr.h: Update prototypes.
17588         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
17589         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
17590         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
17591         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
17592         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
17593         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
17594         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
17595         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
17596         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
17597         argument from all implementations of EXPAND_BUILTIN_VA_START
17598         and all uses of std_expand_builtin_va_start.
17600 2002-07-16  J"orn Rennecke <joern.rennecke@superh.com>
17602         * regrename.c (copy_value): Don't record high part copies.
17604 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
17606         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
17607         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
17608         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
17610 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
17612         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
17614         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
17615         into addsi3 using register class "x" and "y".
17617         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
17618         "earlyclobber" constraint modifier for some alternative.
17620         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
17621         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
17622         unordered.
17623         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
17625         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
17626         (TARGET_SWITCHES): Add -mieee-compare option.
17627         (OVERRIDE_OPTIONS): 32332 is a subset of
17628         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
17629         (TARGET_SWITCHES): Fix description of bit-field option.
17630         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
17631         -mieee-compare option. Remove 32332 flag.
17633 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
17635         * explow.c (convert_memory_address): Remove special handling
17636         when POINTERS_EXTEND_UNSIGNED < 0.
17637         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
17638         (movedi_symbolic): Fix typo.
17639         (load_fptr): Remove mode restriction so it works for SI and DI.
17640         (load_fptr_internal1): Ditto.
17641         (load_gprel): Ditto.
17642         (load_symptr_internal1): Ditto.
17643         (call_pic): Ditto.
17644         * config/ia64.c (call_operand): Modify mode check.
17645         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
17646         (ia64_expand_move): Ditto.
17647         (ia64_assemble_integer): Handle SImode function pointers.
17648         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
17649         (ia64_expand_op_and_fetch): Ditto.
17650         (ia64_expand_compare_and_swap): Ditto.
17651         (ia64_expand_lock_test_and_set): Ditto.
17652         (ia64_expand_lock_release): Ditto.
17654 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
17656         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
17658 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
17659             Richard Earnshaw  <rearnsha@arm.com>
17661         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
17662         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
17664 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
17666         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
17667         understands to be a memory clobber.
17668         * arm.c (arm_expand_prologue): Use it.
17670 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
17672         * ra-rewrite.c: #include reload.h, insn-config.h
17673         * ra-build.c: #include reload.h
17674         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
17675         depend on reload.h, insn-config.h.
17677 2002-07-16  J"orn Rennecke <joern.rennecke@superh.com>
17679         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
17680         the same size as a word.
17682         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
17683         BYTES_BIG_ENDIAN into account.
17685 2002-07-16  Jan Hubicka  <jh@suse.cz>
17687         * i386.md (prefetch): Fix for 64bit mode.
17688         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
17690         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
17692 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
17694         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
17696 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
17698         * ginclude/varargs.h: Replace with stub which issues #error.
17699         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
17700         __builtin_va_start.
17702         * builtins.def (BUILT_IN_VARARGS_START): Delete.
17703         (BUILT_IN_VA_START): New.
17704         * builtins.c (expand_builtin_va_start): Eliminate first
17705         argument and code to implement pre-ISO varargs.
17706         (std_expand_builtin_va_start): Ignore first argument; it is
17707         always 1.
17708         (expand_builtin): Handle BUILT_IN_VA_START and
17709         BUILT_IN_STDARG_START identically.  Delete
17710         BUILT_IN_VARARGS_START case.
17712         * function.c (assign_parms): Delete hide_last_arg and all
17713         its uses.
17714         (mark_varargs): Delete function.
17715         * function.h (struct function): Delete 'varargs' bit.
17716         (current_function_varargs): Delete macro.
17717         * tree.h: Don't declare mark_varargs.
17719         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
17720         (c_expand_body): Don't call mark_varargs.
17721         * c-objc-common.c: Handle BUILT_IN_VA_START and
17722         BUILT_IN_STDARG_START identically.  Delete
17723         BUILT_IN_VARARGS_START case.
17724         * c-tree.h: Don't declare c_mark_varargs.
17725         * c-parse.in: Remove grammar rules for '&...' (which has been
17726         commented out since before 2.7.2) and for '...' in K+R
17727         argument declarations.
17729         * builtins.c, function.c, integrate.c, sibcall.c,
17730         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
17731         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
17732         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
17733         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
17734         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
17735         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
17736         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
17737         config/stormy16/stormy16.c: Delete all references to
17738         current_function_varargs, and code predicated on that flag.
17740         * config/alpha/alpha.c (alpha_va_start),
17741         config/arc/arc.c (arc_va_start),
17742         config/i386/i386.c (ix86_va_start),
17743         config/mips/mips.c (mips_va_start),
17744         config/mn10300/mn10300.c (mn10300_va_start),
17745         config/rs6000/rs6000.c (rs6000_va_start),
17746         config/s390/s390.c (s390_va_start),
17747         config/sh/sh.c (sh_va_start),
17748         Ignore first argument; it is always 1.
17750         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
17751         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
17752         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
17753         Delete m68hc11_va_start.
17754         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
17755         No need to define EXPAND_BUILTIN_VA_START.
17757         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
17758         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
17760 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
17762         PR optimization/7153
17763         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
17764         dies in more than one insn.
17766 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
17768         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
17770 2002-07-15  Michael Matz  <matz@suse.de>,
17771             Daniel Berlin  <dberlin@dberlin.org>,
17772             Denis Chertykov  <denisc@overta.ru>
17774         Add a new register allocator.
17776         * ra.c: New file.
17777         * ra.h: New file.
17778         * ra-build.c: New file.
17779         * ra-colorize.c: New file.
17780         * ra-debug.c: New file.
17781         * ra-rewrite.c: New file.
17783         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
17784         (ra-rewrite.o): New .o files for libbackend.a.
17785         (GTFILES): Add basic-block.h.
17787         * toplev.c (flag_new_regalloc): New.
17788         (f_options): New option "new-ra".
17789         (rest_of_compilation): Call initialize_uninitialized_subregs()
17790         only for the old allocator.  If flag_new_regalloc is set, call
17791         new allocator, instead of local_alloc(), global_alloc() and
17792         friends.
17794         * doc/invoke.texi: Document -fnew-ra.
17795         * basic-block.h (FOR_ALL_BB): New.
17796         * config/rs6000/rs6000.c (print_operand): Write small constants
17797         as @l+80.
17799         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
17800         (df_reg_table_realloc): Make size at least as large as max_reg_num().
17801         (df_insn_table_realloc): Size argument now is absolute, not relative.
17802         Changed all callers.
17804         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
17805         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
17807         2002-06-20  Michael Matz  <matz@suse.de>
17809         * df.h (struct ref.id): Make unsigned.
17810         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
17812         2002-06-13  Michael Matz  <matz@suse.de>
17814         * df.h (DF_REF_MODE_CHANGE): New flag.
17815         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
17816         involving subregs with invalid mode changes, when
17817         CLASS_CANNOT_CHANGE_MODE is defined.
17819         2002-05-07  Michael Matz  <matz@suse.de>
17821         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
17823         2002-05-03  Michael Matz  <matz@suse.de>
17825         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
17827         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
17829         * regclass.c (regclass): Work with all regs which have sets or
17830         refs.
17831         (reg_scan_mark_refs): Count regs inside (clobber ...).
17833         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
17835         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
17836         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
17837         add new refs.
17838         (df_bb_refs_update): Don't clear insns_modified here, ...
17839         (df_analyse): ... but here.
17841         * sbitmap.c (dump_sbitmap_file): New.
17842         (debug_sbitmap): Use it.
17844         * sbitmap.h (dump_sbitmap_file): Add prototype.
17846         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
17848         * df.c (df_insn_modify): Grow the UID table if necessary, rather
17849         than assume all emits go through df_insns_modify.
17851         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
17853         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
17854         increase REG_N_REFS (like flow does), so that regclass doesn't
17855         think a reg is useless, and thus, not calculate a class, when it
17856         really should have.
17858         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
17860         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
17861         dataflow analysis.
17863 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
17865         PR middle-end/7245
17866         * config/i386/i386.c (const_int_1_31_operand): New.
17867         * config/i386/i386.h (PREDICATE_CODES): Add it.
17868         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
17869         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
17870         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
17872 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
17874         PR target/7282
17875         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
17876         (floatunssidf2): Likewise.
17877         (floatsidf_ppc64): New insn_and_split.
17878         (floatunssidf_ppc64): Likewise.
17880 2002-07-14  Andreas Jaeger  <aj@suse.de>
17882         * config.gcc (sh64): Remove unused
17883         target_requires_64bit_host_wide_int.
17885 2002-07-12  Roger Sayle  <roger@eyesopen.com>
17887         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
17888         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
17889         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
17890         whether clear_by_pieces should be used to clear storage.
17891         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
17893         * doc/tm.texi: Document these two new target macros.
17895 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
17897         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
17898         the scratch register.
17899         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
17900         of it, forbid reload to use it.
17902 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
17904         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
17905         usage on 64-bit hosts, return value was truncated to 32 bits.
17907 2002-07-12  J"orn Rennecke <joern.rennecke@superh.com>
17909         * simplify-rtx.c (simplify_subreg): Handle floating point
17910         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
17911         the element mode is requested, compute a subreg with an
17912         integer mode of the same size as the element mode first.
17914 2002-07-11  J"orn Rennecke <joern.rennecke@superh.com>
17916         * combine.c (try_combine): When converting a paradoxical subreg
17917         to an extension, take LOAD_EXTEND_OP into account.
17919 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17921         * config.gcc (mips-sgi-irix6*o32): New configuration.
17923         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
17924         configurations.
17925         * configure: Regenerate.
17927         * config/mips/iris6-o32-as.h: New file.
17928         * config/mips/iris6-o32.h: New file.
17930         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
17931         (NM_FLAGS): Define.
17932         (HAVE_AS_SHF_MERGE): Undefine.
17934         * config/mips/t-iris5-as: New file.
17935         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
17937         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
17938         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
17939         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
17940         dp-bit.c, fp-bit.c): Move ...
17941         * config/mips/t-iris5-6: ... here.
17942         New file, shared by IRIX 5 and IRIX 6.
17943         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
17944         mips-sgi-irix5*): Use it.
17946         * config/mips/iris6.h: Remove duplicate comment.
17948         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
17949         !TARGET_IRIX6]: Define.
17950         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
17952         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
17954 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17956         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
17957         and delete code to force constant to register.
17958         * pa-protos.h (adddi3_operand): Add prototype.
17959         * pa.c (adddi3_operand): New function.
17961 2002-07-11  Roger Sayle  <roger@eyesopen.com>
17963         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
17964         non-ANSI builtin functions.
17966 2002-07-11  J"orn Rennecke <joern.rennecke@superh.com>
17968         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
17969         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
17970         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
17971         (gen_const_vector_0): Use it.
17973 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17975         * pa.md (adddi3): For 32-bit targets, force constants to a register
17976         if they don't fit in an 11-bit immediate.  Change insn predicate to
17977         arith11_operand.  Remove comment.
17978         * pa.c (cint_ok_for_move): Fix comment.
17979         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
17980         targets.
17982 2002-07-11  Tim Josling  <tej@melbpc.org.au>
17984         Remove front end hard coding from gengtype.c.
17986         * Makefile.in
17987         (STAGESTUFF): add gtyp-gen.h
17988         (GTFILES): Remove front end specific files.
17989         (GTFILES_FILES_LANGS): New, from configure..
17990         (GTFILES_FILES_FILES): Likewise.
17991         (GTFILES_LANG_DIR_NAMES): Likewise.
17992         (GTFILES_SRCDIR): Likewise.
17993         (gtyp-gen.h): Build from configure information.
17994         (s-gtype): Remove command line parameters from gengtype.
17995         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
17996         (mostlyclean): Delete files generated by and for gengtype.
17998         * c-config-lang.in: New file.
18000         * configure.in (all_gtfiles_files_langs): New. Accumulate files
18001         for each language.
18002         (all_gtfiles_files_files): New. Accumulate language for each file
18003         accumulated.
18004         (gtfiles): Pick up value for C.
18005         (srcdir): AC-SUBST this variable.
18006         (all_gtfiles_files_langs): AC-SUBST this variable.
18007         (all_gtfiles_files_files): AC-SUBST this variable.
18009         * configure: Regenerate.
18011         * gengtype-lex.l (parse_file): Make parameter const.
18013         * gengtype.c (toplevel): include gtyp-gen.h.
18014         (BASE_FILE_<language> unnamed enum): Delete.
18015         (lang_names): Delete (replaced by gtyp-gen.h)
18016         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
18017         all references.
18018         (NUM_GT_FILES): New.
18019         (NUM_LANG_FILES): New.
18020         (srcdir_len): New.
18021         (NUM_BASE_FILES): Change calculation.
18022         (open_base_files): Change prototype to avoid warning.
18023         (startswith): Delete.
18024         (get_file_basename): Iterate through generated language list not
18025         hard coded list.
18026         (get_base_file_bitmap): Use generated list of files and languages.
18027         (close_output_files): Add prototype to rmove warning.
18028         (main): Iterate through list of generated files from gtyp-gen.h
18029         rather than command line paramaters.  Ignore duplicated file
18030         names.
18032         * gengtype.h (parse_file): Amend prototype for const parameter.
18034         * doc/sourcebuild.texi: Document gtfiles variable.
18036         * doc/gty.texi: Document changes to gtfiles variable for front
18037         ends.
18039         * objc/config-lang.in (gtfiles): Add files needed for objc front
18040         end.
18042 2002-07-10  Roger Sayle  <roger@eyesopen.com>
18044         PR c/2454
18045         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
18046         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
18048 2002-07-10  Roger Sayle  <roger@eyesopen.com>
18049             Zack Weinberg <zack@codesourcery.com>
18051         * builtins.def: Make the argument types of abort and exit
18052         independent of the front-end.
18054 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
18056         * config/rs6000/linux64.h (ASM_SPEC): Define.
18058 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
18060         * config/rs6000/rs6000.c (emit_frame_save): New.
18061         (rs6000_frame_related): Replace reg2 before reg.
18062         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
18063         and eh_return registers.
18065 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
18067         Revert all patches for optimization of Complex .op. Real.
18068         * complex_part_zero_p: Remove
18069         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
18070         with x.
18071         * expand_cmplxdiv_wide: Ditto.
18072         * expand_binop: Ditto.
18074 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
18076         * config/avr/avr.md: Fix two 0x80000000 constants to make them
18077         negative also on 64-bit hosts.
18079         Default to -fno-reorder-blocks when optimizing for size.
18080         * config/avr/avr-protos.h (avr_optimization_options): Declare.
18081         * config/avr/avr.c (avr_optimization_options): New function.
18082         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
18084         Optimize returning from simple functions.
18085         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
18086         * config/avr/avr.c (avr_simple_epilogue): New function.
18087         * config/avr/avr.md (return): New insn.
18089 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
18091         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
18092         HAS_INIT_SECTION to protection.
18094 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
18096         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
18097         deprecated.
18099 2002-07-10  J"orn Rennecke <joern.rennecke@superh.com>
18101         * combine.c (gen_lowpart_for_combine): Handle vector modes.
18102         Supply non-VOID mode to simplify_gen_subreg.
18104 2002-07-10  Jan Hubicka  <jh@suse.cz>
18106         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
18108 2002-07-10  Jeffrey A Law  <law@redhat.com>
18110         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
18111         as appropriate.
18113         * mn10200.c (expand_epilogue): Fix test to determine which scratch
18114         register to use.
18116 2002-07-10  J"orn Rennecke <joern.rennecke@superh.com>
18118         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
18119         Get mode from dest.
18120         If simplify_gen_subreg fails, try next equivalent.
18122 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
18124         * diagnostic.h: #include location.h
18125         (location_t): Move definition to..
18126         * location.h: ... here.  New file.
18127         * tree.h: #include location.h
18128         (DECL_SOURCE_LOCATION): New macro.
18129         (DECL_SOURCE_FILE): Use.
18130         (DECL_SOURCE_LINE): Likewise.
18131         (struct tree_decl): REplace filename and linenum with locus.
18132         * Makefile.in (TREE_H): add location.h
18133         (diagnostic.o): Depends on gt-location.h
18134         (gt-location.h): Depends on s-gtype
18136 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
18138         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
18139         TARGET_OS_CPP_BUILTINS.
18140         * config/rs6000/aix31.h: Likewise.
18141         * config/rs6000/aix41.h: Likewise.
18142         * config/rs6000/aix43.h: Likewise.
18143         * config/rs6000/aix51.h: Likewise.
18144         * config/rs6000/beos.h: Likewise.
18145         * config/rs6000/darwin.h: Likewise.
18146         * config/rs6000/eabi.h: Likewise.
18147         * config/rs6000/eabisim.h: Likewise.
18148         * config/rs6000/linux.h: Likewise.
18149         * config/rs6000/linux64.h: Likewise.
18150         * config/rs6000/lynx.h: Likewise.
18151         * config/rs6000/mach.h: Likewise.
18152         * config/rs6000/rtems.h: Likewise.
18153         * config/rs6000/sysv4.h: Likewise.
18154         * config/rs6000/vxppc.h: Likewise.
18156 2002-07-09 Devang Patel <dpatel@apple.com>
18157         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
18158         Do not allow ObjC objects as a parameter type for Objective-C methods.
18159         My previous patch restricted  'struct' also.
18161 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
18163         * cpperror.c (cpp_error): Default to directive_line within
18164         directives here.
18165         * cppexp.c (cpp_interpret_integer): Only use traditional
18166         number semantics in directives.
18167         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
18168         (do_include_common): Similarly.
18169         * cpptrad.c (scan_out_logical_line): Implement accurate
18170         quoting of <> in #include.
18171         * doc/cpp.texi: Update.
18173 2002-07-09  Stephen Clarke <stephen.clarke@superh.com>
18174                           J"orn Rennecke <joern.rennecke@superh.com>
18176         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
18177         * sh.md (attribute issues): Replace with:
18178         (attribute pipe_model).  All users changed.
18179         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
18180         All users changed.
18181         (function units sh5issue, sh5fds): New.
18182         (attribute is_mac_media): New.
18183         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
18184         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
18185         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
18186         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
18187         (call_media, call_value_media, sibcall_media): Likewise.
18188         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
18189         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
18190         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
18191         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
18192         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
18193         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
18194         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
18195         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
18196         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
18197         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
18198         (truncdfsf2_media): Likewise.
18199         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
18200         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
18202 2002-07-09  J"orn Rennecke <joern.rennecke@superh.com>
18204         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
18205         * sh.c (general_extend_operand, inqhi_operand): New functions.
18206         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
18207         alternatives using 'N' modifier.  Add type.
18208         (adddi3z_media): Likewise.  Enable generator function generation.
18209         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
18210         exact predicates / constraints.  Add type.
18211         (subsi3): Allow 0 for SHMEDIA.
18212         (udivsi3_i4_media): Use match_operand for input values
18213         rather than hard registers.
18214         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
18215         unnecessarily through hard registers.  Keep copies of pseudo
18216         registers outside of the libcall sequence.
18217         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
18218         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
18219         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
18220         (extendhidi2, extendqidi2): Likewise.
18221         (andsi3_compact): Name.
18222         (andcdi3): Enable generator function generation.
18223         (zero_extendhisi2, zero_extendqisi2): Rename to
18224         (zero_extendhisi2_compact, zero_extendqisi2_compact).
18225         (extendhisi2, extendqisi2): Rename to
18226         (extendhisi2_compact, extendqisi2_compact).
18227         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
18228         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
18229         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
18230         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
18231         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
18232         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
18233         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
18234         (shmedia32_initialize_trampoline_big): Likewise.
18235         (shmedia32_initialize_trampoline_little): Likewise.
18236         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
18237         (negdi2): Remove spurious T clobber.
18238         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
18239         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
18240         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
18241         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
18242         (ic_invalidate_line_media): Write back data cache before invalidating
18243         instruction cache.  Add type.
18244         (movsf_media): Sign-extend when the destination is a general
18245         purpose register.  Add type.
18246         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
18247         (casesi_worker_0+1): Only increment ref count for proper label.
18248         (casesi_worker_0+2): Likewise.
18250 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
18252         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
18254 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
18256         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
18257         from Pmode to ptr_mode.
18258         (get_exception_pointer): Ditto.
18259         (connect_post_landing_pads): Ditto.
18260         (dw2_build_landing_pads): Ditto.
18262 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
18263         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
18264         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
18265         (handle_pragma_redefine_extname): Change to use new function.
18267 2002-07-08  Roger Sayle  <roger@eyesopen.com>
18269         * combine.c (combine_simplify_rtx): Add an explicit cast
18270         to avoid signed/unsigned comparison warning.
18271         (simplify_if_then_else): Likewise.
18272         (extended_count): Likewise.
18273         (simplify_shift_const): Likewise.
18274         (simplify_comparison): Likewise.
18276 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
18278         * config/mips/mips.md: Add imadd type.  Update scheduler description
18279         to use imadd as well as imul.
18280         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
18281         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
18282         (*mul_sub_si): Likewise for first alternative.  Change second
18283         alternative from imul to multi.
18285 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
18287         * c-common.c (c_common_post_options): Update prototype;
18288         don't init backends if preprocessing only.
18289         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
18290         * langhooks.h (struct lang_hooks): Update post_options to
18291         return a boolean.
18292         * toplev.c (parse_options_and_default_flags, do_compile,
18293         lang_independent_init): Update prototypes.  Allow the
18294         front end to specify that there is no need to initialize
18295         the back end.
18296         (general_init): Move call to hex_init here...
18297         (toplev_main): ...from here.  Pass flag for back end init
18298         suppression.
18300 2002-07-07  J"orn Rennecke <joern.rennecke@superh.com>
18302         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
18303         (PREDICATE_CODES): Add entries for equality_comparison_operator,
18304         greater_comparison_operator and less_comparison_operator.
18305         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
18306         more operators.
18307         (equality_comparison_operator): New function.
18308         (greater_comparison_operator, less_comparison_operator): Likewise.
18309         * sh.md (beq_media_i): Disable generator function generation.
18310         Use match_operator to handle a whole class of comparisons.  Add
18311         modifier in output template to provide branch prediction.  Add type.
18312         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
18313         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
18314         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
18315         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
18317 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
18319         Emit MMIX function prologue and epilogue as rtl.
18320         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
18321         not unprototyped get_hard_reg_initial_val.
18322         ("call_value", "nonlocal_goto_receiver"): Ditto.
18323         ("return"): Make define_expand.  Move real insn to...
18324         ("*expanded_return"): New pattern.
18325         ("prologue", "epilogue"): New define_expands.
18326         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
18327         (struct machine_function): New member in_prologue.
18328         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
18329         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
18330         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
18331         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
18332         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
18333         (LOCAL_REGNO): Define.  Adjust comment.
18334         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
18335         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
18336         leaf_function_p.
18337         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
18338         the prologue.
18339         (mmix_target_asm_function_prologue): Make static.  Just mark that
18340         the prologue is being emitted.  Move guts to...
18341         (mmix_expand_prologue): New function.  Adjust for emitting
18342         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
18343         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
18344         \n.  Move guts to...
18345         (mmix_expand_epilogue): New function.  Adjust for emitting
18346         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
18347         (mmix_target_asm_function_end_prologue): Mark that the prologue
18348         has ended.
18349         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
18350         (mmix_conditional_register_usage): Improve comments.
18351         (mmix_local_regno): New function.
18352         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
18353         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
18354         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
18355         (mmix_get_hard_reg_initial_val): Ditto.
18357 2002-07-06  Andreas Jaeger  <aj@suse.de>
18359         * toplev.c (set_fast_math_flags): Don't use ISO C style function
18360         definitions.
18361         * gengtype.c (open_base_files): Likewise.
18362         (close_output_files): Likewise.
18363         * tracer.c (find_best_predecessor): Likewise.
18364         (find_best_successor): Likewise.
18365         (ignore_bb_p): Likewise.
18367 2002-07-05  Roger Sayle  <roger@eyesopen.com>
18369         PR c++/7099
18370         * builtin-attrs.def: Define new attribute lists for use in
18371         builtins.def.
18372         * builtins.def [DEF_BUILTIN]: Modify to take an additional
18373         ATTRS argument, an enumerated value defined in builtin-attrs.def
18374         that represents the attribute list for the builtins.  Modify
18375         all builtin functions to pass an appropriate attribute list.
18376         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
18377         their required noreturn attributes.
18378         * tree.h (enum_builtin_function): Ignore the additional parameter
18379         to DEF_BUILTIN.
18380         * builtins.c (built_in_names): Likewise.
18381         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
18382         argument with a tree representing the functions attribute list.
18383         Pass this "attrs" argument to builtin_function.  No longer handle
18384         the noreturn_p processing manually.
18385         (built_in_attributes): Move the definitions from builtin-attrs.def
18386         before c_common_nodes_and_builtins.
18387         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
18388         DEF_BUILTIN, passing it to both builtin_function and the changed
18389         builtin_function_2.
18391         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
18392         __builtin__exit and __builtin__Exit.
18394 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
18396         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
18397         QI mode registers in soft registers.
18398         ("zero_extendqihi2"): Do not take into account soft registers
18399         for register allocation (use '*' constraint).
18401 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
18403         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
18404         it is dead.
18405         ("*ashrsi3"): Likewise.
18406         ("*lshrsi3"): Likewise.
18408 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
18410         * genautomata.c (output_max_insn_queue_index_def): Take latencies
18411         into account.
18413 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
18415         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
18416         address computation and memory moves.
18418 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
18420         PR c++/6706
18421         * dwarfout.c (output_reg_number): Fix warning message.
18422         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
18423         before using it.
18425 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18427         * gcc/gcc.c (asm_debug): Move initialization ...
18428         (init_spec): ... here.
18430 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
18432         * c-parse.in (extdef): Append ';'.
18433         (old_style_parm_decls): Append ';'.
18435 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
18437         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
18438         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
18439         to gcc_cv_as_gstabs_flag.
18440         * configure: Rebuilt.
18442 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
18444         * ggc.h (ggc_add_root): Document as obsolete.
18446 2002-07-04  J"orn Rennecke <joern.rennecke@superh.com>
18448         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
18449         (mshflo_w): Likewise.
18451 2002-07-04  J"orn Rennecke <joern.rennecke@superh.com>
18453         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
18454         vector mode subregs of constants to finding integer mode
18455         subregs of constants.
18456         * cse.c (cse_insn): Use simplify_gen_subreg.
18457         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
18458         From a vector mode expression of different size than the
18459         target mode.
18461 2002-07-03  Eric Christopher  <echristo@redhat.com>
18463         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
18464         * config/mips/mips.h: Remove deprecated -m<processor> options
18465         and cc1_cpu_spec associated.
18466         (CONSTANT_ADDRESS_P): Fix last patch.
18467         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
18468         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
18469         sunge_sf): Remove.
18471 2002-07-03  Stan Shebs  <shebs@apple.com>
18473         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
18474         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
18475         (CPP_SPEC): Remove insertion of APPLE_CC definition.
18477 2002-07-03  Roger Sayle  <roger@eyesopen.com>
18479         * combine.c (struct_undo): Change types of recorded substitutions
18480         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
18481         (do_SUBST_INT): Change types of the substitution from unsigned int
18482         to int, to avoid compilation warning from SUBST_INT's only caller.
18484         (make_extraction): Add cast to avoid compilation warning.
18485         (force_to_mode): Remove cast to avoid compilation warning.
18487 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
18488             Jeff Law  <law@redhat.com>
18490         * i386.md (length_immediate attribute): Fix typo.
18491         (length_address attribute): Likewise.
18492         (modrm attribute): Set it to 0 for immediate call instructions.
18493         (jcc_1 pattern): Set modrm attribute to 0.
18494         (jcc_2 pattern ): Likewise.
18495         (jump pattern): Likewise.
18496         (doloop_end_internal pattern): Explicitly set length.
18497         (leave pattern): Fix typo.
18498         (leave_rex64 pattern): Likewise.
18500 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
18502         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
18503         in FPR as preference.
18504         (fctiwz): Same.
18505         (floatdidf2, fix_truncdfdi2): Same.
18506         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
18507         (floatditf2): Same.
18508         (floatsitf2, fix_trunctfsi2): SImode in GPR.
18509         (ctrdi): Remove FPR alternative and splitter.
18511 2002-07-03  Will Cohen  <wcohen@redhat.com>
18513         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
18515 2002-07-03  J"orn Rennecke <joern.rennecke@superh.com>
18517         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
18518         than UNITS_PER_WORD, unless this is little endian and the first unit
18519         in this word.  Let extract_bit_field decide how to load an element.
18520         Force arguments to matching mode.
18521         (expand_vector_unop): Likewise.
18523         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
18524         consist of word_mode elements.
18525         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
18526         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
18527         (build_unary_op): Allow vector types for BIT_NOT_EPR.
18528         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
18529         CONST_VECTOR.
18530         * optabs.c (expand_vector_binop): Try to perform operation in
18531         smaller vector modes with same inner size.  Add handling of AND, IOR
18532         and XOR.  Reject expansion to inner-mode sized scalars when using
18533         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
18534         (expand_vector_unop): Try to perform operation in smaller vector
18535         modes with same inner size.  Add handling of one's complement.
18536         When there is no vector negate operation, try a vector subtract
18537         operation.  Use simplify_gen_subreg on constants.
18538         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
18539         constants into smaller vectors with same inner mode, and to
18540         integer CONST_DOUBLEs.
18542 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18544         * c-parse.in (parsing_iso_function_signature): New variable.
18545         (extdef_1): New, copied from...
18546         (extdef): ... here.  Reset parsing_iso_function_signature.
18547         (old_style_parm_decls):  Reset parsing_iso_function_signature.
18548         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
18549         Warn about ISO C style function definitions.
18550         (nested_function, notype_nested_function): Reset
18551         parsing_iso_function_signature.
18552         (parmlist_2): Set parsing_iso_function_signature.
18554         * doc/invoke.texi (-Wtraditional): Document new behavior.
18556 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
18558         * config.gcc (mips*el-*-*): Use tm_defines to set
18559         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
18560         * config/mips/little.h: Remove.
18562 2002-07-02 Devang Patel <dpatel@apple.com>
18564         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
18565         object as parameter. Prevent something like 'NSObject' to be
18566         used as the type for a method argument.
18568 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
18570         * cpptrad.c: Update comment.
18572 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
18574         * doc/cpp.texi: Update for traditional preprocessing changes.
18575         * goc/cppopts.texi: Similarly.
18577 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
18579         * c-parse.in (designator): Enable designated initializers if ObjC.
18580         (objcmessageexpr): Remove references to objc_receiver_context.
18581         * objc/objc-act.h (objc_receiver_context): Remove decl.
18582         * objc/objc-act.c (objc_receiver_context): Remove.
18583         (lookup_objc_ivar): Test objc_method_context instead of
18584         objc_receiver_context.
18586 2002-07-02  J"orn Rennecke <joern.rennecke@superh.com>
18588         * sh.c (print_operand, case 'N'): Allow zero vector.
18589         (arith_reg_or_0_operand): Likewise.
18590         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
18591         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
18592         IOR, XOR, PLUS and SET and take their respective constant
18593         ranges into account.
18594         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
18595         * sh.md (subdi3, subdi3_media): Allow zero operand.
18596         (movv8qi_i+3): Only vector that is not split is the zero vector.
18597         Fix operand 3 to simplify_subreg.
18598         (movv2si_i): Split alternative 1.
18599         (mshfhi_l_di_rev+1): New splitter.
18601 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
18603         PR preprocessor/7029
18604         * cppinit.c (cpp_handle_option):  Suppress warnings with an
18605         implicit "-w" for "-M" and "-MM".
18606         * doc/cppopts.texi: Update.
18608 2002-07-01  Roger Sayle  <roger@eyesopen.com>
18610         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
18611         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
18612         builtin_function.
18614 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
18616         * README.Portability: Fix typos.
18618 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
18620         PR target/7177
18621         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
18622         of indirections for register inside sign-extended mem part.
18624 2002-07-01  Roger Sayle  <roger@eyesopen.com>
18626         * tree.h:  Modify builtin_function interface to take an extra
18627         argument ATTRS, which is a tree representing an attribute list.
18629         * c-decl.c (builtin_function): Accept additional parameter.
18630         * objc/objc-act.c (builtin_function): Likewise.
18631         * f/com.c (builtin_function): Likewise.
18632         * java/decl.c (builtin_function): Likewise.
18633         * ada/utils.c (builtin_function): Likewise.
18634         * cp/decl.c (builtin_function): Likewise.
18635         (builtin_function_1): Likewise.
18637         * c-common.c (c_common_nodes_and_builtins): Pass an additional
18638         NULL_TREE argument to builtin_function.  (builtin_function_2):
18639         Likewise.
18640         * cp/call.c (build_java_interface_fn_ref): Likewise.
18641         * objc/objc-act.c (synth_module_prologue): Likewise.
18642         * java/decl.c (java_init_decl_processing): Likewise.
18643         * f/com.c (ffe_com_init_0): Likewise.
18645         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
18646         NULL_TREE argument to builtin_function.
18647         * config/arm/arm.c (def_builtin): Likewise.
18648         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
18649         * config/i386/i386.c (def_builtin): Likewise.
18650         * config/ia64/ia64.c (def_builtin): Likewise.
18651         * config/rs6000/rs6000.c (def_builtin): Likewise.
18653 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
18655         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
18656         * config/mips/t-isa3264: Likewise.
18657         * config/mmix/t-mmix: Likewise.
18659 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18661         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
18663 2002-07-01  Roger Sayle  <roger@eyesopen.com>
18665         PR opt/4046
18666         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
18667         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
18668         B are truth values.
18670 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
18672         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
18674 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
18676         * README.Portability (Function prototypes): Give an example of
18677         declaring and defining a function with no arguments.
18679         * README.Portability (Function prototypes): Document new
18680         variable-argument function macros.
18682 2002-07-01  J"orn Rennecke <joern.rennecke@superh.com>
18684         * sh.c (langhooks.h): Include.
18685         (sh_init_builtins, sh_media_init_builtins): New functions.
18686         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
18687         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
18688         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
18689         (builtin_description): New struct tag.
18690         (signature_args, bdesc): New arrays.
18691         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
18692         (print_operand): Add 'N' modifier.
18693         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
18694         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
18695         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
18696         (CONST_COSTS): Add special case for SHmedia AND.
18697         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
18698         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
18699         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
18700         target_operand can also be const or unspec.
18701         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
18702         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
18703         (attribute type): Add new types.
18704         (anddi3): Add splitter.
18705         (movdi_const_16bit+1): Add code to handle vector constants and
18706         bitmasks efficiently.
18707         (shori_media): Have generator function made.
18708         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
18709         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
18710         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
18711         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
18712         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
18713         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
18714         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
18715         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
18716         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
18717         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
18718         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
18719         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
18720         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
18721         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
18722         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
18723         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
18724         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
18725         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
18726         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
18727         (ftrv): Likewise.
18729         (fpu_switch+1, fpu_switch+2): Remove constraint.
18731 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
18733         * tree.c (build_function_type_list): Update function comment.
18734         Rename first argument to return_type.
18736 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
18738         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
18739         tradcif.y and related files.
18741 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
18743         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
18745 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18747         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
18749 See ChangeLog.7 for earlier changes.