1 2003-08-06 Phil Edwards <pme@gcc.gnu.org>
3 * doc/install.texi (*-*-solaris2*): Refine configure instructions.
5 2003-08-06 Alan Modra <amodra@bigpond.net.au>
7 * calls.c (load_register_parameters): Arrange for call_fusage to
8 report the whole register as used when shifting to the msb.
10 2003-08-05 Roger Sayle <roger@eyesopen.com>
12 * builtins.c (expand_builtin): When not optimizing, call the library
13 function for all builtins that have library functions (except alloca).
15 2003-08-05 Alexandre Oliva <aoliva@redhat.com>
17 * c.opt: Introduce -fworking-directory.
18 * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
19 * c-common.h (flag_working_directory): Declare.
20 * c-common.c (flag_working_directory): Define.
21 * c-opts.c (c_common_handle_options): Set it.
22 (sanitize_cpp_opts): Set...
23 * cpplib.h (struct cpp_options): ... working_directory option.
24 (struct cpp_callbacks): Add dir_change.
25 * cppinit.c (read_original_filename): Call...
26 (read_original_directory): New. Look for # 1 "directory//"
28 (cpp_read_main_file): Call dir_change callback if working_directory
30 * gcc.c (cpp_unique_options): Pass -g*.
31 * c-lex.c (cb_dir_change): New.
32 (init_c_lex): Set dir_change callback.
33 * toplev.c (src_pwd): New static variable.
34 (set_src_pwd, get_src_pwd): New functions.
35 * toplev.h (get_src_pwd, set_src_pwd): Declare.
36 * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
37 * dwarf2out.c (gen_compile_unit_die): Likewise.
38 * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
40 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
42 * pretty-print.h (pp_set_line_maximum_length): Make macro.
43 (pp_set_prefix): Likewise.
44 (pp_destroy_prefix): Likewise.
45 (pp_remaining_character_count_for_line): Likewise.
46 (pp_clear_output_area): Likewise.
47 (pp_formatted_text): Likewise.
48 (pp_last_position_in_text): Likewise.
49 (pp_emit_prefix): Likewise.
50 (pp_append_text): Likewise.
52 (pp_format_text): Likewise.
53 (pp_format_verbatim): Likewise.
54 (pp_tree_identifier): Tidy.
55 * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
56 (pp_base_format_verbatim): Rename from pp_format_verbatim.
57 (pp_base_flush): Rename from pp_flush.
58 (pp_base_set_line_maximum_length): Rename from
59 pp_set_line_maximum_length.
60 (pp_base_clear_output_area): Rename from pp_clear_output_area.
61 (pp_base_set_prefix): Rename from pp_set_prefix.
62 (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
63 (pp_base_emit_prefix): Rename from pp_emit_prefix.
64 (pp_base_append_text): Rename from pp_append_text.
65 (pp_base_formatted_text): Rename from pp_formatted_text.
66 (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
67 (pp_base_remaining_character_count_for_line): Rename from
68 pp_remaining_character_count_for_line.
69 * diagnostic.h (diagnostic_format_decoder): Tidy.
70 (diagnostic_flush_buffer): Likewise.
71 * c-pretty-print.h: (pp_c_string_literal): Declare.
72 (pp_c_real_literal): Likewise.
73 (pp_c_integer_literal): Likewise.
74 * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
76 (pp_c_character_literal): Tidy.
77 (pp_c_string_literal): Make public.
78 (pp_c_bool_literal): Likewise.
79 (pp_c_integer_literal): Likewise.
80 (pp_c_real_literal): Likewise.
82 * Makefile.in (C_PRETTY_PRINT_H): New variable.
83 (c-pretty-print.o): Update dependence.
85 2003-08-05 Chris Demetriou <cgd@broadcom.com>
87 * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
89 (fix_truncsfsi2_macro): Likewise.
91 2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
93 * tree.h (DID_INLINE_FUNC): Remove macro.
94 (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
95 add tree check for FUNCTION_DECL.
96 (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
97 (struct tree_decl): Rename inlined_function_flag to
99 * c-common.h (c_lang_decl): Remove.
100 (DECL_ESTIMATED_INSNS): Remove.
101 * c-tree.h (struct lang_decl): Don't include c_lang_decl.
102 (DECL_DECLARED_INLINE_P): Remove.
103 * c-decl.c (grokdeclarator): Update comment. With -finline-functions,
104 do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC.
105 (finish_function): Make uninlinable a bool. Fixup call to
106 tree_inlinable_function_p() and fix some code style issues.
107 * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
108 * cgraph.c (dump_cgraph): Likewise.
109 * cgraphunit.c (cgraph_decide_inlining): Likewise
110 (cgraph_finalize_compilation_unit): Likewise.
111 Also update call to tree_inlinable_function_p().
112 (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead
113 look at DECL_DECLARED_INLINE and reverse logic.
114 * print-tree.c (print_node): Likewise.
115 * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
116 * tree-inline.h (tree_inlinable_function_p): Make a bool. Update
118 * tree-inline.c (inlinable_function_p): Split up in this function to
119 check for basic inlining inhibiting conditions, and new
120 limits_allow_inlining() function. Warn if inlining is impossible
121 because the inline candidate calls alloca or uses sjlj exceptions.
122 (limits_allow_inlining): this new function to check if the inlining
123 limits are satisfied. Throttle from currfn_max_inline_insns, not from
124 MAX_INLINE_INSNS_SINGLE. The latter only makes sense if
125 MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
127 (tree_inlinable_function_p): Make a bool. Update call to
129 (expand_call_inline): Use limits_allow_inlining() when not in
130 unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC,
131 instead see if the function was declared `inline'.
133 2003-08-05 Josef Zlomek <zlomekj@suse.cz>
135 * gcse.c (try_replace_reg): Fix updating of note.
137 2003-08-04 Roger Sayle <roger@eyesopen.com>
140 * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
141 logic in negate_expr, i.e. we don't invert (A-B) for floating
142 point types unless flag_unsafe_math_optimizations.
144 2003-08-04 Roger Sayle <roger@eyesopen.com>
146 * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
147 Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
148 for floating point expressions with -ffast-math.
149 (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
150 * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
152 2003-08-04 Roger Sayle <roger@eyesopen.com>
154 * c-common.c (flag_noniso_default_format_attributes): Delete.
155 (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
156 (c_attrs_initialized): Delete.
157 (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
158 always call c_init_attributes.
159 (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't
160 set c_attrs_initialized when done.
161 (c_common_insert_default_attributes): Delete.
162 * c-common.h (flag_noniso_default_format_attributes): Delete.
163 (c_coomon_insert_default_attributes): Delete prototype.
164 * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
165 flag_noniso_default_format_attributes.
167 * c-decl.c (c_insert_default_attributes): Delete.
168 * c-tree.h (c_insert_default_attributes): Delete prototype.
170 * attribs.c (decl_attributes): Don't call insert_default_attributes
171 langhook. Update function description comment.
172 * langhooks.h (lang_hooks): Remove insert_default_attributes field.
173 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
174 * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
175 * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
177 * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
180 2003-08-04 Richard Sandiford <rsandif@redhat.com>
182 * config/mips/mips.c (override_options): Disable -G on targets that
183 have no .section support.
184 (mips_select_section): Use default_select_section for such targets.
186 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org>
188 * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
189 * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
190 * fixinc/fixincl.x: Rebuild.
191 * fixinc/tests/base/regexp.h: New test.
193 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
195 * c-ppoutput.c (cb_line_change): Don't skip line changing while
196 parsing macro arguments in the top-level context.
198 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
200 * config.in: Remove HAVE_LSTAT.
201 * configure, configure.in: Don't test for lstat.
203 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
205 * opts.c (decode_options): Do language-specific initialization for
206 the global diagnostic context.
207 * langhooks-def.h (lhd_initialize_diagnostics): Declare.
208 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
209 (LANG_HOOKS_INITIALIZER): Adjust.
210 * langhooks.h (struct lang_hooks): Add new field
211 initialize_diagnostics.
212 * langhooks.c (lhd_initialize_diagnostics): Define.
214 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
216 * pretty-print.h: Adjust macro definitions.
217 * pretty-print.c (pp_newline): Rename to pp_base_newline.
218 (pp_character): Rename to pp_base_character.
219 (pp_string): Rename to pp_base_string.
220 * c-pretty-print.c (pp_buffer): Move to pretty-print.h
221 (pp_newline): Likewise. Adjust.
224 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226 * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
227 BUILT_IN_LLABS): Move to miscellaneous section.
229 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
231 PR preprocessor/11534
232 * cppexp.c (parse_defined): Warn only if -pedantic.
234 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
236 * cppfiles.c (stack_file): Use file path.
238 2003-08-02 Roger Sayle <roger@eyesopen.com>
240 * builtin-types.def (BT_SSIZE): New primitive type.
241 (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
242 BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
243 BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
244 BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
245 * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
246 BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
247 BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
248 * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
249 few functions that define default attributes using it.
250 * c-common.c (c_common_insert_default_attributes): Do nothing.
252 * doc/extend.texi: Document these "new" builtins.
254 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
256 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
257 (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
258 when -mieee-fp set and -shared not set.
259 (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
261 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
263 * cppfiles.c (struct _cpp_file): Rename once_only_next to
264 next_file. Remove import and pragma_once, add once_only.
265 (find_file): Add new file structures to the all_files list.
266 (should_stack_file): Mark #import-ed files once-only, and
267 don't stack them if the file has already been stacked.
268 (_cp_mark_file_once_only): Simplify.
269 * cpphash.h (struct cpp_reader): Rename once_only_files
270 to all_files. Rename saw_pragma_once to seen_once_only.
271 (_cpp_mark_file_once_only): Update prototype.
272 * cpplib.c (do_pragma_once): Update.
274 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
276 * cppfiles.c (ENOTDIR): Remove.
277 (open_file_in_dir): Rename find_file_in_dir. Handle errors
278 other than ENOENT here.
279 (once_only_file_p): Rename should_stack_file.
280 (find_file, open_file_failed, read_file_guts): Report errors
282 (read_file): Move pch handling to should_stack_file.
283 (should_stack_file): Handle PCH and once-only issues, and
285 (stack_file): Don't do file reads.
287 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
289 * libgcov.c (gcov_exit): Cleanup and fix.
290 * profile.c (compute_value_histograms): Don't try to read profiles
291 that are not present.
293 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
295 * builtins.def: Categorize.
297 * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
299 (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
301 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch>
303 * config.gcc: Enable posix threads by default on darwin.
305 2003-08-01 Jakub Jelinek <jakub@redhat.com>
307 * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
308 even if nehedges1 is 0.
310 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org>
312 * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
313 fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
314 fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
317 * fixinc/inclhack.def (broken_cabs): Make matching more generous.
318 * fixinc/fixincl.x: Regenerate.
319 * fixinc/tests/base/math.h: Regenerate to match test_text change.
321 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
323 * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
325 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
327 * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
328 for accesses to exc_ptr.
330 2003-08-01 Geoffrey Keating <geoffk@apple.com>
332 * doc/sourcebuild.texi (Front End Directory): Don't make references
333 to libsubdir, it's not part of the interface to frontends.
334 * doc/install.texi (Configuration): Help users read faster by saying
335 that GCC's configure options are the standard autoconf ones.
336 Mention --libdir. Update the default rules for finding the
337 assembler. Don't use libsubdir since we haven't said what it means.
338 (Specific): In the Solaris 7 notes, update the place to put the
340 * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
341 * doc/cpp.texi (Search Path): Actually, the search path
342 depends on libdir, which can relocate with cpp.
343 * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
344 now a private interface between the Makefile and the driver.
346 2003-08-01 Richard Henderson <rth@redhat.com>
348 * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
350 * varasm.c (lookup_constant_def): New function.
351 * rtl.h (lookup_constant_def): Declare it.
352 * dwarf2out.c (loc_descriptor_from_tree): Use it.
353 Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
355 2003-08-01 Zack Weinberg <zack@codesourcery.com>
357 * c-decl.c (gettags, pushdecl_function_level): Delete.
358 (last_function_parm_vars): Rename last_function_parm_others.
359 (current_function_parm_vars): Rename current_function_parm_others.
360 (struct c_scope): Rewrite comment explaining this data structure.
361 Add names_last, blocks_last, parms_last fields. Rename
362 incomplete_list to incomplete.
363 (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
364 (poplevel): Ignore second argument. No need to nreverse
365 anything. Restructure such that each list is processed
366 exactly once. Use 'const location_t *locus' syntactic sugar
367 variable where useful. Issue unused variable warnings
368 ourselves, do not rely on function.c.
369 (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
370 (pushdecl_top_level): Likewise. Don't call duplicate_decls.
371 (implicitly_declare): decl cannot be error_mark_node.
372 (undeclared_variable): Manipulate scope structure directly.
373 (c_make_fname_decl): Likewise.
374 (getdecls, c_init_decl_processing): Fix comment.
375 (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need
377 (grokparms): No need to nreverse parms list.
378 (store_parm_decls_newstyle): Set up the parms_last and
379 names_last fields of the new scope too.
380 (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
381 on parms to begin with; check this under ENABLE_CHECKING. Set
383 (check_for_loop_decls): Refer directly to current_scope->tags.
384 Use consistent quote style in diagnostics.
385 (c_write_global_declarations): The names list is not backward.
387 * c-common.h: Don't prototype gettags.
388 * c-parse.in: Call poplevel with second argument 0 always.
390 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
392 * builtins.def: Resort builtins.
394 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
396 * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
397 DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
398 Prepend "__builtin_" onto NAME with string concatenation. Remove
399 explicit "__builtin_" from each macro call.
401 Reformat entire file.
403 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
405 * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
406 ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout.
408 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com>
410 * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
411 CCL1, or CCL2 modes with floating point operations.
413 * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
414 "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
415 "*subdf3_cconly"): New insns.
416 ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
418 2003-08-01 Neil Booth <neil@daikokuya.co.uk>
420 * Makefile.in: Refine dependencies.
421 * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
422 * c.opt: Update help for -Wimport.
423 * cppfiles.c: Include hashtab.h. Update comments.
424 (stack_file): Read the file before updating dependencies.
425 (once_only_file_p): Be smarter about marking once-only files.
426 (_cpp_mark_file_once_only): Correct the check for existence on
428 (open_file_failed): Use name not path, which is NULL.
429 * cpphash.h: Don't include hashtab.h.
430 (struct _cpp_file): Remove.
431 (struct cpp_reader): Update.
432 * cppinit.c (cpp_create_reader): Don't initialize warn_import.
433 * cpplib.h (struct cpp_options): Remove warn_import.
434 (cpp_simplify_path): Remove.
436 2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
439 * doc/extend.texi (Statement Expressions): Document C++ semantics.
441 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
443 * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
445 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
447 * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
449 * builtins.def: Likewise.
451 2003-07-31 Jason Merrill <jason@redhat.com>
453 * Makefile.in (bubblestrap): Don't require a previous full
456 * expr.c (mostly_zeros_p): No longer static.
457 * tree.h: Declare it.
458 * stmt.c (resolve_asm_operand_names): Don't copy the pattern
459 unless we need to do substitutions.
461 2003-07-31 Roger Sayle <roger@eyesopen.com>
463 * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
464 pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x
465 as pow(x,2.0) when the latter will be expanded back into x*x.
466 (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
467 * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
468 pow can never set errno when used with an integer exponent.
469 Always use expand_powi when exponent is -1, 0, 1 or 2.
470 (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
471 as 1.0/(x*x). This avoids unbounded recursion as we now prefer
472 the pow forms of these expressions.
474 2003-07-31 Geoffrey Keating <geoffk@apple.com>
476 * Makefile.in (libexecdir): New.
477 (libsubdir): Use gcc instead of gcc-lib.
478 (libexecsubdir): New.
479 (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
480 (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
482 (installdirs): Make libexecsubdir.
483 (install-common): Put executables in libexecsubdir.
484 (itoolsdir): Use libexecsubdir.
485 (itoolsdatadir): New.
486 (install-mkheaders): Separate data files and executables.
487 (install-collect2): Put executables in libexecsubdir.
488 (uninstall): Remove libexecsubdir.
489 * mkheaders.in: Update for new arrangement of files.
491 (libexecsubdir): New.
492 (itoolsdir): Use libexecsubdir.
493 (itoolsdatadir): New.
494 * gcc.c (gcc_libexec_prefix): New.
495 (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
496 (standard_exec_prefix_1): Use libexec.
497 (standard_exec_prefix_2): New.
498 (standard_libexec_prefix): New.
499 (process_command): Update for new arrangement of files. Compute
500 gcc_libexec_prefix. Update for change from gcc-lib to gcc.
502 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org>
504 * inclhack.def (stdio_va_list): Avoid bogus replacement which
506 * fixincl.x: Regenerate.
508 2003-07-31 Jakub Jelinek <jakub@redhat.com>
510 * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
511 SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
513 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
515 * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
517 2003-07-31 Per Bothner <pbothner@apple.com>
519 * opts.c (in_fnames, num_in_fnames): Moved here from c-opts.
520 (add_input_filename): New function.
521 (handle_options): Call add_input_filename directly instead of
523 * opts.h (in_fnames, num_in_fnames): Moved here.
524 (add_input_filename): Declare.
525 * c-decl.c: Need to #include opts.h.
526 * Makefile.in (c-decl.o): Also depends on opts.h.
527 * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c.
528 (c_common_handle_filename): Replaced by add_input_filename.
529 * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
531 * langhooks.h (struct lang_hooks): Remove handle_filename hook.
532 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
533 (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME.
534 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
536 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
538 * combine.c (try_combine): Set JUMP_LABEL for newly created
541 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
543 * fold-const.c (fold): Fold some comparisons of bit operations.
545 Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz>
547 * cgraph.c (create_edge): Fix typo.
548 * i386.c (pic_symbolic_operand): Reorder tests.
550 2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
552 * doc/gcov.texi (Invoking Gcov): Describe output name mangling
554 (Gcov Data Files): Update.
556 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
558 * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
561 * gthr-posix.c: New file.
562 * gthr-posix.h: Define _REENTRANT if missing.
563 Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
565 * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
567 * config/alpha/t-osf-pthread: New file.
569 * fixinc/inclhack.def (alpha_pthread): New fix.
570 * fixinc/fixincl.x: Regenerate.
571 * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
573 * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
575 Fixes PR bootstrap/9330.
577 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
579 * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
582 * configure: Regenerate.
584 2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
586 * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
589 2003-07-30 Roger Sayle <roger@eyesopen.com>
591 * builtins.def: Alphabetize.
593 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
595 * doc/c-tree.texi: Normalize spellings of "lowercase" and
597 * doc/cpp.texi: Likewise.
598 * doc/md.texi: Likewise.
599 * doc/rtl.texi: Likewise.
600 * doc/tm.texi: Likewise.
602 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
604 * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
605 (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
608 2003-07-30 Chris Demetriou <cgd@broadcom.com>
610 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
611 macros before defining them.
613 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com>
615 * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
616 UNSPECV_BLOCKAGE): New constants.
617 ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
618 "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
619 splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
620 "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
622 (all insns and expanders): Write output control string as brace block
623 where appropriate. Remove \-escapes for doublequote characters.
625 Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka <jh@suse.cz>
627 * gcse.c (insert_store): Fix typo in previous patch.
629 2003-07-30 Neil Booth <neil@daikokuya.co.uk>
631 * cppfiles.c (stack_file, open_file_failed): Use path for deps.
633 2003-07-30 Andi Kleen <ak@muc.de>
635 * loop.c (check_dbra_loop): Allow LTU in the loop condition.
637 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
639 * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
640 * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
641 GCOV_N_VALUE_COUNTERS): New.
642 * profile.c (compute_value_histograms): New static function.
643 (branch_prob): Read back the value histograms.
644 * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
645 * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
646 * value-prof.c: Add comment on reading the profile.
647 * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
648 * doc/invoke.texi (-fprofile-values): Document behavior with
649 -fbranch-probabilities.
651 2003-07-30 David Edelsohn <edelsohn@gnu.org>
653 * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
655 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
657 * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
660 Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz>
662 * gcse.c (insert_store): Ignore fake edges.
664 * c-common.c (flag_vtable_gc): Kill.
665 * c-common.g (flag_vtable_gc): Kill.
666 * c-opts (c_common_handle_option): Kill.
667 * c.opt (fvtable-gc): Kill.
668 * final.c (final_scan_insn): Do not call assemble_vtable_entry.
669 * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
670 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
672 * invoke.texi (-ftable-gc): Kill documentation.
674 * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
675 just because function body is missing.
677 * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
679 2003-07-30 Ranjit Mathew <rmathew@hotmail.com>
681 * unwind-sjlj.c: Fix typo in file description.
683 2003-07-30 Alan Modra <amodra@bigpond.net.au>
685 * calls.c (load_register_parameters): When shifting reg sized values
686 to the msb, move the value to a reg first.
688 2003-07-29 Geoffrey Keating <geoffk@apple.com>
690 * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
691 * line-map.h (linemap_add): Update comments.
692 * line-map.c (linemap_add): Update comments, interpret zero-length
693 filename as "<stdin>".
695 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
697 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
699 2003-07-29 Zack Weinberg <zack@codesourcery.com>
701 * c-decl.c (last_function_parm_vars, current_function_parm_vars):
702 New static variables.
703 (struct c_scope): Add parms and warned_forward_parm_decls
704 fields; remove parm_order.
705 (storedecls, storetags): Delete.
706 (poplevel): Also clear bindings on the parms chain.
707 (pushdecl): Handle forward declarations of parameters, and
708 chain PARM_DECLs on the parms list, not the names list.
709 (lookup_name_current_level): Check for PARM_DECLs on the parms
711 (push_parm_decl): Don't update parm_order.
712 (clear_parm_order): Rename mark_forward_parm_decls. Issue the
713 warning, only once per parameter list, and set TREE_ASM_WRITTEN
714 on the decls here. Then move the forward decls to the names list.
715 (grokparms): Set last_function_parm_vars.
716 (get_parm_info): Don't use gettags or getdecls. No need to
717 extract non-parms from the parms list, or reorganize the parms
718 list. Feed nonparms back in the TREE_TYPE of the list node
719 returned. Issue only one error per parameter list for "void"
720 appearing more than once in said parameter list. Collapse
721 parmlist_tags_warning into this function to avoid double scan
723 (start_function): Set current_function_parm_vars.
724 (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
725 directly. Get non-parms from current_function_parm_vars; no
726 need to extract them from the parms chain. Properly bind tags
728 (store_parm_decls_oldstyle): No need to extract non-parameters
729 from the parms chain, nor to store them back afterward. Move
730 declaration to top of function, restructure code reordering
732 (store_parm_decls): No need to save and restore warn_shadow.
733 * c-parse.in: Don't call parmlist_tags_warning nor
734 clear_parm_order. Call mark_forward_parm_decls when forward
735 parm decls are encountered.
736 * c-tree.h: Prototype mark_forward_parm_decls; not
737 clear_parm_order or parmlist_tags_warning.
739 2003-07-29 Geoffrey Keating <geoffk@apple.com>
741 * c-common.c (allow_pch): Remove.
742 * c-common.h (allow_pch): Remove.
743 (c_common_no_more_pch): Declare.
744 * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
745 * c-pch.c: Include hosthooks.h.
746 (c_common_valid_pch): Don't check allow_pch.
747 (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
748 (c_common_no_more_pch): New.
749 * ggc-common.c: Include hosthooks.h.
750 (gt_pch_save): Call gt_pch_get_address.
751 (gt_pch_restore): Call gt_pch_use_address.
752 * hooks.c (hook_voidp_size_t_null): New.
753 (hook_bool_voidp_size_t_false): New.
754 * hooks.h (hook_voidp_size_t_null): New.
755 (hook_bool_voidp_size_t_false): New.
756 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
757 (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
758 (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
759 HOST_HOOKS_GT_PCH_USE_ADDRESS.
760 * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
762 * doc/hostconfig.texi (Host Common): Document
763 HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
764 * Makefile.in (c-pch.o): Depend on hosthooks.h.
765 (ggc-common.o): Likewise.
767 * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
768 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
769 (pch_address_space): New.
770 (darwin_rs6000_gt_pch_get_address): New.
771 (darwin_rs6000_gt_pch_use_address): New.
773 2003-07-29 Neil Booth <neil@daikokuya.co.uk>
775 PR preprocessor/11569
776 PR preprocessor/11649
777 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
778 * cppfiles.c: Completely rewritten.
779 * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
780 struct cpp_path is now struct cpp_dir.
781 (remove_duplicates): Don't simplify path names.
782 * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
784 * cpphash.h: Include hashtab.h.
785 (_cpp_file): Declare.
786 (struct cpp_buffer): struct include_file is now struct _cpp_file,
787 and struct cpp_path is now struct cpp_dir. Rename members.
788 (struct cpp_reader): Similarly. New members once_only_files,
789 file_hash, file_hash_entries, quote_ignores_source_dir,
790 no_search_path, saw_pragma_once. Remove all_include_files and
791 max_include_len. Make some members bool.
792 (_cpp_mark_only_only): Renamed from _cpp_never_reread.
793 (_cpp_stack_file): Renamed from _cpp_read_file.
794 (_cpp_stack_include): Renamed from _cpp_execute_include.
795 (_cpp_init_files): Renamed from _cpp_init_includes.
796 (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
797 * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
798 (cpp_read_next_file): Rename and move to cppfiles.c.
799 (cpp_read_main_file): Update.
800 * cpplib.c (run_directive): Update for renamed members.
801 (do_include_common, _cpp_pop_buffer): Update.
802 (do_import): Undeprecate #import.
803 (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
804 * cpplib.h: Remove file_name_map_list.
805 (cpp_options): Remove map_list.
806 (cpp_dir): Rename from cpp_path. New datatype for name_map.
807 (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
809 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
811 * Makefile.in: Make stamp-objdir safe for parallel builds.
813 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
815 * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
816 (info): Depend on stmp-docobjdir.
818 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
820 * configure: Regenerate.
822 Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz>
825 * tree-inline.c (expand_call_inline): Always call inlinable_function_p
826 in !unit-at-a-time mode.
828 2003-07-28 Geoffrey Keating <geoffk@apple.com>
830 * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
833 2003-07-28 Mark Mitchell <mark@codesourcery.com>
836 * c-common.c (shorten_compare): Take into account differences
837 between C and C++ representation for enumeration types.
838 * tree.h (set_min_and_max_values_for_integral_type): Declare.
839 * stor-layout.c (set_min_and_max_values_for_integral_type): New
840 function, broken out from ...
841 (fixup_signed_type): ... here and ...
842 (fixup_unsigned_type): ... here.
844 2003-07-28 Zack Weinberg <zack@codesourcery.com>
846 * c-decl.c: Update commentary, adjust blank lines throughout.
847 (struct c_scope): Fix indentation. Reorder members so
848 outer-context pointers come first, booleans last.
849 (duplicate_decls, define_label): Use a 'locus' variable for
850 diagnostic locations in a few more places.
851 (warn_if_shadowing): Un-split a conditional that fits on one line.
852 (c_init_decl_processing): No need to clear current_scope and
853 current_function_scope.
854 (start_decl): Merge if/else if statements with same action.
855 (push_parm_decl): Rename old_immediate_size_expand to use
856 save_foo convention; save/restore around entire function.
857 (grokdeclarator): Remove unnecessary braces.
859 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
860 Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
862 * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
863 when warn_declaration_after_statement. Call pedwarn_c90, not
864 pedwarn. Correct message: it's "ISO C90", not "ISO C89".
865 * c-common.c (warn_declaration_after_statement): Define.
866 * c-common.h (warn_declaration_after_statement): Declare.
867 * c.opt (Wdeclaration-after-statement): New.
868 * c-errors.c (pedwarn_c90): New function.
869 * c-opts.c (c_common_handle_option) <case
870 OPT_Wdeclaration_after_statement>: New.
871 * c-tree.h (pedwarn_c90): Declare.
872 * doc/invoke.texi (Option Summary): Document
873 -Wdeclaration-after-statement.
874 (Warning Options): Ditto.
876 Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz>
878 * i386.md (memory attribute) Avoid accessing uninitialized memory
879 for ishift1 type instructions.
881 2003-07-28 Jakub Jelinek <jakub@redhat.com>
883 * configure.in (--enable-checking): Add fold category.
884 (ENABLE_FOLD_CHECKING): Define if requested.
885 * configure: Rebuilt.
886 * config.in: Rebuilt.
887 * doc/install.texi: Document it.
888 * fold-const.c: Include md5.h.
889 [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
890 [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
891 print_fold_checksum): New functions.
893 * fold-const.c (fold): Never modify argument passed to fold, instead
894 change a copy and return it.
895 * convert.c (convert_to_integer): Likewise.
897 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
899 * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
900 cleanup of junk after #else and #endif directives. Collapse repeated
901 clauses into for statment.
903 * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
905 2003-07-27 Zack Weinberg <zack@codesourcery.com>
907 * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
908 (keep_next_if_subblocks): Rename next_is_function_body.
909 (pushlevel): Adjust commentary. Always set ->keep on the
910 outermost level of a function. Don't set ->keep_if_subblocks.
911 (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
912 (store_parm_decls): Adjust to match.
913 (finish_function): Adjust to match.
914 Call poplevel with all three arguments zero.
916 * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
917 New functions split out of store_parm_decls.
918 Avoid unnecessary work. Use local variables consistently.
919 (store_parm_decls): Likewise.
921 (finish_function): No need to set functionbody flag on call to
923 (struct language_function): Remove scope field.
924 (c_push_function_context, c_pop_function_context): No need to
925 save and restore current_scope.
927 2003-07-27 Nathan Sidwell <nathan@codesourcery.com>
929 * doc/extend.texi (Deprecated Features): Implicit typename is
930 gone. Default args on types is going.
932 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
934 * Makefile.in (ifcvt.o): Depend on target.h
935 * ifcvt.c (target.h): Include.
936 (if_convert): Don't call mark_loop_exit_edges if we can't
939 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
941 * doc/install.texi (Testing): Adjust required versions of DejaGnu.
943 2003-07-26 Richard Henderson <rth@redhat.com>
946 * cse.c (count_reg_usage): Handle asm_operands properly.
948 2003-07-26 Roger Sayle <roger@eyesopen.com>
950 * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
951 (DEF_EXT_FALLBACK_BUILTIN): Delete.
952 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
953 the regular DEF_EXT_LIB_BUILTIN macro.
954 (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
955 the regular DEF_LIB_BUILTIN macro.
956 (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
957 BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
958 BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
959 DEF_EXT_LIB_BUILTIN macro.
961 * c-decl.c (duplicate_decls): Remove code to handle builtin
962 functions prototyped without an argument list.
964 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
966 * config/i386/winnt.c: Revert 2003-07-08 change.
967 (i386_pe_section_type_flags): Remove error_with_decl here too.
969 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
971 * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
972 * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
973 * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
974 (v850_handle_data_area_attribute): Likewise.
976 2003-07-26 Geoffrey Keating <geoffk@apple.com>
978 * varasm.c (output_constant_def_contents): Use
979 ASM_DECLARE_CONSTANT_NAME if defined.
980 * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
981 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
982 objects get at least one byte to prevent assembler problems.
983 (ASM_DECLARE_CONSTANT_NAME): New.
985 * Makefile.in (libbackend.o): Remove options_.h.
986 (mostlyclean): Likewise.
988 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
989 insert a label at the end of an function under Mach-O.
991 * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
993 2003-07-25 Aldy Hernandez <aldyh@redhat.com>
995 * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
997 (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
999 * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
1001 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1003 * doc/passes.texi (Passes): Mention pretty-printing and
1006 2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
1008 * doc/extend.texi (Function Attributes): GNU C++ does now allow
1009 unused parameter decls.
1010 (Attribute Syntax): GNU C++ does not allow label attributes to be
1013 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1015 * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
1016 (objc_declare_class): Likewise.
1017 (error_with_ivar): Likewise.
1018 (start_class): Likewise.
1019 (warn_with_method): Likewise.
1021 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1023 Remove pedwarn_with_decl, warning_with_decl and error_with_decl
1025 * calls.c (try_to_integrate): Don't use xxx_with_decl.
1026 (expand_call): Likewise.
1027 * dwarfout.c (output_reg_number): Likewise.
1028 * expr.c (expand_expr): Likewise.
1029 * function.c (assign_temp): Likewise.
1030 (uninitialized_vars_warning): Likewise.
1031 (setjmp_args_warning): Likewise.
1032 (expand_function_end): Likewise.
1033 * stmt.c (fixup_gotos): Likewise.
1034 (warn_about_unused_variables): Likewise.
1035 (expand_end_bindings): Likewise.
1036 * stor-layout.c (layout_decl): Likewise.
1037 (place_field): Likewise.
1038 * toplev.c (check_global_declarations): Likewise.
1039 (rest_of_handle_inlining): Likewise.
1040 (default_tree_printer): New function.
1041 (general_init): Initialize diagnostic machinery before routing
1042 signals to the ICE machinery. Set default tree printer.
1043 * toplev.h (pedwarn_with_decl): Remove declaration.
1044 (warning_with_decl): Likewise.
1045 (error_with_decl): Likewise.
1046 (pedwarn): Remove attribute for the time being.
1047 * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
1048 * varasm.c (named_section): Likewise.
1049 (make_decl_rtl): Likewise.
1050 (assemble_variable): Likewise.
1051 (merge_weak): Likewise.
1052 (declare_weak): Likewise.
1054 * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
1055 * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
1056 (format_with_decl): Remove.
1057 (diagnostic_for_decl): Likewise.
1058 (pedwarn_with_decl): Likewise.
1059 (warning_with_decl): Likewise.
1060 (error_with_decl): Likewise.
1061 (diagnostic_initialize): Adjust.
1062 (diagnostic_count_diagnostic): Likewise.
1063 (announce_function): Likewise.
1064 (lhd_print_error_function): Likewise.
1065 (diagnostic_report_current_module): Likewise.
1066 (default_diagnostic_starter): Likewise.
1067 (diagnostic_report_diagnostic): Likewise.
1068 (default_diagnostic_finalizer): Likewise.
1069 (verbatim): Likewise.
1071 (warning): Likewise.
1072 * opts.c (common_handle_option): Likewise.
1073 * pretty-print.c: New file.
1074 * c-pretty-print.h (pp_base): Override.
1075 * c-pretty-print.c: Adjust use of macros throughout.
1076 (pp_buffer): New macro.
1077 (pp_newline): Likewise.
1078 * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
1079 * Makefile.in (DIAGNOSTIC_H): New variable.
1080 (c-errors.o): Use it.
1081 (c-objc-common.o): Likewise.
1082 (c-common.o): Likewise.
1083 (c-opts.o): Likewise.
1084 (c-format.o): Likewise.
1085 (diagnostic.o): Likewise.
1087 (toplev.o): Likewise.
1088 (rtl-error.o): Likewise.
1089 (dwarf2out.o): Likewise.
1091 (pretty-print.o): New rule.
1093 2003-07-24 Roger Sayle <roger@eyesopen.com>
1095 * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
1096 front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
1097 (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
1098 from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
1099 (DEF_FRONT_END_LIB_BUILTIN): Delete.
1100 (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
1101 (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
1103 * builtins.c (build_string_literal): New function to construct
1104 a char* pointer to a string literal.
1105 (expand_builtin_fputs): Change 2nd argument from "int ignore" to
1106 "rtx target" to be consistent with other expand_builtin_* functions.
1107 Change 3rd argument from "int unlocked" to "bool unlocked".
1108 (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
1109 c-common.c to avoid front-end dependencies. Optimize printf("")
1110 as a no-op when the result isn't required. Handle embedded NULs
1112 (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
1113 from c-common.c to avoid front-end dependencies. Likewise, optimize
1114 fprintf(fp,"") as a no-op when the result isn't required, evaluating
1115 fp for side-effects. Handle embedded NULs in format string.
1116 (expand_builtin_sprintf): Fix typo.
1117 (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
1118 optimizing. Adjust calls of expand_builtin_fputs to match the API
1119 change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
1120 expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
1121 and BUILT_IN_FPRINTF using expand_builtin_fprintf.
1123 * c-common.c (is_valid_printf_arglist): Delete.
1124 (c_expand_builtin): Delete.
1125 (c_expand_builtin_printf): Moved to builtins.c. Delete.
1126 (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
1127 (c_expand_expr): No longer treat CALL_EXPRs specially.
1128 (CALLED_AS_BUILT_IN): Delete.
1130 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1132 PR optimization/11631
1133 * gcse.c (store_motion): Connect infinite loops to exit.
1135 2003-07-24 Jason Merrill <jason@redhat.com>
1137 * tree.h (boolean_type_node): Move from C/C++/Java frontends.
1138 (boolean_true_node, boolean_false_node): Likewise.
1139 (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
1140 * tree.c (build_common_tree_nodes): Init boolean_type_node.
1141 (build_common_tree_nodes_2): Init boolean_{true,false}_node.
1142 * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
1143 * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
1144 (truthvalue_true_node): Renamed from boolean_true_node.
1145 (truthvalue_false_node): Renamed from boolean_false_node.
1146 * c-decl.c: Just set truthvalue_* to integer_*.
1147 * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
1149 2003-07-24 Roger Sayle <roger@eyesopen.com>
1151 * c-decl.c (match_builtin_function_types): New subroutine of
1152 duplicate_decls to test whether a redeclaration of a builtin
1153 function is suitably close, i.e. the return type and all of
1154 the argument types have the same modes as the builtin expects.
1155 (duplicate_decls): Fuzzy type matching for builtin functions
1156 moved to match_builtin_function_types.
1158 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1160 * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
1163 2003-07-24 Zack Weinberg <zack@codesourcery.com>
1165 * c-decl.c: Search-and-replace change 'binding level' to
1166 'scope' in commentary.
1167 (struct binding_level): Now struct c_scope.
1168 (current_binding_level): Now current_scope.
1169 (free_binding_level): Now scope_freelist.
1170 (current_function_level): Now current_function_scope.
1171 (global_binding_level): Now global_scope.
1172 (make_binding_level): Now make_scope.
1173 (pop_binding_level): Now pop_scope.
1175 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1177 * configure.in (libgcc_visibility): Add missing whitespace.
1179 2003-07-24 Richard Henderson <rth@redhat.com>
1181 * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
1182 __gcc_personality_v0.
1184 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1186 * Makefile.in: Replace pwd by ${PWD_COMMAND}.
1188 2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
1190 * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
1191 documentation missed from my 2003-07-09 patch.
1193 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
1195 * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
1197 * configure: Rebuild.
1199 2003-07-24 Steven Bosscher <steven@gcc.gnu.org>
1202 * c-typeck.c (type_lists_compatible_p): Do not compare
1203 arguments if one of them is an error_mark_node
1205 2003-07-24 Alan Modra <amodra@bigpond.net.au>
1207 * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
1208 if current_function_calls_eh_return.
1210 2003-07-23 Mark Mitchell <mark@codesourcery.com>
1212 * doc/c-tree.texi (OFFSET_TYPE): Update description.
1214 2003-07-23 Bob Wilson <bob.wilson@acm.org>
1216 * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
1217 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
1218 __umodsi3, __modsi3): Increase frame size to 32.
1220 2003-07-23 Geoffrey Keating <geoffk@apple.com>
1222 * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
1225 2003-07-23 Mark Mitchell <mark@codesourcery.com>
1227 * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
1229 PR optimization/10679
1230 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
1232 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1234 PR target/11607 and PR target/11516
1235 * pa.md (extzv, extv, insv): Revert latter half of last patch.
1237 2003-07-22 Mark Mitchell <mark@codesourcery.com>
1239 * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
1240 * varasam.c (output_constant): Likewise.
1242 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
1244 * alias.c: Fix comment formatting.
1245 * c-common.c: Likewise.
1246 * c-decl.c: Likewise.
1247 * c-opts.c: Likewise.
1248 * combine.c: Likewise.
1249 * cpplib.c: Likewise.
1250 * diagnostic.c: Likewise.
1251 * dojump.c: Likewise.
1252 * final.c: Likewise.
1253 * fold-const.c: Likewise.
1256 * ggc-page.c: Likewise.
1259 * mips-tfile.c: Likewise.
1260 * recog.c: Likewise.
1261 * regclass.c: Likewise.
1262 * regmove.c: Likewise.
1266 2003-07-22 Per Bothner <pbothner@apple.com>
1268 * line-map.c (add_line_map): Handle invalid LEAVE request.
1269 Fixes PR preprocessor/11361.
1271 2003-07-22 Per Bothner <pbothner@apple.com>
1273 * diagnostic.c.(diagnostic_report_current_module): Update to match
1274 2003-06-05 changes to push_srcloc and pop_srcloc.
1276 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
1278 * doc/trouble.texi: Better document two-stage name lookup.
1280 2003-07-22 Eric Christopher <echristo@redhat.com>
1282 * config/s390.c (s390_valid_pointer_mode): New.
1283 (TARGET_VALID_POINTER_MODE): Use.
1284 (s390_emit_prologue): Add tpf profiling hooks.
1285 (s390_emit_epilogue): Ditto.
1286 * config/s390.h (MASK_TPF): New.
1288 (POINTERS_EXTEND_UNSIGNED): Define.
1289 * config/s390.md (ptr_extend): New pattern.
1291 2003-07-22 Zack Weinberg <zack@codesourcery.com>
1293 * hashtable.c (approx_sqrt): Make static.
1294 * hashtable.h: Don't prototype approx_sqrt.
1295 * line-map.c (init_line_maps): Rename linemap_init.
1296 (free_line_maps): Rename linemap_free.
1297 (add_line_map): Rename linemap_add.
1298 (lookup_line): Rename linemap_lookup.
1299 (print_containing_files): Rename linemap_print_containing_files.
1300 * linemap.h: Update to match.
1302 * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
1303 linemap routines to use new names.
1305 2003-07-16 Nathan Sidwell <nathan@codesourcery.com>
1307 * c-common.c (handle_packed_attribute): Don't pack a struct via a
1308 typedef. Propagate packedness from a main variant.
1310 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
1312 * Makefile.in (install-common): Add dependency on installdirs.
1314 2003-07-21 Alexandre Oliva <aoliva@redhat.com>
1316 * c-common.c (c_common_type_for_mode): Return integer types for
1319 2003-07-22 Geoffrey Keating <geoffk@apple.com>
1321 * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
1322 (finish_decl): Call maybe_apply_pragma_weak here.
1323 (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
1324 TREE_PUBLIC and TREE_STATIC are decided.
1325 (start_function): Move call to maybe_apply_pragma_weak. Check that
1326 DECL_ASSEMBLER_NAME isn't set too early.
1328 * cpplex.c (_cpp_process_line_notes): Mention option name in
1331 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
1333 * combine.c (if_then_else_cond): Simplify the comparison of
1334 rtx against -1, 0, and 1.
1335 * loop.c (check_dbra_loop): Likewise.
1336 * optabs.c (emit_conditional_move): Likewise.
1337 (emit_conditional_add): Likewise.
1338 * config/i386/i386.md (*movsi_or): Likewise.
1339 (*movdi_or_rex6): Likewise.
1341 Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
1343 * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
1345 2003-07-21 Neil Booth <neil@daikokuya.co.uk>
1347 * cppfiles.c (open_file_pch): Don't put unused entries in the
1348 splay tree. Remove dead code.
1350 2003-07-21 Geoffrey Keating <geoffk@apple.com>
1352 * c-common.h (num_in_fnames): Declare.
1353 (c_static_assembler_name): Move from here...
1354 * c-tree.h (c_static_assembler_name): ... to here.
1355 * c-opts.c: Don't include langhooks-def.h.
1356 (c_static_assembler_name): Move to c-decl.c.
1357 (num_in_fnames): Make externally visible.
1358 * c-decl.c: Include langhooks-def.h.
1359 (c_static_assembler_name): Move from c-opts.c.
1360 * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
1361 (c-opts.o): Remove $(LANGHOOKS_DEF_H).
1363 * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
1364 when it's not needed.
1366 2003-07-21 Jakub Jelinek <jakub@redhat.com>
1368 * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
1369 * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
1370 (rs6000_emit_prologue): Save FPRs inline if set.
1372 2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
1374 * config/ia64/ia64.md (prefetch): Support predicate.
1376 2003-07-21 Josef Zlomek <zlomekj@suse.cz>
1378 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
1379 * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
1382 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1384 PR optimization/11536
1385 * unroll.c (loop_iterations): Do not replace a register holding
1386 the final value by its equivalent before the loop if it is not
1389 2003-07-21 Dave Fluri <dave.fluri@onlink.net>
1391 * doc/extend.texi: Fixes to spelling, grammar, and diction.
1393 2003-07-21 Ben Elliston <bje@wasabisystems.com>
1395 * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
1396 (V850 Options): Spelling fixes.
1398 2003-07-20 Lisa M. Goldstein <opus@gnu.org>
1400 * doc/invoke.texi: Fixes to style, grammar and diction.
1402 2003-07-20 Roger Sayle <roger@eyesopen.com>
1404 * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
1405 * system.h (SMALL_STACK): Poison obsolete target macro.
1406 * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
1408 2003-07-20 Phil Edwards <pme@gcc.gnu.org>
1410 * configure.in: Cache the results of testing for cmp's capabilities.
1411 * configure: Regenerate.
1413 2003-07-20 Mark Mitchell <mark@codesourcery.com>
1416 * dwarf2out.c (gen_enumeration_type_die): Remember that
1417 enumerators can be unsigned.
1419 2003-07-19 Zack Weinberg <zack@codesourcery.com>
1421 * c-decl.c (named_labels, shadowed_labels, label_level_chain)
1422 (push_label_level, pop_label_level): Kill.
1423 (struct binding_level): Rename level_chain to outer.
1424 Add outer_function field. Change parm_flag, function_body,
1425 keep, keep_if_subblocks to 1-bit bitfields of type bool.
1426 (current_function_level): New variable.
1427 (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
1428 (keep_next_level, declare_parm_level, warn_if_shadowing):
1430 (struct language_function): Kill named_labels, shadowed_labels fields.
1431 (c_init_decl_processing, start_function, c_push__function_context)
1432 (c_pop_function_context): No need to muck with named_labels nor
1435 (make_binding_level): No need to clear the structure here.
1436 (pop_binding_level): Always operate on current_binding_level.
1437 Update current_function_level if necessary.
1438 (pushlevel): Don't clear named_labels. Update current_function_level
1439 if necessary. Use "true" and "false" where appropriate.
1440 (poplevel): Diagnose labels defined but not used, or vice
1441 versa, and clear out label-meanings leaving scope, while
1442 walking down the decls list, for all binding levels.
1443 Handle LABEL_DECLs appearing in the shadowed list.
1444 pop_binding_level takes no arguments.
1445 (pushdecl_function_level): Use current_function_level.
1447 (make_label, bind_label): New static functions.
1448 (declare_label): New exported function.
1449 (lookup_label, define_label): Rewritten for new data structure.
1450 (shadow_label): Kill.
1452 * c-tree.h: Prototype declare_label; don't prototype
1453 push_label_level, pop_label_level, nor shadow_label.
1454 * c-parse.in: Remove all calls to push_label_level and
1455 pop_label_level. Use declare_label for __label__ decls.
1457 * doc/extend.texi: Clarify that __label__ can be used to
1458 declare labels with local scope in any nested block, not
1459 just statement expressions. Cross-reference nested functions
1460 section from local labels section.
1462 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1464 * sched-rgn.c (find_rgns): Initialize current_edge correctly.
1466 2003-07-19 Phil Edwards <pme@gcc.gnu.org>
1468 * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
1470 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1472 * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
1473 fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
1475 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
1477 * config/s390/s390.c (legitimize_pic_address): Access local symbols
1478 relative to the GOT instead of relative to the literal pool base.
1479 (s390_output_symbolic_const): Handle new GOT-relative accesses.
1480 * config/s390/s390.md ("call"): Access local functions and PLT stubs
1481 relative to the GOT instead of relative to the literal pool base.
1482 ("call_value"): Likewise.
1483 ("call_value_tls"): Likewise.
1485 * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
1486 reloading. Support LTREL_BASE / LTREL_OFFSET construct.
1487 (s390_chunkify_finish): Likewise.
1488 (s390_chunkify_cancel): Likewise.
1489 (s390_reorg): Adapt caller.
1490 (find_base_register_in_addr,
1491 find_base_register_ref, replace_base_register_ref): Delete.
1492 (find_ltrel_base, replace_ltrel_base): New functions.
1493 (find_constant_pool_ref): Handle LTREL_BASE unspecs.
1494 (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
1495 base vs. index register usage.
1496 (struct constant_pool): Remove 'anchor'.
1497 (s390_add_anchor): Delete.
1498 (s390_dump_pool): Remove anchor handling.
1499 * config/s390/s390.md ("reload_anchor"): Remove.
1501 * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
1502 (s390_load_got): New function. Use LTREL_BASE/OFFSET.
1503 (s390_emit_prologue): Use it.
1504 * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
1505 "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
1506 hard-code register 14.
1507 * config/s390/s390-protos.h (s390_load_got): Declare.
1509 * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
1510 Support TImode constants.
1511 * config/s390/s390.md ("consttable_ti"): New.
1512 ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
1514 * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
1515 UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
1516 UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
1517 UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
1518 UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
1519 New symbolic constants.
1520 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
1521 "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
1522 "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
1523 "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
1524 symbolic UNSPEC values.
1525 * config/s390/s390.c (larl_operand, s390_short_displacement,
1526 bras_sym_operand, s390_cannot_force_const_mem,
1527 s390_delegitimize_address, s390_decompose_address,
1528 legitimize_pic_address, s390_output_symbolic_const,
1529 s390_function_profiler): Use symbolic UNSPEC values.
1531 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1533 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
1534 c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
1535 c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
1536 collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
1537 cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
1538 cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
1539 dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
1540 fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
1541 gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
1542 genemit.c genextract.c genoutput.c genrecog.c gensupport.c
1543 ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
1544 integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
1545 loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
1546 postreload.c prefix.c print-tree.c protoize.c ra-build.c
1547 ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
1548 regmove.c regrename.c reload.c reload1.c reorg.c resource.c
1549 sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
1550 simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
1551 tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
1552 varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
1555 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1557 * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
1558 * toplev.h (warning): Remove attribute.
1560 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1562 * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
1563 (pop_label_level): Likewise.
1564 (duplicate_decls): Likewise.
1565 (implicitly_declare): Likewise.
1566 (shadow_label): Likewise.
1567 (start_decl): Likewise.
1568 (finish_decl): Likewise.
1569 (grokdeclarator): Likewise.
1570 (get_parm_info): Likewise.
1571 (detect_field_duplicates): Likewise.
1572 (finish_struct): Likewise.
1573 (start_function): Likewise.
1574 (store_parm_decls): Likewise.
1575 (finish_function): Likewise.
1576 (c_expand_body_1): Likewise.
1577 (check_for_loop_decls): Likewise.
1578 (merge_translation_unit_decls): Likewise.
1580 2003-07-19 Neil Booth <neil@daikokuya.co.uk>
1582 * common.opt: Document --param.
1583 * opts.c (columns, undocumented_msg): New.
1584 (print_help): Get number of columns from environment. Print
1585 --param help. Tweak newline handling.
1586 (print_param_help): New.
1587 (print_filtered_help): Better handling of duplicates. Complain
1588 about undocumented switches.
1589 (print_switch): New.
1590 (wrap_help): Improve wrapping, use COLUMNS.
1591 * opts.sh: Ignore comments in records.
1592 * params.def: Fix typos and remove trailing periods.
1593 * toplev.c (display_help): Don't dump --param help.
1594 * doc/sourcebuild.texi: Update.
1596 2003-07-18 Richard Henderson <rth@redhat.com>
1599 * optabs.c (prepare_operand): Fail gracefully instead of abort
1600 if the predicate doesn't satisfy.
1601 (gen_cond_trap): Allow prepare_operand to fail.
1603 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1605 * c-common.c: Don't undefine GCC_DIAG_STYLE.
1606 (fname_decl): Don't use xxx_with_decl.
1607 (c_add_case_label): Likewise.
1608 (handle_section_attribute): Likewise.
1609 (handle_alias_attribute): Likewise.
1610 (handle_no_instrument_function_attribute): Likewise.
1611 (handle_no_limit_stack_attribute): Likewise.
1612 * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
1613 * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
1615 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1617 * Makefile.in (ifcvt.o): Add cfgloop.h.
1618 * basic-block.h (EDGE_LOOP_EXIT): New flag.
1619 * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
1620 * ifcvt.c: Include cfgloop.h.
1621 (mark_loop_exit_edges): New static function.
1622 (if_convert): Call it.
1623 (find_if_header): Ignore branches out of loops.
1625 2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
1627 * combine.c (simplify_comparison): Don't share rtx when converting
1628 (ne (and (not X) 1) 0) to (eq (and X 1) 0).
1630 2003-07-18 David Edelsohn <edelsohn@gnu.org>
1632 * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
1633 (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
1634 (MUST_PASS_IN_STACK): Define.
1635 (BLOCK_REG_PADDING): Define.
1637 2003-07-18 Richard Henderson <rth@redhat.com>
1639 * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
1640 to skip the addr_vec.
1642 Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com>
1644 * combine.c (combinable_i3pat): Don't forbid occurrences of
1645 i2dest or i1dest in inner_dest if inner_dest is a mem.
1647 Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz>
1649 * cgraph.c (cgraph_remove_node): Clear the hash table slot.
1651 2003-07-17 Jakub Jelinek <jakub@redhat.com>
1654 * loop.c (basic_induction_var): Check if convert_modes emitted any
1655 instructions. Remove them and return 0 if so.
1657 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
1659 PR optimization/11083
1660 * toplev.c (rest_of_handle_addresof): Rename into
1661 rest_of_handle_addressof. Delete unreachable blocks
1662 if dead edges were purged after the addressof pass.
1664 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
1666 * Makefile.in, configure, configure.in: Remove handling of
1667 lang-options.h and options_.h.
1668 * toplev.c (struct lang_opt, documented_lang_options): Remove.
1669 (display_help): Don't use documented_lang_options.
1671 2003-07-17 Zack Weinberg <zack@codesourcery.com>
1673 * c-decl.c (pushdecl_function_level): Make static, return nothing.
1674 (kept_level_p): Fold into poplevel.
1675 (undeclared_variable): Moved here from c-typeck.c. Export.
1676 * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
1677 (undeclared_variable): Prototype here. Don't prototype
1678 kept_level_p nor pushdecl_function_level.
1679 * c-parse.in: Change first argument to poplevel from
1680 "kept_level_p()" to "KEEP_MAYBE".
1681 * c-typeck.c (undeclared_variable): Moved to c-decl.c.
1683 2003-07-17 Roger Sayle <roger@eyesopen.com>
1685 * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
1686 commutative operands instead of modifying the RTL in-place.
1688 2003-07-17 Mark Mitchell <mark@codesourcery.com>
1690 PR optimization/11557
1691 * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
1692 unless we know which function is being called.
1694 2003-07-17 Roger Sayle <roger@eyesopen.com>
1696 * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
1697 whether to reorder the operands of a commutative binary operator.
1699 2003-07-17 Roger Sayle <roger@eyesopen.com>
1701 * fold-const.c (const_binop): Avoid performing the FP operation at
1702 compile-time, if either operand is NaN and we honor signaling NaNs,
1703 or if we're dividing by zero and either flag_trapping_math is set
1704 or the desired mode doesn't support infinities.
1705 (fold_initializer): New function to fold an expression ignoring any
1706 potential run-time exceptions or traps.
1707 * tree.h (fold_initializer): Prototype here.
1708 * c-typeck.c (build_binary_op): Move to the end of the file so
1709 that intializer_stack is in scope. If constructing an initializer,
1710 i.e. when initializer_stack is not NULL, use fold_initializer to
1712 * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
1713 performing FP operations at compile-time, if they would raise an
1714 exception at run-time.
1716 2003-07-17 Geoffrey Keating <geoffk@apple.com>
1719 * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
1720 (langhooks.o): Add $(GGC_H), gt-langhooks.h.
1721 (GTFILES): Add langhooks.c.
1722 (gt-langhooks.h): New.
1723 * c-common.h (c_static_assembler_name): Prototype.
1724 * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1725 * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1726 * c-opts.c: Include langhooks-def.h.
1727 (c_static_assembler_name): New.
1728 * langhooks.c: Include ggc.h. Include gt-langhooks.h.
1730 (lhd_set_decl_assembler_name): Give static objects with context
1732 * varasm.c (var_labelno): Delete.
1733 (make_decl_rtl): Don't change the assembler name once it's set.
1735 * c-opts.c (this_input_filename): New.
1736 (finish_options): Take new parameter, name of file being compiled.
1737 Update callers. Set this_input_filename.
1738 (push_command_line_include): Use this_input_filename not
1739 main_input_filename.
1741 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
1743 * Makefile.in: Depend .pot generation on options.c.
1744 * po/exgettext: Add an extra_files variable containing additional
1747 2003-07-17 Zack Weinberg <zack@codesourcery.com>
1749 * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
1750 c_write_global_declarations.
1752 * c-decl.c: Fix typos in several comments. Remove all
1753 #if 0 blocks; reindent as needed. Remove unused argument
1754 to declare_parm_level; all callers changed.
1755 * c-parse.in: Update calls to declare_parm_level. Avoid
1756 issuing a double warning in some circumstances.
1757 * c-typeck.c: Update calls to declare_parm_level.
1758 * c-tree.h: Update prototype of declare_parm_level.
1760 * c-pragma.c (apply_pragma_weak): Don't complain about a
1761 redundant #pragma weak.
1763 * objc/objc-act.c (forward_declare_categories,
1764 build_selector_reference_decl, build_class_reference_decl,
1765 build_objc_string_decl, synth_forward_declarations,
1766 build_protocol_reference): Set TREE_PUBLIC on synthetic
1767 forward decl to 0, consistent with eventual definition.
1768 Correct comments to match.
1770 * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
1771 in regexp that don't form a range expression.
1772 * fixinc/fixincl.def: Regenerate.
1774 2003-07-17 Richard Henderson <rth@redhat.com>
1777 * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
1778 even with !TARGET_CONST_GP.
1779 (ia64_function_ok_for_sibcall): Reject non-local functions.
1781 2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
1783 * c-common.c (c_estimate_num_insns_1): Don't handle
1785 * expr.c (safe_from_p): Likewise.
1786 * gengtype.c (adjust_field_tree_exp): Likewise.
1787 * stmt.c (warn_if_unused_value): Likewise
1788 * tree.c (first_rtl_op): Likewise.
1789 * tree.def: Don't define METHOD_CALL_EXPR.
1790 * java/lang.c (java_estimate_num_insns_1): Don't handle
1793 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1796 * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
1797 and its restrictions for the SPARC64 port.
1798 Move the entry of "-mimpure-text" before that of "-mv8".
1800 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1801 Phil Edwards <phil@jaj.com>
1803 * doc/install.texi (*-*-solaris2*): Document the step-by-step
1804 procedure to bootstrap and install.
1805 Document the preference for the legacy Sun tools in /usr/bin
1806 over the POSIX tools in /usr/xpg4/bin for the build process.
1808 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
1810 * c.opt: Document Uncodumented; use it. Document ObjC options.
1811 * opts.c (print_filtered_help): Skip undocumented switches.
1812 * opts.h (CL_UNDOCUMENTED): New.
1813 * opts.sh: Handle Undocumented.
1814 * toplev.c (documented_lang_options): Prevent its becoming empty.
1816 * lang-options.h: Remove.
1818 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
1820 * loop.c (check_ext_dependent_givs): Pass const struct loop *
1821 instead of struct loop_info * as argument. Accept BIVs with
1822 increment +/- 1 provided there is a friendly exit test against
1823 a loop-invariant value.
1824 (strength_reduce): Adapt call to check_ext_dependent_givs.
1826 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
1827 Con Bradley <con.bradley@superh.com>
1829 * sh-protos.h (sh_get_pr_initial_val): Declare.
1830 * sh.c (regno_reg_class): Make its elements type enum reg_class.
1831 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
1832 and live_regs_mask arguments. Changed all callers.
1833 (save_schedule_s): New structure.
1834 (save_schedule): New typedef.
1835 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
1836 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
1837 In interrupts handlers, also save registers that are usually
1838 partially saved, and make sure there is at least one general purpose
1839 register saved if a target register needs saving.
1840 Add casts in comparisons to avoid warnings.
1841 (sh_media_register_for_return): return -1 for interrupt handlers.
1842 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
1843 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
1844 registers used are available.
1845 Set RTX_FRAME_RELATED_P where appropriate.
1846 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
1847 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
1848 (initial_elimination_offset): Likewise.
1849 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
1850 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
1851 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
1852 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
1853 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
1854 and for target registers.
1855 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
1856 (regno_reg_class): Make its elements type enum reg_class.
1857 (CONSTRAINT_LEN): Don't use isdigit.
1858 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
1859 (FUNCTION_ARG): Add parentheses to avoid warnings.
1860 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
1861 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
1862 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
1863 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
1864 * sh.md (xordi3+1): Remove unused variable regno.
1865 (return_media): Check that tr0 is available before using it.
1867 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
1869 * c.opt: Document more options.
1871 2003-07-16 Roger Sayle <roger@eyesopen.com>
1873 * combine.c (subst): Also handle (subreg (const_double ...)) case
1874 if created by a substitution, by using the original inner mode.
1876 2003-07-16 Roger Sayle <roger@eyesopen.com>
1878 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
1879 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
1880 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
1882 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
1884 * doc/install.texi (--without-headers): New.
1886 Partial Fix PR/10129
1887 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
1888 (machopic_output_function_base_name): New; print the true pic label.
1889 (machopic_classify_ident): Pic Base is always a defined data.
1890 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
1891 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
1893 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
1894 if they are not floating point registers.
1897 * ggc.h: Add header guards.
1898 * c-decl.c (finish_struct): Sort fields if
1899 number greater than 15 and there are no
1900 anonymous structs/unions.
1901 * c-common.h: Include ggc.h.
1902 (sorted_fields_type): New struct.
1903 (field_decl_cmp): New prototype.
1904 (resort_sorted_fields): New prototype.
1905 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
1906 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
1907 as s, removing other fields.
1908 * c-typeck.c (lookup_field): Use s in lang_type.
1909 These were mostly moved from cp/class.c:
1910 * c-common.c (field_decl_cmp): New static function.
1911 (field_decl_cmp): New function.
1912 (resort_sorted_fields): New function.
1914 2003-07-16 Geoffrey Keating <geoffk@apple.com>
1916 * config/darwin.c (machopic_select_section): Use decl_readonly_section
1917 to do most of the work.
1919 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
1921 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
1922 * config/mmix/mmix.c: Convert functions to ISO C90.
1923 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
1925 (mmix_get_hard_reg_initial_val): Tweak section head comment.
1927 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
1929 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
1931 2003-07-16 Jakub Jelinek <jakub@redhat.com>
1933 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
1934 (uw_update_context_1): Use it.
1935 * config/rs6000/rs6000.c (insn_after_throw): Remove.
1936 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
1937 in parent frame if _Unwind_* called directly instead of through
1939 (rs6000_emit_eh_toc_restore): Remove.
1940 (rs6000_emit_prologue): Update stack pointer before doing any saving
1941 if current_function_calls_eh_return. Generate unwind info for $r2.
1942 (rs6000_emit_epilogue): Restore stack pointer after doing all
1943 restoring if current_function_calls_eh_return. Restore $r2.
1944 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
1945 * config/rs6000/rs6000.md (eh_return): Remove call to
1946 rs6000_emit_eh_toc_restore.
1947 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
1948 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
1950 2003-07-15 Jakub Jelinek <jakub@redhat.com>
1952 * expr.c (emit_block_move): Don't move anything if size is const 0.
1953 (clear_storage): Test against const0_rtx instead of comparing INTVAL
1956 2003-07-15 David S. Miller <davem@redhat.com>
1958 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
1959 emit nop if the last real insn is CALL_INSN.
1961 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
1963 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
1965 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
1967 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
1969 * config/i386/winnt.c (associated_type): Artificial methods are not
1970 affected by the import/export status of their class unless they are
1972 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
1974 * config/i386/winnt.c: Fix GCC copyright comment.
1976 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
1979 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
1980 not recursing on hard error.
1981 (diagnostic_for_decl): Likewise.
1982 * diagnostic.def: Rearrange.
1984 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
1986 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
1987 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
1989 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
1990 Richard Henderson <rth@redhat.com>
1992 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
1993 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
1994 (_Unwind_SetGR): Likewise.
1995 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
1996 (Unwind_SpTmp): New typedef.
1997 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
1998 (uw_update_context): Use _Unwind_GetPtr.
1999 (init_dwarf_reg_size_table): Move above uw_init_context_1.
2000 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
2001 Use _Unwind_SetSpColumn.
2002 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
2005 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
2007 * c.opt: Document more options.
2008 * toplev.c (documented_lang_options): Remove all local help strings.
2010 2003-07-15 Mark Mitchell <mark@codesourcery.com>
2013 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
2016 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
2019 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
2020 swap comparison operands if doing so would generate an
2021 unrecognizable insn.
2023 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
2025 PR optimization/11320
2026 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
2027 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
2028 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
2029 current_sched_info->compute_jump_reg_dependencies. Record which
2030 registers are used and which registers are set by the jump.
2031 Clear deps->reg_conditional_sets after a barrier.
2032 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
2033 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
2034 (init_deps): Initialize reg_conditional_sets.
2035 (free_deps): Clear reg_conditional_sets.
2036 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
2037 Mark registers live on entry of the fallthrough block and conditionally
2038 set as set by the jump. Mark registers live on entry of non-fallthrough
2039 blocks as used by the jump.
2040 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
2041 Mark new parameters as unused.
2043 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2045 * doc/invoke.texi: Resync MIPS -march documentation.
2047 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2049 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
2050 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
2051 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
2052 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
2053 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
2054 (mips_issue_rate): Handle PROCESSOR_R9000.
2055 (mips_use_dfa_pipeline_interface): Likewise.
2056 * config/mips/9000.md: New file.
2057 * config/mips/mips.md: Include it.
2058 (define_attr cpu): Add r9000.
2059 (mulsi3_mult3): Use "mul" for rm9000 code.
2061 2003-07-15 Stan Cox <scox@redhat.com>
2063 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
2064 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
2065 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
2066 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
2067 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
2068 (mips_issue_rate): Handle PROCESSOR_R7000.
2069 (mips_use_dfa_pipeline_interface): Likewise.
2070 * config/mips/7000.md: New file.
2071 * config/mips/mips.md: Include it.
2072 (define_attr cpu): Add r7000.
2073 (mulsi3_mult3): Use "mul" for rm7000 code.
2075 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
2077 * config/mips/mips.md (define_attr type): Add condmove. Use it for
2078 the conditional move patterns.
2079 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
2080 Check for condmove type.
2081 (ir_vr54_arith): Add move type.
2082 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
2083 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
2085 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
2087 * c-opts.c (print_help): Remove.
2088 (c_common_handle_option): Don't handle --help.
2089 * c.opt: Document some options.
2091 * opts.c (print_filtered_help): New.
2092 (print_help): Use it.
2094 2003-07-14 Geoffrey Keating <geoffk@apple.com>
2096 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
2097 * tree.c: (build_common_tree_nodes_2): Likewise.
2098 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
2099 (V4DF_type_node): New.
2101 * c-opts.c (push_command_line_include): Don't free deferred_opts,
2103 (finish_options): Reset init_cursor.
2105 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
2107 * expr.c (expand_assignment): Remove an unused argument
2109 * expr.h: Update the prototype.
2110 * function.c: Update the callers.
2113 2003-07-14 Mark Mitchell <mark@codesourcery.com>
2116 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
2119 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
2121 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
2122 with __cplusplus, not "we must use the C++ compiler's type"
2123 * fixinc/inclhack.def (void_null): Note that Interix needs this.
2124 * fixinc/fixincl.x: Regenerate.
2126 2003-07-14 Geoffrey Keating <geoffk@apple.com>
2128 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
2129 and unseen_objects from the global data before calling
2130 __deregister_frame_info_bases.
2131 (examine_objects): Insert objects into the seen_objects list,
2133 (_Unwind_Find_FDE): Always unlock the global object lists, even if
2134 we couldn't allocate a data structure to put in it.
2136 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
2137 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
2138 (SET_TYPE_PROTOCOL_LIST): New.
2139 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
2140 (get_object_reference): Likewise.
2142 Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
2144 * cfglayout.c (locator_file): Break out from ....
2145 (insn_file): ... here.
2146 (locator_line): Break out from ....
2147 (insn_line): ... here.
2148 * rtl.h (locator_file, locator_line): Declare.
2149 (final_start_function): Set proper line/file info.
2151 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
2153 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
2154 handled by pp_c_cast_expression.
2156 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2158 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
2159 allocate 32768 bytes of stack. Use addition rather than subtraction
2160 when a single insn is enough.
2161 * config/mips/mips.md: Remove insns and splitters for subtracting
2163 (subsi3): Only accept register operands.
2164 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
2165 (subdi3_internal_3, subsi3_internal_2): Likewise.
2166 (casesi): Use expand_binop to subtract the lower bound.
2168 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2170 * config/mips/mips.c (mips_in_small_data_p): Don't handle
2171 TARGET_MIPS16 specially.
2173 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
2175 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
2176 mips_output_aligned_bss.
2177 * config/mips/linux.h: Likewise.
2178 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
2179 * config/mips/mips.c (mips_output_aligned_bss): New function.
2181 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
2182 * config/mips/elf64.h: Likewise.
2184 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
2185 mips_declare_object_name.
2186 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
2187 * config/mips/elf64.h: As for elf.h.
2188 * config/mips/iris6.h: Likewise.
2189 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
2190 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
2191 do...while (0) block.
2192 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
2193 (mips_finish_declare_object): Declare.
2194 * config/mips/mips.c (mips_declare_object_name): New function.
2195 (mips_finish_declare_object): New function.
2197 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
2198 * config/mips/linux.h: Likewise.
2200 * config/mips/mips.c (inside_function): Delete.
2201 (file_in_function_warning, ignore_line_number): Delete.
2202 (mips_output_filename): Don't warn about changing filenames within
2204 (mips_output_lineno): Update accordingly.
2205 (mips_output_function_prologue): Don't reset the deleted variables.
2206 * config/mips/mips.h (inside_function): Delete.
2207 (file_in_function_warning, ignore_line_number): Delete.
2209 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
2210 * config/mips/elf64.h: Likewise.
2211 * config/mips/openbsd.h: Likewise.
2212 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
2213 * config/mips/linux.h: Likewise.
2214 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
2215 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
2217 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
2218 to the list of include files when using gas.
2219 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
2220 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
2221 * config/mips/elf64.h: Likewise.
2222 * config/mips/iris5.h: Likewise.
2223 * config/mips/linux.h: Likewise.
2224 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
2225 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
2226 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
2227 * config/mips/sdb.h: ...this new file.
2229 2003-07-14 Douglas Rupp <rupp@gnat.com>
2231 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
2232 argument to getcwd; use fixed buffer instead.
2234 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
2236 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
2237 * fixinc/fixinc.wrap: Delete.
2239 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
2241 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
2244 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
2246 * ggc-page.c (struct globals): Add new fields to keep track of the
2247 total allocated memory and overhead.
2248 (ggc_print_statistics): Print them.
2249 (ggc_alloc): Keep track of the total allocated memory and the
2252 * tree.c (dump_tree_statistics): Increase spacing.
2253 (enum tree_node_kind): Move to ...
2254 * tree.h (enum tree_node_kind): ... here.
2255 (tree_node_counts, tree_node_sizes): Declare.
2257 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
2259 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
2261 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2263 PR optimization/11440
2264 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
2267 2003-07-14 Alan Modra <amodra@bigpond.net.au>
2269 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
2270 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
2271 (emit_group_load, emit_group_store): Adjust declarations.
2272 Remove most occurrences of #ifdef TREE_CODE.
2273 * expr.c (emit_group_load): Add "type" param, and use
2274 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
2275 aligned accesses if !SLOW_UNALIGNED_ACCESS.
2276 (emit_group_store): Likewise.
2277 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
2278 emit_group_load and emit_group_store calls.
2279 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
2280 BLOCK_REG_PADDING to determine whether we need endian_correction.
2281 (load_register_parameters): Localize vars. Handle shifting of
2282 small values to the correct end of regs. Adjust emit_group_load
2284 (expand_call, emit_library_call_value_1): Adjust emit_group_load
2285 and emit_group_store calls.
2286 * function.c (assign_parms): Set mem alignment for stack slots.
2287 Adjust emit_group_store call. Store values at the "wrong" end
2288 of regs to the stack. Use BLOCK_REG_PADDING.
2289 (locate_and_pad_parm): Save where_pad.
2290 (expand_function_end): Adjust emit_group_load call.
2291 * stmt.c (expand_value_return): Adjust emit_group_load call.
2292 * Makefile.in (calls.o): Depend on $(OPTABS_H).
2293 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
2294 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
2295 (MUST_PASS_IN_STACK): Define.
2296 (BLOCK_REG_PADDING): Define.
2297 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
2298 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
2299 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
2300 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
2301 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
2303 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
2305 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
2307 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2309 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
2310 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
2312 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
2315 * toplev.c: Don't cut off option names.
2317 2003-07-13 Andreas Jaeger <aj@suse.de>
2319 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
2320 to integer of different size.
2322 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
2324 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
2325 to (eq (and X 1) 0).
2327 2003-07-13 Andreas Jaeger <aj@suse.de>
2329 * config.gcc: Add pmmintrin.h for x86_64-*-*.
2331 2003-07-13 Zack Weinberg <zack@codesourcery.com>
2333 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
2334 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
2335 list. Move these all together down by cpplib.
2337 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
2338 definition of CPPCHAR_SIGNED_T.
2340 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
2341 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
2342 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
2344 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
2345 * cppinit.c (cpp_create_reader): Likewise.
2347 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
2348 * cpptrad.c: Likewise. All callers changed.
2349 * cpplib.c: All callers changed.
2350 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
2351 * hashtable.h: Define GTY(x) to nothing here too.
2353 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2355 * stor-layout.c (compute_record_mode): Remove very obsolete test
2356 that forces BLKmode for records with fields crossing word boundary.
2358 2003-07-13 Zack Weinberg <zack@codesourcery.com>
2360 * Makefile.in: Remove orphan reference to acconfig.h.
2362 2003-07-13 Andreas Jaeger <aj@suse.de>
2364 * cgraphunit.c: Convert prototypes to ISO C90.
2366 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
2368 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
2370 * fixinc/fixincl.x: Rebuild.
2372 2003-07-12 Zack Weinberg <zack@codesourcery.com>
2374 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
2375 i?86-*-*. Use correct name of cache variable.
2376 * configure: Regenerate.
2378 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
2380 * config/alpha/alpha.c: Fix comment typos.
2381 * config/alpha/alpha.md: Likewise.
2382 * config/arm/arm.c: Likewise.
2383 * config/arm/arm.md: Likewise.
2384 * config/arm/lib1funcs.asm: Likewise.
2385 * config/avr/avr.md: Likewise.
2386 * config/arm/README-interworking: Fix typos.
2388 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
2390 * c-format.c: Fix comment formatting.
2391 * c-typeck.c: Likewise.
2392 * coverage.c: Likewise.
2393 * cppcharset.c: Likewise.
2394 * cpplib.c: Likewise.
2395 * dbxout.c: Likewise.
2396 * gcov-io.h: Likewise.
2397 * toplev.c: Likewise.
2399 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
2401 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
2404 2003-07-12 Zack Weinberg <zack@codesourcery.com>
2406 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
2407 uses three-argument AC_DEFINE so no acconfig.h entries are
2409 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
2410 which contains the GAS version number as a scaled integer.
2411 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
2412 ability to check for ELF assembler.
2413 (gcc_GAS_CHECK_FEATURE): New macro.
2414 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
2415 assembler feature checks using gcc_GAS_CHECK_FEATURE.
2416 Use three-argument AC_DEFINE everywhere.
2417 * acconfig.h: Deleted.
2418 * config.in, configure: Regenerate.
2420 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
2422 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
2424 * fixinc/fixincl.x: Regenerate.
2426 * fixinc/inclhack.def (gnu_types): Improve comment.
2428 2003-07-12 Andreas Jaeger <aj@suse.de>
2430 * fp-test.c (main): Use ISO C90 prototype.
2432 * version.c: Remove unneded include of ansidecl.h.
2434 * cgraph.h: Convert prototypes to ISO C90.
2435 * cgraph.c: Likewise.
2436 * fix-header.c: Likewise.
2438 * protoize.c: Likewise.
2440 Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
2442 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
2445 Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
2446 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2448 * cgraph.c (cgraph_max_uid): New global variable.
2449 (cgraph_node): Set uid field.
2450 (create_edge): Keep inline flags consistent.
2451 (dump_cgraph): Dump more info.
2452 * cgraph.h (struct cgraph_local_info): Remove inline_many and
2453 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
2454 (struct cgraph_global_info): Add insns, calls, cloned_times,
2456 (struct cgraph_node): Add uid.
2457 (struct cgraph_edge): Add inline_call.
2458 (cgraph_max_uid, cgraph_inline_p): Declare.
2459 * cgraph.c: Include params.h and fibheap.h
2460 (cgraph_mark_functions_to_inline_once): Kill.
2461 (INSNS_PER_CALL): New constant.
2462 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
2464 (cgraph_finalize_function): Do not analyze inlining.
2465 (cgraph_finalize_compilation_unit): Set inlining attributes.
2466 (cgraph_mark_functions_to_output): More consistency checks.
2467 (cgraph_optimize_function): Set current_function_decl to NULL.
2468 (cgraph_expand_function): Use new inline flags.
2469 (cgraph_postorder): Expand from cgraph_expand_functions.
2470 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
2471 (cgraph_inlined_into, cgraph_inlined_callees,
2472 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
2473 cgraph_mark_inline, cgraph_check_inline_limits,
2474 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
2475 cgraph_decide_inlining, cgraph_inline_p): New functions.
2476 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
2477 PARAM_INLINE_UNIT_GROWTH): New parameters.
2478 * tree-inline.c (struct inline_data): New field current_decl.
2479 (expand_call_inline): Avoid forward declarations; use
2480 inlinable_function_p.
2481 (optimize_inline_calls): Set id.current_decl.
2483 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
2485 * configure.in: Remove wrongly added definition of
2487 * configure: Regenerate.
2489 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
2491 * rtl.def (NOTE): Do not use padding.
2493 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
2495 * doc/install.tex: Update required binutils for i?86-*-linux*
2497 2003-07-11 Richard Henderson <rth@redhat.com>
2499 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
2501 2003-07-11 Mark Mitchell <mark@codesourcery.com>
2503 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
2504 TRANSLATION_UNIT_DECL as top_level.
2506 2003-07-11 Jakub Jelinek <jakub@redhat.com>
2508 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
2509 then fall back to cmpstrM.
2510 * builtins.c (expand_builtin_memcmp): Likewise.
2511 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
2512 (s390_expand_cmpmem): ... this.
2513 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
2514 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
2515 from cmpstr* patterns. Rename call to s390_expand_cmpstr
2516 to s390_expand_cmpmem.
2517 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
2518 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
2520 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
2522 * doc/md.texi (cmpstrM): Describe as String compare insn, not
2526 2003-07-11 Loren James Rittle <ljrittle@acm.org>
2528 * config/i386/freebsd.h (SET_ASM_OP): Remove.
2529 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
2530 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
2531 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
2533 2003-07-11 Richard Henderson <rth@redhat.com>
2535 * function.c (assign_parms): Don't recombine complex args if
2536 fnargs is unchanged from orig_fnargs.
2537 (split_complex_args): Return args without complex before copying.
2538 Re-layout the modified parameters.
2540 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
2542 * regclass.c (choose_hard_reg_mode): Add third argument.
2543 Changed all callers.
2544 * rtl.h (choose_hard_reg_mode): Update declaration.
2545 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
2546 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
2548 2003-07-11 Geoffrey Keating <geoffk@apple.com>
2550 * c-decl.c (finish_decl): Handle 'used' here...
2551 * cgraphunit.c (cgraph_finalize_function): ... and here ...
2552 * c-common.c: (handle_used_attribute): ... not here.
2554 * configure.in (onstep): Support --enable-intermodule.
2555 * Makefile.in (OBJS-common): New.
2557 (OBJS-archive): New.
2558 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
2559 (OBJS-onestep): New.
2560 (libbackend.a): Support @onestep@.
2561 (libbackend.o): New.
2562 * configure: Regenerate.
2564 * c-common.h (c_reset_state): New prototype.
2565 (c_parse_file): New prototype.
2566 (finish_file): Move prototype from c-tree.h.
2567 * c-decl.c: Include <hashtab.h>.
2568 (builtin_decls): New.
2569 (current_file_decl): New.
2570 (duplicate_decls): Add extra parameter. Change all callers. Don't
2571 output duplicate common symbols.
2572 (link_hash_hash): New.
2573 (link_hash_eq): New.
2574 (poplevel): Handle popping of the top level.
2575 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
2576 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
2577 (pushdecl_top_level): Likewise.
2578 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
2579 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
2580 (finish_decl): Handle TRANSLATION_UNIT_DECL.
2581 (merge_translation_unit_decls): New.
2582 (c_write_global_declarations): New.
2583 (c_reset_state): New.
2584 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
2585 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
2586 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
2587 TRANSLATION_UNIT_DECL.
2588 (c_objc_common_finish_file): Call merge_translation_unit_decls.
2589 * c-opts.c (in_fnames): Rename from in_fname.
2590 (c_common_decode_option): Handle multiple input filenames.
2591 (c_common_post_options): Likewise.
2592 (c_common_parse_file): Likewise; also, call c_parse_file rather than
2594 * c-parse.in: Move cleanup code to c_parse_file.
2595 (free_parser_stacks): Move contents to c_parse_file.
2596 (c_parse_file): New.
2597 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
2599 (C_DECL_FILE_SCOPE): New.
2600 (finish_file): Move prototype to c-common.h.
2601 (merge_translation_unit_decls): New prototype.
2602 (comptypes): Add extra parameter to prototype.
2603 (c_write_global_declarations): New prototype.
2604 * c-typeck.c (tagged_types_tu_compatible_p): New.
2605 (function_types_compatible_p): Add extra parameter, change all callers.
2606 (type_lists_compatible_p): Likewise.
2607 (comptypes): Likewise.
2608 (struct tagged_tu_seen): New.
2609 (tagged_tu_seen_base): New.
2610 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
2611 (c_mark_addressable): Remove #if 0 code.
2612 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
2613 comment explaining why it shouldn't have to.
2614 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
2616 * cppinit.c (cpp_read_next_file): New.
2617 (cpp_read_main_file): Use it.
2618 * cpplib.c (undefine_macros): New.
2619 (cpp_undef_all): New.
2620 * cpplib.h (cpp_read_next_file): Prototype.
2621 (cpp_undef_all): Prototype.
2622 * langhooks-def.h (write_global_declarations): Remove prototype.
2623 * toplev.h (write_global_declarations): Add prototype.
2624 * tree.c (decl_type_context): Use switch statement, handle
2625 TRANSLATION_UNIT_DECL.
2626 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
2627 (TRANSLATION_UNIT_DECL): New kind of tree.
2628 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
2629 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
2630 * doc/invoke.texi: Make attempt to document new functionality.
2632 2003-05-19 Per Bothner <bothner@apple.com>
2634 * gcc.c (combine_inputs): New.
2635 (process_command): Set combine_inputs.
2636 (do_spec_1): Handle combine_inputs.
2639 2003-07-10 James E Wilson <wilson@tuliptree.org>
2641 PR optimization/9745
2642 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
2643 loop_insn_emit_before.
2644 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2646 2003-07-10 Zack Weinberg <zack@codesourcery.com>
2648 * cppcharset.c: Fix comment.
2649 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
2650 (EILSEQ): #define to EINVAL if not already defined.
2651 (convert_using_iconv): #if out when !HAVE_ICONV.
2652 (init_iconv_desc): Handle !HAVE_ICONV here...
2653 (cpp_init_iconv): ...not here.
2655 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
2657 * common.opt: More --help messages.
2658 * opts.c (print_help): Use puts().
2659 * toplev.c (f_options): Remove help text.
2660 (display_help): Don't dump f_options.
2662 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
2664 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
2665 Move i?86-*-interix* to the don't-fix list.
2666 * fixinc/fixinc.interix: Delete with extreme prejudice.
2668 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
2671 * doc/install.texi: Document requirements for ia64-*-hpux* target.
2673 2003-07-10 Roger Sayle <roger@eyesopen.com>
2675 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
2677 2003-07-10 Zack Weinberg <zack@codesourcery.com>
2679 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
2680 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
2681 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
2682 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
2683 convert_no_conversion, convert_using_iconv): New functions.
2684 (APPLY_CONVERSION): New macro.
2685 (struct conversion, conversion_tab): New data structure.
2686 (init_iconv_desc): Check conversion_tab for a custom conversion
2687 primitive before trying to use iconv.
2688 (convert_cset): Deleted.
2689 (cpp_init_iconv): Use UTF- terminology, not UCS-.
2690 (_cpp_destroy_iconv): Update to match.
2691 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
2692 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
2693 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
2694 (_cpp_interpret_string_notranslate): New function, moved here
2697 * cpphash.h (convert_f, struct cset_converter): New types.
2698 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
2699 are now struct cset_converter, not bare iconv_t.
2701 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
2702 all callers changed.
2704 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
2706 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
2707 to opts.sh command line.
2708 * opts.sh: Write to temporary files with a move-if-change at the end.
2710 2003-07-10 Denis Chertykov <denisc@overta.ru>
2711 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2713 * combine.c (gen_binary): Handle the CLOBBER rtx and
2714 don't build a binary operation with it.
2716 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2718 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
2719 store_killed_after, store_killed_before): Keep track of the correct
2720 dependency function to use.
2722 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
2723 * toplev.c (do_compile): Don't try to open dump files before
2724 lang_dependent_init initializes dump_base_name.
2726 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2728 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
2730 * config/frv/frv.c (frv_expand_builtin): Likewise.
2731 * config/sh/sh.c (sh_media_init_builtins): Likewise.
2733 2003-07-09 Mark Mitchell <mark@codesourcery.com>
2736 * doc/invoke.texi (C++ Dialect Options): Change documentation of
2739 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2741 * tm.texi (RETURN_ADDR_OFFSET): Document.
2743 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
2745 * gcov-io.h: Update documentation.
2746 (GCOV_UNSIGNED2STRING): New.
2747 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
2748 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
2749 GCOV_TAG_SUMMARY_LENGTH): Adjust.
2750 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
2751 GCOV_TAG_COUNTER_NUM): New.
2752 (GCOV_BLOCK_SIZE): Number of words.
2753 (gcov_var): Adjust buffer type.
2754 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
2755 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
2756 count, not byte count.
2757 (gcov_open): Adjust overread init.
2758 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
2759 gcov_write_string, gcov_write_tag, gcov_write_length,
2760 gcov_write_tag_length): Adjust.
2761 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
2762 (gcov_sync, gcov_seek): Adjust.
2763 * gcov-dump.c (print_usage): Show gcc version only.
2764 (dump_file): Use GCOV_UNSIGNED2STRING.
2765 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
2766 * gcov.c (print_version): Show gcc version only.
2767 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
2768 GCOV_TAG_*_NUM macros.
2769 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
2770 GCOV_TAG_COUNTER_LENGTH.
2771 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
2772 Use GCOV_TAG_COUNTER_NUM.
2773 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
2774 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
2776 2003-07-10 Andreas Schwab <schwab@suse.de>
2778 * gcov-dump.c (dump_file): Fix missing address operator.
2780 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
2783 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
2785 (fold_single_bit_test): If sign_bit_p() fails, assume that the
2786 bit being tested is not a sign bit.
2788 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
2790 * config/h8300/h8300.md (a peephole2): New.
2792 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
2794 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
2795 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
2796 from ld-linux.so.2 to ld.so.1.
2797 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
2798 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
2799 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
2800 nor -Wl,-rpath-link.
2801 (LIB_SPEC): Add -rpath-link if !static.
2802 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
2803 * config/mn10300/mn10300.c (mn10300_protect_label): New
2805 * config/mn10300/linux.h (PRINT_OPERAND,
2806 PRINT_OPERAND_ADDRESS): Set it during their execution.
2807 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
2808 mn10300_protect_label is set.
2809 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
2811 (LIB_SPEC, STARTFILE_SPEC): Define.
2812 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
2813 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
2814 FLOAT_BIT_ORDER_MISMATCH.
2815 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
2816 * config.gcc (am33_2.0-*-linux*): Added.
2817 * config/mn10300/linux.h: New.
2818 * config/mn10300/t-linux: New.
2820 2003-07-10 Andreas Jaeger <aj@suse.de>
2822 * fold-const.c: Properly wrap prototypes.
2824 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2826 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
2827 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
2829 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
2830 * config/mn10300/mn10300.h: GTY-declare it.
2831 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
2832 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
2833 prototype. Use incoming RTL argument.
2834 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
2835 * config/mn10300/mn10300.md (int_label): Move C statements...
2836 (GOTaddr2picreg): ... here.
2837 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
2838 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
2839 * config/mn10300/mn10300.c (mn10300_encode_section_info):
2840 ... here. New function.
2841 (TARGET_ENCODE_SECTION_INFO): Define to it.
2842 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
2843 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
2845 (mn10300_loadPC): Define as insn splittable after reload.
2846 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2847 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
2848 be defined in .rodata even in PIC, now that the assembler
2850 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
2851 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
2852 symbol take an underscore prefix.
2853 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2854 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
2855 legitimize_pic_address): Declare.
2856 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
2857 the PIC register as fixed.
2858 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
2859 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
2861 (LEGITIMATE_PIC_OPERAND_P): Define.
2862 (PIC_OFFSET_TABLE_REGNUM): Define.
2863 (GOT_SYMBOL_NAME): Define.
2864 (SYMBOLIC_CONST_P): Define.
2865 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
2867 (MN10300_GLOBAL_P): Test it.
2868 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
2869 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
2870 * config/mn10300/mn10300.c (print_operand): Handle unspec.
2871 (expand_prologue): Set PIC register.
2872 (call_address_operand): Don't match SYMBOL_REFs in PIC.
2873 (legitimize_address): Call legitimize_pic_address.
2874 (legitimize_pic_address): New fn.
2875 (legitimate_pic_operand_p): New fn.
2876 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
2877 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
2878 UNSPEC_PLT): New constants.
2879 (pop_pic_reg): New insn.
2880 (movsi): Adjust non-PIC addresses.
2881 (builtin_setjmp_receiver): Restore the PIC register.
2883 (call): Adjust non-PIC addresses.
2884 (int_label, GOTaddr2picreg): New expands.
2885 (am33_loadPC): New insn.
2886 (mn10300_loadPC): New expand.
2887 (call_next_insn): New insn.
2888 (add_GOT_to_pic_reg): New expand.
2889 (symGOT2reg, symGOT2reg_i): New expands.
2890 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
2891 (sym2PIC, sym2PLT): New expands.
2893 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2895 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
2896 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
2897 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
2898 to flag_unsafe_math_optimizations.
2899 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2900 * config/mn10300/mn10300.c (expand_prologue): Mark
2901 FP-register-saving insns as frame-related.
2902 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
2903 * config/mn10300/mn10300.c
2904 (mn10300_get_live_callee_saved_regs): Don't search past
2905 LAST_EXTENDED_REGNUM.
2906 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
2907 * config/mn10300/mn10300.md: Remove excessive line breaks from
2908 `@' output patterns that were accounted as additional
2910 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
2911 Re-introduce changes accidentally removed in Richard Sandiford's
2913 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2914 Re-instate am33-2 lost in merge from net GCC.
2915 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
2916 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
2917 floating-point registers.
2918 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
2919 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
2920 pessimizations that had gone in on 2000-05-08.
2921 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
2922 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
2923 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
2924 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
2926 * (movhi): Likewise.
2927 * (movsi): Likewise.
2928 * (movsf): Likewise.
2929 * (movdi): Likewise.
2930 * (movdf): Likewise.
2931 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
2932 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
2933 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
2934 (expand_prologue, expand_epilogue): Save and restore FP regs.
2935 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
2936 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
2937 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
2938 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
2939 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
2941 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
2942 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
2943 Discourage the two-argument, longer opcodes.
2944 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
2946 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
2947 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
2948 * config/mn10300/mn10300.md (cmpsf): New pattern.
2949 (branch): Test mdep.fpCC and output fbCC.
2950 * config/mn10300/mn10300.c (print_operand): Output conditions.
2951 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
2952 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
2953 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
2954 mulsf3, divsf3): Use the `F' constraint for FP values.
2955 * config/mn10300/mn10300.c (const_1f_operand): New function.
2956 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
2957 * config/mn10300/mn10300.md (sqrtsf2): New expand.
2958 (rsqrtsf2): New insn.
2959 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
2960 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
2962 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
2963 * config/mn10300/mn10300.md (abssf2, negdf2): On
2964 TARGET_AM33_2, expand to...
2965 (abssf2_am33_2, negdf2_am33_2): New insns.
2966 (addsf3, subsf3, mulsf3, divsf3): Likewise.
2967 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
2968 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
2969 movdi, movdf): Added FP regs.
2970 * invoke.texi (-mam33-2, -mno-am33-2): Document.
2971 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
2972 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
2974 (REGNO_AM33_2_FP_P): Renamed to...
2975 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
2976 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2977 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2978 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
2979 regs from GENERAL_REGS.
2980 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2981 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
2982 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
2983 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
2984 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
2985 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
2987 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
2988 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
2989 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
2990 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
2991 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
2992 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
2993 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
2994 AM33/2.0 floating-point registers.
2995 (CONDITIONAL_REGISTER_USAGE): Adjust.
2996 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
2997 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
2998 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
2999 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
3000 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
3001 (MULTILIB_DIRNAMES): Likewise.
3002 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
3003 `__AM33_2__' when `-mam33-2' is given.
3004 (TARGET_AM33_2): Define.
3005 (TARGET_SWITCHES): Adjust.
3006 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
3009 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
3011 * doc/install.texi: Add missing @.
3013 2003-07-09 Bob Wilson <bob.wilson@acm.org>
3015 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
3017 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
3020 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
3022 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
3025 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
3026 "x-crtfini.o" with "crtinit.o", "crtfini.o".
3028 * fixinc/inclhack.def (limits_ifndefs): Add select test.
3029 * fixinc/fixincl.x: Rebuild.
3031 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
3032 * fixinc/fixincl.x: Rebuild.
3034 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
3036 * doc/install.texi (Configuration): Document the valgrind option
3037 to --enable-checking.
3039 Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
3041 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
3043 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3045 * c-lex.c (cb_ident): Cast cstr.text to const char *.
3047 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
3049 * gcov-io.h: Update documentation.
3050 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
3052 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
3053 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
3054 (struct gcov_var): Change buffer's type. Add endian flag.
3055 (gcov_open): Remove mode in libgcov.
3056 (gcov_magic): Prototype.
3057 * gcov-io.c (from_file): New.
3058 (gcov_open): Clear endian flag.
3060 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
3062 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
3063 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
3064 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
3065 * gcov-iov.c (main): Correct cast.
3066 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
3068 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
3069 (coverage_init): Use GCOV_NOTE_SUFFIX.
3070 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
3071 Rename to gcov_version, and return flag.
3072 (gcov_exit): Use gcov_version.
3073 (__gcov_init): Use gcov_version.
3074 * Makefile.in (coverageexts): Update.
3075 * gcov.c (print_version): Remove endianness conversion.
3076 (create_file_names): Use GCOV_NOTE_SUFFIX.
3077 (read_graph_file): Use gcov_magic.
3078 (read_count_file): Likewise.
3079 * gcov-dump.c (dump_file): Remove endianness conversion, use
3082 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
3084 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
3086 * configure: Regenerated.
3087 * Makefile.in (ALL_CFLAGS): Correct its comment.
3089 2003-07-08 Mark Mitchell <mark@codesourcery.com>
3091 * fold-const.c (make_range): Do not access operand 1 for a
3092 zero-operand operator.
3094 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
3096 * toplev.c (warn_dummy, W_options): Die.
3097 (display_help): Don't print W_options.
3098 * common.opt: Add W_options help from toplev.c.
3100 2003-07-09 Andreas Jaeger <aj@suse.de>
3102 * opts.c (wrap_help): Only pass int arguments as arguments to
3103 printf's '*' modifier. Change argument of function.
3105 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
3107 * doc/invoke.texi: Fix misspelling of "@item".
3109 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
3111 * config/i386/i386.md: Remove an old comment about
3114 Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
3116 * cgraph.c (cgraph_node_name): New function.
3117 (dump_cgraph): Use it.
3118 * cgraph.h (cgraph_dump_file): Declare.
3119 (cgraph_node_name): Declare.
3120 * cgraphunit.c: Include timevar.h
3121 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
3122 (cgraph_optimize_function): Use TV_INTEGRATION.
3123 (cgraph_mark_local_functions): reorganize dumps.
3124 (cgraph_mark_functions_to_inline_once): Likewise.
3125 (cgraph_optimize): Likewise; use timevar.
3126 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
3127 * toplev.c (dump_file_index): Add DFI_cgraph.
3128 (dump_file_info): Likewise.
3129 (cgraph_dump_file): New global variable.
3130 (do_compile): Open and close cgraph dump.
3131 * invoke.texi (-d): Document new flag; renumber.
3133 2003-07-08 Roger Sayle <roger@eyesopen.com>
3136 * calls.c (emit_call_1): Don't bother popping the arguments off of
3137 the stack after a noreturn function call; The adjustment is dead.
3138 (expand_call): Likewise.
3140 2003-07-08 Geoffrey Keating <geoffk@apple.com>
3142 * expr.c (MOVE_MAX_PIECES): Move from here...
3143 * defaults.h (MOVE_MAX_PIECES): ... to here.
3145 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
3147 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
3149 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3151 * genattr.c (internal_dfa_insn_code): Don't prototype.
3152 * genattrtab.c (attr_desc): Add `static_p' field.
3153 (expand_units): Make blockage range and ready cost functions
3155 (write_attr_get): Don't add extern prototypes in C file. Mark
3156 static functions as appropriate.
3157 (find_attr, make_internal_attr): Initialize static_p.
3158 * genattrtab.h (ATTR_STATIC): New macro.
3159 * genautomata.c (output_internal_reset_func): Mark output function
3161 (make_internal_dfa_insn_code_attr): Mark output function as static.
3163 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3165 * genattrtab.h: Add new macros for attr `special' flags.
3166 * genattrtab.c (attr_desc): Reorder/resize fields better.
3167 Use attr `special' macros in all calls to make_internal_attr.
3168 * genautomata.c: Likewise.
3170 Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
3172 * c-common.c (c_estimate_num_insns_1): New static function.
3173 (c_estimate_num_insns): New global function.
3174 * c-common.h (DECL_NUM_STMTS): Rename to...
3175 (DECL_ESTIMATED_INSNS): ... this.
3176 (c_estimate_num_insns): Declare.
3177 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
3178 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
3179 * c-semantics.c (add_stmt): Do not account statements.
3180 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
3182 * langhooks.h (lang_hooks_for_tree_inlining): Add
3184 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
3186 (max-inline-insns): set to 300.
3187 (min-inline-insns): set to 10.
3188 * tree-inline.c (struct inline_data): Rename inlined_stmts to
3190 (INSNS_PER_STMT): Kill.
3191 (inlinable_function_p): Compute and store body size.
3192 (expand_call_inline): Likewise.
3193 (optimize_inline_calls): Likewise.
3195 2003-07-08 James E Wilson <wilson@tuliptree.org>
3198 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
3199 loop over new variable t2 instead of t.
3201 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
3204 * config/i386/winnt.c: Replace use of error(), warning() with
3205 error_with_decl(), warning_with_decl(), throughout.
3207 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
3209 * opts.c (wrap_help): Use unsigned int, not size_t.
3211 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
3213 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
3214 as .file/.loc directives are incompatible with linker relaxation.
3216 2003-07-08 Zack Weinberg <zack@codesourcery.com>
3218 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
3219 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
3220 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
3221 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
3222 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
3223 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
3224 Escape { and } characters which are not part of range expressions.
3225 * fixinc/fixincl.x: Regenerate.
3226 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
3228 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
3231 * tree-inline.c (find_alloca_call): Use
3232 walk_tree_without_duplicates, instead of walk_tree.
3233 (find_builtin_longjmp_call): Likewise.
3234 * c-objc-common.c (c_cannot_inline_fn): Likewise.
3235 * c-semantics.c (find_reachable_label): Likewise.
3237 2003-07-08 Jakub Jelinek <jakub@redhat.com>
3240 * config/i386/i386.c (ix86_check_movabs): New function.
3241 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
3242 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
3243 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
3245 2003-07-08 Chris Demetriou <cgd@broadcom.com>
3247 * Makefile.in (install-po): Cope with empty CATALOGS.
3249 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
3251 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3252 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
3253 (SECTION_FUNCTION_TEMPLATE): Delete.
3254 * config/mips/elf.h: As for elf64.h.
3255 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
3256 * config/mips/linux.h: As for elf.h
3257 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3258 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
3259 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
3260 of in_sdata from current_section_name and current_section_flags.
3261 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
3262 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
3263 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
3264 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
3265 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
3266 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
3267 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
3268 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
3269 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
3270 (override_options): Remove setting of MASK_GPOPT.
3271 (mips_output_external): Use mips_in_small_data_p to check whether a
3272 symbol needs an .extern directive. Don't emit such directives for
3273 TARGET_EXPLICIT_RELOCS.
3274 (mips_declare_object): Update accordingly.
3275 (mips_select_rtx_section): Call named_section rather than
3277 (mips_select_section): Use default_elf_section_section for everything
3278 except .text string constants.
3279 (mips_in_small_data_p): New function.
3280 (mips_encode_section_info): Remove small data handling.
3281 (mips_unique_section): Delete.
3282 (iris6_section_type_flags): New function.
3283 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
3285 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3288 * pa.md: Disparage all mtsar constraints.
3289 (extzv, extv, insv): Don't fail on length of {32|64}.
3291 2003-07-08 Zack Weinberg <zack@codesourcery.com>
3293 * system.h: Poison MAP_CHARACTER.
3294 * config/i370/i370-protos.h (mvs_map_char): Delete.
3295 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
3296 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
3297 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
3299 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
3301 * toplev.c (randomize): Correct call to time().
3303 2003-07-08 Jakub Jelinek <jakub@redhat.com>
3305 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
3306 REG_EQUIV notes as well.
3308 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
3310 * doc/md.texi: Fix the description of addmodecc.
3312 2003-07-07 Zack Weinberg <zack@codesourcery.com>
3314 * Makefile.in (top_builddir): Set to "..", not ".".
3315 (INTLLIBS, INTLDEPS): Delete.
3316 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
3317 (LIBDEPS): Add $(LIBICONV_DEP).
3318 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
3319 (INCLUDES): Replace -I../intl with @INCINTL@.
3320 ($(top_builddir)/intl/libintl.a): Delete rule.
3321 (stage2-start, stage3-start, stage4-start, stageprofile-start,
3322 stagefeedback-start): Use $$ for variable to be evaluated by
3324 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
3325 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
3326 * aclocal.m4: sinclude ../config/progtest.m4. Add
3327 contents of lcmessage.m4 from gettext distro.
3328 * configure.in: Check for wchar.h and setlocale. Set
3329 LIBICONV_DEP to the empty string and substitute it.
3330 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
3331 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
3332 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
3333 in $LIBINTL, to avoid linking it twice.
3334 * configure, config.in: Regenerate.
3336 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
3338 * fixinc/mkfixinc.sh: Remove winnt support.
3339 * fixinc/fixinc.winnt: Delete with extreme prejudice.
3341 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
3343 * Makefile.in: Update.
3344 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
3345 * c.opt: Update documentation.
3346 * common.opt: Add some help text.
3347 * opts.c: Include intl.h.
3348 (wrap_help, print_help): New.
3349 (find_opt, handle_option, common_handle_option): opt_text now
3350 contains the '-'. Use print_help to output help.
3351 * opts.h (struct cl_option): New member "help".
3352 * opts.sh: Update to handle help text output and to prepend
3354 * toplev.c (display_help): Remove some help text.
3356 2003-07-07 David Edelsohn <edelsohn@gnu.org>
3357 Fariborz Jahanian <fjahanian@apple.com>
3359 * configure.in: Test for PowerPC mfcr field support in assembler.
3360 * config.in, configure: Regenderated.
3362 * config/rs6000/power4.md: Add mfcrf reservation.
3363 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
3364 * config/rs6000/rs6000.c (mfcr_operation): Define.
3365 (print_operand): Add 'Q' case for mfcrf.
3366 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
3367 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
3368 (movcc_internal1): Emit optional field operand for mfcr and set
3369 "type" attribute appropriately.
3370 (mfcr SCC): Likewise.
3371 (movesi_from_cr_one): New.
3373 2003-07-07 Roger Sayle <roger@eyesopen.com>
3375 * config/i386/i386.md: Correct check-in of incorrect version.
3377 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3379 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
3380 adjacent stdio calls.
3381 * c-decl.c (c_print_identifier): Likewise.
3382 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
3383 * print-rtl.c (print_rtx): Likewise.
3384 * print-tree.c (print_node_brief, print_node): Likewise.
3385 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
3387 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
3388 * config.in, configure: Regenerated.
3390 2003-07-07 Roger Sayle <roger@eyesopen.com>
3393 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
3394 Changed to define_expand patterns that copy operand[1] to prevent
3395 it from being clobbered before emitting an atan2?f3_1 insn.
3396 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
3397 patterns that actually specify the behaviour of x87's FPATAN.
3399 2003-07-07 Jakub Jelinek <jakub@redhat.com>
3401 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
3402 clearing of SYMBOL_FLAG_LOCAL bit.
3403 If vcall_offset fits into signed 16-bit immediate, use
3404 one instruction for both addition and load.
3406 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
3408 * opts.c (common_handle_option): Correct handling of the
3409 -falign- switches that do and don't take an argument.
3411 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3413 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
3415 (pushhi1_h8300hs): Likewise.
3417 2003-07-07 Andreas Jaeger <aj@suse.de>
3419 * genextract.c: Convert remaining prototypes to ISO C90.
3421 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
3422 * fold-const.c (fold_single_bit_test): Likewise.
3423 * diagnostic.c (default_diagnostic_finalizer): Likewise.
3424 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
3426 * gengtype.c (write_array): Generate ISO C90 prototypes.
3428 * genflags.c (gen_proto): Generate ISO C90 prototypes.
3430 2003-07-07 Roger Sayle <roger@eyesopen.com>
3432 PR optimization/11059
3433 * expr.c (can_store_by_pieces): Return true if length is zero.
3434 (store_by_pieces): If length is zero and endp is two, abort,
3435 othwerise, if length is zero and endp is not two, return "to".
3436 (clear_by_pieces): Do nothing if length is zero.
3437 (clear_storage): Do nothing if length is zero.
3438 (store_constructor): Simplify code when size is zero, or the
3439 target has already been cleared. This avoids emitting a
3440 blockage instruction when initializing empty structures.
3442 2003-07-07 Andreas Jaeger <aj@suse.de>
3444 * mips-tfile.c: Convert prototypes to ISO C90.
3445 * mips-tdump.c: Convert prototypes to ISO C90.
3447 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
3449 * rtl.h (emit_line_note): Take a location_t.
3450 (emit_line_note_force): Remove.
3451 (set_file_and_line_for_statement): Take a location_t.
3452 * tree.g (emit_line_note): Take a location_t.
3453 * emit-rtl.c (emit_line_note): Take a location_t.
3454 (emit_line_note_force): Remove.
3455 * function.c (init_function_start): Adjust emit_line_note call.
3456 (expand_function_end): Use force_next_line_note, not
3457 emit_line_note_force.
3458 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
3459 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
3460 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
3461 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
3462 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
3463 genrtl_continue_stmt, genrtl_switch_stmt,
3464 genrtl_asm_stmt): Likewise.
3465 * expr.c (expand_expr): Likewise.
3466 * integrate.c (expand_inline_function): Likewise.
3467 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
3468 (expand_decl_init): Adjust emit_line_note call.
3470 2003-07-07 Dale Johannesen <dalej@apple.com>
3472 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
3474 2003-07-07 Andreas Jaeger <aj@suse.de>
3476 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
3477 * config/i386/i386.c: Likewise.
3479 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3481 * config/h8300/h8300.md: Use gen_int_mode instead of
3482 GEN_INT (trunc_int_for_mode (...)).
3484 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
3486 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
3487 2 bytes and then subtract 2 from the stack pointer.
3488 (pushhi1_h8300hs): Likewise.
3490 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
3492 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
3494 * configure: Regenerated.
3495 * Makefile.in: Remove extraneous comment.
3496 * toplev.c (randomize): Protect against potential multiple calls.
3497 * doc/invoke.texi (-frandom-seed): Document use for in coverage
3500 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3501 Eric Botcazou <ebotcazou@libertysurf.fr>
3503 PR optimization/11198
3504 * alias.c (objects_must_conflict_p): Return 1 if the types have
3505 the same alias set, not if the alias sets only conflict.
3507 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
3509 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
3510 (convert_cset): Change inbuf to type ICONV_CONST char.
3511 * Makefile.in (LIBS): Add LIBICONV.
3513 * doc/invoke.texi (-falign-functions): Document that
3514 when n is zero then a machine-dependent default is used.
3515 (-falign-labels): Document that when n is zero then a
3516 machine-dependent default is used and that -falign-labels =1
3517 is equivalent to -fno-align-labels.
3518 (-falign-loops): Likewise.
3519 (-falign-jumps): Likewise.
3521 2003-07-06 Art Haas <ahaas@airmail.net>
3523 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
3526 2003-07-06 James E Wilson <wilson@tuliptree.org>
3528 PR optimization/9812
3529 * rtl.h (mem_for_const_double): Delete prototype.
3530 * varasm.c (mem_for_const_double): Delete function.
3531 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
3532 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
3533 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
3534 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
3535 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
3536 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
3537 comment about confused support for XFmode constants.
3539 Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
3541 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
3543 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
3545 * config/h8300/h8300.c: Fix comment typos.
3546 * config/h8300/h8300.md: Likewise.
3547 * config/i386/athlon.md: Likewise.
3548 * config/i386/i386.c: Likewise.
3549 * config/i386/pentium.md: Likewise.
3550 * config/ia64/ia64.c: Likewise.
3551 * config/ia64/itanium1.md: Likewise.
3552 * config/ia64/itanium2.md: Likewise.
3553 * config/m32r/m32r.md: Likewise.
3554 * config/m68hc11/m68hc11.c: Likewise.
3555 * config/mcore/mcore.c: Likewise.
3556 * config/mips/sr71k.md: Likewise.
3557 * config/mips/t-iris5-as: Likewise.
3558 * config/mmix/mmix.h: Likewise.
3559 * config/ns32k/ns32k.h: Likewise.
3560 * config/ns32k/NOTES: Fix a typo.
3562 2003-07-06 Andreas Jaeger <aj@suse.de>
3564 * stmt.c: Convert remaining prototypes to ISO C90.
3565 * cfglayout.c: Likewise.
3566 * dbxout.c: Likewise.
3568 * genemit.c: Likewise.
3570 * basic-block.h: Convert prototypes to ISO C90.
3571 * c-parse.in: Likewise.
3572 * c-pragma.h: Likewise.
3573 * c-typeck.c: Likewise.
3574 * cfghooks.h: Likewise.
3575 * cfgloopanal.c: Likewise.
3576 * dbxout.h: Likewise.
3577 * debug.h: Likewise.
3578 * dwarf2asm.h: Likewise.
3580 * gengtype-lex.l: Likewise.
3581 * sched-int.h: Likewise.
3582 * timevar.c: Likewise.
3584 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
3586 * c-common.h (c_comon_handle_filename,
3587 c_common_missing_arguement): New.
3588 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3589 LANG_HOOKS_MISSING_ARGUMENT): New.
3590 * c-opts.c (missing_arg): Rename c_common_missing_argument,
3591 update to be an appropriate langhook.
3592 (c_common_handle_option): Don't handle filenames.
3593 (c_common_handle_filename): New.
3594 * hooks.c (hook_void_constcharptr,
3595 hook_bool_constcharptr_size_t_false): New.
3596 * hooks.h (hook_void_constcharptr,
3597 hook_bool_constcharptr_size_t_false): New.
3598 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
3599 LANG_HOOKS_MISSING_ARGUMENT): New.
3600 (LANG_HOOKS_INITIALIZER): Update.
3601 * langhooks.h (struct lang_hooks): Add handle_filename and
3603 * opts.c (handle_option): Don't handle filenames here, but ...
3604 (handle_options): ... here.
3605 (common_handle_option): Don't handle missing arguments here.
3606 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
3607 LANG_HOOKS_MISSING_ARGUMENT): New.
3609 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
3611 * Makfile.in: Remove traces of mbchar.
3612 * c-parse.in (MULTIBYTE_CHARS): Remove.
3613 * config.in (MULTIBYTE_CHARS): Remove.
3614 * configure: Remove --enable-mbchar.
3615 * configure.in: Remove --enable-mbchar.
3616 * mbchar.c, mbchar.h: Remove.
3617 * system.h: Poison MULTIBYTE_CHARS.
3618 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
3619 * config/linux.h (MULTIBYTE_CHARS): Remove.
3620 * config/svr4.h (MULTIBYTE_CHARS): Remove.
3621 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
3623 2003-07-06 Andreas Jaeger <aj@suse.de>
3625 * varray.c (varray_check_failed): Fix typo.
3627 * unroll.c: Convert prototypes to ISO C90.
3628 * varasm.c: Likewise.
3629 * varray.c: Likewise.
3630 * varray.h: Likewise.
3631 * vmsdbgout.c: Likewise.
3632 * xcoffout.c: Likewise.
3633 * xcoffout.h: Likewise.
3635 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
3637 * gcov-io.h: Add a local time stamp.
3638 (struct gcov_info): Add stamp field.
3639 (gcov_truncate): New.
3640 * coverage.c (read_counts_file): Skip the stamp.
3641 (coverage_begin_output): Write the stamp.
3642 (build_gcov_info): Declare and init the stamp.
3643 (coverage_finish): Only unlink data file, if stamp is zero.
3644 * gcov-dump.c (dump_file): Dump the stamp.
3645 * gcov.c (bbg_stamp): New.
3646 (release_structures): Clear bbg_stamp.
3647 (read_graph_file): Read stamp.
3648 (read_count_file): Check stamp.
3649 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
3651 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
3653 * tree.h (default_flag_random_seed): Remove.
3654 * toplev.h (local_tick): Declare.
3655 * tree.c (flag_random_seed, default_flag_random_seed): Move to
3657 (append_random_chars): Don't call default_flag_random_seed.
3658 * toplev.c (flag_random_seed): Define here. Set local_tick.
3659 (local_tick): Define.
3660 (randomize): New, moved from tree.c.
3661 (print_switch_values): Adjust.
3662 (toplev_main): Call randomize.
3664 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
3666 * tree.h (crc32_string): Declare.
3667 * tree.c (append_random_chars): Remove.
3668 (crc32_string): New.
3669 (get_file_function_name_long): Use crc32_string here.
3671 2003-07-06 Andreas Jaeger <aj@suse.de>
3673 * gcc.c: Convert prototypes to ISO C90.
3675 * gcov-dump.c: Likewise.
3676 * gcov-iov.c: Likewise.
3678 * genattrtab.h: Likewise.
3680 * global.c: Likewise.
3681 * graph.c: Likewise.
3682 * graph.h: Likewise.
3683 * hosthooks.h: Likewise.
3684 * hooks.h: Likewise.
3685 * hooks.c: Likewise.
3686 * hashtable.h: Likewise.
3687 * hashtable.c: Likewise.
3688 * haifa-sched.c: Likewise.
3689 * integrate.h: Likewise.
3690 * integrate.c: Likewise.
3691 * input.h: Likewise.
3692 * ifcvt.c: Likewise.
3694 * langhooks-def.h: Likewise. Add extern to prototypes.
3695 * langhooks.c: Likewise.
3696 * langhooks.h: Likewise.
3698 * local-alloc.c: Likewise.
3699 * loop-init.c: Likewise.
3700 * loop-unroll.c: Likewise.
3701 * loop-unswitch.c: Likewise.
3703 * loop.h: Likewise. Add extern to prototypes.
3704 * machmode.h: Likewise.
3706 * mbchar.c: Likewise.
3707 * mbchar.h: Likewise.
3708 * mkdeps.c: Likewise.
3709 * mkdeps.h: Likewise.
3710 * optabs.c: Likewise.
3711 * optabs.h: Likewise.
3712 * output.h: Likewise.
3713 * gccspec.c: Likwise.
3714 * postreload.c: Likewise.
3715 * prefix.c: Likewise.
3716 * prefix.h: Likewise.
3717 * print-rtl.c: Likewise.
3718 * print-tree.c: Likewise.
3719 * profile.c: Likewise.
3720 * read-rtl.c: Likewise.
3723 * recog.c: Likewise.
3724 * recog.h: Likewise.
3725 * reg-stack.c: Likewise.
3726 * regclass.c: Likewise.
3727 * regmove.c: Likewise.
3728 * regrename.c: Likewise.
3730 * reload.c: Likewise.
3731 * reload.h: Likewise.
3732 * reload1.c: Likewise.
3733 * reorg.c: Likewise.
3734 * resource.c: Likewise.
3735 * resource.h: Likewise.
3736 * rtl-error.c: Likewise.
3739 * rtlanal.c: Likewise.
3740 * sbitmap.c: Likewise.
3741 * sbitmap.h: Likewise.
3742 * scan-decls.c: Likewise.
3744 * sched-deps.c: Likewise.
3745 * sched-ebb.c: Likewise.
3746 * sched-int.h: Likewise.
3747 * sched-rgn.c: Likewise.
3748 * sched-vis.c: Likewise.
3749 * sibcall.c: Likewise.
3750 * simplify-rtx.c: Likewise.
3751 * sreal.c: Likewise.
3752 * sreal.h: Likewise.
3753 * ssa-ccp.c: Likewise.
3754 * ssa-dce.c: Likewise.
3757 * stack.h: Likewise.
3759 * stor-layout.c: Likewise.
3760 * stringpool.c: Likewise.
3761 * target.h: Likewise.
3762 * timevar.c: Likewise.
3763 * timevar.h: Likewise.
3764 * tlink.c: Likewise.
3765 * tracer.c: Likewise.
3766 * tree-inline.c: Likewise.
3767 * tree-inline.h: Likewise.
3771 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3773 * combine.c (nonzero_bits1): Fix a warning.
3775 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3777 * config/h8300/h8300.c (compute_mov_length): Correct the
3778 length of loading CONST0_RTX (SFmode).
3780 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
3782 * toplev.c (output_clean_symbol_name): Remove.
3783 * toplev.h (output_clean_symbol_name): Remove.
3784 * config/alpha/alpha.c (unicosmk_output_module_name): Use
3785 lbasename & clean_symbol_name.
3787 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3789 * ggc.h: Follow spelling conventions.
3790 * config/i386/i386.c: Likewise.
3791 * config/i386/winnt.c: Likewise.
3792 * config/rs6000/rs6000.c: Likewise.
3794 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3796 * bt-load.c: Fix comment typos.
3797 * c-incpath.c: Likewise.
3799 * cfgcleanup.c: Likewise.
3800 * cfgloop.h: Likewise.
3801 * cfgloopmanip.c: Likewise.
3802 * cfgrtl.c: Likewise.
3803 * diagnostic.h: Likewise.
3804 * dwarfout.c: Likewise.
3805 * emit-rtl.c: Likewise.
3806 * et-forest.c: Likewise.
3807 * et-forest.h: Likewise.
3810 * genattr.c: Likewise.
3812 * langhooks.h: Likewise.
3813 * local-alloc.c: Likewise.
3814 * loop-unroll.c: Likewise.
3815 * loop-unswitch.c: Likewise.
3816 * ra-build.c: Likewise.
3817 * regclass.c: Likewise.
3818 * regmove.c: Likewise.
3819 * rtl.def: Likewise.
3820 * rtlanal.c: Likewise.
3821 * sched-ebb.c: Likewise.
3822 * sched-rgn.c: Likewise.
3823 * simplify-rtx.c: Likewise.
3825 * tracer.c: Likewise.
3828 2003-07-05 Zack Weinberg <zack@codesourcery.com>
3830 * cppcharset.c: Use the correct return type for the fallback iconv
3833 Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3835 Blame to Jan Hubicka <jh@suse.cz>
3836 * cfglayout.c (record_effective_endpoints): Split insns before
3837 first basic block correctly.
3839 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3841 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
3842 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
3843 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
3845 2003-07-05 Andreas Jaeger <aj@suse.de>
3847 * genattrtab.c (write_attr_get): Revert part of last patch to
3848 always write out a prototype.
3850 * genemit.c (gen_split): Readd lost unused attributes in last
3853 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3855 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
3856 different from header.
3858 2003-07-05 Andreas Schwab <schwab@suse.de>
3860 * config/m68k/m68k.c: Remove code protected by CRDS.
3861 * config/m68k/m68k.md: Likewise.
3863 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
3866 * c-opts.c (permit_fortran_options): New.
3867 (c_common_init_options): Accept fortran front end options if
3868 it looks like we might be preprocessing Fortran.
3869 (c_common_handle_option): Don't reject switch if permit_fotran_options.
3871 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3873 * genattr.c (internal_dfa_insn_code): Output prototype.
3874 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
3875 * genautomata.c: Likewise.
3876 * genconditions.c: Likewise.
3877 * genemit.c: Likewise.
3878 * genextract.c: Likewise.
3879 * gengenrtl.c: Likewise.
3880 * gengtype.c: Likewise.
3881 * genopinit.c: Likewise.
3882 * genoutput.c: Likewise.
3883 * genpeep.c: Likewise.
3884 * genrecog.c: Likewise.
3886 2003-07-04 Zack Weinberg <zack@codesourcery.com>
3888 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
3889 (struct cpp_options): Add narrow_charset, wide_charset,
3890 bytes_big_endian fields. Remove EBCDIC field.
3891 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
3893 * cpphash.h: Include <iconv.h> if we have it, otherwise
3894 provide a dummy definition of iconv_t.
3895 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
3896 (_cpp_valid_ucn): Update prototype.
3897 (_cpp_destroy_iconv): New prototype.
3899 * doc/cpp.texi: Document character set handling.
3900 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
3901 * doc/extend.texi: Delete entire section on multiline strings.
3902 Rewrite section on __FUNCTION__ etc now that these are
3905 * cppucnid.tab, cppucnid.pl: New files.
3906 * cppucnid.h: New generated file.
3907 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
3908 (iconv_open, iconv, iconv_close): Provide dummy definitions
3910 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
3911 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
3912 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
3913 cpp_interpret_string, narrow_str_to_charconst,
3914 wide_str_to_charconst): New.
3915 (ucn_valid_in_identifier): Use a binary search through the
3916 ucnranges table defined in cppucnid.h, not a long chain of if
3918 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
3919 character names are only valid in C++ and C99" to a warning.
3920 Issue the "meaning of \[uU] is different in traditional C"
3921 warning here. Take care not to let iconv see an invalid UCS
3922 value if we get a malformed UCN. Issue an error if we don't
3924 (cpp_interpret_charconst): Moved here from cpplex.c. Use
3925 cpp_interpret_string to do the heavy lifting.
3927 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
3928 narrow_charset, wide_charset fields of options structure.
3929 (cpp_destroy): Call _cpp_destroy_iconv.
3930 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
3931 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
3932 (cpp_interpret_charconst): Moved to cppcharset.c.
3933 * cpplib.c (dequote_string): Delete.
3934 (interpret_string_notranslate): New.
3935 (do_line, do_linemarker): Use interpret_string_notranslate.
3937 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
3939 * c-common.c (fname_string, combine_strings): Delete.
3940 * c-common.h (fname_string, combine_strings): Delete prototypes.
3941 * c-lex.c (ignore_escape_flag): Delete.
3942 (cb_ident): Use cpp_interpret_string, not lex_string.
3943 (get_nonpadding_token): New function.
3944 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
3945 Adjust calls to lex_string. Don't write *value twice.
3946 (lex_string): Now handles string constant concatenation.
3947 Most of the work handed off to cpp_interpret_string.
3948 Call fix_string_type here.
3949 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
3950 FUNC_NAME, throughout.
3951 (OBJC_STRING): New token type.
3952 (primary:STRING): No need to call fix_string_type here.
3953 (primary:objc_string): Make that OBJC_STRING.
3954 (objc_string nonterminal): Delete.
3955 (yylexname): Delete code to handle fake string constants.
3956 (yylexstring): Delete entirely.
3957 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
3958 to handle CPP_ATSIGN.
3960 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
3961 * c-opts.c (missing_arg, c_common_handle_option): Handle
3962 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
3963 (c_common_init): Set cpp_opts->bytes_big_endian, not
3964 cpp_opts->EBCDIC. Call cpp_init_iconv.
3965 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
3966 (TARGET_EBCDIC): Delete default definition.
3968 * objc/objc-act.c (build_objc_string_object): No need to
3969 handle string constant concatenation.
3971 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
3973 * doc/install.texi: Fix typos.
3974 * doc/invoke.texi: Likewise.
3975 * doc/tm.texi: Likewise.
3977 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
3979 * config/pa/fptr.c: Fix comment typos.
3980 * config/pa/pa-64.h: Likewise.
3981 * config/pa/pa.c: Likewise.
3982 * config/pa/pa.h: Likewise.
3983 * config/rs6000/603.md: Likewise.
3984 * config/rs6000/7xx.md: Likewise.
3985 * config/rs6000/darwin.h: Likewise.
3986 * config/rs6000/freebsd.h: Likewise.
3987 * config/rs6000/rs6000.c: Likewise.
3988 * config/rs6000/rs6000.md: Likewise.
3989 * config/rs6000/spe.h: Likewise.
3991 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
3993 * config/s390/2064.md: Change GNU CC to GCC.
3994 * config/s390/2084.md: Likewise.
3995 * config/s390/fixdfdi.h: Likewise.
3996 * config/s390/linux.h: Likewise.
3997 * config/s390/s390-modes.def: Likewise.
3998 * config/s390/s390-protos.h: Likewise.
3999 * config/s390/s390.c: Likewise.
4000 * config/s390/s390.h: Likewise.
4001 * config/s390/s390.md: Likewise.
4002 * config/s390/s390x.h: Likewise.
4004 2003-07-04 Jeff Law <law@redhat.com>
4007 * expr.c (do_store_flag): Pass in the correct result type
4008 when calling fold_single_bit_test.
4009 * fold-const.c (fold_single_bit_test): Use result_type for the
4010 result when folding a sign bit test.
4012 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
4014 * opts.c (common_handle_options): Negate sense of -falign- switches.
4016 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
4018 * Makefile.in: Replace PWD with PWD_COMMAND.
4020 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4022 * cfgloopanal.c (count_strange_loop_iterations): New static function.
4023 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
4024 Handle strange loops.
4026 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
4028 * install.texi: Even the g77 manpage is derived from
4029 the full g77 manual.
4031 2003-07-04 Zack Weinberg <zack@codesourcery.com>
4033 * ABOUT-NLS: Delete.
4034 * intl: Delete entire directory.
4035 * aclocal.m4: Include ../config/gettext.m4. Delete
4036 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
4037 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
4038 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
4039 Remove intl/Makefile from all_outputs.
4040 * configure, config.in: Regenerate.
4041 * Makefile.in: Expunge all references to intl subdirectory.
4042 Add -I../intl to INCLUDES.
4043 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
4045 2003-07-04 Roger Sayle <roger@eyesopen.com>
4047 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
4048 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
4050 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
4052 PR c++/5287, PR c++/7910, PR c++/11021
4053 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
4054 dllimport attribute if function is defined at declaration, but
4055 report error instead. Likewise for dllimport'd variable
4056 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
4057 declared within functions, Report error if dllimport or dllexport
4058 symbol is not global.
4059 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
4060 if defined after declaration or if inlined. Don't allow definition
4061 of static data members of C++ classes. Don't dllimport virtual
4063 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
4064 (i386_pe_mark_dllimport): Remove unnecessary checks.
4065 (i386_pe_encode_section_info): Warn if the dllimport attribute
4066 and symbol prefix have been instantiated and then overridden.
4068 * doc/extend.texi: Document dllimport and dllexport attributes.
4070 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
4072 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
4074 * config/kaos.h (CPP_PREDEFINES): Delete.
4075 (TARGET_OS_CPP_BUILTINS): New.
4077 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4079 * c-aux-info.c: Include toplev.h after c-tree.h.
4080 * c-common.c: Likewise.
4081 (GCC_DIAG_STYLE): Undef.
4082 * c-semantics.c (GCC_DIAG_STYLE): Define.
4083 * c-tree.h (GCC_DIAG_STYLE): Likewise.
4084 * diagnostic.h (inform): Move prototype to toplev.h.
4085 * jump.c: Include diagnostic.h before toplev.h.
4086 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
4087 (warning, error, fatal_error, pedwarn, sorry, inform,
4088 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
4090 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4092 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
4093 at all if edge is not specified.
4094 (can_copy_bbs_p, copy_bbs): New.
4095 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
4096 * cfgloop.c (get_loop_body): Comment more precisely.
4097 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
4098 (scale_bbs_frequencies): Fix comment typo.
4099 (can_duplicate_loop_p): Use can_copy_bbs_p.
4100 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
4102 2003-07-03 Devang Patel <dpatel@apple.com>
4104 * c-opts.c (c_common_parse_file): Remove extra
4105 debug_hooks->start_source_file call.
4107 2003-07-03 Roger Sayle <roger@eyesopen.com>
4109 * real.c (real_trunc, real_floor, real_ceil): New functions
4110 to implement trunc, floor and ceil respectively.
4111 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
4112 * builtins.c (integer_valued_real_p): New function to test if
4113 a floating point expression has an integer valued result.
4114 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
4115 foo(x) where foo is an integer rounding function. Similarly,
4116 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
4117 (double)(int)x when both foo and bar are integer rounding
4118 functions and we don't need to honor errno.
4119 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
4120 New functions to fold trunc, floor and ceil.
4121 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
4122 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
4123 to fold BUILT_IN_CEIL*.
4124 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
4125 the remaining integer rounding functions.
4127 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4129 * config/sparc/sparc.c (function_arg_partial_nregs): Use
4130 SPARC_INT_ARG_MAX to determine where to split unnamed
4131 complex FP arguments.
4133 Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
4135 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
4136 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
4137 (merge_blocks_move_predecessor_nojumps,
4138 merge_blocks_move_successor_nojumps): Use merge_blocks.
4139 (try_optimize_cfg): Use merge_blocks_move.
4140 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
4141 (merge_blocks_nomove): Rename to rtl_merge_blocks.
4142 (cfg_layout_create_basic_block): New.
4143 (rtl_can_merge_blocks): New.
4144 (cfg_layout_split_block): Do not alloc aux by hand.
4145 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
4147 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
4148 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
4149 * cfgloopmanip.c (loop_split_edge_with): Likewise.
4150 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
4152 * basic-block.h (basic_block_def): Add field 'rbi'.
4153 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
4154 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
4155 * cfg.c (entry_exit_blocks): Add new field.
4156 * cfglayout.c: Include alloc-pool.h;
4157 (cfg_layout_pool): New.
4158 (record_effective_endpoints, fixup_reorder_chain,
4159 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
4161 (cfg_layout_initialize_rbi): New function.
4162 (cfg_layout_initialize): Use it.
4163 (cfg_layout_finalize): Clear rbi fields.
4164 * cfglayout.h (RBI): Kill.
4165 (cfg_layout_initialize_rbi): Declare.
4166 * cfgloopmanip.c (copy_bbs): Use rbi.
4167 (record_exit_edges): Likewise.
4168 (duplicate_loop_to_header_edge): Likewise.
4169 * cfgrtl.c (cfg_layout_create_basic_block): Use
4170 cfg_layout_initialize_rbi.
4171 (cfg_layout_split_block): Use rbi.
4172 (cfg_layout_delete_block): Likewise.
4173 * loop-init.c (loop_optimizer_finalize): Likewise.
4174 * loop-unswitch.c (unswitch_loop): Likewise.
4175 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
4177 * cfgrtl.c: Update comments.
4178 (try_redirect_by_replacing_jump): New argument.
4179 (redirect_branch_edge): Break out from ...
4180 (rtl_redirect_edge_and_branch): ... this one.
4181 (update_cfg_after_block_merging): Break out from ...
4182 (rtl_merge_blocks): ... this one.
4183 (cfg_layout_split_edge): New.
4184 (cfg_layout_merge_blocks): New.
4185 (cfg_layout_can_merge_blocks_p): New.
4186 (cfg_layout_redirect_edge_and_branch): Reorganize.
4187 (cfg_layout_rtl_cfg_hooks): Fill in.
4188 (cfg_layout_delete_block): Kill barriers.
4189 * cfganal.c (can_fallthru): Deal with exit blocks
4190 * cfglayout.c (cfg_layout_function_header): New function
4191 (record_effective_endpoints): Record function header.
4192 (fixup_reorder_chain): Fixup dead jumptables; place header
4194 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
4195 * bb-reorder.c (cfg_layout_initialize): Update call.
4196 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
4197 edges in cfglayout mode.
4198 * cfglayout.c (cleanup_unconditional_jumps): Kill.
4199 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
4200 * cfglayout.h (cfg_layout_initialize): Update prototype.
4201 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
4202 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
4203 * flow.c (propagate_block): Do not crash when basic block ends
4204 by first insn in the chain.
4205 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
4207 * tracer.c (tracer): Update call of cfg_layout_initialize.
4209 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4211 * Makefile.in: Use dependency variables in lieu of explicit
4214 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
4216 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
4217 * tree.h: ...to here.
4219 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
4221 * config/s390/2064.md: Fix comment typos.
4222 * config/s390/2084.md: Likewise.
4223 * config/s390/s390.c: Likewise.
4224 * config/s390/s390.md: Likewise.
4225 * config/sh/sh.c: Likewise.
4226 * config/sh/sh.h: Likewise.
4227 * config/sh/sh.md: Likewise.
4228 * config/sparc/sparc.c: Likewise.
4229 * config/sparc/sparc.h: Likewise.
4230 * config/sparc/sparc.md: Likewise.
4231 * config/stormy16/stormy16.c: Likewise.
4232 * config/stormy16/stormy16.h: Likewise.
4233 * config/stormy16/stormy-abi: Fix a typo.
4235 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
4237 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
4239 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4241 * config/mips/mips.h (save_argv): Delete.
4243 2003-07-03 Roger Sayle <roger@eyesopen.com>
4246 * fold-const.c (extract_muldiv_1): There's nothing that can be done
4247 if the expression is a SAVE_EXPR.
4249 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
4251 * config/m32r/m32r.c: Fix comment typos.
4252 * config/m68hc11/m68hc11.c: Likewise.
4253 * config/m68hc11/m68hc11.h: Likewise.
4254 * config/m68k/m68k.c: Likewise.
4255 * config/mcore/mcore.c: Likewise.
4256 * config/mcore/mcore.h: Likewise.
4257 * config/mcore/mcore.md: Likewise.
4258 * config/mips/mips.c: Likewise.
4259 * config/mips/mips.h: Likewise.
4260 * config/mips/mips.md: Likewise.
4261 * config/mips/netbsd.h: Likewise.
4262 * config/mn10300/mn10300.c: Likewise.
4264 2003-07-03 Andreas Schwab <schwab@suse.de>
4266 * dbxout.c (pending_bincls): Move decl down inside
4267 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
4269 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
4271 * rtl.h (NOTE_DATA): Refer to whole union.
4272 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
4274 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4276 PR optimization/11381
4277 * simplify-rtx.c (simplify_relational_operation): Check that
4278 two equal operands have no side-effects before simplifying
4281 2003-07-02 Jeff Law <law@redhat.com>
4283 * expr.c (do_store_flag): Remove special case folding for
4284 single bit tests. Instead call back into the commonized folder
4286 * fold-const.c (fold_single_bit_test): New function, mostly
4287 extracted from do_store_flag, with an additional case extracted
4289 (fold): Call fold_single_bit_test appropriately.
4290 * tree.h (fold_single_bit_test): Prototype.
4292 2003-07-02 Zack Weinberg <zack@codesourcery.com>
4294 * system.h: Include filenames.h.
4295 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
4296 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
4297 define based on HAVE_DOS_BASED_FILE_SYSTEM.
4298 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
4299 * config/i386/xm-mingw32.h: Don't define
4300 HAVE_DOS_BASED_FILE_SYSTEM,
4301 DIR_SEPARATOR, or DIR_SEPARATOR_2.
4302 * doc/hostconfig.texi: Update to match.
4304 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
4305 config/i386/cygwin.h:
4306 Use IS_ABSOLUTE_PATH throughout.
4307 * gcc.c (DIR_UP): Delete, unused.
4308 * protoize.c (IS_SAME_PATH): Define in terms of
4310 (is_abspath): Delete.
4312 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
4314 * config/i386/emmintrin.h: Fix comment typos.
4315 * config/i386/i386.c: Likewise.
4316 * config/i386/i386.h: Likewise.
4317 * config/i386/sco5.h: Likewise.
4318 * config/ia64/ia64.c: Likewise.
4319 * config/ia64/itanium2.md: Likewise.
4321 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
4323 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
4325 (emit_bincl_stab): Same.
4326 (emit_pending_bincls): Same.
4328 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
4330 * config/h8300/h8300.c (compute_mov_length): Fix the length of
4331 loading CONST0_RTX (SFmode).
4332 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
4333 'G' to CONST0_RTX (SFmode).
4334 * config/h8300/h8300.md (movsf_h8300): Change the first
4336 (movsf_h8300h): Likewise.
4338 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
4340 * c-common.h (c_common_init_options): New prototype.
4341 * c-opts.c (deferred_size): Remove.
4342 (defer_opt): Array is now pre-allocated.
4343 (c_common_init_options): Pre-allocate deferred_opts. Make
4344 lang_flags unsigned.
4345 (push_command_line_options): Free deferred_opts.
4346 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
4347 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
4348 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
4349 * langhooks.h (struct lang_hooks): New prototype for init_options.
4350 * main.c (main): Cast argv.
4351 * opts.c (handle_option, handle_options): Update prototypes.
4352 (decode_options): save_argc, save_argv are not global. Constify.
4353 * opts.h (decode_options): New prototype.
4354 * toplev.c (general_init): New protoype.
4355 (save_argv): Make static.
4356 (save_argc): Remove.
4357 (print_switch_values, general_init): Constify.
4358 (toplev_main): Save argv.
4359 * toplev.h (toplev_main): Update prototype.
4360 (save_argc, save_argv): Remove.
4362 2003-07-02 David Edelsohn <edelsohn@gnu.org>
4364 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
4365 (emit_bincl_stab): Same.
4366 (emit_pending_bincls): Same.
4368 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
4371 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
4373 2003-07-02 Andreas Schwab <schwab@suse.de>
4375 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
4377 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
4379 PR optimization/11210
4380 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
4381 about the behaviour with regard to bitfields.
4382 * fold-const (decode_field_reference): Record outermost type in
4383 case the expression is a NOP. Strip all NOPs. Set the signedness
4384 to that of the outermost type (if any) when the bitsize is equal
4385 to the size of the type.
4387 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4389 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
4390 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
4391 (adddi3_internal_3, addsi3_internal_2): Likewise.
4393 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4395 * config/mips/mips.c (machine_function): Add new fields:
4396 ignore_hazard_length_p and all_noreorder_p.
4397 (mips_flag_delayed_branch): New variable.
4398 (override_options): Treat '/' as an operand punctuation character.
4399 Set up mips_flag_delayed_branch.
4400 (print_operand): Handle '/'.
4401 (mips_output_function_prologue): Put the whole function in
4402 .set noreorder and .set nomacro if all_noreorder_p is true.
4403 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
4404 (mips16_optimize_gp): Remove "first insn" parameter.
4405 (mips16_lay_out_constants): New function, split out from mips_reorg.
4406 (mips_avoid_hazard, mips_avoid_hazards): New functions.
4407 (mips_reorg): For mips16 code, call mips16_lay_out_constant
4408 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
4409 do delayed-branch scheduling followed by hazard detection.
4410 (mips_adjust_insn_length): Only account for hazards if
4411 !ignore_hazard_length_p.
4412 (mips_output_load_label): Add a nop to the o32 sequence if
4413 the target suffers from load delays.
4414 (mips_output_conditional_branch): Add %/ to the end of branches.
4415 (mips_output_division): Fill the branch delay slot with %#.
4416 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
4417 instructions. End all other %* branches with %/.
4418 (ffssi2, ffsdi2): Fix lengths.
4419 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
4420 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
4421 (fix_truncsfsi2_macro): Likewise.
4422 (mov_lwl): Set hazard to "none".
4423 (ashldi3_internal): Fill the branch delay slot with %#.
4424 (ashrdi3_internal, lshrdi3_internal): Likewise.
4425 (exception_receiver): Explicitly set $28.
4426 (hazard_nop): New pattern.
4428 Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
4430 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
4431 before calling tree_inlinable_function_p.
4433 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4435 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
4436 <internal/stdio_core.h> too.
4437 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
4438 <internal/wchar_core.h> too.
4439 Substitute va_list uses in inline definition.
4440 * fixinc/fixincl.x: Regenerate.
4442 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4444 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
4445 Undef before redefinition.
4446 (LABEL_AFTER_LOC): Likewise.
4447 (DEFAULT_SIGNED_CHAR): Likewise.
4448 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
4451 * config/mips/iris3.h: Remove, unused.
4452 * config/mips/iris4.h: Likewise.
4454 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
4456 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
4457 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
4460 * config/mips/iris5.h: Move explicit includes ...
4461 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
4463 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
4464 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4467 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
4468 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
4471 * config/mips/iris6.h: Fix IRIX spelling.
4472 (MULTILIB_DEFAULTS): Undef before redefinition.
4474 * config/mips/iris6.h: Move explicit includes ...
4475 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
4477 Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
4479 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
4480 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
4481 Use next_needed field instead of aux to maintain the queue.
4482 * cgraph.h (cgraph_node): Add next_needed.
4483 (cgraph_varpool_node): Add next_needed; remove aux.
4484 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
4486 Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
4488 * cgraphunit.c (cgraph_finalize_function): Set finalized.
4489 (cgraph_finalize_function): Do not examine inlinablility.
4490 (cgraph_finalize_compilation_unit): Do it here.
4491 * cgraph.h (cgraph_local_info): Add finalized field.
4493 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4495 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
4496 (gt_pch_restore): Likewise.
4498 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4500 * config/alpha/alpha.c: Fix comment typos.
4501 * config/alpha/elf.h: Likewise.
4502 * config/arm/arm.c: Likewise.
4503 * config/arm/arm.h: Likewise.
4504 * config/arm/arm.md: Likewise.
4505 * config/arm/t-arm-coff: Likewise.
4506 * config/arm/t-strongarm-pe: Likewise.
4507 * config/arm/xscale-elf.h: Likewise.
4508 * config/avr/avr.h: Likewise.
4510 2003-07-01 Jeff Law <law@redhat.com>
4512 * stmt.c (any_pending_cleanups): Remove another redundant test.
4514 2003-07-01 David Edelsohn <edelsohn@gnu.org>
4515 J"orn Rennecke <joern.rennecke@superh.com>
4517 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
4520 2003-07-01 Devang Patel <dpatel@apple.com>
4522 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
4524 (struct dbx_file): New members - bincl_status, pending_bincl_name and
4526 (pending_bincls): New.
4527 (dbxout_init): Initialize new dbx_file members.
4528 (dbxout_start_source_file): Same.
4529 (emit_bincl_stab): New function.
4530 (emit_pending_bincls): Same.
4531 (emit_pending_bincls_if_required): Same.
4532 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
4534 (dbxout_begin_block): Emit pending BINCL stabs.
4535 (dbxout_end_block): Same.
4536 (dbxout_function_decl): Same.
4537 (dbxout_continue): Same.
4538 (dbxout_type): Same.
4539 (dbxout_class_name_qualifiers): Same.
4540 (dbxout_symbol): Same.
4541 (dbxout_symbol_location): Same.
4542 (dbxout_parms): Same.
4544 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4546 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
4547 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
4549 2003-07-01 Andreas Jaeger <aj@suse.de>
4551 * fold-const.c: Convert prototypes to ISO C90.
4552 * function.c: Likewise.
4553 * function.h: Likewise.
4555 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4557 * doc/contrib.texi: Fix typos.
4558 * doc/invoke.texi: Likewise.
4559 * doc/passes.texi: Likewise.
4560 * doc/sourcebuild.texi: Likewise.
4561 * doc/tm.texi: Likewise.
4563 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
4565 * basic-block.h: Fix comment typos.
4566 * bb-reorder.c: Likewise.
4567 * c-format.c: Likewise.
4568 * cfgcleanup.c: Likewise.
4569 * cfghooks.h: Likewise.
4570 * cfgloop.c: Likewise.
4571 * cfgloopmanip.c: Likewise.
4572 * cfgrtl.c: Likewise.
4573 * cgraph.h: Likewise.
4574 * cgraphunit.c: Likewise.
4575 * combine.c: Likewise.
4576 * convert.c: Likewise.
4577 * dbxout.c: Likewise.
4580 * diagnostic.c: Likewise.
4581 * dwarf2out.c: Likewise.
4582 * et-forest.h: Likewise.
4584 * fold-const.c: Likewise.
4585 * function.h: Likewise.
4586 * gcov-io.h: Likewise.
4589 * genautomata.c: Likewise.
4590 * ggc-common.c: Likewise.
4591 * ggc-page.c: Likewise.
4592 * loop-unroll.c: Likewise.
4593 * loop-unswitch.c: Likewise.
4595 * mips-tfile.c: Likewise.
4596 * optabs.c: Likewise.
4597 * ra-build.c: Likewise.
4598 * ra-colorize.c: Likewise.
4599 * ra-rewrite.c: Likewise.
4601 * regmove.c: Likewise.
4602 * reload.c: Likewise.
4603 * rtlanal.c: Likewise.
4604 * sched-ebb.c: Likewise.
4605 * sched-int.h: Likewise.
4606 * sched-vis.c: Likewise.
4607 * sreal.c: Likewise.
4608 * ssa-ccp.c: Likewise.
4610 * toplev.c: Likewise.
4611 * tree-inline.c: Likewise.
4612 * value-prof.c: Likewise.
4613 * value-prof.h: Likewise.
4615 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
4617 * rtl.h (emit_line_note_after): Remove.
4618 (emit_note_copy_after, emit_note_copy): New.
4619 * emit-rtl.c (reorder_insns_with_line_notes): Replace
4620 emit_line_note_after with emit_note_copy_after.
4621 (emit_insn_after_with_line_notes): Likewise.
4622 (emit_line_note_after): Kill.
4623 (emit_note_copy_after): New.
4624 (emit_note_copy): New.
4625 * function.c (emit_return_into_block): Use emit_note_copy_after.
4626 (thread_prologue_and_epilogue_insns): Likewise.
4627 * integrate.c (expand_inline_function): Use emit_note_copy.
4628 (copy_insn_list): Likewise.
4629 * unroll.c (copy_loop_body): Likewise.
4630 * cfglayout.c (duplicate_insn_chain): Likewise.
4632 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
4634 * c-tree.h (define_label): Replace filename and lineno arguments
4636 * c-decl.c (poplevel): Adjust define_label call.
4637 (pop_label_level): Likewise.
4638 (define_label): Replace filename and lineno arguments with a
4640 (store_parm_decls): Use DECL_SOURCE_LOCATION.
4641 * c-parse.in (label): Adjust define_label call.
4643 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
4645 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
4646 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
4647 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
4648 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
4649 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
4651 2003-07-01 Andreas Jaeger <aj@suse.de>
4653 * final.c: Convert prototypes to ISO C90.
4655 * flags.h: Likewise.
4656 * gcov-io.c: Likewise.
4657 * gcov-io.h: Likewise.
4659 See ChangeLog.9 for earlier changes.