* opts.c (decode_options): Do language-specific initialization for
[official-gcc.git] / gcc / ChangeLog
blob06492d6c019a2c163b7e7f951610bbd0fd31bc75
1 2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3         * opts.c (decode_options): Do language-specific initialization for
4         the global diagnostic context.
5         * langhooks-def.h (lhd_initialize_diagnostics): Declare.
6         (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
7         (LANG_HOOKS_INITIALIZER): Adjust.
8         * langhooks.h (struct lang_hooks): Add new field 
9         initialize_diagnostics. 
10         * langhooks.c (lhd_initialize_diagnostics): Define.
12 2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
14         * pretty-print.h:   Adjust macro definitions.
15         * pretty-print.c (pp_newline): Rename to pp_base_newline.
16         (pp_character): Rename to pp_base_character.
17         (pp_string): Rename to pp_base_string.
18         * c-pretty-print.c (pp_buffer): Move to pretty-print.h
19         (pp_newline):  Likewise.  Adjust.
20         (pp_c_char): Adjust.
22 2003-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24         * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
25         BUILT_IN_LLABS): Move to miscellaneous section.
27 2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
29         PR preprocessor/11534
30         * cppexp.c (parse_defined): Warn only if -pedantic.
32 2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
34         * cppfiles.c (stack_file): Use file path.
36 2003-08-02  Roger Sayle  <roger@eyesopen.com>
38         * builtin-types.def (BT_SSIZE): New primitive type.
39         (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
40         BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
41         BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
42         BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
43         * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
44         BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
45         BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
46         * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
47         few functions that define default attributes using it.
48         * c-common.c (c_common_insert_default_attributes): Do nothing.
50         * doc/extend.texi: Document these "new" builtins.
52 2003-08-02  Kaz Kojima  <kkojima@gcc.gnu.org>
54         * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
55         (LIB_SPEC): Set -lpthread always when -pthread set.  Set -lieee
56         when -mieee-fp set and -shared not set.
57         (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
59 2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
61         * cppfiles.c (struct _cpp_file): Rename once_only_next to
62         next_file.  Remove import and pragma_once, add once_only.
63         (find_file): Add new file structures to the all_files list.
64         (should_stack_file): Mark #import-ed files once-only, and
65         don't stack them if the file has already been stacked.
66         (_cp_mark_file_once_only): Simplify.
67         * cpphash.h (struct cpp_reader): Rename once_only_files
68         to all_files.  Rename saw_pragma_once to seen_once_only.
69         (_cpp_mark_file_once_only): Update prototype.
70         * cpplib.c (do_pragma_once): Update.
72 2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
74         * cppfiles.c (ENOTDIR): Remove.
75         (open_file_in_dir): Rename find_file_in_dir.  Handle errors
76         other than ENOENT here.
77         (once_only_file_p): Rename should_stack_file.
78         (find_file, open_file_failed, read_file_guts): Report errors
79         with full path name.
80         (read_file): Move pch handling to should_stack_file.
81         (should_stack_file): Handle PCH and once-only issues, and
82         reading the file.
83         (stack_file): Don't do file reads.
85 2003-08-02  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
87         * libgcov.c (gcov_exit): Cleanup and fix.
88         * profile.c (compute_value_histograms): Don't try to read profiles
89         that are not present.
91 2003-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
93         * builtins.def: Categorize.
95         * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
96         Mind fp rounding.
97         (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
99 2003-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
101         * config.gcc: Enable posix threads by default on darwin.
103 2003-08-01  Jakub Jelinek  <jakub@redhat.com>
105         * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
106         even if nehedges1 is 0.
108 2003-08-01  Nathanael Nerode  <neroden@gcc.gnu.org>
110         * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
111         fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
112         fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
113         and defintions.
115         * fixinc/inclhack.def (broken_cabs): Make matching more generous.
116         * fixinc/fixincl.x: Regenerate.
117         * fixinc/tests/base/math.h: Regenerate to match test_text change.
119 2003-08-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
121         * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
123 2003-08-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
125         * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
126         for accesses to exc_ptr.
128 2003-08-01  Geoffrey Keating  <geoffk@apple.com>
130         * doc/sourcebuild.texi (Front End Directory): Don't make references
131         to libsubdir, it's not part of the interface to frontends.
132         * doc/install.texi (Configuration): Help users read faster by saying
133         that GCC's configure options are the standard autoconf ones.
134         Mention --libdir.  Update the default rules for finding the
135         assembler.  Don't use libsubdir since we haven't said what it means.
136         (Specific): In the Solaris 7 notes, update the place to put the
137         assembler.
138         * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
139         * doc/cpp.texi (Search Path): Actually, the search path
140         depends on libdir, which can relocate with cpp.
141         * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
142         now a private interface between the Makefile and the driver.
144 2003-08-01  Richard Henderson  <rth@redhat.com>
146         * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
148         * varasm.c (lookup_constant_def): New function.
149         * rtl.h (lookup_constant_def): Declare it.
150         * dwarf2out.c (loc_descriptor_from_tree): Use it.  
151         Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
153 2003-08-01  Zack Weinberg  <zack@codesourcery.com>
155         * c-decl.c (gettags, pushdecl_function_level): Delete.
156         (last_function_parm_vars): Rename last_function_parm_others.
157         (current_function_parm_vars): Rename current_function_parm_others.
158         (struct c_scope): Rewrite comment explaining this data structure.
159         Add names_last, blocks_last, parms_last fields.  Rename
160         incomplete_list to incomplete.
161         (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
162         (poplevel): Ignore second argument.  No need to nreverse
163         anything.  Restructure such that each list is processed
164         exactly once.  Use 'const location_t *locus' syntactic sugar
165         variable where useful.  Issue unused variable warnings
166         ourselves, do not rely on function.c.
167         (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
168         (pushdecl_top_level): Likewise.  Don't call duplicate_decls.
169         (implicitly_declare): decl cannot be error_mark_node.
170         (undeclared_variable): Manipulate scope structure directly.
171         (c_make_fname_decl): Likewise.
172         (getdecls, c_init_decl_processing): Fix comment.
173         (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT.  No need
174         for 'last' variable.
175         (grokparms): No need to nreverse parms list.
176         (store_parm_decls_newstyle): Set up the parms_last and
177         names_last fields of the new scope too.
178         (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
179         on parms to begin with; check this under ENABLE_CHECKING.  Set
180         up parms_last.
181         (check_for_loop_decls): Refer directly to current_scope->tags.
182         Use consistent quote style in diagnostics.
183         (c_write_global_declarations): The names list is not backward.
185         * c-common.h: Don't prototype gettags.
186         * c-parse.in: Call poplevel with second argument 0 always.
188 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
190         * builtins.def: Resort builtins.
192 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
194         * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
195         DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
196         Prepend "__builtin_" onto NAME with string concatenation.  Remove
197         explicit "__builtin_" from each macro call.
199         Reformat entire file.
201 2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
203         * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
204         ATTR_MATHFN_FPROUNDING_ERRNO): New macros.  Use throughout.
206 2003-08-01  Andreas Krebbel  <krebbel1@de.ibm.com>
208         * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
209         CCL1, or CCL2 modes with floating point operations.
211         * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
212         "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
213         "*subdf3_cconly"): New insns.
214         ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
216 2003-08-01  Neil Booth  <neil@daikokuya.co.uk>
218         * Makefile.in: Refine dependencies.
219         * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
220         * c.opt: Update help for -Wimport.
221         * cppfiles.c: Include hashtab.h.  Update comments.
222         (stack_file): Read the file before updating dependencies.
223         (once_only_file_p): Be smarter about marking once-only files.
224         (_cpp_mark_file_once_only): Correct the check for existence on
225         the list.
226         (open_file_failed): Use name not path, which is NULL.
227         * cpphash.h: Don't include hashtab.h.
228         (struct _cpp_file): Remove.
229         (struct cpp_reader): Update.
230         * cppinit.c (cpp_create_reader): Don't initialize warn_import.
231         * cpplib.h (struct cpp_options): Remove warn_import.
232         (cpp_simplify_path): Remove.
234 2003-08-01  Nathan Sidwell  <nathan@codesourcery.com>
236         PR c++/11295
237         * doc/extend.texi (Statement Expressions): Document C++ semantics.
239 2003-07-31  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
241         * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
243 2003-07-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
245         * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
246         throughout.
247         * builtins.def: Likewise.
249 2003-07-31  Jason Merrill  <jason@redhat.com>
251         * Makefile.in (bubblestrap): Don't require a previous full
252         bootstrap.
254         * expr.c (mostly_zeros_p): No longer static.
255         * tree.h: Declare it.
256         * stmt.c (resolve_asm_operand_names): Don't copy the pattern
257         unless we need to do substitutions.
259 2003-07-31  Roger Sayle  <roger@eyesopen.com>
261         * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
262         pow(x,c)*x as pow(x,c+1) for constant values c.  Optimize x*x
263         as pow(x,2.0) when the latter will be expanded back into x*x.
264         (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
265         * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
266         pow can never set errno when used with an integer exponent.
267         Always use expand_powi when exponent is -1, 0, 1 or 2.
268         (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
269         as 1.0/(x*x).  This avoids unbounded recursion as we now prefer
270         the pow forms of these expressions.
272 2003-07-31  Geoffrey Keating  <geoffk@apple.com>
274         * Makefile.in (libexecdir): New.
275         (libsubdir): Use gcc instead of gcc-lib.
276         (libexecsubdir): New.
277         (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
278         (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
279         gcc-lib.
280         (installdirs): Make libexecsubdir.
281         (install-common): Put executables in libexecsubdir.
282         (itoolsdir): Use libexecsubdir.
283         (itoolsdatadir): New.
284         (install-mkheaders): Separate data files and executables.
285         (install-collect2): Put executables in libexecsubdir.
286         (uninstall): Remove libexecsubdir.
287         * mkheaders.in: Update for new arrangement of files.
288         (libexecdir): New.
289         (libexecsubdir): New.
290         (itoolsdir): Use libexecsubdir.
291         (itoolsdatadir): New.
292         * gcc.c (gcc_libexec_prefix): New.
293         (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
294         (standard_exec_prefix_1): Use libexec.
295         (standard_exec_prefix_2): New.
296         (standard_libexec_prefix): New.
297         (process_command): Update for new arrangement of files.  Compute
298         gcc_libexec_prefix.  Update for change from gcc-lib to gcc.
300 2003-07-31  Nathanael Nerode  <neroden@gcc.gnu.org>
302         * inclhack.def (stdio_va_list): Avoid bogus replacement which
303         triggers on Interix.
304         * fixincl.x: Regenerate.
306 2003-07-31  Jakub Jelinek  <jakub@redhat.com>
308         * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
309         SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
311 2003-07-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
313         * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
315 2003-07-31  Per Bothner  <pbothner@apple.com>
317         * opts.c (in_fnames, num_in_fnames):  Moved here from c-opts.
318         (add_input_filename):  New function.
319         (handle_options):  Call add_input_filename directly instead of
320         with a lang hook.
321         * opts.h (in_fnames, num_in_fnames):  Moved here.
322         (add_input_filename):  Declare.
323         * c-decl.c:  Need to #include opts.h.
324         * Makefile.in (c-decl.o):  Also depends on opts.h.
325         * c-opts.c (in_fnames, num_in_fnames):  Moved to opts.c.
326         (c_common_handle_filename):  Replaced by add_input_filename.
327         * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
328         Remove.
329         * langhooks.h (struct lang_hooks):  Remove handle_filename hook.
330         * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
331         (LANG_HOOKS_INITIALIZER):  Remove use of LANG_HOOKS_HANDLE_FILENAME.
332         * c-lang.c (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
334 2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
336         * combine.c (try_combine): Set JUMP_LABEL for newly created
337         unconditional jump.
339 2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
341         * fold-const.c (fold): Fold some comparisons of bit operations.
343 Thu Jul 31 19:49:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
345         * cgraph.c (create_edge): Fix typo.
346         * i386.c (pic_symbolic_operand): Reorder tests.
348 2003-07-31  Nathan Sidwell  <nathan@codesourcery.com>
350         * doc/gcov.texi (Invoking Gcov): Describe output name mangling
351         more fully.
352         (Gcov Data Files): Update.
354 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
356         * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
357         default.
359         * gthr-posix.c: New file.
360         * gthr-posix.h: Define _REENTRANT if missing.
361         Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
363         * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
364         by gthr-posix.o.
365         * config/alpha/t-osf-pthread: New file.
367         * fixinc/inclhack.def (alpha_pthread): New fix.
368         * fixinc/fixincl.x: Regenerate.
369         * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
371         * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
372         warning.
373         Fixes PR bootstrap/9330.
375 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
377         * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
378         without GNU ld.
379         Update comment.
380         * configure: Regenerate.
382 2003-07-31  Vladimir Makarov  <vmakarov@redhat.com>
384         * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
385         setter.
387 2003-07-30  Roger Sayle  <roger@eyesopen.com>
389         * builtins.def: Alphabetize.
391 2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
393         * doc/c-tree.texi: Normalize spellings of "lowercase" and
394         "uppercase".
395         * doc/cpp.texi: Likewise.
396         * doc/md.texi: Likewise.
397         * doc/rtl.texi: Likewise.
398         * doc/tm.texi: Likewise.
400 2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
402         * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
403         (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
404         of cc1obj.
406 2003-07-30  Chris Demetriou  <cgd@broadcom.com>
408         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
409         macros before defining them.
411 2003-07-31  Ulrich Weigand  <uweigand@de.ibm.com>
413         * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
414         UNSPECV_BLOCKAGE): New constants.
415         ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
416         "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
417         splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
418         "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
420         (all insns and expanders): Write output control string as brace block
421         where appropriate.  Remove \-escapes for doublequote characters.
423 Thu Jul 31 01:04:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
425         * gcse.c (insert_store): Fix typo in previous patch.
427 2003-07-30  Neil Booth  <neil@daikokuya.co.uk>
429         * cppfiles.c (stack_file, open_file_failed): Use path for deps.
431 2003-07-30  Andi Kleen  <ak@muc.de>
433         * loop.c (check_dbra_loop): Allow LTU in the loop condition.
435 2003-07-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
437         * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
438         * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
439         GCOV_N_VALUE_COUNTERS): New.
440         * profile.c (compute_value_histograms): New static function.
441         (branch_prob): Read back the value histograms.
442         * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
443         * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
444         * value-prof.c: Add comment on reading the profile.
445         * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
446         * doc/invoke.texi (-fprofile-values): Document behavior with
447         -fbranch-probabilities.
449 2003-07-30  David Edelsohn  <edelsohn@gnu.org>
451         * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
453 2003-07-30  Ulrich Weigand  <uweigand@de.ibm.com>
455         * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
456         symbolically.
458 Wed Jul 30 19:12:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
460         * gcse.c (insert_store): Ignore fake edges.
462         * c-common.c (flag_vtable_gc): Kill.
463         * c-common.g (flag_vtable_gc): Kill.
464         * c-opts (c_common_handle_option): Kill.
465         * c.opt (fvtable-gc): Kill.
466         * final.c (final_scan_insn): Do not call assemble_vtable_entry.
467         * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
468         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
470         * invoke.texi (-ftable-gc): Kill documentation.
472         * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
473         just because function body is missing.
475         * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
477 2003-07-30  Ranjit Mathew  <rmathew@hotmail.com>
479         * unwind-sjlj.c: Fix typo in file description.
481 2003-07-30  Alan Modra  <amodra@bigpond.net.au>
483         * calls.c (load_register_parameters): When shifting reg sized values
484         to the msb, move the value to a reg first.
486 2003-07-29  Geoffrey Keating  <geoffk@apple.com>
488         * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
489         * line-map.h (linemap_add): Update comments.
490         * line-map.c (linemap_add): Update comments, interpret zero-length
491         filename as "<stdin>".
493 2003-07-29  Nathanael Nerode  <neroden@gcc.gnu.org>
495         * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
497 2003-07-29  Zack Weinberg  <zack@codesourcery.com>
499         * c-decl.c (last_function_parm_vars, current_function_parm_vars):
500         New static variables.
501         (struct c_scope): Add parms and warned_forward_parm_decls
502         fields; remove parm_order.
503         (storedecls, storetags): Delete.
504         (poplevel): Also clear bindings on the parms chain.
505         (pushdecl): Handle forward declarations of parameters, and
506         chain PARM_DECLs on the parms list, not the names list.
507         (lookup_name_current_level): Check for PARM_DECLs on the parms
508         list too.
509         (push_parm_decl): Don't update parm_order.
510         (clear_parm_order): Rename mark_forward_parm_decls.  Issue the
511         warning, only once per parameter list, and set TREE_ASM_WRITTEN
512         on the decls here.  Then move the forward decls to the names list.
513         (grokparms): Set last_function_parm_vars.
514         (get_parm_info): Don't use gettags or getdecls.  No need to
515         extract non-parms from the parms list, or reorganize the parms
516         list.  Feed nonparms back in the TREE_TYPE of the list node
517         returned.  Issue only one error per parameter list for "void"
518         appearing more than once in said parameter list.  Collapse
519         parmlist_tags_warning into this function to avoid double scan
520         of tags list.
521         (start_function): Set current_function_parm_vars.
522         (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
523         directly.  Get non-parms from current_function_parm_vars; no
524         need to extract them from the parms chain.  Properly bind tags
525         in the new scope.
526         (store_parm_decls_oldstyle): No need to extract non-parameters
527         from the parms chain, nor to store them back afterward.  Move
528         declaration to top of function, restructure code reordering
529         DECL_ARGUMENTS.
530         (store_parm_decls): No need to save and restore warn_shadow.
531         * c-parse.in: Don't call parmlist_tags_warning nor
532         clear_parm_order.  Call mark_forward_parm_decls when forward
533         parm decls are encountered.
534         * c-tree.h: Prototype mark_forward_parm_decls; not
535         clear_parm_order or parmlist_tags_warning.
537 2003-07-29  Geoffrey Keating  <geoffk@apple.com>
539         * c-common.c (allow_pch): Remove.
540         * c-common.h (allow_pch): Remove.
541         (c_common_no_more_pch): Declare.
542         * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
543         * c-pch.c: Include hosthooks.h.
544         (c_common_valid_pch): Don't check allow_pch.
545         (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
546         (c_common_no_more_pch): New.
547         * ggc-common.c: Include hosthooks.h.
548         (gt_pch_save): Call gt_pch_get_address.
549         (gt_pch_restore): Call gt_pch_use_address.
550         * hooks.c (hook_voidp_size_t_null): New.
551         (hook_bool_voidp_size_t_false): New.
552         * hooks.h (hook_voidp_size_t_null): New.
553         (hook_bool_voidp_size_t_false): New.
554         * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
555         (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
556         (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
557         HOST_HOOKS_GT_PCH_USE_ADDRESS.
558         * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
559         gt_pch_use_address.
560         * doc/hostconfig.texi (Host Common): Document
561         HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
562         * Makefile.in (c-pch.o): Depend on hosthooks.h.
563         (ggc-common.o): Likewise.
565         * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
566         (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
567         (pch_address_space): New.
568         (darwin_rs6000_gt_pch_get_address): New.
569         (darwin_rs6000_gt_pch_use_address): New.
571 2003-07-29  Neil Booth  <neil@daikokuya.co.uk>
573         PR preprocessor/11569
574         PR preprocessor/11649
575         * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
576         * cppfiles.c: Completely rewritten.
577         * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
578         struct cpp_path is now struct cpp_dir.
579         (remove_duplicates): Don't simplify path names.
580         * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
581         cpp_stack_file.
582         * cpphash.h: Include hashtab.h.
583         (_cpp_file): Declare.
584         (struct cpp_buffer): struct include_file is now struct _cpp_file,
585         and struct cpp_path is now struct cpp_dir.  Rename members.
586         (struct cpp_reader): Similarly.  New members once_only_files,
587         file_hash, file_hash_entries, quote_ignores_source_dir,
588         no_search_path, saw_pragma_once.  Remove all_include_files and
589         max_include_len.  Make some members bool.
590         (_cpp_mark_only_only): Renamed from _cpp_never_reread.
591         (_cpp_stack_file): Renamed from _cpp_read_file.
592         (_cpp_stack_include): Renamed from _cpp_execute_include.
593         (_cpp_init_files): Renamed from _cpp_init_includes.
594         (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
595         * cppinit.c (cpp_create_reader): Initialize no_search_path.  Update.
596         (cpp_read_next_file): Rename and move to cppfiles.c.
597         (cpp_read_main_file): Update.
598         * cpplib.c (run_directive): Update for renamed members.
599         (do_include_common, _cpp_pop_buffer): Update.
600         (do_import): Undeprecate #import.
601         (do_pragma_once): Undeprecate.  Use _cpp_mark_file_once_only.
602         * cpplib.h: Remove file_name_map_list.
603         (cpp_options): Remove map_list.
604         (cpp_dir): Rename from cpp_path.  New datatype for name_map.
605         (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
607 2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
609         * Makefile.in:  Make stamp-objdir safe for parallel builds.
611 2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
613         * Makefile.in (stmp-docobjdir):  New target; ensure $docobjdir exists.
614         (info):  Depend on stmp-docobjdir.
616 2003-07-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
618         * configure: Regenerate.
620 Tue Jul 29 19:24:49 CEST 2003  Jan Hubicka  <jh@suse.cz>
622         PR C++/11131
623         * tree-inline.c (expand_call_inline): Always call inlinable_function_p
624         in !unit-at-a-time mode.
626 2003-07-28  Geoffrey Keating  <geoffk@apple.com>
628         * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
629         main function.
631 2003-07-28  Mark Mitchell  <mark@codesourcery.com>
633         PR c++/11667
634         * c-common.c (shorten_compare): Take into account differences
635         between C and C++ representation for enumeration types.
636         * tree.h (set_min_and_max_values_for_integral_type): Declare.
637         * stor-layout.c (set_min_and_max_values_for_integral_type): New
638         function, broken out from ...
639         (fixup_signed_type): ... here and ...
640         (fixup_unsigned_type): ... here.
642 2003-07-28  Zack Weinberg  <zack@codesourcery.com>
644         * c-decl.c: Update commentary, adjust blank lines throughout.
645         (struct c_scope): Fix indentation.  Reorder members so
646         outer-context pointers come first, booleans last.
647         (duplicate_decls, define_label): Use a 'locus' variable for
648         diagnostic locations in a few more places.
649         (warn_if_shadowing): Un-split a conditional that fits on one line.
650         (c_init_decl_processing): No need to clear current_scope and
651         current_function_scope.
652         (start_decl): Merge if/else if statements with same action.
653         (push_parm_decl): Rename old_immediate_size_expand to use
654         save_foo convention; save/restore around entire function.
655         (grokdeclarator): Remove unnecessary braces.
657 2003-07-28  Hans-Peter Nilsson  <hp@bitrange.com>
658             Michael Culbertson  <Michael.J.Culbertson@wheaton.edu>
660         * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
661         when warn_declaration_after_statement.  Call pedwarn_c90, not
662         pedwarn.  Correct message: it's "ISO C90", not "ISO C89".
663         * c-common.c (warn_declaration_after_statement): Define.
664         * c-common.h (warn_declaration_after_statement): Declare.
665         * c.opt (Wdeclaration-after-statement): New.
666         * c-errors.c (pedwarn_c90): New function.
667         * c-opts.c (c_common_handle_option) <case
668         OPT_Wdeclaration_after_statement>: New.
669         * c-tree.h (pedwarn_c90): Declare.
670         * doc/invoke.texi (Option Summary): Document
671         -Wdeclaration-after-statement.
672         (Warning Options): Ditto.
674 Mon Jul 28 20:13:06 CEST 2003  Jan Hubicka  <jh@suse.cz>
676         * i386.md (memory attribute) Avoid accessing uninitialized memory
677         for ishift1 type instructions.
679 2003-07-28  Jakub Jelinek  <jakub@redhat.com>
681         * configure.in (--enable-checking): Add fold category.
682         (ENABLE_FOLD_CHECKING): Define if requested.
683         * configure: Rebuilt.
684         * config.in: Rebuilt.
685         * doc/install.texi: Document it.
686         * fold-const.c: Include md5.h.
687         [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
688         [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
689         print_fold_checksum): New functions.
691         * fold-const.c (fold): Never modify argument passed to fold, instead
692         change a copy and return it.
693         * convert.c (convert_to_integer): Likewise.
695 2003-07-27  Nathanael Nerode  <neroden@gcc.gnu.org>
697         * fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary
698         cleanup of junk after #else and #endif directives.  Collapse repeated
699         clauses into for statment.
701         * fixinc/fixincl.sh: GNU C -> GCC.  Add usage comment.
703 2003-07-27  Zack Weinberg  <zack@codesourcery.com>
705         * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
706         (keep_next_if_subblocks): Rename next_is_function_body.
707         (pushlevel): Adjust commentary.  Always set ->keep on the
708         outermost level of a function.  Don't set ->keep_if_subblocks.
709         (poplevel): Adjust commentary.  Don't look at ->keep_if_subblocks.
710         (store_parm_decls): Adjust to match.
711         (finish_function): Adjust to match.
712         Call poplevel with all three arguments zero.
714         * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
715         New functions split out of store_parm_decls.
716         Avoid unnecessary work. Use local variables consistently.
717         (store_parm_decls): Likewise.
719         (finish_function): No need to set functionbody flag on call to
720         poplevel.
721         (struct language_function): Remove scope field.
722         (c_push_function_context, c_pop_function_context): No need to
723         save and restore current_scope.
725 2003-07-27  Nathan Sidwell  <nathan@codesourcery.com>
727         * doc/extend.texi (Deprecated Features): Implicit typename is
728         gone. Default args on types is going.
730 2003-07-26  J"orn Rennecke <joern.rennecke@superh.com>
732         * Makefile.in (ifcvt.o): Depend on target.h
733         * ifcvt.c (target.h): Include.
734         (if_convert): Don't call mark_loop_exit_edges if we can't
735         modify jumps.
737 2003-07-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
739         * doc/install.texi (Testing): Adjust required versions of DejaGnu.
741 2003-07-26  Richard Henderson  <rth@redhat.com>
743         PR inline-asm/11676
744         * cse.c (count_reg_usage): Handle asm_operands properly.
746 2003-07-26  Roger Sayle  <roger@eyesopen.com>
748         * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
749         (DEF_EXT_FALLBACK_BUILTIN): Delete.
750         (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
751         the regular DEF_EXT_LIB_BUILTIN macro.
752         (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
753         the regular DEF_LIB_BUILTIN macro.
754         (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
755         BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
756         BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
757         DEF_EXT_LIB_BUILTIN macro.
759         * c-decl.c (duplicate_decls): Remove code to handle builtin
760         functions prototyped without an argument list.
762 2003-07-26  Danny Smith  <dannysmith@users.sourceforge.net>
764         * config/i386/winnt.c: Revert 2003-07-08 change.
765         (i386_pe_section_type_flags): Remove error_with_decl here too.
767 2003-07-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
769         * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
770         * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
771         * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
772         (v850_handle_data_area_attribute): Likewise.
774 2003-07-26  Geoffrey Keating  <geoffk@apple.com>
776         * varasm.c (output_constant_def_contents): Use
777         ASM_DECLARE_CONSTANT_NAME if defined.
778         * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
779         * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
780         objects get at least one byte to prevent assembler problems.
781         (ASM_DECLARE_CONSTANT_NAME): New.
783         * Makefile.in (libbackend.o): Remove options_.h.
784         (mostlyclean): Likewise.
786         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
787         insert a label at the end of an function under Mach-O.
789         * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
791 2003-07-25  Aldy Hernandez  <aldyh@redhat.com>
793         * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
794         equality.
795         (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
797         * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
799 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
801         * doc/passes.texi (Passes): Mention pretty-printing and
802         diagnostic files.
804 2003-07-25  Nathan Sidwell  <nathan@codesourcery.com>
806         * doc/extend.texi (Function Attributes): GNU C++ does now allow
807         unused parameter decls.
808         (Attribute Syntax): GNU C++ does not allow label attributes to be
809         after the ':'.
811 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
813         * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
814         (objc_declare_class): Likewise.
815         (error_with_ivar): Likewise.
816         (start_class): Likewise.
817         (warn_with_method): Likewise.
819 2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
821         Remove pedwarn_with_decl, warning_with_decl and error_with_decl
822         from GCC.
823         * calls.c (try_to_integrate): Don't use xxx_with_decl.
824         (expand_call): Likewise.
825         * dwarfout.c (output_reg_number): Likewise.
826         * expr.c (expand_expr): Likewise.
827         * function.c (assign_temp): Likewise.
828         (uninitialized_vars_warning): Likewise.
829         (setjmp_args_warning): Likewise.
830         (expand_function_end): Likewise.
831         * stmt.c (fixup_gotos): Likewise.
832         (warn_about_unused_variables): Likewise.
833         (expand_end_bindings): Likewise.
834         * stor-layout.c (layout_decl): Likewise.
835         (place_field): Likewise.
836         * toplev.c (check_global_declarations): Likewise.
837         (rest_of_handle_inlining): Likewise.
838         (default_tree_printer): New function.
839         (general_init): Initialize diagnostic machinery before routing
840         signals to the ICE machinery.  Set default tree printer.
841         * toplev.h (pedwarn_with_decl): Remove declaration.
842         (warning_with_decl): Likewise.
843         (error_with_decl): Likewise.
844         (pedwarn): Remove attribute for the time being.
845         * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
846         * varasm.c (named_section): Likewise.
847         (make_decl_rtl): Likewise.
848         (assemble_variable): Likewise.
849         (merge_weak): Likewise.
850         (declare_weak): Likewise.
852         * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
853         * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
854         (format_with_decl): Remove.
855         (diagnostic_for_decl): Likewise.
856         (pedwarn_with_decl): Likewise.
857         (warning_with_decl): Likewise.
858         (error_with_decl): Likewise.
859         (diagnostic_initialize): Adjust.
860         (diagnostic_count_diagnostic): Likewise.
861         (announce_function): Likewise.
862         (lhd_print_error_function): Likewise.
863         (diagnostic_report_current_module): Likewise.
864         (default_diagnostic_starter): Likewise.
865         (diagnostic_report_diagnostic): Likewise.
866         (default_diagnostic_finalizer): Likewise.
867         (verbatim): Likewise.
868         (error): Likewise.
869         (warning): Likewise.
870         * opts.c (common_handle_option): Likewise.
871         * pretty-print.c: New file.
872         * c-pretty-print.h (pp_base): Override.
873         * c-pretty-print.c: Adjust use of macros throughout.
874         (pp_buffer): New macro.
875         (pp_newline): Likewise.
876         * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
877         * Makefile.in (DIAGNOSTIC_H): New variable.
878         (c-errors.o): Use it.
879         (c-objc-common.o): Likewise.
880         (c-common.o): Likewise.
881         (c-opts.o): Likewise.
882         (c-format.o): Likewise.
883         (diagnostic.o): Likewise.
884         (opts.o): Likewise.
885         (toplev.o): Likewise.
886         (rtl-error.o): Likewise.
887         (dwarf2out.o): Likewise.
888         (jump.o): Likewise.
889         (pretty-print.o): New rule.
891 2003-07-24  Roger Sayle  <roger@eyesopen.com>
893         * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
894         front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
895         (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
896         from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
897         (DEF_FRONT_END_LIB_BUILTIN): Delete.
898         (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
899         (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
901         * builtins.c (build_string_literal): New function to construct
902         a char* pointer to a string literal.
903         (expand_builtin_fputs): Change 2nd argument from "int ignore" to
904         "rtx target" to be consistent with other expand_builtin_* functions.
905         Change 3rd argument from "int unlocked" to "bool unlocked".
906         (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
907         c-common.c to avoid front-end dependencies.  Optimize printf("")
908         as a no-op when the result isn't required.  Handle embedded NULs
909         in format string.
910         (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
911         from c-common.c to avoid front-end dependencies.  Likewise, optimize
912         fprintf(fp,"") as a no-op when the result isn't required, evaluating
913         fp for side-effects.  Handle embedded NULs in format string.
914         (expand_builtin_sprintf): Fix typo.
915         (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
916         optimizing.  Adjust calls of expand_builtin_fputs to match the API
917         change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
918         expand_builtin_printf.  Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
919         and BUILT_IN_FPRINTF using expand_builtin_fprintf.
921         * c-common.c (is_valid_printf_arglist): Delete.
922         (c_expand_builtin): Delete.
923         (c_expand_builtin_printf): Moved to builtins.c. Delete.
924         (c_expand_builtin_fprintf): Moved to builtins.c.  Delete.
925         (c_expand_expr): No longer treat CALL_EXPRs specially.
926         (CALLED_AS_BUILT_IN): Delete.
928 2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
930         PR optimization/11631
931         * gcse.c (store_motion): Connect infinite loops to exit.
933 2003-07-24  Jason Merrill  <jason@redhat.com>
935         * tree.h (boolean_type_node): Move from C/C++/Java frontends.
936         (boolean_true_node, boolean_false_node): Likewise.
937         (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
938         * tree.c (build_common_tree_nodes): Init boolean_type_node.
939         (build_common_tree_nodes_2): Init boolean_{true,false}_node.
940         * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
941         * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
942         (truthvalue_true_node): Renamed from boolean_true_node.
943         (truthvalue_false_node): Renamed from boolean_false_node.
944         * c-decl.c: Just set truthvalue_* to integer_*.
945         * c-*.[ch]: s/boolean/truthvalue/.  s/c_bool/boolean/.
947 2003-07-24  Roger Sayle  <roger@eyesopen.com>
949         * c-decl.c (match_builtin_function_types): New subroutine of
950         duplicate_decls to test whether a redeclaration of a builtin
951         function is suitably close, i.e. the return type and all of
952         the argument types have the same modes as the builtin expects.
953         (duplicate_decls): Fuzzy type matching for builtin functions
954         moved to match_builtin_function_types.
956 2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
958         * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
959         flag correctly.
961 2003-07-24  Zack Weinberg  <zack@codesourcery.com>
963         * c-decl.c: Search-and-replace change 'binding level' to
964         'scope' in commentary.
965         (struct binding_level): Now struct c_scope.
966         (current_binding_level): Now current_scope.
967         (free_binding_level): Now scope_freelist.
968         (current_function_level): Now current_function_scope.
969         (global_binding_level): Now global_scope.
970         (make_binding_level): Now make_scope.
971         (pop_binding_level): Now pop_scope.
973 2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
975         * configure.in (libgcc_visibility): Add missing whitespace.
977 2003-07-24  Richard Henderson  <rth@redhat.com>
979         * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
980         __gcc_personality_v0.
982 2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
984         * Makefile.in: Replace pwd by ${PWD_COMMAND}.
986 2003-07-24  Nathan Sidwell  <nathan@codesourcery.com>
988         * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
989         documentation missed from my 2003-07-09 patch.
991 2003-07-24  Nathanael Nerode  <neroden@gcc.gnu.org>
993         * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
994         it's not provided.
995         * configure: Rebuild.
997 2003-07-24  Steven Bosscher  <steven@gcc.gnu.org>
999         PR c/10602
1000         * c-typeck.c (type_lists_compatible_p): Do not compare
1001         arguments if one of them is an error_mark_node
1003 2003-07-24  Alan Modra  <amodra@bigpond.net.au>
1005         * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
1006         if current_function_calls_eh_return.
1008 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
1010         * doc/c-tree.texi (OFFSET_TYPE): Update description.
1012 2003-07-23  Bob Wilson  <bob.wilson@acm.org>
1014         * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
1015         * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
1016         __umodsi3, __modsi3): Increase frame size to 32.
1018 2003-07-23  Geoffrey Keating  <geoffk@apple.com>
1020         * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
1021         prototype.
1023 2003-07-23  Mark Mitchell  <mark@codesourcery.com>
1025         * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
1027         PR optimization/10679
1028         * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
1030 2003-07-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1032         PR target/11607 and PR target/11516
1033         * pa.md (extzv, extv, insv): Revert latter half of last patch.
1035 2003-07-22  Mark Mitchell  <mark@codesourcery.com>
1037         * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
1038         * varasam.c (output_constant): Likewise.
1040 2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
1042         * alias.c: Fix comment formatting.
1043         * c-common.c: Likewise.
1044         * c-decl.c: Likewise.
1045         * c-opts.c: Likewise.
1046         * combine.c: Likewise.
1047         * cpplib.c: Likewise.
1048         * diagnostic.c: Likewise.
1049         * dojump.c: Likewise.
1050         * final.c: Likewise.
1051         * fold-const.c: Likewise.
1052         * gcc.c: Likewise.
1053         * gcse.c: Likewise.
1054         * ggc-page.c: Likewise.
1055         * jump.c: Likewise.
1056         * loop.c: Likewise.
1057         * mips-tfile.c: Likewise.
1058         * recog.c: Likewise.
1059         * regclass.c: Likewise.
1060         * regmove.c: Likewise.
1061         * tree.c: Likewise.
1062         * tree.h: Likewise.
1064 2003-07-22  Per Bothner  <pbothner@apple.com>
1066         * line-map.c (add_line_map):  Handle invalid LEAVE request.
1067         Fixes PR preprocessor/11361.
1069 2003-07-22  Per Bothner  <pbothner@apple.com>
1071         * diagnostic.c.(diagnostic_report_current_module):  Update to match
1072         2003-06-05 changes to push_srcloc and pop_srcloc.
1074 2003-07-22  Wolfgang Bangerth  <bangerth@dealii.org>
1076         * doc/trouble.texi: Better document two-stage name lookup.
1078 2003-07-22  Eric Christopher <echristo@redhat.com>
1080         * config/s390.c (s390_valid_pointer_mode): New.
1081         (TARGET_VALID_POINTER_MODE): Use.
1082         (s390_emit_prologue): Add tpf profiling hooks.
1083         (s390_emit_epilogue): Ditto.
1084         * config/s390.h (MASK_TPF): New.
1085         (TARGET_TPF): Use.
1086         (POINTERS_EXTEND_UNSIGNED): Define.
1087         * config/s390.md (ptr_extend): New pattern.
1089 2003-07-22  Zack Weinberg  <zack@codesourcery.com>
1091         * hashtable.c (approx_sqrt): Make static.
1092         * hashtable.h: Don't prototype approx_sqrt.
1093         * line-map.c (init_line_maps): Rename linemap_init.
1094         (free_line_maps): Rename linemap_free.
1095         (add_line_map): Rename linemap_add.
1096         (lookup_line): Rename linemap_lookup.
1097         (print_containing_files): Rename linemap_print_containing_files.
1098         * linemap.h: Update to match.
1100         * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
1101         linemap routines to use new names.
1103 2003-07-16  Nathan Sidwell  <nathan@codesourcery.com>
1105         * c-common.c (handle_packed_attribute): Don't pack a struct via a
1106         typedef. Propagate packedness from a main variant.
1108 2003-07-22  Nathanael Nerode  <neroden@gcc.gnu.org>
1110         * Makefile.in (install-common): Add dependency on installdirs.
1112 2003-07-21  Alexandre Oliva  <aoliva@redhat.com>
1114         * c-common.c (c_common_type_for_mode): Return integer types for
1115         pointer modes.
1117 2003-07-22  Geoffrey Keating  <geoffk@apple.com>
1119         * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
1120         (finish_decl): Call maybe_apply_pragma_weak here.
1121         (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
1122         TREE_PUBLIC and TREE_STATIC are decided.
1123         (start_function): Move call to maybe_apply_pragma_weak.  Check that
1124         DECL_ASSEMBLER_NAME isn't set too early.
1126         * cpplex.c (_cpp_process_line_notes): Mention option name in
1127         trigraphs warning.
1129 2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
1131         * combine.c (if_then_else_cond): Simplify the comparison of
1132         rtx against -1, 0, and 1.
1133         * loop.c (check_dbra_loop): Likewise.
1134         * optabs.c (emit_conditional_move): Likewise.
1135         (emit_conditional_add): Likewise.
1136         * config/i386/i386.md (*movsi_or): Likewise.
1137         (*movdi_or_rex6): Likewise.
1139 Tue Jul 22 00:42:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
1141         * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
1143 2003-07-21  Neil Booth  <neil@daikokuya.co.uk>
1145         * cppfiles.c (open_file_pch): Don't put unused entries in the
1146         splay tree.  Remove dead code.
1148 2003-07-21  Geoffrey Keating  <geoffk@apple.com>
1150         * c-common.h (num_in_fnames): Declare.
1151         (c_static_assembler_name): Move from here...
1152         * c-tree.h (c_static_assembler_name): ... to here.
1153         * c-opts.c: Don't include langhooks-def.h.
1154         (c_static_assembler_name): Move to c-decl.c.
1155         (num_in_fnames): Make externally visible.
1156         * c-decl.c: Include langhooks-def.h.
1157         (c_static_assembler_name): Move from c-opts.c.
1158         * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
1159         (c-opts.o): Remove $(LANGHOOKS_DEF_H).
1161         * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
1162         when it's not needed.
1164 2003-07-21  Jakub Jelinek  <jakub@redhat.com>
1166         * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
1167         * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
1168         (rs6000_emit_prologue): Save FPRs inline if set.
1170 2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
1172         * config/ia64/ia64.md (prefetch): Support predicate.
1174 2003-07-21  Josef Zlomek  <zlomekj@suse.cz>
1176         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
1177         * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
1178         table.
1180 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
1182         PR optimization/11536
1183         * unroll.c (loop_iterations): Do not replace a register holding
1184         the final value by its equivalent before the loop if it is not
1185         invariant.
1187 2003-07-21  Dave Fluri  <dave.fluri@onlink.net>
1189         * doc/extend.texi: Fixes to spelling, grammar, and diction.
1191 2003-07-21  Ben Elliston  <bje@wasabisystems.com>
1193         * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
1194         (V850 Options): Spelling fixes.
1196 2003-07-20  Lisa M. Goldstein  <opus@gnu.org>
1198         * doc/invoke.texi: Fixes to style, grammar and diction.
1200 2003-07-20  Roger Sayle  <roger@eyesopen.com>
1202         * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
1203         * system.h (SMALL_STACK): Poison obsolete target macro.
1204         * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
1206 2003-07-20  Phil Edwards  <pme@gcc.gnu.org>
1208         * configure.in:  Cache the results of testing for cmp's capabilities.
1209         * configure:  Regenerate.
1211 2003-07-20  Mark Mitchell  <mark@codesourcery.com>
1213         PR debug/11279
1214         * dwarf2out.c (gen_enumeration_type_die): Remember that
1215         enumerators can be unsigned.
1217 2003-07-19  Zack Weinberg  <zack@codesourcery.com>
1219         * c-decl.c (named_labels, shadowed_labels, label_level_chain)
1220         (push_label_level, pop_label_level): Kill.
1221         (struct binding_level): Rename level_chain to outer.
1222         Add outer_function field.  Change parm_flag, function_body,
1223         keep, keep_if_subblocks to 1-bit bitfields of type bool.
1224         (current_function_level): New variable.
1225         (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
1226         (keep_next_level, declare_parm_level, warn_if_shadowing):
1227         Update to match.
1228         (struct language_function): Kill named_labels, shadowed_labels fields.
1229         (c_init_decl_processing, start_function, c_push__function_context)
1230         (c_pop_function_context): No need to muck with named_labels nor
1231         shadowed_labels.
1233         (make_binding_level): No need to clear the structure here.
1234         (pop_binding_level): Always operate on current_binding_level.
1235         Update current_function_level if necessary.
1236         (pushlevel): Don't clear named_labels.  Update current_function_level
1237         if necessary.  Use "true" and "false" where appropriate.
1238         (poplevel): Diagnose labels defined but not used, or vice
1239         versa, and clear out label-meanings leaving scope, while
1240         walking down the decls list, for all binding levels.
1241         Handle LABEL_DECLs appearing in the shadowed list.
1242         pop_binding_level takes no arguments.
1243         (pushdecl_function_level): Use current_function_level.
1245         (make_label, bind_label): New static functions.
1246         (declare_label): New exported function.
1247         (lookup_label, define_label): Rewritten for new data structure.
1248         (shadow_label): Kill.
1250         * c-tree.h: Prototype declare_label; don't prototype
1251         push_label_level, pop_label_level, nor shadow_label.
1252         * c-parse.in: Remove all calls to push_label_level and
1253         pop_label_level.  Use declare_label for __label__ decls.
1255         * doc/extend.texi: Clarify that __label__ can be used to
1256         declare labels with local scope in any nested block, not
1257         just statement expressions.  Cross-reference nested functions
1258         section from local labels section.
1260 2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1262         * sched-rgn.c (find_rgns): Initialize current_edge correctly.
1264 2003-07-19  Phil Edwards  <pme@gcc.gnu.org>
1266         * doc/makefile.texi (restrap, profiledbootstrap):  Document targets.
1268 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1270         * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
1271         fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
1273 2003-07-19  Ulrich Weigand  <uweigand@de.ibm.com>
1275         * config/s390/s390.c (legitimize_pic_address): Access local symbols
1276         relative to the GOT instead of relative to the literal pool base.
1277         (s390_output_symbolic_const): Handle new GOT-relative accesses.
1278         * config/s390/s390.md ("call"): Access local functions and PLT stubs
1279         relative to the GOT instead of relative to the literal pool base.
1280         ("call_value"): Likewise.
1281         ("call_value_tls"): Likewise.
1283         * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
1284         reloading.  Support LTREL_BASE / LTREL_OFFSET construct.
1285         (s390_chunkify_finish): Likewise.
1286         (s390_chunkify_cancel): Likewise.
1287         (s390_reorg): Adapt caller.
1288         (find_base_register_in_addr,
1289         find_base_register_ref, replace_base_register_ref): Delete.
1290         (find_ltrel_base, replace_ltrel_base): New functions.
1291         (find_constant_pool_ref): Handle LTREL_BASE unspecs.
1292         (s390_decompose_address): Handle LTREL_BASE unspecs.  Optimize
1293         base vs. index register usage.
1294         (struct constant_pool): Remove 'anchor'.
1295         (s390_add_anchor): Delete.
1296         (s390_dump_pool): Remove anchor handling.
1297         * config/s390/s390.md ("reload_anchor"): Remove.
1299         * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
1300         (s390_load_got): New function.  Use LTREL_BASE/OFFSET.
1301         (s390_emit_prologue): Use it.
1302         * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
1303         "builtin_setjmp_receiver"): Cleanup.  Use s390_load_got.  Do not
1304         hard-code register 14.
1305         * config/s390/s390-protos.h (s390_load_got): Declare.
1307         * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
1308         Support TImode constants.
1309         * config/s390/s390.md ("consttable_ti"): New.
1310         ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
1312         * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
1313         UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
1314         UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
1315         UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
1316         UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
1317         New symbolic constants.
1318         ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
1319         "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
1320         "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
1321         "pool", "literal_pool_31", "literal_pool_64"): Cleanup.  Use
1322         symbolic UNSPEC values.
1323         * config/s390/s390.c (larl_operand, s390_short_displacement,
1324         bras_sym_operand, s390_cannot_force_const_mem,
1325         s390_delegitimize_address, s390_decompose_address,
1326         legitimize_pic_address, s390_output_symbolic_const,
1327         s390_function_profiler): Use symbolic UNSPEC values.
1329 2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1331         * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
1332         c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
1333         c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
1334         collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
1335         cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
1336         cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
1337         dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
1338         fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
1339         gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
1340         genemit.c genextract.c genoutput.c genrecog.c gensupport.c
1341         ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
1342         integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
1343         loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
1344         postreload.c prefix.c print-tree.c protoize.c ra-build.c
1345         ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
1346         regmove.c regrename.c reload.c reload1.c reorg.c resource.c
1347         sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
1348         simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
1349         tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
1350         varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
1351         casts.
1353 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1355         * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
1356         * toplev.h (warning): Remove attribute.
1358 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1360         * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
1361         (pop_label_level): Likewise.
1362         (duplicate_decls): Likewise.
1363         (implicitly_declare): Likewise.
1364         (shadow_label): Likewise.
1365         (start_decl): Likewise.
1366         (finish_decl): Likewise.
1367         (grokdeclarator): Likewise.
1368         (get_parm_info): Likewise.
1369         (detect_field_duplicates): Likewise.
1370         (finish_struct): Likewise.
1371         (start_function): Likewise.
1372         (store_parm_decls): Likewise.
1373         (finish_function): Likewise.
1374         (c_expand_body_1): Likewise.
1375         (check_for_loop_decls): Likewise.
1376         (merge_translation_unit_decls): Likewise.
1378 2003-07-19  Neil Booth  <neil@daikokuya.co.uk>
1380         * common.opt:  Document --param.
1381         * opts.c (columns, undocumented_msg): New.
1382         (print_help): Get number of columns from environment.  Print
1383         --param help.  Tweak newline handling.
1384         (print_param_help): New.
1385         (print_filtered_help): Better handling of duplicates.  Complain
1386         about undocumented switches.
1387         (print_switch): New.
1388         (wrap_help): Improve wrapping, use COLUMNS.
1389         * opts.sh: Ignore comments in records.
1390         * params.def: Fix typos and remove trailing periods.
1391         * toplev.c (display_help): Don't dump --param help.
1392         * doc/sourcebuild.texi: Update.
1394 2003-07-18  Richard Henderson  <rth@redhat.com>
1396         PR target/11556
1397         * optabs.c (prepare_operand): Fail gracefully instead of abort
1398         if the predicate doesn't satisfy.
1399         (gen_cond_trap): Allow prepare_operand to fail.
1401 2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1403         * c-common.c: Don't undefine GCC_DIAG_STYLE.
1404         (fname_decl): Don't use xxx_with_decl.
1405         (c_add_case_label): Likewise.
1406         (handle_section_attribute): Likewise.
1407         (handle_alias_attribute): Likewise.
1408         (handle_no_instrument_function_attribute): Likewise.
1409         (handle_no_limit_stack_attribute): Likewise.
1410         * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
1411         * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
1413 2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1415         * Makefile.in (ifcvt.o): Add cfgloop.h.
1416         * basic-block.h (EDGE_LOOP_EXIT): New flag.
1417         * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
1418         * ifcvt.c: Include cfgloop.h.
1419         (mark_loop_exit_edges): New static function.
1420         (if_convert): Call it.
1421         (find_if_header): Ignore branches out of loops.
1423 2003-07-18  Kazu Hirata  <kazu@cs.umass.edu>
1425         * combine.c (simplify_comparison): Don't share rtx when converting
1426         (ne (and (not X) 1) 0) to (eq (and X 1) 0).
1428 2003-07-18  David Edelsohn  <edelsohn@gnu.org>
1430         * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
1431         (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
1432         (MUST_PASS_IN_STACK): Define.
1433         (BLOCK_REG_PADDING): Define.
1435 2003-07-18  Richard Henderson  <rth@redhat.com>
1437         * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
1438         to skip the addr_vec.
1440 Fri Jul 18 15:22:28 2003  Alexandre Oliva  <aoliva@redhat.com>
1442         * combine.c (combinable_i3pat): Don't forbid occurrences of
1443         i2dest or i1dest in inner_dest if inner_dest is a mem.
1445 Fri Jul 18 17:05:57 CEST 2003  Jan Hubicka  <jh@suse.cz>
1447         * cgraph.c (cgraph_remove_node): Clear the hash table slot.
1449 2003-07-17  Jakub Jelinek  <jakub@redhat.com>
1451         PR target/11087
1452         * loop.c (basic_induction_var): Check if convert_modes emitted any
1453         instructions. Remove them and return 0 if so.
1455 2003-07-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
1457         PR optimization/11083
1458         * toplev.c (rest_of_handle_addresof): Rename into
1459         rest_of_handle_addressof.  Delete unreachable blocks
1460         if dead edges were purged after the addressof pass.
1462 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
1464         * Makefile.in, configure, configure.in: Remove handling of
1465         lang-options.h and options_.h.
1466         * toplev.c (struct lang_opt, documented_lang_options): Remove.
1467         (display_help): Don't use documented_lang_options.
1469 2003-07-17  Zack Weinberg  <zack@codesourcery.com>
1471         * c-decl.c (pushdecl_function_level): Make static, return nothing.
1472         (kept_level_p): Fold into poplevel.
1473         (undeclared_variable): Moved here from c-typeck.c.  Export.
1474         * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
1475         (undeclared_variable): Prototype here.  Don't prototype
1476         kept_level_p nor pushdecl_function_level.
1477         * c-parse.in: Change first argument to poplevel from
1478         "kept_level_p()" to "KEEP_MAYBE".
1479         * c-typeck.c (undeclared_variable): Moved to c-decl.c.
1481 2003-07-17  Roger Sayle  <roger@eyesopen.com>
1483         * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
1484         commutative operands instead of modifying the RTL in-place.
1486 2003-07-17  Mark Mitchell  <mark@codesourcery.com>
1488         PR optimization/11557
1489         * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
1490         unless we know which function is being called.
1492 2003-07-17  Roger Sayle  <roger@eyesopen.com>
1494         * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
1495         whether to reorder the operands of a commutative binary operator.
1497 2003-07-17  Roger Sayle  <roger@eyesopen.com>
1499         * fold-const.c (const_binop): Avoid performing the FP operation at
1500         compile-time, if either operand is NaN and we honor signaling NaNs,
1501         or if we're dividing by zero and either flag_trapping_math is set
1502         or the desired mode doesn't support infinities.
1503         (fold_initializer): New function to fold an expression ignoring any
1504         potential run-time exceptions or traps.
1505         * tree.h (fold_initializer): Prototype here.
1506         * c-typeck.c (build_binary_op): Move to the end of the file so
1507         that intializer_stack is in scope.  If constructing an initializer,
1508         i.e. when initializer_stack is not NULL, use fold_initializer to
1509         fold expressions.
1510         * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
1511         performing FP operations at compile-time, if they would raise an
1512         exception at run-time.
1514 2003-07-17  Geoffrey Keating  <geoffk@apple.com>
1516         PR 11498
1517         * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
1518         (langhooks.o): Add $(GGC_H), gt-langhooks.h.
1519         (GTFILES): Add langhooks.c.
1520         (gt-langhooks.h): New.
1521         * c-common.h (c_static_assembler_name): Prototype.
1522         * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1523         * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1524         * c-opts.c: Include langhooks-def.h.
1525         (c_static_assembler_name): New.
1526         * langhooks.c: Include ggc.h.  Include gt-langhooks.h.
1527         (var_labelno): New.
1528         (lhd_set_decl_assembler_name): Give static objects with context
1529         unique names.
1530         * varasm.c (var_labelno): Delete.
1531         (make_decl_rtl): Don't change the assembler name once it's set.
1533         * c-opts.c (this_input_filename): New.
1534         (finish_options): Take new parameter, name of file being compiled.
1535         Update callers.  Set this_input_filename.
1536         (push_command_line_include): Use this_input_filename not
1537         main_input_filename.
1539 2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
1541         * Makefile.in: Depend .pot generation on options.c.
1542         * po/exgettext: Add an extra_files variable containing additional
1543         files to scan.
1545 2003-07-17  Zack Weinberg  <zack@codesourcery.com>
1547         * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
1548         c_write_global_declarations.
1550         * c-decl.c: Fix typos in several comments.  Remove all
1551         #if 0 blocks; reindent as needed.  Remove unused argument
1552         to declare_parm_level; all callers changed.
1553         * c-parse.in: Update calls to declare_parm_level.  Avoid
1554         issuing a double warning in some circumstances.
1555         * c-typeck.c: Update calls to declare_parm_level.
1556         * c-tree.h: Update prototype of declare_parm_level.
1558         * c-pragma.c (apply_pragma_weak): Don't complain about a
1559         redundant #pragma weak.
1561         * objc/objc-act.c (forward_declare_categories,
1562         build_selector_reference_decl, build_class_reference_decl,
1563         build_objc_string_decl, synth_forward_declarations,
1564         build_protocol_reference): Set TREE_PUBLIC on synthetic
1565         forward decl to 0, consistent with eventual definition.
1566         Correct comments to match.
1568         * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
1569         in regexp that don't form a range expression.
1570         * fixinc/fixincl.def: Regenerate.
1572 2003-07-17  Richard Henderson  <rth@redhat.com>
1574         PR target/10907
1575         * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
1576         even with !TARGET_CONST_GP.
1577         (ia64_function_ok_for_sibcall): Reject non-local functions.
1579 2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>
1581         * c-common.c (c_estimate_num_insns_1): Don't handle
1582         METHOD_CALL_EXPR.
1583         * expr.c (safe_from_p): Likewise.
1584         * gengtype.c (adjust_field_tree_exp): Likewise.
1585         * stmt.c (warn_if_unused_value): Likewise
1586         * tree.c (first_rtl_op): Likewise.
1587         * tree.def: Don't define METHOD_CALL_EXPR.
1588         * java/lang.c (java_estimate_num_insns_1): Don't handle
1589         METHOD_CALL_EXPR.
1591 2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
1593         PR other/11466
1594         * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
1595         and its restrictions for the SPARC64 port.
1596         Move the entry of "-mimpure-text" before that of "-mv8".
1598 2003-07-17  Eric Botcazou <ebotcazou@libertysurf.fr>
1599             Phil Edwards <phil@jaj.com>
1601         * doc/install.texi (*-*-solaris2*): Document the step-by-step
1602         procedure to bootstrap and install.
1603         Document the preference for the legacy Sun tools in /usr/bin
1604         over the POSIX tools in /usr/xpg4/bin for the build process.
1606 2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
1608         * c.opt: Document Uncodumented; use it.  Document ObjC options.
1609         * opts.c (print_filtered_help): Skip undocumented switches.
1610         * opts.h (CL_UNDOCUMENTED): New.
1611         * opts.sh: Handle Undocumented.
1612         * toplev.c (documented_lang_options): Prevent its becoming empty.
1613 objc:
1614         * lang-options.h: Remove.
1616 2003-07-16  Ulrich Weigand  <uweigand@de.ibm.com>
1618         * loop.c (check_ext_dependent_givs): Pass const struct loop *
1619         instead of struct loop_info * as argument.  Accept BIVs with
1620         increment +/- 1 provided there is a friendly exit test against
1621         a loop-invariant value.
1622         (strength_reduce): Adapt call to check_ext_dependent_givs.
1624 2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
1625             Con Bradley <con.bradley@superh.com>
1627         * sh-protos.h (sh_get_pr_initial_val): Declare.
1628         * sh.c (regno_reg_class): Make its elements type enum reg_class.
1629         (output_stack_adjust): Remove emit_fn argument.  Add epilogue_p
1630         and live_regs_mask arguments.  Changed all callers.
1631         (save_schedule_s): New structure.
1632         (save_schedule): New typedef.
1633         (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
1634         (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
1635         In interrupts handlers, also save registers that are usually
1636         partially saved, and make sure there is at least one general purpose
1637         register saved if a target register needs saving.
1638         Add casts in comparisons to avoid warnings.
1639         (sh_media_register_for_return): return -1 for interrupt handlers.
1640         (MAX_SAVED_REGS, MAX_TEMPS): New defines.
1641         (sh_expand_prologue): Use sh5_schedule_saves.  Check that any temp
1642         registers used are available.
1643         Set RTX_FRAME_RELATED_P where appropriate.
1644         Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
1645         (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
1646         (initial_elimination_offset): Likewise.
1647         * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
1648         (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
1649         (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
1650         (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
1651         (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
1652         and for target registers.
1653         (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
1654         (regno_reg_class): Make its elements type enum reg_class.
1655         (CONSTRAINT_LEN): Don't use isdigit.
1656         (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
1657         (FUNCTION_ARG): Add parentheses to avoid warnings.
1658         (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
1659         (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
1660         (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
1661         (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
1662         * sh.md (xordi3+1): Remove unused variable regno.
1663         (return_media): Check that tr0 is available before using it.
1665 2003-07-16  Neil Booth  <neil@daikokuya.co.uk>
1667         * c.opt: Document more options.
1669 2003-07-16  Roger Sayle  <roger@eyesopen.com>
1671         * combine.c (subst): Also handle (subreg (const_double ...)) case
1672         if created by a substitution, by using the original inner mode.
1674 2003-07-16  Roger Sayle  <roger@eyesopen.com>
1676         * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
1677         to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
1678         (simplify_rtx): Likewise.  Simplify (lo_sum (high X) X) as X.
1680 2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>
1682         * doc/install.texi (--without-headers): New.
1684         Partial Fix PR/10129
1685         * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
1686         (machopic_output_function_base_name): New; print the true pic label.
1687         (machopic_classify_ident): Pic Base is always a defined data.
1688         * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
1689         * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
1691         * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
1692         if they are not floating point registers.
1694         PR c/10962
1695         * ggc.h: Add header guards.
1696         * c-decl.c (finish_struct): Sort fields if
1697         number greater than 15 and there are no
1698         anonymous structs/unions.
1699         * c-common.h: Include ggc.h.
1700         (sorted_fields_type): New struct.
1701         (field_decl_cmp): New prototype.
1702         (resort_sorted_fields): New prototype.
1703         (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
1704         * c-tree.h: (lang_type): Use pointer to sorted_fields_type
1705         as s, removing other fields.
1706         * c-typeck.c (lookup_field): Use s in lang_type.
1707         These were mostly moved from cp/class.c:
1708         * c-common.c (field_decl_cmp): New static function.
1709         (field_decl_cmp): New function.
1710         (resort_sorted_fields): New function.
1712 2003-07-16  Geoffrey Keating  <geoffk@apple.com>
1714         * config/darwin.c (machopic_select_section): Use decl_readonly_section
1715         to do most of the work.
1717 2003-07-16  Hans-Peter Nilsson  <hp@bitrange.com>
1719         * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
1720         * config/mmix/mmix.c: Convert functions to ISO C90.
1721         (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
1722         formatting.
1723         (mmix_get_hard_reg_initial_val): Tweak section head comment.
1725 2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
1727         * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
1729 2003-07-16  Jakub Jelinek  <jakub@redhat.com>
1731         * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
1732         (uw_update_context_1): Use it.
1733         * config/rs6000/rs6000.c (insn_after_throw): Remove.
1734         (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
1735         in parent frame if _Unwind_* called directly instead of through
1736         .plt.
1737         (rs6000_emit_eh_toc_restore): Remove.
1738         (rs6000_emit_prologue): Update stack pointer before doing any saving
1739         if current_function_calls_eh_return.  Generate unwind info for $r2.
1740         (rs6000_emit_epilogue): Restore stack pointer after doing all
1741         restoring if current_function_calls_eh_return.  Restore $r2.
1742         * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
1743         * config/rs6000/rs6000.md (eh_return): Remove call to
1744         rs6000_emit_eh_toc_restore.
1745         * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
1746         * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
1748 2003-07-15  Jakub Jelinek  <jakub@redhat.com>
1750         * expr.c (emit_block_move): Don't move anything if size is const 0.
1751         (clear_storage): Test against const0_rtx instead of comparing INTVAL
1752         against 0.
1754 2003-07-15  David S. Miller  <davem@redhat.com>
1756         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
1757         emit nop if the last real insn is CALL_INSN.
1759 2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
1761         * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
1762         as "nul".
1763         * config/i386/xm-mingw32.h: Change GNU CC to GCC.
1765 2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
1767         * config/i386/winnt.c (associated_type): Artificial methods are not
1768         affected by the import/export status of their class unless they are
1769         COMDAT.
1770         (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
1772         * config/i386/winnt.c: Fix GCC copyright comment.
1774 2003-07-16  Gabriel Dos Reis  <gcc@integrable-solutions.net>
1776         PR c++/11531
1777         * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
1778         not recursing on hard error.
1779         (diagnostic_for_decl): Likewise.
1780         * diagnostic.def: Rearrange.
1782 2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
1784         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
1785         If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
1787 2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
1788             Richard Henderson  <rth@redhat.com>
1790         * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
1791         to decide if to access a _Unwind_Ptr or a _Unwind_Word.
1792         (_Unwind_SetGR): Likewise.
1793         (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
1794         (Unwind_SpTmp): New typedef.
1795         (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
1796         (uw_update_context): Use _Unwind_GetPtr.
1797         (init_dwarf_reg_size_table): Move above uw_init_context_1.
1798         (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
1799         Use _Unwind_SetSpColumn.
1800         (uw_install_context_1): Don't initialize dwarf_reg_size_table.
1801         Use _Unwind_GetPtr.
1803 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
1805         * c.opt: Document more options.
1806         * toplev.c (documented_lang_options): Remove all local help strings.
1808 2003-07-15  Mark Mitchell  <mark@codesourcery.com>
1810         PR debug/11473
1811         * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
1812         base classes.
1814 2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
1816         PR target/10795
1817         * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
1818         swap comparison operands if doing so would generate an
1819         unrecognizable insn.
1821 2003-07-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
1823         PR optimization/11320
1824         * sched-int.h (struct deps) [reg_conditional_sets]: New field.
1825         (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
1826         * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
1827         current_sched_info->compute_jump_reg_dependencies. Record which
1828         registers are used and which registers are set by the jump.
1829         Clear deps->reg_conditional_sets after a barrier.
1830         Set deps->reg_conditional_sets if the insn is a COND_EXEC.
1831         Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
1832         (init_deps): Initialize reg_conditional_sets.
1833         (free_deps): Clear reg_conditional_sets.
1834         * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
1835         Mark registers live on entry of the fallthrough block and conditionally
1836         set as set by the jump. Mark registers live on entry of non-fallthrough
1837         blocks as used by the jump.
1838         * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
1839         Mark new parameters as unused.
1841 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
1843         * doc/invoke.texi: Resync MIPS -march documentation.
1845 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
1847         * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
1848         (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
1849         (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
1850         * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
1851         (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
1852         (mips_issue_rate): Handle PROCESSOR_R9000.
1853         (mips_use_dfa_pipeline_interface): Likewise.
1854         * config/mips/9000.md: New file.
1855         * config/mips/mips.md: Include it.
1856         (define_attr cpu): Add r9000.
1857         (mulsi3_mult3): Use "mul" for rm9000 code.
1859 2003-07-15  Stan Cox  <scox@redhat.com>
1861         * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
1862         (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
1863         (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
1864         * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
1865         (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
1866         (mips_issue_rate): Handle PROCESSOR_R7000.
1867         (mips_use_dfa_pipeline_interface): Likewise.
1868         * config/mips/7000.md: New file.
1869         * config/mips/mips.md: Include it.
1870         (define_attr cpu): Add r7000.
1871         (mulsi3_mult3): Use "mul" for rm7000 code.
1873 2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
1875         * config/mips/mips.md (define_attr type): Add condmove.  Use it for
1876         the conditional move patterns.
1877         * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
1878         Check for condmove type.
1879         (ir_vr54_arith): Add move type.
1880         * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
1881         * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
1883 2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
1885         * c-opts.c (print_help): Remove.
1886         (c_common_handle_option): Don't handle --help.
1887         * c.opt: Document some options.
1888         (--help): Remove.
1889         * opts.c (print_filtered_help): New.
1890         (print_help): Use it.
1892 2003-07-14  Geoffrey Keating  <geoffk@apple.com>
1894         * c-common.c (c_common_type_for_mode): Handle V4DFmode.
1895         * tree.c: (build_common_tree_nodes_2): Likewise.
1896         * tree.h (enum tree_index): Add TI_V4DF_TYPE.
1897         (V4DF_type_node): New.
1899         * c-opts.c (push_command_line_include): Don't free deferred_opts,
1900         we'll need it.
1901         (finish_options): Reset init_cursor.
1903 2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
1905         * expr.c (expand_assignment): Remove an unused argument
1906         SUGGEST_REG.
1907         * expr.h: Update the prototype.
1908         * function.c: Update the callers.
1909         * stmt.c: Likewise.
1911 2003-07-14  Mark Mitchell  <mark@codesourcery.com>
1913         PR debug/11098
1914         * integrate.c (copy_decl_for_inlining): Do not mark copied decls
1915         as DECL_ABSTRACT.
1917 2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1919         * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
1920         with __cplusplus, not "we must use the C++ compiler's type"
1921         * fixinc/inclhack.def (void_null): Note that Interix needs this.
1922         * fixinc/fixincl.x: Regenerate.
1924 2003-07-14  Geoffrey Keating  <geoffk@apple.com>
1926         * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
1927         and unseen_objects from the global data before calling
1928         __deregister_frame_info_bases.
1929         (examine_objects): Insert objects into the seen_objects list,
1930         not unseen_objects.
1931         (_Unwind_Find_FDE): Always unlock the global object lists, even if
1932         we couldn't allocate a data structure to put in it.
1934         * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
1935         (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
1936         (SET_TYPE_PROTOCOL_LIST): New.
1937         * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
1938         (get_object_reference): Likewise.
1940 Mon Jul 14 23:14:28 CEST 2003  Jan Hubicka  <jh@suse.cz>
1942         * cfglayout.c (locator_file): Break out from ....
1943         (insn_file): ... here.
1944         (locator_line): Break out from ....
1945         (insn_line): ... here.
1946         * rtl.h (locator_file, locator_line): Declare.
1947         (final_start_function): Set proper line/file info.
1949 2003-07-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1951         * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
1952         handled by pp_c_cast_expression.
1954 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
1956         * config/mips/mips.c (mips_expand_prologue): Use a single insn to
1957         allocate 32768 bytes of stack.  Use addition rather than subtraction
1958         when a single insn is enough.
1959         * config/mips/mips.md: Remove insns and splitters for subtracting
1960         constants.
1961         (subsi3): Only accept register operands.
1962         (subsi3_internal): Likewise.  Use for TARGET_MIPS16 as well.
1963         (subdi3_internal_3, subsi3_internal_2): Likewise.
1964         (casesi): Use expand_binop to subtract the lower bound.
1966 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
1968         * config/mips/mips.c (mips_in_small_data_p): Don't handle
1969         TARGET_MIPS16 specially.
1971 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
1973         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
1974         mips_output_aligned_bss.
1975         * config/mips/linux.h: Likewise.
1976         * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
1977         * config/mips/mips.c (mips_output_aligned_bss): New function.
1979         * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
1980         * config/mips/elf64.h: Likewise.
1982         * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
1983         mips_declare_object_name.
1984         (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
1985         * config/mips/elf64.h: As for elf.h.
1986         * config/mips/iris6.h: Likewise.
1987         * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
1988         * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
1989         do...while (0) block.
1990         * config/mips/mips-protos.h (mips_declare_object_name): Declare.
1991         (mips_finish_declare_object): Declare.
1992         * config/mips/mips.c (mips_declare_object_name): New function.
1993         (mips_finish_declare_object): New function.
1995         * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
1996         * config/mips/linux.h: Likewise.
1998         * config/mips/mips.c (inside_function): Delete.
1999         (file_in_function_warning, ignore_line_number): Delete.
2000         (mips_output_filename): Don't warn about changing filenames within
2001         a function.
2002         (mips_output_lineno): Update accordingly.
2003         (mips_output_function_prologue): Don't reset the deleted variables.
2004         * config/mips/mips.h (inside_function): Delete.
2005         (file_in_function_warning, ignore_line_number): Delete.
2007         * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
2008         * config/mips/elf64.h: Likewise.
2009         * config/mips/openbsd.h: Likewise.
2010         * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
2011         * config/mips/linux.h: Likewise.
2012         * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
2013         (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
2015         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
2016         to the list of include files when using gas.
2017         (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
2018         * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
2019         * config/mips/elf64.h: Likewise.
2020         * config/mips/iris5.h: Likewise.
2021         * config/mips/linux.h: Likewise.
2022         * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
2023         * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
2024         (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
2025         * config/mips/sdb.h: ...this new file.
2027 2003-07-14  Douglas Rupp  <rupp@gnat.com>
2029         * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
2030         argument to getcwd; use fixed buffer instead.
2032 2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2034         * fixinc/mkfixinc.sh: Treat OpenBSD normally.
2035         * fixinc/fixinc.wrap: Delete.
2037 2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
2039         * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
2040         don't have 2.
2042 2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
2044         * ggc-page.c (struct globals): Add new fields to keep track of the
2045         total allocated memory and overhead.
2046         (ggc_print_statistics): Print them.
2047         (ggc_alloc): Keep track of the total allocated memory and the
2048         overhead.
2050         * tree.c (dump_tree_statistics): Increase spacing.
2051         (enum tree_node_kind): Move to ...
2052         * tree.h (enum tree_node_kind): ... here.
2053         (tree_node_counts, tree_node_sizes): Declare.
2055 2003-07-14  James A. Morrison  <ja2morri@student.math.uwaterloo.ca>
2057         * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
2059 2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2061         PR optimization/11440
2062         * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
2063         SIGN_EXTRACT SETs.
2065 2003-07-14  Alan Modra  <amodra@bigpond.net.au>
2067         * doc/tm.texi (BLOCK_REG_PADDING): Describe.
2068         * expr.h (struct locate_and_pad_arg_data): Add where_pad.
2069         (emit_group_load, emit_group_store): Adjust declarations.
2070         Remove most occurrences of #ifdef TREE_CODE.
2071         * expr.c (emit_group_load): Add "type" param, and use
2072         BLOCK_REG_PADDING to determine need for a shift.  Optimize non-
2073         aligned accesses if !SLOW_UNALIGNED_ACCESS.
2074         (emit_group_store): Likewise.
2075         (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
2076         emit_group_load and emit_group_store calls.
2077         * calls.c (store_unaligned_arguments_into_pseudos): Tidy.  Use
2078         BLOCK_REG_PADDING to determine whether we need endian_correction.
2079         (load_register_parameters): Localize vars.  Handle shifting of
2080         small values to the correct end of regs.  Adjust emit_group_load
2081         call.
2082         (expand_call, emit_library_call_value_1): Adjust emit_group_load
2083         and emit_group_store calls.
2084         * function.c (assign_parms): Set mem alignment for stack slots.
2085         Adjust emit_group_store call.  Store values at the "wrong" end
2086         of regs to the stack.  Use BLOCK_REG_PADDING.
2087         (locate_and_pad_parm): Save where_pad.
2088         (expand_function_end): Adjust emit_group_load call.
2089         * stmt.c (expand_value_return): Adjust emit_group_load call.
2090         * Makefile.in (calls.o): Depend on $(OPTABS_H).
2091         * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
2092         (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
2093         (MUST_PASS_IN_STACK): Define.
2094         (BLOCK_REG_PADDING): Define.
2095         * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
2096         (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
2097         * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
2098         (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
2099         Act on AGGREGATES_PAD_UPWARD_ALWAYS.
2101 2003-07-13  Aaron W. LaFramboise  <awlaframboise@aol.com>
2103         * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
2105 2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2107         * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
2108         both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
2110 2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
2112         PR other/11123
2113         * toplev.c: Don't cut off option names.
2115 2003-07-13  Andreas Jaeger  <aj@suse.de>
2117         * c-decl.c (link_hash_hash): Avoid warning about casting pointer
2118         to integer of different size.
2120 2003-07-13  Kazu Hirata  <kazu@cs.umass.edu>
2122         * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
2123         to (eq (and X 1) 0).
2125 2003-07-13  Andreas Jaeger  <aj@suse.de>
2127         * config.gcc: Add pmmintrin.h for x86_64-*-*.
2129 2003-07-13  Zack Weinberg  <zack@codesourcery.com>
2131         * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
2132         (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
2133         list.  Move these all together down by cpplib.
2135         * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
2136         definition of CPPCHAR_SIGNED_T.
2138         * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
2139         * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
2140         * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
2142         * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
2143         * cppinit.c (cpp_create_reader): Likewise.
2145         * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
2146         * cpptrad.c: Likewise.  All callers changed.
2147         * cpplib.c: All callers changed.
2148         * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
2149         * hashtable.h: Define GTY(x) to nothing here too.
2151 2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2153         * stor-layout.c (compute_record_mode): Remove very obsolete test
2154         that forces BLKmode for records with fields crossing word boundary.
2156 2003-07-13  Zack Weinberg  <zack@codesourcery.com>
2158         * Makefile.in: Remove orphan reference to acconfig.h.
2160 2003-07-13  Andreas Jaeger  <aj@suse.de>
2162         * cgraphunit.c: Convert prototypes to ISO C90.
2164 2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
2166         * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
2167         (for OpenBSD).
2168         * fixinc/fixincl.x: Rebuild.
2170 2003-07-12  Zack Weinberg  <zack@codesourcery.com>
2172         * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
2173         i?86-*-*.  Use correct name of cache variable.
2174         * configure: Regenerate.
2176 2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
2178         * config/alpha/alpha.c: Fix comment typos.
2179         * config/alpha/alpha.md: Likewise.
2180         * config/arm/arm.c: Likewise.
2181         * config/arm/arm.md: Likewise.
2182         * config/arm/lib1funcs.asm: Likewise.
2183         * config/avr/avr.md: Likewise.
2184         * config/arm/README-interworking: Fix typos.
2186 2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
2188         * c-format.c: Fix comment formatting.
2189         * c-typeck.c: Likewise.
2190         * coverage.c: Likewise.
2191         * cppcharset.c: Likewise.
2192         * cpplib.c: Likewise.
2193         * dbxout.c: Likewise.
2194         * gcov-io.h: Likewise.
2195         * toplev.c: Likewise.
2197 2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
2199         * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
2200         fix.
2202 2003-07-12  Zack Weinberg  <zack@codesourcery.com>
2204         * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
2205         uses three-argument AC_DEFINE so no acconfig.h entries are
2206         needed.
2207         (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
2208         which contains the GAS version number as a scaled integer.
2209         (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers.  Add
2210         ability to check for ELF assembler.
2211         (gcc_GAS_CHECK_FEATURE): New macro.
2212         * configure.in: Use gcc_AC_CHECK_TYPE.  Rewrite all
2213         assembler feature checks using gcc_GAS_CHECK_FEATURE.
2214         Use three-argument AC_DEFINE everywhere.
2215         * acconfig.h: Deleted.
2216         * config.in, configure: Regenerate.
2218 2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
2220         * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
2221         (on OpenBSD).
2222         * fixinc/fixincl.x: Regenerate.
2224         * fixinc/inclhack.def (gnu_types): Improve comment.
2226 2003-07-12  Andreas Jaeger  <aj@suse.de>
2228         * fp-test.c (main): Use ISO C90 prototype.
2230         * version.c: Remove unneded include of ansidecl.h.
2232         * cgraph.h: Convert prototypes to ISO C90.
2233         * cgraph.c: Likewise.
2234         * fix-header.c: Likewise.
2235         * ra.h: Likewise.
2236         * protoize.c: Likewise.
2238 Sat Jul 12 06:09:38 CEST 2003  Jan Hubicka  <jh@suse.cz>
2240         * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
2241         warning.
2243 Sat Jul 12 03:06:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
2244                                Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2246         * cgraph.c (cgraph_max_uid): New global variable.
2247         (cgraph_node): Set uid field.
2248         (create_edge): Keep inline flags consistent.
2249         (dump_cgraph): Dump more info.
2250         * cgraph.h (struct cgraph_local_info): Remove inline_many and
2251         can_inline_once; add inlinable, disgread_inline_limits, and self_insn
2252         (struct cgraph_global_info): Add insns, calls, cloned_times,
2253         will_be_output.
2254         (struct cgraph_node): Add uid.
2255         (struct cgraph_edge): Add inline_call.
2256         (cgraph_max_uid, cgraph_inline_p): Declare.
2257         * cgraph.c: Include params.h and fibheap.h
2258         (cgraph_mark_functions_to_inline_once): Kill.
2259         (INSNS_PER_CALL): New constant.
2260         (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
2261         static variables.
2262         (cgraph_finalize_function): Do not analyze inlining.
2263         (cgraph_finalize_compilation_unit): Set inlining attributes.
2264         (cgraph_mark_functions_to_output): More consistency checks.
2265         (cgraph_optimize_function): Set current_function_decl to NULL.
2266         (cgraph_expand_function): Use new inline flags.
2267         (cgraph_postorder): Expand from cgraph_expand_functions.
2268         (INLINED_TIMES, SET_INLINED_TIMES): New macros.
2269         (cgraph_inlined_into, cgraph_inlined_callees,
2270         cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
2271         cgraph_mark_inline, cgraph_check_inline_limits,
2272         cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
2273         cgraph_decide_inlining, cgraph_inline_p): New functions.
2274         * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
2275         PARAM_INLINE_UNIT_GROWTH): New parameters.
2276         * tree-inline.c (struct inline_data): New field current_decl.
2277         (expand_call_inline): Avoid forward declarations; use
2278         inlinable_function_p.
2279         (optimize_inline_calls): Set id.current_decl.
2281 2003-07-11  Andrew Pinski  <pinskia@physics.uc.edu>
2283         * configure.in: Remove wrongly added definition of
2284         local_prefix.
2285         * configure: Regenerate.
2287 2003-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
2289         * rtl.def (NOTE): Do not use padding.
2291 2003-07-11  Dara Hazeghi  <dhazeghi@yahoo.com>
2293         * doc/install.tex: Update required binutils for i?86-*-linux*
2295 2003-07-11  Richard Henderson  <rth@redhat.com>
2297         * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
2299 2003-07-11  Mark Mitchell  <mark@codesourcery.com>
2301         * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
2302         TRANSLATION_UNIT_DECL as top_level.
2304 2003-07-11  Jakub Jelinek  <jakub@redhat.com>
2306         * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
2307         then fall back to cmpstrM.
2308         * builtins.c (expand_builtin_memcmp): Likewise.
2309         * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
2310         (s390_expand_cmpmem): ... this.
2311         * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
2312         cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
2313         from cmpstr* patterns.  Rename call to s390_expand_cmpstr
2314         to s390_expand_cmpmem.
2315         * config/s390/s390.c (s390_expand_cmpstr): Rename to...
2316         (s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
2317         to cmpmem*.
2318         * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
2319         cmpstr* patterns.
2320         * doc/md.texi (cmpstrM): Describe as String compare insn, not
2321         Block compare insn.
2322         (cmpmemM): Add.
2324 2003-07-11  Loren James Rittle  <ljrittle@acm.org>
2326         * config/i386/freebsd.h (SET_ASM_OP): Remove.
2327         (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
2328         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
2329          MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
2331 2003-07-11  Richard Henderson  <rth@redhat.com>
2333         * function.c (assign_parms): Don't recombine complex args if
2334         fnargs is unchanged from orig_fnargs.
2335         (split_complex_args): Return args without complex before copying.
2336         Re-layout the modified parameters.
2338 2003-07-11  J"orn Rennecke <joern.rennecke@superh.com>
2340         * regclass.c (choose_hard_reg_mode): Add third argument.
2341         Changed all callers.
2342         * rtl.h (choose_hard_reg_mode): Update declaration.
2343         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
2344         Take HARD_REGNO_CALL_PART_CLOBBERED into account.
2346 2003-07-11  Geoffrey Keating  <geoffk@apple.com>
2348         * c-decl.c (finish_decl): Handle 'used' here...
2349         * cgraphunit.c (cgraph_finalize_function): ... and here ...
2350         * c-common.c: (handle_used_attribute): ... not here.
2352         * configure.in (onstep): Support --enable-intermodule.
2353         * Makefile.in (OBJS-common): New.
2354         (OBJS-md): New.
2355         (OBJS-archive): New.
2356         (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
2357         (OBJS-onestep): New.
2358         (libbackend.a): Support @onestep@.
2359         (libbackend.o): New.
2360         * configure: Regenerate.
2362         * c-common.h (c_reset_state): New prototype.
2363         (c_parse_file): New prototype.
2364         (finish_file): Move prototype from c-tree.h.
2365         * c-decl.c: Include <hashtab.h>.
2366         (builtin_decls): New.
2367         (current_file_decl): New.
2368         (duplicate_decls): Add extra parameter. Change all callers.  Don't
2369         output duplicate common symbols.
2370         (link_hash_hash): New.
2371         (link_hash_eq): New.
2372         (poplevel): Handle popping of the top level.
2373         (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
2374         (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
2375         (pushdecl_top_level): Likewise.
2376         (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
2377         (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
2378         (finish_decl): Handle TRANSLATION_UNIT_DECL.
2379         (merge_translation_unit_decls): New.
2380         (c_write_global_declarations): New.
2381         (c_reset_state): New.
2382         (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
2383         * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
2384         * c-objc-common.c (c_cannot_inline_tree_fn): Handle
2385         TRANSLATION_UNIT_DECL.
2386         (c_objc_common_finish_file): Call merge_translation_unit_decls.
2387         * c-opts.c (in_fnames): Rename from in_fname.
2388         (c_common_decode_option): Handle multiple input filenames.
2389         (c_common_post_options): Likewise.
2390         (c_common_parse_file): Likewise; also, call c_parse_file rather than
2391         yyparse.
2392         * c-parse.in: Move cleanup code to c_parse_file.
2393         (free_parser_stacks): Move contents to c_parse_file.
2394         (c_parse_file): New.
2395         * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
2396         for integer types.
2397         (C_DECL_FILE_SCOPE): New.
2398         (finish_file): Move prototype to c-common.h.
2399         (merge_translation_unit_decls): New prototype.
2400         (comptypes): Add extra parameter to prototype.
2401         (c_write_global_declarations): New prototype.
2402         * c-typeck.c (tagged_types_tu_compatible_p): New.
2403         (function_types_compatible_p): Add extra parameter, change all callers.
2404         (type_lists_compatible_p): Likewise.
2405         (comptypes): Likewise.
2406         (struct tagged_tu_seen): New.
2407         (tagged_tu_seen_base): New.
2408         (build_unary_op): Handle TRANSLATION_UNIT_DECL.
2409         (c_mark_addressable): Remove #if 0 code.
2410         * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
2411         comment explaining why it shouldn't have to.
2412         * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
2413         options.
2414         * cppinit.c (cpp_read_next_file): New.
2415         (cpp_read_main_file): Use it.
2416         * cpplib.c (undefine_macros): New.
2417         (cpp_undef_all): New.
2418         * cpplib.h (cpp_read_next_file): Prototype.
2419         (cpp_undef_all): Prototype.
2420         * langhooks-def.h (write_global_declarations): Remove prototype.
2421         * toplev.h (write_global_declarations): Add prototype.
2422         * tree.c (decl_type_context): Use switch statement, handle
2423         TRANSLATION_UNIT_DECL.
2424         * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
2425         (TRANSLATION_UNIT_DECL): New kind of tree.
2426         * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
2427         * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
2428         * doc/invoke.texi: Make attempt to document new functionality.
2430         2003-05-19  Per Bothner <bothner@apple.com>
2432         * gcc.c (combine_inputs): New.
2433         (process_command): Set combine_inputs.
2434         (do_spec_1): Handle combine_inputs.
2435         (main): Likewise.
2437 2003-07-10  James E Wilson  <wilson@tuliptree.org>
2439         PR optimization/9745
2440         * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
2441         loop_insn_emit_before.
2442         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2444 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
2446         * cppcharset.c: Fix comment.
2447         (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
2448         (EILSEQ): #define to EINVAL if not already defined.
2449         (convert_using_iconv): #if out when !HAVE_ICONV.
2450         (init_iconv_desc): Handle !HAVE_ICONV here...
2451         (cpp_init_iconv): ...not here.
2453 2003-07-11  Neil Booth  <neil@daikokuya.co.uk>
2455         * common.opt: More --help messages.
2456         * opts.c (print_help): Use puts().
2457         * toplev.c (f_options): Remove help text.
2458         (display_help): Don't dump f_options.
2460 2003-07-11  Nathanael Nerode  <neroden@gcc.gnu.org>
2462         * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
2463         Move i?86-*-interix* to the don't-fix list.
2464         * fixinc/fixinc.interix: Delete with extreme prejudice.
2466 2003-07-10  Dara Hazeghi  <dhazeghi@yahoo.com>
2468         PR bootstrap/10758
2469         * doc/install.texi: Document requirements for ia64-*-hpux* target.
2471 2003-07-10  Roger Sayle  <roger@eyesopen.com>
2473         * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
2475 2003-07-10  Zack Weinberg  <zack@codesourcery.com>
2477         * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
2478         one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
2479         one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
2480         convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
2481         convert_no_conversion, convert_using_iconv): New functions.
2482         (APPLY_CONVERSION): New macro.
2483         (struct conversion, conversion_tab): New data structure.
2484         (init_iconv_desc): Check conversion_tab for a custom conversion
2485         primitive before trying to use iconv.
2486         (convert_cset): Deleted.
2487         (cpp_init_iconv): Use UTF- terminology, not UCS-.
2488         (_cpp_destroy_iconv): Update to match.
2489         (_cpp_valid_ucn): We don't need iconv to implement UCNs.
2490         (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
2491         (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
2492         (_cpp_interpret_string_notranslate): New function, moved here
2493         from cpplib.c.
2495         * cpphash.h (convert_f, struct cset_converter): New types.
2496         (struct cpp_reader): narrow_cset_desc and wide_cset_desc
2497         are now struct cset_converter, not bare iconv_t.
2498         Update prototypes.
2499         * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
2500         all callers changed.
2502 2003-07-10  Kelley Cook  <kelleycook@wideopenwest.com>
2504         * Makefile.in (options.h): Depend on Makefile.  Add move-if-change
2505         to opts.sh command line.
2506         * opts.sh: Write to temporary files with a move-if-change at the end.
2508 2003-07-10  Denis Chertykov  <denisc@overta.ru>
2509             Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2511         * combine.c (gen_binary): Handle the CLOBBER rtx and
2512         don't build a binary operation with it.
2514 2003-07-10  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2516         * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
2517         store_killed_after, store_killed_before): Keep track of the correct
2518         dependency function to use.
2520 2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
2521         * toplev.c (do_compile): Don't try to open dump files before
2522         lang_dependent_init initializes dump_base_name.
2524 2003-07-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2526         * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
2527         Use ARRAY_SIZE.
2528         * config/frv/frv.c (frv_expand_builtin): Likewise.
2529         * config/sh/sh.c (sh_media_init_builtins): Likewise.
2531 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2533         PR c++/10032
2534         * doc/invoke.texi (C++ Dialect Options): Change documentation of
2535         -fpermissive.
2537 2003-07-10  J"orn Rennecke <joern.rennecke@superh.com>
2539         * tm.texi (RETURN_ADDR_OFFSET): Document.
2541 2003-07-10  Nathan Sidwell  <nathan@codesourcery.com>
2543         * gcov-io.h: Update documentation.
2544         (GCOV_UNSIGNED2STRING): New.
2545         (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
2546         GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
2547         GCOV_TAG_SUMMARY_LENGTH): Adjust.
2548         (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
2549         GCOV_TAG_COUNTER_NUM): New.
2550         (GCOV_BLOCK_SIZE): Number of words.
2551         (gcov_var): Adjust buffer type.
2552         * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
2553         (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
2554         count, not byte count.
2555         (gcov_open): Adjust overread init.
2556         (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
2557         gcov_write_string, gcov_write_tag, gcov_write_length,
2558         gcov_write_tag_length): Adjust.
2559         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
2560         (gcov_sync, gcov_seek): Adjust.
2561         * gcov-dump.c (print_usage): Show gcc version only.
2562         (dump_file): Use GCOV_UNSIGNED2STRING.
2563         (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
2564         * gcov.c (print_version): Show gcc version only.
2565         (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
2566         GCOV_TAG_*_NUM macros.
2567         (read_count_file): Use GCOV_UNSIGNED2STRING. Use
2568         GCOV_TAG_COUNTER_LENGTH.
2569         * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
2570         Use GCOV_TAG_COUNTER_NUM.
2571         * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
2572         (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
2574 2003-07-10  Andreas Schwab  <schwab@suse.de>
2576         * gcov-dump.c (dump_file): Fix missing address operator.
2578 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
2580         PR c/11449
2581         * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
2582         of HOST_WIDE_INT.
2583         (fold_single_bit_test): If sign_bit_p() fails, assume that the
2584         bit being tested is not a sign bit.
2586 2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
2588         * config/h8300/h8300.md (a peephole2): New.
2590 2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
2592         2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
2593         * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
2594         from ld-linux.so.2 to ld.so.1.
2595         2001-11-18  Alexandre Oliva  <aoliva@redhat.com>
2596         * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
2597         * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
2598         nor -Wl,-rpath-link.
2599         (LIB_SPEC): Add -rpath-link if !static.
2600         2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
2601         * config/mn10300/mn10300.c (mn10300_protect_label): New
2602         variable.
2603         * config/mn10300/linux.h (PRINT_OPERAND,
2604         PRINT_OPERAND_ADDRESS): Set it during their execution.
2605         (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
2606         mn10300_protect_label is set.
2607         * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
2608         -Wl,-rpath-link.
2609         (LIB_SPEC, STARTFILE_SPEC): Define.
2610         2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
2611         * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
2612         FLOAT_BIT_ORDER_MISMATCH.
2613         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
2614         * config.gcc (am33_2.0-*-linux*): Added.
2615         * config/mn10300/linux.h: New.
2616         * config/mn10300/t-linux: New.
2618 2003-07-10  Andreas Jaeger  <aj@suse.de>
2620         * fold-const.c: Properly wrap prototypes.
2622 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
2624         2003-06-16  Alexandre Oliva  <aoliva@redhat.com>
2625         * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
2626         Moved from...
2627         * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
2628         * config/mn10300/mn10300.h: GTY-declare it.
2629         2003-06-11  Alexandre Oliva  <aoliva@redhat.com>
2630         * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
2631         prototype.  Use incoming RTL argument.
2632         2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
2633         * config/mn10300/mn10300.md (int_label): Move C statements...
2634         (GOTaddr2picreg): ... here.
2635         2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
2636         * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
2637         * config/mn10300/mn10300.c (mn10300_encode_section_info):
2638         ... here.  New function.
2639         (TARGET_ENCODE_SECTION_INFO): Define to it.
2640         2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
2641         * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
2642         pattern name.
2643         (mn10300_loadPC): Define as insn splittable after reload.
2644         2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
2645         * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
2646         be defined in .rodata even in PIC, now that the assembler
2647         supports that.
2648         2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
2649         * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
2650         symbol take an underscore prefix.
2651         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
2652         * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
2653         legitimize_pic_address): Declare.
2654         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
2655         the PIC register as fixed.
2656         (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
2657         (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
2658         PIC.
2659         (LEGITIMATE_PIC_OPERAND_P): Define.
2660         (PIC_OFFSET_TABLE_REGNUM): Define.
2661         (GOT_SYMBOL_NAME): Define.
2662         (SYMBOLIC_CONST_P): Define.
2663         (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
2664         symbols.
2665         (MN10300_GLOBAL_P): Test it.
2666         (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
2667         (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
2668         * config/mn10300/mn10300.c (print_operand): Handle unspec.
2669         (expand_prologue): Set PIC register.
2670         (call_address_operand): Don't match SYMBOL_REFs in PIC.
2671         (legitimize_address): Call legitimize_pic_address.
2672         (legitimize_pic_address): New fn.
2673         (legitimate_pic_operand_p): New fn.
2674         * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
2675         (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
2676         UNSPEC_PLT): New constants.
2677         (pop_pic_reg): New insn.
2678         (movsi): Adjust non-PIC addresses.
2679         (builtin_setjmp_receiver): Restore the PIC register.
2680         (casesi): New insn.
2681         (call): Adjust non-PIC addresses.
2682         (int_label, GOTaddr2picreg): New expands.
2683         (am33_loadPC): New insn.
2684         (mn10300_loadPC): New expand.
2685         (call_next_insn): New insn.
2686         (add_GOT_to_pic_reg): New expand.
2687         (symGOT2reg, symGOT2reg_i): New expands.
2688         (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
2689         (sym2PIC, sym2PLT): New expands.
2691 2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
2693         * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
2694         2001-05-01  Alexandre Oliva  <aoliva@redhat.com>
2695         * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
2696         to flag_unsafe_math_optimizations.
2697         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
2698         * config/mn10300/mn10300.c (expand_prologue): Mark
2699         FP-register-saving insns as frame-related.
2700         2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
2701         * config/mn10300/mn10300.c
2702         (mn10300_get_live_callee_saved_regs): Don't search past
2703         LAST_EXTENDED_REGNUM.
2704         (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
2705         * config/mn10300/mn10300.md: Remove excessive line breaks from
2706         `@' output patterns that were accounted as additional
2707         alternatives.
2708         * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
2709         Re-introduce changes accidentally removed in Richard Sandiford's
2710         2000-12-05's patch.
2711         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2712         Re-instate am33-2 lost in merge from net GCC.
2713         2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
2714         * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
2715         floating-point registers.
2716         2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
2717         * config/mn10300/mn10300.md (movdf): Revert some am33-specific
2718         pessimizations that had gone in on 2000-05-08.
2719         2000-06-28  Graham Stott  <grahams@cygnus.co.uk>
2720         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
2721         2000-06-22  Graham Stott  <grahams@cygnus.co.uk>
2722         * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
2723         operand 0.
2724         * (movhi): Likewise.
2725         * (movsi): Likewise.
2726         * (movsf): Likewise.
2727         * (movdi): Likewise.
2728         * (movdf): Likewise.
2729         Wed May 24 13:16:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
2730         * config/mn10300/mn10300.c (fp_regs_to_save): New function.
2731         (can_use_return_insn, initial_offset): Add fp_regs_to_save.
2732         (expand_prologue, expand_epilogue): Save and restore FP regs.
2733         2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2734         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
2735         2000-05-13  Alexandre Oliva  <aoliva@cygnus.com>
2736         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
2737         subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
2738         Do not clobber cc0.
2739         2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
2740         * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
2741         Discourage the two-argument, longer opcodes.
2742         (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
2743         ones.
2744         * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
2745         (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
2746         * config/mn10300/mn10300.md (cmpsf): New pattern.
2747         (branch): Test mdep.fpCC and output fbCC.
2748         * config/mn10300/mn10300.c (print_operand): Output conditions.
2749         (notice_cc_update): Recognize fcmp and set mdep.fpCC.
2750         2000-05-10  Alexandre Oliva  <aoliva@cygnus.com>
2751         * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
2752         mulsf3, divsf3): Use the `F' constraint for FP values.
2753         * config/mn10300/mn10300.c (const_1f_operand): New function.
2754         * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
2755         * config/mn10300/mn10300.md (sqrtsf2): New expand.
2756         (rsqrtsf2): New insn.
2757         2000-05-09  Alexandre Oliva  <aoliva@cygnus.com>
2758         * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
2759         previous check-in.
2760         2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
2761         * config/mn10300/mn10300.md (abssf2, negdf2): On
2762         TARGET_AM33_2, expand to...
2763         (abssf2_am33_2, negdf2_am33_2): New insns.
2764         (addsf3, subsf3, mulsf3, divsf3): Likewise.
2765         (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
2766         * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
2767         movdi, movdf): Added FP regs.
2768         * invoke.texi (-mam33-2, -mno-am33-2): Document.
2769         2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
2770         * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
2771         New macros.
2772         (REGNO_AM33_2_FP_P): Renamed to...
2773         (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
2774         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2775         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
2776         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
2777         regs from GENERAL_REGS.
2778         2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
2779         * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
2780         * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
2781         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
2782         2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
2783         * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
2784         as FP_REGS.
2785         2000-04-21  Alexandre Oliva  <aoliva@cygnus.com>
2786         * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
2787         (EXTRA_CONSTRAINT): Added OK_FOR_Q.
2788         * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
2789         * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
2790         * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
2791         (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
2792         AM33/2.0 floating-point registers.
2793         (CONDITIONAL_REGISTER_USAGE): Adjust.
2794         (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
2795         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
2796         (REG_CLASS_FROM_LETTER): Added `f' and `A'.
2797         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
2798         * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
2799         (MULTILIB_DIRNAMES): Likewise.
2800         * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
2801         `__AM33_2__' when `-mam33-2' is given.
2802         (TARGET_AM33_2): Define.
2803         (TARGET_SWITCHES): Adjust.
2804         * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
2805         when appropriate.
2807 2003-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
2809         * doc/install.texi: Add missing @.
2811 2003-07-09  Bob Wilson  <bob.wilson@acm.org>
2813         * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
2815 2003-07-09  Aldy Hernandez  <aldyh@redhat.com>
2817         PR/11144
2818         * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
2820 2003-07-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2822         PR bootstrap/11043
2823         * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
2824         "x-crtfini.o" with "crtinit.o", "crtfini.o".
2826         * fixinc/inclhack.def (limits_ifndefs): Add select test.
2827         * fixinc/fixincl.x: Rebuild.
2829         * fixinc/inclhack.def (math_exception):  Improve bypass and comment.
2830         * fixinc/fixincl.x: Rebuild.
2832 2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
2834         * doc/install.texi (Configuration): Document the valgrind option
2835         to --enable-checking.
2837 Wed Jul  9 16:16:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
2839         * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
2841 2003-07-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2843         * c-lex.c (cb_ident): Cast cstr.text to const char *.
2845 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
2847         * gcov-io.h: Update documentation.
2848         (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
2849         GCOV_NOTE_MAGIC.
2850         (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
2851         (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
2852         (struct gcov_var): Change buffer's type. Add endian flag.
2853         (gcov_open): Remove mode in libgcov.
2854         (gcov_magic): Prototype.
2855         * gcov-io.c (from_file): New.
2856         (gcov_open): Clear endian flag.
2857         (gcov_magic): New.
2858         (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
2859         pointers.
2860         (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
2861         gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
2862         (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
2863         * gcov-iov.c (main): Correct cast.
2864         * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
2865         conversion.
2866         (gcov_begin_output): Use GCOV_NOTE_MAGIC.
2867         (coverage_init): Use GCOV_NOTE_SUFFIX.
2868         * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
2869         Rename to gcov_version, and return flag.
2870         (gcov_exit): Use gcov_version.
2871         (__gcov_init): Use gcov_version.
2872         * Makefile.in (coverageexts): Update.
2873         * gcov.c (print_version): Remove endianness conversion.
2874         (create_file_names): Use GCOV_NOTE_SUFFIX.
2875         (read_graph_file): Use gcov_magic.
2876         (read_count_file): Likewise.
2877         * gcov-dump.c (dump_file): Remove endianness conversion, use
2878         gcov_magic.
2880 2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
2882         * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
2883         coverage is on.
2884         * configure: Regenerated.
2885         * Makefile.in (ALL_CFLAGS): Correct its comment.
2887 2003-07-08  Mark Mitchell  <mark@codesourcery.com>
2889         * fold-const.c (make_range): Do not access operand 1 for a
2890         zero-operand operator.
2892 2003-07-09  Neil Booth  <neil@daikokuya.co.uk>
2894         * toplev.c (warn_dummy, W_options): Die.
2895         (display_help): Don't print W_options.
2896         * common.opt: Add W_options help from toplev.c.
2898 2003-07-09  Andreas Jaeger  <aj@suse.de>
2900         * opts.c (wrap_help): Only pass int arguments as arguments to
2901         printf's '*' modifier.  Change argument of function.
2903 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
2905         * doc/invoke.texi: Fix misspelling of "@item".
2907 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
2909         * config/i386/i386.md: Remove an old comment about
2910         NOTICE_UPDATE_CC.
2912 Wed Jul  9 03:00:10 CEST 2003  Jan Hubicka  <jh@suse.cz>
2914         * cgraph.c (cgraph_node_name): New function.
2915         (dump_cgraph): Use it.
2916         * cgraph.h (cgraph_dump_file): Declare.
2917         (cgraph_node_name): Declare.
2918         * cgraphunit.c: Include timevar.h
2919         (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
2920         (cgraph_optimize_function): Use TV_INTEGRATION.
2921         (cgraph_mark_local_functions): reorganize dumps.
2922         (cgraph_mark_functions_to_inline_once): Likewise.
2923         (cgraph_optimize): Likewise; use timevar.
2924         * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
2925         * toplev.c (dump_file_index): Add DFI_cgraph.
2926         (dump_file_info): Likewise.
2927         (cgraph_dump_file): New global variable.
2928         (do_compile): Open and close cgraph dump.
2929         * invoke.texi (-d): Document new flag; renumber.
2931 2003-07-08  Roger Sayle  <roger@eyesopen.com>
2933         PR c/11370
2934         * calls.c (emit_call_1): Don't bother popping the arguments off of
2935         the stack after a noreturn function call;  The adjustment is dead.
2936         (expand_call): Likewise.
2938 2003-07-08  Geoffrey Keating  <geoffk@apple.com>
2940         * expr.c (MOVE_MAX_PIECES): Move from here...
2941         * defaults.h (MOVE_MAX_PIECES): ... to here.
2943 2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
2945         * Makefile.in (stage1-start): Handle an empty SUBDIRS.
2947 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2949         * genattr.c (internal_dfa_insn_code): Don't prototype.
2950         * genattrtab.c (attr_desc): Add `static_p' field.
2951         (expand_units): Make blockage range and ready cost functions
2952         static.
2953         (write_attr_get): Don't add extern prototypes in C file.  Mark
2954         static functions as appropriate.
2955         (find_attr, make_internal_attr): Initialize static_p.
2956         * genattrtab.h (ATTR_STATIC): New macro.
2957         * genautomata.c (output_internal_reset_func): Mark output function
2958         as inline.
2959         (make_internal_dfa_insn_code_attr): Mark output function as static.
2961 2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2963         * genattrtab.h: Add new macros for attr `special' flags.
2964         * genattrtab.c (attr_desc): Reorder/resize fields better.
2965         Use attr `special' macros in all calls to make_internal_attr.
2966         * genautomata.c: Likewise.
2968 Wed Jul  9 02:25:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
2970         * c-common.c (c_estimate_num_insns_1): New static function.
2971         (c_estimate_num_insns): New global function.
2972         * c-common.h (DECL_NUM_STMTS): Rename to...
2973         (DECL_ESTIMATED_INSNS): ... this.
2974         (c_estimate_num_insns): Declare.
2975         * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
2976         * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
2977         * c-semantics.c (add_stmt): Do not account statements.
2978         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
2979         New.
2980         * langhooks.h (lang_hooks_for_tree_inlining): Add
2981         estimate_num_insns
2982         * params.def (max-inline-insns-auto, max-inline-insns-auto): set
2983         to 100.
2984         (max-inline-insns): set to 300.
2985         (min-inline-insns): set to 10.
2986         * tree-inline.c (struct inline_data): Rename inlined_stmts to
2987         inlined-insns.
2988         (INSNS_PER_STMT): Kill.
2989         (inlinable_function_p): Compute and store body size.
2990         (expand_call_inline): Likewise.
2991         (optimize_inline_calls): Likewise.
2993 2003-07-08  James E Wilson  <wilson@tuliptree.org>
2995         PR target/10021
2996         * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
2997         loop over new variable t2 instead of t.
2999 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
3001         PR bootstrap/11455
3002         * config/i386/winnt.c: Replace use of error(), warning() with
3003         error_with_decl(), warning_with_decl(),  throughout.
3005 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
3007         * opts.c (wrap_help): Use unsigned int, not size_t.
3009 2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
3011         * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
3012         as .file/.loc directives are incompatible with linker relaxation.
3014 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
3016         * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
3017         * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
3018         * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
3019         * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
3020         * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
3021         * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
3022         Escape { and } characters which are not part of range expressions.
3023         * fixinc/fixincl.x: Regenerate.
3024         * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
3026 2003-07-08  Steven Bosscher  <steven@gcc.gnu.org>
3028         PR c/1687
3029         * tree-inline.c (find_alloca_call): Use
3030         walk_tree_without_duplicates, instead of walk_tree.
3031         (find_builtin_longjmp_call): Likewise.
3032         * c-objc-common.c (c_cannot_inline_fn): Likewise.
3033         * c-semantics.c (find_reachable_label): Likewise.
3035 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
3037         PR c/11420
3038         * config/i386/i386.c (ix86_check_movabs): New function.
3039         * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
3040         * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
3041         (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
3043 2003-07-08  Chris Demetriou  <cgd@broadcom.com>
3045         * Makefile.in (install-po): Cope with empty CATALOGS.
3047 2003-07-08  Richard Sandiford  <rsandifo@redhat.com>
3049         * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3050         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
3051         (SECTION_FUNCTION_TEMPLATE): Delete.
3052         * config/mips/elf.h: As for elf64.h.
3053         (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
3054         * config/mips/linux.h: As for elf.h
3055         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3056         * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
3057         (EXTRA_SECTION_FUNCTIONS): Remove sdata_section.  Remove the handling
3058         of in_sdata from current_section_name and current_section_flags.
3059         * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3060         * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
3061         (MASK_GP_OPT, TARGET_GP_OPT): Delete.
3062         (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
3063         (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
3064         (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
3065         * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
3066         (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
3067         (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
3068         (override_options): Remove setting of MASK_GPOPT.
3069         (mips_output_external): Use mips_in_small_data_p to check whether a
3070         symbol needs an .extern directive.  Don't emit such directives for
3071         TARGET_EXPLICIT_RELOCS.
3072         (mips_declare_object): Update accordingly.
3073         (mips_select_rtx_section): Call named_section rather than
3074         SMALL_DATA_SECTION.
3075         (mips_select_section): Use default_elf_section_section for everything
3076         except .text string constants.
3077         (mips_in_small_data_p): New function.
3078         (mips_encode_section_info): Remove small data handling.
3079         (mips_unique_section): Delete.
3080         (iris6_section_type_flags): New function.
3081         * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
3083 2003-07-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3085         PR Target/11453
3086         * pa.md: Disparage all mtsar constraints.
3087         (extzv, extv, insv): Don't fail on length of {32|64}.
3089 2003-07-08  Zack Weinberg  <zack@codesourcery.com>
3091         * system.h: Poison MAP_CHARACTER.
3092         * config/i370/i370-protos.h (mvs_map_char): Delete.
3093         * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
3094         * config/i370/i370.h (MAP_CHARACTER): Delete definition.
3095         (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
3097 2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
3099         * toplev.c (randomize): Correct call to time().
3101 2003-07-08  Jakub Jelinek  <jakub@redhat.com>
3103         * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
3104         REG_EQUIV notes as well.
3106 2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
3108         * doc/md.texi: Fix the description of addmodecc.
3110 2003-07-07  Zack Weinberg  <zack@codesourcery.com>
3112         * Makefile.in (top_builddir): Set to "..", not ".".
3113         (INTLLIBS, INTLDEPS): Delete.
3114         (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
3115         (LIBDEPS): Add $(LIBICONV_DEP).
3116         (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
3117         (INCLUDES): Replace -I../intl with @INCINTL@.
3118         ($(top_builddir)/intl/libintl.a): Delete rule.
3119         (stage2-start, stage3-start, stage4-start, stageprofile-start,
3120         stagefeedback-start): Use $$ for variable to be evaluated by
3121         shell, not make.
3122         * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
3123         HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
3124         * aclocal.m4: sinclude ../config/progtest.m4.  Add
3125         contents of lcmessage.m4 from gettext distro.
3126         * configure.in: Check for wchar.h and setlocale.  Set
3127         LIBICONV_DEP to the empty string and substitute it.
3128         Call AM_LC_MESSAGES.  Delete AC_ARG_ENABLE for --enable-nls;
3129         this is handled elsewhere.  Use ZW_GNU_GETTEXT_SISTER_DIR,
3130         not CY_GNU_GETTEXT.  Clear $LIBICONV if its text is included
3131         in $LIBINTL, to avoid linking it twice.
3132         * configure, config.in: Regenerate.
3134 2003-07-08  Nathanael Nerode  <neroden@gcc.gnu.org>
3136         * fixinc/mkfixinc.sh: Remove winnt support.
3137         * fixinc/fixinc.winnt: Delete with extreme prejudice.
3139 2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
3141         * Makefile.in: Update.
3142         * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
3143         * c.opt: Update documentation.
3144         * common.opt: Add some help text.
3145         * opts.c: Include intl.h.
3146         (wrap_help, print_help): New.
3147         (find_opt, handle_option, common_handle_option): opt_text now
3148         contains the '-'.  Use print_help to output help.
3149         * opts.h (struct cl_option): New member "help".
3150         * opts.sh: Update to handle help text output and to prepend
3151         options with '-'.
3152         * toplev.c (display_help): Remove some help text.
3154 2003-07-07  David Edelsohn  <edelsohn@gnu.org>
3155             Fariborz Jahanian  <fjahanian@apple.com>
3157         * configure.in: Test for PowerPC mfcr field support in assembler.
3158         * config.in, configure: Regenderated.
3160         * config/rs6000/power4.md: Add mfcrf reservation.
3161         * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
3162         * config/rs6000/rs6000.c (mfcr_operation): Define.
3163         (print_operand): Add 'Q' case for mfcrf.
3164         * config/rs6000/rs6000.h (TARGET_MFCRF): New.
3165         * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
3166         (movcc_internal1): Emit optional field operand for mfcr and set
3167         "type" attribute appropriately.
3168         (mfcr SCC): Likewise.
3169         (movesi_from_cr_one): New.
3171 2003-07-07  Roger Sayle  <roger@eyesopen.com>
3173         * config/i386/i386.md: Correct check-in of incorrect version.
3175 2003-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3177         * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
3178         adjacent stdio calls.
3179         * c-decl.c (c_print_identifier): Likewise.
3180         * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
3181         * print-rtl.c (print_rtx): Likewise.
3182         * print-tree.c (print_node_brief, print_node): Likewise.
3183         * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
3185         * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
3186         * config.in, configure: Regenerated.
3188 2003-07-07  Roger Sayle  <roger@eyesopen.com>
3190         PR target/10979
3191         * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
3192         Changed to define_expand patterns that copy operand[1] to prevent
3193         it from being clobbered before emitting an atan2?f3_1 insn.
3194         (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
3195         patterns that actually specify the behaviour of x87's FPATAN.
3197 2003-07-07  Jakub Jelinek  <jakub@redhat.com>
3199         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
3200         clearing of SYMBOL_FLAG_LOCAL bit.
3201         If vcall_offset fits into signed 16-bit immediate, use
3202         one instruction for both addition and load.
3204 2003-07-07  Neil Booth  <neil@daikokuya.co.uk>
3206         * opts.c (common_handle_option): Correct handling of the
3207         -falign- switches that do and don't take an argument.
3209 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
3211         * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
3212         today.
3213         (pushhi1_h8300hs): Likewise.
3215 2003-07-07  Andreas Jaeger  <aj@suse.de>
3217         * genextract.c: Convert remaining prototypes to ISO C90.
3219         * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
3220         * fold-const.c (fold_single_bit_test): Likewise.
3221         * diagnostic.c (default_diagnostic_finalizer): Likewise.
3222         * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
3224         * gengtype.c (write_array): Generate ISO C90 prototypes.
3226         * genflags.c (gen_proto): Generate ISO C90 prototypes.
3228 2003-07-07  Roger Sayle  <roger@eyesopen.com>
3230         PR optimization/11059
3231         * expr.c (can_store_by_pieces): Return true if length is zero.
3232         (store_by_pieces): If length is zero and endp is two, abort,
3233         othwerise, if length is zero and endp is not two, return "to".
3234         (clear_by_pieces): Do nothing if length is zero.
3235         (clear_storage): Do nothing if length is zero.
3236         (store_constructor): Simplify code when size is zero, or the
3237         target has already been cleared.  This avoids emitting a
3238         blockage instruction when initializing empty structures.
3240 2003-07-07  Andreas Jaeger  <aj@suse.de>
3242         * mips-tfile.c: Convert prototypes to ISO C90.
3243         * mips-tdump.c: Convert prototypes to ISO C90.
3245 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
3247         * rtl.h (emit_line_note): Take a location_t.
3248         (emit_line_note_force): Remove.
3249         (set_file_and_line_for_statement): Take a location_t.
3250         * tree.g (emit_line_note): Take a location_t.
3251         * emit-rtl.c (emit_line_note): Take a location_t.
3252         (emit_line_note_force): Remove.
3253         * function.c (init_function_start): Adjust emit_line_note call.
3254         (expand_function_end): Use force_next_line_note, not
3255         emit_line_note_force.
3256         * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
3257         * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
3258         genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
3259         genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
3260         genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
3261         genrtl_continue_stmt, genrtl_switch_stmt,
3262         genrtl_asm_stmt): Likewise.
3263         * expr.c (expand_expr): Likewise.
3264         * integrate.c (expand_inline_function): Likewise.
3265         * stmt.c (set_file_and_line_for_stmt): Take a location_t.
3266         (expand_decl_init): Adjust emit_line_note call.
3268 2003-07-07  Dale Johannesen  <dalej@apple.com>
3270         * config/rs6000/darwin-tramp.asm:  Fix trampolines.  PR 10900.
3272 2003-07-07  Andreas Jaeger  <aj@suse.de>
3274         * config/i386/i386-protos.h: Convert prototypes to ISO C90.
3275         * config/i386/i386.c: Likewise.
3277 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
3279         * config/h8300/h8300.md: Use gen_int_mode instead of
3280         GEN_INT (trunc_int_for_mode (...)).
3282 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
3284         * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
3285         2 bytes and then subtract 2 from the stack pointer.
3286         (pushhi1_h8300hs): Likewise.
3288 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
3290         * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
3291         -frandom-seed.
3292         * configure: Regenerated.
3293         * Makefile.in: Remove extraneous comment.
3294         * toplev.c (randomize): Protect against potential multiple calls.
3295         * doc/invoke.texi (-frandom-seed): Document use for in coverage
3296         files.
3298 2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3299             Eric Botcazou  <ebotcazou@libertysurf.fr>
3301         PR optimization/11198
3302         * alias.c (objects_must_conflict_p): Return 1 if the types have
3303         the same alias set, not if the alias sets only conflict.
3305 2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>
3307         * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
3308         (convert_cset): Change inbuf to type ICONV_CONST char.
3309         * Makefile.in (LIBS): Add LIBICONV.
3311         * doc/invoke.texi (-falign-functions): Document that
3312         when n is zero then a machine-dependent default is used.
3313         (-falign-labels): Document that when n is zero then a
3314         machine-dependent default is used and that -falign-labels =1
3315         is equivalent to -fno-align-labels.
3316         (-falign-loops): Likewise.
3317         (-falign-jumps): Likewise.
3319 2003-07-06  Art Haas  <ahaas@airmail.net>
3321         * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
3322         initializer syntax.
3324 2003-07-06  James E Wilson  <wilson@tuliptree.org>
3326         PR optimization/9812
3327         * rtl.h (mem_for_const_double): Delete prototype.
3328         * varasm.c (mem_for_const_double): Delete function.
3329         * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
3330         config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
3331         (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
3332         * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
3333         (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
3334         * config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
3335         comment about confused support for XFmode constants.
3337 Mon Jul  7 02:03:56 CEST 2003  Jan Hubicka  <jh@suse.cz>
3339         * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
3341 2003-07-06  Kazu Hirata  <kazu@cs.umass.edu>
3343         * config/h8300/h8300.c: Fix comment typos.
3344         * config/h8300/h8300.md: Likewise.
3345         * config/i386/athlon.md: Likewise.
3346         * config/i386/i386.c: Likewise.
3347         * config/i386/pentium.md: Likewise.
3348         * config/ia64/ia64.c: Likewise.
3349         * config/ia64/itanium1.md: Likewise.
3350         * config/ia64/itanium2.md: Likewise.
3351         * config/m32r/m32r.md: Likewise.
3352         * config/m68hc11/m68hc11.c: Likewise.
3353         * config/mcore/mcore.c: Likewise.
3354         * config/mips/sr71k.md: Likewise.
3355         * config/mips/t-iris5-as: Likewise.
3356         * config/mmix/mmix.h: Likewise.
3357         * config/ns32k/ns32k.h: Likewise.
3358         * config/ns32k/NOTES: Fix a typo.
3360 2003-07-06  Andreas Jaeger  <aj@suse.de>
3362         * stmt.c: Convert remaining prototypes to ISO C90.
3363         * cfglayout.c: Likewise.
3364         * dbxout.c: Likewise.
3365         * gcc.c: Likewise.
3366         * genemit.c: Likewise.
3368         * basic-block.h: Convert prototypes to ISO C90.
3369         * c-parse.in: Likewise.
3370         * c-pragma.h: Likewise.
3371         * c-typeck.c: Likewise.
3372         * cfghooks.h: Likewise.
3373         * cfgloopanal.c: Likewise.
3374         * dbxout.h: Likewise.
3375         * debug.h: Likewise.
3376         * dwarf2asm.h: Likewise.
3377         * gcov.c: Likewise.
3378         * gengtype-lex.l: Likewise.
3379         * sched-int.h: Likewise.
3380         * timevar.c: Likewise.
3382 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
3384         * c-common.h (c_comon_handle_filename,
3385         c_common_missing_arguement): New.
3386         * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3387         LANG_HOOKS_MISSING_ARGUMENT): New.
3388         * c-opts.c (missing_arg): Rename c_common_missing_argument,
3389         update to be an appropriate langhook.
3390         (c_common_handle_option): Don't handle filenames.
3391         (c_common_handle_filename): New.
3392         * hooks.c (hook_void_constcharptr,
3393         hook_bool_constcharptr_size_t_false): New.
3394         * hooks.h (hook_void_constcharptr,
3395         hook_bool_constcharptr_size_t_false): New.
3396         * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
3397         LANG_HOOKS_MISSING_ARGUMENT): New.
3398         (LANG_HOOKS_INITIALIZER): Update.
3399         * langhooks.h (struct lang_hooks): Add handle_filename and
3400         missing_argument.
3401         * opts.c (handle_option): Don't handle filenames here, but ...
3402         (handle_options): ... here.
3403         (common_handle_option): Don't handle missing arguments here.
3404         * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3405         LANG_HOOKS_MISSING_ARGUMENT): New.
3407 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
3409         * Makfile.in: Remove traces of mbchar.
3410         * c-parse.in (MULTIBYTE_CHARS): Remove.
3411         * config.in (MULTIBYTE_CHARS): Remove.
3412         * configure: Remove --enable-mbchar.
3413         * configure.in: Remove --enable-mbchar.
3414         * mbchar.c, mbchar.h: Remove.
3415         * system.h: Poison MULTIBYTE_CHARS.
3416         * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
3417         * config/linux.h (MULTIBYTE_CHARS): Remove.
3418         * config/svr4.h (MULTIBYTE_CHARS): Remove.
3419         * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
3421 2003-07-06  Andreas Jaeger  <aj@suse.de>
3423         * varray.c (varray_check_failed): Fix typo.
3425         * unroll.c: Convert prototypes to ISO C90.
3426         * varasm.c: Likewise.
3427         * varray.c: Likewise.
3428         * varray.h: Likewise.
3429         * vmsdbgout.c: Likewise.
3430         * xcoffout.c: Likewise.
3431         * xcoffout.h: Likewise.
3433 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
3435         * gcov-io.h: Add a local time stamp.
3436         (struct gcov_info): Add stamp field.
3437         (gcov_truncate): New.
3438         * coverage.c (read_counts_file): Skip the stamp.
3439         (coverage_begin_output): Write the stamp.
3440         (build_gcov_info): Declare and init the stamp.
3441         (coverage_finish): Only unlink data file, if stamp is zero.
3442         * gcov-dump.c (dump_file): Dump the stamp.
3443         * gcov.c (bbg_stamp): New.
3444         (release_structures): Clear bbg_stamp.
3445         (read_graph_file): Read stamp.
3446         (read_count_file): Check stamp.
3447         * libgcov.c (gcov_exit): Check stamp and truncate if needed.
3449 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
3451         * tree.h (default_flag_random_seed): Remove.
3452         * toplev.h (local_tick): Declare.
3453         * tree.c (flag_random_seed, default_flag_random_seed): Move to
3454         toplev.c.
3455         (append_random_chars): Don't call default_flag_random_seed.
3456         * toplev.c (flag_random_seed): Define here. Set local_tick.
3457         (local_tick): Define.
3458         (randomize): New, moved from tree.c.
3459         (print_switch_values): Adjust.
3460         (toplev_main): Call randomize.
3462 2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
3464         * tree.h (crc32_string): Declare.
3465         * tree.c (append_random_chars): Remove.
3466         (crc32_string): New.
3467         (get_file_function_name_long): Use crc32_string here.
3469 2003-07-06  Andreas Jaeger  <aj@suse.de>
3471         * gcc.c: Convert prototypes to ISO C90.
3472         * gcc.h: Likewise.
3473         * gcov-dump.c: Likewise.
3474         * gcov-iov.c: Likewise.
3475         * gcse.c: Likewise.
3476         * genattrtab.h: Likewise.
3477         * ggc.h: Likewise.
3478         * global.c: Likewise.
3479         * graph.c: Likewise.
3480         * graph.h: Likewise.
3481         * hosthooks.h: Likewise.
3482         * hooks.h: Likewise.
3483         * hooks.c: Likewise.
3484         * hashtable.h: Likewise.
3485         * hashtable.c: Likewise.
3486         * haifa-sched.c: Likewise.
3487         * integrate.h: Likewise.
3488         * integrate.c: Likewise.
3489         * input.h: Likewise.
3490         * ifcvt.c: Likewise.
3491         * jump.c: Likewise.
3492         * langhooks-def.h: Likewise.  Add extern to prototypes.
3493         * langhooks.c: Likewise.
3494         * langhooks.h: Likewise.
3495         * lcm.c: Likewise.
3496         * local-alloc.c: Likewise.
3497         * loop-init.c: Likewise.
3498         * loop-unroll.c: Likewise.
3499         * loop-unswitch.c: Likewise.
3500         * loop.c: Likewise.
3501         * loop.h: Likewise. Add extern to prototypes.
3502         * machmode.h: Likewise.
3503         * main.c: Likewise.
3504         * mbchar.c: Likewise.
3505         * mbchar.h: Likewise.
3506         * mkdeps.c: Likewise.
3507         * mkdeps.h: Likewise.
3508         * optabs.c: Likewise.
3509         * optabs.h: Likewise.
3510         * output.h: Likewise.
3511         * gccspec.c: Likwise.
3512         * postreload.c: Likewise.
3513         * prefix.c: Likewise.
3514         * prefix.h: Likewise.
3515         * print-rtl.c: Likewise.
3516         * print-tree.c: Likewise.
3517         * profile.c: Likewise.
3518         * read-rtl.c: Likewise.
3519         * real.c: Likewise.
3520         * real.h: Likewise.
3521         * recog.c: Likewise.
3522         * recog.h: Likewise.
3523         * reg-stack.c: Likewise.
3524         * regclass.c: Likewise.
3525         * regmove.c: Likewise.
3526         * regrename.c: Likewise.
3527         * regs.h: Likewise.
3528         * reload.c: Likewise.
3529         * reload.h: Likewise.
3530         * reload1.c: Likewise.
3531         * reorg.c: Likewise.
3532         * resource.c: Likewise.
3533         * resource.h: Likewise.
3534         * rtl-error.c: Likewise.
3535         * rtl.c: Likewise.
3536         * rtl.h: Likewise.
3537         * rtlanal.c: Likewise.
3538         * sbitmap.c: Likewise.
3539         * sbitmap.h: Likewise.
3540         * scan-decls.c: Likewise.
3541         * scan.c: Likewise.
3542         * sched-deps.c: Likewise.
3543         * sched-ebb.c: Likewise.
3544         * sched-int.h: Likewise.
3545         * sched-rgn.c: Likewise.
3546         * sched-vis.c: Likewise.
3547         * sibcall.c: Likewise.
3548         * simplify-rtx.c: Likewise.
3549         * sreal.c: Likewise.
3550         * sreal.h: Likewise.
3551         * ssa-ccp.c: Likewise.
3552         * ssa-dce.c: Likewise.
3553         * ssa.c: Likewise.
3554         * ssa.h: Likewise.
3555         * stack.h: Likewise.
3556         * stmt.c: Likewise.
3557         * stor-layout.c: Likewise.
3558         * stringpool.c: Likewise.
3559         * target.h: Likewise.
3560         * timevar.c: Likewise.
3561         * timevar.h: Likewise.
3562         * tlink.c: Likewise.
3563         * tracer.c: Likewise.
3564         * tree-inline.c: Likewise.
3565         * tree-inline.h: Likewise.
3566         * tree.c: Likewise.
3567         * tree.h: Likewise.
3569 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
3571         * combine.c (nonzero_bits1): Fix a warning.
3573 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
3575         * config/h8300/h8300.c (compute_mov_length): Correct the
3576         length of loading CONST0_RTX (SFmode).
3578 2003-07-05  Nathan Sidwell  <nathan@codesourcery.com>
3580         * toplev.c (output_clean_symbol_name): Remove.
3581         * toplev.h (output_clean_symbol_name): Remove.
3582         * config/alpha/alpha.c (unicosmk_output_module_name): Use
3583         lbasename & clean_symbol_name.
3585 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
3587         * ggc.h: Follow spelling conventions.
3588         * config/i386/i386.c: Likewise.
3589         * config/i386/winnt.c: Likewise.
3590         * config/rs6000/rs6000.c: Likewise.
3592 2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
3594         * bt-load.c: Fix comment typos.
3595         * c-incpath.c: Likewise.
3596         * cfg.c: Likewise.
3597         * cfgcleanup.c: Likewise.
3598         * cfgloop.h: Likewise.
3599         * cfgloopmanip.c: Likewise.
3600         * cfgrtl.c: Likewise.
3601         * diagnostic.h: Likewise.
3602         * dwarfout.c: Likewise.
3603         * emit-rtl.c: Likewise.
3604         * et-forest.c: Likewise.
3605         * et-forest.h: Likewise.
3606         * expr.c: Likewise.
3607         * gcse.c: Likewise.
3608         * genattr.c: Likewise.
3609         * jump.c: Likewise.
3610         * langhooks.h: Likewise.
3611         * local-alloc.c: Likewise.
3612         * loop-unroll.c: Likewise.
3613         * loop-unswitch.c: Likewise.
3614         * ra-build.c: Likewise.
3615         * regclass.c: Likewise.
3616         * regmove.c: Likewise.
3617         * rtl.def: Likewise.
3618         * rtlanal.c: Likewise.
3619         * sched-ebb.c: Likewise.
3620         * sched-rgn.c: Likewise.
3621         * simplify-rtx.c: Likewise.
3622         * ssa.c: Likewise.
3623         * tracer.c: Likewise.
3624         * tree.c: Likewise.
3626 2003-07-05  Zack Weinberg  <zack@codesourcery.com>
3628         * cppcharset.c: Use the correct return type for the fallback iconv
3629         macro.
3631 Sat Jul  5 16:18:53 CEST 2003  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3633         Blame to Jan Hubicka  <jh@suse.cz>
3634         * cfglayout.c (record_effective_endpoints): Split insns before
3635         first basic block correctly.
3637 2003-07-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3639         * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
3640         bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
3641         if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
3643 2003-07-05  Andreas Jaeger  <aj@suse.de>
3645         * genattrtab.c (write_attr_get): Revert part of last patch to
3646         always write out a prototype.
3648         * genemit.c (gen_split): Readd lost unused attributes in last
3649         patch.
3651 2003-07-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3653         * cfgloopmanip.c (force_single_succ_latches): Force latch to be
3654         different from header.
3656 2003-07-05  Andreas Schwab  <schwab@suse.de>
3658         * config/m68k/m68k.c: Remove code protected by CRDS.
3659         * config/m68k/m68k.md: Likewise.
3661 2003-07-05  Neil Booth  <neil@daikokuya.co.uk>
3663         PR driver/11417
3664         * c-opts.c (permit_fortran_options): New.
3665         (c_common_init_options): Accept fortran front end options if
3666         it looks like we might be preprocessing Fortran.
3667         (c_common_handle_option): Don't reject switch if permit_fotran_options.
3669 2003-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3671         * genattr.c (internal_dfa_insn_code): Output prototype.
3672         * genattrtab.c: Don't output unnecessary decls, output in ISO C.
3673         * genautomata.c: Likewise.
3674         * genconditions.c: Likewise.
3675         * genemit.c: Likewise.
3676         * genextract.c: Likewise.
3677         * gengenrtl.c: Likewise.
3678         * gengtype.c: Likewise.
3679         * genopinit.c: Likewise.
3680         * genoutput.c: Likewise.
3681         * genpeep.c: Likewise.
3682         * genrecog.c: Likewise.
3684 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
3686         * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
3687         (struct cpp_options): Add narrow_charset, wide_charset,
3688         bytes_big_endian fields.  Remove EBCDIC field.
3689         (cpp_init_iconv, cpp_interpret_string): New external interfaces.
3691         * cpphash.h: Include <iconv.h> if we have it, otherwise
3692         provide a dummy definition of iconv_t.
3693         (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
3694         (_cpp_valid_ucn): Update prototype.
3695         (_cpp_destroy_iconv): New prototype.
3697         * doc/cpp.texi: Document character set handling.
3698         * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
3699         * doc/extend.texi: Delete entire section on multiline strings.
3700         Rewrite section on __FUNCTION__ etc now that these are
3701         variables in C.
3703         * cppucnid.tab, cppucnid.pl: New files.
3704         * cppucnid.h: New generated file.
3705         * cppcharset.c: Include cppucnid.h.  Lots of commentary added.
3706         (iconv_open, iconv, iconv_close): Provide dummy definitions
3707         if !HAVE_ICONV.
3708         (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
3709         _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
3710         emit_numeric_escape, convert_hex, convert_oct, convert_escape,
3711         cpp_interpret_string, narrow_str_to_charconst,
3712         wide_str_to_charconst): New.
3713         (ucn_valid_in_identifier): Use a binary search through the
3714         ucnranges table defined in cppucnid.h, not a long chain of if
3715         statements.
3716         (_cpp_valid_ucn): Add a limit pointer.  Downgrade "universal
3717         character names are only valid in C++ and C99" to a warning.
3718         Issue the "meaning of \[uU] is different in traditional C"
3719         warning here.  Take care not to let iconv see an invalid UCS
3720         value if we get a malformed UCN.  Issue an error if we don't
3721         have iconv.
3722         (cpp_interpret_charconst): Moved here from cpplex.c.  Use
3723         cpp_interpret_string to do the heavy lifting.
3725         * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
3726         narrow_charset, wide_charset fields of options structure.
3727         (cpp_destroy): Call _cpp_destroy_iconv.
3728         * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
3729         (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
3730         (cpp_interpret_charconst): Moved to cppcharset.c.
3731         * cpplib.c (dequote_string): Delete.
3732         (interpret_string_notranslate): New.
3733         (do_line, do_linemarker): Use interpret_string_notranslate.
3735         * Makefile.in (cppcharset.o): Depend on cppucnid.h.
3737         * c-common.c (fname_string, combine_strings): Delete.
3738         * c-common.h (fname_string, combine_strings): Delete prototypes.
3739         * c-lex.c (ignore_escape_flag): Delete.
3740         (cb_ident): Use cpp_interpret_string, not lex_string.
3741         (get_nonpadding_token): New function.
3742         (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
3743         Adjust calls to lex_string.  Don't write *value twice.
3744         (lex_string): Now handles string constant concatenation.
3745         Most of the work handed off to cpp_interpret_string.
3746         Call fix_string_type here.
3747         * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
3748         FUNC_NAME, throughout.
3749         (OBJC_STRING): New token type.
3750         (primary:STRING): No need to call fix_string_type here.
3751         (primary:objc_string): Make that OBJC_STRING.
3752         (objc_string nonterminal): Delete.
3753         (yylexname): Delete code to handle fake string constants.
3754         (yylexstring): Delete entirely.
3755         (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING.  No need
3756         to handle CPP_ATSIGN.
3758         * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
3759         * c-opts.c (missing_arg, c_common_handle_option): Handle
3760         OPT_fexec_charset_ and OPT_fwide_exec_charset_.
3761         (c_common_init): Set cpp_opts->bytes_big_endian, not
3762         cpp_opts->EBCDIC.  Call cpp_init_iconv.
3763         (print_help): Document -fexec-charset= and -fexec-wide-charset=.
3764         (TARGET_EBCDIC): Delete default definition.
3766         * objc/objc-act.c (build_objc_string_object): No need to
3767         handle string constant concatenation.
3769 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
3771         * doc/install.texi: Fix typos.
3772         * doc/invoke.texi: Likewise.
3773         * doc/tm.texi: Likewise.
3775 2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
3777         * config/pa/fptr.c: Fix comment typos.
3778         * config/pa/pa-64.h: Likewise.
3779         * config/pa/pa.c: Likewise.
3780         * config/pa/pa.h: Likewise.
3781         * config/rs6000/603.md: Likewise.
3782         * config/rs6000/7xx.md: Likewise.
3783         * config/rs6000/darwin.h: Likewise.
3784         * config/rs6000/freebsd.h: Likewise.
3785         * config/rs6000/rs6000.c: Likewise.
3786         * config/rs6000/rs6000.md: Likewise.
3787         * config/rs6000/spe.h: Likewise.
3789 2003-07-04  Ulrich Weigand  <uweigand@de.ibm.com>
3791         * config/s390/2064.md: Change GNU CC to GCC.
3792         * config/s390/2084.md: Likewise.
3793         * config/s390/fixdfdi.h: Likewise.
3794         * config/s390/linux.h: Likewise.
3795         * config/s390/s390-modes.def: Likewise.
3796         * config/s390/s390-protos.h: Likewise.
3797         * config/s390/s390.c: Likewise.
3798         * config/s390/s390.h: Likewise.
3799         * config/s390/s390.md: Likewise.
3800         * config/s390/s390x.h: Likewise.
3802 2003-07-04  Jeff Law  <law@redhat.com>
3804         PR c/11428
3805         * expr.c (do_store_flag): Pass in the correct result type
3806         when calling fold_single_bit_test.
3807         * fold-const.c (fold_single_bit_test): Use result_type for the
3808         result when folding a sign bit test.
3810 2003-07-04  Neil Booth  <neil@daikokuya.co.uk>
3812         * opts.c (common_handle_options): Negate sense of -falign- switches.
3814 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
3816         * Makefile.in: Replace PWD with PWD_COMMAND.
3818 2003-07-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3820         * cfgloopanal.c (count_strange_loop_iterations): New static function.
3821         (constant_iterations, count_loop_iterations, simple_loop_exit_p):
3822         Handle strange loops.
3824 2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>
3826         * install.texi: Even the g77 manpage is derived from
3827         the full g77 manual.
3829 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
3831         * ABOUT-NLS: Delete.
3832         * intl: Delete entire directory.
3833         * aclocal.m4: Include ../config/gettext.m4.  Delete
3834         AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
3835         AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
3836         * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
3837         Remove intl/Makefile from all_outputs.
3838         * configure, config.in: Regenerate.
3839         * Makefile.in: Expunge all references to intl subdirectory.
3840         Add -I../intl to INCLUDES.
3841         * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
3843 2003-07-04  Roger Sayle  <roger@eyesopen.com>
3845         * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
3846         * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
3848 2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
3850         PR c++/5287, PR c++/7910, PR c++/11021
3851         * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
3852         dllimport attribute if function is defined at declaration, but
3853         report error instead. Likewise for dllimport'd variable
3854         definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
3855         declared within functions, Report error if dllimport or dllexport
3856         symbol is not global.
3857         (i386_pe_dllimport_p): Ignore dllimport attribute of functions
3858         if defined after declaration or if inlined. Don't allow definition
3859         of static data members of C++ classes. Don't dllimport virtual
3860         methods.
3861         (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
3862         (i386_pe_mark_dllimport): Remove unnecessary checks.
3863         (i386_pe_encode_section_info): Warn if the dllimport attribute
3864         and symbol prefix have been instantiated and then overridden.
3866         * doc/extend.texi: Document dllimport and dllexport attributes.
3868         * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
3870 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
3872         * config/kaos.h (CPP_PREDEFINES): Delete.
3873         (TARGET_OS_CPP_BUILTINS): New.
3875 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3877         * c-aux-info.c: Include toplev.h after c-tree.h.
3878         * c-common.c: Likewise.
3879         (GCC_DIAG_STYLE): Undef.
3880         * c-semantics.c (GCC_DIAG_STYLE): Define.
3881         * c-tree.h (GCC_DIAG_STYLE): Likewise.
3882         * diagnostic.h (inform): Move prototype to toplev.h.
3883         * jump.c: Include diagnostic.h before toplev.h.
3884         * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
3885         (warning, error, fatal_error, pedwarn, sorry, inform,
3886         error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
3888 2003-07-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3890         * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
3891         at all if edge is not specified.
3892         (can_copy_bbs_p, copy_bbs): New.
3893         * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
3894         * cfgloop.c (get_loop_body): Comment more precisely.
3895         * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
3896         (scale_bbs_frequencies): Fix comment typo.
3897         (can_duplicate_loop_p): Use can_copy_bbs_p.
3898         (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
3900 2003-07-03  Devang Patel <dpatel@apple.com>
3902         * c-opts.c (c_common_parse_file): Remove extra
3903         debug_hooks->start_source_file call.
3905 2003-07-03  Roger Sayle  <roger@eyesopen.com>
3907         * real.c (real_trunc, real_floor, real_ceil): New functions
3908         to implement trunc, floor and ceil respectively.
3909         * real.h (real_trunc, real_floor, real_ceil): Prototype here.
3910         * builtins.c (integer_valued_real_p): New function to test if
3911         a floating point expression has an integer valued result.
3912         (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
3913         foo(x) where foo is an integer rounding function.  Similarly,
3914         optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
3915         (double)(int)x when both foo and bar are integer rounding
3916         functions and we don't need to honor errno.
3917         (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
3918         New functions to fold trunc, floor and ceil.
3919         (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
3920         fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
3921         to fold BUILT_IN_CEIL*.
3922         * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
3923         the remaining integer rounding functions.
3925 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
3927         * config/sparc/sparc.c (function_arg_partial_nregs): Use
3928         SPARC_INT_ARG_MAX to determine where to split unnamed
3929         complex FP arguments.
3931 Thu Jul  3 20:36:47 CEST 2003  Jan Hubicka  <jh@suse.cz>
3933         * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
3934         * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
3935         (merge_blocks_move_predecessor_nojumps,
3936          merge_blocks_move_successor_nojumps): Use merge_blocks.
3937         (try_optimize_cfg): Use merge_blocks_move.
3938         * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
3939         (merge_blocks_nomove): Rename to rtl_merge_blocks.
3940         (cfg_layout_create_basic_block): New.
3941         (rtl_can_merge_blocks): New.
3942         (cfg_layout_split_block): Do not alloc aux by hand.
3943         * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
3944         merge_blocks.
3945         (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
3946         * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
3947         * cfgloopmanip.c (loop_split_edge_with): Likewise.
3948         * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
3950         * basic-block.h (basic_block_def): Add field 'rbi'.
3951         * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
3952         find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
3953         * cfg.c (entry_exit_blocks): Add new field.
3954         * cfglayout.c: Include alloc-pool.h;
3955         (cfg_layout_pool): New.
3956         (record_effective_endpoints, fixup_reorder_chain,
3957         fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
3958         of rbi.
3959         (cfg_layout_initialize_rbi): New function.
3960         (cfg_layout_initialize): Use it.
3961         (cfg_layout_finalize): Clear rbi fields.
3962         * cfglayout.h (RBI): Kill.
3963         (cfg_layout_initialize_rbi): Declare.
3964         * cfgloopmanip.c (copy_bbs): Use rbi.
3965         (record_exit_edges): Likewise.
3966         (duplicate_loop_to_header_edge): Likewise.
3967         * cfgrtl.c (cfg_layout_create_basic_block): Use
3968         cfg_layout_initialize_rbi.
3969         (cfg_layout_split_block): Use rbi.
3970         (cfg_layout_delete_block): Likewise.
3971         * loop-init.c (loop_optimizer_finalize): Likewise.
3972         * loop-unswitch.c (unswitch_loop): Likewise.
3973         * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
3975         * cfgrtl.c: Update comments.
3976         (try_redirect_by_replacing_jump): New argument.
3977         (redirect_branch_edge): Break out from ...
3978         (rtl_redirect_edge_and_branch): ... this one.
3979         (update_cfg_after_block_merging): Break out from ...
3980         (rtl_merge_blocks): ... this one.
3981         (cfg_layout_split_edge): New.
3982         (cfg_layout_merge_blocks): New.
3983         (cfg_layout_can_merge_blocks_p): New.
3984         (cfg_layout_redirect_edge_and_branch): Reorganize.
3985         (cfg_layout_rtl_cfg_hooks): Fill in.
3986         (cfg_layout_delete_block): Kill barriers.
3987         * cfganal.c (can_fallthru): Deal with exit blocks
3988         * cfglayout.c (cfg_layout_function_header): New function
3989         (record_effective_endpoints): Record function header.
3990         (fixup_reorder_chain): Fixup dead jumptables; place header
3992         * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
3993         * bb-reorder.c (cfg_layout_initialize): Update call.
3994         * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
3995         edges in cfglayout mode.
3996         * cfglayout.c (cleanup_unconditional_jumps): Kill.
3997         (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
3998         * cfglayout.h (cfg_layout_initialize): Update prototype.
3999         * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
4000         * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
4001         * flow.c (propagate_block): Do not crash when basic block ends
4002         by first insn in the chain.
4003         * loop-init.c (loop_optimizer_init):  First enter cfglayout mode; later
4004         do loop discovery.
4005         * tracer.c (tracer): Update call of cfg_layout_initialize.
4007 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4009         * Makefile.in: Use dependency variables in lieu of explicit
4010         files throughout.
4012 2003-07-03  Steven Bosscher  <steven@gcc.gnu.org>
4014         * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
4015         * tree.h: ...to here.
4017 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
4019         * config/s390/2064.md: Fix comment typos.
4020         * config/s390/2084.md: Likewise.
4021         * config/s390/s390.c: Likewise.
4022         * config/s390/s390.md: Likewise.
4023         * config/sh/sh.c: Likewise.
4024         * config/sh/sh.h: Likewise.
4025         * config/sh/sh.md: Likewise.
4026         * config/sparc/sparc.c: Likewise.
4027         * config/sparc/sparc.h: Likewise.
4028         * config/sparc/sparc.md: Likewise.
4029         * config/stormy16/stormy16.c: Likewise.
4030         * config/stormy16/stormy16.h: Likewise.
4031         * config/stormy16/stormy-abi: Fix a typo.
4033 2003-07-03  Kelley Cook  <kelleycook@wideopenwest.org>
4035         * Makefile.in (ifcvt.o): Depend on OPTABS_H.
4037 2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4039         * config/mips/mips.h (save_argv): Delete.
4041 2003-07-03  Roger Sayle  <roger@eyesopen.com>
4043         PR target/10700
4044         * fold-const.c (extract_muldiv_1): There's nothing that can be done
4045         if the expression is a SAVE_EXPR.
4047 2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
4049         * config/m32r/m32r.c: Fix comment typos.
4050         * config/m68hc11/m68hc11.c: Likewise.
4051         * config/m68hc11/m68hc11.h: Likewise.
4052         * config/m68k/m68k.c: Likewise.
4053         * config/mcore/mcore.c: Likewise.
4054         * config/mcore/mcore.h: Likewise.
4055         * config/mcore/mcore.md: Likewise.
4056         * config/mips/mips.c: Likewise.
4057         * config/mips/mips.h: Likewise.
4058         * config/mips/mips.md: Likewise.
4059         * config/mips/netbsd.h: Likewise.
4060         * config/mn10300/mn10300.c: Likewise.
4062 2003-07-03  Andreas Schwab  <schwab@suse.de>
4064         * dbxout.c (pending_bincls): Move decl down inside
4065         DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
4067 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
4069         * rtl.h (NOTE_DATA): Refer to whole union.
4070         * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
4072 2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
4074         PR optimization/11381
4075         * simplify-rtx.c (simplify_relational_operation): Check that
4076         two equal operands have no side-effects before simplifying
4077         the comparison.
4079 2003-07-02  Jeff Law  <law@redhat.com>
4081         * expr.c (do_store_flag): Remove special case folding for
4082         single bit tests.  Instead call back into the commonized folder
4083         routine.
4084         * fold-const.c (fold_single_bit_test): New function, mostly
4085         extracted from do_store_flag, with an additional case extracted
4086         from fold.
4087         (fold): Call fold_single_bit_test appropriately.
4088         * tree.h (fold_single_bit_test): Prototype.
4090 2003-07-02  Zack Weinberg  <zack@codesourcery.com>
4092         * system.h: Include filenames.h.
4093         (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
4094         (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
4095         define based on HAVE_DOS_BASED_FILE_SYSTEM.
4096         * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
4097         * config/i386/xm-mingw32.h: Don't define
4098         HAVE_DOS_BASED_FILE_SYSTEM,
4099         DIR_SEPARATOR, or DIR_SEPARATOR_2.
4100         * doc/hostconfig.texi: Update to match.
4102         * cppfiles.c, gcc.c, gensupport.c, protoize.c,
4103         config/i386/cygwin.h:
4104         Use IS_ABSOLUTE_PATH throughout.
4105         * gcc.c (DIR_UP): Delete, unused.
4106         * protoize.c (IS_SAME_PATH): Define in terms of
4107         FILENAME_CMP.
4108         (is_abspath): Delete.
4110 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
4112         * config/i386/emmintrin.h: Fix comment typos.
4113         * config/i386/i386.c: Likewise.
4114         * config/i386/i386.h: Likewise.
4115         * config/i386/sco5.h: Likewise.
4116         * config/ia64/ia64.c: Likewise.
4117         * config/ia64/itanium2.md: Likewise.
4119 2003-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4121         * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
4122         DBX_USE_BINCL.
4123         (emit_bincl_stab): Same.
4124         (emit_pending_bincls): Same.
4126 2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
4128         * config/h8300/h8300.c (compute_mov_length): Fix the length of
4129         loading CONST0_RTX (SFmode).
4130         * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
4131         'G' to CONST0_RTX (SFmode).
4132         * config/h8300/h8300.md (movsf_h8300): Change the first
4133         constraint to 'G'.
4134         (movsf_h8300h): Likewise.
4136 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
4138         * c-common.h (c_common_init_options): New prototype.
4139         * c-opts.c (deferred_size): Remove.
4140         (defer_opt): Array is now pre-allocated.
4141         (c_common_init_options): Pre-allocate deferred_opts.  Make
4142         lang_flags unsigned.
4143         (push_command_line_options): Free deferred_opts.
4144         * hooks.c (hook_uint_uint_constcharptrptr_0): New.
4145         * hooks.h (hook_uint_uint_constcharptrptr_0): New.
4146         * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
4147         * langhooks.h (struct lang_hooks): New prototype for init_options.
4148         * main.c (main): Cast argv.
4149         * opts.c (handle_option, handle_options): Update prototypes.
4150         (decode_options): save_argc, save_argv are not global.  Constify.
4151         * opts.h (decode_options): New prototype.
4152         * toplev.c (general_init): New protoype.
4153         (save_argv): Make static.
4154         (save_argc): Remove.
4155         (print_switch_values, general_init): Constify.
4156         (toplev_main): Save argv.
4157         * toplev.h (toplev_main): Update prototype.
4158         (save_argc, save_argv): Remove.
4160 2003-07-02  David Edelsohn  <edelsohn@gnu.org>
4162         * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
4163         (emit_bincl_stab): Same.
4164         (emit_pending_bincls): Same.
4166 2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
4168         PR c++/11072
4169         * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
4171 2003-07-02  Andreas Schwab  <schwab@suse.de>
4173         * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
4175 2003-07-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
4177         PR optimization/11210
4178         * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
4179         about the behaviour with regard to bitfields.
4180         * fold-const (decode_field_reference): Record outermost type in
4181         case the expression is a NOP. Strip all NOPs. Set the signedness
4182         to that of the outermost type (if any) when the bitsize is equal
4183         to the size of the type.
4185 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
4187         * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
4188         (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
4189         (adddi3_internal_3, addsi3_internal_2): Likewise.
4191 2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
4193         * config/mips/mips.c (machine_function): Add new fields:
4194         ignore_hazard_length_p and all_noreorder_p.
4195         (mips_flag_delayed_branch): New variable.
4196         (override_options): Treat '/' as an operand punctuation character.
4197         Set up mips_flag_delayed_branch.
4198         (print_operand): Handle '/'.
4199         (mips_output_function_prologue): Put the whole function in
4200         .set noreorder and .set nomacro if all_noreorder_p is true.
4201         (mips_output_function_epilogue): End the noreorder/nomacro sequence.
4202         (mips16_optimize_gp): Remove "first insn" parameter.
4203         (mips16_lay_out_constants): New function, split out from mips_reorg.
4204         (mips_avoid_hazard, mips_avoid_hazards): New functions.
4205         (mips_reorg): For mips16 code, call mips16_lay_out_constant
4206         and (optionally) mips16_optimize.  If TARGET_EXPLICIT_RELOCS,
4207         do delayed-branch scheduling followed by hazard detection.
4208         (mips_adjust_insn_length): Only account for hazards if
4209         !ignore_hazard_length_p.
4210         (mips_output_load_label): Add a nop to the o32 sequence if
4211         the target suffers from load delays.
4212         (mips_output_conditional_branch): Add %/ to the end of branches.
4213         (mips_output_division): Fill the branch delay slot with %#.
4214         * config/mips/mips.md: Remove redundant '%*' from mips16 branch
4215         instructions.  End all other %* branches with %/.
4216         (ffssi2, ffsdi2): Fix lengths.
4217         (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
4218         (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
4219         (fix_truncsfsi2_macro): Likewise.
4220         (mov_lwl): Set hazard to "none".
4221         (ashldi3_internal): Fill the branch delay slot with %#.
4222         (ashrdi3_internal, lshrdi3_internal): Likewise.
4223         (exception_receiver): Explicitly set $28.
4224         (hazard_nop): New pattern.
4226 Wed Jul  2 08:12:36 CEST 2003  Jan Hubicka  <jh@suse.cz>
4228         * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
4229         before calling tree_inlinable_function_p.
4231 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4233         * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
4234         <internal/stdio_core.h> too.
4235         (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
4236         <internal/wchar_core.h> too.
4237         Substitute va_list uses in inline definition.
4238         * fixinc/fixincl.x: Regenerate.
4240 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4242         * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
4243         Undef before redefinition.
4244         (LABEL_AFTER_LOC): Likewise.
4245         (DEFAULT_SIGNED_CHAR): Likewise.
4246         (ASM_OUTPUT_ASCII): Moved here from iris4.h.
4247         Fix IRIX spelling.
4249         * config/mips/iris3.h: Remove, unused.
4250         * config/mips/iris4.h: Likewise.
4252         * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
4254         * config/mips/iris5.h (TARGET_DEFAULT): Move ...
4255         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
4256         target_cpu_default.
4258         * config/mips/iris5.h: Move explicit includes ...
4259         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
4261         * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
4262         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4263         tm_defines.
4265         * config/mips/iris6.h (TARGET_DEFAULT): Move ...
4266         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4267         target_cpu_default.
4269         * config/mips/iris6.h: Fix IRIX spelling.
4270         (MULTILIB_DEFAULTS): Undef before redefinition.
4272         * config/mips/iris6.h: Move explicit includes ...
4273         * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
4275 Wed Jul  2 02:16:48 CEST 2003  Jan Hubicka  <jh@suse.cz>
4277         * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
4278         cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
4279         Use next_needed field instead of aux to maintain the queue.
4280         * cgraph.h (cgraph_node): Add next_needed.
4281         (cgraph_varpool_node): Add next_needed; remove aux.
4282         * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
4284 Wed Jul  2 02:12:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
4286         * cgraphunit.c (cgraph_finalize_function): Set finalized.
4287         (cgraph_finalize_function): Do not examine inlinablility.
4288         (cgraph_finalize_compilation_unit): Do it here.
4289         * cgraph.h (cgraph_local_info): Add finalized field.
4291 2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4293         * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
4294         (gt_pch_restore): Likewise.
4296 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
4298         * config/alpha/alpha.c: Fix comment typos.
4299         * config/alpha/elf.h: Likewise.
4300         * config/arm/arm.c: Likewise.
4301         * config/arm/arm.h: Likewise.
4302         * config/arm/arm.md: Likewise.
4303         * config/arm/t-arm-coff: Likewise.
4304         * config/arm/t-strongarm-pe: Likewise.
4305         * config/arm/xscale-elf.h: Likewise.
4306         * config/avr/avr.h: Likewise.
4308 2003-07-01  Jeff Law  <law@redhat.com>
4310         * stmt.c (any_pending_cleanups): Remove another redundant test.
4312 2003-07-01  David Edelsohn  <edelsohn@gnu.org>
4313             J"orn Rennecke <joern.rennecke@superh.com>
4315         * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
4316         for MEM case.
4318 2003-07-01  Devang Patel  <dpatel@apple.com>
4320         * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
4321         (binclstatus): New.
4322         (struct dbx_file): New members - bincl_status, pending_bincl_name and
4323         prev.
4324         (pending_bincls): New.
4325         (dbxout_init): Initialize new dbx_file members.
4326         (dbxout_start_source_file): Same.
4327         (emit_bincl_stab): New function.
4328         (emit_pending_bincls): Same.
4329         (emit_pending_bincls_if_required): Same.
4330         (dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
4331         processed.
4332         (dbxout_begin_block): Emit pending BINCL stabs.
4333         (dbxout_end_block): Same.
4334         (dbxout_function_decl): Same.
4335         (dbxout_continue): Same.
4336         (dbxout_type): Same.
4337         (dbxout_class_name_qualifiers): Same.
4338         (dbxout_symbol): Same.
4339         (dbxout_symbol_location): Same.
4340         (dbxout_parms): Same.
4342 2003-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4344         * c-semantics.c (genrtl_case_label): Fix format specifier bug.
4345         * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
4347 2003-07-01  Andreas Jaeger  <aj@suse.de>
4349         * fold-const.c: Convert prototypes to ISO C90.
4350         * function.c: Likewise.
4351         * function.h: Likewise.
4353 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
4355         * doc/contrib.texi: Fix typos.
4356         * doc/invoke.texi: Likewise.
4357         * doc/passes.texi: Likewise.
4358         * doc/sourcebuild.texi: Likewise.
4359         * doc/tm.texi: Likewise.
4361 2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
4363         * basic-block.h: Fix comment typos.
4364         * bb-reorder.c: Likewise.
4365         * c-format.c: Likewise.
4366         * cfgcleanup.c: Likewise.
4367         * cfghooks.h: Likewise.
4368         * cfgloop.c: Likewise.
4369         * cfgloopmanip.c: Likewise.
4370         * cfgrtl.c: Likewise.
4371         * cgraph.h: Likewise.
4372         * cgraphunit.c: Likewise.
4373         * combine.c: Likewise.
4374         * convert.c: Likewise.
4375         * dbxout.c: Likewise.
4376         * df.c: Likewise.
4377         * df.h: Likewise.
4378         * diagnostic.c: Likewise.
4379         * dwarf2out.c: Likewise.
4380         * et-forest.h: Likewise.
4381         * flow.c: Likewise.
4382         * fold-const.c: Likewise.
4383         * function.h: Likewise.
4384         * gcov-io.h: Likewise.
4385         * gcov.c: Likewise.
4386         * gcse.c: Likewise.
4387         * genautomata.c: Likewise.
4388         * ggc-common.c: Likewise.
4389         * ggc-page.c: Likewise.
4390         * loop-unroll.c: Likewise.
4391         * loop-unswitch.c: Likewise.
4392         * loop.c: Likewise.
4393         * mips-tfile.c: Likewise.
4394         * optabs.c: Likewise.
4395         * ra-build.c: Likewise.
4396         * ra-colorize.c: Likewise.
4397         * ra-rewrite.c: Likewise.
4398         * ra.h: Likewise.
4399         * regmove.c: Likewise.
4400         * reload.c: Likewise.
4401         * rtlanal.c: Likewise.
4402         * sched-ebb.c: Likewise.
4403         * sched-int.h: Likewise.
4404         * sched-vis.c: Likewise.
4405         * sreal.c: Likewise.
4406         * ssa-ccp.c: Likewise.
4407         * ssa.c: Likewise.
4408         * toplev.c: Likewise.
4409         * tree-inline.c: Likewise.
4410         * value-prof.c: Likewise.
4411         * value-prof.h: Likewise.
4413 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
4415         * rtl.h (emit_line_note_after): Remove.
4416         (emit_note_copy_after, emit_note_copy): New.
4417         * emit-rtl.c (reorder_insns_with_line_notes): Replace
4418         emit_line_note_after with emit_note_copy_after.
4419         (emit_insn_after_with_line_notes): Likewise.
4420         (emit_line_note_after): Kill.
4421         (emit_note_copy_after): New.
4422         (emit_note_copy): New.
4423         * function.c (emit_return_into_block): Use emit_note_copy_after.
4424         (thread_prologue_and_epilogue_insns): Likewise.
4425         * integrate.c (expand_inline_function): Use emit_note_copy.
4426         (copy_insn_list): Likewise.
4427         * unroll.c (copy_loop_body): Likewise.
4428         * cfglayout.c (duplicate_insn_chain): Likewise.
4430 2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
4432         * c-tree.h (define_label): Replace filename and lineno arguments
4433         with a location_t.
4434         * c-decl.c (poplevel): Adjust define_label call.
4435         (pop_label_level): Likewise.
4436         (define_label): Replace filename and lineno arguments with a
4437         location_t.
4438         (store_parm_decls): Use DECL_SOURCE_LOCATION.
4439         * c-parse.in (label): Adjust define_label call.
4441 2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
4443         * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
4444         config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
4445         config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
4446         config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
4447         config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
4449 2003-07-01  Andreas Jaeger  <aj@suse.de>
4451         * final.c: Convert prototypes to ISO C90.
4452         * flow.c: Likewise.
4453         * flags.h: Likewise.
4454         * gcov-io.c: Likewise.
4455         * gcov-io.h: Likewise.
4457 See ChangeLog.9 for earlier changes.