]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
s390.h (EH_RETURN_HANDLER_RTX): Compute offset symbolically.
[gcc.git] / gcc / ChangeLog
CommitLineData
656ec3b1
UW
12003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
4 symbolically.
5
a0c8285b
JH
6Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz>
7
8 * gcse.c (insert_store): Ignore fake edges.
9
10 * c-common.c (flag_vtable_gc): Kill.
11 * c-common.g (flag_vtable_gc): Kill.
12 * c-opts (c_common_handle_option): Kill.
13 * c.opt (fvtable-gc): Kill.
14 * final.c (final_scan_insn): Do not call assemble_vtable_entry.
15 * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
16 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
17
18 * invoke.texi (-ftable-gc): Kill documentation.
19
20 * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
21 just because function body is missing.
22
23 * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
24
b2e863b8
RM
252003-07-30 Ranjit Mathew <rmathew@hotmail.com>
26
27 * unwind-sjlj.c: Fix typo in file description.
28
9206d736
AM
292003-07-30 Alan Modra <amodra@bigpond.net.au>
30
31 * calls.c (load_register_parameters): When shifting reg sized values
32 to the msb, move the value to a reg first.
33
9074464c
GK
342003-07-29 Geoffrey Keating <geoffk@apple.com>
35
36 * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
37 * line-map.h (linemap_add): Update comments.
38 * line-map.c (linemap_add): Update comments, interpret zero-length
39 filename as "<stdin>".
40
e55e4f68
NN
412003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
42
43 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
44
55d54003
ZW
452003-07-29 Zack Weinberg <zack@codesourcery.com>
46
47 * c-decl.c (last_function_parm_vars, current_function_parm_vars):
48 New static variables.
49 (struct c_scope): Add parms and warned_forward_parm_decls
50 fields; remove parm_order.
51 (storedecls, storetags): Delete.
52 (poplevel): Also clear bindings on the parms chain.
53 (pushdecl): Handle forward declarations of parameters, and
54 chain PARM_DECLs on the parms list, not the names list.
55 (lookup_name_current_level): Check for PARM_DECLs on the parms
56 list too.
57 (push_parm_decl): Don't update parm_order.
58 (clear_parm_order): Rename mark_forward_parm_decls. Issue the
59 warning, only once per parameter list, and set TREE_ASM_WRITTEN
60 on the decls here. Then move the forward decls to the names list.
61 (grokparms): Set last_function_parm_vars.
62 (get_parm_info): Don't use gettags or getdecls. No need to
63 extract non-parms from the parms list, or reorganize the parms
64 list. Feed nonparms back in the TREE_TYPE of the list node
65 returned. Issue only one error per parameter list for "void"
66 appearing more than once in said parameter list. Collapse
67 parmlist_tags_warning into this function to avoid double scan
68 of tags list.
69 (start_function): Set current_function_parm_vars.
70 (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
71 directly. Get non-parms from current_function_parm_vars; no
72 need to extract them from the parms chain. Properly bind tags
73 in the new scope.
74 (store_parm_decls_oldstyle): No need to extract non-parameters
75 from the parms chain, nor to store them back afterward. Move
76 declaration to top of function, restructure code reordering
77 DECL_ARGUMENTS.
78 (store_parm_decls): No need to save and restore warn_shadow.
79 * c-parse.in: Don't call parmlist_tags_warning nor
80 clear_parm_order. Call mark_forward_parm_decls when forward
81 parm decls are encountered.
82 * c-tree.h: Prototype mark_forward_parm_decls; not
83 clear_parm_order or parmlist_tags_warning.
84
18c81520
GK
852003-07-29 Geoffrey Keating <geoffk@apple.com>
86
87 * c-common.c (allow_pch): Remove.
88 * c-common.h (allow_pch): Remove.
89 (c_common_no_more_pch): Declare.
90 * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
91 * c-pch.c: Include hosthooks.h.
92 (c_common_valid_pch): Don't check allow_pch.
93 (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
94 (c_common_no_more_pch): New.
95 * ggc-common.c: Include hosthooks.h.
96 (gt_pch_save): Call gt_pch_get_address.
97 (gt_pch_restore): Call gt_pch_use_address.
98 * hooks.c (hook_voidp_size_t_null): New.
99 (hook_bool_voidp_size_t_false): New.
100 * hooks.h (hook_voidp_size_t_null): New.
101 (hook_bool_voidp_size_t_false): New.
102 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
103 (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
104 (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
105 HOST_HOOKS_GT_PCH_USE_ADDRESS.
106 * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
107 gt_pch_use_address.
108 * doc/hostconfig.texi (Host Common): Document
109 HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
110 * Makefile.in (c-pch.o): Depend on hosthooks.h.
111 (ggc-common.o): Likewise.
112
113 * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
114 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
115 (pch_address_space): New.
116 (darwin_rs6000_gt_pch_get_address): New.
117 (darwin_rs6000_gt_pch_use_address): New.
118
8f9b4009
NB
1192003-07-29 Neil Booth <neil@daikokuya.co.uk>
120
121 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
122 * cppfiles.c: Completely rewritten.
123 * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
124 struct cpp_path is now struct cpp_dir.
125 (remove_duplicates): Don't simplify path names.
126 * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
127 cpp_stack_file.
128 * cpphash.h: Include hashtab.h.
129 (_cpp_file): Declare.
130 (struct cpp_buffer): struct include_file is now struct _cpp_file,
131 and struct cpp_path is now struct cpp_dir. Rename members.
132 (struct cpp_reader): Similarly. New members once_only_files,
133 file_hash, file_hash_entries, quote_ignores_source_dir,
134 no_search_path, saw_pragma_once. Remove all_include_files and
135 max_include_len. Make some members bool.
136 (_cpp_mark_only_only): Renamed from _cpp_never_reread.
137 (_cpp_stack_file): Renamed from _cpp_read_file.
138 (_cpp_stack_include): Renamed from _cpp_execute_include.
139 (_cpp_init_files): Renamed from _cpp_init_includes.
140 (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
141 * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
142 (cpp_read_next_file): Rename and move to cppfiles.c.
143 (cpp_read_main_file): Update.
144 * cpplib.c (run_directive): Update for renamed members.
145 (do_include_common, _cpp_pop_buffer): Update.
146 (do_import): Undeprecate #import.
147 (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
148 * cpplib.h: Remove file_name_map_list.
149 (cpp_options): Remove map_list.
150 (cpp_dir): Rename from cpp_path. New datatype for name_map.
151 (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
152
a6400add
PE
1532003-07-29 Phil Edwards <pme@gcc.gnu.org>
154
155 * Makefile.in: Make stamp-objdir safe for parallel builds.
156
b2790407
PE
1572003-07-29 Phil Edwards <pme@gcc.gnu.org>
158
159 * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
160 (info): Depend on stmp-docobjdir.
161
8e3940b2
RO
1622003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
163
164 * configure: Regenerate.
165
987bf56f
JH
166Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz>
167
168 PR C++/11131
169 * tree-inline.c (expand_call_inline): Always call inlinable_function_p
170 in !unit-at-a-time mode.
171
5f0eabcc
GK
1722003-07-28 Geoffrey Keating <geoffk@apple.com>
173
174 * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
175 main function.
176
7b6d72fc
MM
1772003-07-28 Mark Mitchell <mark@codesourcery.com>
178
179 PR c++/11667
180 * c-common.c (shorten_compare): Take into account differences
181 between C and C++ representation for enumeration types.
182 * tree.h (set_min_and_max_values_for_integral_type): Declare.
183 * stor-layout.c (set_min_and_max_values_for_integral_type): New
184 function, broken out from ...
185 (fixup_signed_type): ... here and ...
186 (fixup_unsigned_type): ... here.
187
14077d68
ZW
1882003-07-28 Zack Weinberg <zack@codesourcery.com>
189
190 * c-decl.c: Update commentary, adjust blank lines throughout.
191 (struct c_scope): Fix indentation. Reorder members so
192 outer-context pointers come first, booleans last.
193 (duplicate_decls, define_label): Use a 'locus' variable for
194 diagnostic locations in a few more places.
195 (warn_if_shadowing): Un-split a conditional that fits on one line.
196 (c_init_decl_processing): No need to clear current_scope and
197 current_function_scope.
198 (start_decl): Merge if/else if statements with same action.
199 (push_parm_decl): Rename old_immediate_size_expand to use
200 save_foo convention; save/restore around entire function.
201 (grokdeclarator): Remove unnecessary braces.
202
85617eba
HPN
2032003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
204 Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
205
206 * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
207 when warn_declaration_after_statement. Call pedwarn_c90, not
208 pedwarn. Correct message: it's "ISO C90", not "ISO C89".
209 * c-common.c (warn_declaration_after_statement): Define.
210 * c-common.h (warn_declaration_after_statement): Declare.
211 * c.opt (Wdeclaration-after-statement): New.
212 * c-errors.c (pedwarn_c90): New function.
213 * c-opts.c (c_common_handle_option) <case
214 OPT_Wdeclaration_after_statement>: New.
215 * c-tree.h (pedwarn_c90): Declare.
216 * doc/invoke.texi (Option Summary): Document
217 -Wdeclaration-after-statement.
218 (Warning Options): Ditto.
219
f527d196
JH
220Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz>
221
222 * i386.md (memory attribute) Avoid accessing uninitialized memory
223 for ishift1 type instructions.
224
5dfa45d0
JJ
2252003-07-28 Jakub Jelinek <jakub@redhat.com>
226
227 * configure.in (--enable-checking): Add fold category.
228 (ENABLE_FOLD_CHECKING): Define if requested.
229 * configure: Rebuilt.
230 * config.in: Rebuilt.
231 * doc/install.texi: Document it.
232 * fold-const.c: Include md5.h.
233 [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
234 [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
235 print_fold_checksum): New functions.
236
237 * fold-const.c (fold): Never modify argument passed to fold, instead
238 change a copy and return it.
239 * convert.c (convert_to_integer): Likewise.
240
447673de
NN
2412003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
242
14077d68 243 * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
447673de
NN
244 cleanup of junk after #else and #endif directives. Collapse repeated
245 clauses into for statment.
246
247 * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
248
66db6b62
ZW
2492003-07-27 Zack Weinberg <zack@codesourcery.com>
250
a8ccdffe
ZW
251 * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
252 (keep_next_if_subblocks): Rename next_is_function_body.
253 (pushlevel): Adjust commentary. Always set ->keep on the
254 outermost level of a function. Don't set ->keep_if_subblocks.
255 (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
256 (store_parm_decls): Adjust to match.
257 (finish_function): Adjust to match.
258 Call poplevel with all three arguments zero.
259
66db6b62
ZW
260 * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
261 New functions split out of store_parm_decls.
262 Avoid unnecessary work. Use local variables consistently.
263 (store_parm_decls): Likewise.
264
265 (finish_function): No need to set functionbody flag on call to
266 poplevel.
267 (struct language_function): Remove scope field.
268 (c_push_function_context, c_pop_function_context): No need to
269 save and restore current_scope.
270
90ea7324
NS
2712003-07-27 Nathan Sidwell <nathan@codesourcery.com>
272
273 * doc/extend.texi (Deprecated Features): Implicit typename is
274 gone. Default args on types is going.
275
11a004ef
R
2762003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
277
278 * Makefile.in (ifcvt.o): Depend on target.h
279 * ifcvt.c (target.h): Include.
280 (if_convert): Don't call mark_loop_exit_edges if we can't
281 modify jumps.
282
6cbf57c9
GP
2832003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
284
285 * doc/install.texi (Testing): Adjust required versions of DejaGnu.
286
a6c14a64
RH
2872003-07-26 Richard Henderson <rth@redhat.com>
288
289 PR inline-asm/11676
290 * cse.c (count_reg_usage): Handle asm_operands properly.
291
cc42f5f5
RS
2922003-07-26 Roger Sayle <roger@eyesopen.com>
293
294 * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
295 (DEF_EXT_FALLBACK_BUILTIN): Delete.
296 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
297 the regular DEF_EXT_LIB_BUILTIN macro.
298 (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
299 the regular DEF_LIB_BUILTIN macro.
300 (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
301 BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
302 BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
303 DEF_EXT_LIB_BUILTIN macro.
304
305 * c-decl.c (duplicate_decls): Remove code to handle builtin
306 functions prototyped without an argument list.
307
92e7a6ef
DS
3082003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
309
310 * config/i386/winnt.c: Revert 2003-07-08 change.
311 (i386_pe_section_type_flags): Remove error_with_decl here too.
312
ba9cfcb5
GDR
3132003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
314
315 * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
316 * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
317 * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
318 (v850_handle_data_area_attribute): Likewise.
319
0e5da0be
GK
3202003-07-26 Geoffrey Keating <geoffk@apple.com>
321
66db6b62 322 * varasm.c (output_constant_def_contents): Use
18f3e349
GK
323 ASM_DECLARE_CONSTANT_NAME if defined.
324 * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
325 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
326 objects get at least one byte to prevent assembler problems.
327 (ASM_DECLARE_CONSTANT_NAME): New.
328
d2908a50
GK
329 * Makefile.in (libbackend.o): Remove options_.h.
330 (mostlyclean): Likewise.
331
0e5da0be
GK
332 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
333 insert a label at the end of an function under Mach-O.
863d3dfb
GK
334
335 * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
336
36252949
AH
3372003-07-25 Aldy Hernandez <aldyh@redhat.com>
338
339 * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
340 equality.
341 (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
342
343 * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
344
0fe37f68
GDR
3452003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
346
347 * doc/passes.texi (Passes): Mention pretty-printing and
348 diagnostic files.
349
50fc59e7
NS
3502003-07-25 Nathan Sidwell <nathan@codesourcery.com>
351
352 * doc/extend.texi (Function Attributes): GNU C++ does now allow
353 unused parameter decls.
354 (Attribute Syntax): GNU C++ does not allow label attributes to be
355 after the ':'.
356
cd475805
GDR
3572003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
358
359 * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
360 (objc_declare_class): Likewise.
361 (error_with_ivar): Likewise.
362 (start_class): Likewise.
363 (warn_with_method): Likewise.
364
b6fe0bb8
GDR
3652003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
366
367 Remove pedwarn_with_decl, warning_with_decl and error_with_decl
66db6b62 368 from GCC.
b6fe0bb8
GDR
369 * calls.c (try_to_integrate): Don't use xxx_with_decl.
370 (expand_call): Likewise.
371 * dwarfout.c (output_reg_number): Likewise.
372 * expr.c (expand_expr): Likewise.
373 * function.c (assign_temp): Likewise.
374 (uninitialized_vars_warning): Likewise.
375 (setjmp_args_warning): Likewise.
376 (expand_function_end): Likewise.
377 * stmt.c (fixup_gotos): Likewise.
378 (warn_about_unused_variables): Likewise.
379 (expand_end_bindings): Likewise.
380 * stor-layout.c (layout_decl): Likewise.
381 (place_field): Likewise.
382 * toplev.c (check_global_declarations): Likewise.
383 (rest_of_handle_inlining): Likewise.
384 (default_tree_printer): New function.
385 (general_init): Initialize diagnostic machinery before routing
386 signals to the ICE machinery. Set default tree printer.
387 * toplev.h (pedwarn_with_decl): Remove declaration.
388 (warning_with_decl): Likewise.
389 (error_with_decl): Likewise.
66db6b62 390 (pedwarn): Remove attribute for the time being.
b6fe0bb8
GDR
391 * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
392 * varasm.c (named_section): Likewise.
393 (make_decl_rtl): Likewise.
394 (assemble_variable): Likewise.
395 (merge_weak): Likewise.
396 (declare_weak): Likewise.
397
398 * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
399 * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
400 (format_with_decl): Remove.
401 (diagnostic_for_decl): Likewise.
402 (pedwarn_with_decl): Likewise.
403 (warning_with_decl): Likewise.
404 (error_with_decl): Likewise.
405 (diagnostic_initialize): Adjust.
406 (diagnostic_count_diagnostic): Likewise.
407 (announce_function): Likewise.
408 (lhd_print_error_function): Likewise.
409 (diagnostic_report_current_module): Likewise.
410 (default_diagnostic_starter): Likewise.
411 (diagnostic_report_diagnostic): Likewise.
412 (default_diagnostic_finalizer): Likewise.
413 (verbatim): Likewise.
414 (error): Likewise.
415 (warning): Likewise.
416 * opts.c (common_handle_option): Likewise.
417 * pretty-print.c: New file.
418 * c-pretty-print.h (pp_base): Override.
419 * c-pretty-print.c: Adjust use of macros throughout.
420 (pp_buffer): New macro.
421 (pp_newline): Likewise.
422 * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
423 * Makefile.in (DIAGNOSTIC_H): New variable.
424 (c-errors.o): Use it.
425 (c-objc-common.o): Likewise.
426 (c-common.o): Likewise.
427 (c-opts.o): Likewise.
428 (c-format.o): Likewise.
429 (diagnostic.o): Likewise.
430 (opts.o): Likewise.
431 (toplev.o): Likewise.
432 (rtl-error.o): Likewise.
433 (dwarf2out.o): Likewise.
434 (jump.o): Likewise.
435 (pretty-print.o): New rule.
436
868b8cda
RS
4372003-07-24 Roger Sayle <roger@eyesopen.com>
438
439 * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
440 front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
441 (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
442 from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
443 (DEF_FRONT_END_LIB_BUILTIN): Delete.
444 (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
445 (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
446
447 * builtins.c (build_string_literal): New function to construct
448 a char* pointer to a string literal.
449 (expand_builtin_fputs): Change 2nd argument from "int ignore" to
450 "rtx target" to be consistent with other expand_builtin_* functions.
451 Change 3rd argument from "int unlocked" to "bool unlocked".
452 (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
453 c-common.c to avoid front-end dependencies. Optimize printf("")
454 as a no-op when the result isn't required. Handle embedded NULs
455 in format string.
456 (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
457 from c-common.c to avoid front-end dependencies. Likewise, optimize
458 fprintf(fp,"") as a no-op when the result isn't required, evaluating
459 fp for side-effects. Handle embedded NULs in format string.
460 (expand_builtin_sprintf): Fix typo.
461 (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
462 optimizing. Adjust calls of expand_builtin_fputs to match the API
463 change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
464 expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
465 and BUILT_IN_FPRINTF using expand_builtin_fprintf.
466
467 * c-common.c (is_valid_printf_arglist): Delete.
468 (c_expand_builtin): Delete.
469 (c_expand_builtin_printf): Moved to builtins.c. Delete.
470 (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
471 (c_expand_expr): No longer treat CALL_EXPRs specially.
472 (CALLED_AS_BUILT_IN): Delete.
473
2a868ea4
ZD
4742003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
475
476 PR optimization/11631
477 * gcse.c (store_motion): Connect infinite loops to exit.
478
de7df9eb
JM
4792003-07-24 Jason Merrill <jason@redhat.com>
480
481 * tree.h (boolean_type_node): Move from C/C++/Java frontends.
482 (boolean_true_node, boolean_false_node): Likewise.
483 (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
484 * tree.c (build_common_tree_nodes): Init boolean_type_node.
485 (build_common_tree_nodes_2): Init boolean_{true,false}_node.
486 * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
487 * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
488 (truthvalue_true_node): Renamed from boolean_true_node.
489 (truthvalue_false_node): Renamed from boolean_false_node.
490 * c-decl.c: Just set truthvalue_* to integer_*.
491 * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
492
6907ddd3
RS
4932003-07-24 Roger Sayle <roger@eyesopen.com>
494
495 * c-decl.c (match_builtin_function_types): New subroutine of
496 duplicate_decls to test whether a redeclaration of a builtin
497 function is suitably close, i.e. the return type and all of
498 the argument types have the same modes as the builtin expects.
499 (duplicate_decls): Fuzzy type matching for builtin functions
500 moved to match_builtin_function_types.
501
84d45ad1
ZD
5022003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
503
504 * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
505 flag correctly.
506
f8521984
ZW
5072003-07-24 Zack Weinberg <zack@codesourcery.com>
508
509 * c-decl.c: Search-and-replace change 'binding level' to
510 'scope' in commentary.
511 (struct binding_level): Now struct c_scope.
512 (current_binding_level): Now current_scope.
513 (free_binding_level): Now scope_freelist.
514 (current_function_level): Now current_function_scope.
515 (global_binding_level): Now global_scope.
516 (make_binding_level): Now make_scope.
517 (pop_binding_level): Now pop_scope.
518
0f31374d
RO
5192003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
520
521 * configure.in (libgcc_visibility): Add missing whitespace.
522
270606ac
RH
5232003-07-24 Richard Henderson <rth@redhat.com>
524
525 * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
526 __gcc_personality_v0.
f8521984 527
5f08e44f
RO
5282003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
529
530 * Makefile.in: Replace pwd by ${PWD_COMMAND}.
531
a4878735
NS
5322003-07-24 Nathan Sidwell <nathan@codesourcery.com>
533
534 * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
535 documentation missed from my 2003-07-09 patch.
536
5aaaf0e8
NN
5372003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
538
539 * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
540 it's not provided.
541 * configure: Rebuild.
542
8f5b6d29
SB
5432003-07-24 Steven Bosscher <steven@gcc.gnu.org>
544
545 PR c/10602
546 * c-typeck.c (type_lists_compatible_p): Do not compare
547 arguments if one of them is an error_mark_node
548
acd0b319
AM
5492003-07-24 Alan Modra <amodra@bigpond.net.au>
550
551 * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
552 if current_function_calls_eh_return.
553
28b619b2
MM
5542003-07-23 Mark Mitchell <mark@codesourcery.com>
555
556 * doc/c-tree.texi (OFFSET_TYPE): Update description.
557
07154156
BW
5582003-07-23 Bob Wilson <bob.wilson@acm.org>
559
560 * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
561 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
562 __umodsi3, __modsi3): Increase frame size to 32.
563
5f5bfdd0
GK
5642003-07-23 Geoffrey Keating <geoffk@apple.com>
565
566 * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
567 prototype.
568
11b8e71c
MM
5692003-07-23 Mark Mitchell <mark@codesourcery.com>
570
28b619b2
MM
571 * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
572
11b8e71c
MM
573 PR optimization/10679
574 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
575
9d6b7c09
JDA
5762003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
577
578 PR target/11607 and PR target/11516
579 * pa.md (extzv, extv, insv): Revert latter half of last patch.
580
a5ac359a
MM
5812003-07-22 Mark Mitchell <mark@codesourcery.com>
582
583 * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
584 * varasam.c (output_constant): Likewise.
585
938d968e
KH
5862003-07-22 Kazu Hirata <kazu@cs.umass.edu>
587
588 * alias.c: Fix comment formatting.
589 * c-common.c: Likewise.
590 * c-decl.c: Likewise.
591 * c-opts.c: Likewise.
592 * combine.c: Likewise.
593 * cpplib.c: Likewise.
594 * diagnostic.c: Likewise.
595 * dojump.c: Likewise.
596 * final.c: Likewise.
597 * fold-const.c: Likewise.
598 * gcc.c: Likewise.
599 * gcse.c: Likewise.
600 * ggc-page.c: Likewise.
601 * jump.c: Likewise.
602 * loop.c: Likewise.
603 * mips-tfile.c: Likewise.
604 * recog.c: Likewise.
605 * regclass.c: Likewise.
606 * regmove.c: Likewise.
607 * tree.c: Likewise.
608 * tree.h: Likewise.
609
b3147029
PB
6102003-07-22 Per Bothner <pbothner@apple.com>
611
612 * line-map.c (add_line_map): Handle invalid LEAVE request.
613 Fixes PR preprocessor/11361.
614
53f72d60
PB
6152003-07-22 Per Bothner <pbothner@apple.com>
616
617 * diagnostic.c.(diagnostic_report_current_module): Update to match
618 2003-06-05 changes to push_srcloc and pop_srcloc.
619
5cf0212f
WB
6202003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
621
622 * doc/trouble.texi: Better document two-stage name lookup.
623
c7453384
EC
6242003-07-22 Eric Christopher <echristo@redhat.com>
625
626 * config/s390.c (s390_valid_pointer_mode): New.
627 (TARGET_VALID_POINTER_MODE): Use.
628 (s390_emit_prologue): Add tpf profiling hooks.
629 (s390_emit_epilogue): Ditto.
630 * config/s390.h (MASK_TPF): New.
631 (TARGET_TPF): Use.
632 (POINTERS_EXTEND_UNSIGNED): Define.
633 * config/s390.md (ptr_extend): New pattern.
634
a2f7be91
ZW
6352003-07-22 Zack Weinberg <zack@codesourcery.com>
636
637 * hashtable.c (approx_sqrt): Make static.
638 * hashtable.h: Don't prototype approx_sqrt.
639 * line-map.c (init_line_maps): Rename linemap_init.
640 (free_line_maps): Rename linemap_free.
641 (add_line_map): Rename linemap_add.
642 (lookup_line): Rename linemap_lookup.
643 (print_containing_files): Rename linemap_print_containing_files.
644 * linemap.h: Update to match.
645
646 * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
647 linemap routines to use new names.
648
c6e4cc53
NS
6492003-07-16 Nathan Sidwell <nathan@codesourcery.com>
650
651 * c-common.c (handle_packed_attribute): Don't pack a struct via a
652 typedef. Propagate packedness from a main variant.
653
55de4f08
NN
6542003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
655
656 * Makefile.in (install-common): Add dependency on installdirs.
657
fb5d2a87
AO
6582003-07-21 Alexandre Oliva <aoliva@redhat.com>
659
660 * c-common.c (c_common_type_for_mode): Return integer types for
661 pointer modes.
662
905bd7b5
GK
6632003-07-22 Geoffrey Keating <geoffk@apple.com>
664
d05cc98e
GK
665 * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
666 (finish_decl): Call maybe_apply_pragma_weak here.
667 (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
668 TREE_PUBLIC and TREE_STATIC are decided.
669 (start_function): Move call to maybe_apply_pragma_weak. Check that
670 DECL_ASSEMBLER_NAME isn't set too early.
671
905bd7b5
GK
672 * cpplex.c (_cpp_process_line_notes): Mention option name in
673 trigraphs warning.
674
87d9741e
KH
6752003-07-22 Kazu Hirata <kazu@cs.umass.edu>
676
677 * combine.c (if_then_else_cond): Simplify the comparison of
678 rtx against -1, 0, and 1.
679 * loop.c (check_dbra_loop): Likewise.
680 * optabs.c (emit_conditional_move): Likewise.
681 (emit_conditional_add): Likewise.
682 * config/i386/i386.md (*movsi_or): Likewise.
683 (*movdi_or_rex6): Likewise.
684
b67d7f4a
JH
685Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
686
687 * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
688
8d973a83
NB
6892003-07-21 Neil Booth <neil@daikokuya.co.uk>
690
691 * cppfiles.c (open_file_pch): Don't put unused entries in the
692 splay tree. Remove dead code.
693
49a64b24
GK
6942003-07-21 Geoffrey Keating <geoffk@apple.com>
695
48873ed2
GK
696 * c-common.h (num_in_fnames): Declare.
697 (c_static_assembler_name): Move from here...
698 * c-tree.h (c_static_assembler_name): ... to here.
699 * c-opts.c: Don't include langhooks-def.h.
700 (c_static_assembler_name): Move to c-decl.c.
701 (num_in_fnames): Make externally visible.
702 * c-decl.c: Include langhooks-def.h.
703 (c_static_assembler_name): Move from c-opts.c.
704 * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
705 (c-opts.o): Remove $(LANGHOOKS_DEF_H).
706
49a64b24
GK
707 * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
708 when it's not needed.
709
8c29550d
JJ
7102003-07-21 Jakub Jelinek <jakub@redhat.com>
711
712 * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
713 * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
714 (rs6000_emit_prologue): Save FPRs inline if set.
715
92cbea22
L
7162003-07-21 H.J. Lu <hongjiu.lu@intel.com>
717
718 * config/ia64/ia64.md (prefetch): Support predicate.
719
ee735eef
JZ
7202003-07-21 Josef Zlomek <zlomekj@suse.cz>
721
722 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
723 * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
724 table.
725
bbda30a4
EB
7262003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
727
a2f7be91 728 PR optimization/11536
bbda30a4
EB
729 * unroll.c (loop_iterations): Do not replace a register holding
730 the final value by its equivalent before the loop if it is not
731 invariant.
732
64c18e57
DF
7332003-07-21 Dave Fluri <dave.fluri@onlink.net>
734
735 * doc/extend.texi: Fixes to spelling, grammar, and diction.
736
b222f49a
BE
7372003-07-21 Ben Elliston <bje@wasabisystems.com>
738
739 * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
740 (V850 Options): Spelling fixes.
741
9eff22bc
LG
7422003-07-20 Lisa M. Goldstein <opus@gnu.org>
743
a2f7be91 744 * doc/invoke.texi: Fixes to style, grammar and diction.
9eff22bc 745
6a6c0154
RS
7462003-07-20 Roger Sayle <roger@eyesopen.com>
747
748 * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
749 * system.h (SMALL_STACK): Poison obsolete target macro.
750 * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
751
d38b3a8d
PE
7522003-07-20 Phil Edwards <pme@gcc.gnu.org>
753
754 * configure.in: Cache the results of testing for cmp's capabilities.
755 * configure: Regenerate.
756
35dc2bd8
MM
7572003-07-20 Mark Mitchell <mark@codesourcery.com>
758
759 PR debug/11279
760 * dwarf2out.c (gen_enumeration_type_die): Remember that
761 enumerators can be unsigned.
762
14e33ee8
ZW
7632003-07-19 Zack Weinberg <zack@codesourcery.com>
764
765 * c-decl.c (named_labels, shadowed_labels, label_level_chain)
766 (push_label_level, pop_label_level): Kill.
767 (struct binding_level): Rename level_chain to outer.
768 Add outer_function field. Change parm_flag, function_body,
769 keep, keep_if_subblocks to 1-bit bitfields of type bool.
770 (current_function_level): New variable.
771 (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
772 (keep_next_level, declare_parm_level, warn_if_shadowing):
773 Update to match.
774 (struct language_function): Kill named_labels, shadowed_labels fields.
775 (c_init_decl_processing, start_function, c_push__function_context)
776 (c_pop_function_context): No need to muck with named_labels nor
777 shadowed_labels.
778
779 (make_binding_level): No need to clear the structure here.
780 (pop_binding_level): Always operate on current_binding_level.
781 Update current_function_level if necessary.
782 (pushlevel): Don't clear named_labels. Update current_function_level
783 if necessary. Use "true" and "false" where appropriate.
784 (poplevel): Diagnose labels defined but not used, or vice
785 versa, and clear out label-meanings leaving scope, while
786 walking down the decls list, for all binding levels.
787 Handle LABEL_DECLs appearing in the shadowed list.
788 pop_binding_level takes no arguments.
789 (pushdecl_function_level): Use current_function_level.
790
791 (make_label, bind_label): New static functions.
792 (declare_label): New exported function.
793 (lookup_label, define_label): Rewritten for new data structure.
794 (shadow_label): Kill.
795
796 * c-tree.h: Prototype declare_label; don't prototype
797 push_label_level, pop_label_level, nor shadow_label.
798 * c-parse.in: Remove all calls to push_label_level and
799 pop_label_level. Use declare_label for __label__ decls.
800
801 * doc/extend.texi: Clarify that __label__ can be used to
802 declare labels with local scope in any nested block, not
803 just statement expressions. Cross-reference nested functions
804 section from local labels section.
805
8a6b9b7f
ZD
8062003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
807
808 * sched-rgn.c (find_rgns): Initialize current_edge correctly.
809
026fe6c8
PE
8102003-07-19 Phil Edwards <pme@gcc.gnu.org>
811
812 * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
813
c68b0a84
KG
8142003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
815
816 * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
817 fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
818
fd7643fb
UW
8192003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
820
14e33ee8 821 * config/s390/s390.c (legitimize_pic_address): Access local symbols
fd7643fb
UW
822 relative to the GOT instead of relative to the literal pool base.
823 (s390_output_symbolic_const): Handle new GOT-relative accesses.
824 * config/s390/s390.md ("call"): Access local functions and PLT stubs
825 relative to the GOT instead of relative to the literal pool base.
826 ("call_value"): Likewise.
827 ("call_value_tls"): Likewise.
828
14e33ee8 829 * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
fd7643fb
UW
830 reloading. Support LTREL_BASE / LTREL_OFFSET construct.
831 (s390_chunkify_finish): Likewise.
832 (s390_chunkify_cancel): Likewise.
833 (s390_reorg): Adapt caller.
834 (find_base_register_in_addr,
835 find_base_register_ref, replace_base_register_ref): Delete.
836 (find_ltrel_base, replace_ltrel_base): New functions.
837 (find_constant_pool_ref): Handle LTREL_BASE unspecs.
838 (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
839 base vs. index register usage.
840 (struct constant_pool): Remove 'anchor'.
841 (s390_add_anchor): Delete.
842 (s390_dump_pool): Remove anchor handling.
843 * config/s390/s390.md ("reload_anchor"): Remove.
844
845 * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
846 (s390_load_got): New function. Use LTREL_BASE/OFFSET.
847 (s390_emit_prologue): Use it.
14e33ee8
ZW
848 * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
849 "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
fd7643fb
UW
850 hard-code register 14.
851 * config/s390/s390-protos.h (s390_load_got): Declare.
852
14e33ee8 853 * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
fd7643fb
UW
854 Support TImode constants.
855 * config/s390/s390.md ("consttable_ti"): New.
856 ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
857
858 * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
859 UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
860 UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
861 UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
862 UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
863 New symbolic constants.
864 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
865 "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
866 "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
867 "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
868 symbolic UNSPEC values.
14e33ee8 869 * config/s390/s390.c (larl_operand, s390_short_displacement,
fd7643fb
UW
870 bras_sym_operand, s390_cannot_force_const_mem,
871 s390_delegitimize_address, s390_decompose_address,
872 legitimize_pic_address, s390_output_symbolic_const,
873 s390_function_profiler): Use symbolic UNSPEC values.
874
703ad42b
KG
8752003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
876
877 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
878 c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
879 c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
880 collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
881 cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
882 cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
883 dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
884 fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
885 gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
886 genemit.c genextract.c genoutput.c genrecog.c gensupport.c
887 ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
888 integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
889 loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
890 postreload.c prefix.c print-tree.c protoize.c ra-build.c
891 ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
892 regmove.c regrename.c reload.c reload1.c reorg.c resource.c
893 sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
894 simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
895 tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
896 varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
897 casts.
898
308ca868
GDR
8992003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
900
901 * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
902 * toplev.h (warning): Remove attribute.
903
435ab236
GDR
9042003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
905
906 * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
907 (pop_label_level): Likewise.
908 (duplicate_decls): Likewise.
909 (implicitly_declare): Likewise.
910 (shadow_label): Likewise.
911 (start_decl): Likewise.
912 (finish_decl): Likewise.
913 (grokdeclarator): Likewise.
914 (get_parm_info): Likewise.
915 (detect_field_duplicates): Likewise.
916 (finish_struct): Likewise.
917 (start_function): Likewise.
918 (store_parm_decls): Likewise.
919 (finish_function): Likewise.
920 (c_expand_body_1): Likewise.
921 (check_for_loop_decls): Likewise.
922 (merge_translation_unit_decls): Likewise.
923
2cc98056
NB
9242003-07-19 Neil Booth <neil@daikokuya.co.uk>
925
926 * common.opt: Document --param.
927 * opts.c (columns, undocumented_msg): New.
928 (print_help): Get number of columns from environment. Print
929 --param help. Tweak newline handling.
930 (print_param_help): New.
931 (print_filtered_help): Better handling of duplicates. Complain
932 about undocumented switches.
933 (print_switch): New.
934 (wrap_help): Improve wrapping, use COLUMNS.
935 * opts.sh: Ignore comments in records.
936 * params.def: Fix typos and remove trailing periods.
937 * toplev.c (display_help): Don't dump --param help.
938 * doc/sourcebuild.texi: Update.
939
d893ccde
RH
9402003-07-18 Richard Henderson <rth@redhat.com>
941
0e38b30b 942 PR target/11556
d893ccde
RH
943 * optabs.c (prepare_operand): Fail gracefully instead of abort
944 if the predicate doesn't satisfy.
945 (gen_cond_trap): Allow prepare_operand to fail.
946
eb8221ea
GDR
9472003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
948
949 * c-common.c: Don't undefine GCC_DIAG_STYLE.
950 (fname_decl): Don't use xxx_with_decl.
951 (c_add_case_label): Likewise.
952 (handle_section_attribute): Likewise.
953 (handle_alias_attribute): Likewise.
954 (handle_no_instrument_function_attribute): Likewise.
955 (handle_no_limit_stack_attribute): Likewise.
956 * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
957 * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
958
65f43cdf
ZD
9592003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
960
961 * Makefile.in (ifcvt.o): Add cfgloop.h.
962 * basic-block.h (EDGE_LOOP_EXIT): New flag.
963 * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
964 * ifcvt.c: Include cfgloop.h.
965 (mark_loop_exit_edges): New static function.
966 (if_convert): Call it.
967 (find_if_header): Ignore branches out of loops.
968
e5686da7
KH
9692003-07-18 Kazu Hirata <kazu@cs.umass.edu>
970
14e33ee8 971 * combine.c (simplify_comparison): Don't share rtx when converting
e5686da7
KH
972 (ne (and (not X) 1) 0) to (eq (and X 1) 0).
973
8d05ebaa
DE
9742003-07-18 David Edelsohn <edelsohn@gnu.org>
975
976 * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
977 (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
978 (MUST_PASS_IN_STACK): Define.
979 (BLOCK_REG_PADDING): Define.
980
79019985
RH
9812003-07-18 Richard Henderson <rth@redhat.com>
982
983 * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
984 to skip the addr_vec.
985
0595d388
AO
986Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com>
987
988 * combine.c (combinable_i3pat): Don't forbid occurrences of
989 i2dest or i1dest in inner_dest if inner_dest is a mem.
990
2ee1067b
JH
991Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz>
992
993 * cgraph.c (cgraph_remove_node): Clear the hash table slot.
994
16f6812f
JJ
9952003-07-17 Jakub Jelinek <jakub@redhat.com>
996
997 PR target/11087
998 * loop.c (basic_induction_var): Check if convert_modes emitted any
999 instructions. Remove them and return 0 if so.
1000
f129791c
EB
10012003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
1002
1003 PR optimization/11083
1004 * toplev.c (rest_of_handle_addresof): Rename into
1005 rest_of_handle_addressof. Delete unreachable blocks
1006 if dead edges were purged after the addressof pass.
1007
b2e608ca
NB
10082003-07-18 Neil Booth <neil@daikokuya.co.uk>
1009
1010 * Makefile.in, configure, configure.in: Remove handling of
1011 lang-options.h and options_.h.
1012 * toplev.c (struct lang_opt, documented_lang_options): Remove.
1013 (display_help): Don't use documented_lang_options.
1014
9cd51ef6
ZW
10152003-07-17 Zack Weinberg <zack@codesourcery.com>
1016
1017 * c-decl.c (pushdecl_function_level): Make static, return nothing.
1018 (kept_level_p): Fold into poplevel.
1019 (undeclared_variable): Moved here from c-typeck.c. Export.
1020 * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
1021 (undeclared_variable): Prototype here. Don't prototype
1022 kept_level_p nor pushdecl_function_level.
1023 * c-parse.in: Change first argument to poplevel from
1024 "kept_level_p()" to "KEEP_MAYBE".
1025 * c-typeck.c (undeclared_variable): Moved to c-decl.c.
1026
cf6bcbd0
RS
10272003-07-17 Roger Sayle <roger@eyesopen.com>
1028
1029 * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
1030 commutative operands instead of modifying the RTL in-place.
1031
2b187c63
MM
10322003-07-17 Mark Mitchell <mark@codesourcery.com>
1033
1034 PR optimization/11557
1035 * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
1036 unless we know which function is being called.
1037
c715abdd
RS
10382003-07-17 Roger Sayle <roger@eyesopen.com>
1039
1040 * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
1041 whether to reorder the operands of a commutative binary operator.
1042
3e4093b6
RS
10432003-07-17 Roger Sayle <roger@eyesopen.com>
1044
1045 * fold-const.c (const_binop): Avoid performing the FP operation at
1046 compile-time, if either operand is NaN and we honor signaling NaNs,
1047 or if we're dividing by zero and either flag_trapping_math is set
1048 or the desired mode doesn't support infinities.
1049 (fold_initializer): New function to fold an expression ignoring any
1050 potential run-time exceptions or traps.
1051 * tree.h (fold_initializer): Prototype here.
1052 * c-typeck.c (build_binary_op): Move to the end of the file so
1053 that intializer_stack is in scope. If constructing an initializer,
1054 i.e. when initializer_stack is not NULL, use fold_initializer to
1055 fold expressions.
1056 * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
1057 performing FP operations at compile-time, if they would raise an
1058 exception at run-time.
1059
89e9faee
GK
10602003-07-17 Geoffrey Keating <geoffk@apple.com>
1061
26e0dcb3
GK
1062 PR 11498
1063 * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
1064 (langhooks.o): Add $(GGC_H), gt-langhooks.h.
1065 (GTFILES): Add langhooks.c.
1066 (gt-langhooks.h): New.
1067 * c-common.h (c_static_assembler_name): Prototype.
1068 * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1069 * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
1070 * c-opts.c: Include langhooks-def.h.
1071 (c_static_assembler_name): New.
1072 * langhooks.c: Include ggc.h. Include gt-langhooks.h.
1073 (var_labelno): New.
1074 (lhd_set_decl_assembler_name): Give static objects with context
1075 unique names.
1076 * varasm.c (var_labelno): Delete.
1077 (make_decl_rtl): Don't change the assembler name once it's set.
1078
89e9faee
GK
1079 * c-opts.c (this_input_filename): New.
1080 (finish_options): Take new parameter, name of file being compiled.
1081 Update callers. Set this_input_filename.
1082 (push_command_line_include): Use this_input_filename not
1083 main_input_filename.
1084
6ec3f553
NB
10852003-07-17 Neil Booth <neil@daikokuya.co.uk>
1086
1087 * Makefile.in: Depend .pot generation on options.c.
1088 * po/exgettext: Add an extra_files variable containing additional
1089 files to scan.
1090
78ff95dc
ZW
10912003-07-17 Zack Weinberg <zack@codesourcery.com>
1092
36c6d174
ZW
1093 * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
1094 c_write_global_declarations.
1095
eb1dfbb2
ZW
1096 * c-decl.c: Fix typos in several comments. Remove all
1097 #if 0 blocks; reindent as needed. Remove unused argument
1098 to declare_parm_level; all callers changed.
1099 * c-parse.in: Update calls to declare_parm_level. Avoid
1100 issuing a double warning in some circumstances.
1101 * c-typeck.c: Update calls to declare_parm_level.
1102 * c-tree.h: Update prototype of declare_parm_level.
1103
1104 * c-pragma.c (apply_pragma_weak): Don't complain about a
1105 redundant #pragma weak.
1106
1107 * objc/objc-act.c (forward_declare_categories,
1108 build_selector_reference_decl, build_class_reference_decl,
1109 build_objc_string_decl, synth_forward_declarations,
1110 build_protocol_reference): Set TREE_PUBLIC on synthetic
1111 forward decl to 0, consistent with eventual definition.
1112 Correct comments to match.
1113
78ff95dc
ZW
1114 * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
1115 in regexp that don't form a range expression.
1116 * fixinc/fixincl.def: Regenerate.
1117
b23ba0b8
RH
11182003-07-17 Richard Henderson <rth@redhat.com>
1119
78ff95dc
ZW
1120 PR target/10907
1121 * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
1122 even with !TARGET_CONST_GP.
1123 (ia64_function_ok_for_sibcall): Reject non-local functions.
b23ba0b8 1124
d944c82d
SB
11252003-07-17 Steven Bosscher <steven@gcc.gnu.org>
1126
1127 * c-common.c (c_estimate_num_insns_1): Don't handle
1128 METHOD_CALL_EXPR.
1129 * expr.c (safe_from_p): Likewise.
1130 * gengtype.c (adjust_field_tree_exp): Likewise.
1131 * stmt.c (warn_if_unused_value): Likewise
1132 * tree.c (first_rtl_op): Likewise.
1133 * tree.def: Don't define METHOD_CALL_EXPR.
1134 * java/lang.c (java_estimate_num_insns_1): Don't handle
1135 METHOD_CALL_EXPR.
1136
54284728
EB
11372003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1138
1139 PR other/11466
1140 * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
1141 and its restrictions for the SPARC64 port.
1142 Move the entry of "-mimpure-text" before that of "-mv8".
1143
bc890961 11442003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
78ff95dc 1145 Phil Edwards <phil@jaj.com>
bc890961
EB
1146
1147 * doc/install.texi (*-*-solaris2*): Document the step-by-step
1148 procedure to bootstrap and install.
1149 Document the preference for the legacy Sun tools in /usr/bin
1150 over the POSIX tools in /usr/xpg4/bin for the build process.
1151
f2ac9964
NB
11522003-07-17 Neil Booth <neil@daikokuya.co.uk>
1153
1154 * c.opt: Document Uncodumented; use it. Document ObjC options.
1155 * opts.c (print_filtered_help): Skip undocumented switches.
1156 * opts.h (CL_UNDOCUMENTED): New.
1157 * opts.sh: Handle Undocumented.
1158 * toplev.c (documented_lang_options): Prevent its becoming empty.
1159objc:
1160 * lang-options.h: Remove.
1161
03988cac
UW
11622003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
1163
1164 * loop.c (check_ext_dependent_givs): Pass const struct loop *
1165 instead of struct loop_info * as argument. Accept BIVs with
1166 increment +/- 1 provided there is a friendly exit test against
1167 a loop-invariant value.
1168 (strength_reduce): Adapt call to check_ext_dependent_givs.
1169
fada1961
R
11702003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
1171 Con Bradley <con.bradley@superh.com>
1172
1173 * sh-protos.h (sh_get_pr_initial_val): Declare.
1174 * sh.c (regno_reg_class): Make its elements type enum reg_class.
1175 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
1176 and live_regs_mask arguments. Changed all callers.
1177 (save_schedule_s): New structure.
1178 (save_schedule): New typedef.
1179 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
1180 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
1181 In interrupts handlers, also save registers that are usually
1182 partially saved, and make sure there is at least one general purpose
1183 register saved if a target register needs saving.
1184 Add casts in comparisons to avoid warnings.
1185 (sh_media_register_for_return): return -1 for interrupt handlers.
1186 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
1187 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
1188 registers used are available.
1189 Set RTX_FRAME_RELATED_P where appropriate.
1190 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
1191 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
1192 (initial_elimination_offset): Likewise.
1193 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
1194 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
1195 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
1196 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
1197 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
1198 and for target registers.
1199 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
1200 (regno_reg_class): Make its elements type enum reg_class.
1201 (CONSTRAINT_LEN): Don't use isdigit.
1202 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
1203 (FUNCTION_ARG): Add parentheses to avoid warnings.
1204 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
1205 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
1206 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
1207 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
1208 * sh.md (xordi3+1): Remove unused variable regno.
1209 (return_media): Check that tr0 is available before using it.
1210
bae92bf3
NB
12112003-07-16 Neil Booth <neil@daikokuya.co.uk>
1212
1213 * c.opt: Document more options.
1214
cc8c96fd
RS
12152003-07-16 Roger Sayle <roger@eyesopen.com>
1216
1217 * combine.c (subst): Also handle (subreg (const_double ...)) case
1218 if created by a substitution, by using the original inner mode.
1219
d41ba56f
RS
12202003-07-16 Roger Sayle <roger@eyesopen.com>
1221
1222 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
1223 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
1224 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
1225
264d65c1 12262003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
78ff95dc 1227
264d65c1 1228 * doc/install.texi (--without-headers): New.
1622229c
AP
1229
1230 Partial Fix PR/10129
1231 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
1232 (machopic_output_function_base_name): New; print the true pic label.
1233 (machopic_classify_ident): Pic Base is always a defined data.
1234 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
1235 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
1236
db2f435b
AP
1237 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
1238 if they are not floating point registers.
1239
d07605f5
AP
1240 PR c/10962
1241 * ggc.h: Add header guards.
1242 * c-decl.c (finish_struct): Sort fields if
1243 number greater than 15 and there are no
1244 anonymous structs/unions.
1245 * c-common.h: Include ggc.h.
1246 (sorted_fields_type): New struct.
1247 (field_decl_cmp): New prototype.
1248 (resort_sorted_fields): New prototype.
1249 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
1250 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
1251 as s, removing other fields.
1252 * c-typeck.c (lookup_field): Use s in lang_type.
1253 These were mostly moved from cp/class.c:
1254 * c-common.c (field_decl_cmp): New static function.
1255 (field_decl_cmp): New function.
1256 (resort_sorted_fields): New function.
1257
3d7964d5
GK
12582003-07-16 Geoffrey Keating <geoffk@apple.com>
1259
1260 * config/darwin.c (machopic_select_section): Use decl_readonly_section
1261 to do most of the work.
1262
4e58524e
HPN
12632003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
1264
1265 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
1266 * config/mmix/mmix.c: Convert functions to ISO C90.
1267 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
1268 formatting.
1269 (mmix_get_hard_reg_initial_val): Tweak section head comment.
1270
1e0343dd
R
12712003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
1272
1273 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
1274
fc4767bb
JJ
12752003-07-16 Jakub Jelinek <jakub@redhat.com>
1276
1277 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
1278 (uw_update_context_1): Use it.
1279 * config/rs6000/rs6000.c (insn_after_throw): Remove.
1280 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
1281 in parent frame if _Unwind_* called directly instead of through
1282 .plt.
1283 (rs6000_emit_eh_toc_restore): Remove.
1284 (rs6000_emit_prologue): Update stack pointer before doing any saving
1285 if current_function_calls_eh_return. Generate unwind info for $r2.
1286 (rs6000_emit_epilogue): Restore stack pointer after doing all
1287 restoring if current_function_calls_eh_return. Restore $r2.
1288 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
1289 * config/rs6000/rs6000.md (eh_return): Remove call to
1290 rs6000_emit_eh_toc_restore.
1291 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
1292 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
1293
6972c506
JJ
12942003-07-15 Jakub Jelinek <jakub@redhat.com>
1295
1296 * expr.c (emit_block_move): Don't move anything if size is const 0.
1297 (clear_storage): Test against const0_rtx instead of comparing INTVAL
1298 against 0.
1299
ac59ed37
DM
13002003-07-15 David S. Miller <davem@redhat.com>
1301
1302 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
1303 emit nop if the last real insn is CALL_INSN.
1304
b828d124
DS
13052003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
1306
1307 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
1308 as "nul".
1309 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
1310
d5648e12
DS
13112003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
1312
1313 * config/i386/winnt.c (associated_type): Artificial methods are not
1314 affected by the import/export status of their class unless they are
1315 COMDAT.
1316 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
1317
1318 * config/i386/winnt.c: Fix GCC copyright comment.
1319
b0e3f7ec
GDR
13202003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
1321
1322 PR c++/11531
1323 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
1324 not recursing on hard error.
1325 (diagnostic_for_decl): Likewise.
1326 * diagnostic.def: Rearrange.
1327
71628aa0
R
13282003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
1329
1330 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
1331 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
1332
13332003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
1334 Richard Henderson <rth@redhat.com>
1335
1336 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
1337 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
1338 (_Unwind_SetGR): Likewise.
1339 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
1340 (Unwind_SpTmp): New typedef.
1341 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
1342 (uw_update_context): Use _Unwind_GetPtr.
1343 (init_dwarf_reg_size_table): Move above uw_init_context_1.
1344 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
1345 Use _Unwind_SetSpColumn.
1346 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
1347 Use _Unwind_GetPtr.
1348
5a170a05
NB
13492003-07-15 Neil Booth <neil@daikokuya.co.uk>
1350
1351 * c.opt: Document more options.
1352 * toplev.c (documented_lang_options): Remove all local help strings.
1353
b0afa2fc
MM
13542003-07-15 Mark Mitchell <mark@codesourcery.com>
1355
1356 PR debug/11473
1357 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
1358 base classes.
1359
5df90541
KH
13602003-07-15 Kazu Hirata <kazu@cs.umass.edu>
1361
1362 PR target/10795
1363 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
1364 swap comparison operands if doing so would generate an
1365 unrecognizable insn.
1366
5a257872
EB
13672003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
1368
1369 PR optimization/11320
1370 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
1371 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
1372 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
1373 current_sched_info->compute_jump_reg_dependencies. Record which
1374 registers are used and which registers are set by the jump.
1375 Clear deps->reg_conditional_sets after a barrier.
1376 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
1377 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
1378 (init_deps): Initialize reg_conditional_sets.
1379 (free_deps): Clear reg_conditional_sets.
1380 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
1381 Mark registers live on entry of the fallthrough block and conditionally
1382 set as set by the jump. Mark registers live on entry of non-fallthrough
1383 blocks as used by the jump.
1384 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
1385 Mark new parameters as unused.
1386
3cec3f83
RS
13872003-07-15 Richard Sandiford <rsandifo@redhat.com>
1388
1389 * doc/invoke.texi: Resync MIPS -march documentation.
1390
98450f0d
RS
13912003-07-15 Richard Sandiford <rsandifo@redhat.com>
1392
1393 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
1394 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
1395 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
1396 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
1397 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
1398 (mips_issue_rate): Handle PROCESSOR_R9000.
1399 (mips_use_dfa_pipeline_interface): Likewise.
1400 * config/mips/9000.md: New file.
1401 * config/mips/mips.md: Include it.
1402 (define_attr cpu): Add r9000.
1403 (mulsi3_mult3): Use "mul" for rm9000 code.
1404
5fe25f47
SC
14052003-07-15 Stan Cox <scox@redhat.com>
1406
1407 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
1408 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
1409 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
1410 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
1411 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
1412 (mips_issue_rate): Handle PROCESSOR_R7000.
1413 (mips_use_dfa_pipeline_interface): Likewise.
1414 * config/mips/7000.md: New file.
1415 * config/mips/mips.md: Include it.
1416 (define_attr cpu): Add r7000.
1417 (mulsi3_mult3): Use "mul" for rm7000 code.
1418
5a2515e6
RS
14192003-07-15 Richard Sandiford <rsandifo@redhat.com>
1420
1421 * config/mips/mips.md (define_attr type): Add condmove. Use it for
1422 the conditional move patterns.
1423 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
1424 Check for condmove type.
1425 (ir_vr54_arith): Add move type.
1426 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
1427 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
1428
72de27ea
NB
14292003-07-15 Neil Booth <neil@daikokuya.co.uk>
1430
1431 * c-opts.c (print_help): Remove.
1432 (c_common_handle_option): Don't handle --help.
1433 * c.opt: Document some options.
1434 (--help): Remove.
1435 * opts.c (print_filtered_help): New.
1436 (print_help): Use it.
1437
e6ebd07b
GK
14382003-07-14 Geoffrey Keating <geoffk@apple.com>
1439
2d799c09
GK
1440 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
1441 * tree.c: (build_common_tree_nodes_2): Likewise.
1442 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
1443 (V4DF_type_node): New.
1444
e6ebd07b
GK
1445 * c-opts.c (push_command_line_include): Don't free deferred_opts,
1446 we'll need it.
1447 (finish_options): Reset init_cursor.
1448
b90f141a
KH
14492003-07-15 Kazu Hirata <kazu@cs.umass.edu>
1450
1451 * expr.c (expand_assignment): Remove an unused argument
1452 SUGGEST_REG.
1453 * expr.h: Update the prototype.
1454 * function.c: Update the callers.
1455 * stmt.c: Likewise.
1456
1e7ee6ad
MM
14572003-07-14 Mark Mitchell <mark@codesourcery.com>
1458
1459 PR debug/11098
1460 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
1461 as DECL_ABSTRACT.
1462
bf66f7b0
NN
14632003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1464
1465 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
1466 with __cplusplus, not "we must use the C++ compiler's type"
1467 * fixinc/inclhack.def (void_null): Note that Interix needs this.
1468 * fixinc/fixincl.x: Regenerate.
1469
18009d03
GK
14702003-07-14 Geoffrey Keating <geoffk@apple.com>
1471
ea00486e
GK
1472 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
1473 and unseen_objects from the global data before calling
1474 __deregister_frame_info_bases.
1475 (examine_objects): Insert objects into the seen_objects list,
1476 not unseen_objects.
1477 (_Unwind_Find_FDE): Always unlock the global object lists, even if
1478 we couldn't allocate a data structure to put in it.
1479
18009d03
GK
1480 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
1481 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
1482 (SET_TYPE_PROTOCOL_LIST): New.
1483 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
1484 (get_object_reference): Likewise.
1485
9ae130f8
JH
1486Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
1487
1488 * cfglayout.c (locator_file): Break out from ....
1489 (insn_file): ... here.
1490 (locator_line): Break out from ....
1491 (insn_line): ... here.
1492 * rtl.h (locator_file, locator_line): Declare.
1493 (final_start_function): Set proper line/file info.
1494
e07d4821
GDR
14952003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
1496
1497 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
1498 handled by pp_c_cast_expression.
1499
121d69e6
RS
15002003-07-14 Richard Sandiford <rsandifo@redhat.com>
1501
1502 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
1503 allocate 32768 bytes of stack. Use addition rather than subtraction
1504 when a single insn is enough.
1505 * config/mips/mips.md: Remove insns and splitters for subtracting
1506 constants.
1507 (subsi3): Only accept register operands.
1508 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
1509 (subdi3_internal_3, subsi3_internal_2): Likewise.
1510 (casesi): Use expand_binop to subtract the lower bound.
1511
3485245e
RS
15122003-07-14 Richard Sandiford <rsandifo@redhat.com>
1513
1514 * config/mips/mips.c (mips_in_small_data_p): Don't handle
1515 TARGET_MIPS16 specially.
1516
6627b7f9
RS
15172003-07-14 Richard Sandiford <rsandifo@redhat.com>
1518
6d0b50a4
RS
1519 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
1520 mips_output_aligned_bss.
1521 * config/mips/linux.h: Likewise.
1522 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
1523 * config/mips/mips.c (mips_output_aligned_bss): New function.
1524
8d50bd19
RS
1525 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
1526 * config/mips/elf64.h: Likewise.
1527
c1115ccd
RS
1528 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
1529 mips_declare_object_name.
1530 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
1531 * config/mips/elf64.h: As for elf.h.
1532 * config/mips/iris6.h: Likewise.
1533 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
1534 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
1535 do...while (0) block.
1536 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
1537 (mips_finish_declare_object): Declare.
1538 * config/mips/mips.c (mips_declare_object_name): New function.
1539 (mips_finish_declare_object): New function.
1540
060ff934
RS
1541 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
1542 * config/mips/linux.h: Likewise.
1543
d82783b6
RS
1544 * config/mips/mips.c (inside_function): Delete.
1545 (file_in_function_warning, ignore_line_number): Delete.
1546 (mips_output_filename): Don't warn about changing filenames within
1547 a function.
1548 (mips_output_lineno): Update accordingly.
1549 (mips_output_function_prologue): Don't reset the deleted variables.
1550 * config/mips/mips.h (inside_function): Delete.
1551 (file_in_function_warning, ignore_line_number): Delete.
1552
373f8df7
RS
1553 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
1554 * config/mips/elf64.h: Likewise.
1555 * config/mips/openbsd.h: Likewise.
1556 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
1557 * config/mips/linux.h: Likewise.
1558 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
1559 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
1560
6627b7f9
RS
1561 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
1562 to the list of include files when using gas.
1563 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
1564 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
1565 * config/mips/elf64.h: Likewise.
1566 * config/mips/iris5.h: Likewise.
1567 * config/mips/linux.h: Likewise.
1568 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
1569 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
1570 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
1571 * config/mips/sdb.h: ...this new file.
1572
c18b00c0
NN
15732003-07-14 Douglas Rupp <rupp@gnat.com>
1574
1575 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
1576 argument to getcwd; use fixed buffer instead.
1577
15782003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
1579
1580 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
1581 * fixinc/fixinc.wrap: Delete.
1582
adc4adcd
GP
15832003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
1584
1585 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
1586 don't have 2.
1587
15882003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
1589
1590 * ggc-page.c (struct globals): Add new fields to keep track of the
1591 total allocated memory and overhead.
1592 (ggc_print_statistics): Print them.
1593 (ggc_alloc): Keep track of the total allocated memory and the
1594 overhead.
1595
1596 * tree.c (dump_tree_statistics): Increase spacing.
1597 (enum tree_node_kind): Move to ...
1598 * tree.h (enum tree_node_kind): ... here.
1599 (tree_node_counts, tree_node_sizes): Declare.
1600
16012003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
1602
1603 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
1604
bbd288a4
FS
16052003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1606
1607 PR optimization/11440
1608 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
1609 SIGN_EXTRACT SETs.
1610
6e985040
AM
16112003-07-14 Alan Modra <amodra@bigpond.net.au>
1612
1613 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
1614 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
1615 (emit_group_load, emit_group_store): Adjust declarations.
1616 Remove most occurrences of #ifdef TREE_CODE.
1617 * expr.c (emit_group_load): Add "type" param, and use
1618 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
1619 aligned accesses if !SLOW_UNALIGNED_ACCESS.
1620 (emit_group_store): Likewise.
1621 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
1622 emit_group_load and emit_group_store calls.
1623 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
1624 BLOCK_REG_PADDING to determine whether we need endian_correction.
1625 (load_register_parameters): Localize vars. Handle shifting of
1626 small values to the correct end of regs. Adjust emit_group_load
1627 call.
1628 (expand_call, emit_library_call_value_1): Adjust emit_group_load
1629 and emit_group_store calls.
1630 * function.c (assign_parms): Set mem alignment for stack slots.
1631 Adjust emit_group_store call. Store values at the "wrong" end
1632 of regs to the stack. Use BLOCK_REG_PADDING.
1633 (locate_and_pad_parm): Save where_pad.
1634 (expand_function_end): Adjust emit_group_load call.
1635 * stmt.c (expand_value_return): Adjust emit_group_load call.
1636 * Makefile.in (calls.o): Depend on $(OPTABS_H).
1637 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
1638 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
1639 (MUST_PASS_IN_STACK): Define.
1640 (BLOCK_REG_PADDING): Define.
1641 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
1642 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
1643 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
1644 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
1645 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
1646
4fab535e
AL
16472003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
1648
1649 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
1650
8d2e5f72
RK
16512003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1652
1653 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
1654 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
1655
7eaab492
NN
16562003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
1657
1658 PR other/11123
1659 * toplev.c: Don't cut off option names.
1660
9d4a30f2
AJ
16612003-07-13 Andreas Jaeger <aj@suse.de>
1662
1663 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
1664 to integer of different size.
1665
34ed3bb0
KH
16662003-07-13 Kazu Hirata <kazu@cs.umass.edu>
1667
1668 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
1669 to (eq (and X 1) 0).
1670
1a7d0840
AJ
16712003-07-13 Andreas Jaeger <aj@suse.de>
1672
1673 * config.gcc: Add pmmintrin.h for x86_64-*-*.
1674
43839642
ZW
16752003-07-13 Zack Weinberg <zack@codesourcery.com>
1676
1677 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
1678 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
1679 list. Move these all together down by cpplib.
1680
1681 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
1682 definition of CPPCHAR_SIGNED_T.
1683
1684 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
1685 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
1686 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
1687
1688 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
1689 * cppinit.c (cpp_create_reader): Likewise.
1690
1691 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
1692 * cpptrad.c: Likewise. All callers changed.
1693 * cpplib.c: All callers changed.
1694 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
1695 * hashtable.h: Define GTY(x) to nothing here too.
1696
0acf4f88
RK
16972003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1698
1699 * stor-layout.c (compute_record_mode): Remove very obsolete test
1700 that forces BLKmode for records with fields crossing word boundary.
1701
46db61e7
ZW
17022003-07-13 Zack Weinberg <zack@codesourcery.com>
1703
1704 * Makefile.in: Remove orphan reference to acconfig.h.
1705
db0e878d
AJ
17062003-07-13 Andreas Jaeger <aj@suse.de>
1707
1708 * cgraphunit.c: Convert prototypes to ISO C90.
1709
4146d8d0
NN
17102003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
1711
1712 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
1713 (for OpenBSD).
1714 * fixinc/fixincl.x: Rebuild.
1715
6f3ca281
ZW
17162003-07-12 Zack Weinberg <zack@codesourcery.com>
1717
1718 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
1719 i?86-*-*. Use correct name of cache variable.
1720 * configure: Regenerate.
1721
9a9f7594
KH
17222003-07-12 Kazu Hirata <kazu@cs.umass.edu>
1723
1724 * config/alpha/alpha.c: Fix comment typos.
1725 * config/alpha/alpha.md: Likewise.
1726 * config/arm/arm.c: Likewise.
1727 * config/arm/arm.md: Likewise.
1728 * config/arm/lib1funcs.asm: Likewise.
1729 * config/avr/avr.md: Likewise.
1730 * config/arm/README-interworking: Fix typos.
1731
4ed43216
KH
17322003-07-12 Kazu Hirata <kazu@cs.umass.edu>
1733
1734 * c-format.c: Fix comment formatting.
1735 * c-typeck.c: Likewise.
1736 * coverage.c: Likewise.
1737 * cppcharset.c: Likewise.
1738 * cpplib.c: Likewise.
1739 * dbxout.c: Likewise.
1740 * gcov-io.h: Likewise.
1741 * toplev.c: Likewise.
1742
c3a5b1e9
NN
17432003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
1744
6f3ca281 1745 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
c3a5b1e9
NN
1746 fix.
1747
8ada417f
ZW
17482003-07-12 Zack Weinberg <zack@codesourcery.com>
1749
1750 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
1751 uses three-argument AC_DEFINE so no acconfig.h entries are
1752 needed.
1753 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
1754 which contains the GAS version number as a scaled integer.
1755 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
1756 ability to check for ELF assembler.
1757 (gcc_GAS_CHECK_FEATURE): New macro.
1758 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
1759 assembler feature checks using gcc_GAS_CHECK_FEATURE.
1760 Use three-argument AC_DEFINE everywhere.
1761 * acconfig.h: Deleted.
1762 * config.in, configure: Regenerate.
1763
d5d16b5f
NN
17642003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
1765
3b57c563
NN
1766 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
1767 (on OpenBSD).
d33fb69b 1768 * fixinc/fixincl.x: Regenerate.
3b57c563 1769
d5d16b5f
NN
1770 * fixinc/inclhack.def (gnu_types): Improve comment.
1771
439f7bc3
AJ
17722003-07-12 Andreas Jaeger <aj@suse.de>
1773
1774 * fp-test.c (main): Use ISO C90 prototype.
1775
1776 * version.c: Remove unneded include of ansidecl.h.
1777
1778 * cgraph.h: Convert prototypes to ISO C90.
1779 * cgraph.c: Likewise.
1780 * fix-header.c: Likewise.
1781 * ra.h: Likewise.
1782 * protoize.c: Likewise.
1783
1a5c5701
JH
1784Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
1785
1786 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
1787 warning.
1788
b58b1157
JH
1789Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
1790 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1791
1792 * cgraph.c (cgraph_max_uid): New global variable.
1793 (cgraph_node): Set uid field.
1794 (create_edge): Keep inline flags consistent.
1795 (dump_cgraph): Dump more info.
1796 * cgraph.h (struct cgraph_local_info): Remove inline_many and
1797 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
1798 (struct cgraph_global_info): Add insns, calls, cloned_times,
1799 will_be_output.
1800 (struct cgraph_node): Add uid.
1801 (struct cgraph_edge): Add inline_call.
1802 (cgraph_max_uid, cgraph_inline_p): Declare.
1803 * cgraph.c: Include params.h and fibheap.h
1804 (cgraph_mark_functions_to_inline_once): Kill.
1805 (INSNS_PER_CALL): New constant.
1806 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
1807 static variables.
1808 (cgraph_finalize_function): Do not analyze inlining.
1809 (cgraph_finalize_compilation_unit): Set inlining attributes.
1810 (cgraph_mark_functions_to_output): More consistency checks.
1811 (cgraph_optimize_function): Set current_function_decl to NULL.
1812 (cgraph_expand_function): Use new inline flags.
1813 (cgraph_postorder): Expand from cgraph_expand_functions.
1814 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
1815 (cgraph_inlined_into, cgraph_inlined_callees,
1816 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
1817 cgraph_mark_inline, cgraph_check_inline_limits,
439f7bc3 1818 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
b58b1157
JH
1819 cgraph_decide_inlining, cgraph_inline_p): New functions.
1820 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
1821 PARAM_INLINE_UNIT_GROWTH): New parameters.
1822 * tree-inline.c (struct inline_data): New field current_decl.
1823 (expand_call_inline): Avoid forward declarations; use
1824 inlinable_function_p.
1825 (optimize_inline_calls): Set id.current_decl.
1826
27b8e366
AP
18272003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
1828
1829 * configure.in: Remove wrongly added definition of
1830 local_prefix.
1831 * configure: Regenerate.
1832
80fa0b4c
DN
18332003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
1834
1835 * rtl.def (NOTE): Do not use padding.
1836
1ea6f4c8
DH
18372003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
1838
1839 * doc/install.tex: Update required binutils for i?86-*-linux*
1840
ed2d8944
RH
18412003-07-11 Richard Henderson <rth@redhat.com>
1842
1843 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
1844
a44cea75
MM
18452003-07-11 Mark Mitchell <mark@codesourcery.com>
1846
1847 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
1848 TRANSLATION_UNIT_DECL as top_level.
1849
358b8f01
JJ
18502003-07-11 Jakub Jelinek <jakub@redhat.com>
1851
1852 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
1853 then fall back to cmpstrM.
1854 * builtins.c (expand_builtin_memcmp): Likewise.
1855 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
1856 (s390_expand_cmpmem): ... this.
1857 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
1858 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
1859 from cmpstr* patterns. Rename call to s390_expand_cmpstr
1860 to s390_expand_cmpmem.
1861 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
1862 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
1863 to cmpmem*.
1864 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
1865 cmpstr* patterns.
1866 * doc/md.texi (cmpstrM): Describe as String compare insn, not
1867 Block compare insn.
1868 (cmpmemM): Add.
1869
8634e925
LR
18702003-07-11 Loren James Rittle <ljrittle@acm.org>
1871
1872 * config/i386/freebsd.h (SET_ASM_OP): Remove.
1873 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
1874 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
1875 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
1876
48144cd4
RH
18772003-07-11 Richard Henderson <rth@redhat.com>
1878
1879 * function.c (assign_parms): Don't recombine complex args if
1880 fnargs is unchanged from orig_fnargs.
1881 (split_complex_args): Return args without complex before copying.
1882 Re-layout the modified parameters.
1883
fee226d2
R
18842003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
1885
1886 * regclass.c (choose_hard_reg_mode): Add third argument.
1887 Changed all callers.
1888 * rtl.h (choose_hard_reg_mode): Update declaration.
1889 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
1890 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
1891
d1bd0ded
GK
18922003-07-11 Geoffrey Keating <geoffk@apple.com>
1893
1894 * c-decl.c (finish_decl): Handle 'used' here...
1895 * cgraphunit.c (cgraph_finalize_function): ... and here ...
1896 * c-common.c: (handle_used_attribute): ... not here.
439f7bc3 1897
d1bd0ded
GK
1898 * configure.in (onstep): Support --enable-intermodule.
1899 * Makefile.in (OBJS-common): New.
1900 (OBJS-md): New.
1901 (OBJS-archive): New.
1902 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
1903 (OBJS-onestep): New.
1904 (libbackend.a): Support @onestep@.
1905 (libbackend.o): New.
1906 * configure: Regenerate.
439f7bc3 1907
d1bd0ded
GK
1908 * c-common.h (c_reset_state): New prototype.
1909 (c_parse_file): New prototype.
1910 (finish_file): Move prototype from c-tree.h.
1911 * c-decl.c: Include <hashtab.h>.
1912 (builtin_decls): New.
1913 (current_file_decl): New.
1914 (duplicate_decls): Add extra parameter. Change all callers. Don't
1915 output duplicate common symbols.
1916 (link_hash_hash): New.
1917 (link_hash_eq): New.
1918 (poplevel): Handle popping of the top level.
1919 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
1920 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
1921 (pushdecl_top_level): Likewise.
1922 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
1923 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
1924 (finish_decl): Handle TRANSLATION_UNIT_DECL.
1925 (merge_translation_unit_decls): New.
1926 (c_write_global_declarations): New.
1927 (c_reset_state): New.
1928 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
1929 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
1930 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
1931 TRANSLATION_UNIT_DECL.
1932 (c_objc_common_finish_file): Call merge_translation_unit_decls.
1933 * c-opts.c (in_fnames): Rename from in_fname.
1934 (c_common_decode_option): Handle multiple input filenames.
1935 (c_common_post_options): Likewise.
1936 (c_common_parse_file): Likewise; also, call c_parse_file rather than
1937 yyparse.
1938 * c-parse.in: Move cleanup code to c_parse_file.
1939 (free_parser_stacks): Move contents to c_parse_file.
1940 (c_parse_file): New.
1941 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
1942 for integer types.
1943 (C_DECL_FILE_SCOPE): New.
1944 (finish_file): Move prototype to c-common.h.
1945 (merge_translation_unit_decls): New prototype.
1946 (comptypes): Add extra parameter to prototype.
1947 (c_write_global_declarations): New prototype.
1948 * c-typeck.c (tagged_types_tu_compatible_p): New.
1949 (function_types_compatible_p): Add extra parameter, change all callers.
1950 (type_lists_compatible_p): Likewise.
1951 (comptypes): Likewise.
1952 (struct tagged_tu_seen): New.
1953 (tagged_tu_seen_base): New.
1954 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
1955 (c_mark_addressable): Remove #if 0 code.
1956 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
1957 comment explaining why it shouldn't have to.
1958 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
1959 options.
1960 * cppinit.c (cpp_read_next_file): New.
1961 (cpp_read_main_file): Use it.
1962 * cpplib.c (undefine_macros): New.
1963 (cpp_undef_all): New.
1964 * cpplib.h (cpp_read_next_file): Prototype.
1965 (cpp_undef_all): Prototype.
1966 * langhooks-def.h (write_global_declarations): Remove prototype.
1967 * toplev.h (write_global_declarations): Add prototype.
1968 * tree.c (decl_type_context): Use switch statement, handle
1969 TRANSLATION_UNIT_DECL.
1970 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
1971 (TRANSLATION_UNIT_DECL): New kind of tree.
1972 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
1973 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
1974 * doc/invoke.texi: Make attempt to document new functionality.
1975
1976 2003-05-19 Per Bothner <bothner@apple.com>
1977
1978 * gcc.c (combine_inputs): New.
1979 (process_command): Set combine_inputs.
1980 (do_spec_1): Handle combine_inputs.
1981 (main): Likewise.
1982
ac8354b1
JW
19832003-07-10 James E Wilson <wilson@tuliptree.org>
1984
1985 PR optimization/9745
1986 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
1987 loop_insn_emit_before.
1988 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
439f7bc3 1989
dea55da5
ZW
19902003-07-10 Zack Weinberg <zack@codesourcery.com>
1991
1992 * cppcharset.c: Fix comment.
1993 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
1994 (EILSEQ): #define to EINVAL if not already defined.
1995 (convert_using_iconv): #if out when !HAVE_ICONV.
1996 (init_iconv_desc): Handle !HAVE_ICONV here...
1997 (cpp_init_iconv): ...not here.
1998
f3fdaec4
NB
19992003-07-11 Neil Booth <neil@daikokuya.co.uk>
2000
2001 * common.opt: More --help messages.
2002 * opts.c (print_help): Use puts().
2003 * toplev.c (f_options): Remove help text.
2004 (display_help): Don't dump f_options.
2005
7ebbf1ea
NN
20062003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
2007
2008 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
2009 Move i?86-*-interix* to the don't-fix list.
2010 * fixinc/fixinc.interix: Delete with extreme prejudice.
2011
959a73a4
DH
20122003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
2013
2014 PR bootstrap/10758
2015 * doc/install.texi: Document requirements for ia64-*-hpux* target.
2016
9959901c
RS
20172003-07-10 Roger Sayle <roger@eyesopen.com>
2018
2019 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
2020
6b88314c
ZW
20212003-07-10 Zack Weinberg <zack@codesourcery.com>
2022
2023 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
2024 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
2025 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
2026 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
2027 convert_no_conversion, convert_using_iconv): New functions.
2028 (APPLY_CONVERSION): New macro.
2029 (struct conversion, conversion_tab): New data structure.
2030 (init_iconv_desc): Check conversion_tab for a custom conversion
2031 primitive before trying to use iconv.
2032 (convert_cset): Deleted.
2033 (cpp_init_iconv): Use UTF- terminology, not UCS-.
2034 (_cpp_destroy_iconv): Update to match.
2035 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
2036 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
2037 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
2038 (_cpp_interpret_string_notranslate): New function, moved here
2039 from cpplib.c.
2040
2041 * cpphash.h (convert_f, struct cset_converter): New types.
2042 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
2043 are now struct cset_converter, not bare iconv_t.
2044 Update prototypes.
2045 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
2046 all callers changed.
2047
38f4680f 20482003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
6b88314c 2049
38f4680f
KC
2050 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
2051 to opts.sh command line.
2052 * opts.sh: Write to temporary files with a move-if-change at the end.
2053
2a868fac 20542003-07-10 Denis Chertykov <denisc@overta.ru>
6b88314c 2055 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9db367b4
DC
2056
2057 * combine.c (gen_binary): Handle the CLOBBER rtx and
2058 don't build a binary operation with it.
2059
3b14e3af
ZD
20602003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2061
2062 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
2063 store_killed_after, store_killed_before): Keep track of the correct
2064 dependency function to use.
2065
a9189cc0
SB
20662003-07-10 Steven Bosscher <steven@gcc.gnu.org>
2067 * toplev.c (do_compile): Don't try to open dump files before
2068 lang_dependent_init initializes dump_base_name.
2069
e97a46ce
KG
20702003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2071
2072 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
2073 Use ARRAY_SIZE.
2074 * config/frv/frv.c (frv_expand_builtin): Likewise.
2075 * config/sh/sh.c (sh_media_init_builtins): Likewise.
2076
4a386498
MM
20772003-07-09 Mark Mitchell <mark@codesourcery.com>
2078
2079 PR c++/10032
2080 * doc/invoke.texi (C++ Dialect Options): Change documentation of
2081 -fpermissive.
2082
1e60c057
R
20832003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2084
2085 * tm.texi (RETURN_ADDR_OFFSET): Document.
2086
330d2e2a
NS
20872003-07-10 Nathan Sidwell <nathan@codesourcery.com>
2088
2089 * gcov-io.h: Update documentation.
2090 (GCOV_UNSIGNED2STRING): New.
2091 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
2092 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
2093 GCOV_TAG_SUMMARY_LENGTH): Adjust.
2094 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
2095 GCOV_TAG_COUNTER_NUM): New.
2096 (GCOV_BLOCK_SIZE): Number of words.
2097 (gcov_var): Adjust buffer type.
2098 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
2099 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
2100 count, not byte count.
2101 (gcov_open): Adjust overread init.
2102 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
2103 gcov_write_string, gcov_write_tag, gcov_write_length,
2104 gcov_write_tag_length): Adjust.
2105 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
2106 (gcov_sync, gcov_seek): Adjust.
2107 * gcov-dump.c (print_usage): Show gcc version only.
2108 (dump_file): Use GCOV_UNSIGNED2STRING.
2109 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
2110 * gcov.c (print_version): Show gcc version only.
2111 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
2112 GCOV_TAG_*_NUM macros.
2113 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
2114 GCOV_TAG_COUNTER_LENGTH.
2115 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
2116 Use GCOV_TAG_COUNTER_NUM.
2117 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
2118 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
2119
3dbb446e
AS
21202003-07-10 Andreas Schwab <schwab@suse.de>
2121
2122 * gcov-dump.c (dump_file): Fix missing address operator.
2123
11791dbc
KH
21242003-07-10 Kazu Hirata <kazu@cs.umass.edu>
2125
2126 PR c/11449
2127 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
2128 of HOST_WIDE_INT.
2129 (fold_single_bit_test): If sign_bit_p() fails, assume that the
2130 bit being tested is not a sign bit.
2131
ae12c666
KH
21322003-07-10 Kazu Hirata <kazu@cs.umass.edu>
2133
2134 * config/h8300/h8300.md (a peephole2): New.
2135
2beef00e
AO
21362003-07-10 Alexandre Oliva <aoliva@redhat.com>
2137
2138 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
2139 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
2140 from ld-linux.so.2 to ld.so.1.
2141 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
2142 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
2143 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
2144 nor -Wl,-rpath-link.
2145 (LIB_SPEC): Add -rpath-link if !static.
2146 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
2147 * config/mn10300/mn10300.c (mn10300_protect_label): New
2148 variable.
2149 * config/mn10300/linux.h (PRINT_OPERAND,
2150 PRINT_OPERAND_ADDRESS): Set it during their execution.
2151 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
2152 mn10300_protect_label is set.
2153 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
2154 -Wl,-rpath-link.
2155 (LIB_SPEC, STARTFILE_SPEC): Define.
2156 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
2157 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
2158 FLOAT_BIT_ORDER_MISMATCH.
2159 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
2160 * config.gcc (am33_2.0-*-linux*): Added.
2161 * config/mn10300/linux.h: New.
2162 * config/mn10300/t-linux: New.
2163
75040a04
AJ
21642003-07-10 Andreas Jaeger <aj@suse.de>
2165
2166 * fold-const.c: Properly wrap prototypes.
2167
d1776069
AO
21682003-07-09 Alexandre Oliva <aoliva@redhat.com>
2169
2170 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
2171 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
2172 Moved from...
2173 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
2174 * config/mn10300/mn10300.h: GTY-declare it.
2175 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
2176 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
2177 prototype. Use incoming RTL argument.
2178 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
2179 * config/mn10300/mn10300.md (int_label): Move C statements...
2180 (GOTaddr2picreg): ... here.
2181 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
2182 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
2183 * config/mn10300/mn10300.c (mn10300_encode_section_info):
2184 ... here. New function.
2185 (TARGET_ENCODE_SECTION_INFO): Define to it.
2186 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
2187 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
2188 pattern name.
2189 (mn10300_loadPC): Define as insn splittable after reload.
2190 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2191 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
2192 be defined in .rodata even in PIC, now that the assembler
2193 supports that.
2194 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
2195 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
2196 symbol take an underscore prefix.
2197 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2198 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
2199 legitimize_pic_address): Declare.
2200 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
2201 the PIC register as fixed.
2202 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
2203 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
2204 PIC.
2205 (LEGITIMATE_PIC_OPERAND_P): Define.
2206 (PIC_OFFSET_TABLE_REGNUM): Define.
2207 (GOT_SYMBOL_NAME): Define.
2208 (SYMBOLIC_CONST_P): Define.
2209 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
2210 symbols.
2211 (MN10300_GLOBAL_P): Test it.
2212 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
2213 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
2214 * config/mn10300/mn10300.c (print_operand): Handle unspec.
2215 (expand_prologue): Set PIC register.
2216 (call_address_operand): Don't match SYMBOL_REFs in PIC.
2217 (legitimize_address): Call legitimize_pic_address.
2218 (legitimize_pic_address): New fn.
2219 (legitimate_pic_operand_p): New fn.
2220 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
2221 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
2222 UNSPEC_PLT): New constants.
2223 (pop_pic_reg): New insn.
2224 (movsi): Adjust non-PIC addresses.
2225 (builtin_setjmp_receiver): Restore the PIC register.
2226 (casesi): New insn.
2227 (call): Adjust non-PIC addresses.
2228 (int_label, GOTaddr2picreg): New expands.
2229 (am33_loadPC): New insn.
2230 (mn10300_loadPC): New expand.
2231 (call_next_insn): New insn.
2232 (add_GOT_to_pic_reg): New expand.
2233 (symGOT2reg, symGOT2reg_i): New expands.
2234 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
2235 (sym2PIC, sym2PLT): New expands.
2236
18e9d2f9
AO
22372003-07-09 Alexandre Oliva <aoliva@redhat.com>
2238
2239 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
2240 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
2241 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
2242 to flag_unsafe_math_optimizations.
2243 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2244 * config/mn10300/mn10300.c (expand_prologue): Mark
2245 FP-register-saving insns as frame-related.
2246 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
2247 * config/mn10300/mn10300.c
2248 (mn10300_get_live_callee_saved_regs): Don't search past
2249 LAST_EXTENDED_REGNUM.
2250 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
2251 * config/mn10300/mn10300.md: Remove excessive line breaks from
2252 `@' output patterns that were accounted as additional
2253 alternatives.
2254 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
2255 Re-introduce changes accidentally removed in Richard Sandiford's
2256 2000-12-05's patch.
2257 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2258 Re-instate am33-2 lost in merge from net GCC.
2259 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
2260 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
2261 floating-point registers.
2262 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
2263 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
2264 pessimizations that had gone in on 2000-05-08.
2265 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
2266 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
2267 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
2268 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
2269 operand 0.
2270 * (movhi): Likewise.
2271 * (movsi): Likewise.
2272 * (movsf): Likewise.
2273 * (movdi): Likewise.
2274 * (movdf): Likewise.
2275 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
2276 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
2277 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
2278 (expand_prologue, expand_epilogue): Save and restore FP regs.
2279 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
2280 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
2281 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
2282 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
2283 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
2284 Do not clobber cc0.
2285 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
2286 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
2287 Discourage the two-argument, longer opcodes.
2288 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
2289 ones.
2290 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
2291 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
2292 * config/mn10300/mn10300.md (cmpsf): New pattern.
2293 (branch): Test mdep.fpCC and output fbCC.
2294 * config/mn10300/mn10300.c (print_operand): Output conditions.
2295 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
2296 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
2297 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
2298 mulsf3, divsf3): Use the `F' constraint for FP values.
2299 * config/mn10300/mn10300.c (const_1f_operand): New function.
2300 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
2301 * config/mn10300/mn10300.md (sqrtsf2): New expand.
2302 (rsqrtsf2): New insn.
2303 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
2304 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
2305 previous check-in.
2306 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
2307 * config/mn10300/mn10300.md (abssf2, negdf2): On
2308 TARGET_AM33_2, expand to...
2309 (abssf2_am33_2, negdf2_am33_2): New insns.
2310 (addsf3, subsf3, mulsf3, divsf3): Likewise.
2311 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
2312 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
2313 movdi, movdf): Added FP regs.
2314 * invoke.texi (-mam33-2, -mno-am33-2): Document.
2315 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
2316 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
2317 New macros.
2318 (REGNO_AM33_2_FP_P): Renamed to...
2319 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
2320 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2321 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2322 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
2323 regs from GENERAL_REGS.
2324 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2325 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
2326 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
2327 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
2328 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
2329 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
2330 as FP_REGS.
2331 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
2332 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
2333 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
2334 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
2335 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
2336 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
2337 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
2338 AM33/2.0 floating-point registers.
2339 (CONDITIONAL_REGISTER_USAGE): Adjust.
2340 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
2341 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
2342 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
2343 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
2344 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
2345 (MULTILIB_DIRNAMES): Likewise.
2346 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
2347 `__AM33_2__' when `-mam33-2' is given.
2348 (TARGET_AM33_2): Define.
2349 (TARGET_SWITCHES): Adjust.
2350 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
2351 when appropriate.
2352
2ff16718
MK
23532003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
2354
2355 * doc/install.texi: Add missing @.
2356
a7bda3d5
BW
23572003-07-09 Bob Wilson <bob.wilson@acm.org>
2358
2359 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
2360
bb498ea3
AH
23612003-07-09 Aldy Hernandez <aldyh@redhat.com>
2362
2363 PR/11144
2364 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
2365
a401fd60
NN
23662003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
2367
21f3dbfc 2368 PR bootstrap/11043
6b88314c 2369 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
21f3dbfc
NN
2370 "x-crtfini.o" with "crtinit.o", "crtfini.o".
2371
15e4ea18
NN
2372 * fixinc/inclhack.def (limits_ifndefs): Add select test.
2373 * fixinc/fixincl.x: Rebuild.
2374
a401fd60
NN
2375 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
2376 * fixinc/fixincl.x: Rebuild.
2377
c2f82a84
HPN
23782003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
2379
2380 * doc/install.texi (Configuration): Document the valgrind option
2381 to --enable-checking.
2382
1f66e2a0
JH
2383Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
2384
2385 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
2386
d0974745
RO
23872003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2388
2389 * c-lex.c (cb_ident): Cast cstr.text to const char *.
2390
160e2e4f
NS
23912003-07-09 Nathan Sidwell <nathan@codesourcery.com>
2392
2393 * gcov-io.h: Update documentation.
2394 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
2395 GCOV_NOTE_MAGIC.
2396 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
2397 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
2398 (struct gcov_var): Change buffer's type. Add endian flag.
2399 (gcov_open): Remove mode in libgcov.
2400 (gcov_magic): Prototype.
2401 * gcov-io.c (from_file): New.
2402 (gcov_open): Clear endian flag.
2403 (gcov_magic): New.
2404 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
2405 pointers.
2406 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
2407 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
2408 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
2409 * gcov-iov.c (main): Correct cast.
2410 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
2411 conversion.
2412 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
2413 (coverage_init): Use GCOV_NOTE_SUFFIX.
2414 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
2415 Rename to gcov_version, and return flag.
2416 (gcov_exit): Use gcov_version.
2417 (__gcov_init): Use gcov_version.
2418 * Makefile.in (coverageexts): Update.
2419 * gcov.c (print_version): Remove endianness conversion.
2420 (create_file_names): Use GCOV_NOTE_SUFFIX.
2421 (read_graph_file): Use gcov_magic.
2422 (read_count_file): Likewise.
2423 * gcov-dump.c (dump_file): Remove endianness conversion, use
2424 gcov_magic.
2425
83599948
NS
24262003-07-09 Nathan Sidwell <nathan@codesourcery.com>
2427
2428 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
2429 coverage is on.
2430 * configure: Regenerated.
2431 * Makefile.in (ALL_CFLAGS): Correct its comment.
2432
d17811fd
MM
24332003-07-08 Mark Mitchell <mark@codesourcery.com>
2434
2435 * fold-const.c (make_range): Do not access operand 1 for a
2436 zero-operand operator.
2437
28786366
NB
24382003-07-09 Neil Booth <neil@daikokuya.co.uk>
2439
2440 * toplev.c (warn_dummy, W_options): Die.
2441 (display_help): Don't print W_options.
2442 * common.opt: Add W_options help from toplev.c.
2443
fbdb0453
AJ
24442003-07-09 Andreas Jaeger <aj@suse.de>
2445
2446 * opts.c (wrap_help): Only pass int arguments as arguments to
2447 printf's '*' modifier. Change argument of function.
2448
c80e4c17
MK
24492003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
2450
2451 * doc/invoke.texi: Fix misspelling of "@item".
2452
2c5a64c6
KH
24532003-07-08 Kazu Hirata <kazu@cs.umass.edu>
2454
2455 * config/i386/i386.md: Remove an old comment about
2456 NOTICE_UPDATE_CC.
2457
a194aa56
JH
2458Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
2459
2460 * cgraph.c (cgraph_node_name): New function.
2461 (dump_cgraph): Use it.
2462 * cgraph.h (cgraph_dump_file): Declare.
2463 (cgraph_node_name): Declare.
2464 * cgraphunit.c: Include timevar.h
2465 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
2466 (cgraph_optimize_function): Use TV_INTEGRATION.
2467 (cgraph_mark_local_functions): reorganize dumps.
2468 (cgraph_mark_functions_to_inline_once): Likewise.
2469 (cgraph_optimize): Likewise; use timevar.
2470 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
2471 * toplev.c (dump_file_index): Add DFI_cgraph.
2472 (dump_file_info): Likewise.
2473 (cgraph_dump_file): New global variable.
2474 (do_compile): Open and close cgraph dump.
2475 * invoke.texi (-d): Document new flag; renumber.
2476
8af61113
RS
24772003-07-08 Roger Sayle <roger@eyesopen.com>
2478
2479 PR c/11370
2480 * calls.c (emit_call_1): Don't bother popping the arguments off of
2481 the stack after a noreturn function call; The adjustment is dead.
2482 (expand_call): Likewise.
2483
436bcda1
GK
24842003-07-08 Geoffrey Keating <geoffk@apple.com>
2485
2486 * expr.c (MOVE_MAX_PIECES): Move from here...
2487 * defaults.h (MOVE_MAX_PIECES): ... to here.
2488
6f3fcc0b
MK
24892003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
2490
2491 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
2492
ec049fdb
KG
24932003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2494
2495 * genattr.c (internal_dfa_insn_code): Don't prototype.
2496 * genattrtab.c (attr_desc): Add `static_p' field.
2497 (expand_units): Make blockage range and ready cost functions
2498 static.
2499 (write_attr_get): Don't add extern prototypes in C file. Mark
2500 static functions as appropriate.
2501 (find_attr, make_internal_attr): Initialize static_p.
2502 * genattrtab.h (ATTR_STATIC): New macro.
2503 * genautomata.c (output_internal_reset_func): Mark output function
2504 as inline.
2505 (make_internal_dfa_insn_code_attr): Mark output function as static.
2506
11597bc9
KG
25072003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2508
2509 * genattrtab.h: Add new macros for attr `special' flags.
2510 * genattrtab.c (attr_desc): Reorder/resize fields better.
2511 Use attr `special' macros in all calls to make_internal_attr.
2512 * genautomata.c: Likewise.
2513
084c1779
JH
2514Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
2515
2516 * c-common.c (c_estimate_num_insns_1): New static function.
2517 (c_estimate_num_insns): New global function.
2518 * c-common.h (DECL_NUM_STMTS): Rename to...
2519 (DECL_ESTIMATED_INSNS): ... this.
2520 (c_estimate_num_insns): Declare.
2521 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
2522 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
2523 * c-semantics.c (add_stmt): Do not account statements.
2524 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
2525 New.
2526 * langhooks.h (lang_hooks_for_tree_inlining): Add
2527 estimate_num_insns
2528 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
2529 to 100.
2530 (max-inline-insns): set to 300.
2531 (min-inline-insns): set to 10.
2532 * tree-inline.c (struct inline_data): Rename inlined_stmts to
2533 inlined-insns.
2534 (INSNS_PER_STMT): Kill.
2535 (inlinable_function_p): Compute and store body size.
2536 (expand_call_inline): Likewise.
2537 (optimize_inline_calls): Likewise.
2538
1b1838b6
JW
25392003-07-08 James E Wilson <wilson@tuliptree.org>
2540
2541 PR target/10021
2542 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
2543 loop over new variable t2 instead of t.
2544
81a6341d
DS
25452003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
2546
2547 PR bootstrap/11455
2548 * config/i386/winnt.c: Replace use of error(), warning() with
2549 error_with_decl(), warning_with_decl(), throughout.
2550
21789816
NB
25512003-07-08 Neil Booth <neil@daikokuya.co.uk>
2552
2553 * opts.c (wrap_help): Use unsigned int, not size_t.
2554
f6423302
SC
25552003-07-08 Stephane Carrez <stcarrez@nerim.fr>
2556
2557 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
2558 as .file/.loc directives are incompatible with linker relaxation.
2559
ab747408
ZW
25602003-07-08 Zack Weinberg <zack@codesourcery.com>
2561
2562 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
2563 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
2564 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
2565 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
2566 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
2567 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
2568 Escape { and } characters which are not part of range expressions.
2569 * fixinc/fixincl.x: Regenerate.
a27531fb 2570 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
ab747408 2571
51657442
SB
25722003-07-08 Steven Bosscher <steven@gcc.gnu.org>
2573
2574 PR c/1687
2575 * tree-inline.c (find_alloca_call): Use
2576 walk_tree_without_duplicates, instead of walk_tree.
2577 (find_builtin_longjmp_call): Likewise.
2578 * c-objc-common.c (c_cannot_inline_fn): Likewise.
2579 * c-semantics.c (find_reachable_label): Likewise.
2580
7e6dc358
JJ
25812003-07-08 Jakub Jelinek <jakub@redhat.com>
2582
2583 PR c/11420
2584 * config/i386/i386.c (ix86_check_movabs): New function.
2585 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
2586 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
2587 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
2588
318b7749
CD
25892003-07-08 Chris Demetriou <cgd@broadcom.com>
2590
2591 * Makefile.in (install-po): Cope with empty CATALOGS.
2592
b8898790
RS
25932003-07-08 Richard Sandiford <rsandifo@redhat.com>
2594
2595 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
2596 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
2597 (SECTION_FUNCTION_TEMPLATE): Delete.
2598 * config/mips/elf.h: As for elf64.h.
2599 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
2600 * config/mips/linux.h: As for elf.h
2601 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
2602 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
2603 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
2604 of in_sdata from current_section_name and current_section_flags.
2605 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
2606 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
2607 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
2608 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
2609 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
2610 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
2611 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
2612 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
2613 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
2614 (override_options): Remove setting of MASK_GPOPT.
2615 (mips_output_external): Use mips_in_small_data_p to check whether a
2616 symbol needs an .extern directive. Don't emit such directives for
2617 TARGET_EXPLICIT_RELOCS.
2618 (mips_declare_object): Update accordingly.
2619 (mips_select_rtx_section): Call named_section rather than
2620 SMALL_DATA_SECTION.
2621 (mips_select_section): Use default_elf_section_section for everything
2622 except .text string constants.
2623 (mips_in_small_data_p): New function.
2624 (mips_encode_section_info): Remove small data handling.
2625 (mips_unique_section): Delete.
2626 (iris6_section_type_flags): New function.
2627 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
2628
f5d1c3de
JDA
26292003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2630
2631 PR Target/11453
2632 * pa.md: Disparage all mtsar constraints.
2633 (extzv, extv, insv): Don't fail on length of {32|64}.
2634
ce1bb65b
ZW
26352003-07-08 Zack Weinberg <zack@codesourcery.com>
2636
2637 * system.h: Poison MAP_CHARACTER.
2638 * config/i370/i370-protos.h (mvs_map_char): Delete.
2639 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
2640 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
2641 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
2642
c163ddca
DS
26432003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
2644
2645 * toplev.c (randomize): Correct call to time().
2646
8df63efa
JJ
26472003-07-08 Jakub Jelinek <jakub@redhat.com>
2648
2649 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
2650 REG_EQUIV notes as well.
2651
4b5cc2b3
KH
26522003-07-08 Kazu Hirata <kazu@cs.umass.edu>
2653
2654 * doc/md.texi: Fix the description of addmodecc.
2655
56694dd9
ZW
26562003-07-07 Zack Weinberg <zack@codesourcery.com>
2657
2658 * Makefile.in (top_builddir): Set to "..", not ".".
2659 (INTLLIBS, INTLDEPS): Delete.
2660 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
2661 (LIBDEPS): Add $(LIBICONV_DEP).
2662 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
2663 (INCLUDES): Replace -I../intl with @INCINTL@.
2664 ($(top_builddir)/intl/libintl.a): Delete rule.
2665 (stage2-start, stage3-start, stage4-start, stageprofile-start,
2666 stagefeedback-start): Use $$ for variable to be evaluated by
2667 shell, not make.
2668 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
2669 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
2670 * aclocal.m4: sinclude ../config/progtest.m4. Add
2671 contents of lcmessage.m4 from gettext distro.
2672 * configure.in: Check for wchar.h and setlocale. Set
2673 LIBICONV_DEP to the empty string and substitute it.
2674 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
2675 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
2676 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
2677 in $LIBINTL, to avoid linking it twice.
2678 * configure, config.in: Regenerate.
2679
a294c4cf
NN
26802003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
2681
2682 * fixinc/mkfixinc.sh: Remove winnt support.
2683 * fixinc/fixinc.winnt: Delete with extreme prejudice.
2684
979312a4
NB
26852003-07-08 Neil Booth <neil@daikokuya.co.uk>
2686
2687 * Makefile.in: Update.
2688 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
2689 * c.opt: Update documentation.
2690 * common.opt: Add some help text.
2691 * opts.c: Include intl.h.
2692 (wrap_help, print_help): New.
2693 (find_opt, handle_option, common_handle_option): opt_text now
2694 contains the '-'. Use print_help to output help.
2695 * opts.h (struct cl_option): New member "help".
2696 * opts.sh: Update to handle help text output and to prepend
2697 options with '-'.
2698 * toplev.c (display_help): Remove some help text.
2699
2c4a9cff
DE
27002003-07-07 David Edelsohn <edelsohn@gnu.org>
2701 Fariborz Jahanian <fjahanian@apple.com>
2702
2703 * configure.in: Test for PowerPC mfcr field support in assembler.
2704 * config.in, configure: Regenderated.
2705
2706 * config/rs6000/power4.md: Add mfcrf reservation.
2707 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
2708 * config/rs6000/rs6000.c (mfcr_operation): Define.
2709 (print_operand): Add 'Q' case for mfcrf.
2710 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
2711 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
2712 (movcc_internal1): Emit optional field operand for mfcr and set
2713 "type" attribute appropriately.
2714 (mfcr SCC): Likewise.
2715 (movesi_from_cr_one): New.
2716
923c4cf2
RS
27172003-07-07 Roger Sayle <roger@eyesopen.com>
2718
2719 * config/i386/i386.md: Correct check-in of incorrect version.
2720
75b6f3fd
KG
27212003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2722
2723 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
2724 adjacent stdio calls.
2725 * c-decl.c (c_print_identifier): Likewise.
2726 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
2727 * print-rtl.c (print_rtx): Likewise.
2728 * print-tree.c (print_node_brief, print_node): Likewise.
2729 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
56694dd9 2730
75b6f3fd
KG
2731 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
2732 * config.in, configure: Regenerated.
2733
afeeac3f
RS
27342003-07-07 Roger Sayle <roger@eyesopen.com>
2735
2736 PR target/10979
2737 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
2738 Changed to define_expand patterns that copy operand[1] to prevent
2739 it from being clobbered before emitting an atan2?f3_1 insn.
2740 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
2741 patterns that actually specify the behaviour of x87's FPATAN.
2742
eeff9307
JJ
27432003-07-07 Jakub Jelinek <jakub@redhat.com>
2744
2745 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
2746 clearing of SYMBOL_FLAG_LOCAL bit.
2747 If vcall_offset fits into signed 16-bit immediate, use
2748 one instruction for both addition and load.
2749
0fcd5dda
NB
27502003-07-07 Neil Booth <neil@daikokuya.co.uk>
2751
2752 * opts.c (common_handle_option): Correct handling of the
2753 -falign- switches that do and don't take an argument.
2754
b275810a
KH
27552003-07-07 Kazu Hirata <kazu@cs.umass.edu>
2756
2757 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
2758 today.
2759 (pushhi1_h8300hs): Likewise.
2760
5671bf27
AJ
27612003-07-07 Andreas Jaeger <aj@suse.de>
2762
2763 * genextract.c: Convert remaining prototypes to ISO C90.
2764
2765 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
2766 * fold-const.c (fold_single_bit_test): Likewise.
2767 * diagnostic.c (default_diagnostic_finalizer): Likewise.
2768 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
2769
2770 * gengtype.c (write_array): Generate ISO C90 prototypes.
2771
2772 * genflags.c (gen_proto): Generate ISO C90 prototypes.
2773
2c430630
RS
27742003-07-07 Roger Sayle <roger@eyesopen.com>
2775
2776 PR optimization/11059
2777 * expr.c (can_store_by_pieces): Return true if length is zero.
2778 (store_by_pieces): If length is zero and endp is two, abort,
2779 othwerise, if length is zero and endp is not two, return "to".
2780 (clear_by_pieces): Do nothing if length is zero.
2781 (clear_storage): Do nothing if length is zero.
2782 (store_constructor): Simplify code when size is zero, or the
2783 target has already been cleared. This avoids emitting a
2784 blockage instruction when initializing empty structures.
2785
cf633f5b
AJ
27862003-07-07 Andreas Jaeger <aj@suse.de>
2787
2788 * mips-tfile.c: Convert prototypes to ISO C90.
2789 * mips-tdump.c: Convert prototypes to ISO C90.
2790
0cea056b
NS
27912003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2792
2793 * rtl.h (emit_line_note): Take a location_t.
2794 (emit_line_note_force): Remove.
2795 (set_file_and_line_for_statement): Take a location_t.
2796 * tree.g (emit_line_note): Take a location_t.
2797 * emit-rtl.c (emit_line_note): Take a location_t.
2798 (emit_line_note_force): Remove.
2799 * function.c (init_function_start): Adjust emit_line_note call.
2800 (expand_function_end): Use force_next_line_note, not
2801 emit_line_note_force.
2802 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
2803 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
2804 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
2805 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
2806 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
2807 genrtl_continue_stmt, genrtl_switch_stmt,
2808 genrtl_asm_stmt): Likewise.
2809 * expr.c (expand_expr): Likewise.
2810 * integrate.c (expand_inline_function): Likewise.
2811 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
2812 (expand_decl_init): Adjust emit_line_note call.
2813
8eb910fc
DJ
28142003-07-07 Dale Johannesen <dalej@apple.com>
2815
56694dd9 2816 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
8eb910fc 2817
b96a374d
AJ
28182003-07-07 Andreas Jaeger <aj@suse.de>
2819
2820 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
2821 * config/i386/i386.c: Likewise.
2822
273fc01e
KH
28232003-07-07 Kazu Hirata <kazu@cs.umass.edu>
2824
2825 * config/h8300/h8300.md: Use gen_int_mode instead of
2826 GEN_INT (trunc_int_for_mode (...)).
2827
fb7d7712
KH
28282003-07-07 Kazu Hirata <kazu@cs.umass.edu>
2829
2830 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
2831 2 bytes and then subtract 2 from the stack pointer.
2832 (pushhi1_h8300hs): Likewise.
2833
e61a2eb7
NS
28342003-07-07 Nathan Sidwell <nathan@codesourcery.com>
2835
2836 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
2837 -frandom-seed.
2838 * configure: Regenerated.
2839 * Makefile.in: Remove extraneous comment.
2840 * toplev.c (randomize): Protect against potential multiple calls.
2841 * doc/invoke.texi (-frandom-seed): Document use for in coverage
2842 files.
2843
82d610ec 28442003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
56694dd9 2845 Eric Botcazou <ebotcazou@libertysurf.fr>
82d610ec
RK
2846
2847 PR optimization/11198
2848 * alias.c (objects_must_conflict_p): Return 1 if the types have
2849 the same alias set, not if the alias sets only conflict.
2850
5beadb33
AP
28512003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
2852
2853 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
2854 (convert_cset): Change inbuf to type ICONV_CONST char.
2855 * Makefile.in (LIBS): Add LIBICONV.
2856
9bb34f3c
AJ
2857 * doc/invoke.texi (-falign-functions): Document that
2858 when n is zero then a machine-dependent default is used.
2859 (-falign-labels): Document that when n is zero then a
2860 machine-dependent default is used and that -falign-labels =1
2861 is equivalent to -fno-align-labels.
2862 (-falign-loops): Likewise.
2863 (-falign-jumps): Likewise.
2864
1dbb6ce8
AH
28652003-07-06 Art Haas <ahaas@airmail.net>
2866
2867 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
2868 initializer syntax.
2869
8338d44d
JW
28702003-07-06 James E Wilson <wilson@tuliptree.org>
2871
2872 PR optimization/9812
2873 * rtl.h (mem_for_const_double): Delete prototype.
2874 * varasm.c (mem_for_const_double): Delete function.
2875 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
2876 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
2877 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
2878 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
2879 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
2880 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
2881 comment about confused support for XFmode constants.
2882
9efd34a5
JH
2883Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
2884
2885 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
2886
2a43945f
KH
28872003-07-06 Kazu Hirata <kazu@cs.umass.edu>
2888
2889 * config/h8300/h8300.c: Fix comment typos.
2890 * config/h8300/h8300.md: Likewise.
2891 * config/i386/athlon.md: Likewise.
2892 * config/i386/i386.c: Likewise.
2893 * config/i386/pentium.md: Likewise.
2894 * config/ia64/ia64.c: Likewise.
2895 * config/ia64/itanium1.md: Likewise.
2896 * config/ia64/itanium2.md: Likewise.
2897 * config/m32r/m32r.md: Likewise.
2898 * config/m68hc11/m68hc11.c: Likewise.
2899 * config/mcore/mcore.c: Likewise.
2900 * config/mips/sr71k.md: Likewise.
2901 * config/mips/t-iris5-as: Likewise.
2902 * config/mmix/mmix.h: Likewise.
2903 * config/ns32k/ns32k.h: Likewise.
2904 * config/ns32k/NOTES: Fix a typo.
2905
ceee09f7
AJ
29062003-07-06 Andreas Jaeger <aj@suse.de>
2907
7e51717c
AJ
2908 * stmt.c: Convert remaining prototypes to ISO C90.
2909 * cfglayout.c: Likewise.
2910 * dbxout.c: Likewise.
2911 * gcc.c: Likewise.
2912 * genemit.c: Likewise.
2913
ceee09f7
AJ
2914 * basic-block.h: Convert prototypes to ISO C90.
2915 * c-parse.in: Likewise.
2916 * c-pragma.h: Likewise.
2917 * c-typeck.c: Likewise.
2918 * cfghooks.h: Likewise.
2919 * cfgloopanal.c: Likewise.
2920 * dbxout.h: Likewise.
2921 * debug.h: Likewise.
2922 * dwarf2asm.h: Likewise.
2923 * gcov.c: Likewise.
2924 * gengtype-lex.l: Likewise.
2925 * sched-int.h: Likewise.
2926 * timevar.c: Likewise.
2927
cb66e385
NB
29282003-07-06 Neil Booth <neil@daikokuya.co.uk>
2929
2930 * c-common.h (c_comon_handle_filename,
2931 c_common_missing_arguement): New.
2932 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
2933 LANG_HOOKS_MISSING_ARGUMENT): New.
2934 * c-opts.c (missing_arg): Rename c_common_missing_argument,
2935 update to be an appropriate langhook.
2936 (c_common_handle_option): Don't handle filenames.
2937 (c_common_handle_filename): New.
2938 * hooks.c (hook_void_constcharptr,
2939 hook_bool_constcharptr_size_t_false): New.
2940 * hooks.h (hook_void_constcharptr,
2941 hook_bool_constcharptr_size_t_false): New.
2942 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
2943 LANG_HOOKS_MISSING_ARGUMENT): New.
2944 (LANG_HOOKS_INITIALIZER): Update.
2945 * langhooks.h (struct lang_hooks): Add handle_filename and
2946 missing_argument.
2947 * opts.c (handle_option): Don't handle filenames here, but ...
2948 (handle_options): ... here.
2949 (common_handle_option): Don't handle missing arguments here.
2950 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
2951 LANG_HOOKS_MISSING_ARGUMENT): New.
2952
ade4289c
NB
29532003-07-06 Neil Booth <neil@daikokuya.co.uk>
2954
2955 * Makfile.in: Remove traces of mbchar.
2956 * c-parse.in (MULTIBYTE_CHARS): Remove.
2957 * config.in (MULTIBYTE_CHARS): Remove.
2958 * configure: Remove --enable-mbchar.
2959 * configure.in: Remove --enable-mbchar.
2960 * mbchar.c, mbchar.h: Remove.
2961 * system.h: Poison MULTIBYTE_CHARS.
2962 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
2963 * config/linux.h (MULTIBYTE_CHARS): Remove.
2964 * config/svr4.h (MULTIBYTE_CHARS): Remove.
2965 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
2966
2e1eedd6
AJ
29672003-07-06 Andreas Jaeger <aj@suse.de>
2968
11dc5cc6
AJ
2969 * varray.c (varray_check_failed): Fix typo.
2970
2971 * unroll.c: Convert prototypes to ISO C90.
2e1eedd6
AJ
2972 * varasm.c: Likewise.
2973 * varray.c: Likewise.
2974 * varray.h: Likewise.
2975 * vmsdbgout.c: Likewise.
2976 * xcoffout.c: Likewise.
2977 * xcoffout.h: Likewise.
2978
dd486eb2
NS
29792003-07-06 Nathan Sidwell <nathan@codesourcery.com>
2980
2981 * gcov-io.h: Add a local time stamp.
2982 (struct gcov_info): Add stamp field.
2983 (gcov_truncate): New.
2984 * coverage.c (read_counts_file): Skip the stamp.
2985 (coverage_begin_output): Write the stamp.
2986 (build_gcov_info): Declare and init the stamp.
2987 (coverage_finish): Only unlink data file, if stamp is zero.
2988 * gcov-dump.c (dump_file): Dump the stamp.
2989 * gcov.c (bbg_stamp): New.
2990 (release_structures): Clear bbg_stamp.
2991 (read_graph_file): Read stamp.
2992 (read_count_file): Check stamp.
2993 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
2994
c07e5477
NS
29952003-07-06 Nathan Sidwell <nathan@codesourcery.com>
2996
2997 * tree.h (default_flag_random_seed): Remove.
2998 * toplev.h (local_tick): Declare.
2999 * tree.c (flag_random_seed, default_flag_random_seed): Move to
3000 toplev.c.
3001 (append_random_chars): Don't call default_flag_random_seed.
3002 * toplev.c (flag_random_seed): Define here. Set local_tick.
3003 (local_tick): Define.
3004 (randomize): New, moved from tree.c.
3005 (print_switch_values): Adjust.
3006 (toplev_main): Call randomize.
3007
2aab7ceb
NS
30082003-07-06 Nathan Sidwell <nathan@codesourcery.com>
3009
3010 * tree.h (crc32_string): Declare.
3011 * tree.c (append_random_chars): Remove.
3012 (crc32_string): New.
3013 (get_file_function_name_long): Use crc32_string here.
3014
1d088dee
AJ
30152003-07-06 Andreas Jaeger <aj@suse.de>
3016
3017 * gcc.c: Convert prototypes to ISO C90.
3018 * gcc.h: Likewise.
3019 * gcov-dump.c: Likewise.
3020 * gcov-iov.c: Likewise.
3021 * gcse.c: Likewise.
3022 * genattrtab.h: Likewise.
3023 * ggc.h: Likewise.
3024 * global.c: Likewise.
3025 * graph.c: Likewise.
3026 * graph.h: Likewise.
3027 * hosthooks.h: Likewise.
3028 * hooks.h: Likewise.
3029 * hooks.c: Likewise.
3030 * hashtable.h: Likewise.
3031 * hashtable.c: Likewise.
3032 * haifa-sched.c: Likewise.
3033 * integrate.h: Likewise.
3034 * integrate.c: Likewise.
3035 * input.h: Likewise.
3036 * ifcvt.c: Likewise.
f8ec47c7 3037 * jump.c: Likewise.
0c20a65f
AJ
3038 * langhooks-def.h: Likewise. Add extern to prototypes.
3039 * langhooks.c: Likewise.
3040 * langhooks.h: Likewise.
3041 * lcm.c: Likewise.
3042 * local-alloc.c: Likewise.
3043 * loop-init.c: Likewise.
3044 * loop-unroll.c: Likewise.
3045 * loop-unswitch.c: Likewise.
3046 * loop.c: Likewise.
3047 * loop.h: Likewise. Add extern to prototypes.
3048 * machmode.h: Likewise.
3049 * main.c: Likewise.
3050 * mbchar.c: Likewise.
3051 * mbchar.h: Likewise.
3052 * mkdeps.c: Likewise.
3053 * mkdeps.h: Likewise.
3054 * optabs.c: Likewise.
3055 * optabs.h: Likewise.
3056 * output.h: Likewise.
3057 * gccspec.c: Likwise.
3058 * postreload.c: Likewise.
3059 * prefix.c: Likewise.
3060 * prefix.h: Likewise.
3061 * print-rtl.c: Likewise.
3062 * print-tree.c: Likewise.
3063 * profile.c: Likewise.
3064 * read-rtl.c: Likewise.
3065 * real.c: Likewise.
3066 * real.h: Likewise.
3067 * recog.c: Likewise.
3068 * recog.h: Likewise.
3069 * reg-stack.c: Likewise.
3070 * regclass.c: Likewise.
3071 * regmove.c: Likewise.
3072 * regrename.c: Likewise.
3073 * regs.h: Likewise.
3074 * reload.c: Likewise.
3075 * reload.h: Likewise.
3076 * reload1.c: Likewise.
3077 * reorg.c: Likewise.
3078 * resource.c: Likewise.
3079 * resource.h: Likewise.
3080 * rtl-error.c: Likewise.
3081 * rtl.c: Likewise.
3082 * rtl.h: Likewise.
3083 * rtlanal.c: Likewise.
46c5ad27
AJ
3084 * sbitmap.c: Likewise.
3085 * sbitmap.h: Likewise.
3086 * scan-decls.c: Likewise.
3087 * scan.c: Likewise.
3088 * sched-deps.c: Likewise.
3089 * sched-ebb.c: Likewise.
3090 * sched-int.h: Likewise.
3091 * sched-rgn.c: Likewise.
3092 * sched-vis.c: Likewise.
3093 * sibcall.c: Likewise.
3094 * simplify-rtx.c: Likewise.
3095 * sreal.c: Likewise.
3096 * sreal.h: Likewise.
3097 * ssa-ccp.c: Likewise.
3098 * ssa-dce.c: Likewise.
3099 * ssa.c: Likewise.
3100 * ssa.h: Likewise.
3101 * stack.h: Likewise.
3102 * stmt.c: Likewise.
3103 * stor-layout.c: Likewise.
3104 * stringpool.c: Likewise.
3105 * target.h: Likewise.
3106 * timevar.c: Likewise.
3107 * timevar.h: Likewise.
3108 * tlink.c: Likewise.
3109 * tracer.c: Likewise.
3110 * tree-inline.c: Likewise.
3111 * tree-inline.h: Likewise.
3112 * tree.c: Likewise.
3113 * tree.h: Likewise.
1d088dee 3114
4f649bc1
KH
31152003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3116
3117 * combine.c (nonzero_bits1): Fix a warning.
3118
31192003-07-05 Kazu Hirata <kazu@cs.umass.edu>
2c4a71b3
KH
3120
3121 * config/h8300/h8300.c (compute_mov_length): Correct the
3122 length of loading CONST0_RTX (SFmode).
3123
f5924ac1
NS
31242003-07-05 Nathan Sidwell <nathan@codesourcery.com>
3125
3126 * toplev.c (output_clean_symbol_name): Remove.
3127 * toplev.h (output_clean_symbol_name): Remove.
3128 * config/alpha/alpha.c (unicosmk_output_module_name): Use
3129 lbasename & clean_symbol_name.
3130
39e3f58c
KH
31312003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3132
3133 * ggc.h: Follow spelling conventions.
3134 * config/i386/i386.c: Likewise.
3135 * config/i386/winnt.c: Likewise.
3136 * config/rs6000/rs6000.c: Likewise.
3137
4d6922ee
KH
31382003-07-05 Kazu Hirata <kazu@cs.umass.edu>
3139
3140 * bt-load.c: Fix comment typos.
3141 * c-incpath.c: Likewise.
3142 * cfg.c: Likewise.
3143 * cfgcleanup.c: Likewise.
3144 * cfgloop.h: Likewise.
3145 * cfgloopmanip.c: Likewise.
3146 * cfgrtl.c: Likewise.
3147 * diagnostic.h: Likewise.
3148 * dwarfout.c: Likewise.
3149 * emit-rtl.c: Likewise.
3150 * et-forest.c: Likewise.
3151 * et-forest.h: Likewise.
3152 * expr.c: Likewise.
3153 * gcse.c: Likewise.
3154 * genattr.c: Likewise.
3155 * jump.c: Likewise.
3156 * langhooks.h: Likewise.
3157 * local-alloc.c: Likewise.
3158 * loop-unroll.c: Likewise.
3159 * loop-unswitch.c: Likewise.
3160 * ra-build.c: Likewise.
3161 * regclass.c: Likewise.
3162 * regmove.c: Likewise.
3163 * rtl.def: Likewise.
3164 * rtlanal.c: Likewise.
3165 * sched-ebb.c: Likewise.
3166 * sched-rgn.c: Likewise.
3167 * simplify-rtx.c: Likewise.
3168 * ssa.c: Likewise.
3169 * tracer.c: Likewise.
3170 * tree.c: Likewise.
3171
f1c4bc4f
ZW
31722003-07-05 Zack Weinberg <zack@codesourcery.com>
3173
3174 * cppcharset.c: Use the correct return type for the fallback iconv
3175 macro.
3176
65c6f1b4
ZD
3177Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3178
3179 Blame to Jan Hubicka <jh@suse.cz>
3180 * cfglayout.c (record_effective_endpoints): Split insns before
3181 first basic block correctly.
3182
a8f3bf52
RK
31832003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3184
f1c4bc4f 3185 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
a8f3bf52
RK
3186 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
3187 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
3188
0641776c
AJ
31892003-07-05 Andreas Jaeger <aj@suse.de>
3190
3191 * genattrtab.c (write_attr_get): Revert part of last patch to
3192 always write out a prototype.
3193
3194 * genemit.c (gen_split): Readd lost unused attributes in last
3195 patch.
3196
977129f6
ZD
31972003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3198
3199 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
3200 different from header.
3201
5ee084df
AS
32022003-07-05 Andreas Schwab <schwab@suse.de>
3203
3204 * config/m68k/m68k.c: Remove code protected by CRDS.
3205 * config/m68k/m68k.md: Likewise.
3206
33de9573
NB
32072003-07-05 Neil Booth <neil@daikokuya.co.uk>
3208
3209 PR driver/11417
3210 * c-opts.c (permit_fortran_options): New.
3211 (c_common_init_options): Accept fortran front end options if
3212 it looks like we might be preprocessing Fortran.
3213 (c_common_handle_option): Don't reject switch if permit_fotran_options.
3214
6906ba40
KG
32152003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3216
3217 * genattr.c (internal_dfa_insn_code): Output prototype.
3218 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
3219 * genautomata.c: Likewise.
3220 * genconditions.c: Likewise.
3221 * genemit.c: Likewise.
3222 * genextract.c: Likewise.
3223 * gengenrtl.c: Likewise.
3224 * gengtype.c: Likewise.
3225 * genopinit.c: Likewise.
3226 * genoutput.c: Likewise.
3227 * genpeep.c: Likewise.
3228 * genrecog.c: Likewise.
3229
e6cc3a24
ZW
32302003-07-04 Zack Weinberg <zack@codesourcery.com>
3231
3232 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
3233 (struct cpp_options): Add narrow_charset, wide_charset,
3234 bytes_big_endian fields. Remove EBCDIC field.
3235 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
3236
3237 * cpphash.h: Include <iconv.h> if we have it, otherwise
3238 provide a dummy definition of iconv_t.
3239 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
3240 (_cpp_valid_ucn): Update prototype.
3241 (_cpp_destroy_iconv): New prototype.
3242
3243 * doc/cpp.texi: Document character set handling.
3244 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
3245 * doc/extend.texi: Delete entire section on multiline strings.
3246 Rewrite section on __FUNCTION__ etc now that these are
3247 variables in C.
3248
3249 * cppucnid.tab, cppucnid.pl: New files.
3250 * cppucnid.h: New generated file.
3251 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
3252 (iconv_open, iconv, iconv_close): Provide dummy definitions
3253 if !HAVE_ICONV.
3254 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
3255 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
3256 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
3257 cpp_interpret_string, narrow_str_to_charconst,
3258 wide_str_to_charconst): New.
3259 (ucn_valid_in_identifier): Use a binary search through the
3260 ucnranges table defined in cppucnid.h, not a long chain of if
3261 statements.
3262 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
3263 character names are only valid in C++ and C99" to a warning.
3264 Issue the "meaning of \[uU] is different in traditional C"
3265 warning here. Take care not to let iconv see an invalid UCS
3266 value if we get a malformed UCN. Issue an error if we don't
3267 have iconv.
3268 (cpp_interpret_charconst): Moved here from cpplex.c. Use
3269 cpp_interpret_string to do the heavy lifting.
3270
3271 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
3272 narrow_charset, wide_charset fields of options structure.
3273 (cpp_destroy): Call _cpp_destroy_iconv.
3274 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
3275 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
3276 (cpp_interpret_charconst): Moved to cppcharset.c.
3277 * cpplib.c (dequote_string): Delete.
3278 (interpret_string_notranslate): New.
3279 (do_line, do_linemarker): Use interpret_string_notranslate.
3280
3281 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
3282
3283 * c-common.c (fname_string, combine_strings): Delete.
3284 * c-common.h (fname_string, combine_strings): Delete prototypes.
3285 * c-lex.c (ignore_escape_flag): Delete.
3286 (cb_ident): Use cpp_interpret_string, not lex_string.
3287 (get_nonpadding_token): New function.
3288 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
3289 Adjust calls to lex_string. Don't write *value twice.
3290 (lex_string): Now handles string constant concatenation.
3291 Most of the work handed off to cpp_interpret_string.
3292 Call fix_string_type here.
3293 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
3294 FUNC_NAME, throughout.
3295 (OBJC_STRING): New token type.
3296 (primary:STRING): No need to call fix_string_type here.
3297 (primary:objc_string): Make that OBJC_STRING.
3298 (objc_string nonterminal): Delete.
3299 (yylexname): Delete code to handle fake string constants.
3300 (yylexstring): Delete entirely.
3301 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
3302 to handle CPP_ATSIGN.
3303
3304 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
3305 * c-opts.c (missing_arg, c_common_handle_option): Handle
3306 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
3307 (c_common_init): Set cpp_opts->bytes_big_endian, not
3308 cpp_opts->EBCDIC. Call cpp_init_iconv.
3309 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
3310 (TARGET_EBCDIC): Delete default definition.
3311
3312 * objc/objc-act.c (build_objc_string_object): No need to
3313 handle string constant concatenation.
3314
61aeb06f
KH
33152003-07-04 Kazu Hirata <kazu@cs.umass.edu>
3316
3317 * doc/install.texi: Fix typos.
3318 * doc/invoke.texi: Likewise.
3319 * doc/tm.texi: Likewise.
3320
c1207243
KH
33212003-07-04 Kazu Hirata <kazu@cs.umass.edu>
3322
3323 * config/pa/fptr.c: Fix comment typos.
3324 * config/pa/pa-64.h: Likewise.
3325 * config/pa/pa.c: Likewise.
3326 * config/pa/pa.h: Likewise.
3327 * config/rs6000/603.md: Likewise.
3328 * config/rs6000/7xx.md: Likewise.
3329 * config/rs6000/darwin.h: Likewise.
3330 * config/rs6000/freebsd.h: Likewise.
3331 * config/rs6000/rs6000.c: Likewise.
3332 * config/rs6000/rs6000.md: Likewise.
3333 * config/rs6000/spe.h: Likewise.
3334
58add37a
UW
33352003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
3336
3337 * config/s390/2064.md: Change GNU CC to GCC.
3338 * config/s390/2084.md: Likewise.
3339 * config/s390/fixdfdi.h: Likewise.
3340 * config/s390/linux.h: Likewise.
3341 * config/s390/s390-modes.def: Likewise.
3342 * config/s390/s390-protos.h: Likewise.
3343 * config/s390/s390.c: Likewise.
3344 * config/s390/s390.h: Likewise.
3345 * config/s390/s390.md: Likewise.
3346 * config/s390/s390x.h: Likewise.
3347
60cd4dae
JL
33482003-07-04 Jeff Law <law@redhat.com>
3349
a38825d2 3350 PR c/11428
60cd4dae
JL
3351 * expr.c (do_store_flag): Pass in the correct result type
3352 when calling fold_single_bit_test.
3353 * fold-const.c (fold_single_bit_test): Use result_type for the
3354 result when folding a sign bit test.
3355
5e14ae7e
NB
33562003-07-04 Neil Booth <neil@daikokuya.co.uk>
3357
3358 * opts.c (common_handle_options): Negate sense of -falign- switches.
3359
8c90b13a
L
33602003-07-04 H.J. Lu <hongjiu.lu@intel.com>
3361
c3b3975a 3362 * Makefile.in: Replace PWD with PWD_COMMAND.
8c90b13a 3363
72d4a2ad
ZD
33642003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3365
3366 * cfgloopanal.c (count_strange_loop_iterations): New static function.
3367 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
3368 Handle strange loops.
3369
8e9a4a45
TM
33702003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
3371
3372 * install.texi: Even the g77 manpage is derived from
3373 the full g77 manual.
3374
6eb95e99
ZW
33752003-07-04 Zack Weinberg <zack@codesourcery.com>
3376
3377 * ABOUT-NLS: Delete.
3378 * intl: Delete entire directory.
3379 * aclocal.m4: Include ../config/gettext.m4. Delete
3380 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
3381 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
3382 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
3383 Remove intl/Makefile from all_outputs.
3384 * configure, config.in: Regenerate.
3385 * Makefile.in: Expunge all references to intl subdirectory.
3386 Add -I../intl to INCLUDES.
3387 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
3388
bcd5d841
RS
33892003-07-04 Roger Sayle <roger@eyesopen.com>
3390
3391 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
3392 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
3393
6b6cb52e
DS
33942003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
3395
3396 PR c++/5287, PR c++/7910, PR c++/11021
3397 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
3398 dllimport attribute if function is defined at declaration, but
3399 report error instead. Likewise for dllimport'd variable
3400 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
3401 declared within functions, Report error if dllimport or dllexport
3402 symbol is not global.
3403 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
3404 if defined after declaration or if inlined. Don't allow definition
3405 of static data members of C++ classes. Don't dllimport virtual
3406 methods.
3407 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
3408 (i386_pe_mark_dllimport): Remove unnecessary checks.
3409 (i386_pe_encode_section_info): Warn if the dllimport attribute
3410 and symbol prefix have been instantiated and then overridden.
3411
3412 * doc/extend.texi: Document dllimport and dllexport attributes.
3413
3414 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
3415
cc2f5d34
US
34162003-07-03 Uwe Stieber <uwe@kaos-group.de>
3417
3418 * config/kaos.h (CPP_PREDEFINES): Delete.
3419 (TARGET_OS_CPP_BUILTINS): New.
3420
5f1989e6
KG
34212003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3422
3423 * c-aux-info.c: Include toplev.h after c-tree.h.
3424 * c-common.c: Likewise.
3425 (GCC_DIAG_STYLE): Undef.
3426 * c-semantics.c (GCC_DIAG_STYLE): Define.
3427 * c-tree.h (GCC_DIAG_STYLE): Likewise.
3428 * diagnostic.h (inform): Move prototype to toplev.h.
3429 * jump.c: Include diagnostic.h before toplev.h.
3430 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
3431 (warning, error, fatal_error, pedwarn, sorry, inform,
3432 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
3433
8d28e87d
ZD
34342003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3435
3436 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
3437 at all if edge is not specified.
3438 (can_copy_bbs_p, copy_bbs): New.
3439 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
3440 * cfgloop.c (get_loop_body): Comment more precisely.
3441 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
3442 (scale_bbs_frequencies): Fix comment typo.
3443 (can_duplicate_loop_p): Use can_copy_bbs_p.
3444 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
3445
694abeb6
DP
34462003-07-03 Devang Patel <dpatel@apple.com>
3447
3448 * c-opts.c (c_common_parse_file): Remove extra
3449 debug_hooks->start_source_file call.
6eb95e99 3450
0a9530a9
RS
34512003-07-03 Roger Sayle <roger@eyesopen.com>
3452
3453 * real.c (real_trunc, real_floor, real_ceil): New functions
3454 to implement trunc, floor and ceil respectively.
3455 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
3456 * builtins.c (integer_valued_real_p): New function to test if
3457 a floating point expression has an integer valued result.
3458 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
3459 foo(x) where foo is an integer rounding function. Similarly,
3460 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
3461 (double)(int)x when both foo and bar are integer rounding
3462 functions and we don't need to honor errno.
3463 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
3464 New functions to fold trunc, floor and ceil.
3465 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
3466 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
3467 to fold BUILT_IN_CEIL*.
3468 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
3469 the remaining integer rounding functions.
3470
c3427c7d
EB
34712003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
3472
3473 * config/sparc/sparc.c (function_arg_partial_nregs): Use
3474 SPARC_INT_ARG_MAX to determine where to split unnamed
3475 complex FP arguments.
3476
bc35512f
JH
3477Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
3478
3479 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
3480 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
3481 (merge_blocks_move_predecessor_nojumps,
3482 merge_blocks_move_successor_nojumps): Use merge_blocks.
3483 (try_optimize_cfg): Use merge_blocks_move.
3484 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
3485 (merge_blocks_nomove): Rename to rtl_merge_blocks.
3486 (cfg_layout_create_basic_block): New.
3487 (rtl_can_merge_blocks): New.
3488 (cfg_layout_split_block): Do not alloc aux by hand.
3489 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
3490 merge_blocks.
3491 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
3492 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
3493 * cfgloopmanip.c (loop_split_edge_with): Likewise.
3494 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
3495
3496 * basic-block.h (basic_block_def): Add field 'rbi'.
3497 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
3498 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
3499 * cfg.c (entry_exit_blocks): Add new field.
3500 * cfglayout.c: Include alloc-pool.h;
3501 (cfg_layout_pool): New.
3502 (record_effective_endpoints, fixup_reorder_chain,
3503 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
3504 of rbi.
3505 (cfg_layout_initialize_rbi): New function.
3506 (cfg_layout_initialize): Use it.
3507 (cfg_layout_finalize): Clear rbi fields.
3508 * cfglayout.h (RBI): Kill.
3509 (cfg_layout_initialize_rbi): Declare.
3510 * cfgloopmanip.c (copy_bbs): Use rbi.
3511 (record_exit_edges): Likewise.
3512 (duplicate_loop_to_header_edge): Likewise.
3513 * cfgrtl.c (cfg_layout_create_basic_block): Use
3514 cfg_layout_initialize_rbi.
3515 (cfg_layout_split_block): Use rbi.
3516 (cfg_layout_delete_block): Likewise.
3517 * loop-init.c (loop_optimizer_finalize): Likewise.
3518 * loop-unswitch.c (unswitch_loop): Likewise.
3519 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
3520
3521 * cfgrtl.c: Update comments.
3522 (try_redirect_by_replacing_jump): New argument.
3523 (redirect_branch_edge): Break out from ...
3524 (rtl_redirect_edge_and_branch): ... this one.
3525 (update_cfg_after_block_merging): Break out from ...
3526 (rtl_merge_blocks): ... this one.
3527 (cfg_layout_split_edge): New.
3528 (cfg_layout_merge_blocks): New.
3529 (cfg_layout_can_merge_blocks_p): New.
3530 (cfg_layout_redirect_edge_and_branch): Reorganize.
3531 (cfg_layout_rtl_cfg_hooks): Fill in.
3532 (cfg_layout_delete_block): Kill barriers.
3533 * cfganal.c (can_fallthru): Deal with exit blocks
3534 * cfglayout.c (cfg_layout_function_header): New function
3535 (record_effective_endpoints): Record function header.
3536 (fixup_reorder_chain): Fixup dead jumptables; place header
3537
3538 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
3539 * bb-reorder.c (cfg_layout_initialize): Update call.
3540 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
3541 edges in cfglayout mode.
3542 * cfglayout.c (cleanup_unconditional_jumps): Kill.
3543 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
3544 * cfglayout.h (cfg_layout_initialize): Update prototype.
3545 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
3546 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
3547 * flow.c (propagate_block): Do not crash when basic block ends
3548 by first insn in the chain.
3549 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
3550 do loop discovery.
3551 * tracer.c (tracer): Update call of cfg_layout_initialize.
3552
dd220c49
KG
35532003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3554
3555 * Makefile.in: Use dependency variables in lieu of explicit
3556 files throughout.
3557
fa5b060f
SB
35582003-07-03 Steven Bosscher <steven@gcc.gnu.org>
3559
3560 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
3561 * tree.h: ...to here.
3562
fae778eb
KH
35632003-07-03 Kazu Hirata <kazu@cs.umass.edu>
3564
3565 * config/s390/2064.md: Fix comment typos.
3566 * config/s390/2084.md: Likewise.
3567 * config/s390/s390.c: Likewise.
3568 * config/s390/s390.md: Likewise.
3569 * config/sh/sh.c: Likewise.
3570 * config/sh/sh.h: Likewise.
3571 * config/sh/sh.md: Likewise.
3572 * config/sparc/sparc.c: Likewise.
3573 * config/sparc/sparc.h: Likewise.
3574 * config/sparc/sparc.md: Likewise.
3575 * config/stormy16/stormy16.c: Likewise.
3576 * config/stormy16/stormy16.h: Likewise.
3577 * config/stormy16/stormy-abi: Fix a typo.
3578
58eabcb1
KC
35792003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
3580
3581 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
3582
af261903
KG
35832003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3584
3585 * config/mips/mips.h (save_argv): Delete.
3586
a11c61d2
RS
35872003-07-03 Roger Sayle <roger@eyesopen.com>
3588
3589 PR target/10700
3590 * fold-const.c (extract_muldiv_1): There's nothing that can be done
3591 if the expression is a SAVE_EXPR.
3592
dab66575
KH
35932003-07-03 Kazu Hirata <kazu@cs.umass.edu>
3594
3595 * config/m32r/m32r.c: Fix comment typos.
3596 * config/m68hc11/m68hc11.c: Likewise.
3597 * config/m68hc11/m68hc11.h: Likewise.
3598 * config/m68k/m68k.c: Likewise.
3599 * config/mcore/mcore.c: Likewise.
3600 * config/mcore/mcore.h: Likewise.
3601 * config/mcore/mcore.md: Likewise.
3602 * config/mips/mips.c: Likewise.
3603 * config/mips/mips.h: Likewise.
3604 * config/mips/mips.md: Likewise.
3605 * config/mips/netbsd.h: Likewise.
3606 * config/mn10300/mn10300.c: Likewise.
3607
8837d828
AS
36082003-07-03 Andreas Schwab <schwab@suse.de>
3609
3610 * dbxout.c (pending_bincls): Move decl down inside
3611 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
3612
dd107e66
NS
36132003-07-02 Nathan Sidwell <nathan@codesourcery.com>
3614
3615 * rtl.h (NOTE_DATA): Refer to whole union.
3616 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
3617
8821d091
EB
36182003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
3619
3620 PR optimization/11381
3621 * simplify-rtx.c (simplify_relational_operation): Check that
3622 two equal operands have no side-effects before simplifying
3623 the comparison.
3624
7960bf22
JL
36252003-07-02 Jeff Law <law@redhat.com>
3626
3627 * expr.c (do_store_flag): Remove special case folding for
3628 single bit tests. Instead call back into the commonized folder
3629 routine.
3630 * fold-const.c (fold_single_bit_test): New function, mostly
3631 extracted from do_store_flag, with an additional case extracted
3632 from fold.
3633 (fold): Call fold_single_bit_test appropriately.
3634 * tree.h (fold_single_bit_test): Prototype.
3635
3dce1408
ZW
36362003-07-02 Zack Weinberg <zack@codesourcery.com>
3637
3638 * system.h: Include filenames.h.
3639 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
3640 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
3641 define based on HAVE_DOS_BASED_FILE_SYSTEM.
3642 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
3643 * config/i386/xm-mingw32.h: Don't define
3644 HAVE_DOS_BASED_FILE_SYSTEM,
3645 DIR_SEPARATOR, or DIR_SEPARATOR_2.
3646 * doc/hostconfig.texi: Update to match.
3647
3648 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
3649 config/i386/cygwin.h:
3650 Use IS_ABSOLUTE_PATH throughout.
3651 * gcc.c (DIR_UP): Delete, unused.
3652 * protoize.c (IS_SAME_PATH): Define in terms of
3653 FILENAME_CMP.
3654 (is_abspath): Delete.
3655
c51e6d85
KH
36562003-07-02 Kazu Hirata <kazu@cs.umass.edu>
3657
3658 * config/i386/emmintrin.h: Fix comment typos.
3659 * config/i386/i386.c: Likewise.
3660 * config/i386/i386.h: Likewise.
3661 * config/i386/sco5.h: Likewise.
3662 * config/ia64/ia64.c: Likewise.
3663 * config/ia64/itanium2.md: Likewise.
3664
5ec3a5a7
L
36652003-07-02 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
3668 DBX_USE_BINCL.
3669 (emit_bincl_stab): Same.
3670 (emit_pending_bincls): Same.
3671
fad37371
KH
36722003-07-02 Kazu Hirata <kazu@cs.umass.edu>
3673
3674 * config/h8300/h8300.c (compute_mov_length): Fix the length of
3675 loading CONST0_RTX (SFmode).
3676 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
3677 'G' to CONST0_RTX (SFmode).
3678 * config/h8300/h8300.md (movsf_h8300): Change the first
3679 constraint to 'G'.
3680 (movsf_h8300h): Likewise.
3681
b86f6cd9
NB
36822003-07-02 Neil Booth <neil@daikokuya.co.uk>
3683
3684 * c-common.h (c_common_init_options): New prototype.
3685 * c-opts.c (deferred_size): Remove.
3686 (defer_opt): Array is now pre-allocated.
3687 (c_common_init_options): Pre-allocate deferred_opts. Make
3688 lang_flags unsigned.
3689 (push_command_line_options): Free deferred_opts.
3690 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
3691 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
3692 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
3693 * langhooks.h (struct lang_hooks): New prototype for init_options.
3694 * main.c (main): Cast argv.
3695 * opts.c (handle_option, handle_options): Update prototypes.
3696 (decode_options): save_argc, save_argv are not global. Constify.
3697 * opts.h (decode_options): New prototype.
3698 * toplev.c (general_init): New protoype.
3699 (save_argv): Make static.
3700 (save_argc): Remove.
3701 (print_switch_values, general_init): Constify.
3702 (toplev_main): Save argv.
3703 * toplev.h (toplev_main): Update prototype.
3704 (save_argc, save_argv): Remove.
3705
f23b9d52
DE
37062003-07-02 David Edelsohn <edelsohn@gnu.org>
3707
3708 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
3709 (emit_bincl_stab): Same.
3710 (emit_pending_bincls): Same.
3711
300e89a2
NS
37122003-07-02 Nathan Sidwell <nathan@codesourcery.com>
3713
3714 PR c++/11072
3715 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
3716
eaac6968
AS
37172003-07-02 Andreas Schwab <schwab@suse.de>
3718
3719 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
3720
1a8c4ca6
EB
37212003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
3722
3723 PR optimization/11210
3724 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
3725 about the behaviour with regard to bitfields.
3726 * fold-const (decode_field_reference): Record outermost type in
3727 case the expression is a NOP. Strip all NOPs. Set the signedness
3728 to that of the outermost type (if any) when the bitsize is equal
3729 to the size of the type.
3730
23cdfcf7
RS
37312003-07-02 Richard Sandiford <rsandifo@redhat.com>
3732
3733 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
3734 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
3735 (adddi3_internal_3, addsi3_internal_2): Likewise.
3736
6f2993e5
RS
37372003-07-02 Richard Sandiford <rsandifo@redhat.com>
3738
3739 * config/mips/mips.c (machine_function): Add new fields:
3740 ignore_hazard_length_p and all_noreorder_p.
3741 (mips_flag_delayed_branch): New variable.
3742 (override_options): Treat '/' as an operand punctuation character.
3743 Set up mips_flag_delayed_branch.
3744 (print_operand): Handle '/'.
3745 (mips_output_function_prologue): Put the whole function in
3746 .set noreorder and .set nomacro if all_noreorder_p is true.
3747 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
3748 (mips16_optimize_gp): Remove "first insn" parameter.
3749 (mips16_lay_out_constants): New function, split out from mips_reorg.
3750 (mips_avoid_hazard, mips_avoid_hazards): New functions.
3751 (mips_reorg): For mips16 code, call mips16_lay_out_constant
3752 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
3753 do delayed-branch scheduling followed by hazard detection.
3754 (mips_adjust_insn_length): Only account for hazards if
3755 !ignore_hazard_length_p.
3756 (mips_output_load_label): Add a nop to the o32 sequence if
3757 the target suffers from load delays.
3758 (mips_output_conditional_branch): Add %/ to the end of branches.
3759 (mips_output_division): Fill the branch delay slot with %#.
3760 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
3761 instructions. End all other %* branches with %/.
3762 (ffssi2, ffsdi2): Fix lengths.
3763 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
3764 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
3765 (fix_truncsfsi2_macro): Likewise.
3766 (mov_lwl): Set hazard to "none".
3767 (ashldi3_internal): Fill the branch delay slot with %#.
3768 (ashrdi3_internal, lshrdi3_internal): Likewise.
3769 (exception_receiver): Explicitly set $28.
3770 (hazard_nop): New pattern.
3771
0184bd46
JH
3772Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
3773
3774 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
3775 before calling tree_inlinable_function_p.
3776
1a78e5a7
RO
37772003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3778
3779 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
3780 <internal/stdio_core.h> too.
3781 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
3782 <internal/wchar_core.h> too.
3783 Substitute va_list uses in inline definition.
3784 * fixinc/fixincl.x: Regenerate.
3785
4c82f12b
RO
37862003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3787
3788 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
3789 Undef before redefinition.
3790 (LABEL_AFTER_LOC): Likewise.
3791 (DEFAULT_SIGNED_CHAR): Likewise.
3792 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
3793 Fix IRIX spelling.
3dce1408 3794
4c82f12b
RO
3795 * config/mips/iris3.h: Remove, unused.
3796 * config/mips/iris4.h: Likewise.
3797
3798 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
3799
3800 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
3801 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
3802 target_cpu_default.
3803
3804 * config/mips/iris5.h: Move explicit includes ...
3805 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
3dce1408 3806
4c82f12b
RO
3807 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
3808 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
3809 tm_defines.
3810
3811 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
3812 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
3813 target_cpu_default.
3814
3815 * config/mips/iris6.h: Fix IRIX spelling.
3816 (MULTILIB_DEFAULTS): Undef before redefinition.
3dce1408 3817
4c82f12b
RO
3818 * config/mips/iris6.h: Move explicit includes ...
3819 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
3820
8bd87c4e
JH
3821Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
3822
3823 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
3824 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
3825 Use next_needed field instead of aux to maintain the queue.
3826 * cgraph.h (cgraph_node): Add next_needed.
3827 (cgraph_varpool_node): Add next_needed; remove aux.
3828 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
3829
f6981e16
JH
3830Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
3831
3832 * cgraphunit.c (cgraph_finalize_function): Set finalized.
3833 (cgraph_finalize_function): Do not examine inlinablility.
3834 (cgraph_finalize_compilation_unit): Do it here.
3835 * cgraph.h (cgraph_local_info): Add finalized field.
3836
d1c60855
RO
38372003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3838
3839 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
3840 (gt_pch_restore): Likewise.
3841
093354e0
KH
38422003-07-01 Kazu Hirata <kazu@cs.umass.edu>
3843
3844 * config/alpha/alpha.c: Fix comment typos.
3845 * config/alpha/elf.h: Likewise.
3846 * config/arm/arm.c: Likewise.
3847 * config/arm/arm.h: Likewise.
3848 * config/arm/arm.md: Likewise.
3849 * config/arm/t-arm-coff: Likewise.
3850 * config/arm/t-strongarm-pe: Likewise.
3851 * config/arm/xscale-elf.h: Likewise.
3852 * config/avr/avr.h: Likewise.
3853
ce47ca44
JL
38542003-07-01 Jeff Law <law@redhat.com>
3855
3856 * stmt.c (any_pending_cleanups): Remove another redundant test.
3857
43b68ce5
DE
38582003-07-01 David Edelsohn <edelsohn@gnu.org>
3859 J"orn Rennecke <joern.rennecke@superh.com>
3860
3861 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
3862 for MEM case.
3863
33e9d2aa
DP
38642003-07-01 Devang Patel <dpatel@apple.com>
3865
3866 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
3867 (binclstatus): New.
3dce1408 3868 (struct dbx_file): New members - bincl_status, pending_bincl_name and
33e9d2aa
DP
3869 prev.
3870 (pending_bincls): New.
3871 (dbxout_init): Initialize new dbx_file members.
3872 (dbxout_start_source_file): Same.
3873 (emit_bincl_stab): New function.
3874 (emit_pending_bincls): Same.
3875 (emit_pending_bincls_if_required): Same.
3dce1408 3876 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
33e9d2aa
DP
3877 processed.
3878 (dbxout_begin_block): Emit pending BINCL stabs.
3879 (dbxout_end_block): Same.
3880 (dbxout_function_decl): Same.
3881 (dbxout_continue): Same.
3882 (dbxout_type): Same.
3883 (dbxout_class_name_qualifiers): Same.
3884 (dbxout_symbol): Same.
3885 (dbxout_symbol_location): Same.
3886 (dbxout_parms): Same.
3dce1408 3887
0108ae51
KG
38882003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3889
3890 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
3891 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
3892
54ced33d
AJ
38932003-07-01 Andreas Jaeger <aj@suse.de>
3894
3895 * fold-const.c: Convert prototypes to ISO C90.
3896 * function.c: Likewise.
3897 * function.h: Likewise.
3898
c0cbdbd9
KH
38992003-07-01 Kazu Hirata <kazu@cs.umass.edu>
3900
3901 * doc/contrib.texi: Fix typos.
3902 * doc/invoke.texi: Likewise.
3903 * doc/passes.texi: Likewise.
3904 * doc/sourcebuild.texi: Likewise.
3905 * doc/tm.texi: Likewise.
3906
e0bb17a8
KH
39072003-07-01 Kazu Hirata <kazu@cs.umass.edu>
3908
3909 * basic-block.h: Fix comment typos.
3910 * bb-reorder.c: Likewise.
3911 * c-format.c: Likewise.
3912 * cfgcleanup.c: Likewise.
3913 * cfghooks.h: Likewise.
3914 * cfgloop.c: Likewise.
3915 * cfgloopmanip.c: Likewise.
3916 * cfgrtl.c: Likewise.
3917 * cgraph.h: Likewise.
3918 * cgraphunit.c: Likewise.
3919 * combine.c: Likewise.
3920 * convert.c: Likewise.
3921 * dbxout.c: Likewise.
3922 * df.c: Likewise.
3923 * df.h: Likewise.
3924 * diagnostic.c: Likewise.
3925 * dwarf2out.c: Likewise.
3926 * et-forest.h: Likewise.
3927 * flow.c: Likewise.
3928 * fold-const.c: Likewise.
3929 * function.h: Likewise.
3930 * gcov-io.h: Likewise.
3931 * gcov.c: Likewise.
3932 * gcse.c: Likewise.
3933 * genautomata.c: Likewise.
3934 * ggc-common.c: Likewise.
3935 * ggc-page.c: Likewise.
3936 * loop-unroll.c: Likewise.
3937 * loop-unswitch.c: Likewise.
3938 * loop.c: Likewise.
3939 * mips-tfile.c: Likewise.
3940 * optabs.c: Likewise.
3941 * ra-build.c: Likewise.
3942 * ra-colorize.c: Likewise.
3943 * ra-rewrite.c: Likewise.
3944 * ra.h: Likewise.
3945 * regmove.c: Likewise.
3946 * reload.c: Likewise.
3947 * rtlanal.c: Likewise.
3948 * sched-ebb.c: Likewise.
3949 * sched-int.h: Likewise.
3950 * sched-vis.c: Likewise.
3951 * sreal.c: Likewise.
3952 * ssa-ccp.c: Likewise.
3953 * ssa.c: Likewise.
3954 * toplev.c: Likewise.
3955 * tree-inline.c: Likewise.
3956 * value-prof.c: Likewise.
3957 * value-prof.h: Likewise.
3958
5f2fc772
NS
39592003-07-01 Nathan Sidwell <nathan@codesourcery.com>
3960
3961 * rtl.h (emit_line_note_after): Remove.
3962 (emit_note_copy_after, emit_note_copy): New.
3963 * emit-rtl.c (reorder_insns_with_line_notes): Replace
3964 emit_line_note_after with emit_note_copy_after.
3965 (emit_insn_after_with_line_notes): Likewise.
3966 (emit_line_note_after): Kill.
3967 (emit_note_copy_after): New.
3968 (emit_note_copy): New.
3969 * function.c (emit_return_into_block): Use emit_note_copy_after.
3970 (thread_prologue_and_epilogue_insns): Likewise.
3971 * integrate.c (expand_inline_function): Use emit_note_copy.
3972 (copy_insn_list): Likewise.
3973 * unroll.c (copy_loop_body): Likewise.
3974 * cfglayout.c (duplicate_insn_chain): Likewise.
3975
5b030314
NS
39762003-07-01 Nathan Sidwell <nathan@codesourcery.com>
3977
3978 * c-tree.h (define_label): Replace filename and lineno arguments
3979 with a location_t.
3980 * c-decl.c (poplevel): Adjust define_label call.
3981 (pop_label_level): Likewise.
3982 (define_label): Replace filename and lineno arguments with a
3983 location_t.
3984 (store_parm_decls): Use DECL_SOURCE_LOCATION.
3985 * c-parse.in (label): Adjust define_label call.
3986
04df6730
NB
39872003-07-01 Neil Booth <neil@daikokuya.co.uk>
3988
3989 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
3990 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
3991 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
3992 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
3993 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
3994
6cf9ac28
AJ
39952003-07-01 Andreas Jaeger <aj@suse.de>
3996
3997 * final.c: Convert prototypes to ISO C90.
3998 * flow.c: Likewise.
3999 * flags.h: Likewise.
4000 * gcov-io.c: Likewise.
4001 * gcov-io.h: Likewise.
4002
2a868fac 4003See ChangeLog.9 for earlier changes.
This page took 0.602806 seconds and 5 git commands to generate.