OSDN Git Service

2003-08-22 Chris Demetriou <cgd@broadcom.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2003-08-22  Chris Demetriou  <cgd@broadcom.com>
2
3         * config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
4         (TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
5         * config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
6         around SB-1 errata if TARGET_FIX_SB1 is set.
7         (recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
8         * doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
9
10 2003-08-22  Roger Sayle  <roger@eyesopen.com>
11
12         * hashtable.c (ht_expand): Avoid calculating rehash for the common
13         case that the first probe hits an empty hash table slot.
14
15 2003-08-22  Mark Mitchell  <mark@codesourcery.com>
16
17         * config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
18
19 2003-08-22  Mark Mitchell  <mark@codesourcery.com>
20
21         * config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ...
22         (ptr_extend_plus_imm): ... this.
23         * config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4
24         optimization in C++.
25         (ia64_output_mi_thunk): Support ILP32 mode.
26
27 2003-08-22  bernardo innocenti  <bernie@develer.com>
28
29         * gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
30         function.
31         * gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
32
33 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
34
35         * config/i386/i386.c (const_int_1_operand): Simplify an
36         integer comparison.
37
38 2003-08-22  Alan Modra  <amodra@bigpond.net.au>
39
40         * config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
41         * config/rs6000/ppc64-fp.c: Likewise.
42
43 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
44
45         * cfgcleanup.c: Fix comment typos.
46         * emit-rtl.c: Likewise.
47         * optabs.c: Likewise.
48         * ra-build.c: Likewise.
49         * rtlanal.c: Likewise.
50         * tree.h: Likewise.
51
52 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
53
54         * c-decl.c: Fix comment formatting.
55         * cfgrtl.c: Likewise.
56         * combine.c: Likewise.
57         * convert.c: Likewise.
58         * dominance.c: Likewise.
59         * dwarf2out.c: Likewise.
60         * dwarfout.c: Likewise.
61         * expmed.c: Likewise.
62         * fold-const.c: Likewise.
63         * gcov.c: Likewise.
64         * genattrtab.c: Likewise.
65         * ggc-common.c: Likewise.
66         * mips-tfile.c: Likewise.
67         * regmove.c: Likewise.
68
69 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
70
71         * builtin-attrs.def: Fix comment formatting.
72         * c-pretty-print.c: Likewise.
73         * diagnostic.h: Likewise.
74         * langhooks.h: Likewise.
75         * recog.c: Likewise.
76         * simplify-rtx.c: Likewise.
77         * tree.def: Likewise.
78
79 2003-08-22  Bernardo Innocenti  <bernie@develer.com>
80
81         * config/m68k/m68k-protos.h: Convert to ISO C90.
82         * config/m68k/m68k.c: Likewise.
83
84 2003-08-21  Bernardo Innocenti  <bernie@develer.com>
85             Paul Dale  <pauli@snapgear.com>
86             Peter Barada <peter@baradas.org>
87
88         * config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
89         ColdFire cores.
90
91 2003-08-21  Zack Weinberg  <zack@codesourcery.com>
92
93         * Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
94         * config.gcc (*-*-openbsd): Don't set tm_file.
95         (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
96         arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
97         h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
98         i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
99         i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
100         m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
101         m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
102         m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
103         mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
104         sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
105         xscale-*-coff): Use explicit and complete lists of target headers
106         to include.  Move definitions to tm_defines where appropriate.
107         (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
108         not-yet-contributed configuration.
109
110         * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
111         * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
112         * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
113         * config/i386/nto.h, config/iq2000/iq2000.h,
114         * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
115         * config/m68k/linux.h, config/m68k/m68k-aout.h
116         * config/m68k/m68k-none.h, config/m68k/m68kv4.h
117         * config/m68k/netbsd.h, config/m68k/openbsd.h
118         * config/m68k/sgs.h, config/mcore/mcore-pe.h,
119         * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
120         * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
121         Remove includes of other target config headers, and
122         definitions of macros moved to tm_defines lists.  Add #undefs
123         where now necessary to prevent redefinition warnings.
124
125         * config/h8300/coff.h: New file split out of...
126         * config/h8300/elf.h: ...here.
127         * config/m68k/hp320base.h: New file split out of...
128         * config/m68k/hp320.h: ...here.
129         * config/rs6000/lynxbase.h: New file split out of...
130         * config/rs6000/lynx.h: ...here.
131
132         * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
133         * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
134
135         * config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
136         * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
137         * config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
138         Remove unnecessary #ifndef.
139         * config/s390/s390.h: Prefix #include of s390/fixdfdi.h
140         [under IN_LIBGCC2] with config/.
141
142 2003-08-21  Per Bothner  <bothner@pbothner.com>
143
144         * cppfiles.c (stack_file):  Correctly pass return_at_eof parameter
145         to cpp_push_buffer.
146         * cpplex.c (_cpp_get_fresh_line):  Don't buffer->prev - handled
147         by return_at_eof check.  Always call _cpp_pop_buffer at end.
148
149 2003-08-21  Kazu Hirata  <kazu@cs.umass.edu>
150
151         PR target/11805
152         * config/h8300/h8300.md (two anonymous patterns): Remove.
153
154 2003-08-21  Richard Sandiford  <rsandifo@redhat.com>
155
156         * config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
157         * config/mips/mips.c (function_arg_pass_by_reference): Never return
158         true for n32 & n64.
159
160 2003-08-21  Josef Zlomek  <zlomekj@suse.cz>
161
162         * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
163         and similarly in (A | C) == D where C & ~D != 0.
164
165 2003-08-20  Geoffrey Keating  <geoffk@apple.com>
166
167         PR 8180
168         * configure.in: When testing with_libs and with_headers, treat
169         'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
170         * configure: Regenerate.
171
172 2003-08-20  Peter Barada <peter@baradas.org>
173
174         * longlong.h (umul_ppmm): Add ColdFire support.
175
176 2003-08-20  Peter Barada <peter@baradas.org>
177             Bernardo Innocenti  <bernie@develer.com>
178
179         * config/m68k/m68k-none.h: Introduce new ColdFire archs.
180         * config/m68k/m68k.h: Likewise.
181         * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
182         * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
183         * config/m68k/linux.h: Likewise.
184         * config/m68k/m68k.c: Likewise.
185         * config/m68k/m68k.md: Likewise.
186         * config/m68k/m68kelf.h: Likewise.
187         * config/m68k/netbsd-elf.h: Likewise.
188         * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
189
190 2003-08-20  Bernardo Innocenti  <bernie@develer.com>
191
192         * config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
193         * config/m68k/m68k.md: Likewise.
194
195 2003-08-20  Mark Mitchell  <mark@codesourcery.com>
196
197         PR java/11996
198         Revert this change:
199         2003-08-19  Mark Mitchell  <mark@codesourcery.com>
200         * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
201         types with precisions other than those given by native machine
202         modes.
203
204 2003-08-20  Gunther Nikl  <gni@gecko.de>
205
206         * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
207         selected by FSGLMUL_USE_S and FSGLDIV_USE_S
208         * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
209         * config/m68k/m68k.md (anonymous define_insn): Likewise
210         * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
211         * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
212         code selected by NO_ASM_FMOVECR
213
214 2003-08-20  Gunther Nikl  <gni@gecko.de>
215
216         * config/m68k/m68k.c (output_move_const_into_data_reg,
217         output_move_himode): unify MOTOROLA/MIT handling of moveq
218         * config/m68k/m68k.md (movsi_const0, anonymous define_insn):
219         Likewise
220
221 2003-08-20  Gunther Nikl  <gni@gecko.de>
222
223         * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
224         label name
225         * config/m68k/m68k.c (m68k_output_function_epilogue): replace
226         HOST_WIDE_INT_PRINT_DEC with %wd
227
228 2003-08-20  Loren James Rittle  <ljrittle@acm.org>
229
230         * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
231         redefine warning.
232
233 2003-08-20  Roger Sayle  <roger@eyesopen.com>
234
235         PR middle-end/11984
236         * fold-const.c (fold <PLUS_EXPR>): Check for integer constant
237         operands before calling tree_int_cst_lt when performing associative
238         transformations.
239
240 2003-08-20  Jason Merrill  <jason@redhat.com>
241
242         * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
243         (EXPR_CHECK): Don't check for 'r' or 's' if we're
244         checking IS_EXPR_CODE_CLASS.
245         * calls.c (calls_function_1): Likewise.
246         * fold-const.c (fold): Likewise.
247         * tree.c (iterative_hash_expr): Likewise.
248         * tree-inline.c (walk_tree, copy_tree_r): Likewise.
249
250 2003-08-20  Gunther Nikl  <gni@gecko.de>
251
252         * config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
253         depending on MOTOROLA_BSR
254         * config/m68k/m68k.md (anonymous define_insn): Likewise
255
256 2003-08-20  Jason Merrill  <jason@redhat.com>
257
258         * builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
259         (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
260         fold_trunc_transparent_mathfn, fold_builtin): Likewise.
261         * dojump.c (do_jump): Likewise.
262         * fold-const.c (operand_equal_p, fold): Likewise.
263         (tree_expr_nonnegative_p): Likewise.
264
265         * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
266         TYPE_USER_ALIGN for FIELD_DECLs.
267
268         * attribs.c (decl_attributes): Rebuild the function pointer type after
269         changing the target type.
270         * tree.c (get_qualified_type): Also check that the attributes match.
271
272 2003-08-19  Matt Kraai  <kraai@alumni.cmu.edu>
273
274         * Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
275         * objc/config-lang.in (stagestuff): ... to here.
276
277 2003-08-19  Mark Mitchell  <mark@codesourcery.com>
278
279         PR c++/11946
280         * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
281         NOP_EXPR) when necessary.
282         * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
283         types with precisions other than those given by native machine
284         modes.
285
286 2003-08-19  Geoffrey Keating  <geoffk@apple.com>
287
288         * cpppch.c (cpp_valid_state): Re-add warning about PCH not used
289         because some macro is defined.
290
291         * config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
292         options.
293         * config/i386/darwin.h (ASM_SPEC): New.
294         (SUBTARGET_EXTRA_SPECS): New.
295         * config/rs6000/darwin.h (ASM_SPEC): New.
296         (SUBTARGET_EXTRA_SPECS): New.
297         * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
298         a cross-compiler between two different processors on Darwin.
299         * configure: Regenerate.
300
301 2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
302
303         * builtins.c: Fix comment typos.
304         * c-common.c: Likewise.
305         * c-decl.c: Likewise.
306         * c-pretty-print.c: Likewise.
307         * cfgbuild.c: Likewise.
308         * cfglayout.c: Likewise.
309         * cfgloopanal.c: Likewise.
310         * cgraphunit.c: Likewise.
311         * cppfiles.c: Likewise.
312         * dwarfout.c: Likewise.
313         * expr.c: Likewise.
314         * fold-const.c: Likewise.
315         * gcse.c: Likewise.
316         * ggc-page.c: Likewise.
317         * haifa-sched.c: Likewise.
318         * pretty-print.c: Likewise.
319         * tree.c: Likewise.
320         * tree.h: Likewise.
321         * value-prof.c: Likewise.
322
323 2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
324
325         * c-decl.c: Follow spelling conventions.
326         * cppfiles.c: Likewise.
327
328 2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
329
330         * c-common.c: Fix comment formatting.
331         * c-common.h: Likewise.
332         * c-decl.c: Likewise.
333         * cppinit.c: Likewise.
334         * cpplib.h: Likewise.
335         * emit-rtl.c: Likewise.
336         * input.h: Likewise.
337         * line-map.h: Likewise.
338         * opts.c: Likewise.
339         * opts.h: Likewise.
340         * simplify-rtx.c: Likewise.
341
342 2003-08-19  Daniel Jacobowitz  <drow@mvista.com>
343
344         * unwind-c.c: Add libgcc-style exception.
345         * unwind-dw2.c: Likewise.
346         * unwind-pe.h: Likewise.
347         * unwind-sjlj.c: Likewise.
348         * unwind.inc: Likewise.
349
350 2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
351
352         PR c/5582 PR c++/10538
353         * langhooks-def.h (lhd_decl_uninit): Declare.
354         (LANG_HOOKS_DECL_UNINIT): New macro.
355         (LANG_HOOKS_INITIALIZER): Adjust.
356         * langhooks.h (struct lang_hooks): Add new field
357         decl_uninit.
358         * langhooks.c (lhd_decl_uninit): Define.
359         * c-common.c (c_decl_uninit_1): New function.
360         (c_decl_uninit): New function.
361         (warn_init_self): Define.
362         * c-common.h (c_decl_uninit): Declare.
363         (warn_init_self): Declare.
364         * c.opt: Introduce -Winit-self.
365         * c-opts.c (c_common_handle_options): Set warn_init_self.
366         * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
367         * objc/objc-lang.c  (LANG_HOOKS_DECL_UNINIT): Define.
368         * function.c (uninitialized_vars_warning): Call the language hook.
369         * doc/invoke.texi: Document -Winit-self.
370
371 2003-08-19  Chris Demetriou  <cgd@broadcom.com>
372
373         * config/mips/mips.md: Adjust SI-mode "trap_if" instruction
374         to use better predicates and constraints.  Define new
375         instruction to handle "trap_if" with DI-mode arguments.
376         (conditional_trap): FAIL if trap code is not 0.
377
378 2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
379
380         * config/i386/i386.c (legitimate_pic_address_disp_p): Change the
381         strstr with $pb to a strcompare with "<pic base>"
382         (ix86_output_addr_diff_elt): Output the real pic base.
383
384 2003-08-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
385
386         * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
387         (LANG_HOOKS_INITIALIZER): Correct.
388         * c-lang.c: Likewise.
389
390 2003-08-19  Jan Hubicka  <jh@suse.cz>
391
392         * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
393         (cgraph_varpool_mark_needed_node): Likewise.
394         * cgraph.h (notice_global_symbol): Declare
395         * varasm.c (notice_global_symbol): Break out from ...
396         (assemble_start_function): ... here; update for variables.
397         (assemble_variable): Use notice_global_symbol.
398
399 2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
400
401         * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
402         expect SFmode and DFmode arguments to be passed in FPRs,
403         regardless of the underlying type.
404
405 2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
406
407         PR target/11924
408         * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
409         (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
410
411 2003-08-18  Matt Kraai  <kraai@alumni.cmu.edu>
412
413         PR c/11207
414         * c-typeck.c (set_init_index): Check for negative index.
415
416 2003-08-18  Bob Wilson  <bob.wilson@acm.org>
417
418         * config/xtensa/crti.asm (_init, _fini): Add alternate code for new
419         call0 ABI.
420         * config/xtensa/crtn.asm (_init, _fini): Likewise.
421         * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
422         __umodsi3, __modsi3): Likewise.
423         * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
424         $(INCLUDES).
425
426 2003-08-18  Aldy Hernandez  <aldyh@redhat.com>
427
428         * config/rs6000/spe.md ("*nabssf2_gpr"): New.
429
430 2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
431
432         * config/mips/mips.md: Quote C code in braces.  Remove use of
433         fake const0_rtx operands.  Remove double backslashes.  Use \;.
434         Remove workarounds for bogus warnings.
435
436 2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
437
438         * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
439         (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
440         rather than TARGET_MIPS4300.
441         (mulsf3_internal, mulsf3_r4300): Likewise.
442
443 2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
444
445         * config/mips/mips.md: Renumber unspecs.  Clean up comments.
446
447 2003-08-17  Roger Sayle  <roger@eyesopen.com>
448
449         * simplify-rtx.c (associative_constant_p): New function to test
450         whether an RTX expression is an immediate constant.
451         (simplify_associative_operation): New function to perform some
452         reassociation optimizations of associative binary expressions.
453         (simplify_binary_operation): Use simplify_associative_operation
454         to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
455         Floating point expressions are only reassociated when unsafe
456         math optimizations are permitted.
457
458 2003-08-17  Andreas Jaeger  <aj@suse.de>
459
460         * config/alpha/alpha.md: Remove usage of PARAMS.
461
462         * config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
463         * config/i386/i386-interix.h: Likewise.
464         * config/i386/winnt.c: Likewise.
465         * config/i386/cygming.h: Likewise.
466         * config/i386/cygwin2.c: Likewise.
467         * config/darwin.c: Likewise.
468         * config/darwin-c.c: Likewise.
469         * config/darwin-protos.h: Likewise.
470         * config/darwin.h: Likewise.
471         * config/s390/s390-protos.h: Likewise.
472         * config/s390/s390.c: Likewise.
473         * config/ia64/ia64.c: Likewse
474         * config/ia64/ia64-protos.h: Likewise.
475         * config/ia64/ia64-c.c: Likewise.
476
477 2003-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
478
479         * config/sparc/sparc.c: Convert to ISO C.
480
481         * config/sparc/sparc-protos.h: Don't use the PARAMS macro.
482         * config/sparc/sparc.c: Likewise.
483
484 2003-08-16  Nathan Sidwell  <nathan@codesourcery.com>
485
486         PR c++/11512
487         * stmt.c (expand_expr_stmt_value): Don't warn about any void
488         typed expression.
489
490 2003-08-16  Jan Hubicka  <jh@suse.cz>
491
492         * i386.c (ix86_fntype_regparm): Rename from ...
493         (ix86_function_regparm): ... this one; add fastcall and local
494         functions.
495         (ix86_function_ok_for_sibcall): Update.
496         (ix86_return_pops_args): Likewise.
497         (init_cumulative_args): Likewise.
498         (x86_can_output_mi_thunk): Likewise.
499         (function_arg): Fix formating.
500         (x86_this_parameter): Fix fastcall.
501         (x86_output_mi_thunk): Likewise.
502
503         * cgraph.c (cgraph_mark_needed_node): Do not mark functions without
504         body as reachable; mark nested functions as needed too.
505         (dump_cgraph): Do not output global.calls.
506         * cgraph.h (cgraph_global_info): Kill.
507         * cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
508         (record_call_1): Speedup.
509         (cgraph_analyze_function): Break out from ...; compute inlining
510         parameters.
511         (cgraph_finalize_compilation_unit): ... here.
512         (cgraph_mark_inline): Kill computation of calls.
513         (cgraph_decide_inlining): Do not compute most of initial values.
514
515 2003-08-14  Roger Sayle  <roger@eyesopen.com>
516
517         * fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
518         to negate if either operand is easy to negate, if we don't care
519         about sign-dependent rounding.
520         (negate_expr): Make the logic to negate a REAL_CST explicit.
521         Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand
522         that's easy to negate, if we don't honor sign-dependent rounding.
523         (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to
524         negate, and the symmetric A * -B as -A * B if A is easy to negate.
525         (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and
526         -C/D if B and C are cheap to negate.  Add an explicit rule to
527         optimize X/-1.0 as -X when we don't care about signaling NaNs.
528
529 2003-08-14  Zack Weinberg  <zack@codesourcery.com>
530
531         * Makefile.in (tm_file): Rename tm_include_list.
532         (tm_p_file): Rename tm_p_include_list.
533         (build_xm_file): Rename build_xm_include_list.
534         (host_xm_file): Rename host_xm_include_list.
535         (xm_file): Rename xm_include_list.
536         (xm_file_list): Add to be substituted.
537         (cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
538         Update to match.
539         (bt-load.o): Add missing dependency on $(TM_H).
540         * configure.in: Prefix value of EXTRA_MODES_FILE with config/.
541         For each of tm_file, tm_p_file, xm_file, host_xm_file, and
542         build_xm_file, generate both *_file_list and *_include_list
543         values from it.  (xm_file_list was formerly not being generated.)
544         In *_include_list, prefix the names of all headers found in
545         $(srcdir)/config with config/.  In each loop, consider only
546         the special case files that can actually appear in that list.
547         AC_SUBST all *_file_list and all *_include_list variables; do
548         not AC_SUBST the plain *_file variables.
549         * configure: Regenerate.
550
551 2003-08-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
552
553         * cfg.c (dump_edge_info): Add name of loop_exit edge flag.
554
555 2003-08-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
556
557         * pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in
558         direct calls.
559         (attr_length_call): Include it here.  Improve length estimate for
560         local calls.
561         (output_call): Use targetm.binds_local_p.
562
563 2003-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
564
565         * builtins.c (CASE_MATHFN): New helper macro.
566         (mathfn_built_in): Simplify and sort.
567
568         * protoize.c (substr): Delete, callers changed to `strstr'.
569
570 2003-08-13  Zack Weinberg  <zack@codesourcery.com>
571
572         * config.gcc (iq2000*-*-elf*): Don't set xm_file.
573         * config/iq2000/xm-iq2000.h: Delete file.
574
575 2003-08-13  Geoffrey Keating  <geoffk@apple.com>
576
577         * gengtype.c (walk_type): Process a subobject before processing
578         the pointer that points to the subobject.
579
580 2003-08-13  Per Bothner  <pbothner@apple.com>
581
582         * regclass.c (init_reg_modes):  Make non-static.
583         Rename to init_reg_modes_once per new naming convention.
584         (init_regs):  Don't call init_reg_modes here.
585         * emit-rtl.c (init_emit_once):  Call init_reg_modes_once here instead.
586         * rtl.h (init_reg_modes_once):  New declaration.
587         * toplev.c (backend_init):  Call init_regs after init_emit_once.
588
589 2003-08-13  Kaz Kojima  <kkojima@gcc.gnu.org>
590
591         * config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a
592         special index for MD_FALLBACK_FRAME_STATE_FOR to itself.
593
594 2003-08-13  J"orn Rennecke <joern.rennecke@superh.com>
595
596         * sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1.
597         * sh.md (load_ra): Change insn predicate to TARGET_SH1.
598
599 2003-08-13  Dale Johannesen  <dalej@apple.com>
600
601         * config/rs6000/rs6000.md (ctrsi, ctrdi):  Reenable
602         handling of decrement-and-branch farther than 32 bits.
603
604 2003-08-12  Kelley Cook  <kelleycook@wideopenwest.com>
605
606         * configure.in (make_compare_target): Move test to ...
607         * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
608         * configure: Regenerate.
609
610 2003-08-12  Richard Sandiford  <rsandifo@redhat.com>
611
612         * config/mips/iris6.h: Convert to C90 prototypes.
613         * config/mips/irix6-libc-compat.c: Likewise.
614         * config/mips/mips-protos.h: Likewise.
615         * config/mips/mips.c: Likewise.
616
617 2003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
618
619         fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel.  Enable
620         for selected machines.  Comment heavily.
621         fixinc/fixincl.x: Rebuild.
622         fixinc/tests/base/fs/rfs/rf_cache.h: New file.
623
624 2003-08-12  Richard Sandiford  <rsandifo@redhat.com>
625
626         * config/mips/mips.h: Tweak various comments.
627         * config/mips/mips.c: Likewise.
628
629 2003-08-11  James E Wilson  <wilson@tuliptree.org>
630
631         PR optimization/11319
632         PR target/10021
633         * alias.c (find_base_value, case REG): Return 0 not src if no base
634         found.
635
636 2003-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
637
638         * gcse.c (gmalloc): Fix last change.
639
640 2003-08-11  Roger Sayle  <roger@eyesopen.com>
641
642         * simplify-rtx.c (simplify_binary_operation): Replace calls to
643         gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
644         and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
645         gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
646
647 2003-08-11  Roger Sayle  <roger@eyesopen.com>
648
649         * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
650         * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
651         typecode for an ABS_EXPR.
652
653         * doc/c-tree.texi: Document ABS_EXPR.
654
655 2003-08-11  Roger Sayle  <roger@eyesopen.com>
656
657         * fold-const.c (fold): Optimize any associative floating point
658         operator with -funsafe-math-optimizations, not just MULT_EXPR.
659
660 2003-08-11  Kaz Kojima  <kkojima@gcc.gnu.org>
661
662         * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
663         information in SHmedia case too.
664         (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
665         Likewise.
666         (__set_fpscr): Use an access via GOT for PIC case.
667
668 2003-08-11  Kelley Cook  <kelleycook@wideopenwest.com>
669
670         * configure.in (intermodule): Make switch test more portable.
671         * configure: Regenerate.
672
673 2003-08-11  Kelley Cook  <kelleycook@wideopenwest.com>
674
675         * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
676         (restrap): Likewise.
677
678 2003-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
679
680         * gcse.c (gmalloc): Argument is a size_t.  Add ATTRIBUTE_MALLOC.
681         (grealloc): Size argument is a size_t.
682         (gcalloc): New function.  Use throughout in lieu of
683         gmalloc/memset.
684
685         * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
686         xmalloc/memset.
687         * config/ia64/ia64.c (ia64_reorg): Likewise.
688         * conflict.c (conflict_graph_new): Likewise.
689         * fixinc/fixincl.c (run_compiles): Likewise.
690         * genattrtab.c (optimize_attrs): Likewise.
691         * genrecog.c (new_decision): Likewise.
692         * haifa-sched.c (schedule_block): Likewise.
693         * hashtable.c (ht_create): Likewise.
694
695 2003-08-11  Bob Wilson  <bob.wilson@acm.org>
696
697         * config/xtensa/lib2funcs.S: Fix whitespace.
698         * config/xtensa/xtensa.md (all insns and expanders): Use brace block
699         syntax where appropriate.  Remove unnecessary backslash escapes.
700         Reformat comments and fix some code formatting.
701         (extendqisi2): Rearrange conditional.
702         (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
703         *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
704         of fatal_insn.
705
706 2003-08-11  Richard Sandiford  <rsandifo@redhat.com>
707
708         * config/mips/mips.c: Various formatting fixes.
709         (override_options): Resync -mtune handling with gas.
710         (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
711         * config/mips/mips.h: More formatting fixes.
712         (mips_abi): Move declaration.
713         * config/mips/mips.md (exception_receiver): Add mode to
714         unspec_volatile.
715
716 2003-08-11  Aldy Hernandez  <aldyh@redhat.com>
717
718         * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
719         evsplatfi here.
720         (bdesc_1arg): Remove evsplati and evsplatfi.
721
722 2003-08-11  J"orn Rennecke <joern.rennecke@superh.com>
723
724         * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
725         into account.
726
727 2003-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
728
729         * builtins.c (expand_builtin_strcat): Optimize constant strings.
730
731 2003-08-10  Gabriel Dos Reis  <gdr@integrable-solutions.net>
732
733         * pretty-print.c (pp_base_indent): Rename from pp_indent.
734         * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
735         (struct c_pretty_print_info): Add more fields.
736         (pp_c_left_paren): Move to c-pretty-print.c.
737         (pp_c_right_paren): Likewise.
738         (pp_c_left_brace): Likewise.
739         (pp_c_right_brace): Likewise.
740         (pp_c_left_bracket): Likewise.
741         (pp_c_right_bracket): Likewise.
742         (pp_c_declarator): Declare.
743         (pp_c_direct_declarator): Likewise.
744         (pp_c_specifier_qualifier_list): Likewise.
745         (pp_c_type_id): Likewise.
746         * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
747         (pp_c_type_qualifier_list): New.
748         (pp_c_pointer): Likewise.
749         (pp_c_parameter_type_list): Likewise.
750         (pp_c_function_definition): Likewise.
751         (pp_c_id_expression): Likewise.
752         (pp_c_simple_type_specifier): Tidy.
753         (pp_c_unary_expression): Likewise.
754         (pp_c_expression): Likewise.
755         (pp_c_pretty_printer_init): Likewise.
756         (pp_c_specifier_qualifier_list): Rework..
757         (pp_c_abstract_declarator): Likewise.
758         (pp_c_postfix_expression): Likewise.
759         (pp_c_primary_expression): Likewise.
760         (pp_c_cast_expression): Likewise.
761         (pp_c_direct_abstract_declarator): Likewise.
762         (pp_c_storage_class_specifier): Likewise.
763         (pp_c_function_specifier): Likewise.
764         (pp_c_declaration_specifiers): Likewise.
765         (pp_c_direct_declarator): Likewise.
766         (pp_c_declarator): Likewise.
767         (pp_c_declaration): Likewise.
768         (pp_c_statement): Likewise.
769         (pp_c_integer_constant): Rename from pp_c_integer_literal.
770         (pp_c_character_constant): Rename from pp_c_character_literal.
771         (pp_c_bool_constant): Rename from pp_c_bool_literal.
772         (pp_c_enumeration_constant): Rename from pp_c_enumerator.
773         (pp_c_floating_constant): Rename from pp_c_real_literal.
774         (pp_c_constant): Rename from pp_c_literal.
775         * c-lang.c: Include diagnostic.h and c-pretty-print.h
776         (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
777         (c_initialize_diagnostics): New.
778         * Makefile.in (c-lang.o): Update dependency.
779
780 2003-08-10  Nathan Sidwell  <nathan@codesourcery.com>
781
782         * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
783
784 2003-08-10  Richard Sandiford  <rsandifo@redhat.com>
785
786         * config/mips/mips.c (mips_no_mips16_string): Remove.
787         (override_options): Don't handle -mips16 as part of -mipsN.
788         * config/mips/mips.h (mips_no_mips16_string): Remove declaration.
789         (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
790         (TARGET_OPTIONS): Remove -mno-mips16.
791
792 2003-08-10  Richard Sandiford  <rsandifo@redhat.com>
793
794         * config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
795         (coprocessor2_operand): Likewise.
796         * config/mips/mips.c (STAB_CODE_TYPE): Remove.
797         (lookup_name): Remove declaration.
798         (abort_with_insn): Remove.  Replace all uses with fatal_insn.
799         (mips16, mips_abicalls): Remove.
800         (mips_char_to_class): Remove initialiser: all entries are NO_REGS.
801         (arith32_operand, large_int, true_reg_or_0_operand): Remove.
802         (coprocessor_operand, coprocessor2_operand): Remove.
803         (override_options): Don't set mips16 or mips_abicalls.
804         (print_operand): Don't expect SIGN_EXTEND operands.
805         (mips_secondary_reload_class): Likewise.
806         (mips_output_conditional_branch): Remove disabled long-branch code.
807         * config/mips/mips.h (call_used_regs): Remove declaration.
808         (may_call_alloca): Likewise.
809         (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
810         (mips_abicalls, mips16): Remove declarations.
811         (ASM_FINAL_SPEC, LIB_SPEC): Remove.
812         (CC1_SPEC): Remove outdated comment.
813         (MIPS_VERSION, MACHINE_TYPE): Remove.
814         (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
815         (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
816         (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
817         (PUSH_ROUNDING): Likewise.
818         (ASSEMBLER_SCRATCH_REGNUM): Remove.
819         * config/mips/mips.md: Replace mips_cpu_attr with mips_tune
820         and mips16 with TARGET_MIPS16.
821
822 2003-08-09  Per Bothner  <pbothner@apple.com>
823
824         * cppinit.c (cpp_read_main_file):  Split out source-independent
825         initialization to separate function ...
826         (cpp_post_options):  New function.
827         * cppfiles.c (cpp_stack_file):  Rename public name to ...
828         (_cpp_stack_file):  New internal function name.
829         * cpplib.h:  Update accordingly.
830         * cppinit.c:  (cpp_create_reader):  Initialize cpp_readers line here.
831         (cpp_read_main_file):  Don't initialize line here.
832         * c-opts.c (c_common_post_options):  Call cpp_post_options.
833         (c_common_parse_file):  Call cpp_read_main_file, not cpp_stack_file.
834         * fix-header.c (read_scan_file):  Call cpp_post_options.
835
836 2003-08-09  Per Bothner  <per@bothner.com>
837
838         * c-decl.c (SCOPE_LIST_APPEND):  Remove bogus line continuation.
839
840 2003-08-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
841
842         * pa.c (pa_asm_output_mi_thunk): Fix typo.
843
844 2003-08-09  Neil Booth  <neil@daikokuya.co.uk>
845
846         PR preprocessor/11839
847         * cppfiles.c (open_file): Handle ENOTDIR.
848
849 2003-08-09  Richard Sandiford  <rsandifo@redhat.com>
850
851         PR target/11699
852         * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
853
854 2003-08-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
855
856         * pa.md (extzv, extv, insv): Fix operand limit checks.  Fail if
857         source/destination is not a register operand.
858
859 2003-08-08  Richard Henderson  <rth@redhat.com>
860
861         PR target/11535
862         * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
863         RETURN_ADDRESS_POINTER_REGNUM.
864         (ia64_expand_prologue): Don't frob it.
865         (ia64_output_function_epilogue): Likewise.
866         (ia64_return_addr_rtx): New.
867         (ia64_split_return_addr_rtx): New.
868         * config/ia64/ia64-protos.h: Update.
869         * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
870         (RETURN_ADDRESS_POINTER_REGNUM): Remove.
871         (GENERAL_REGNO_P): Don't check it.
872         (AR_*_REGNUM): Renumber.
873         (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
874         (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
875         (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
876         (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
877         (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
878         * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
879         (movdi_ret_addr): New.
880
881 2003-08-08  Geoffrey Keating  <geoffk@apple.com>
882
883         * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
884
885 2003-08-08  Roger Sayle  <roger@eyesopen.com>
886
887         * tree.h (get_identifier) Define a macro form of get_identifier
888         that calls get_identifier_with_length when the string is constant.
889         (get_identifier_with_length): Change type of second argument to
890         size_t in prototype.
891         * stringpool.c (get_identifier): Undefine the macro before giving
892         the function definition.
893         (get_identifier_with_length): Change  type of second argument to
894         size_t in function definition.
895         * hashtable.c (calc_hash): Change type of second argument to size_t.
896         (ht_lookup): Change type of third argument to size_t.  Reorganize
897         to speed-up the cases where the hash table slot is empty, or the
898         first probe matches (i.e. there isn't a collision).
899         * hashtable.h (ht_lookup): Adjust function prototype.
900
901 2003-08-08  Bernardo Innocenti  <bernie@develer.com>
902
903         PR target/9697
904         PR target/11777
905         * longlong.h (count_leading_zeros): Exclude on __mcpu32__.
906
907 2003-08-08  Neil Booth  <neil@daikokuya.co.uk>
908
909         * common.opt: Add debug switches.
910         * flags.h (use_gnu_debug_info_extensions): Boolify.
911         * opts.c (write_symbols, debug_info_level,
912         use_gnu_debug_info_extensions): Move from toplev.c.
913         (set_debug_level): New.
914         (common_handle_options): Handle debug switches.
915         (print_help): Display target options directly.
916         * toplev.c (debug_hooks): Don't initialize.
917         (write_symbols, debug_info_level,
918         use_gnu_debug_info_extensions): Move to opts.c.
919         (debug_args, display_help, decode_g_option): Remove.
920         (process_options): Set no debug if level zero here,
921         and no-debug-hooks.  Error here if impossible debug format selected.
922         * toplev.h (display_help, decode_g_option): Remove.
923
924 2003-08-08  Richard Sandiford  <rsandifo@redhat.com>
925
926         * tree.c (get_file_function_name_long): Fix size of alloca() area.
927
928 2003-08-08  Kelley Cook  <kelleycook@wideopenwest.com>
929
930         * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
931         and gcc_cv_prog_cmp_skip.
932         * configure: Regenerate.
933
934 2003-08-08  Stan Cox  <scox@redhat.com>
935
936         * config/iq2000: New port.
937         * config.gcc (iq2000-*-elf): Added.
938         * doc/install.texi (Specific):  Add iq2000 description.
939
940 2003-08-08  Andreas Schwab  <schwab@suse.de>
941
942         * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
943         and insert missing empty argument.
944         * configure: Regenerate.
945
946 2003-08-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
947
948         * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
949         (attr_length_millicode_call): Likewise.
950         (attr_length_call): Likewise.  Revise some maximum insn lengths.
951         (attr_length_indirect_call): Likewise.
952         (output_call): Fix thinko that added extra nop.
953         * pa.h (IN_NAMED_SECTION_P): Define.
954
955         PR c++/11712
956         * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
957         __STDC_EXT__ when using C++ dialect.
958
959 2003-08-07  J"orn Rennecke <joern.rennecke@superh.com>
960
961         * sh.c (calc_live_regs): If the return address pointer is live,
962         force pr live.
963         (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
964         for saves / restores.
965         (sh_expand_epilogue): If sh_media_register_for_return returns a
966         register number, flag the instructions that restores PR_MEDIA_REG
967         as possibly dead.
968         Remove dead update of offset.
969         (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
970         we can use the result of get_hard_reg_initial_val.
971         * sh.md (UNSPEC_RA): New constant.
972         (movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
973         (load_ra).  Handle UNSPEC_RA.
974         (sibcall_media): Use PR_MEDIA_REG.
975
976         * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
977         * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
978         needs saving on SHmedia.
979
980 2003-08-07  Ulrich Weigand  <uweigand@de.ibm.com>
981
982         * config/s390/s390.md: Replace all occurrences of \\t with \t.
983
984 2003-08-07  Richard Sandiford  <rsandifo@redhat.com>
985
986         * local-alloc.c (combine_regs): Fix comment typo.
987
988 2003-08-06  Zack Weinberg  <zack@codesourcery.com>
989
990         * c-decl.c (builtin_decls): Replace with first_builtin_decl
991         and last_builtin_decl.
992         (c_init_decl_processing): Initialize both.
993         (c_reset_state): Iterate from first_builtin_decl to
994         last_builtin_decl inclusive to reintroduce builtins.
995
996 2003-08-06  David Mosberger  <davidm@hpl.hp.com>
997
998         * doc/extend.texi (Function Attributes): Document the IA-64 version
999         of the "model" attribute.
1000
1001         * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
1002         (SYMBOL_REF_SMALL_ADDR_P): Ditto.
1003         (PREDICATE_CODES): Mention "small_addr_symbolic_operand".
1004
1005         * config/ia64/ia64.c (ia64_handle_model_attribute): New function.
1006         (ia64_encode_section_info): Likewise.
1007         (ia64_attribute_table): Add "model" attribute.
1008         (TARGET_ENCODE_SECTION_INFO): Define.
1009         (small_addr_symbolic_operand): New function.
1010         (got_symbolic_operand): Return 0 for a symbolref to an object
1011         in the small address area.
1012         (enum ia64_addr_area): New type.
1013         (small_ident1): New variable.
1014         (small_ident2): Likewise.
1015         (init_idents): New function.
1016         (ia64_get_addr_area): Likewise.
1017         (ia64_encode_addr_area): Likewise.
1018         (ia64_encode_section_info): Likewise.
1019         (ia64_expand_load_address): For symbolic references to objects in
1020         the small-address-area, load the address via gen_rtx_SET() (which,
1021         eventually, will expand into "addl").
1022
1023 2003-08-06  Per Bothner  <pbothner@apple.com>
1024
1025         * line-map.h (fileline):  New typedef.
1026         (struct line_map, linemap_add, linemap_lookup):  Use it.
1027         * input.h (struct location_s):  Comment notes that long-term we want
1028         to replace it by fileline.
1029
1030 2003-08-06  J"orn Rennecke <joern.rennecke@superh.com>
1031
1032         Fix SHcompact exception handling:
1033         * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
1034         by the prologue, return a MEM with return_address_pointer_rtx
1035         as address.
1036         * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
1037         (RETURN_ADDR_OFFSET): Don't define.
1038         (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
1039         registers that are visible in compact mode.  Show that SHmedia
1040         registers still exist in compact mode, even if there are not
1041         readily accessible.
1042         (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
1043         if GLOBAL.  Use DW_EH_PE_textrel (nominally) for CODE,
1044         and DW_EH_PE_pcrel for pic data.
1045         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
1046         set SYMBOL_FLAG_FUNCTION in symbol, and actually use
1047         DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
1048         (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
1049         * sh.md (movsi_media-1): New splitter.
1050
1051 2003-08-06  Graeme Peterson <gp@qnx.com>
1052
1053         * config/i386/nto.h: New.
1054         * config/i386/t-nto: New.
1055         * config.gcc (i[34567]86-*-nto-qnx*): New.
1056
1057 2003-08-06  Phil Edwards  <pme@gcc.gnu.org>
1058
1059         * doc/install.texi (*-*-solaris2*):  Refine configure instructions.
1060
1061 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
1062
1063         * calls.c (load_register_parameters): Arrange for call_fusage to
1064         report the whole register as used when shifting to the msb.
1065
1066 2003-08-05  Roger Sayle  <roger@eyesopen.com>
1067
1068         * builtins.c (expand_builtin): When not optimizing, call the library
1069         function for all builtins that have library functions (except alloca).
1070
1071 2003-08-05  Alexandre Oliva  <aoliva@redhat.com>
1072
1073         * c.opt: Introduce -fworking-directory.
1074         * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
1075         * c-common.h (flag_working_directory): Declare.
1076         * c-common.c (flag_working_directory): Define.
1077         * c-opts.c (c_common_handle_options): Set it.
1078         (sanitize_cpp_opts): Set...
1079         * cpplib.h (struct cpp_options): ... working_directory option.
1080         (struct cpp_callbacks): Add dir_change.
1081         * cppinit.c (read_original_filename): Call...
1082         (read_original_directory): New.  Look for # 1 "directory//"
1083         and process it.
1084         (cpp_read_main_file): Call dir_change callback if working_directory
1085         option is set.
1086         * gcc.c (cpp_unique_options): Pass -g*.
1087         * c-lex.c (cb_dir_change): New.
1088         (init_c_lex): Set dir_change callback.
1089         * toplev.c (src_pwd): New static variable.
1090         (set_src_pwd, get_src_pwd): New functions.
1091         * toplev.h (get_src_pwd, set_src_pwd): Declare.
1092         * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
1093         * dwarf2out.c (gen_compile_unit_die): Likewise.
1094         * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
1095
1096 2003-08-05  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1097
1098         * pretty-print.h (pp_set_line_maximum_length): Make macro.
1099         (pp_set_prefix): Likewise.
1100         (pp_destroy_prefix): Likewise.
1101         (pp_remaining_character_count_for_line): Likewise.
1102         (pp_clear_output_area): Likewise.
1103         (pp_formatted_text): Likewise.
1104         (pp_last_position_in_text): Likewise.
1105         (pp_emit_prefix): Likewise.
1106         (pp_append_text): Likewise.
1107         (pp_flush): Likewise.
1108         (pp_format_text): Likewise.
1109         (pp_format_verbatim): Likewise.
1110         (pp_tree_identifier): Tidy.
1111         * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
1112         (pp_base_format_verbatim): Rename from pp_format_verbatim.
1113         (pp_base_flush): Rename from pp_flush.
1114         (pp_base_set_line_maximum_length): Rename from
1115         pp_set_line_maximum_length.
1116         (pp_base_clear_output_area): Rename from pp_clear_output_area.
1117         (pp_base_set_prefix): Rename from pp_set_prefix.
1118         (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
1119         (pp_base_emit_prefix): Rename from pp_emit_prefix.
1120         (pp_base_append_text): Rename from pp_append_text.
1121         (pp_base_formatted_text): Rename from pp_formatted_text.
1122         (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
1123         (pp_base_remaining_character_count_for_line): Rename from
1124         pp_remaining_character_count_for_line.
1125         * diagnostic.h (diagnostic_format_decoder): Tidy.
1126         (diagnostic_flush_buffer): Likewise.
1127         * c-pretty-print.h: (pp_c_string_literal): Declare.
1128         (pp_c_real_literal): Likewise.
1129         (pp_c_integer_literal): Likewise.
1130         * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
1131         pp_identifier.
1132         (pp_c_character_literal): Tidy.
1133         (pp_c_string_literal): Make public.
1134         (pp_c_bool_literal): Likewise.
1135         (pp_c_integer_literal): Likewise.
1136         (pp_c_real_literal): Likewise.
1137
1138         * Makefile.in (C_PRETTY_PRINT_H): New variable.
1139         (c-pretty-print.o): Update dependence.
1140
1141 2003-08-05  Chris Demetriou  <cgd@broadcom.com>
1142
1143         * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
1144         ".set nomacro" state.
1145         (fix_truncsfsi2_macro): Likewise.
1146
1147 2003-08-05  Steven Bosscher  <steven@gcc.gnu.org>
1148
1149         * tree.h (DID_INLINE_FUNC): Remove macro.
1150         (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
1151         add tree check for FUNCTION_DECL.
1152         (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
1153         (struct tree_decl): Rename inlined_function_flag to
1154         declared_inline_flag.
1155         * c-common.h (c_lang_decl): Remove.
1156         (DECL_ESTIMATED_INSNS): Remove.
1157         * c-tree.h (struct lang_decl): Don't include c_lang_decl.
1158         (DECL_DECLARED_INLINE_P): Remove.
1159         * c-decl.c (grokdeclarator): Update comment.  With -finline-functions,
1160         do not reset DECL_DECLARED_INLINE_P.  Don't use DID_INLINE_FUNC.
1161         (finish_function): Make uninlinable a bool.  Fixup call to
1162         tree_inlinable_function_p() and fix some code style issues.
1163         * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
1164         * cgraph.c (dump_cgraph): Likewise.
1165         * cgraphunit.c (cgraph_decide_inlining): Likewise
1166         (cgraph_finalize_compilation_unit): Likewise.
1167         Also update call to tree_inlinable_function_p().
1168         (cgraph_default_inline_p): Don't use DID_INLINE_FUNC.  Instead
1169         look at DECL_DECLARED_INLINE and reverse logic.
1170         * print-tree.c (print_node): Likewise.
1171         * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
1172         * tree-inline.h (tree_inlinable_function_p): Make a bool.  Update
1173         prototype.
1174         * tree-inline.c (inlinable_function_p): Split up in this function to
1175         check for basic inlining inhibiting conditions, and new
1176         limits_allow_inlining() function.  Warn if inlining is impossible
1177         because the inline candidate calls alloca or uses sjlj exceptions.
1178         (limits_allow_inlining): this new function to check if the inlining
1179         limits are satisfied.  Throttle from currfn_max_inline_insns, not from
1180         MAX_INLINE_INSNS_SINGLE.  The latter only makes sense if
1181         MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
1182         Update prototypes.
1183         (tree_inlinable_function_p): Make a bool.  Update call to
1184         inlinable_function_p
1185         (expand_call_inline): Use limits_allow_inlining() when not in
1186         unit-at-a-time mode to decide on inlining.  Don't use DID_INLINE_FUNC,
1187         instead see if the function was declared `inline'.
1188
1189 2003-08-05  Josef Zlomek  <zlomekj@suse.cz>
1190
1191         * gcse.c (try_replace_reg): Fix updating of note.
1192
1193 2003-08-04  Roger Sayle  <roger@eyesopen.com>
1194
1195         PR middle-end/11771
1196         * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
1197         logic in negate_expr, i.e. we don't invert (A-B) for floating
1198         point types unless flag_unsafe_math_optimizations.
1199
1200 2003-08-04  Roger Sayle  <roger@eyesopen.com>
1201
1202         * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
1203         Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
1204         for floating point expressions with -ffast-math.
1205         (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
1206         * expmed.c (expand_mult): Wrap long line.  Expand x*2.0 as x+x.
1207
1208 2003-08-04  Roger Sayle  <roger@eyesopen.com>
1209
1210         * c-common.c (flag_noniso_default_format_attributes): Delete.
1211         (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
1212         (c_attrs_initialized): Delete.
1213         (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
1214         always call c_init_attributes.
1215         (c_init_attributes): Don't define/undefine DEF_FN_ATTR.  Don't
1216         set c_attrs_initialized when done.
1217         (c_common_insert_default_attributes): Delete.
1218         * c-common.h (flag_noniso_default_format_attributes): Delete.
1219         (c_coomon_insert_default_attributes): Delete prototype.
1220         * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
1221         flag_noniso_default_format_attributes.
1222
1223         * c-decl.c (c_insert_default_attributes): Delete.
1224         * c-tree.h (c_insert_default_attributes): Delete prototype.
1225
1226         * attribs.c (decl_attributes): Don't call insert_default_attributes
1227         langhook.  Update function description comment.
1228         * langhooks.h (lang_hooks): Remove insert_default_attributes field.
1229         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
1230         * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
1231         * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
1232
1233         * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
1234         define.
1235
1236 2003-08-04  Richard Sandiford  <rsandif@redhat.com>
1237
1238         * config/mips/mips.c (override_options): Disable -G on targets that
1239         have no .section support.
1240         (mips_select_section): Use default_select_section for such targets.
1241
1242 2003-08-04  Nathanael Nerode  <neroden@gcc.gnu.org>
1243
1244         * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
1245         * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
1246         * fixinc/fixincl.x: Rebuild.
1247         * fixinc/tests/base/regexp.h: New test.
1248
1249 2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
1250
1251         * c-ppoutput.c (cb_line_change): Don't skip line changing while
1252         parsing macro arguments in the top-level context.
1253
1254 2003-08-04  Neil Booth  <neil@daikokuya.co.uk>
1255
1256         * config.in: Remove HAVE_LSTAT.
1257         * configure, configure.in: Don't test for lstat.
1258
1259 2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1260
1261         * opts.c (decode_options): Do language-specific initialization for
1262         the global diagnostic context.
1263         * langhooks-def.h (lhd_initialize_diagnostics): Declare.
1264         (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
1265         (LANG_HOOKS_INITIALIZER): Adjust.
1266         * langhooks.h (struct lang_hooks): Add new field
1267         initialize_diagnostics.
1268         * langhooks.c (lhd_initialize_diagnostics): Define.
1269
1270 2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1271
1272         * pretty-print.h:   Adjust macro definitions.
1273         * pretty-print.c (pp_newline): Rename to pp_base_newline.
1274         (pp_character): Rename to pp_base_character.
1275         (pp_string): Rename to pp_base_string.
1276         * c-pretty-print.c (pp_buffer): Move to pretty-print.h
1277         (pp_newline):  Likewise.  Adjust.
1278         (pp_c_char): Adjust.
1279
1280 2003-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1281
1282         * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
1283         BUILT_IN_LLABS): Move to miscellaneous section.
1284
1285 2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
1286
1287         PR preprocessor/11534
1288         * cppexp.c (parse_defined): Warn only if -pedantic.
1289
1290 2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
1291
1292         * cppfiles.c (stack_file): Use file path.
1293
1294 2003-08-02  Roger Sayle  <roger@eyesopen.com>
1295
1296         * builtin-types.def (BT_SSIZE): New primitive type.
1297         (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
1298         BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
1299         BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
1300         BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
1301         * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
1302         BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
1303         BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
1304         * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
1305         few functions that define default attributes using it.
1306         * c-common.c (c_common_insert_default_attributes): Do nothing.
1307
1308         * doc/extend.texi: Document these "new" builtins.
1309
1310 2003-08-02  Kaz Kojima  <kkojima@gcc.gnu.org>
1311
1312         * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
1313         (LIB_SPEC): Set -lpthread always when -pthread set.  Set -lieee
1314         when -mieee-fp set and -shared not set.
1315         (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
1316
1317 2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
1318
1319         * cppfiles.c (struct _cpp_file): Rename once_only_next to
1320         next_file.  Remove import and pragma_once, add once_only.
1321         (find_file): Add new file structures to the all_files list.
1322         (should_stack_file): Mark #import-ed files once-only, and
1323         don't stack them if the file has already been stacked.
1324         (_cp_mark_file_once_only): Simplify.
1325         * cpphash.h (struct cpp_reader): Rename once_only_files
1326         to all_files.  Rename saw_pragma_once to seen_once_only.
1327         (_cpp_mark_file_once_only): Update prototype.
1328         * cpplib.c (do_pragma_once): Update.
1329
1330 2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
1331
1332         * cppfiles.c (ENOTDIR): Remove.
1333         (open_file_in_dir): Rename find_file_in_dir.  Handle errors
1334         other than ENOENT here.
1335         (once_only_file_p): Rename should_stack_file.
1336         (find_file, open_file_failed, read_file_guts): Report errors
1337         with full path name.
1338         (read_file): Move pch handling to should_stack_file.
1339         (should_stack_file): Handle PCH and once-only issues, and
1340         reading the file.
1341         (stack_file): Don't do file reads.
1342
1343 2003-08-02  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1344
1345         * libgcov.c (gcov_exit): Cleanup and fix.
1346         * profile.c (compute_value_histograms): Don't try to read profiles
1347         that are not present.
1348
1349 2003-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1350
1351         * builtins.def: Categorize.
1352
1353         * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
1354         Mind fp rounding.
1355         (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
1356
1357 2003-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
1358
1359         * config.gcc: Enable posix threads by default on darwin.
1360
1361 2003-08-01  Jakub Jelinek  <jakub@redhat.com>
1362
1363         * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
1364         even if nehedges1 is 0.
1365
1366 2003-08-01  Nathanael Nerode  <neroden@gcc.gnu.org>
1367
1368         * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
1369         fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
1370         fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
1371         and defintions.
1372
1373         * fixinc/inclhack.def (broken_cabs): Make matching more generous.
1374         * fixinc/fixincl.x: Regenerate.
1375         * fixinc/tests/base/math.h: Regenerate to match test_text change.
1376
1377 2003-08-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1378
1379         * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
1380
1381 2003-08-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1382
1383         * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
1384         for accesses to exc_ptr.
1385
1386 2003-08-01  Geoffrey Keating  <geoffk@apple.com>
1387
1388         * doc/sourcebuild.texi (Front End Directory): Don't make references
1389         to libsubdir, it's not part of the interface to frontends.
1390         * doc/install.texi (Configuration): Help users read faster by saying
1391         that GCC's configure options are the standard autoconf ones.
1392         Mention --libdir.  Update the default rules for finding the
1393         assembler.  Don't use libsubdir since we haven't said what it means.
1394         (Specific): In the Solaris 7 notes, update the place to put the
1395         assembler.
1396         * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
1397         * doc/cpp.texi (Search Path): Actually, the search path
1398         depends on libdir, which can relocate with cpp.
1399         * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
1400         now a private interface between the Makefile and the driver.
1401
1402 2003-08-01  Richard Henderson  <rth@redhat.com>
1403
1404         * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
1405
1406         * varasm.c (lookup_constant_def): New function.
1407         * rtl.h (lookup_constant_def): Declare it.
1408         * dwarf2out.c (loc_descriptor_from_tree): Use it.
1409         Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
1410
1411 2003-08-01  Zack Weinberg  <zack@codesourcery.com>
1412
1413         * c-decl.c (gettags, pushdecl_function_level): Delete.
1414         (last_function_parm_vars): Rename last_function_parm_others.
1415         (current_function_parm_vars): Rename current_function_parm_others.
1416         (struct c_scope): Rewrite comment explaining this data structure.
1417         Add names_last, blocks_last, parms_last fields.  Rename
1418         incomplete_list to incomplete.
1419         (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
1420         (poplevel): Ignore second argument.  No need to nreverse
1421         anything.  Restructure such that each list is processed
1422         exactly once.  Use 'const location_t *locus' syntactic sugar
1423         variable where useful.  Issue unused variable warnings
1424         ourselves, do not rely on function.c.
1425         (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
1426         (pushdecl_top_level): Likewise.  Don't call duplicate_decls.
1427         (implicitly_declare): decl cannot be error_mark_node.
1428         (undeclared_variable): Manipulate scope structure directly.
1429         (c_make_fname_decl): Likewise.
1430         (getdecls, c_init_decl_processing): Fix comment.
1431         (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT.  No need
1432         for 'last' variable.
1433         (grokparms): No need to nreverse parms list.
1434         (store_parm_decls_newstyle): Set up the parms_last and
1435         names_last fields of the new scope too.
1436         (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
1437         on parms to begin with; check this under ENABLE_CHECKING.  Set
1438         up parms_last.
1439         (check_for_loop_decls): Refer directly to current_scope->tags.
1440         Use consistent quote style in diagnostics.
1441         (c_write_global_declarations): The names list is not backward.
1442
1443         * c-common.h: Don't prototype gettags.
1444         * c-parse.in: Call poplevel with second argument 0 always.
1445
1446 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1447
1448         * builtins.def: Resort builtins.
1449
1450 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1451
1452         * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
1453         DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
1454         Prepend "__builtin_" onto NAME with string concatenation.  Remove
1455         explicit "__builtin_" from each macro call.
1456
1457         Reformat entire file.
1458
1459 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1460
1461         * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
1462         ATTR_MATHFN_FPROUNDING_ERRNO): New macros.  Use throughout.
1463
1464 2003-08-01  Andreas Krebbel  <krebbel1@de.ibm.com>
1465
1466         * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
1467         CCL1, or CCL2 modes with floating point operations.
1468
1469         * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
1470         "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
1471         "*subdf3_cconly"): New insns.
1472         ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
1473
1474 2003-08-01  Neil Booth  <neil@daikokuya.co.uk>
1475
1476         * Makefile.in: Refine dependencies.
1477         * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
1478         * c.opt: Update help for -Wimport.
1479         * cppfiles.c: Include hashtab.h.  Update comments.
1480         (stack_file): Read the file before updating dependencies.
1481         (once_only_file_p): Be smarter about marking once-only files.
1482         (_cpp_mark_file_once_only): Correct the check for existence on
1483         the list.
1484         (open_file_failed): Use name not path, which is NULL.
1485         * cpphash.h: Don't include hashtab.h.
1486         (struct _cpp_file): Remove.
1487         (struct cpp_reader): Update.
1488         * cppinit.c (cpp_create_reader): Don't initialize warn_import.
1489         * cpplib.h (struct cpp_options): Remove warn_import.
1490         (cpp_simplify_path): Remove.
1491
1492 2003-08-01  Nathan Sidwell  <nathan@codesourcery.com>
1493
1494         PR c++/11295
1495         * doc/extend.texi (Statement Expressions): Document C++ semantics.
1496
1497 2003-07-31  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
1498
1499         * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
1500
1501 2003-07-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1502
1503         * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
1504         throughout.
1505         * builtins.def: Likewise.
1506
1507 2003-07-31  Jason Merrill  <jason@redhat.com>
1508
1509         * Makefile.in (bubblestrap): Don't require a previous full
1510         bootstrap.
1511
1512         * expr.c (mostly_zeros_p): No longer static.
1513         * tree.h: Declare it.
1514         * stmt.c (resolve_asm_operand_names): Don't copy the pattern
1515         unless we need to do substitutions.
1516
1517 2003-07-31  Roger Sayle  <roger@eyesopen.com>
1518
1519         * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
1520         pow(x,c)*x as pow(x,c+1) for constant values c.  Optimize x*x
1521         as pow(x,2.0) when the latter will be expanded back into x*x.
1522         (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
1523         * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
1524         pow can never set errno when used with an integer exponent.
1525         Always use expand_powi when exponent is -1, 0, 1 or 2.
1526         (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
1527         as 1.0/(x*x).  This avoids unbounded recursion as we now prefer
1528         the pow forms of these expressions.
1529
1530 2003-07-31  Geoffrey Keating  <geoffk@apple.com>
1531
1532         * Makefile.in (libexecdir): New.
1533         (libsubdir): Use gcc instead of gcc-lib.
1534         (libexecsubdir): New.
1535         (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
1536         (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
1537         gcc-lib.
1538         (installdirs): Make libexecsubdir.
1539         (install-common): Put executables in libexecsubdir.
1540         (itoolsdir): Use libexecsubdir.
1541         (itoolsdatadir): New.
1542         (install-mkheaders): Separate data files and executables.
1543         (install-collect2): Put executables in libexecsubdir.
1544         (uninstall): Remove libexecsubdir.
1545         * mkheaders.in: Update for new arrangement of files.
1546         (libexecdir): New.
1547         (libexecsubdir): New.
1548         (itoolsdir): Use libexecsubdir.
1549         (itoolsdatadir): New.
1550         * gcc.c (gcc_libexec_prefix): New.
1551         (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
1552         (standard_exec_prefix_1): Use libexec.
1553         (standard_exec_prefix_2): New.
1554         (standard_libexec_prefix): New.
1555         (process_command): Update for new arrangement of files.  Compute
1556         gcc_libexec_prefix.  Update for change from gcc-lib to gcc.
1557
1558 2003-07-31  Nathanael Nerode  <neroden@gcc.gnu.org>
1559
1560         * inclhack.def (stdio_va_list): Avoid bogus replacement which
1561         triggers on Interix.
1562         * fixincl.x: Regenerate.
1563
1564 2003-07-31  Jakub Jelinek  <jakub@redhat.com>
1565
1566         * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
1567         SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
1568
1569 2003-07-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1570
1571         * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
1572
1573 2003-07-31  Per Bothner  <pbothner@apple.com>
1574
1575         * opts.c (in_fnames, num_in_fnames):  Moved here from c-opts.
1576         (add_input_filename):  New function.
1577         (handle_options):  Call add_input_filename directly instead of
1578         with a lang hook.
1579         * opts.h (in_fnames, num_in_fnames):  Moved here.
1580         (add_input_filename):  Declare.
1581         * c-decl.c:  Need to #include opts.h.
1582         * Makefile.in (c-decl.o):  Also depends on opts.h.
1583         * c-opts.c (in_fnames, num_in_fnames):  Moved to opts.c.
1584         (c_common_handle_filename):  Replaced by add_input_filename.
1585         * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
1586         Remove.
1587         * langhooks.h (struct lang_hooks):  Remove handle_filename hook.
1588         * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
1589         (LANG_HOOKS_INITIALIZER):  Remove use of LANG_HOOKS_HANDLE_FILENAME.
1590         * c-lang.c (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
1591
1592 2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1593
1594         * combine.c (try_combine): Set JUMP_LABEL for newly created
1595         unconditional jump.
1596
1597 2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1598
1599         * fold-const.c (fold): Fold some comparisons of bit operations.
1600
1601 Thu Jul 31 19:49:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
1602
1603         * cgraph.c (create_edge): Fix typo.
1604         * i386.c (pic_symbolic_operand): Reorder tests.
1605
1606 2003-07-31  Nathan Sidwell  <nathan@codesourcery.com>
1607
1608         * doc/gcov.texi (Invoking Gcov): Describe output name mangling
1609         more fully.
1610         (Gcov Data Files): Update.
1611
1612 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1613
1614         * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
1615         default.
1616
1617         * gthr-posix.c: New file.
1618         * gthr-posix.h: Define _REENTRANT if missing.
1619         Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
1620
1621         * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
1622         by gthr-posix.o.
1623         * config/alpha/t-osf-pthread: New file.
1624
1625         * fixinc/inclhack.def (alpha_pthread): New fix.
1626         * fixinc/fixincl.x: Regenerate.
1627         * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
1628
1629         * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
1630         warning.
1631         Fixes PR bootstrap/9330.
1632
1633 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1634
1635         * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
1636         without GNU ld.
1637         Update comment.
1638         * configure: Regenerate.
1639
1640 2003-07-31  Vladimir Makarov  <vmakarov@redhat.com>
1641
1642         * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
1643         setter.
1644
1645 2003-07-30  Roger Sayle  <roger@eyesopen.com>
1646
1647         * builtins.def: Alphabetize.
1648
1649 2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
1650
1651         * doc/c-tree.texi: Normalize spellings of "lowercase" and
1652         "uppercase".
1653         * doc/cpp.texi: Likewise.
1654         * doc/md.texi: Likewise.
1655         * doc/rtl.texi: Likewise.
1656         * doc/tm.texi: Likewise.
1657
1658 2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
1659
1660         * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
1661         (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
1662         of cc1obj.
1663
1664 2003-07-30  Chris Demetriou  <cgd@broadcom.com>
1665
1666         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
1667         macros before defining them.
1668
1669 2003-07-31  Ulrich Weigand  <uweigand@de.ibm.com>
1670
1671         * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
1672         UNSPECV_BLOCKAGE): New constants.
1673         ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
1674         "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
1675         splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
1676         "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
1677
1678         (all insns and expanders): Write output control string as brace block
1679         where appropriate.  Remove \-escapes for doublequote characters.
1680
1681 Thu Jul 31 01:04:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
1682
1683         * gcse.c (insert_store): Fix typo in previous patch.
1684
1685 2003-07-30  Neil Booth  <neil@daikokuya.co.uk>
1686
1687         * cppfiles.c (stack_file, open_file_failed): Use path for deps.
1688
1689 2003-07-30  Andi Kleen  <ak@muc.de>
1690
1691         * loop.c (check_dbra_loop): Allow LTU in the loop condition.
1692
1693 2003-07-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1694
1695         * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
1696         * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
1697         GCOV_N_VALUE_COUNTERS): New.
1698         * profile.c (compute_value_histograms): New static function.
1699         (branch_prob): Read back the value histograms.
1700         * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
1701         * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
1702         * value-prof.c: Add comment on reading the profile.
1703         * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
1704         * doc/invoke.texi (-fprofile-values): Document behavior with
1705         -fbranch-probabilities.
1706
1707 2003-07-30  David Edelsohn  <edelsohn@gnu.org>
1708
1709         * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
1710
1711 2003-07-30  Ulrich Weigand  <uweigand@de.ibm.com>
1712
1713         * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
1714         symbolically.
1715
1716 Wed Jul 30 19:12:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
1717
1718         * gcse.c (insert_store): Ignore fake edges.
1719
1720         * c-common.c (flag_vtable_gc): Kill.
1721         * c-common.g (flag_vtable_gc): Kill.
1722         * c-opts (c_common_handle_option): Kill.
1723         * c.opt (fvtable-gc): Kill.
1724         * final.c (final_scan_insn): Do not call assemble_vtable_entry.
1725         * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
1726         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
1727
1728         * invoke.texi (-ftable-gc): Kill documentation.
1729
1730         * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
1731         just because function body is missing.
1732
1733         * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
1734
1735 2003-07-30  Ranjit Mathew  <rmathew@hotmail.com>
1736
1737         * unwind-sjlj.c: Fix typo in file description.
1738
1739 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
1740
1741         * calls.c (load_register_parameters): When shifting reg sized values
1742         to the msb, move the value to a reg first.
1743
1744 2003-07-29  Geoffrey Keating  <geoffk@apple.com>
1745
1746         * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
1747         * line-map.h (linemap_add): Update comments.
1748         * line-map.c (linemap_add): Update comments, interpret zero-length
1749         filename as "<stdin>".
1750
1751 2003-07-29  Nathanael Nerode  <neroden@gcc.gnu.org>
1752
1753         * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
1754
1755 2003-07-29  Zack Weinberg  <zack@codesourcery.com>
1756
1757         * c-decl.c (last_function_parm_vars, current_function_parm_vars):
1758         New static variables.
1759         (struct c_scope): Add parms and warned_forward_parm_decls
1760         fields; remove parm_order.
1761         (storedecls, storetags): Delete.
1762         (poplevel): Also clear bindings on the parms chain.
1763         (pushdecl): Handle forward declarations of parameters, and
1764         chain PARM_DECLs on the parms list, not the names list.
1765         (lookup_name_current_level): Check for PARM_DECLs on the parms
1766         list too.
1767         (push_parm_decl): Don't update parm_order.
1768         (clear_parm_order): Rename mark_forward_parm_decls.  Issue the
1769         warning, only once per parameter list, and set TREE_ASM_WRITTEN
1770         on the decls here.  Then move the forward decls to the names list.
1771         (grokparms): Set last_function_parm_vars.
1772         (get_parm_info): Don't use gettags or getdecls.  No need to
1773         extract non-parms from the parms list, or reorganize the parms
1774         list.  Feed nonparms back in the TREE_TYPE of the list node
1775         returned.  Issue only one error per parameter list for "void"
1776         appearing more than once in said parameter list.  Collapse
1777         parmlist_tags_warning into this function to avoid double scan
1778         of tags list.
1779         (start_function): Set current_function_parm_vars.
1780         (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
1781         directly.  Get non-parms from current_function_parm_vars; no
1782         need to extract them from the parms chain.  Properly bind tags
1783         in the new scope.
1784         (store_parm_decls_oldstyle): No need to extract non-parameters
1785         from the parms chain, nor to store them back afterward.  Move
1786         declaration to top of function, restructure code reordering
1787         DECL_ARGUMENTS.
1788         (store_parm_decls): No need to save and restore warn_shadow.
1789         * c-parse.in: Don't call parmlist_tags_warning nor
1790         clear_parm_order.  Call mark_forward_parm_decls when forward
1791         parm decls are encountered.
1792         * c-tree.h: Prototype mark_forward_parm_decls; not
1793         clear_parm_order or parmlist_tags_warning.
1794
1795 2003-07-29  Geoffrey Keating  <geoffk@apple.com>
1796
1797         * c-common.c (allow_pch): Remove.
1798         * c-common.h (allow_pch): Remove.
1799         (c_common_no_more_pch): Declare.
1800         * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
1801         * c-pch.c: Include hosthooks.h.
1802         (c_common_valid_pch): Don't check allow_pch.
1803         (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
1804         (c_common_no_more_pch): New.
1805         * ggc-common.c: Include hosthooks.h.
1806         (gt_pch_save): Call gt_pch_get_address.
1807         (gt_pch_restore): Call gt_pch_use_address.
1808         * hooks.c (hook_voidp_size_t_null): New.
1809         (hook_bool_voidp_size_t_false): New.
1810         * hooks.h (hook_voidp_size_t_null): New.
1811         (hook_bool_voidp_size_t_false): New.
1812         * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
1813         (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
1814         (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
1815         HOST_HOOKS_GT_PCH_USE_ADDRESS.
1816         * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
1817         gt_pch_use_address.
1818         * doc/hostconfig.texi (Host Common): Document
1819         HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
1820         * Makefile.in (c-pch.o): Depend on hosthooks.h.
1821         (ggc-common.o): Likewise.
1822
1823         * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
1824         (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
1825         (pch_address_space): New.
1826         (darwin_rs6000_gt_pch_get_address): New.
1827         (darwin_rs6000_gt_pch_use_address): New.
1828
1829 2003-07-29  Neil Booth  <neil@daikokuya.co.uk>
1830
1831         PR preprocessor/11569
1832         PR preprocessor/11649
1833         * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
1834         * cppfiles.c: Completely rewritten.
1835         * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
1836         struct cpp_path is now struct cpp_dir.
1837         (remove_duplicates): Don't simplify path names.
1838         * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
1839         cpp_stack_file.
1840         * cpphash.h: Include hashtab.h.
1841         (_cpp_file): Declare.
1842         (struct cpp_buffer): struct include_file is now struct _cpp_file,
1843         and struct cpp_path is now struct cpp_dir.  Rename members.
1844         (struct cpp_reader): Similarly.  New members once_only_files,
1845         file_hash, file_hash_entries, quote_ignores_source_dir,
1846         no_search_path, saw_pragma_once.  Remove all_include_files and
1847         max_include_len.  Make some members bool.
1848         (_cpp_mark_only_only): Renamed from _cpp_never_reread.
1849         (_cpp_stack_file): Renamed from _cpp_read_file.
1850         (_cpp_stack_include): Renamed from _cpp_execute_include.
1851         (_cpp_init_files): Renamed from _cpp_init_includes.
1852         (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
1853         * cppinit.c (cpp_create_reader): Initialize no_search_path.  Update.
1854         (cpp_read_next_file): Rename and move to cppfiles.c.
1855         (cpp_read_main_file): Update.
1856         * cpplib.c (run_directive): Update for renamed members.
1857         (do_include_common, _cpp_pop_buffer): Update.
1858         (do_import): Undeprecate #import.
1859         (do_pragma_once): Undeprecate.  Use _cpp_mark_file_once_only.
1860         * cpplib.h: Remove file_name_map_list.
1861         (cpp_options): Remove map_list.
1862         (cpp_dir): Rename from cpp_path.  New datatype for name_map.
1863         (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
1864
1865 2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
1866
1867         * Makefile.in:  Make stamp-objdir safe for parallel builds.
1868
1869 2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
1870
1871         * Makefile.in (stmp-docobjdir):  New target; ensure $docobjdir exists.
1872         (info):  Depend on stmp-docobjdir.
1873
1874 2003-07-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1875
1876         * configure: Regenerate.
1877
1878 Tue Jul 29 19:24:49 CEST 2003  Jan Hubicka  <jh@suse.cz>
1879
1880         PR C++/11131
1881         * tree-inline.c (expand_call_inline): Always call inlinable_function_p
1882         in !unit-at-a-time mode.
1883
1884 2003-07-28  Geoffrey Keating  <geoffk@apple.com>
1885
1886         * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
1887         main function.
1888
1889 2003-07-28  Mark Mitchell  <mark@codesourcery.com>
1890
1891         PR c++/11667
1892         * c-common.c (shorten_compare): Take into account differences
1893         between C and C++ representation for enumeration types.
1894         * tree.h (set_min_and_max_values_for_integral_type): Declare.
1895         * stor-layout.c (set_min_and_max_values_for_integral_type): New
1896         function, broken out from ...
1897         (fixup_signed_type): ... here and ...
1898         (fixup_unsigned_type): ... here.
1899
1900 2003-07-28  Zack Weinberg  <zack@codesourcery.com>
1901
1902         * c-decl.c: Update commentary, adjust blank lines throughout.
1903         (struct c_scope): Fix indentation.  Reorder members so
1904         outer-context pointers come first, booleans last.
1905         (duplicate_decls, define_label): Use a 'locus' variable for
1906         diagnostic locations in a few more places.
1907         (warn_if_shadowing): Un-split a conditional that fits on one line.
1908         (c_init_decl_processing): No need to clear current_scope and
1909         current_function_scope.
1910         (start_decl): Merge if/else if statements with same action.
1911         (push_parm_decl): Rename old_immediate_size_expand to use
1912         save_foo convention; save/restore around entire function.
1913         (grokdeclarator): Remove unnecessary braces.
1914
1915 2003-07-28  Hans-Peter Nilsson  <hp@bitrange.com>
1916             Michael Culbertson  <Michael.J.Culbertson@wheaton.edu>
1917
1918         * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
1919         when warn_declaration_after_statement.  Call pedwarn_c90, not
1920         pedwarn.  Correct message: it's "ISO C90", not "ISO C89".
1921         * c-common.c (warn_declaration_after_statement): Define.
1922         * c-common.h (warn_declaration_after_statement): Declare.
1923         * c.opt (Wdeclaration-after-statement): New.
1924         * c-errors.c (pedwarn_c90): New function.
1925         * c-opts.c (c_common_handle_option) <case
1926         OPT_Wdeclaration_after_statement>: New.
1927         * c-tree.h (pedwarn_c90): Declare.
1928         * doc/invoke.texi (Option Summary): Document
1929         -Wdeclaration-after-statement.
1930         (Warning Options): Ditto.
1931
1932 Mon Jul 28 20:13:06 CEST 2003  Jan Hubicka  <jh@suse.cz>
1933
1934         * i386.md (memory attribute) Avoid accessing uninitialized memory
1935         for ishift1 type instructions.
1936
1937 2003-07-28  Jakub Jelinek  <jakub@redhat.com>
1938
1939         * configure.in (--enable-checking): Add fold category.
1940         (ENABLE_FOLD_CHECKING): Define if requested.
1941         * configure: Rebuilt.
1942         * config.in: Rebuilt.
1943         * doc/install.texi: Document it.
1944         * fold-const.c: Include md5.h.
1945         [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
1946         [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
1947         print_fold_checksum): New functions.
1948
1949         * fold-const.c (fold): Never modify argument passed to fold, instead
1950         change a copy and return it.
1951         * convert.c (convert_to_integer): Likewise.
1952
1953 2003-07-27  Nathanael Nerode  <neroden@gcc.gnu.org>
1954
1955         * fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary
1956         cleanup of junk after #else and #endif directives.  Collapse repeated
1957         clauses into for statment.
1958
1959         * fixinc/fixincl.sh: GNU C -> GCC.  Add usage comment.
1960
1961 2003-07-27  Zack Weinberg  <zack@codesourcery.com>
1962
1963         * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
1964         (keep_next_if_subblocks): Rename next_is_function_body.
1965         (pushlevel): Adjust commentary.  Always set ->keep on the
1966         outermost level of a function.  Don't set ->keep_if_subblocks.
1967         (poplevel): Adjust commentary.  Don't look at ->keep_if_subblocks.
1968         (store_parm_decls): Adjust to match.
1969         (finish_function): Adjust to match.
1970         Call poplevel with all three arguments zero.
1971
1972         * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
1973         New functions split out of store_parm_decls.
1974         Avoid unnecessary work. Use local variables consistently.
1975         (store_parm_decls): Likewise.
1976
1977         (finish_function): No need to set functionbody flag on call to
1978         poplevel.
1979         (struct language_function): Remove scope field.
1980         (c_push_function_context, c_pop_function_context): No need to
1981         save and restore current_scope.
1982
1983 2003-07-27  Nathan Sidwell  <nathan@codesourcery.com>
1984
1985         * doc/extend.texi (Deprecated Features): Implicit typename is
1986         gone. Default args on types is going.
1987
1988 2003-07-26  J"orn Rennecke <joern.rennecke@superh.com>
1989
1990         * Makefile.in (ifcvt.o): Depend on target.h
1991         * ifcvt.c (target.h): Include.
1992         (if_convert): Don't call mark_loop_exit_edges if we can't
1993         modify jumps.
1994
1995 2003-07-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1996
1997         * doc/install.texi (Testing): Adjust required versions of DejaGnu.
1998
1999 2003-07-26  Richard Henderson  <rth@redhat.com>
2000
2001         PR inline-asm/11676
2002         * cse.c (count_reg_usage): Handle asm_operands properly.
2003
2004 2003-07-26  Roger Sayle  <roger@eyesopen.com>
2005
2006         * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
2007         (DEF_EXT_FALLBACK_BUILTIN): Delete.
2008         (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
2009         the regular DEF_EXT_LIB_BUILTIN macro.
2010         (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
2011         the regular DEF_LIB_BUILTIN macro.
2012         (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
2013         BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
2014         BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
2015         DEF_EXT_LIB_BUILTIN macro.
2016
2017         * c-decl.c (duplicate_decls): Remove code to handle builtin
2018         functions prototyped without an argument list.
2019
2020 2003-07-26  Danny Smith  <dannysmith@users.sourceforge.net>
2021
2022         * config/i386/winnt.c: Revert 2003-07-08 change.
2023         (i386_pe_section_type_flags): Remove error_with_decl here too.
2024
2025 2003-07-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2026
2027         * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
2028         * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
2029         * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
2030         (v850_handle_data_area_attribute): Likewise.
2031
2032 2003-07-26  Geoffrey Keating  <geoffk@apple.com>
2033
2034         * varasm.c (output_constant_def_contents): Use
2035         ASM_DECLARE_CONSTANT_NAME if defined.
2036         * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
2037         * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
2038         objects get at least one byte to prevent assembler problems.
2039         (ASM_DECLARE_CONSTANT_NAME): New.
2040
2041         * Makefile.in (libbackend.o): Remove options_.h.
2042         (mostlyclean): Likewise.
2043
2044         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
2045         insert a label at the end of an function under Mach-O.
2046
2047         * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
2048
2049 2003-07-25  Aldy Hernandez  <aldyh@redhat.com>
2050
2051         * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
2052         equality.
2053         (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
2054
2055         * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
2056
2057 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2058
2059         * doc/passes.texi (Passes): Mention pretty-printing and
2060         diagnostic files.
2061
2062 2003-07-25  Nathan Sidwell  <nathan@codesourcery.com>
2063
2064         * doc/extend.texi (Function Attributes): GNU C++ does now allow
2065         unused parameter decls.
2066         (Attribute Syntax): GNU C++ does not allow label attributes to be
2067         after the ':'.
2068
2069 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2070
2071         * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
2072         (objc_declare_class): Likewise.
2073         (error_with_ivar): Likewise.
2074         (start_class): Likewise.
2075         (warn_with_method): Likewise.
2076
2077 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2078
2079         Remove pedwarn_with_decl, warning_with_decl and error_with_decl
2080         from GCC.
2081         * calls.c (try_to_integrate): Don't use xxx_with_decl.
2082         (expand_call): Likewise.
2083         * dwarfout.c (output_reg_number): Likewise.
2084         * expr.c (expand_expr): Likewise.
2085         * function.c (assign_temp): Likewise.
2086         (uninitialized_vars_warning): Likewise.
2087         (setjmp_args_warning): Likewise.
2088         (expand_function_end): Likewise.
2089         * stmt.c (fixup_gotos): Likewise.
2090         (warn_about_unused_variables): Likewise.
2091         (expand_end_bindings): Likewise.
2092         * stor-layout.c (layout_decl): Likewise.
2093         (place_field): Likewise.
2094         * toplev.c (check_global_declarations): Likewise.
2095         (rest_of_handle_inlining): Likewise.
2096         (default_tree_printer): New function.
2097         (general_init): Initialize diagnostic machinery before routing
2098         signals to the ICE machinery.  Set default tree printer.
2099         * toplev.h (pedwarn_with_decl): Remove declaration.
2100         (warning_with_decl): Likewise.
2101         (error_with_decl): Likewise.
2102         (pedwarn): Remove attribute for the time being.
2103         * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
2104         * varasm.c (named_section): Likewise.
2105         (make_decl_rtl): Likewise.
2106         (assemble_variable): Likewise.
2107         (merge_weak): Likewise.
2108         (declare_weak): Likewise.
2109
2110         * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
2111         * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
2112         (format_with_decl): Remove.
2113         (diagnostic_for_decl): Likewise.
2114         (pedwarn_with_decl): Likewise.
2115         (warning_with_decl): Likewise.
2116         (error_with_decl): Likewise.
2117         (diagnostic_initialize): Adjust.
2118         (diagnostic_count_diagnostic): Likewise.
2119         (announce_function): Likewise.
2120         (lhd_print_error_function): Likewise.
2121         (diagnostic_report_current_module): Likewise.
2122         (default_diagnostic_starter): Likewise.
2123         (diagnostic_report_diagnostic): Likewise.
2124         (default_diagnostic_finalizer): Likewise.
2125         (verbatim): Likewise.
2126         (error): Likewise.
2127         (warning): Likewise.
2128         * opts.c (common_handle_option): Likewise.
2129         * pretty-print.c: New file.
2130         * c-pretty-print.h (pp_base): Override.
2131         * c-pretty-print.c: Adjust use of macros throughout.
2132         (pp_buffer): New macro.
2133         (pp_newline): Likewise.
2134         * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
2135         * Makefile.in (DIAGNOSTIC_H): New variable.
2136         (c-errors.o): Use it.
2137         (c-objc-common.o): Likewise.
2138         (c-common.o): Likewise.
2139         (c-opts.o): Likewise.
2140         (c-format.o): Likewise.
2141         (diagnostic.o): Likewise.
2142         (opts.o): Likewise.
2143         (toplev.o): Likewise.
2144         (rtl-error.o): Likewise.
2145         (dwarf2out.o): Likewise.
2146         (jump.o): Likewise.
2147         (pretty-print.o): New rule.
2148
2149 2003-07-24  Roger Sayle  <roger@eyesopen.com>
2150
2151         * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
2152         front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
2153         (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
2154         from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
2155         (DEF_FRONT_END_LIB_BUILTIN): Delete.
2156         (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
2157         (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
2158
2159         * builtins.c (build_string_literal): New function to construct
2160         a char* pointer to a string literal.
2161         (expand_builtin_fputs): Change 2nd argument from "int ignore" to
2162         "rtx target" to be consistent with other expand_builtin_* functions.
2163         Change 3rd argument from "int unlocked" to "bool unlocked".
2164         (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
2165         c-common.c to avoid front-end dependencies.  Optimize printf("")
2166         as a no-op when the result isn't required.  Handle embedded NULs
2167         in format string.
2168         (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
2169         from c-common.c to avoid front-end dependencies.  Likewise, optimize
2170         fprintf(fp,"") as a no-op when the result isn't required, evaluating
2171         fp for side-effects.  Handle embedded NULs in format string.
2172         (expand_builtin_sprintf): Fix typo.
2173         (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
2174         optimizing.  Adjust calls of expand_builtin_fputs to match the API
2175         change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
2176         expand_builtin_printf.  Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
2177         and BUILT_IN_FPRINTF using expand_builtin_fprintf.
2178
2179         * c-common.c (is_valid_printf_arglist): Delete.
2180         (c_expand_builtin): Delete.
2181         (c_expand_builtin_printf): Moved to builtins.c. Delete.
2182         (c_expand_builtin_fprintf): Moved to builtins.c.  Delete.
2183         (c_expand_expr): No longer treat CALL_EXPRs specially.
2184         (CALLED_AS_BUILT_IN): Delete.
2185
2186 2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2187
2188         PR optimization/11631
2189         * gcse.c (store_motion): Connect infinite loops to exit.
2190
2191 2003-07-24  Jason Merrill  <jason@redhat.com>
2192
2193         * tree.h (boolean_type_node): Move from C/C++/Java frontends.
2194         (boolean_true_node, boolean_false_node): Likewise.
2195         (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
2196         * tree.c (build_common_tree_nodes): Init boolean_type_node.
2197         (build_common_tree_nodes_2): Init boolean_{true,false}_node.
2198         * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
2199         * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
2200         (truthvalue_true_node): Renamed from boolean_true_node.
2201         (truthvalue_false_node): Renamed from boolean_false_node.
2202         * c-decl.c: Just set truthvalue_* to integer_*.
2203         * c-*.[ch]: s/boolean/truthvalue/.  s/c_bool/boolean/.
2204
2205 2003-07-24  Roger Sayle  <roger@eyesopen.com>
2206
2207         * c-decl.c (match_builtin_function_types): New subroutine of
2208         duplicate_decls to test whether a redeclaration of a builtin
2209         function is suitably close, i.e. the return type and all of
2210         the argument types have the same modes as the builtin expects.
2211         (duplicate_decls): Fuzzy type matching for builtin functions
2212         moved to match_builtin_function_types.
2213
2214 2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2215
2216         * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
2217         flag correctly.
2218
2219 2003-07-24  Zack Weinberg  <zack@codesourcery.com>
2220
2221         * c-decl.c: Search-and-replace change 'binding level' to
2222         'scope' in commentary.
2223         (struct binding_level): Now struct c_scope.
2224         (current_binding_level): Now current_scope.
2225         (free_binding_level): Now scope_freelist.
2226         (current_function_level): Now current_function_scope.
2227         (global_binding_level): Now global_scope.
2228         (make_binding_level): Now make_scope.
2229         (pop_binding_level): Now pop_scope.
2230
2231 2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2232
2233         * configure.in (libgcc_visibility): Add missing whitespace.
2234
2235 2003-07-24  Richard Henderson  <rth@redhat.com>
2236
2237         * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
2238         __gcc_personality_v0.
2239
2240 2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2241
2242         * Makefile.in: Replace pwd by ${PWD_COMMAND}.
2243
2244 2003-07-24  Nathan Sidwell  <nathan@codesourcery.com>
2245
2246         * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
2247         documentation missed from my 2003-07-09 patch.
2248
2249 2003-07-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2250
2251         * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
2252         it's not provided.
2253         * configure: Rebuild.
2254
2255 2003-07-24  Steven Bosscher  <steven@gcc.gnu.org>
2256
2257         PR c/10602
2258         * c-typeck.c (type_lists_compatible_p): Do not compare
2259         arguments if one of them is an error_mark_node
2260
2261 2003-07-24  Alan Modra  <amodra@bigpond.net.au>
2262
2263         * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
2264         if current_function_calls_eh_return.
2265
2266 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
2267
2268         * doc/c-tree.texi (OFFSET_TYPE): Update description.
2269
2270 2003-07-23  Bob Wilson  <bob.wilson@acm.org>
2271
2272         * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
2273         * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
2274         __umodsi3, __modsi3): Increase frame size to 32.
2275
2276 2003-07-23  Geoffrey Keating  <geoffk@apple.com>
2277
2278         * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
2279         prototype.
2280
2281 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
2282
2283         * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
2284
2285         PR optimization/10679
2286         * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
2287
2288 2003-07-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2289
2290         PR target/11607 and PR target/11516
2291         * pa.md (extzv, extv, insv): Revert latter half of last patch.
2292
2293 2003-07-22  Mark Mitchell  <mark@codesourcery.com>
2294
2295         * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
2296         * varasam.c (output_constant): Likewise.
2297
2298 2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
2299
2300         * alias.c: Fix comment formatting.
2301         * c-common.c: Likewise.
2302         * c-decl.c: Likewise.
2303         * c-opts.c: Likewise.
2304         * combine.c: Likewise.
2305         * cpplib.c: Likewise.
2306         * diagnostic.c: Likewise.
2307         * dojump.c: Likewise.
2308         * final.c: Likewise.
2309         * fold-const.c: Likewise.
2310         * gcc.c: Likewise.
2311         * gcse.c: Likewise.
2312         * ggc-page.c: Likewise.
2313         * jump.c: Likewise.
2314         * loop.c: Likewise.
2315         * mips-tfile.c: Likewise.
2316         * recog.c: Likewise.
2317         * regclass.c: Likewise.
2318         * regmove.c: Likewise.
2319         * tree.c: Likewise.
2320         * tree.h: Likewise.
2321
2322 2003-07-22  Per Bothner  <pbothner@apple.com>
2323
2324         * line-map.c (add_line_map):  Handle invalid LEAVE request.
2325         Fixes PR preprocessor/11361.
2326
2327 2003-07-22  Per Bothner  <pbothner@apple.com>
2328
2329         * diagnostic.c.(diagnostic_report_current_module):  Update to match
2330         2003-06-05 changes to push_srcloc and pop_srcloc.
2331
2332 2003-07-22  Wolfgang Bangerth  <bangerth@dealii.org>
2333
2334         * doc/trouble.texi: Better document two-stage name lookup.
2335
2336 2003-07-22  Eric Christopher <echristo@redhat.com>
2337
2338         * config/s390.c (s390_valid_pointer_mode): New.
2339         (TARGET_VALID_POINTER_MODE): Use.
2340         (s390_emit_prologue): Add tpf profiling hooks.
2341         (s390_emit_epilogue): Ditto.
2342         * config/s390.h (MASK_TPF): New.
2343         (TARGET_TPF): Use.
2344         (POINTERS_EXTEND_UNSIGNED): Define.
2345         * config/s390.md (ptr_extend): New pattern.
2346
2347 2003-07-22  Zack Weinberg  <zack@codesourcery.com>
2348
2349         * hashtable.c (approx_sqrt): Make static.
2350         * hashtable.h: Don't prototype approx_sqrt.
2351         * line-map.c (init_line_maps): Rename linemap_init.
2352         (free_line_maps): Rename linemap_free.
2353         (add_line_map): Rename linemap_add.
2354         (lookup_line): Rename linemap_lookup.
2355         (print_containing_files): Rename linemap_print_containing_files.
2356         * linemap.h: Update to match.
2357
2358         * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
2359         linemap routines to use new names.
2360
2361 2003-07-16  Nathan Sidwell  <nathan@codesourcery.com>
2362
2363         * c-common.c (handle_packed_attribute): Don't pack a struct via a
2364         typedef. Propagate packedness from a main variant.
2365
2366 2003-07-22  Nathanael Nerode  <neroden@gcc.gnu.org>
2367
2368         * Makefile.in (install-common): Add dependency on installdirs.
2369
2370 2003-07-21  Alexandre Oliva  <aoliva@redhat.com>
2371
2372         * c-common.c (c_common_type_for_mode): Return integer types for
2373         pointer modes.
2374
2375 2003-07-22  Geoffrey Keating  <geoffk@apple.com>
2376
2377         * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
2378         (finish_decl): Call maybe_apply_pragma_weak here.
2379         (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
2380         TREE_PUBLIC and TREE_STATIC are decided.
2381         (start_function): Move call to maybe_apply_pragma_weak.  Check that
2382         DECL_ASSEMBLER_NAME isn't set too early.
2383
2384         * cpplex.c (_cpp_process_line_notes): Mention option name in
2385         trigraphs warning.
2386
2387 2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
2388
2389         * combine.c (if_then_else_cond): Simplify the comparison of
2390         rtx against -1, 0, and 1.
2391         * loop.c (check_dbra_loop): Likewise.
2392         * optabs.c (emit_conditional_move): Likewise.
2393         (emit_conditional_add): Likewise.
2394         * config/i386/i386.md (*movsi_or): Likewise.
2395         (*movdi_or_rex6): Likewise.
2396
2397 Tue Jul 22 00:42:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
2398
2399         * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
2400
2401 2003-07-21  Neil Booth  <neil@daikokuya.co.uk>
2402
2403         * cppfiles.c (open_file_pch): Don't put unused entries in the
2404         splay tree.  Remove dead code.
2405
2406 2003-07-21  Geoffrey Keating  <geoffk@apple.com>
2407
2408         * c-common.h (num_in_fnames): Declare.
2409         (c_static_assembler_name): Move from here...
2410         * c-tree.h (c_static_assembler_name): ... to here.
2411         * c-opts.c: Don't include langhooks-def.h.
2412         (c_static_assembler_name): Move to c-decl.c.
2413         (num_in_fnames): Make externally visible.
2414         * c-decl.c: Include langhooks-def.h.
2415         (c_static_assembler_name): Move from c-opts.c.
2416         * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
2417         (c-opts.o): Remove $(LANGHOOKS_DEF_H).
2418
2419         * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
2420         when it's not needed.
2421
2422 2003-07-21  Jakub Jelinek  <jakub@redhat.com>
2423
2424         * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
2425         * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
2426         (rs6000_emit_prologue): Save FPRs inline if set.
2427
2428 2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
2429
2430         * config/ia64/ia64.md (prefetch): Support predicate.
2431
2432 2003-07-21  Josef Zlomek  <zlomekj@suse.cz>
2433
2434         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
2435         * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
2436         table.
2437
2438 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2439
2440         PR optimization/11536
2441         * unroll.c (loop_iterations): Do not replace a register holding
2442         the final value by its equivalent before the loop if it is not
2443         invariant.
2444
2445 2003-07-21  Dave Fluri  <dave.fluri@onlink.net>
2446
2447         * doc/extend.texi: Fixes to spelling, grammar, and diction.
2448
2449 2003-07-21  Ben Elliston  <bje@wasabisystems.com>
2450
2451         * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
2452         (V850 Options): Spelling fixes.
2453
2454 2003-07-20  Lisa M. Goldstein  <opus@gnu.org>
2455
2456         * doc/invoke.texi: Fixes to style, grammar and diction.
2457
2458 2003-07-20  Roger Sayle  <roger@eyesopen.com>
2459
2460         * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
2461         * system.h (SMALL_STACK): Poison obsolete target macro.
2462         * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
2463
2464 2003-07-20  Phil Edwards  <pme@gcc.gnu.org>
2465
2466         * configure.in:  Cache the results of testing for cmp's capabilities.
2467         * configure:  Regenerate.
2468
2469 2003-07-20  Mark Mitchell  <mark@codesourcery.com>
2470
2471         PR debug/11279
2472         * dwarf2out.c (gen_enumeration_type_die): Remember that
2473         enumerators can be unsigned.
2474
2475 2003-07-19  Zack Weinberg  <zack@codesourcery.com>
2476
2477         * c-decl.c (named_labels, shadowed_labels, label_level_chain)
2478         (push_label_level, pop_label_level): Kill.
2479         (struct binding_level): Rename level_chain to outer.
2480         Add outer_function field.  Change parm_flag, function_body,
2481         keep, keep_if_subblocks to 1-bit bitfields of type bool.
2482         (current_function_level): New variable.
2483         (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
2484         (keep_next_level, declare_parm_level, warn_if_shadowing):
2485         Update to match.
2486         (struct language_function): Kill named_labels, shadowed_labels fields.
2487         (c_init_decl_processing, start_function, c_push__function_context)
2488         (c_pop_function_context): No need to muck with named_labels nor
2489         shadowed_labels.
2490
2491         (make_binding_level): No need to clear the structure here.
2492         (pop_binding_level): Always operate on current_binding_level.
2493         Update current_function_level if necessary.
2494         (pushlevel): Don't clear named_labels.  Update current_function_level
2495         if necessary.  Use "true" and "false" where appropriate.
2496         (poplevel): Diagnose labels defined but not used, or vice
2497         versa, and clear out label-meanings leaving scope, while
2498         walking down the decls list, for all binding levels.
2499         Handle LABEL_DECLs appearing in the shadowed list.
2500         pop_binding_level takes no arguments.
2501         (pushdecl_function_level): Use current_function_level.
2502
2503         (make_label, bind_label): New static functions.
2504         (declare_label): New exported function.
2505         (lookup_label, define_label): Rewritten for new data structure.
2506         (shadow_label): Kill.
2507
2508         * c-tree.h: Prototype declare_label; don't prototype
2509         push_label_level, pop_label_level, nor shadow_label.
2510         * c-parse.in: Remove all calls to push_label_level and
2511         pop_label_level.  Use declare_label for __label__ decls.
2512
2513         * doc/extend.texi: Clarify that __label__ can be used to
2514         declare labels with local scope in any nested block, not
2515         just statement expressions.  Cross-reference nested functions
2516         section from local labels section.
2517
2518 2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2519
2520         * sched-rgn.c (find_rgns): Initialize current_edge correctly.
2521
2522 2003-07-19  Phil Edwards  <pme@gcc.gnu.org>
2523
2524         * doc/makefile.texi (restrap, profiledbootstrap):  Document targets.
2525
2526 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2527
2528         * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
2529         fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
2530
2531 2003-07-19  Ulrich Weigand  <uweigand@de.ibm.com>
2532
2533         * config/s390/s390.c (legitimize_pic_address): Access local symbols
2534         relative to the GOT instead of relative to the literal pool base.
2535         (s390_output_symbolic_const): Handle new GOT-relative accesses.
2536         * config/s390/s390.md ("call"): Access local functions and PLT stubs
2537         relative to the GOT instead of relative to the literal pool base.
2538         ("call_value"): Likewise.
2539         ("call_value_tls"): Likewise.
2540
2541         * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
2542         reloading.  Support LTREL_BASE / LTREL_OFFSET construct.
2543         (s390_chunkify_finish): Likewise.
2544         (s390_chunkify_cancel): Likewise.
2545         (s390_reorg): Adapt caller.
2546         (find_base_register_in_addr,
2547         find_base_register_ref, replace_base_register_ref): Delete.
2548         (find_ltrel_base, replace_ltrel_base): New functions.
2549         (find_constant_pool_ref): Handle LTREL_BASE unspecs.
2550         (s390_decompose_address): Handle LTREL_BASE unspecs.  Optimize
2551         base vs. index register usage.
2552         (struct constant_pool): Remove 'anchor'.
2553         (s390_add_anchor): Delete.
2554         (s390_dump_pool): Remove anchor handling.
2555         * config/s390/s390.md ("reload_anchor"): Remove.
2556
2557         * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
2558         (s390_load_got): New function.  Use LTREL_BASE/OFFSET.
2559         (s390_emit_prologue): Use it.
2560         * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
2561         "builtin_setjmp_receiver"): Cleanup.  Use s390_load_got.  Do not
2562         hard-code register 14.
2563         * config/s390/s390-protos.h (s390_load_got): Declare.
2564
2565         * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
2566         Support TImode constants.
2567         * config/s390/s390.md ("consttable_ti"): New.
2568         ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
2569
2570         * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
2571         UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
2572         UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
2573         UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
2574         UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
2575         New symbolic constants.
2576         ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
2577         "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
2578         "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
2579         "pool", "literal_pool_31", "literal_pool_64"): Cleanup.  Use
2580         symbolic UNSPEC values.
2581         * config/s390/s390.c (larl_operand, s390_short_displacement,
2582         bras_sym_operand, s390_cannot_force_const_mem,
2583         s390_delegitimize_address, s390_decompose_address,
2584         legitimize_pic_address, s390_output_symbolic_const,
2585         s390_function_profiler): Use symbolic UNSPEC values.
2586
2587 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2588
2589         * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
2590         c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
2591         c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
2592         collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
2593         cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
2594         cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
2595         dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
2596         fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
2597         gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
2598         genemit.c genextract.c genoutput.c genrecog.c gensupport.c
2599         ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
2600         integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
2601         loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
2602         postreload.c prefix.c print-tree.c protoize.c ra-build.c
2603         ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
2604         regmove.c regrename.c reload.c reload1.c reorg.c resource.c
2605         sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
2606         simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
2607         tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
2608         varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
2609         casts.
2610
2611 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2612
2613         * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
2614         * toplev.h (warning): Remove attribute.
2615
2616 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2617
2618         * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
2619         (pop_label_level): Likewise.
2620         (duplicate_decls): Likewise.
2621         (implicitly_declare): Likewise.
2622         (shadow_label): Likewise.
2623         (start_decl): Likewise.
2624         (finish_decl): Likewise.
2625         (grokdeclarator): Likewise.
2626         (get_parm_info): Likewise.
2627         (detect_field_duplicates): Likewise.
2628         (finish_struct): Likewise.
2629         (start_function): Likewise.
2630         (store_parm_decls): Likewise.
2631         (finish_function): Likewise.
2632         (c_expand_body_1): Likewise.
2633         (check_for_loop_decls): Likewise.
2634         (merge_translation_unit_decls): Likewise.
2635
2636 2003-07-19  Neil Booth  <neil@daikokuya.co.uk>
2637
2638         * common.opt:  Document --param.
2639         * opts.c (columns, undocumented_msg): New.
2640         (print_help): Get number of columns from environment.  Print
2641         --param help.  Tweak newline handling.
2642         (print_param_help): New.
2643         (print_filtered_help): Better handling of duplicates.  Complain
2644         about undocumented switches.
2645         (print_switch): New.
2646         (wrap_help): Improve wrapping, use COLUMNS.
2647         * opts.sh: Ignore comments in records.
2648         * params.def: Fix typos and remove trailing periods.
2649         * toplev.c (display_help): Don't dump --param help.
2650         * doc/sourcebuild.texi: Update.
2651
2652 2003-07-18  Richard Henderson  <rth@redhat.com>
2653
2654         PR target/11556
2655         * optabs.c (prepare_operand): Fail gracefully instead of abort
2656         if the predicate doesn't satisfy.
2657         (gen_cond_trap): Allow prepare_operand to fail.
2658
2659 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2660
2661         * c-common.c: Don't undefine GCC_DIAG_STYLE.
2662         (fname_decl): Don't use xxx_with_decl.
2663         (c_add_case_label): Likewise.
2664         (handle_section_attribute): Likewise.
2665         (handle_alias_attribute): Likewise.
2666         (handle_no_instrument_function_attribute): Likewise.
2667         (handle_no_limit_stack_attribute): Likewise.
2668         * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
2669         * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
2670
2671 2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2672
2673         * Makefile.in (ifcvt.o): Add cfgloop.h.
2674         * basic-block.h (EDGE_LOOP_EXIT): New flag.
2675         * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
2676         * ifcvt.c: Include cfgloop.h.
2677         (mark_loop_exit_edges): New static function.
2678         (if_convert): Call it.
2679         (find_if_header): Ignore branches out of loops.
2680
2681 2003-07-18  Kazu Hirata  <kazu@cs.umass.edu>
2682
2683         * combine.c (simplify_comparison): Don't share rtx when converting
2684         (ne (and (not X) 1) 0) to (eq (and X 1) 0).
2685
2686 2003-07-18  David Edelsohn  <edelsohn@gnu.org>
2687
2688         * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
2689         (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
2690         (MUST_PASS_IN_STACK): Define.
2691         (BLOCK_REG_PADDING): Define.
2692
2693 2003-07-18  Richard Henderson  <rth@redhat.com>
2694
2695         * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
2696         to skip the addr_vec.
2697
2698 Fri Jul 18 15:22:28 2003  Alexandre Oliva  <aoliva@redhat.com>
2699
2700         * combine.c (combinable_i3pat): Don't forbid occurrences of
2701         i2dest or i1dest in inner_dest if inner_dest is a mem.
2702
2703 Fri Jul 18 17:05:57 CEST 2003  Jan Hubicka  <jh@suse.cz>
2704
2705         * cgraph.c (cgraph_remove_node): Clear the hash table slot.
2706
2707 2003-07-17  Jakub Jelinek  <jakub@redhat.com>
2708
2709         PR target/11087
2710         * loop.c (basic_induction_var): Check if convert_modes emitted any
2711         instructions. Remove them and return 0 if so.
2712
2713 2003-07-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
2714
2715         PR optimization/11083
2716         * toplev.c (rest_of_handle_addresof): Rename into
2717         rest_of_handle_addressof.  Delete unreachable blocks
2718         if dead edges were purged after the addressof pass.
2719
2720 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
2721
2722         * Makefile.in, configure, configure.in: Remove handling of
2723         lang-options.h and options_.h.
2724         * toplev.c (struct lang_opt, documented_lang_options): Remove.
2725         (display_help): Don't use documented_lang_options.
2726
2727 2003-07-17  Zack Weinberg  <zack@codesourcery.com>
2728
2729         * c-decl.c (pushdecl_function_level): Make static, return nothing.
2730         (kept_level_p): Fold into poplevel.
2731         (undeclared_variable): Moved here from c-typeck.c.  Export.
2732         * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
2733         (undeclared_variable): Prototype here.  Don't prototype
2734         kept_level_p nor pushdecl_function_level.
2735         * c-parse.in: Change first argument to poplevel from
2736         "kept_level_p()" to "KEEP_MAYBE".
2737         * c-typeck.c (undeclared_variable): Moved to c-decl.c.
2738
2739 2003-07-17  Roger Sayle  <roger@eyesopen.com>
2740
2741         * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
2742         commutative operands instead of modifying the RTL in-place.
2743
2744 2003-07-17  Mark Mitchell  <mark@codesourcery.com>
2745
2746         PR optimization/11557
2747         * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
2748         unless we know which function is being called.
2749
2750 2003-07-17  Roger Sayle  <roger@eyesopen.com>
2751
2752         * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
2753         whether to reorder the operands of a commutative binary operator.
2754
2755 2003-07-17  Roger Sayle  <roger@eyesopen.com>
2756
2757         * fold-const.c (const_binop): Avoid performing the FP operation at
2758         compile-time, if either operand is NaN and we honor signaling NaNs,
2759         or if we're dividing by zero and either flag_trapping_math is set
2760         or the desired mode doesn't support infinities.
2761         (fold_initializer): New function to fold an expression ignoring any
2762         potential run-time exceptions or traps.
2763         * tree.h (fold_initializer): Prototype here.
2764         * c-typeck.c (build_binary_op): Move to the end of the file so
2765         that intializer_stack is in scope.  If constructing an initializer,
2766         i.e. when initializer_stack is not NULL, use fold_initializer to
2767         fold expressions.
2768         * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
2769         performing FP operations at compile-time, if they would raise an
2770         exception at run-time.
2771
2772 2003-07-17  Geoffrey Keating  <geoffk@apple.com>
2773
2774         PR 11498
2775         * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
2776         (langhooks.o): Add $(GGC_H), gt-langhooks.h.
2777         (GTFILES): Add langhooks.c.
2778         (gt-langhooks.h): New.
2779         * c-common.h (c_static_assembler_name): Prototype.
2780         * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
2781         * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
2782         * c-opts.c: Include langhooks-def.h.
2783         (c_static_assembler_name): New.
2784         * langhooks.c: Include ggc.h.  Include gt-langhooks.h.
2785         (var_labelno): New.
2786         (lhd_set_decl_assembler_name): Give static objects with context
2787         unique names.
2788         * varasm.c (var_labelno): Delete.
2789         (make_decl_rtl): Don't change the assembler name once it's set.
2790
2791         * c-opts.c (this_input_filename): New.
2792         (finish_options): Take new parameter, name of file being compiled.
2793         Update callers.  Set this_input_filename.
2794         (push_command_line_include): Use this_input_filename not
2795         main_input_filename.
2796
2797 2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
2798
2799         * Makefile.in: Depend .pot generation on options.c.
2800         * po/exgettext: Add an extra_files variable containing additional
2801         files to scan.
2802
2803 2003-07-17  Zack Weinberg  <zack@codesourcery.com>
2804
2805         * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
2806         c_write_global_declarations.
2807
2808         * c-decl.c: Fix typos in several comments.  Remove all
2809         #if 0 blocks; reindent as needed.  Remove unused argument
2810         to declare_parm_level; all callers changed.
2811         * c-parse.in: Update calls to declare_parm_level.  Avoid
2812         issuing a double warning in some circumstances.
2813         * c-typeck.c: Update calls to declare_parm_level.
2814         * c-tree.h: Update prototype of declare_parm_level.
2815
2816         * c-pragma.c (apply_pragma_weak): Don't complain about a
2817         redundant #pragma weak.
2818
2819         * objc/objc-act.c (forward_declare_categories,
2820         build_selector_reference_decl, build_class_reference_decl,
2821         build_objc_string_decl, synth_forward_declarations,
2822         build_protocol_reference): Set TREE_PUBLIC on synthetic
2823         forward decl to 0, consistent with eventual definition.
2824         Correct comments to match.
2825
2826         * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
2827         in regexp that don't form a range expression.
2828         * fixinc/fixincl.def: Regenerate.
2829
2830 2003-07-17  Richard Henderson  <rth@redhat.com>
2831
2832         PR target/10907
2833         * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
2834         even with !TARGET_CONST_GP.
2835         (ia64_function_ok_for_sibcall): Reject non-local functions.
2836
2837 2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>
2838
2839         * c-common.c (c_estimate_num_insns_1): Don't handle
2840         METHOD_CALL_EXPR.
2841         * expr.c (safe_from_p): Likewise.
2842         * gengtype.c (adjust_field_tree_exp): Likewise.
2843         * stmt.c (warn_if_unused_value): Likewise
2844         * tree.c (first_rtl_op): Likewise.
2845         * tree.def: Don't define METHOD_CALL_EXPR.
2846         * java/lang.c (java_estimate_num_insns_1): Don't handle
2847         METHOD_CALL_EXPR.
2848
2849 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
2850
2851         PR other/11466
2852         * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
2853         and its restrictions for the SPARC64 port.
2854         Move the entry of "-mimpure-text" before that of "-mv8".
2855
2856 2003-07-17  Eric Botcazou <ebotcazou@libertysurf.fr>
2857             Phil Edwards <phil@jaj.com>
2858
2859         * doc/install.texi (*-*-solaris2*): Document the step-by-step
2860         procedure to bootstrap and install.
2861         Document the preference for the legacy Sun tools in /usr/bin
2862         over the POSIX tools in /usr/xpg4/bin for the build process.
2863
2864 2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
2865
2866         * c.opt: Document Uncodumented; use it.  Document ObjC options.
2867         * opts.c (print_filtered_help): Skip undocumented switches.
2868         * opts.h (CL_UNDOCUMENTED): New.
2869         * opts.sh: Handle Undocumented.
2870         * toplev.c (documented_lang_options): Prevent its becoming empty.
2871 objc:
2872         * lang-options.h: Remove.
2873
2874 2003-07-16  Ulrich Weigand  <uweigand@de.ibm.com>
2875
2876         * loop.c (check_ext_dependent_givs): Pass const struct loop *
2877         instead of struct loop_info * as argument.  Accept BIVs with
2878         increment +/- 1 provided there is a friendly exit test against
2879         a loop-invariant value.
2880         (strength_reduce): Adapt call to check_ext_dependent_givs.
2881
2882 2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
2883             Con Bradley <con.bradley@superh.com>
2884
2885         * sh-protos.h (sh_get_pr_initial_val): Declare.
2886         * sh.c (regno_reg_class): Make its elements type enum reg_class.
2887         (output_stack_adjust): Remove emit_fn argument.  Add epilogue_p
2888         and live_regs_mask arguments.  Changed all callers.
2889         (save_schedule_s): New structure.
2890         (save_schedule): New typedef.
2891         (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
2892         (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
2893         In interrupts handlers, also save registers that are usually
2894         partially saved, and make sure there is at least one general purpose
2895         register saved if a target register needs saving.
2896         Add casts in comparisons to avoid warnings.
2897         (sh_media_register_for_return): return -1 for interrupt handlers.
2898         (MAX_SAVED_REGS, MAX_TEMPS): New defines.
2899         (sh_expand_prologue): Use sh5_schedule_saves.  Check that any temp
2900         registers used are available.
2901         Set RTX_FRAME_RELATED_P where appropriate.
2902         Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
2903         (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
2904         (initial_elimination_offset): Likewise.
2905         * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
2906         (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
2907         (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
2908         (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
2909         (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
2910         and for target registers.
2911         (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
2912         (regno_reg_class): Make its elements type enum reg_class.
2913         (CONSTRAINT_LEN): Don't use isdigit.
2914         (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
2915         (FUNCTION_ARG): Add parentheses to avoid warnings.
2916         (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2917         (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
2918         (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
2919         (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
2920         * sh.md (xordi3+1): Remove unused variable regno.
2921         (return_media): Check that tr0 is available before using it.
2922
2923 2003-07-16  Neil Booth  <neil@daikokuya.co.uk>
2924
2925         * c.opt: Document more options.
2926
2927 2003-07-16  Roger Sayle  <roger@eyesopen.com>
2928
2929         * combine.c (subst): Also handle (subreg (const_double ...)) case
2930         if created by a substitution, by using the original inner mode.
2931
2932 2003-07-16  Roger Sayle  <roger@eyesopen.com>
2933
2934         * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
2935         to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
2936         (simplify_rtx): Likewise.  Simplify (lo_sum (high X) X) as X.
2937
2938 2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>
2939
2940         * doc/install.texi (--without-headers): New.
2941
2942         Partial Fix PR/10129
2943         * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
2944         (machopic_output_function_base_name): New; print the true pic label.
2945         (machopic_classify_ident): Pic Base is always a defined data.
2946         * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
2947         * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
2948
2949         * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
2950         if they are not floating point registers.
2951
2952         PR c/10962
2953         * ggc.h: Add header guards.
2954         * c-decl.c (finish_struct): Sort fields if
2955         number greater than 15 and there are no
2956         anonymous structs/unions.
2957         * c-common.h: Include ggc.h.
2958         (sorted_fields_type): New struct.
2959         (field_decl_cmp): New prototype.
2960         (resort_sorted_fields): New prototype.
2961         (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
2962         * c-tree.h: (lang_type): Use pointer to sorted_fields_type
2963         as s, removing other fields.
2964         * c-typeck.c (lookup_field): Use s in lang_type.
2965         These were mostly moved from cp/class.c:
2966         * c-common.c (field_decl_cmp): New static function.
2967         (field_decl_cmp): New function.
2968         (resort_sorted_fields): New function.
2969
2970 2003-07-16  Geoffrey Keating  <geoffk@apple.com>
2971
2972         * config/darwin.c (machopic_select_section): Use decl_readonly_section
2973         to do most of the work.
2974
2975 2003-07-16  Hans-Peter Nilsson  <hp@bitrange.com>
2976
2977         * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
2978         * config/mmix/mmix.c: Convert functions to ISO C90.
2979         (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
2980         formatting.
2981         (mmix_get_hard_reg_initial_val): Tweak section head comment.
2982
2983 2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
2984
2985         * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
2986
2987 2003-07-16  Jakub Jelinek  <jakub@redhat.com>
2988
2989         * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
2990         (uw_update_context_1): Use it.
2991         * config/rs6000/rs6000.c (insn_after_throw): Remove.
2992         (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
2993         in parent frame if _Unwind_* called directly instead of through
2994         .plt.
2995         (rs6000_emit_eh_toc_restore): Remove.
2996         (rs6000_emit_prologue): Update stack pointer before doing any saving
2997         if current_function_calls_eh_return.  Generate unwind info for $r2.
2998         (rs6000_emit_epilogue): Restore stack pointer after doing all
2999         restoring if current_function_calls_eh_return.  Restore $r2.
3000         * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
3001         * config/rs6000/rs6000.md (eh_return): Remove call to
3002         rs6000_emit_eh_toc_restore.
3003         * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
3004         * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
3005
3006 2003-07-15  Jakub Jelinek  <jakub@redhat.com>
3007
3008         * expr.c (emit_block_move): Don't move anything if size is const 0.
3009         (clear_storage): Test against const0_rtx instead of comparing INTVAL
3010         against 0.
3011
3012 2003-07-15  David S. Miller  <davem@redhat.com>
3013
3014         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
3015         emit nop if the last real insn is CALL_INSN.
3016
3017 2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
3018
3019         * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
3020         as "nul".
3021         * config/i386/xm-mingw32.h: Change GNU CC to GCC.
3022
3023 2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
3024
3025         * config/i386/winnt.c (associated_type): Artificial methods are not
3026         affected by the import/export status of their class unless they are
3027         COMDAT.
3028         (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
3029
3030         * config/i386/winnt.c: Fix GCC copyright comment.
3031
3032 2003-07-16  Gabriel Dos Reis  <gcc@integrable-solutions.net>
3033
3034         PR c++/11531
3035         * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
3036         not recursing on hard error.
3037         (diagnostic_for_decl): Likewise.
3038         * diagnostic.def: Rearrange.
3039
3040 2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
3041
3042         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
3043         If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
3044
3045 2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
3046             Richard Henderson  <rth@redhat.com>
3047
3048         * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
3049         to decide if to access a _Unwind_Ptr or a _Unwind_Word.
3050         (_Unwind_SetGR): Likewise.
3051         (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
3052         (Unwind_SpTmp): New typedef.
3053         (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
3054         (uw_update_context): Use _Unwind_GetPtr.
3055         (init_dwarf_reg_size_table): Move above uw_init_context_1.
3056         (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
3057         Use _Unwind_SetSpColumn.
3058         (uw_install_context_1): Don't initialize dwarf_reg_size_table.
3059         Use _Unwind_GetPtr.
3060
3061 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
3062
3063         * c.opt: Document more options.
3064         * toplev.c (documented_lang_options): Remove all local help strings.
3065
3066 2003-07-15  Mark Mitchell  <mark@codesourcery.com>
3067
3068         PR debug/11473
3069         * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
3070         base classes.
3071
3072 2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
3073
3074         PR target/10795
3075         * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
3076         swap comparison operands if doing so would generate an
3077         unrecognizable insn.
3078
3079 2003-07-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
3080
3081         PR optimization/11320
3082         * sched-int.h (struct deps) [reg_conditional_sets]: New field.
3083         (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
3084         * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
3085         current_sched_info->compute_jump_reg_dependencies. Record which
3086         registers are used and which registers are set by the jump.
3087         Clear deps->reg_conditional_sets after a barrier.
3088         Set deps->reg_conditional_sets if the insn is a COND_EXEC.
3089         Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
3090         (init_deps): Initialize reg_conditional_sets.
3091         (free_deps): Clear reg_conditional_sets.
3092         * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
3093         Mark registers live on entry of the fallthrough block and conditionally
3094         set as set by the jump. Mark registers live on entry of non-fallthrough
3095         blocks as used by the jump.
3096         * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
3097         Mark new parameters as unused.
3098
3099 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
3100
3101         * doc/invoke.texi: Resync MIPS -march documentation.
3102
3103 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
3104
3105         * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
3106         (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
3107         (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
3108         * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
3109         (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
3110         (mips_issue_rate): Handle PROCESSOR_R9000.
3111         (mips_use_dfa_pipeline_interface): Likewise.
3112         * config/mips/9000.md: New file.
3113         * config/mips/mips.md: Include it.
3114         (define_attr cpu): Add r9000.
3115         (mulsi3_mult3): Use "mul" for rm9000 code.
3116
3117 2003-07-15  Stan Cox  <scox@redhat.com>
3118
3119         * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
3120         (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
3121         (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
3122         * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
3123         (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
3124         (mips_issue_rate): Handle PROCESSOR_R7000.
3125         (mips_use_dfa_pipeline_interface): Likewise.
3126         * config/mips/7000.md: New file.
3127         * config/mips/mips.md: Include it.
3128         (define_attr cpu): Add r7000.
3129         (mulsi3_mult3): Use "mul" for rm7000 code.
3130
3131 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
3132
3133         * config/mips/mips.md (define_attr type): Add condmove.  Use it for
3134         the conditional move patterns.
3135         * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
3136         Check for condmove type.
3137         (ir_vr54_arith): Add move type.
3138         * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
3139         * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
3140
3141 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
3142
3143         * c-opts.c (print_help): Remove.
3144         (c_common_handle_option): Don't handle --help.
3145         * c.opt: Document some options.
3146         (--help): Remove.
3147         * opts.c (print_filtered_help): New.
3148         (print_help): Use it.
3149
3150 2003-07-14  Geoffrey Keating  <geoffk@apple.com>
3151
3152         * c-common.c (c_common_type_for_mode): Handle V4DFmode.
3153         * tree.c: (build_common_tree_nodes_2): Likewise.
3154         * tree.h (enum tree_index): Add TI_V4DF_TYPE.
3155         (V4DF_type_node): New.
3156
3157         * c-opts.c (push_command_line_include): Don't free deferred_opts,
3158         we'll need it.
3159         (finish_options): Reset init_cursor.
3160
3161 2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
3162
3163         * expr.c (expand_assignment): Remove an unused argument
3164         SUGGEST_REG.
3165         * expr.h: Update the prototype.
3166         * function.c: Update the callers.
3167         * stmt.c: Likewise.
3168
3169 2003-07-14  Mark Mitchell  <mark@codesourcery.com>
3170
3171         PR debug/11098
3172         * integrate.c (copy_decl_for_inlining): Do not mark copied decls
3173         as DECL_ABSTRACT.
3174
3175 2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3176
3177         * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
3178         with __cplusplus, not "we must use the C++ compiler's type"
3179         * fixinc/inclhack.def (void_null): Note that Interix needs this.
3180         * fixinc/fixincl.x: Regenerate.
3181
3182 2003-07-14  Geoffrey Keating  <geoffk@apple.com>
3183
3184         * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
3185         and unseen_objects from the global data before calling
3186         __deregister_frame_info_bases.
3187         (examine_objects): Insert objects into the seen_objects list,
3188         not unseen_objects.
3189         (_Unwind_Find_FDE): Always unlock the global object lists, even if
3190         we couldn't allocate a data structure to put in it.
3191
3192         * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
3193         (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
3194         (SET_TYPE_PROTOCOL_LIST): New.
3195         * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
3196         (get_object_reference): Likewise.
3197
3198 Mon Jul 14 23:14:28 CEST 2003  Jan Hubicka  <jh@suse.cz>
3199
3200         * cfglayout.c (locator_file): Break out from ....
3201         (insn_file): ... here.
3202         (locator_line): Break out from ....
3203         (insn_line): ... here.
3204         * rtl.h (locator_file, locator_line): Declare.
3205         (final_start_function): Set proper line/file info.
3206
3207 2003-07-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3208
3209         * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
3210         handled by pp_c_cast_expression.
3211
3212 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
3213
3214         * config/mips/mips.c (mips_expand_prologue): Use a single insn to
3215         allocate 32768 bytes of stack.  Use addition rather than subtraction
3216         when a single insn is enough.
3217         * config/mips/mips.md: Remove insns and splitters for subtracting
3218         constants.
3219         (subsi3): Only accept register operands.
3220         (subsi3_internal): Likewise.  Use for TARGET_MIPS16 as well.
3221         (subdi3_internal_3, subsi3_internal_2): Likewise.
3222         (casesi): Use expand_binop to subtract the lower bound.
3223
3224 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
3225
3226         * config/mips/mips.c (mips_in_small_data_p): Don't handle
3227         TARGET_MIPS16 specially.
3228
3229 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
3230
3231         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
3232         mips_output_aligned_bss.
3233         * config/mips/linux.h: Likewise.
3234         * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
3235         * config/mips/mips.c (mips_output_aligned_bss): New function.
3236
3237         * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
3238         * config/mips/elf64.h: Likewise.
3239
3240         * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
3241         mips_declare_object_name.
3242         (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
3243         * config/mips/elf64.h: As for elf.h.
3244         * config/mips/iris6.h: Likewise.
3245         * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
3246         * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
3247         do...while (0) block.
3248         * config/mips/mips-protos.h (mips_declare_object_name): Declare.
3249         (mips_finish_declare_object): Declare.
3250         * config/mips/mips.c (mips_declare_object_name): New function.
3251         (mips_finish_declare_object): New function.
3252
3253         * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
3254         * config/mips/linux.h: Likewise.
3255
3256         * config/mips/mips.c (inside_function): Delete.
3257         (file_in_function_warning, ignore_line_number): Delete.
3258         (mips_output_filename): Don't warn about changing filenames within
3259         a function.
3260         (mips_output_lineno): Update accordingly.
3261         (mips_output_function_prologue): Don't reset the deleted variables.
3262         * config/mips/mips.h (inside_function): Delete.
3263         (file_in_function_warning, ignore_line_number): Delete.
3264
3265         * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
3266         * config/mips/elf64.h: Likewise.
3267         * config/mips/openbsd.h: Likewise.
3268         * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
3269         * config/mips/linux.h: Likewise.
3270         * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
3271         (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
3272
3273         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
3274         to the list of include files when using gas.
3275         (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
3276         * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
3277         * config/mips/elf64.h: Likewise.
3278         * config/mips/iris5.h: Likewise.
3279         * config/mips/linux.h: Likewise.
3280         * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
3281         * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
3282         (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
3283         * config/mips/sdb.h: ...this new file.
3284
3285 2003-07-14  Douglas Rupp  <rupp@gnat.com>
3286
3287         * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
3288         argument to getcwd; use fixed buffer instead.
3289
3290 2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3291
3292         * fixinc/mkfixinc.sh: Treat OpenBSD normally.
3293         * fixinc/fixinc.wrap: Delete.
3294
3295 2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
3296
3297         * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
3298         don't have 2.
3299
3300 2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
3301
3302         * ggc-page.c (struct globals): Add new fields to keep track of the
3303         total allocated memory and overhead.
3304         (ggc_print_statistics): Print them.
3305         (ggc_alloc): Keep track of the total allocated memory and the
3306         overhead.
3307
3308         * tree.c (dump_tree_statistics): Increase spacing.
3309         (enum tree_node_kind): Move to ...
3310         * tree.h (enum tree_node_kind): ... here.
3311         (tree_node_counts, tree_node_sizes): Declare.
3312
3313 2003-07-14  James A. Morrison  <ja2morri@student.math.uwaterloo.ca>
3314
3315         * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
3316
3317 2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3318
3319         PR optimization/11440
3320         * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
3321         SIGN_EXTRACT SETs.
3322
3323 2003-07-14  Alan Modra  <amodra@bigpond.net.au>
3324
3325         * doc/tm.texi (BLOCK_REG_PADDING): Describe.
3326         * expr.h (struct locate_and_pad_arg_data): Add where_pad.
3327         (emit_group_load, emit_group_store): Adjust declarations.
3328         Remove most occurrences of #ifdef TREE_CODE.
3329         * expr.c (emit_group_load): Add "type" param, and use
3330         BLOCK_REG_PADDING to determine need for a shift.  Optimize non-
3331         aligned accesses if !SLOW_UNALIGNED_ACCESS.
3332         (emit_group_store): Likewise.
3333         (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
3334         emit_group_load and emit_group_store calls.
3335         * calls.c (store_unaligned_arguments_into_pseudos): Tidy.  Use
3336         BLOCK_REG_PADDING to determine whether we need endian_correction.
3337         (load_register_parameters): Localize vars.  Handle shifting of
3338         small values to the correct end of regs.  Adjust emit_group_load
3339         call.
3340         (expand_call, emit_library_call_value_1): Adjust emit_group_load
3341         and emit_group_store calls.
3342         * function.c (assign_parms): Set mem alignment for stack slots.
3343         Adjust emit_group_store call.  Store values at the "wrong" end
3344         of regs to the stack.  Use BLOCK_REG_PADDING.
3345         (locate_and_pad_parm): Save where_pad.
3346         (expand_function_end): Adjust emit_group_load call.
3347         * stmt.c (expand_value_return): Adjust emit_group_load call.
3348         * Makefile.in (calls.o): Depend on $(OPTABS_H).
3349         * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
3350         (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
3351         (MUST_PASS_IN_STACK): Define.
3352         (BLOCK_REG_PADDING): Define.
3353         * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
3354         (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
3355         * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
3356         (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
3357         Act on AGGREGATES_PAD_UPWARD_ALWAYS.
3358
3359 2003-07-13  Aaron W. LaFramboise  <awlaframboise@aol.com>
3360
3361         * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
3362
3363 2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3364
3365         * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
3366         both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
3367
3368 2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
3369
3370         PR other/11123
3371         * toplev.c: Don't cut off option names.
3372
3373 2003-07-13  Andreas Jaeger  <aj@suse.de>
3374
3375         * c-decl.c (link_hash_hash): Avoid warning about casting pointer
3376         to integer of different size.
3377
3378 2003-07-13  Kazu Hirata  <kazu@cs.umass.edu>
3379
3380         * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
3381         to (eq (and X 1) 0).
3382
3383 2003-07-13  Andreas Jaeger  <aj@suse.de>
3384
3385         * config.gcc: Add pmmintrin.h for x86_64-*-*.
3386
3387 2003-07-13  Zack Weinberg  <zack@codesourcery.com>
3388
3389         * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
3390         (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
3391         list.  Move these all together down by cpplib.
3392
3393         * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
3394         definition of CPPCHAR_SIGNED_T.
3395
3396         * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
3397         * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
3398         * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
3399
3400         * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
3401         * cppinit.c (cpp_create_reader): Likewise.
3402
3403         * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
3404         * cpptrad.c: Likewise.  All callers changed.
3405         * cpplib.c: All callers changed.
3406         * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
3407         * hashtable.h: Define GTY(x) to nothing here too.
3408
3409 2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3410
3411         * stor-layout.c (compute_record_mode): Remove very obsolete test
3412         that forces BLKmode for records with fields crossing word boundary.
3413
3414 2003-07-13  Zack Weinberg  <zack@codesourcery.com>
3415
3416         * Makefile.in: Remove orphan reference to acconfig.h.
3417
3418 2003-07-13  Andreas Jaeger  <aj@suse.de>
3419
3420         * cgraphunit.c: Convert prototypes to ISO C90.
3421
3422 2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
3423
3424         * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
3425         (for OpenBSD).
3426         * fixinc/fixincl.x: Rebuild.
3427
3428 2003-07-12  Zack Weinberg  <zack@codesourcery.com>
3429
3430         * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
3431         i?86-*-*.  Use correct name of cache variable.
3432         * configure: Regenerate.
3433
3434 2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
3435
3436         * config/alpha/alpha.c: Fix comment typos.
3437         * config/alpha/alpha.md: Likewise.
3438         * config/arm/arm.c: Likewise.
3439         * config/arm/arm.md: Likewise.
3440         * config/arm/lib1funcs.asm: Likewise.
3441         * config/avr/avr.md: Likewise.
3442         * config/arm/README-interworking: Fix typos.
3443
3444 2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
3445
3446         * c-format.c: Fix comment formatting.
3447         * c-typeck.c: Likewise.
3448         * coverage.c: Likewise.
3449         * cppcharset.c: Likewise.
3450         * cpplib.c: Likewise.
3451         * dbxout.c: Likewise.
3452         * gcov-io.h: Likewise.
3453         * toplev.c: Likewise.
3454
3455 2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
3456
3457         * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
3458         fix.
3459
3460 2003-07-12  Zack Weinberg  <zack@codesourcery.com>
3461
3462         * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
3463         uses three-argument AC_DEFINE so no acconfig.h entries are
3464         needed.
3465         (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
3466         which contains the GAS version number as a scaled integer.
3467         (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers.  Add
3468         ability to check for ELF assembler.
3469         (gcc_GAS_CHECK_FEATURE): New macro.
3470         * configure.in: Use gcc_AC_CHECK_TYPE.  Rewrite all
3471         assembler feature checks using gcc_GAS_CHECK_FEATURE.
3472         Use three-argument AC_DEFINE everywhere.
3473         * acconfig.h: Deleted.
3474         * config.in, configure: Regenerate.
3475
3476 2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
3477
3478         * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
3479         (on OpenBSD).
3480         * fixinc/fixincl.x: Regenerate.
3481
3482         * fixinc/inclhack.def (gnu_types): Improve comment.
3483
3484 2003-07-12  Andreas Jaeger  <aj@suse.de>
3485
3486         * fp-test.c (main): Use ISO C90 prototype.
3487
3488         * version.c: Remove unneded include of ansidecl.h.
3489
3490         * cgraph.h: Convert prototypes to ISO C90.
3491         * cgraph.c: Likewise.
3492         * fix-header.c: Likewise.
3493         * ra.h: Likewise.
3494         * protoize.c: Likewise.
3495
3496 Sat Jul 12 06:09:38 CEST 2003  Jan Hubicka  <jh@suse.cz>
3497
3498         * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
3499         warning.
3500
3501 Sat Jul 12 03:06:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
3502                                Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3503
3504         * cgraph.c (cgraph_max_uid): New global variable.
3505         (cgraph_node): Set uid field.
3506         (create_edge): Keep inline flags consistent.
3507         (dump_cgraph): Dump more info.
3508         * cgraph.h (struct cgraph_local_info): Remove inline_many and
3509         can_inline_once; add inlinable, disgread_inline_limits, and self_insn
3510         (struct cgraph_global_info): Add insns, calls, cloned_times,
3511         will_be_output.
3512         (struct cgraph_node): Add uid.
3513         (struct cgraph_edge): Add inline_call.
3514         (cgraph_max_uid, cgraph_inline_p): Declare.
3515         * cgraph.c: Include params.h and fibheap.h
3516         (cgraph_mark_functions_to_inline_once): Kill.
3517         (INSNS_PER_CALL): New constant.
3518         (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
3519         static variables.
3520         (cgraph_finalize_function): Do not analyze inlining.
3521         (cgraph_finalize_compilation_unit): Set inlining attributes.
3522         (cgraph_mark_functions_to_output): More consistency checks.
3523         (cgraph_optimize_function): Set current_function_decl to NULL.
3524         (cgraph_expand_function): Use new inline flags.
3525         (cgraph_postorder): Expand from cgraph_expand_functions.
3526         (INLINED_TIMES, SET_INLINED_TIMES): New macros.
3527         (cgraph_inlined_into, cgraph_inlined_callees,
3528         cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
3529         cgraph_mark_inline, cgraph_check_inline_limits,
3530         cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
3531         cgraph_decide_inlining, cgraph_inline_p): New functions.
3532         * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
3533         PARAM_INLINE_UNIT_GROWTH): New parameters.
3534         * tree-inline.c (struct inline_data): New field current_decl.
3535         (expand_call_inline): Avoid forward declarations; use
3536         inlinable_function_p.
3537         (optimize_inline_calls): Set id.current_decl.
3538
3539 2003-07-11  Andrew Pinski  <pinskia@physics.uc.edu>
3540
3541         * configure.in: Remove wrongly added definition of
3542         local_prefix.
3543         * configure: Regenerate.
3544
3545 2003-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
3546
3547         * rtl.def (NOTE): Do not use padding.
3548
3549 2003-07-11  Dara Hazeghi  <dhazeghi@yahoo.com>
3550
3551         * doc/install.tex: Update required binutils for i?86-*-linux*
3552
3553 2003-07-11  Richard Henderson  <rth@redhat.com>
3554
3555         * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
3556
3557 2003-07-11  Mark Mitchell  <mark@codesourcery.com>
3558
3559         * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
3560         TRANSLATION_UNIT_DECL as top_level.
3561
3562 2003-07-11  Jakub Jelinek  <jakub@redhat.com>
3563
3564         * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
3565         then fall back to cmpstrM.
3566         * builtins.c (expand_builtin_memcmp): Likewise.
3567         * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
3568         (s390_expand_cmpmem): ... this.
3569         * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
3570         cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
3571         from cmpstr* patterns.  Rename call to s390_expand_cmpstr
3572         to s390_expand_cmpmem.
3573         * config/s390/s390.c (s390_expand_cmpstr): Rename to...
3574         (s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
3575         to cmpmem*.
3576         * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
3577         cmpstr* patterns.
3578         * doc/md.texi (cmpstrM): Describe as String compare insn, not
3579         Block compare insn.
3580         (cmpmemM): Add.
3581
3582 2003-07-11  Loren James Rittle  <ljrittle@acm.org>
3583
3584         * config/i386/freebsd.h (SET_ASM_OP): Remove.
3585         (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
3586         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
3587          MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
3588
3589 2003-07-11  Richard Henderson  <rth@redhat.com>
3590
3591         * function.c (assign_parms): Don't recombine complex args if
3592         fnargs is unchanged from orig_fnargs.
3593         (split_complex_args): Return args without complex before copying.
3594         Re-layout the modified parameters.
3595
3596 2003-07-11  J"orn Rennecke <joern.rennecke@superh.com>
3597
3598         * regclass.c (choose_hard_reg_mode): Add third argument.
3599         Changed all callers.
3600         * rtl.h (choose_hard_reg_mode): Update declaration.
3601         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
3602         Take HARD_REGNO_CALL_PART_CLOBBERED into account.
3603
3604 2003-07-11  Geoffrey Keating  <geoffk@apple.com>
3605
3606         * c-decl.c (finish_decl): Handle 'used' here...
3607         * cgraphunit.c (cgraph_finalize_function): ... and here ...
3608         * c-common.c: (handle_used_attribute): ... not here.
3609
3610         * configure.in (onstep): Support --enable-intermodule.
3611         * Makefile.in (OBJS-common): New.
3612         (OBJS-md): New.
3613         (OBJS-archive): New.
3614         (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
3615         (OBJS-onestep): New.
3616         (libbackend.a): Support @onestep@.
3617         (libbackend.o): New.
3618         * configure: Regenerate.
3619
3620         * c-common.h (c_reset_state): New prototype.
3621         (c_parse_file): New prototype.
3622         (finish_file): Move prototype from c-tree.h.
3623         * c-decl.c: Include <hashtab.h>.
3624         (builtin_decls): New.
3625         (current_file_decl): New.
3626         (duplicate_decls): Add extra parameter. Change all callers.  Don't
3627         output duplicate common symbols.
3628         (link_hash_hash): New.
3629         (link_hash_eq): New.
3630         (poplevel): Handle popping of the top level.
3631         (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
3632         (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
3633         (pushdecl_top_level): Likewise.
3634         (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
3635         (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
3636         (finish_decl): Handle TRANSLATION_UNIT_DECL.
3637         (merge_translation_unit_decls): New.
3638         (c_write_global_declarations): New.
3639         (c_reset_state): New.
3640         (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
3641         * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
3642         * c-objc-common.c (c_cannot_inline_tree_fn): Handle
3643         TRANSLATION_UNIT_DECL.
3644         (c_objc_common_finish_file): Call merge_translation_unit_decls.
3645         * c-opts.c (in_fnames): Rename from in_fname.
3646         (c_common_decode_option): Handle multiple input filenames.
3647         (c_common_post_options): Likewise.
3648         (c_common_parse_file): Likewise; also, call c_parse_file rather than
3649         yyparse.
3650         * c-parse.in: Move cleanup code to c_parse_file.
3651         (free_parser_stacks): Move contents to c_parse_file.
3652         (c_parse_file): New.
3653         * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
3654         for integer types.
3655         (C_DECL_FILE_SCOPE): New.
3656         (finish_file): Move prototype to c-common.h.
3657         (merge_translation_unit_decls): New prototype.
3658         (comptypes): Add extra parameter to prototype.
3659         (c_write_global_declarations): New prototype.
3660         * c-typeck.c (tagged_types_tu_compatible_p): New.
3661         (function_types_compatible_p): Add extra parameter, change all callers.
3662         (type_lists_compatible_p): Likewise.
3663         (comptypes): Likewise.
3664         (struct tagged_tu_seen): New.
3665         (tagged_tu_seen_base): New.
3666         (build_unary_op): Handle TRANSLATION_UNIT_DECL.
3667         (c_mark_addressable): Remove #if 0 code.
3668         * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
3669         comment explaining why it shouldn't have to.
3670         * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
3671         options.
3672         * cppinit.c (cpp_read_next_file): New.
3673         (cpp_read_main_file): Use it.
3674         * cpplib.c (undefine_macros): New.
3675         (cpp_undef_all): New.
3676         * cpplib.h (cpp_read_next_file): Prototype.
3677         (cpp_undef_all): Prototype.
3678         * langhooks-def.h (write_global_declarations): Remove prototype.
3679         * toplev.h (write_global_declarations): Add prototype.
3680         * tree.c (decl_type_context): Use switch statement, handle
3681         TRANSLATION_UNIT_DECL.
3682         * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
3683         (TRANSLATION_UNIT_DECL): New kind of tree.
3684         * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
3685         * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
3686         * doc/invoke.texi: Make attempt to document new functionality.
3687
3688         2003-05-19  Per Bothner <bothner@apple.com>
3689
3690         * gcc.c (combine_inputs): New.
3691         (process_command): Set combine_inputs.
3692         (do_spec_1): Handle combine_inputs.
3693         (main): Likewise.
3694
3695 2003-07-10  James E Wilson  <wilson@tuliptree.org>
3696
3697         PR optimization/9745
3698         * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
3699         loop_insn_emit_before.
3700         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
3701
3702 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
3703
3704         * cppcharset.c: Fix comment.
3705         (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
3706         (EILSEQ): #define to EINVAL if not already defined.
3707         (convert_using_iconv): #if out when !HAVE_ICONV.
3708         (init_iconv_desc): Handle !HAVE_ICONV here...
3709         (cpp_init_iconv): ...not here.
3710
3711 2003-07-11  Neil Booth  <neil@daikokuya.co.uk>
3712
3713         * common.opt: More --help messages.
3714         * opts.c (print_help): Use puts().
3715         * toplev.c (f_options): Remove help text.
3716         (display_help): Don't dump f_options.
3717
3718 2003-07-11  Nathanael Nerode  <neroden@gcc.gnu.org>
3719
3720         * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
3721         Move i?86-*-interix* to the don't-fix list.
3722         * fixinc/fixinc.interix: Delete with extreme prejudice.
3723
3724 2003-07-10  Dara Hazeghi  <dhazeghi@yahoo.com>
3725
3726         PR bootstrap/10758
3727         * doc/install.texi: Document requirements for ia64-*-hpux* target.
3728
3729 2003-07-10  Roger Sayle  <roger@eyesopen.com>
3730
3731         * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
3732
3733 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
3734
3735         * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
3736         one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
3737         one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
3738         convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
3739         convert_no_conversion, convert_using_iconv): New functions.
3740         (APPLY_CONVERSION): New macro.
3741         (struct conversion, conversion_tab): New data structure.
3742         (init_iconv_desc): Check conversion_tab for a custom conversion
3743         primitive before trying to use iconv.
3744         (convert_cset): Deleted.
3745         (cpp_init_iconv): Use UTF- terminology, not UCS-.
3746         (_cpp_destroy_iconv): Update to match.
3747         (_cpp_valid_ucn): We don't need iconv to implement UCNs.
3748         (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
3749         (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
3750         (_cpp_interpret_string_notranslate): New function, moved here
3751         from cpplib.c.
3752
3753         * cpphash.h (convert_f, struct cset_converter): New types.
3754         (struct cpp_reader): narrow_cset_desc and wide_cset_desc
3755         are now struct cset_converter, not bare iconv_t.
3756         Update prototypes.
3757         * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
3758         all callers changed.
3759
3760 2003-07-10  Kelley Cook  <kelleycook@wideopenwest.com>
3761
3762         * Makefile.in (options.h): Depend on Makefile.  Add move-if-change
3763         to opts.sh command line.
3764         * opts.sh: Write to temporary files with a move-if-change at the end.
3765
3766 2003-07-10  Denis Chertykov  <denisc@overta.ru>
3767             Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3768
3769         * combine.c (gen_binary): Handle the CLOBBER rtx and
3770         don't build a binary operation with it.
3771
3772 2003-07-10  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3773
3774         * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
3775         store_killed_after, store_killed_before): Keep track of the correct
3776         dependency function to use.
3777
3778 2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
3779         * toplev.c (do_compile): Don't try to open dump files before
3780         lang_dependent_init initializes dump_base_name.
3781
3782 2003-07-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3783
3784         * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
3785         Use ARRAY_SIZE.
3786         * config/frv/frv.c (frv_expand_builtin): Likewise.
3787         * config/sh/sh.c (sh_media_init_builtins): Likewise.
3788
3789 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
3790
3791         PR c++/10032
3792         * doc/invoke.texi (C++ Dialect Options): Change documentation of
3793         -fpermissive.
3794
3795 2003-07-10  J"orn Rennecke <joern.rennecke@superh.com>
3796
3797         * tm.texi (RETURN_ADDR_OFFSET): Document.
3798
3799 2003-07-10  Nathan Sidwell  <nathan@codesourcery.com>
3800
3801         * gcov-io.h: Update documentation.
3802         (GCOV_UNSIGNED2STRING): New.
3803         (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
3804         GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
3805         GCOV_TAG_SUMMARY_LENGTH): Adjust.
3806         (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
3807         GCOV_TAG_COUNTER_NUM): New.
3808         (GCOV_BLOCK_SIZE): Number of words.
3809         (gcov_var): Adjust buffer type.
3810         * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
3811         (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
3812         count, not byte count.
3813         (gcov_open): Adjust overread init.
3814         (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
3815         gcov_write_string, gcov_write_tag, gcov_write_length,
3816         gcov_write_tag_length): Adjust.
3817         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
3818         (gcov_sync, gcov_seek): Adjust.
3819         * gcov-dump.c (print_usage): Show gcc version only.
3820         (dump_file): Use GCOV_UNSIGNED2STRING.
3821         (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
3822         * gcov.c (print_version): Show gcc version only.
3823         (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
3824         GCOV_TAG_*_NUM macros.
3825         (read_count_file): Use GCOV_UNSIGNED2STRING. Use
3826         GCOV_TAG_COUNTER_LENGTH.
3827         * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
3828         Use GCOV_TAG_COUNTER_NUM.
3829         * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
3830         (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
3831
3832 2003-07-10  Andreas Schwab  <schwab@suse.de>
3833
3834         * gcov-dump.c (dump_file): Fix missing address operator.
3835
3836 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
3837
3838         PR c/11449
3839         * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
3840         of HOST_WIDE_INT.
3841         (fold_single_bit_test): If sign_bit_p() fails, assume that the
3842         bit being tested is not a sign bit.
3843
3844 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
3845
3846         * config/h8300/h8300.md (a peephole2): New.
3847
3848 2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
3849
3850         2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
3851         * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
3852         from ld-linux.so.2 to ld.so.1.
3853         2001-11-18  Alexandre Oliva  <aoliva@redhat.com>
3854         * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
3855         * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
3856         nor -Wl,-rpath-link.
3857         (LIB_SPEC): Add -rpath-link if !static.
3858         2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
3859         * config/mn10300/mn10300.c (mn10300_protect_label): New
3860         variable.
3861         * config/mn10300/linux.h (PRINT_OPERAND,
3862         PRINT_OPERAND_ADDRESS): Set it during their execution.
3863         (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
3864         mn10300_protect_label is set.
3865         * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
3866         -Wl,-rpath-link.
3867         (LIB_SPEC, STARTFILE_SPEC): Define.
3868         2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
3869         * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
3870         FLOAT_BIT_ORDER_MISMATCH.
3871         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
3872         * config.gcc (am33_2.0-*-linux*): Added.
3873         * config/mn10300/linux.h: New.
3874         * config/mn10300/t-linux: New.
3875
3876 2003-07-10  Andreas Jaeger  <aj@suse.de>
3877
3878         * fold-const.c: Properly wrap prototypes.
3879
3880 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
3881
3882         2003-06-16  Alexandre Oliva  <aoliva@redhat.com>
3883         * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
3884         Moved from...
3885         * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
3886         * config/mn10300/mn10300.h: GTY-declare it.
3887         2003-06-11  Alexandre Oliva  <aoliva@redhat.com>
3888         * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
3889         prototype.  Use incoming RTL argument.
3890         2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
3891         * config/mn10300/mn10300.md (int_label): Move C statements...
3892         (GOTaddr2picreg): ... here.
3893         2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
3894         * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
3895         * config/mn10300/mn10300.c (mn10300_encode_section_info):
3896         ... here.  New function.
3897         (TARGET_ENCODE_SECTION_INFO): Define to it.
3898         2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
3899         * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
3900         pattern name.
3901         (mn10300_loadPC): Define as insn splittable after reload.
3902         2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
3903         * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
3904         be defined in .rodata even in PIC, now that the assembler
3905         supports that.
3906         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
3907         * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
3908         symbol take an underscore prefix.
3909         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
3910         * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
3911         legitimize_pic_address): Declare.
3912         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
3913         the PIC register as fixed.
3914         (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
3915         (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
3916         PIC.
3917         (LEGITIMATE_PIC_OPERAND_P): Define.
3918         (PIC_OFFSET_TABLE_REGNUM): Define.
3919         (GOT_SYMBOL_NAME): Define.
3920         (SYMBOLIC_CONST_P): Define.
3921         (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
3922         symbols.
3923         (MN10300_GLOBAL_P): Test it.
3924         (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
3925         (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
3926         * config/mn10300/mn10300.c (print_operand): Handle unspec.
3927         (expand_prologue): Set PIC register.
3928         (call_address_operand): Don't match SYMBOL_REFs in PIC.
3929         (legitimize_address): Call legitimize_pic_address.
3930         (legitimize_pic_address): New fn.
3931         (legitimate_pic_operand_p): New fn.
3932         * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
3933         (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
3934         UNSPEC_PLT): New constants.
3935         (pop_pic_reg): New insn.
3936         (movsi): Adjust non-PIC addresses.
3937         (builtin_setjmp_receiver): Restore the PIC register.
3938         (casesi): New insn.
3939         (call): Adjust non-PIC addresses.
3940         (int_label, GOTaddr2picreg): New expands.
3941         (am33_loadPC): New insn.
3942         (mn10300_loadPC): New expand.
3943         (call_next_insn): New insn.
3944         (add_GOT_to_pic_reg): New expand.
3945         (symGOT2reg, symGOT2reg_i): New expands.
3946         (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
3947         (sym2PIC, sym2PLT): New expands.
3948
3949 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
3950
3951         * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
3952         2001-05-01  Alexandre Oliva  <aoliva@redhat.com>
3953         * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
3954         to flag_unsafe_math_optimizations.
3955         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
3956         * config/mn10300/mn10300.c (expand_prologue): Mark
3957         FP-register-saving insns as frame-related.
3958         2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
3959         * config/mn10300/mn10300.c
3960         (mn10300_get_live_callee_saved_regs): Don't search past
3961         LAST_EXTENDED_REGNUM.
3962         (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
3963         * config/mn10300/mn10300.md: Remove excessive line breaks from
3964         `@' output patterns that were accounted as additional
3965         alternatives.
3966         * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
3967         Re-introduce changes accidentally removed in Richard Sandiford's
3968         2000-12-05's patch.
3969         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3970         Re-instate am33-2 lost in merge from net GCC.
3971         2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
3972         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
3973         floating-point registers.
3974         2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
3975         * config/mn10300/mn10300.md (movdf): Revert some am33-specific
3976         pessimizations that had gone in on 2000-05-08.
3977         2000-06-28  Graham Stott  <grahams@cygnus.co.uk>
3978         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
3979         2000-06-22  Graham Stott  <grahams@cygnus.co.uk>
3980         * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
3981         operand 0.
3982         * (movhi): Likewise.
3983         * (movsi): Likewise.
3984         * (movsf): Likewise.
3985         * (movdi): Likewise.
3986         * (movdf): Likewise.
3987         Wed May 24 13:16:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
3988         * config/mn10300/mn10300.c (fp_regs_to_save): New function.
3989         (can_use_return_insn, initial_offset): Add fp_regs_to_save.
3990         (expand_prologue, expand_epilogue): Save and restore FP regs.
3991         2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
3992         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
3993         2000-05-13  Alexandre Oliva  <aoliva@cygnus.com>
3994         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
3995         subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
3996         Do not clobber cc0.
3997         2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
3998         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
3999         Discourage the two-argument, longer opcodes.
4000         (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
4001         ones.
4002         * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
4003         (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
4004         * config/mn10300/mn10300.md (cmpsf): New pattern.
4005         (branch): Test mdep.fpCC and output fbCC.
4006         * config/mn10300/mn10300.c (print_operand): Output conditions.
4007         (notice_cc_update): Recognize fcmp and set mdep.fpCC.
4008         2000-05-10  Alexandre Oliva  <aoliva@cygnus.com>
4009         * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
4010         mulsf3, divsf3): Use the `F' constraint for FP values.
4011         * config/mn10300/mn10300.c (const_1f_operand): New function.
4012         * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
4013         * config/mn10300/mn10300.md (sqrtsf2): New expand.
4014         (rsqrtsf2): New insn.
4015         2000-05-09  Alexandre Oliva  <aoliva@cygnus.com>
4016         * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
4017         previous check-in.
4018         2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
4019         * config/mn10300/mn10300.md (abssf2, negdf2): On
4020         TARGET_AM33_2, expand to...
4021         (abssf2_am33_2, negdf2_am33_2): New insns.
4022         (addsf3, subsf3, mulsf3, divsf3): Likewise.
4023         (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
4024         * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
4025         movdi, movdf): Added FP regs.
4026         * invoke.texi (-mam33-2, -mno-am33-2): Document.
4027         2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
4028         * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
4029         New macros.
4030         (REGNO_AM33_2_FP_P): Renamed to...
4031         (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
4032         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
4033         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
4034         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
4035         regs from GENERAL_REGS.
4036         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
4037         * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
4038         * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
4039         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
4040         2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
4041         * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
4042         as FP_REGS.
4043         2000-04-21  Alexandre Oliva  <aoliva@cygnus.com>
4044         * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
4045         (EXTRA_CONSTRAINT): Added OK_FOR_Q.
4046         * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
4047         * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
4048         * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
4049         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
4050         AM33/2.0 floating-point registers.
4051         (CONDITIONAL_REGISTER_USAGE): Adjust.
4052         (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
4053         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
4054         (REG_CLASS_FROM_LETTER): Added `f' and `A'.
4055         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
4056         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
4057         (MULTILIB_DIRNAMES): Likewise.
4058         * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
4059         `__AM33_2__' when `-mam33-2' is given.
4060         (TARGET_AM33_2): Define.
4061         (TARGET_SWITCHES): Adjust.
4062         * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
4063         when appropriate.
4064
4065 2003-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
4066
4067         * doc/install.texi: Add missing @.
4068
4069 2003-07-09  Bob Wilson  <bob.wilson@acm.org>
4070
4071         * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
4072
4073 2003-07-09  Aldy Hernandez  <aldyh@redhat.com>
4074
4075         PR/11144
4076         * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
4077
4078 2003-07-09  Nathanael Nerode  <neroden@gcc.gnu.org>
4079
4080         PR bootstrap/11043
4081         * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
4082         "x-crtfini.o" with "crtinit.o", "crtfini.o".
4083
4084         * fixinc/inclhack.def (limits_ifndefs): Add select test.
4085         * fixinc/fixincl.x: Rebuild.
4086
4087         * fixinc/inclhack.def (math_exception):  Improve bypass and comment.
4088         * fixinc/fixincl.x: Rebuild.
4089
4090 2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
4091
4092         * doc/install.texi (Configuration): Document the valgrind option
4093         to --enable-checking.
4094
4095 Wed Jul  9 16:16:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
4096
4097         * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
4098
4099 2003-07-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4100
4101         * c-lex.c (cb_ident): Cast cstr.text to const char *.
4102
4103 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
4104
4105         * gcov-io.h: Update documentation.
4106         (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
4107         GCOV_NOTE_MAGIC.
4108         (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
4109         (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
4110         (struct gcov_var): Change buffer's type. Add endian flag.
4111         (gcov_open): Remove mode in libgcov.
4112         (gcov_magic): Prototype.
4113         * gcov-io.c (from_file): New.
4114         (gcov_open): Clear endian flag.
4115         (gcov_magic): New.
4116         (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
4117         pointers.
4118         (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
4119         gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
4120         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
4121         * gcov-iov.c (main): Correct cast.
4122         * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
4123         conversion.
4124         (gcov_begin_output): Use GCOV_NOTE_MAGIC.
4125         (coverage_init): Use GCOV_NOTE_SUFFIX.
4126         * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
4127         Rename to gcov_version, and return flag.
4128         (gcov_exit): Use gcov_version.
4129         (__gcov_init): Use gcov_version.
4130         * Makefile.in (coverageexts): Update.
4131         * gcov.c (print_version): Remove endianness conversion.
4132         (create_file_names): Use GCOV_NOTE_SUFFIX.
4133         (read_graph_file): Use gcov_magic.
4134         (read_count_file): Likewise.
4135         * gcov-dump.c (dump_file): Remove endianness conversion, use
4136         gcov_magic.
4137
4138 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
4139
4140         * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
4141         coverage is on.
4142         * configure: Regenerated.
4143         * Makefile.in (ALL_CFLAGS): Correct its comment.
4144
4145 2003-07-08  Mark Mitchell  <mark@codesourcery.com>
4146
4147         * fold-const.c (make_range): Do not access operand 1 for a
4148         zero-operand operator.
4149
4150 2003-07-09  Neil Booth  <neil@daikokuya.co.uk>
4151
4152         * toplev.c (warn_dummy, W_options): Die.
4153         (display_help): Don't print W_options.
4154         * common.opt: Add W_options help from toplev.c.
4155
4156 2003-07-09  Andreas Jaeger  <aj@suse.de>
4157
4158         * opts.c (wrap_help): Only pass int arguments as arguments to
4159         printf's '*' modifier.  Change argument of function.
4160
4161 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
4162
4163         * doc/invoke.texi: Fix misspelling of "@item".
4164
4165 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
4166
4167         * config/i386/i386.md: Remove an old comment about
4168         NOTICE_UPDATE_CC.
4169
4170 Wed Jul  9 03:00:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
4171
4172         * cgraph.c (cgraph_node_name): New function.
4173         (dump_cgraph): Use it.
4174         * cgraph.h (cgraph_dump_file): Declare.
4175         (cgraph_node_name): Declare.
4176         * cgraphunit.c: Include timevar.h
4177         (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
4178         (cgraph_optimize_function): Use TV_INTEGRATION.
4179         (cgraph_mark_local_functions): reorganize dumps.
4180         (cgraph_mark_functions_to_inline_once): Likewise.
4181         (cgraph_optimize): Likewise; use timevar.
4182         * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
4183         * toplev.c (dump_file_index): Add DFI_cgraph.
4184         (dump_file_info): Likewise.
4185         (cgraph_dump_file): New global variable.
4186         (do_compile): Open and close cgraph dump.
4187         * invoke.texi (-d): Document new flag; renumber.
4188
4189 2003-07-08  Roger Sayle  <roger@eyesopen.com>
4190
4191         PR c/11370
4192         * calls.c (emit_call_1): Don't bother popping the arguments off of
4193         the stack after a noreturn function call;  The adjustment is dead.
4194         (expand_call): Likewise.
4195
4196 2003-07-08  Geoffrey Keating  <geoffk@apple.com>
4197
4198         * expr.c (MOVE_MAX_PIECES): Move from here...
4199         * defaults.h (MOVE_MAX_PIECES): ... to here.
4200
4201 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
4202
4203         * Makefile.in (stage1-start): Handle an empty SUBDIRS.
4204
4205 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4206
4207         * genattr.c (internal_dfa_insn_code): Don't prototype.
4208         * genattrtab.c (attr_desc): Add `static_p' field.
4209         (expand_units): Make blockage range and ready cost functions
4210         static.
4211         (write_attr_get): Don't add extern prototypes in C file.  Mark
4212         static functions as appropriate.
4213         (find_attr, make_internal_attr): Initialize static_p.
4214         * genattrtab.h (ATTR_STATIC): New macro.
4215         * genautomata.c (output_internal_reset_func): Mark output function
4216         as inline.
4217         (make_internal_dfa_insn_code_attr): Mark output function as static.
4218
4219 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4220
4221         * genattrtab.h: Add new macros for attr `special' flags.
4222         * genattrtab.c (attr_desc): Reorder/resize fields better.
4223         Use attr `special' macros in all calls to make_internal_attr.
4224         * genautomata.c: Likewise.
4225
4226 Wed Jul  9 02:25:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
4227
4228         * c-common.c (c_estimate_num_insns_1): New static function.
4229         (c_estimate_num_insns): New global function.
4230         * c-common.h (DECL_NUM_STMTS): Rename to...
4231         (DECL_ESTIMATED_INSNS): ... this.
4232         (c_estimate_num_insns): Declare.
4233         * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
4234         * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
4235         * c-semantics.c (add_stmt): Do not account statements.
4236         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
4237         New.
4238         * langhooks.h (lang_hooks_for_tree_inlining): Add
4239         estimate_num_insns
4240         * params.def (max-inline-insns-auto, max-inline-insns-auto): set
4241         to 100.
4242         (max-inline-insns): set to 300.
4243         (min-inline-insns): set to 10.
4244         * tree-inline.c (struct inline_data): Rename inlined_stmts to
4245         inlined-insns.
4246         (INSNS_PER_STMT): Kill.
4247         (inlinable_function_p): Compute and store body size.
4248         (expand_call_inline): Likewise.
4249         (optimize_inline_calls): Likewise.
4250
4251 2003-07-08  James E Wilson  <wilson@tuliptree.org>
4252
4253         PR target/10021
4254         * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
4255         loop over new variable t2 instead of t.
4256
4257 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
4258
4259         PR bootstrap/11455
4260         * config/i386/winnt.c: Replace use of error(), warning() with
4261         error_with_decl(), warning_with_decl(),  throughout.
4262
4263 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
4264
4265         * opts.c (wrap_help): Use unsigned int, not size_t.
4266
4267 2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
4268
4269         * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
4270         as .file/.loc directives are incompatible with linker relaxation.
4271
4272 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
4273
4274         * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
4275         * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
4276         * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
4277         * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
4278         * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
4279         * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
4280         Escape { and } characters which are not part of range expressions.
4281         * fixinc/fixincl.x: Regenerate.
4282         * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
4283
4284 2003-07-08  Steven Bosscher  <steven@gcc.gnu.org>
4285
4286         PR c/1687
4287         * tree-inline.c (find_alloca_call): Use
4288         walk_tree_without_duplicates, instead of walk_tree.
4289         (find_builtin_longjmp_call): Likewise.
4290         * c-objc-common.c (c_cannot_inline_fn): Likewise.
4291         * c-semantics.c (find_reachable_label): Likewise.
4292
4293 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
4294
4295         PR c/11420
4296         * config/i386/i386.c (ix86_check_movabs): New function.
4297         * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
4298         * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
4299         (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
4300
4301 2003-07-08  Chris Demetriou  <cgd@broadcom.com>
4302
4303         * Makefile.in (install-po): Cope with empty CATALOGS.
4304
4305 2003-07-08  Richard Sandiford  <rsandifo@redhat.com>
4306
4307         * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
4308         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
4309         (SECTION_FUNCTION_TEMPLATE): Delete.
4310         * config/mips/elf.h: As for elf64.h.
4311         (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
4312         * config/mips/linux.h: As for elf.h
4313         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
4314         * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
4315         (EXTRA_SECTION_FUNCTIONS): Remove sdata_section.  Remove the handling
4316         of in_sdata from current_section_name and current_section_flags.
4317         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
4318         * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
4319         (MASK_GP_OPT, TARGET_GP_OPT): Delete.
4320         (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
4321         (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
4322         (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
4323         * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
4324         (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
4325         (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
4326         (override_options): Remove setting of MASK_GPOPT.
4327         (mips_output_external): Use mips_in_small_data_p to check whether a
4328         symbol needs an .extern directive.  Don't emit such directives for
4329         TARGET_EXPLICIT_RELOCS.
4330         (mips_declare_object): Update accordingly.
4331         (mips_select_rtx_section): Call named_section rather than
4332         SMALL_DATA_SECTION.
4333         (mips_select_section): Use default_elf_section_section for everything
4334         except .text string constants.
4335         (mips_in_small_data_p): New function.
4336         (mips_encode_section_info): Remove small data handling.
4337         (mips_unique_section): Delete.
4338         (iris6_section_type_flags): New function.
4339         * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
4340
4341 2003-07-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4342
4343         PR Target/11453
4344         * pa.md: Disparage all mtsar constraints.
4345         (extzv, extv, insv): Don't fail on length of {32|64}.
4346
4347 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
4348
4349         * system.h: Poison MAP_CHARACTER.
4350         * config/i370/i370-protos.h (mvs_map_char): Delete.
4351         * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
4352         * config/i370/i370.h (MAP_CHARACTER): Delete definition.
4353         (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
4354
4355 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
4356
4357         * toplev.c (randomize): Correct call to time().
4358
4359 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
4360
4361         * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
4362         REG_EQUIV notes as well.
4363
4364 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
4365
4366         * doc/md.texi: Fix the description of addmodecc.
4367
4368 2003-07-07  Zack Weinberg  <zack@codesourcery.com>
4369
4370         * Makefile.in (top_builddir): Set to "..", not ".".
4371         (INTLLIBS, INTLDEPS): Delete.
4372         (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
4373         (LIBDEPS): Add $(LIBICONV_DEP).
4374         (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
4375         (INCLUDES): Replace -I../intl with @INCINTL@.
4376         ($(top_builddir)/intl/libintl.a): Delete rule.
4377         (stage2-start, stage3-start, stage4-start, stageprofile-start,
4378         stagefeedback-start): Use $$ for variable to be evaluated by
4379         shell, not make.
4380         * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
4381         HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
4382         * aclocal.m4: sinclude ../config/progtest.m4.  Add
4383         contents of lcmessage.m4 from gettext distro.
4384         * configure.in: Check for wchar.h and setlocale.  Set
4385         LIBICONV_DEP to the empty string and substitute it.
4386         Call AM_LC_MESSAGES.  Delete AC_ARG_ENABLE for --enable-nls;
4387         this is handled elsewhere.  Use ZW_GNU_GETTEXT_SISTER_DIR,
4388         not CY_GNU_GETTEXT.  Clear $LIBICONV if its text is included
4389         in $LIBINTL, to avoid linking it twice.
4390         * configure, config.in: Regenerate.
4391
4392 2003-07-08  Nathanael Nerode  <neroden@gcc.gnu.org>
4393
4394         * fixinc/mkfixinc.sh: Remove winnt support.
4395         * fixinc/fixinc.winnt: Delete with extreme prejudice.
4396
4397 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
4398
4399         * Makefile.in: Update.
4400         * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
4401         * c.opt: Update documentation.
4402         * common.opt: Add some help text.
4403         * opts.c: Include intl.h.
4404         (wrap_help, print_help): New.
4405         (find_opt, handle_option, common_handle_option): opt_text now
4406         contains the '-'.  Use print_help to output help.
4407         * opts.h (struct cl_option): New member "help".
4408         * opts.sh: Update to handle help text output and to prepend
4409         options with '-'.
4410         * toplev.c (display_help): Remove some help text.
4411
4412 2003-07-07  David Edelsohn  <edelsohn@gnu.org>
4413             Fariborz Jahanian  <fjahanian@apple.com>
4414
4415         * configure.in: Test for PowerPC mfcr field support in assembler.
4416         * config.in, configure: Regenderated.
4417
4418         * config/rs6000/power4.md: Add mfcrf reservation.
4419         * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
4420         * config/rs6000/rs6000.c (mfcr_operation): Define.
4421         (print_operand): Add 'Q' case for mfcrf.
4422         * config/rs6000/rs6000.h (TARGET_MFCRF): New.
4423         * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
4424         (movcc_internal1): Emit optional field operand for mfcr and set
4425         "type" attribute appropriately.
4426         (mfcr SCC): Likewise.
4427         (movesi_from_cr_one): New.
4428
4429 2003-07-07  Roger Sayle  <roger@eyesopen.com>
4430
4431         * config/i386/i386.md: Correct check-in of incorrect version.
4432
4433 2003-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4434
4435         * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
4436         adjacent stdio calls.
4437         * c-decl.c (c_print_identifier): Likewise.
4438         * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
4439         * print-rtl.c (print_rtx): Likewise.
4440         * print-tree.c (print_node_brief, print_node): Likewise.
4441         * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
4442
4443         * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
4444         * config.in, configure: Regenerated.
4445
4446 2003-07-07  Roger Sayle  <roger@eyesopen.com>
4447
4448         PR target/10979
4449         * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
4450         Changed to define_expand patterns that copy operand[1] to prevent
4451         it from being clobbered before emitting an atan2?f3_1 insn.
4452         (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
4453         patterns that actually specify the behaviour of x87's FPATAN.
4454
4455 2003-07-07  Jakub Jelinek  <jakub@redhat.com>
4456
4457         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
4458         clearing of SYMBOL_FLAG_LOCAL bit.
4459         If vcall_offset fits into signed 16-bit immediate, use
4460         one instruction for both addition and load.
4461
4462 2003-07-07  Neil Booth  <neil@daikokuya.co.uk>
4463
4464         * opts.c (common_handle_option): Correct handling of the
4465         -falign- switches that do and don't take an argument.
4466
4467 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
4468
4469         * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
4470         today.
4471         (pushhi1_h8300hs): Likewise.
4472
4473 2003-07-07  Andreas Jaeger  <aj@suse.de>
4474
4475         * genextract.c: Convert remaining prototypes to ISO C90.
4476
4477         * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
4478         * fold-const.c (fold_single_bit_test): Likewise.
4479         * diagnostic.c (default_diagnostic_finalizer): Likewise.
4480         * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
4481
4482         * gengtype.c (write_array): Generate ISO C90 prototypes.
4483
4484         * genflags.c (gen_proto): Generate ISO C90 prototypes.
4485
4486 2003-07-07  Roger Sayle  <roger@eyesopen.com>
4487
4488         PR optimization/11059
4489         * expr.c (can_store_by_pieces): Return true if length is zero.
4490         (store_by_pieces): If length is zero and endp is two, abort,
4491         othwerise, if length is zero and endp is not two, return "to".
4492         (clear_by_pieces): Do nothing if length is zero.
4493         (clear_storage): Do nothing if length is zero.
4494         (store_constructor): Simplify code when size is zero, or the
4495         target has already been cleared.  This avoids emitting a
4496         blockage instruction when initializing empty structures.
4497
4498 2003-07-07  Andreas Jaeger  <aj@suse.de>
4499
4500         * mips-tfile.c: Convert prototypes to ISO C90.
4501         * mips-tdump.c: Convert prototypes to ISO C90.
4502
4503 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
4504
4505         * rtl.h (emit_line_note): Take a location_t.
4506         (emit_line_note_force): Remove.
4507         (set_file_and_line_for_statement): Take a location_t.
4508         * tree.g (emit_line_note): Take a location_t.
4509         * emit-rtl.c (emit_line_note): Take a location_t.
4510         (emit_line_note_force): Remove.
4511         * function.c (init_function_start): Adjust emit_line_note call.
4512         (expand_function_end): Use force_next_line_note, not
4513         emit_line_note_force.
4514         * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
4515         * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
4516         genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
4517         genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
4518         genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
4519         genrtl_continue_stmt, genrtl_switch_stmt,
4520         genrtl_asm_stmt): Likewise.
4521         * expr.c (expand_expr): Likewise.
4522         * integrate.c (expand_inline_function): Likewise.
4523         * stmt.c (set_file_and_line_for_stmt): Take a location_t.
4524         (expand_decl_init): Adjust emit_line_note call.
4525
4526 2003-07-07  Dale Johannesen  <dalej@apple.com>
4527
4528         * config/rs6000/darwin-tramp.asm:  Fix trampolines.  PR 10900.
4529
4530 2003-07-07  Andreas Jaeger  <aj@suse.de>
4531
4532         * config/i386/i386-protos.h: Convert prototypes to ISO C90.
4533         * config/i386/i386.c: Likewise.
4534
4535 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
4536
4537         * config/h8300/h8300.md: Use gen_int_mode instead of
4538         GEN_INT (trunc_int_for_mode (...)).
4539
4540 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
4541
4542         * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
4543         2 bytes and then subtract 2 from the stack pointer.
4544         (pushhi1_h8300hs): Likewise.
4545
4546 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
4547
4548         * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
4549         -frandom-seed.
4550         * configure: Regenerated.
4551         * Makefile.in: Remove extraneous comment.
4552         * toplev.c (randomize): Protect against potential multiple calls.
4553         * doc/invoke.texi (-frandom-seed): Document use for in coverage
4554         files.
4555
4556 2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4557             Eric Botcazou  <ebotcazou@libertysurf.fr>
4558
4559         PR optimization/11198
4560         * alias.c (objects_must_conflict_p): Return 1 if the types have
4561         the same alias set, not if the alias sets only conflict.
4562
4563 2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>
4564
4565         * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
4566         (convert_cset): Change inbuf to type ICONV_CONST char.
4567         * Makefile.in (LIBS): Add LIBICONV.
4568
4569         * doc/invoke.texi (-falign-functions): Document that
4570         when n is zero then a machine-dependent default is used.
4571         (-falign-labels): Document that when n is zero then a
4572         machine-dependent default is used and that -falign-labels =1
4573         is equivalent to -fno-align-labels.
4574         (-falign-loops): Likewise.
4575         (-falign-jumps): Likewise.
4576
4577 2003-07-06  Art Haas  <ahaas@airmail.net>
4578
4579         * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
4580         initializer syntax.
4581
4582 2003-07-06  James E Wilson  <wilson@tuliptree.org>
4583
4584         PR optimization/9812
4585         * rtl.h (mem_for_const_double): Delete prototype.
4586         * varasm.c (mem_for_const_double): Delete function.
4587         * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
4588         config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
4589         (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
4590         * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
4591         (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
4592         * config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
4593         comment about confused support for XFmode constants.
4594
4595 Mon Jul  7 02:03:56 CEST 2003  Jan Hubicka  <jh@suse.cz>
4596
4597         * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
4598
4599 2003-07-06  Kazu Hirata  <kazu@cs.umass.edu>
4600
4601         * config/h8300/h8300.c: Fix comment typos.
4602         * config/h8300/h8300.md: Likewise.
4603         * config/i386/athlon.md: Likewise.
4604         * config/i386/i386.c: Likewise.
4605         * config/i386/pentium.md: Likewise.
4606         * config/ia64/ia64.c: Likewise.
4607         * config/ia64/itanium1.md: Likewise.
4608         * config/ia64/itanium2.md: Likewise.
4609         * config/m32r/m32r.md: Likewise.
4610         * config/m68hc11/m68hc11.c: Likewise.
4611         * config/mcore/mcore.c: Likewise.
4612         * config/mips/sr71k.md: Likewise.
4613         * config/mips/t-iris5-as: Likewise.
4614         * config/mmix/mmix.h: Likewise.
4615         * config/ns32k/ns32k.h: Likewise.
4616         * config/ns32k/NOTES: Fix a typo.
4617
4618 2003-07-06  Andreas Jaeger  <aj@suse.de>
4619
4620         * stmt.c: Convert remaining prototypes to ISO C90.
4621         * cfglayout.c: Likewise.
4622         * dbxout.c: Likewise.
4623         * gcc.c: Likewise.
4624         * genemit.c: Likewise.
4625
4626         * basic-block.h: Convert prototypes to ISO C90.
4627         * c-parse.in: Likewise.
4628         * c-pragma.h: Likewise.
4629         * c-typeck.c: Likewise.
4630         * cfghooks.h: Likewise.
4631         * cfgloopanal.c: Likewise.
4632         * dbxout.h: Likewise.
4633         * debug.h: Likewise.
4634         * dwarf2asm.h: Likewise.
4635         * gcov.c: Likewise.
4636         * gengtype-lex.l: Likewise.
4637         * sched-int.h: Likewise.
4638         * timevar.c: Likewise.
4639
4640 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
4641
4642         * c-common.h (c_comon_handle_filename,
4643         c_common_missing_arguement): New.
4644         * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
4645         LANG_HOOKS_MISSING_ARGUMENT): New.
4646         * c-opts.c (missing_arg): Rename c_common_missing_argument,
4647         update to be an appropriate langhook.
4648         (c_common_handle_option): Don't handle filenames.
4649         (c_common_handle_filename): New.
4650         * hooks.c (hook_void_constcharptr,
4651         hook_bool_constcharptr_size_t_false): New.
4652         * hooks.h (hook_void_constcharptr,
4653         hook_bool_constcharptr_size_t_false): New.
4654         * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
4655         LANG_HOOKS_MISSING_ARGUMENT): New.
4656         (LANG_HOOKS_INITIALIZER): Update.
4657         * langhooks.h (struct lang_hooks): Add handle_filename and
4658         missing_argument.
4659         * opts.c (handle_option): Don't handle filenames here, but ...
4660         (handle_options): ... here.
4661         (common_handle_option): Don't handle missing arguments here.
4662         * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
4663         LANG_HOOKS_MISSING_ARGUMENT): New.
4664
4665 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
4666
4667         * Makfile.in: Remove traces of mbchar.
4668         * c-parse.in (MULTIBYTE_CHARS): Remove.
4669         * config.in (MULTIBYTE_CHARS): Remove.
4670         * configure: Remove --enable-mbchar.
4671         * configure.in: Remove --enable-mbchar.
4672         * mbchar.c, mbchar.h: Remove.
4673         * system.h: Poison MULTIBYTE_CHARS.
4674         * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
4675         * config/linux.h (MULTIBYTE_CHARS): Remove.
4676         * config/svr4.h (MULTIBYTE_CHARS): Remove.
4677         * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
4678
4679 2003-07-06  Andreas Jaeger  <aj@suse.de>
4680
4681         * varray.c (varray_check_failed): Fix typo.
4682
4683         * unroll.c: Convert prototypes to ISO C90.
4684         * varasm.c: Likewise.
4685         * varray.c: Likewise.
4686         * varray.h: Likewise.
4687         * vmsdbgout.c: Likewise.
4688         * xcoffout.c: Likewise.
4689         * xcoffout.h: Likewise.
4690
4691 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
4692
4693         * gcov-io.h: Add a local time stamp.
4694         (struct gcov_info): Add stamp field.
4695         (gcov_truncate): New.
4696         * coverage.c (read_counts_file): Skip the stamp.
4697         (coverage_begin_output): Write the stamp.
4698         (build_gcov_info): Declare and init the stamp.
4699         (coverage_finish): Only unlink data file, if stamp is zero.
4700         * gcov-dump.c (dump_file): Dump the stamp.
4701         * gcov.c (bbg_stamp): New.
4702         (release_structures): Clear bbg_stamp.
4703         (read_graph_file): Read stamp.
4704         (read_count_file): Check stamp.
4705         * libgcov.c (gcov_exit): Check stamp and truncate if needed.
4706
4707 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
4708
4709         * tree.h (default_flag_random_seed): Remove.
4710         * toplev.h (local_tick): Declare.
4711         * tree.c (flag_random_seed, default_flag_random_seed): Move to
4712         toplev.c.
4713         (append_random_chars): Don't call default_flag_random_seed.
4714         * toplev.c (flag_random_seed): Define here. Set local_tick.
4715         (local_tick): Define.
4716         (randomize): New, moved from tree.c.
4717         (print_switch_values): Adjust.
4718         (toplev_main): Call randomize.
4719
4720 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
4721
4722         * tree.h (crc32_string): Declare.
4723         * tree.c (append_random_chars): Remove.
4724         (crc32_string): New.
4725         (get_file_function_name_long): Use crc32_string here.
4726
4727 2003-07-06  Andreas Jaeger  <aj@suse.de>
4728
4729         * gcc.c: Convert prototypes to ISO C90.
4730         * gcc.h: Likewise.
4731         * gcov-dump.c: Likewise.
4732         * gcov-iov.c: Likewise.
4733         * gcse.c: Likewise.
4734         * genattrtab.h: Likewise.
4735         * ggc.h: Likewise.
4736         * global.c: Likewise.
4737         * graph.c: Likewise.
4738         * graph.h: Likewise.
4739         * hosthooks.h: Likewise.
4740         * hooks.h: Likewise.
4741         * hooks.c: Likewise.
4742         * hashtable.h: Likewise.
4743         * hashtable.c: Likewise.
4744         * haifa-sched.c: Likewise.
4745         * integrate.h: Likewise.
4746         * integrate.c: Likewise.
4747         * input.h: Likewise.
4748         * ifcvt.c: Likewise.
4749         * jump.c: Likewise.
4750         * langhooks-def.h: Likewise.  Add extern to prototypes.
4751         * langhooks.c: Likewise.
4752         * langhooks.h: Likewise.
4753         * lcm.c: Likewise.
4754         * local-alloc.c: Likewise.
4755         * loop-init.c: Likewise.
4756         * loop-unroll.c: Likewise.
4757         * loop-unswitch.c: Likewise.
4758         * loop.c: Likewise.
4759         * loop.h: Likewise. Add extern to prototypes.
4760         * machmode.h: Likewise.
4761         * main.c: Likewise.
4762         * mbchar.c: Likewise.
4763         * mbchar.h: Likewise.
4764         * mkdeps.c: Likewise.
4765         * mkdeps.h: Likewise.
4766         * optabs.c: Likewise.
4767         * optabs.h: Likewise.
4768         * output.h: Likewise.
4769         * gccspec.c: Likwise.
4770         * postreload.c: Likewise.
4771         * prefix.c: Likewise.
4772         * prefix.h: Likewise.
4773         * print-rtl.c: Likewise.
4774         * print-tree.c: Likewise.
4775         * profile.c: Likewise.
4776         * read-rtl.c: Likewise.
4777         * real.c: Likewise.
4778         * real.h: Likewise.
4779         * recog.c: Likewise.
4780         * recog.h: Likewise.
4781         * reg-stack.c: Likewise.
4782         * regclass.c: Likewise.
4783         * regmove.c: Likewise.
4784         * regrename.c: Likewise.
4785         * regs.h: Likewise.
4786         * reload.c: Likewise.
4787         * reload.h: Likewise.
4788         * reload1.c: Likewise.
4789         * reorg.c: Likewise.
4790         * resource.c: Likewise.
4791         * resource.h: Likewise.
4792         * rtl-error.c: Likewise.
4793         * rtl.c: Likewise.
4794         * rtl.h: Likewise.
4795         * rtlanal.c: Likewise.
4796         * sbitmap.c: Likewise.
4797         * sbitmap.h: Likewise.
4798         * scan-decls.c: Likewise.
4799         * scan.c: Likewise.
4800         * sched-deps.c: Likewise.
4801         * sched-ebb.c: Likewise.
4802         * sched-int.h: Likewise.
4803         * sched-rgn.c: Likewise.
4804         * sched-vis.c: Likewise.
4805         * sibcall.c: Likewise.
4806         * simplify-rtx.c: Likewise.
4807         * sreal.c: Likewise.
4808         * sreal.h: Likewise.
4809         * ssa-ccp.c: Likewise.
4810         * ssa-dce.c: Likewise.
4811         * ssa.c: Likewise.
4812         * ssa.h: Likewise.
4813         * stack.h: Likewise.
4814         * stmt.c: Likewise.
4815         * stor-layout.c: Likewise.
4816         * stringpool.c: Likewise.
4817         * target.h: Likewise.
4818         * timevar.c: Likewise.
4819         * timevar.h: Likewise.
4820         * tlink.c: Likewise.
4821         * tracer.c: Likewise.
4822         * tree-inline.c: Likewise.
4823         * tree-inline.h: Likewise.
4824         * tree.c: Likewise.
4825         * tree.h: Likewise.
4826
4827 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
4828
4829         * combine.c (nonzero_bits1): Fix a warning.
4830
4831 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
4832
4833         * config/h8300/h8300.c (compute_mov_length): Correct the
4834         length of loading CONST0_RTX (SFmode).
4835
4836 2003-07-05  Nathan Sidwell  <nathan@codesourcery.com>
4837
4838         * toplev.c (output_clean_symbol_name): Remove.
4839         * toplev.h (output_clean_symbol_name): Remove.
4840         * config/alpha/alpha.c (unicosmk_output_module_name): Use
4841         lbasename & clean_symbol_name.
4842
4843 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
4844
4845         * ggc.h: Follow spelling conventions.
4846         * config/i386/i386.c: Likewise.
4847         * config/i386/winnt.c: Likewise.
4848         * config/rs6000/rs6000.c: Likewise.
4849
4850 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
4851
4852         * bt-load.c: Fix comment typos.
4853         * c-incpath.c: Likewise.
4854         * cfg.c: Likewise.
4855         * cfgcleanup.c: Likewise.
4856         * cfgloop.h: Likewise.
4857         * cfgloopmanip.c: Likewise.
4858         * cfgrtl.c: Likewise.
4859         * diagnostic.h: Likewise.
4860         * dwarfout.c: Likewise.
4861         * emit-rtl.c: Likewise.
4862         * et-forest.c: Likewise.
4863         * et-forest.h: Likewise.
4864         * expr.c: Likewise.
4865         * gcse.c: Likewise.
4866         * genattr.c: Likewise.
4867         * jump.c: Likewise.
4868         * langhooks.h: Likewise.
4869         * local-alloc.c: Likewise.
4870         * loop-unroll.c: Likewise.
4871         * loop-unswitch.c: Likewise.
4872         * ra-build.c: Likewise.
4873         * regclass.c: Likewise.
4874         * regmove.c: Likewise.
4875         * rtl.def: Likewise.
4876         * rtlanal.c: Likewise.
4877         * sched-ebb.c: Likewise.
4878         * sched-rgn.c: Likewise.
4879         * simplify-rtx.c: Likewise.
4880         * ssa.c: Likewise.
4881         * tracer.c: Likewise.
4882         * tree.c: Likewise.
4883
4884 2003-07-05  Zack Weinberg  <zack@codesourcery.com>
4885
4886         * cppcharset.c: Use the correct return type for the fallback iconv
4887         macro.
4888
4889 Sat Jul  5 16:18:53 CEST 2003  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4890
4891         Blame to Jan Hubicka  <jh@suse.cz>
4892         * cfglayout.c (record_effective_endpoints): Split insns before
4893         first basic block correctly.
4894
4895 2003-07-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4896
4897         * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
4898         bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
4899         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
4900
4901 2003-07-05  Andreas Jaeger  <aj@suse.de>
4902
4903         * genattrtab.c (write_attr_get): Revert part of last patch to
4904         always write out a prototype.
4905
4906         * genemit.c (gen_split): Readd lost unused attributes in last
4907         patch.
4908
4909 2003-07-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4910
4911         * cfgloopmanip.c (force_single_succ_latches): Force latch to be
4912         different from header.
4913
4914 2003-07-05  Andreas Schwab  <schwab@suse.de>
4915
4916         * config/m68k/m68k.c: Remove code protected by CRDS.
4917         * config/m68k/m68k.md: Likewise.
4918
4919 2003-07-05  Neil Booth  <neil@daikokuya.co.uk>
4920
4921         PR driver/11417
4922         * c-opts.c (permit_fortran_options): New.
4923         (c_common_init_options): Accept fortran front end options if
4924         it looks like we might be preprocessing Fortran.
4925         (c_common_handle_option): Don't reject switch if permit_fotran_options.
4926
4927 2003-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4928
4929         * genattr.c (internal_dfa_insn_code): Output prototype.
4930         * genattrtab.c: Don't output unnecessary decls, output in ISO C.
4931         * genautomata.c: Likewise.
4932         * genconditions.c: Likewise.
4933         * genemit.c: Likewise.
4934         * genextract.c: Likewise.
4935         * gengenrtl.c: Likewise.
4936         * gengtype.c: Likewise.
4937         * genopinit.c: Likewise.
4938         * genoutput.c: Likewise.
4939         * genpeep.c: Likewise.
4940         * genrecog.c: Likewise.
4941
4942 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
4943
4944         * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
4945         (struct cpp_options): Add narrow_charset, wide_charset,
4946         bytes_big_endian fields.  Remove EBCDIC field.
4947         (cpp_init_iconv, cpp_interpret_string): New external interfaces.
4948
4949         * cpphash.h: Include <iconv.h> if we have it, otherwise
4950         provide a dummy definition of iconv_t.
4951         (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
4952         (_cpp_valid_ucn): Update prototype.
4953         (_cpp_destroy_iconv): New prototype.
4954
4955         * doc/cpp.texi: Document character set handling.
4956         * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
4957         * doc/extend.texi: Delete entire section on multiline strings.
4958         Rewrite section on __FUNCTION__ etc now that these are
4959         variables in C.
4960
4961         * cppucnid.tab, cppucnid.pl: New files.
4962         * cppucnid.h: New generated file.
4963         * cppcharset.c: Include cppucnid.h.  Lots of commentary added.
4964         (iconv_open, iconv, iconv_close): Provide dummy definitions
4965         if !HAVE_ICONV.
4966         (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
4967         _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
4968         emit_numeric_escape, convert_hex, convert_oct, convert_escape,
4969         cpp_interpret_string, narrow_str_to_charconst,
4970         wide_str_to_charconst): New.
4971         (ucn_valid_in_identifier): Use a binary search through the
4972         ucnranges table defined in cppucnid.h, not a long chain of if
4973         statements.
4974         (_cpp_valid_ucn): Add a limit pointer.  Downgrade "universal
4975         character names are only valid in C++ and C99" to a warning.
4976         Issue the "meaning of \[uU] is different in traditional C"
4977         warning here.  Take care not to let iconv see an invalid UCS
4978         value if we get a malformed UCN.  Issue an error if we don't
4979         have iconv.
4980         (cpp_interpret_charconst): Moved here from cpplex.c.  Use
4981         cpp_interpret_string to do the heavy lifting.
4982
4983         * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
4984         narrow_charset, wide_charset fields of options structure.
4985         (cpp_destroy): Call _cpp_destroy_iconv.
4986         * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
4987         (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
4988         (cpp_interpret_charconst): Moved to cppcharset.c.
4989         * cpplib.c (dequote_string): Delete.
4990         (interpret_string_notranslate): New.
4991         (do_line, do_linemarker): Use interpret_string_notranslate.
4992
4993         * Makefile.in (cppcharset.o): Depend on cppucnid.h.
4994
4995         * c-common.c (fname_string, combine_strings): Delete.
4996         * c-common.h (fname_string, combine_strings): Delete prototypes.
4997         * c-lex.c (ignore_escape_flag): Delete.
4998         (cb_ident): Use cpp_interpret_string, not lex_string.
4999         (get_nonpadding_token): New function.
5000         (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
5001         Adjust calls to lex_string.  Don't write *value twice.
5002         (lex_string): Now handles string constant concatenation.
5003         Most of the work handed off to cpp_interpret_string.
5004         Call fix_string_type here.
5005         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
5006         FUNC_NAME, throughout.
5007         (OBJC_STRING): New token type.
5008         (primary:STRING): No need to call fix_string_type here.
5009         (primary:objc_string): Make that OBJC_STRING.
5010         (objc_string nonterminal): Delete.
5011         (yylexname): Delete code to handle fake string constants.
5012         (yylexstring): Delete entirely.
5013         (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING.  No need
5014         to handle CPP_ATSIGN.
5015
5016         * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
5017         * c-opts.c (missing_arg, c_common_handle_option): Handle
5018         OPT_fexec_charset_ and OPT_fwide_exec_charset_.
5019         (c_common_init): Set cpp_opts->bytes_big_endian, not
5020         cpp_opts->EBCDIC.  Call cpp_init_iconv.
5021         (print_help): Document -fexec-charset= and -fexec-wide-charset=.
5022         (TARGET_EBCDIC): Delete default definition.
5023
5024         * objc/objc-act.c (build_objc_string_object): No need to
5025         handle string constant concatenation.
5026
5027 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
5028
5029         * doc/install.texi: Fix typos.
5030         * doc/invoke.texi: Likewise.
5031         * doc/tm.texi: Likewise.
5032
5033 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
5034
5035         * config/pa/fptr.c: Fix comment typos.
5036         * config/pa/pa-64.h: Likewise.
5037         * config/pa/pa.c: Likewise.
5038         * config/pa/pa.h: Likewise.
5039         * config/rs6000/603.md: Likewise.
5040         * config/rs6000/7xx.md: Likewise.
5041         * config/rs6000/darwin.h: Likewise.
5042         * config/rs6000/freebsd.h: Likewise.
5043         * config/rs6000/rs6000.c: Likewise.
5044         * config/rs6000/rs6000.md: Likewise.
5045         * config/rs6000/spe.h: Likewise.
5046
5047 2003-07-04  Ulrich Weigand  <uweigand@de.ibm.com>
5048
5049         * config/s390/2064.md: Change GNU CC to GCC.
5050         * config/s390/2084.md: Likewise.
5051         * config/s390/fixdfdi.h: Likewise.
5052         * config/s390/linux.h: Likewise.
5053         * config/s390/s390-modes.def: Likewise.
5054         * config/s390/s390-protos.h: Likewise.
5055         * config/s390/s390.c: Likewise.
5056         * config/s390/s390.h: Likewise.
5057         * config/s390/s390.md: Likewise.
5058         * config/s390/s390x.h: Likewise.
5059
5060 2003-07-04  Jeff Law  <law@redhat.com>
5061
5062         PR c/11428
5063         * expr.c (do_store_flag): Pass in the correct result type
5064         when calling fold_single_bit_test.
5065         * fold-const.c (fold_single_bit_test): Use result_type for the
5066         result when folding a sign bit test.
5067
5068 2003-07-04  Neil Booth  <neil@daikokuya.co.uk>
5069
5070         * opts.c (common_handle_options): Negate sense of -falign- switches.
5071
5072 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
5073
5074         * Makefile.in: Replace PWD with PWD_COMMAND.
5075
5076 2003-07-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5077
5078         * cfgloopanal.c (count_strange_loop_iterations): New static function.
5079         (constant_iterations, count_loop_iterations, simple_loop_exit_p):
5080         Handle strange loops.
5081
5082 2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>
5083
5084         * install.texi: Even the g77 manpage is derived from
5085         the full g77 manual.
5086
5087 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
5088
5089         * ABOUT-NLS: Delete.
5090         * intl: Delete entire directory.
5091         * aclocal.m4: Include ../config/gettext.m4.  Delete
5092         AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
5093         AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
5094         * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
5095         Remove intl/Makefile from all_outputs.
5096         * configure, config.in: Regenerate.
5097         * Makefile.in: Expunge all references to intl subdirectory.
5098         Add -I../intl to INCLUDES.
5099         * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
5100
5101 2003-07-04  Roger Sayle  <roger@eyesopen.com>
5102
5103         * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
5104         * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
5105
5106 2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
5107
5108         PR c++/5287, PR c++/7910, PR c++/11021
5109         * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
5110         dllimport attribute if function is defined at declaration, but
5111         report error instead. Likewise for dllimport'd variable
5112         definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
5113         declared within functions, Report error if dllimport or dllexport
5114         symbol is not global.
5115         (i386_pe_dllimport_p): Ignore dllimport attribute of functions
5116         if defined after declaration or if inlined. Don't allow definition
5117         of static data members of C++ classes. Don't dllimport virtual
5118         methods.
5119         (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
5120         (i386_pe_mark_dllimport): Remove unnecessary checks.
5121         (i386_pe_encode_section_info): Warn if the dllimport attribute
5122         and symbol prefix have been instantiated and then overridden.
5123
5124         * doc/extend.texi: Document dllimport and dllexport attributes.
5125
5126         * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
5127
5128 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
5129
5130         * config/kaos.h (CPP_PREDEFINES): Delete.
5131         (TARGET_OS_CPP_BUILTINS): New.
5132
5133 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5134
5135         * c-aux-info.c: Include toplev.h after c-tree.h.
5136         * c-common.c: Likewise.
5137         (GCC_DIAG_STYLE): Undef.
5138         * c-semantics.c (GCC_DIAG_STYLE): Define.
5139         * c-tree.h (GCC_DIAG_STYLE): Likewise.
5140         * diagnostic.h (inform): Move prototype to toplev.h.
5141         * jump.c: Include diagnostic.h before toplev.h.
5142         * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
5143         (warning, error, fatal_error, pedwarn, sorry, inform,
5144         error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
5145
5146 2003-07-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5147
5148         * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
5149         at all if edge is not specified.
5150         (can_copy_bbs_p, copy_bbs): New.
5151         * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
5152         * cfgloop.c (get_loop_body): Comment more precisely.
5153         * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
5154         (scale_bbs_frequencies): Fix comment typo.
5155         (can_duplicate_loop_p): Use can_copy_bbs_p.
5156         (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
5157
5158 2003-07-03  Devang Patel <dpatel@apple.com>
5159
5160         * c-opts.c (c_common_parse_file): Remove extra
5161         debug_hooks->start_source_file call.
5162
5163 2003-07-03  Roger Sayle  <roger@eyesopen.com>
5164
5165         * real.c (real_trunc, real_floor, real_ceil): New functions
5166         to implement trunc, floor and ceil respectively.
5167         * real.h (real_trunc, real_floor, real_ceil): Prototype here.
5168         * builtins.c (integer_valued_real_p): New function to test if
5169         a floating point expression has an integer valued result.
5170         (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
5171         foo(x) where foo is an integer rounding function.  Similarly,
5172         optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
5173         (double)(int)x when both foo and bar are integer rounding
5174         functions and we don't need to honor errno.
5175         (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
5176         New functions to fold trunc, floor and ceil.
5177         (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
5178         fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
5179         to fold BUILT_IN_CEIL*.
5180         * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
5181         the remaining integer rounding functions.
5182
5183 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
5184
5185         * config/sparc/sparc.c (function_arg_partial_nregs): Use
5186         SPARC_INT_ARG_MAX to determine where to split unnamed
5187         complex FP arguments.
5188
5189 Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
5190
5191         * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
5192         * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
5193         (merge_blocks_move_predecessor_nojumps,
5194          merge_blocks_move_successor_nojumps): Use merge_blocks.
5195         (try_optimize_cfg): Use merge_blocks_move.
5196         * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
5197         (merge_blocks_nomove): Rename to rtl_merge_blocks.
5198         (cfg_layout_create_basic_block): New.
5199         (rtl_can_merge_blocks): New.
5200         (cfg_layout_split_block): Do not alloc aux by hand.
5201         * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
5202         merge_blocks.
5203         (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
5204         * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
5205         * cfgloopmanip.c (loop_split_edge_with): Likewise.
5206         * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
5207
5208         * basic-block.h (basic_block_def): Add field 'rbi'.
5209         * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
5210         find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
5211         * cfg.c (entry_exit_blocks): Add new field.
5212         * cfglayout.c: Include alloc-pool.h;
5213         (cfg_layout_pool): New.
5214         (record_effective_endpoints, fixup_reorder_chain,
5215         fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
5216         of rbi.
5217         (cfg_layout_initialize_rbi): New function.
5218         (cfg_layout_initialize): Use it.
5219         (cfg_layout_finalize): Clear rbi fields.
5220         * cfglayout.h (RBI): Kill.
5221         (cfg_layout_initialize_rbi): Declare.
5222         * cfgloopmanip.c (copy_bbs): Use rbi.
5223         (record_exit_edges): Likewise.
5224         (duplicate_loop_to_header_edge): Likewise.
5225         * cfgrtl.c (cfg_layout_create_basic_block): Use
5226         cfg_layout_initialize_rbi.
5227         (cfg_layout_split_block): Use rbi.
5228         (cfg_layout_delete_block): Likewise.
5229         * loop-init.c (loop_optimizer_finalize): Likewise.
5230         * loop-unswitch.c (unswitch_loop): Likewise.
5231         * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
5232
5233         * cfgrtl.c: Update comments.
5234         (try_redirect_by_replacing_jump): New argument.
5235         (redirect_branch_edge): Break out from ...
5236         (rtl_redirect_edge_and_branch): ... this one.
5237         (update_cfg_after_block_merging): Break out from ...
5238         (rtl_merge_blocks): ... this one.
5239         (cfg_layout_split_edge): New.
5240         (cfg_layout_merge_blocks): New.
5241         (cfg_layout_can_merge_blocks_p): New.
5242         (cfg_layout_redirect_edge_and_branch): Reorganize.
5243         (cfg_layout_rtl_cfg_hooks): Fill in.
5244         (cfg_layout_delete_block): Kill barriers.
5245         * cfganal.c (can_fallthru): Deal with exit blocks
5246         * cfglayout.c (cfg_layout_function_header): New function
5247         (record_effective_endpoints): Record function header.
5248         (fixup_reorder_chain): Fixup dead jumptables; place header
5249
5250         * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
5251         * bb-reorder.c (cfg_layout_initialize): Update call.
5252         * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
5253         edges in cfglayout mode.
5254         * cfglayout.c (cleanup_unconditional_jumps): Kill.
5255         (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
5256         * cfglayout.h (cfg_layout_initialize): Update prototype.
5257         * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
5258         * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
5259         * flow.c (propagate_block): Do not crash when basic block ends
5260         by first insn in the chain.
5261         * loop-init.c (loop_optimizer_init):  First enter cfglayout mode; later
5262         do loop discovery.
5263         * tracer.c (tracer): Update call of cfg_layout_initialize.
5264
5265 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5266
5267         * Makefile.in: Use dependency variables in lieu of explicit
5268         files throughout.
5269
5270 2003-07-03  Steven Bosscher  <steven@gcc.gnu.org>
5271
5272         * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
5273         * tree.h: ...to here.
5274
5275 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
5276
5277         * config/s390/2064.md: Fix comment typos.
5278         * config/s390/2084.md: Likewise.
5279         * config/s390/s390.c: Likewise.
5280         * config/s390/s390.md: Likewise.
5281         * config/sh/sh.c: Likewise.
5282         * config/sh/sh.h: Likewise.
5283         * config/sh/sh.md: Likewise.
5284         * config/sparc/sparc.c: Likewise.
5285         * config/sparc/sparc.h: Likewise.
5286         * config/sparc/sparc.md: Likewise.
5287         * config/stormy16/stormy16.c: Likewise.
5288         * config/stormy16/stormy16.h: Likewise.
5289         * config/stormy16/stormy-abi: Fix a typo.
5290
5291 2003-07-03  Kelley Cook  <kelleycook@wideopenwest.org>
5292
5293         * Makefile.in (ifcvt.o): Depend on OPTABS_H.
5294
5295 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5296
5297         * config/mips/mips.h (save_argv): Delete.
5298
5299 2003-07-03  Roger Sayle  <roger@eyesopen.com>
5300
5301         PR target/10700
5302         * fold-const.c (extract_muldiv_1): There's nothing that can be done
5303         if the expression is a SAVE_EXPR.
5304
5305 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
5306
5307         * config/m32r/m32r.c: Fix comment typos.
5308         * config/m68hc11/m68hc11.c: Likewise.
5309         * config/m68hc11/m68hc11.h: Likewise.
5310         * config/m68k/m68k.c: Likewise.
5311         * config/mcore/mcore.c: Likewise.
5312         * config/mcore/mcore.h: Likewise.
5313         * config/mcore/mcore.md: Likewise.
5314         * config/mips/mips.c: Likewise.
5315         * config/mips/mips.h: Likewise.
5316         * config/mips/mips.md: Likewise.
5317         * config/mips/netbsd.h: Likewise.
5318         * config/mn10300/mn10300.c: Likewise.
5319
5320 2003-07-03  Andreas Schwab  <schwab@suse.de>
5321
5322         * dbxout.c (pending_bincls): Move decl down inside
5323         DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
5324
5325 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
5326
5327         * rtl.h (NOTE_DATA): Refer to whole union.
5328         * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
5329
5330 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
5331
5332         PR optimization/11381
5333         * simplify-rtx.c (simplify_relational_operation): Check that
5334         two equal operands have no side-effects before simplifying
5335         the comparison.
5336
5337 2003-07-02  Jeff Law  <law@redhat.com>
5338
5339         * expr.c (do_store_flag): Remove special case folding for
5340         single bit tests.  Instead call back into the commonized folder
5341         routine.
5342         * fold-const.c (fold_single_bit_test): New function, mostly
5343         extracted from do_store_flag, with an additional case extracted
5344         from fold.
5345         (fold): Call fold_single_bit_test appropriately.
5346         * tree.h (fold_single_bit_test): Prototype.
5347
5348 2003-07-02  Zack Weinberg  <zack@codesourcery.com>
5349
5350         * system.h: Include filenames.h.
5351         (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
5352         (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
5353         define based on HAVE_DOS_BASED_FILE_SYSTEM.
5354         * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
5355         * config/i386/xm-mingw32.h: Don't define
5356         HAVE_DOS_BASED_FILE_SYSTEM,
5357         DIR_SEPARATOR, or DIR_SEPARATOR_2.
5358         * doc/hostconfig.texi: Update to match.
5359
5360         * cppfiles.c, gcc.c, gensupport.c, protoize.c,
5361         config/i386/cygwin.h:
5362         Use IS_ABSOLUTE_PATH throughout.
5363         * gcc.c (DIR_UP): Delete, unused.
5364         * protoize.c (IS_SAME_PATH): Define in terms of
5365         FILENAME_CMP.
5366         (is_abspath): Delete.
5367
5368 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
5369
5370         * config/i386/emmintrin.h: Fix comment typos.
5371         * config/i386/i386.c: Likewise.
5372         * config/i386/i386.h: Likewise.
5373         * config/i386/sco5.h: Likewise.
5374         * config/ia64/ia64.c: Likewise.
5375         * config/ia64/itanium2.md: Likewise.
5376
5377 2003-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5378
5379         * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
5380         DBX_USE_BINCL.
5381         (emit_bincl_stab): Same.
5382         (emit_pending_bincls): Same.
5383
5384 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
5385
5386         * config/h8300/h8300.c (compute_mov_length): Fix the length of
5387         loading CONST0_RTX (SFmode).
5388         * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
5389         'G' to CONST0_RTX (SFmode).
5390         * config/h8300/h8300.md (movsf_h8300): Change the first
5391         constraint to 'G'.
5392         (movsf_h8300h): Likewise.
5393
5394 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
5395
5396         * c-common.h (c_common_init_options): New prototype.
5397         * c-opts.c (deferred_size): Remove.
5398         (defer_opt): Array is now pre-allocated.
5399         (c_common_init_options): Pre-allocate deferred_opts.  Make
5400         lang_flags unsigned.
5401         (push_command_line_options): Free deferred_opts.
5402         * hooks.c (hook_uint_uint_constcharptrptr_0): New.
5403         * hooks.h (hook_uint_uint_constcharptrptr_0): New.
5404         * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
5405         * langhooks.h (struct lang_hooks): New prototype for init_options.
5406         * main.c (main): Cast argv.
5407         * opts.c (handle_option, handle_options): Update prototypes.
5408         (decode_options): save_argc, save_argv are not global.  Constify.
5409         * opts.h (decode_options): New prototype.
5410         * toplev.c (general_init): New protoype.
5411         (save_argv): Make static.
5412         (save_argc): Remove.
5413         (print_switch_values, general_init): Constify.
5414         (toplev_main): Save argv.
5415         * toplev.h (toplev_main): Update prototype.
5416         (save_argc, save_argv): Remove.
5417
5418 2003-07-02  David Edelsohn  <edelsohn@gnu.org>
5419
5420         * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
5421         (emit_bincl_stab): Same.
5422         (emit_pending_bincls): Same.
5423
5424 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
5425
5426         PR c++/11072
5427         * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
5428
5429 2003-07-02  Andreas Schwab  <schwab@suse.de>
5430
5431         * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
5432
5433 2003-07-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
5434
5435         PR optimization/11210
5436         * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
5437         about the behaviour with regard to bitfields.
5438         * fold-const (decode_field_reference): Record outermost type in
5439         case the expression is a NOP. Strip all NOPs. Set the signedness
5440         to that of the outermost type (if any) when the bitsize is equal
5441         to the size of the type.
5442
5443 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
5444
5445         * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
5446         (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
5447         (adddi3_internal_3, addsi3_internal_2): Likewise.
5448
5449 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
5450
5451         * config/mips/mips.c (machine_function): Add new fields:
5452         ignore_hazard_length_p and all_noreorder_p.
5453         (mips_flag_delayed_branch): New variable.
5454         (override_options): Treat '/' as an operand punctuation character.
5455         Set up mips_flag_delayed_branch.
5456         (print_operand): Handle '/'.
5457         (mips_output_function_prologue): Put the whole function in
5458         .set noreorder and .set nomacro if all_noreorder_p is true.
5459         (mips_output_function_epilogue): End the noreorder/nomacro sequence.
5460         (mips16_optimize_gp): Remove "first insn" parameter.
5461         (mips16_lay_out_constants): New function, split out from mips_reorg.
5462         (mips_avoid_hazard, mips_avoid_hazards): New functions.
5463         (mips_reorg): For mips16 code, call mips16_lay_out_constant
5464         and (optionally) mips16_optimize.  If TARGET_EXPLICIT_RELOCS,
5465         do delayed-branch scheduling followed by hazard detection.
5466         (mips_adjust_insn_length): Only account for hazards if
5467         !ignore_hazard_length_p.
5468         (mips_output_load_label): Add a nop to the o32 sequence if
5469         the target suffers from load delays.
5470         (mips_output_conditional_branch): Add %/ to the end of branches.
5471         (mips_output_division): Fill the branch delay slot with %#.
5472         * config/mips/mips.md: Remove redundant '%*' from mips16 branch
5473         instructions.  End all other %* branches with %/.
5474         (ffssi2, ffsdi2): Fix lengths.
5475         (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
5476         (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
5477         (fix_truncsfsi2_macro): Likewise.
5478         (mov_lwl): Set hazard to "none".
5479         (ashldi3_internal): Fill the branch delay slot with %#.
5480         (ashrdi3_internal, lshrdi3_internal): Likewise.
5481         (exception_receiver): Explicitly set $28.
5482         (hazard_nop): New pattern.
5483
5484 Wed Jul  2 08:12:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
5485
5486         * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
5487         before calling tree_inlinable_function_p.
5488
5489 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5490
5491         * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
5492         <internal/stdio_core.h> too.
5493         (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
5494         <internal/wchar_core.h> too.
5495         Substitute va_list uses in inline definition.
5496         * fixinc/fixincl.x: Regenerate.
5497
5498 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5499
5500         * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
5501         Undef before redefinition.
5502         (LABEL_AFTER_LOC): Likewise.
5503         (DEFAULT_SIGNED_CHAR): Likewise.
5504         (ASM_OUTPUT_ASCII): Moved here from iris4.h.
5505         Fix IRIX spelling.
5506
5507         * config/mips/iris3.h: Remove, unused.
5508         * config/mips/iris4.h: Likewise.
5509
5510         * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
5511
5512         * config/mips/iris5.h (TARGET_DEFAULT): Move ...
5513         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
5514         target_cpu_default.
5515
5516         * config/mips/iris5.h: Move explicit includes ...
5517         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
5518
5519         * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
5520         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
5521         tm_defines.
5522
5523         * config/mips/iris6.h (TARGET_DEFAULT): Move ...
5524         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
5525         target_cpu_default.
5526
5527         * config/mips/iris6.h: Fix IRIX spelling.
5528         (MULTILIB_DEFAULTS): Undef before redefinition.
5529
5530         * config/mips/iris6.h: Move explicit includes ...
5531         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
5532
5533 Wed Jul  2 02:16:48 CEST 2003  Jan Hubicka  <jh@suse.cz>
5534
5535         * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
5536         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
5537         Use next_needed field instead of aux to maintain the queue.
5538         * cgraph.h (cgraph_node): Add next_needed.
5539         (cgraph_varpool_node): Add next_needed; remove aux.
5540         * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
5541
5542 Wed Jul  2 02:12:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
5543
5544         * cgraphunit.c (cgraph_finalize_function): Set finalized.
5545         (cgraph_finalize_function): Do not examine inlinablility.
5546         (cgraph_finalize_compilation_unit): Do it here.
5547         * cgraph.h (cgraph_local_info): Add finalized field.
5548
5549 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5550
5551         * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
5552         (gt_pch_restore): Likewise.
5553
5554 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
5555
5556         * config/alpha/alpha.c: Fix comment typos.
5557         * config/alpha/elf.h: Likewise.
5558         * config/arm/arm.c: Likewise.
5559         * config/arm/arm.h: Likewise.
5560         * config/arm/arm.md: Likewise.
5561         * config/arm/t-arm-coff: Likewise.
5562         * config/arm/t-strongarm-pe: Likewise.
5563         * config/arm/xscale-elf.h: Likewise.
5564         * config/avr/avr.h: Likewise.
5565
5566 2003-07-01  Jeff Law  <law@redhat.com>
5567
5568         * stmt.c (any_pending_cleanups): Remove another redundant test.
5569
5570 2003-07-01  David Edelsohn  <edelsohn@gnu.org>
5571             J"orn Rennecke <joern.rennecke@superh.com>
5572
5573         * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
5574         for MEM case.
5575
5576 2003-07-01  Devang Patel  <dpatel@apple.com>
5577
5578         * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
5579         (binclstatus): New.
5580         (struct dbx_file): New members - bincl_status, pending_bincl_name and
5581         prev.
5582         (pending_bincls): New.
5583         (dbxout_init): Initialize new dbx_file members.
5584         (dbxout_start_source_file): Same.
5585         (emit_bincl_stab): New function.
5586         (emit_pending_bincls): Same.
5587         (emit_pending_bincls_if_required): Same.
5588         (dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
5589         processed.
5590         (dbxout_begin_block): Emit pending BINCL stabs.
5591         (dbxout_end_block): Same.
5592         (dbxout_function_decl): Same.
5593         (dbxout_continue): Same.
5594         (dbxout_type): Same.
5595         (dbxout_class_name_qualifiers): Same.
5596         (dbxout_symbol): Same.
5597         (dbxout_symbol_location): Same.
5598         (dbxout_parms): Same.
5599
5600 2003-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5601
5602         * c-semantics.c (genrtl_case_label): Fix format specifier bug.
5603         * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
5604
5605 2003-07-01  Andreas Jaeger  <aj@suse.de>
5606
5607         * fold-const.c: Convert prototypes to ISO C90.
5608         * function.c: Likewise.
5609         * function.h: Likewise.
5610
5611 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
5612
5613         * doc/contrib.texi: Fix typos.
5614         * doc/invoke.texi: Likewise.
5615         * doc/passes.texi: Likewise.
5616         * doc/sourcebuild.texi: Likewise.
5617         * doc/tm.texi: Likewise.
5618
5619 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
5620
5621         * basic-block.h: Fix comment typos.
5622         * bb-reorder.c: Likewise.
5623         * c-format.c: Likewise.
5624         * cfgcleanup.c: Likewise.
5625         * cfghooks.h: Likewise.
5626         * cfgloop.c: Likewise.
5627         * cfgloopmanip.c: Likewise.
5628         * cfgrtl.c: Likewise.
5629         * cgraph.h: Likewise.
5630         * cgraphunit.c: Likewise.
5631         * combine.c: Likewise.
5632         * convert.c: Likewise.
5633         * dbxout.c: Likewise.
5634         * df.c: Likewise.
5635         * df.h: Likewise.
5636         * diagnostic.c: Likewise.
5637         * dwarf2out.c: Likewise.
5638         * et-forest.h: Likewise.
5639         * flow.c: Likewise.
5640         * fold-const.c: Likewise.
5641         * function.h: Likewise.
5642         * gcov-io.h: Likewise.
5643         * gcov.c: Likewise.
5644         * gcse.c: Likewise.
5645         * genautomata.c: Likewise.
5646         * ggc-common.c: Likewise.
5647         * ggc-page.c: Likewise.
5648         * loop-unroll.c: Likewise.
5649         * loop-unswitch.c: Likewise.
5650         * loop.c: Likewise.
5651         * mips-tfile.c: Likewise.
5652         * optabs.c: Likewise.
5653         * ra-build.c: Likewise.
5654         * ra-colorize.c: Likewise.
5655         * ra-rewrite.c: Likewise.
5656         * ra.h: Likewise.
5657         * regmove.c: Likewise.
5658         * reload.c: Likewise.
5659         * rtlanal.c: Likewise.
5660         * sched-ebb.c: Likewise.
5661         * sched-int.h: Likewise.
5662         * sched-vis.c: Likewise.
5663         * sreal.c: Likewise.
5664         * ssa-ccp.c: Likewise.
5665         * ssa.c: Likewise.
5666         * toplev.c: Likewise.
5667         * tree-inline.c: Likewise.
5668         * value-prof.c: Likewise.
5669         * value-prof.h: Likewise.
5670
5671 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
5672
5673         * rtl.h (emit_line_note_after): Remove.
5674         (emit_note_copy_after, emit_note_copy): New.
5675         * emit-rtl.c (reorder_insns_with_line_notes): Replace
5676         emit_line_note_after with emit_note_copy_after.
5677         (emit_insn_after_with_line_notes): Likewise.
5678         (emit_line_note_after): Kill.
5679         (emit_note_copy_after): New.
5680         (emit_note_copy): New.
5681         * function.c (emit_return_into_block): Use emit_note_copy_after.
5682         (thread_prologue_and_epilogue_insns): Likewise.
5683         * integrate.c (expand_inline_function): Use emit_note_copy.
5684         (copy_insn_list): Likewise.
5685         * unroll.c (copy_loop_body): Likewise.
5686         * cfglayout.c (duplicate_insn_chain): Likewise.
5687
5688 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
5689
5690         * c-tree.h (define_label): Replace filename and lineno arguments
5691         with a location_t.
5692         * c-decl.c (poplevel): Adjust define_label call.
5693         (pop_label_level): Likewise.
5694         (define_label): Replace filename and lineno arguments with a
5695         location_t.
5696         (store_parm_decls): Use DECL_SOURCE_LOCATION.
5697         * c-parse.in (label): Adjust define_label call.
5698
5699 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
5700
5701         * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
5702         config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
5703         config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
5704         config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
5705         config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
5706
5707 2003-07-01  Andreas Jaeger  <aj@suse.de>
5708
5709         * final.c: Convert prototypes to ISO C90.
5710         * flow.c: Likewise.
5711         * flags.h: Likewise.
5712         * gcov-io.c: Likewise.
5713         * gcov-io.h: Likewise.
5714
5715 See ChangeLog.9 for earlier changes.