1 2003-09-16 Joel Brobecker <brobecker@gnat.com>
3 * dwarf2asm.c (dw2_asm_output_nstring): Add comment.
5 2003-09-16 Roger Sayle <roger@eyesopen.com>
8 * simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
9 argument to be VOIDmode, taking the mode of the comparison from
10 the operands. Only call simplify_relational_operation if we
11 know the mode of the comparison. Honor FLOAT_STORE_FLAG_VALUE
12 if comparison has a floating point result. Ensure that the
13 result is always of the specified mode.
14 (simplify_replace_rtx): Simplify call to simplify_gen_relational.
15 (simplify_unary_operation): Ensure the correct mode and cmp_mode
16 are always passed to simplify_gen_relational. Simplify NOT of
17 comparison operator in any mode, not just BImode.
18 (simplify_ternary_operation): Correct tests on the return value
19 of simplify_relational_operation to use const_true_rtx, not
20 const1_rtx. Abort if it ever returns a non-constant result.
22 * cfgloopanal.c (count_strange_loop_iterations): Use the function
23 simplify_relational_operation, not simplify_gen_relational, if
24 we're only interested in constant comparisons and will ignore
27 2003-09-16 Roger Sayle <roger@eyesopen.com>
29 * fold-const.c (tree_swap_operands_p): New function to determine
30 the prefered ordering of operands.
31 (fold): Numerous clean-ups. Use tree_swap_operands_p when swapping
32 operands to commutative, comparison or ternary operators. Replace
33 uses of TREE_SET_CODE with recursive call to fold. Remove duplicate
34 transformation of A ? B : C into !A ? C : B.
36 2003-09-16 Jakub Jelinek <jakub@redhat.com>
38 * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
39 * config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
40 * config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
41 * config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
42 * config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
43 * config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
44 * config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
45 * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
47 2003-09-16 Jason Merrill <jason@redhat.com>
48 Jakub Jelinek <jakub@redhat.com>
50 * c-common.c (handle_warn_unused_result_attribute): New function.
51 (c_common_attribute_table): Add warn_unused_result.
52 (c_expand_expr): Issue warning when result of inlined function
53 with warn_unused_result attribute is ignored.
54 * calls.c (expand_call): Issue warning when result of function
55 with warn_unused_result attribute is ignored.
56 * c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define.
57 * expr.c (expr_wfl_stack): Define.
58 (expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore,
59 pass const0_rtx as target. Chain locations into expr_wfl_stack.
60 * tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT
61 bit if inlined function has warn_unused_result attribute.
62 * input.h (expr_wfl_stack): Declare.
63 * doc/extend.texi: Document warn_unused_result attribute.
65 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
67 * cpplib.c (do_pragma): Remove unnecessary cb_line_change.
69 2003-09-15 Bob Wilson <bob.wilson@acm.org>
71 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
73 (call_insn_operand): For PIC, don't allow a direct call to a
74 function in a different section than the current one.
76 2003-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
78 * doc/invoke.texi (Warning Options): Add missing hyphen before
79 "Wimport". Change "-Wno-endif-labels" to "-Wendif-labels".
80 Move "-Wold-style-definition" to the C-only section.
81 Fix the ordering of the warning options.
83 2003-09-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
84 Jeff Law <law@redhat.com>
86 * gcse.c (remove_reachable_equiv_notes): New.
87 replace_store_insn): Call it. Update antic list.
88 (store_killed_in_insn): Take REG_EQUAL notes into account.
89 (build_store_vectors, delete_store): Add parameter to
90 replace_store_insn call.
92 2003-09-15 Bob Wilson <bob.wilson@acm.org>
94 * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
97 2003-09-15 Kazu Hirata <kazu@cs.umass.edu>
99 * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
100 (FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING.
101 * config/ia64/ia64.c (ia64_hpux_function_arg_padding):
103 * config/m68hc11/m68hc11.c (m68hc11_function_arg_padding):
105 * config/rs6000/rs6000.c (function_arg_padding): Likewise.
106 * config/sparc/sparc.c (function_arg_padding): Likewise.
108 2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
110 * haifa-sched.c (schedule_block): Use ready_remove_first instead
111 of choose_ready for non-dfa insn scheduling.
113 2003-09-15 Andreas Jaeger <aj@suse.de>
114 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
116 * doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
117 * c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
118 * c-parse.in: Warn about old-style parameter definition.
119 * c-common.c: Define warn_old_style_defintion.
120 * c-common.h: Declare it.
121 * c.opt: Add Wold-style-defintion.
123 2003-09-15 Andreas Jaeger <aj@suse.de>
125 * config/rs6000/altivec.h: Convert () prototypes to ISO C90.
126 * config/rs6000/rs6000.c: Likewise.
128 2003-09-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
130 PR optimization/10914
131 * expr.h (get_condition, canonicalize_condition): Declaration changed.
132 * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
133 and canonicalize_condition calls.
134 * gcse.c (fis_get_condition, delete_null_pointer_checks_1,
135 delete_null_pointer_checks): Ditto.
136 * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
137 * predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
138 * loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
139 (canonicalize_condition, get_condition): Allow to return comparisons
140 of cc mode registers.
141 * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
142 cc mode registers comparison in condition.
144 2003-09-12 Mark Mitchell <mark@codesourcery.com>
146 * coverage.c (create_coverage): Do not call pushlevel/poplevel.
147 * langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
149 * langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.
151 2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
153 * combine.c (simplify_comparison): Convert
154 (ne (and (lshiftrt (xor X CST) Y) 1) 0) into
155 (eq (and (lshiftrt X Y) 1) 0).
157 2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
159 * alias.c: Follow spelling conventions.
160 * cpphash.h: Likewise.
161 * fold-const.c: Likewise.
163 2003-09-14 Alexandre Oliva <aoliva@redhat.com>
165 * c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
166 * c-lex.c (cb_line_change): Skip line changing whenever
169 2003-09-14 Steven Bosscher <steven@gcc.gnu.org>
171 * ra.c: Convert to ISO C90 prototypes.
172 * ra-build.c: Likewise.
173 * ra-colorize.c: Likewise.
174 * ra-debug.c: Likewise.
175 * ra-rewrite.c: Likewise.
177 2003-09-14 Richard Sandiford <rsandifo@redhat.com>
179 * Makefile.in (%.dvi): Remove excess $(docdir).
181 2003-09-14 Richard Sandiford <rsandifo@redhat.com>
183 * function.c (STACK_BYTES): Move definition to head of file.
184 (assign_parms): Don't pass current_function_pretend_args_size
185 directly to SETUP_INCOMING_VARARGS. For partial register arguments,
186 round current_function_pretend_args_size up to STACK_BYTES. Skip any
187 excess before laying out the argument.
189 2003-09-14 Andreas Jaeger <aj@suse.de>
191 * objc/objc-act.c: Convert to ISO C90 prototypes.
192 * objc/objc-act.h: Likewise.
194 2003-09-14 Olaf Hering <olh@suse.de>
196 * config/rs6000/rs6000.c: Fix typo: Remove extra ')'.
198 2003-09-13 Andrew Pinski <pinskia@physics.uc.edu>
201 * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
202 as they already are done in config/m68k/m68k.h.
203 * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise
205 * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
206 (machopic_output_stub): Only generate pic base symbols when using pic
207 and generate them in the form L00000000$spb.
209 2003-09-13 Richard Henderson <rth@redhat.com>
211 * cgraphunit.c (cgraph_assemble_pending_functions): Export.
212 (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check.
215 2003-09-12 Dale Johannesen <dalej@apple.com>
217 * config/rs6000/rs6000.c: Fix typos in previous.
219 2003-09-12 Ziemowit Laski <zlaski@apple.com>
221 * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc
222 when allocating pp->buffer.
224 2003-09-12 Geoffrey Keating <geoffk@apple.com>
226 * config/darwin.c (machopic_select_rtx_section): Use
227 const_data_section for things that might require relocation.
229 2003-09-12 H.J. Lu <hongjiu.lu@intel.com>
232 * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.
234 2003-09-12 Bob Wilson <bob.wilson@acm.org>
236 * config/xtensa/elf.h (ASM_SPEC): Remove no-density option. Reformat.
237 * config/xtensa/linux.h (ASM_SPEC): Likewise.
238 * config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian,
239 -mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16,
240 -m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext,
241 -m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div,
242 -m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and
243 -m[no-]hard-float-rsqrt options. Delete corresponding MASK_* macros
244 and redefine corresponding TARGET_* macros with constants from the
245 xtensa-config.h header.
246 * doc/invoke.texi (Option Summary, Xtensa Options): Remove documention
247 for the options listed above.
249 2003-09-12 Dale Johannesen <dalej@apple.com>
251 * config/rs6000/rs6000-protos.h: Use C90 prototypes.
252 * config/rs6000/rs6000-c.c: Ditto.
253 * config/rs6000/rs6000.c: Ditto.
254 * config/rs6000/ sysv4.h: Ditto.
256 2003-09-12 Chris Lattner <sabre@nondot.org>
258 * loop.c: Move comments describing BIV's and GIV's to top of file
260 2003-09-12 Roger Sayle <roger@eyesopen.com>
263 * alias.c (write_dependence_p): Modify to take an additional constp
264 argument that controls whether the UNCHANGING_RTX_P flags are used.
265 (anti_dependence, output_dependence): Adjust write_dependence_p
266 callers to pass this additional argument, to return the same result.
267 (unchanging_anti_dependence): New variant of anti_dependence that
268 ignores the UNCHANGING_RTX_P property on memory references.
269 * rtl.h (unchaning_anti_dependence): Prototype here.
270 * flow.c (init_propagate_block): Place fake constant mem writes on
271 the mem_set_list so that dead writes to const variables are deleted.
272 (insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
273 (mark_used_regs): Likewise.
275 2003-09-12 Richard Sandiford <rsandifo@redhat.com>
277 * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
278 (mcore_secondary_reload_class): Declare.
279 (mcore_output_inline_const_forced): Remove.
280 * config/mcore/mcore.md (movsi): Remove the code that forced
281 non-inlineable constants into a register if the target was r15
282 or the stack pointer. Remove constant restrictions from the main
283 define_insn. Remove r <- I, r <- M and r <- N alternatives in favor
284 of an r <- P alternative. Remove fallback define_insn for reload.
285 (movhi, movqi): Use gen_lowpart rather than gen_SUBREG. Remove reload
286 define_insn. Use mcore_output_move in the remaining define_insn.
287 Adjust condition and constraints in the way as for movsi.
288 (movdi): Always split unacceptable constants into two. Use
289 simplify_gen_subreg instead of operand_subword{,_force}.
290 * config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
291 (mcore_output_move): Support HImode and QImode moves as well.
292 (mcore_m15_operand_p): New function.
293 (mcore_reload_class): Use it to detect cases where LRW_REGS are better.
294 (mcore_secondary_reload_class): New function.
295 * config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
296 terms of mcore_secondary_reload_class.
298 2003-09-11 Mike Stump <mrs@apple.com>
300 * c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
302 2003-09-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
304 * builtins.c (fold_builtin_logarithm): if N can't be truncated to
305 MODE exactly, then only convert logN(N) -> 1.0 if
306 flag_unsafe_math_optimizations is set.
308 * builtins.c (builtin_dconsts_init, dconstpi, dconste,
309 init_builtin_dconsts): Delete.
310 * emit-rtl.c (dconstpi, dconste): Define.
311 (init_emit_once): Initialize dconstpi & dconste.
312 * real.h (dconstpi, dconste): Declare.
314 2003-09-11 Alexandre Oliva <aoliva@redhat.com>
317 * dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
318 for ultimate origin even if block is abstract.
320 2003-09-11 Roger Sayle <roger@eyesopen.com>
322 * combine.c (combine_simplify_rtx): Move several NOT and NEG
323 optimizations from here...
324 * simplify-rtx.c (simplify_unary_operation): to here. Recursively
325 simplify expressions using simplify_gen_*ary instead of gen_rtx_*.
327 2003-09-11 Richard Henderson <rth@redhat.com>
329 * cgraphunit.c (cgraph_finalize_function): Add nested arg.
330 Tweek tests for function already generated.
331 (cgraph_expand_function): Don't double announce in !unit-at-a-time.
332 * cgraph.h (cgraph_finalize_function): Update for extra arg.
333 * c-decl.c (finish_function): Likewise.
335 2003-09-10 Joe Buck <jbuck@welsh-buck.org>
337 * c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
339 2003-09-10 Jerry Quinn <jlquinn@optonline.net>
341 * real.c: Update URL to VAX floating point docs.
342 (decode_vax_d): Extract 8 exponent bits instead of 7.
344 2003-09-10 Ian Lance Taylor <ian@wasabisystems.com>
346 * combine.c (force_to_mode): Set fuller_mask based only on mask,
349 2003-09-11 Jan Hubicka <jh@suse.cz>
351 * c-objc-common.c (c_cannot_inline_tree_fn): Warn
352 on why function is not inlinable; do not check
354 (inline_forbidden_p): Move to...
355 * tree-inline.c (inline_forbidden_p_1): ... here; Add warnings;
356 deal with alloca, longjmp.
357 (inline_forbidden_p): New static function.
358 (find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1,
359 find_builtin_longjmp_call): Kill.
361 2003-09-10 Richard Henderson <rth@redhat.com>
363 * cgraph.h (struct cgraph_node): Rename lowered to analyzed.
364 * cgraphunit.c: Update to match.
365 (record_call_1): Rearrange. Call lang hook for language nodes.
366 (cgraph_analyze_function): Don't call lower_function.
367 * langhooks.h (struct lang_hooks_for_callgraph): Replace
368 lower_function with analyze_expr.
369 * langhooks-def.h: Update to match.
370 * langhooks.c (lhd_callgraph_analyze_expr): New.
372 2003-09-10 Martin Husemann <martin@duskware.de>
375 * config/sparc/sparc.c (sparc_v8plus_shift): Protect against
376 constants greater than 63.
377 * config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect
378 against constants greater than 31.
379 (*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against
380 constants greater than 63.
382 2003-09-09 Richard Henderson <rth@redhat.com>
384 * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
385 * cgraph.h (cgraph_finalize_function): Update.
386 * c-decl.c (finish_function): Update.
388 2003-09-09 Devang Patel <dpatel@apple.com>
390 * config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
391 * doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
393 2003-09-09 Eric Christopher <echristo@redhat.com>
395 * configure.in: Change usage of 'head' to 'sed 1q'.
396 * configure: Regenerate.
398 2003-09-09 Richard Henderson <rth@redhat.com>
400 * except.c: Include cgraph.h.
401 (output_function_exception_table): Invoke
402 cgraph_varpool_mark_needed_node.
403 * Makefile.in (except.o): Update.
405 2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
407 * Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
408 and use it throughout.
410 2003-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
412 * builtins.c (real_dconstp, fold_builtin_logarithm,
413 fold_builtin_exponent): New, split out from fold_builtin. Also
414 generalize to add log2, log10, exp2 and exp10/pow10 equivalents.
415 * emit-rtl.c (dconst3, dconst10, dconstthird): New.
416 (init_emit_once): Initialize new dconsts, use ARRAY_SIZE in lieu
417 of hardcoded array size.
418 * fold-const.c (fold): Add cases for exp2, exp10 and pow10.
419 (tree_expr_nonnegative_p): Likewise.
420 * real.h (dconst3, dconst10, dconstthird): New.
422 2003-09-09 Jan Hubicka <jh@suse.cz>
424 * cgraphunit.c (cgraph_finalize_function): Fix handling of extern
426 (cgraph_finalize_compilation_unit): Fix crash when dealing with lost
429 2003-09-09 Roger Sayle <roger@eyesopen.com>
431 * builtins.c (fold_builtin_cabs): Protect the complex argument
432 against multiple evaluation when optimizing cabs* into sqrt*.
434 2003-09-09 Jan Hubicka <jh@suse.cz>
436 * varasm.c (notice_global_symbol): Properly deal with weak symbols.
438 2003-09-08 Kelley Cook <kelleycook@wideopenwest.com>
440 * Makefile.in: Revert yesterday's change.
442 2003-09-08 Bernardo Innocenti <bernie@develer.com>
443 Peter Barada <peter@baradas.org>
445 * config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
446 * config/m68k/hp320.h (REGISTER_NAMES): Likewise.
447 * config/m68k/linux.h (REGISTER_NAMES): Likewise.
448 * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
449 * gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise.
450 * config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype.
451 * config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end.
452 (m68k_compute_frame_layout): New function.
453 (m68k_initial_elimination_offset): New function.
454 (m68k_output_function_prologue): ColdFire-specific movem handling.
455 (m68k_output_function_epilogue): Likewise.
456 * config/m68k/m68k.h (FIRST_PSEOUDO_REGISTER): Make room for argptr reg.
457 (ARG_POINTER_REGNUM): Add new definition.
458 (INITIAL_FRAME_POINTER_OFFSET): Remove macro.
459 (ELIMINABLE_REGS): Define new macro, like in ix86 back-end.
460 (CAN_ELIMINATE): Likewise.
461 (INITIAL_ELIMINATION_OFFSET): Likewise.
463 2003-09-08 Bernardo Innocenti <bernie@develer.com>
465 * config/m68k/m68k.c (m68k_output_function_prologue): Simplify
466 by removing redundant variable cfa_store_offset.
468 2003-09-08 Mark Mitchell <mark@codesourcery.com>
470 * langhooks-def.h (lhd_register_builtin_type): New function.
471 (LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro.
472 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
473 * langhooks.h (lang_hooks_for_types): Add register_builtin_type.
474 * langhooks.c (lhd_register_builtin_type): New function.
475 * c-common.h (c_register_builtin_type): Declare.
476 * c-common.c (c_register_builtin_type): New function.
477 * c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
478 c_register_builtin_type.
479 * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg,
480 __float80, and __float128 macros.
481 * config/ia64/ia64.c (ia64_init_builtins): Create __fpreg,
482 __float80, and __float128 types.
484 2003-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
487 (BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE,
488 BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE,
489 BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT): New.
490 * builtins.def (BUILT_IN_CACOS, BUILT_IN_CACOSF, BUILT_IN_CACOSH,
491 BUILT_IN_CACOSHF, BUILT_IN_CACOSHL, BUILT_IN_CACOSL,
492 BUILT_IN_CARG, BUILT_IN_CARGF, BUILT_IN_CARGL, BUILT_IN_CASIN,
493 BUILT_IN_CASINF, BUILT_IN_CASINH, BUILT_IN_CASINHF,
494 BUILT_IN_CASINHL, BUILT_IN_CASINL, BUILT_IN_CATAN,
495 BUILT_IN_CATANF, BUILT_IN_CATANH, BUILT_IN_CATANHF,
496 BUILT_IN_CATANHL, BUILT_IN_CATANL, BUILT_IN_CCOS, BUILT_IN_CCOSF,
497 BUILT_IN_CCOSH, BUILT_IN_CCOSHF, BUILT_IN_CCOSHL, BUILT_IN_CCOSL,
498 BUILT_IN_CEXP, BUILT_IN_CEXPF, BUILT_IN_CEXPL, BUILT_IN_CPOW,
499 BUILT_IN_CPOWF, BUILT_IN_CPOWL, BUILT_IN_CPROJ, BUILT_IN_CPROJF,
500 BUILT_IN_CPROJL, BUILT_IN_CSIN, BUILT_IN_CSINF, BUILT_IN_CSINH,
501 BUILT_IN_CSINHF, BUILT_IN_CSINHL, BUILT_IN_CSINL, BUILT_IN_CSQRT,
502 BUILT_IN_CSQRTF, BUILT_IN_CSQRTL, BUILT_IN_CTAN, BUILT_IN_CTANF,
503 BUILT_IN_CTANH, BUILT_IN_CTANHF, BUILT_IN_CTANHL, BUILT_IN_CTANL):
505 * doc/extend.texi: Document new builtins.
507 2003-09-09 Jan Hubicka <jh@suse.cz>
509 * cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
511 * cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested
512 functions, check for COMDAT.
513 (cgraph_assemble_pending_functions): Break out from...
514 (cgraph_finalize_function): ... here; allow redefinig of extern inline
516 (record_call_1): Record function references only in non-unit-at-a-time
518 (cgraph_analyze_function): Reset current_function_decl.
519 (cgraph_finalize_compilation_unit): Assemble pending functions.
521 2003-09-08 Mark Mitchell <mark@codesourcery.com>
523 * mklibgcc.in (libcc.a): Depend on stmp-dirs.
524 (libgov.a): Likewise.
525 (libgcc_eh.a): Likewise.
527 2003-09-08 Roger Sayle <roger@eyesopen.com>
529 * fold-const.c (operand_equal_p): Clarify documentation.
531 2003-09-08 Richard Henderson <rth@redhat.com>
533 * c-decl.c (c_expand_body_1): Push and pop function context here.
534 * tree-optimize.c (tree_rest_of_compilation): ... not here. Take
535 nested argument instead of computing nesting ourselves.
537 2003-09-08 Jakub Jelinek <jakub@redhat.com>
539 * toplev.c (rest_of_handle_stack_regs): Call split_all_insns before
540 regstack if optimizing but not scheduling after reload.
542 2003-09-08 Jakub Jelinek <jakub@redhat.com>
544 * config/sparc/sparc.c (struct machine_function): New type.
545 (TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define.
546 (sparc_override_options): Initialize init_machine_status.
547 (tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand,
548 tie_symbolic_operand, tle_symbolic_operand): New functions.
549 (symbolic_operand): Disallow tls_symbolic_operand.
550 (symbolic_memory_operand): Likewise.
551 (tls_call_delay, sparc_cannot_force_const_mem, legitimate_constant_p,
552 constant_address_p, legitimate_pic_operand_p, legitimate_address_p):
554 (sparc_tls_symbol): New variable.
555 (sparc_tls_get_addr, sparc_tls_got, legitimize_tls_address,
556 legitimize_address): New functions.
557 (print_operand): Handle %&.
558 (sparc_init_machine_status, get_some_local_dynamic_name,
559 get_some_local_dynamic_name_1): New functions.
560 (sparc_output_dwarf_dtprel): New function.
561 * config/sparc/sparc.h (CONSTANT_ADDRESS_P): Moved into
563 (LEGITIMATE_PIC_OPERAND_P): Moved into legitimate_pic_operand_p.
564 (LEGITIMATE_CONSTANT_P): Moved into legitimate_constant_p.
565 (GO_IF_LEGITIMATE_ADDRESS): Moved into legitimate_address_p.
566 (LEGITIMIZE_ADDRESS): Moved into legitimize_address.
567 (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
568 (TARGET_TLS, TARGET_SUN_TLS, TARGET_GNU_TLS): Define.
569 (ASM_OUTPUT_DWARF_DTPREL): Define.
570 (PREDICATE_CODES): Add tgd_symbolic_operand, tld_symbolic_operand,
571 tie_symbolic_operand, tle_symbolic_operand.
572 * config/sparc/sparc.md (UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_TLSLDO,
573 UNSPEC_TLSIE, UNSPEC_TLSLE, UNSPEC_TLSLD_BASE): New constants.
574 (tls_call_delay): New attribute.
575 (in_call_delay): Use it.
576 (movqi, movhi, movsi, movdi): Call legitimize_tls_address if needed.
577 (tgd_hi22, tgd_lo10, tgd_add32, tgd_add64, tgd_call32, tgd_call64,
578 tldm_hi22, tldm_lo10, tldm_add32, tldm_add64, tldm_call32, tldm_call64,
579 tldo_hix22, tldo_lox10, tldo_add32, tldo_add64, tie_hi22, tie_lo10,
580 tie_ld32, tie_ld64, tie_add32, tie_add64, tle_hix22_sp32,
581 tle_lox10_sp32, tle_hix22_sp64, tle_lox10_sp64): New insns.
582 (tldo_ldub_sp32, tldo_ldub1_sp32, tldo_ldub2_sp32, tldo_ldsb1_sp32,
583 tldo_ldsb2_sp32, tldo_ldub_sp64, tldo_ldub1_sp64, tldo_ldub2_sp64,
584 tldo_ldub3_sp64, tldo_ldsb1_sp64, tldo_ldsb2_sp64, tldo_ldsb3_sp64,
585 tldo_lduh_sp32, tldo_lduh1_sp32, tldo_ldsh1_sp32, tldo_lduh_sp64,
586 tldo_lduh1_sp64, tldo_lduh2_sp64, tldo_ldsh1_sp64, tldo_ldsh2_sp64,
587 tldo_lduw_sp32, tldo_lduw_sp64, tldo_lduw1_sp64, tldo_ldsw1_sp64,
588 tldo_ldx_sp64, tldo_stb_sp32, tldo_stb_sp64, tldo_sth_sp32,
589 tldo_sth_sp64, tldo_stw_sp32, tldo_stw_sp64, tldo_stx_sp64): New
591 * config/sparc/sparc-protos.h (legitimate_constant_p,
592 constant_address_p, legitimate_pic_operand_p, legitimate_address_p,
593 legitimize_tls_address, legitimize_address, tls_symbolic_operand,
594 tls_call_delay, sparc_output_dwarf_dtprel): New prototypes.
595 * config/sparc/linux.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
596 * config/sparc/linux64.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Likewise.
597 * configure.in (sparc*-*-*): Add TLS check.
598 * configure: Rebuilt.
600 2003-09-07 Eric Botcazou <ebotcazou@libertysurf.fr>
603 * config/i386/i386.c (memory_address_length): Fix computation when
604 the base is esp or ebp.
606 2003-09-07 Mark Mitchell <mark@codesourcery.com>
609 * varasm.c (initializer_constant_valid_p): Correct logic for
612 2003-09-07 Roger Sayle <roger@eyesopen.com>
614 * expr.c (expand_operands): New function to expand an operand pair.
615 (expand_expr): Call expand_operands whenever we need to expand both
616 operands of a binary operator.
617 (do_store_flag): Likewise for operands of comparison operations.
619 2003-09-07 Roger Sayle <roger@eyesopen.com>
621 * combine.c (combine_simplify_rtx): Don't convert -(A*B) into
622 (-A)*B if we care about sign-dependent rounding.
624 2003-09-07 Gabriel Dos Reis <gcc@integrable-solutions.net>
626 * c-pretty-print.h (pp_c_left_brace): Declare.
627 (pp_c_right_brace): Likewise.
628 * c-pretty-print.c (pp_c_left_brace): Now a function
629 (pp_c_right_brace): Likewise.
631 2003-09-07 Jan Hubicka <jh@suse.cz>
633 * cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
635 2003-09-07 Gabriel Dos Reis <gdr@integrable-solutions.net>
637 * diagnostic.c (warn_deprecated_use): Move to toplev.c
639 2003-09-07 Gabriel Dos Reis <gdr@integrable-solutions.net>
641 * langhooks.c (lhd_print_error_function): Move from diagnostic.c.
642 * Makefile.in (langhooks.o): Depend on diagnostic.h
644 2003-09-06 James E Wilson <wilson@tuliptree.org>
646 * loop.c (loop_regs_update): Delete else clause for PATTERN rtx and
649 2003-09-07 Kelley Cook <kelleycook@wideopenwest.com>
651 * Makefile.in: Define $REMAKE to be $MAKE with LANGUAGES & BOOT_CFLAGS
652 and use it throughout.
654 2003-09-07 Jan Hubicka <jh@suse.cz>
656 * cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
658 * toplev.c (rest_of_decl_compilation): Do not finalize external
661 * cgraph.c (cgraph_mark_reachable_node): Only enqueue finalized
663 (cgraph_varpool_finalize_decl): Notice global symbol when needed.
665 2003-09-06 Jan Hubicka <jh@suse.cz>
668 * calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
671 * cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.
673 2003-09-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
675 * diagnostic.c (announce_function): Move to toplev.c.
677 2003-09-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
679 * gcse.c (expr_equiv_p): Don't consider anything to be equal to
682 2003-09-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
684 * ggc-common.c (init_ggc_heuristics): Don't use the heuristics
685 when gc checking is enabled.
687 2003-09-06 Steven Bosscher <steven@gcc.gnu.org>
690 * c-decl.c (c_expand_body_1): Move return warning from here...
691 (finish_function): ...to here.
693 2003-09-05 Geoffrey Keating <geoffk@apple.com>
695 * config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
696 a subset of the input class.
698 2003-09-05 Kazu Hirata <kazu@cs.umass.edu>
700 * config/i860/i860.c: Follow spelling conventions.
701 * config/i860/i860.h: Likewise.
702 * config/sh/sh.h: Likewise.
704 2003-09-05 Nitin Yewale <NitinY@KPITCummins.com>
706 * config/h8300/h8300-protos.h: Declare h8300_hard_regno_rename_ok
707 * config/h8300/h8300.h (HARD_REGNO_RENAME_OK): New.
708 * config/h8300/h8300.c (h8300_hard_regno_rename_ok): New.
710 2003-09-05 Roger Sayle <roger@eyesopen.com>
711 Richard Henderson <rth@redhat.com>
714 * expmed.c (expand_divmod <EXACT_DIV_EXPR>): Use an unsigned
715 multiplication to implement division by constant integer.
717 2003-09-05 Jan Hubicka <jh@suse.cz>
719 * opts.c (decode_options): Enable unit-at-a-time at -O2.
720 * params.def (max-inline-insns-single): Set to 500
721 (max-inline-insns-auto): Set to 150
722 * invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.
724 2003-09-04 Richard Henderson <rth@redhat.com>
726 * cgraph.c (cgraph_mark_reachable_node): Split out from ...
727 (cgraph_mark_needed_node): Remove needed argument.
728 * cgraph.h: Update to match.
729 * cgraphunit.c (decide_is_function_needed): Split out from ...
730 (cgraph_finalize_function): Reorg. Avoid deferred_inline_function
731 if we generated the function.
732 (record_call_1): Update for cgraph_mark_reachable_node.
733 * varasm.c (mark_referenced): Likewise.
734 * objc/objc-act.c (mark_referenced_methods): Likewise.
736 2003-09-04 DJ Delorie <dj@redhat.com>
738 * targhooks.c: Add comment explaining the migration process.
740 2003-09-04 Eric Christopher <echristo@redhat.com>
742 * config/frv/t-frv: Fix path for frv-abi.h.
743 * config/frv/frv-asm.h: Fix string concatenation.
745 2003-09-04 DJ Delorie <dj@redhat.com>
747 * builtins.c (apply_args_size): Guard against a NULL cfun.
748 (expand_builtin_apply_args_1): Likewise.
749 (expand_builtin_apply): Likewise.
750 Fixes PR bootstrap/12172.
752 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
754 * configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
755 assembler supports Sun syntax for cmov.
756 * configure: Regenerate.
757 * config.in: Likewise.
758 * config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
759 HAVE_AS_IX86_CMOV_SUN_SYNTAX.
760 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
761 Fixes PR target/12101.
763 2003-09-04 Matt Austern <austern@apple.com>
765 * c-common.c (fname_as_string): Use lang_hooks.decl_printable_name
766 with verbosity 0, instead of DECL_NAME, for human-readable string.
768 2003-09-04 Eric Christopher <echristo@redhat.com>
770 * targhooks.c (default_return_in_memory): Allow
773 2003-09-04 Eric Christopher <echristo@redhat.com>
775 * targhooks.c (default_return_in_memory): Fix typo
778 2003-09-04 Eric Christopher <echristo@redhat.com>
780 * targhooks.c (default_return_in_memory): Fix default
783 2003-09-04 Bernardo Innocenti <bernie@develer.com>
785 * config/m68k/m68k.c (m68k_coff_asm_named_section): Restore
787 * config/m68k/coff.h (M68K_TARGET_COFF): Add flag used to
788 enable coff-only code in m68k.c.
790 2003-09-04 Nick Clifton <nickc@redhat.com>
792 * config.gcc: Add v850e1 target. Allow --with-cpu to accept
794 * config/v850/v850.h: Accept v850e1 as a default CPU.
795 Accept -mv850e1 as a command line option.
796 * doc/invoke.texi: Document new -mv850e1 command line switch.
797 * config/v850/t-v850: Treat -mv850e1 as a multilib alias for
800 2003-09-04 Nick Clifton <nickc@redhat.com>
802 * config.gcc (v850e-*-*): Use t-v850e makefile fragment.
803 * config/v850/t-v850: Only produce one extra multilib - for
805 * config/v850/t-v850e: New file: Only produce one extra
806 multilib - for the v850.
808 2003-09-04 Jakub Jelinek <jakub@redhat.com>
810 * config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2.
811 * config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function.
812 * unwind.h (_Unwind_GetBSP): New prototype.
813 * libgcc-std.ver: Add empty GCC_3.3.2 version.
814 * mkmap-symver.awk: For symbol versions with no exported symbols,
815 don't put anything into version script, just change all symbol
816 versions which inherit from it to inherit from its ancestor.
818 2003-09-04 Eric Christopher <echristo@redhat.com>
820 * config/mips/mips.c (mips_expand_prologue): Convert to
821 calls.struct_value_rtx hook.
822 (reg_or_const_float_1_operand): New.
823 * config/mips/mips.h: Update Comments.
824 (mips_arg): Add reg_or_const_float_1_operand.
825 * config/mips/mips.md (divdf3); Convert to expander.
827 (*divdf3): New pattern.
830 2003-09-04 Jan Hubicka <jh@suse.cz>
832 * toplev.c (wrapup_global_declarations): Fix final pass in
835 2003-09-04 Mark Mitchell <mark@codesourcery.com>
837 * doc/extend.texi: Document removal of cast-as-lvalue extension in
840 2003-09-04 Nicolas Roche <roche@act-europe.fr>
842 * gcc.c (process_command): Fix typo.
844 2003-09-03 David O'Brien <obrien@FreeBSD.org>
847 * config/i386/freebsd.h (SIZE_TYPE): Support TARGET_64BIT.
848 (PTRDIFF_TYPE): Likewise.
849 (WCHAR_TYPE_SIZE): Likewise.
851 2003-09-03 DJ Delorie <dj@redhat.com>
853 * targhooks.c: New file.
854 * targhooks.h: New file.
855 * Makefile.in: Add targhooks.o support.
856 (function.o): Depend on$(TARGET_H).
858 (combine.o): Depend on $(TREE_H) and $(TARGET_H).
859 * builtins.c (apply_args_size, expand_builtin_apply_args_1,
860 expand_builtin_apply): Convert to calls.struct_value_rtx hook.
861 (expand_builtin_saveregs): Convert to
862 calls.expand_builtin_saveregs hook.
863 * c-decl.c (start_decl): Handle new calls.promote_prototypes hook
865 (get_parm_info) ... here.
866 (store_parm_decls_oldstyle): Convert to calls.promote_prototypes
868 (finish_function): Handle calls.promote_prototypes hook here too.
869 * c-typeck.c (convert_arguments): Convert to
870 calls.promote_prototypes hook.
871 (c_convert_parm_for_inlining): Likewise.
872 * calls.c (initialize_argument_information): Convert to
873 calls.promote_function_args hook.
874 (expand_call): Convert to calls.struct_value_rtx,
875 calls.strict_argument_naming,
876 calls.pretend_outgoing_varargs_named, and
877 calls.promote_function_return hooks. Pass fndecl to
878 aggregate_value_p. Initialize CUMULATIVE_ARGS before calling
879 hooks, so they can use that.
880 (emit_library_call_value_1): Likewise.
881 * combine.c (setup_incoming_promotions): Convert to
882 calls.promote_function_args hook.
883 * emit-rtl.c: Convert to calls.struct_value_rtx hook.
884 * expr.c (expand_assignment): Pass call to aggregate_value_p.
885 (expand_expr): Likewise.
886 * expr.h: Remove support for SETUP_INCOMING_VARARGS,
887 STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
888 RETURN_IN_MEMORY macro defaults.
889 * final.c (profile_function): Convert to calls.struct_value_rtx
891 * function.c (aggregate_value_p): Accept function type tree as
892 second parameter; try to deduce fntype from it. Convert to
893 calls.return_in_memory hook.
894 (assign_parms): Convert to calls.setup_incoming_varargs,
895 calls.strict_argument_naming, calls.promote_function_args,
896 calls.pretend_outgoing_varargs_named hooks. Pass fndecl to
898 (expand_function_start): Likewise. Convert to
899 calls.struct_value_rtx hook.
900 (expand_function_end): Convert to calls.promote_function_return hook.
901 (allocate_struct_function): Pass fndecl to aggregate_value_p.
902 * hard-reg-set.h: Update comments to new hook names.
903 * integrate.c (expand_inline_function): Pass fndecl to aggregate_value_p.
904 * reg-stack.c (stack_result): Likewise.
905 * rtl.h (struct_value_rtx, struct_value_incoming_rtx): Delete.
906 * stmt.c (expand_value_return): Convert to
907 calls.promote_function_return hook.
908 * target-def.h: Add TARGET_PROMOTE_FUNCTION_ARGS,
909 TARGET_PROMOTE_FUNCTION_RETURN, TARGET_PROMOTE_PROTOTYPES,
910 TARGET_STRUCT_VALUE_RTX, TARGET_RETURN_IN_MEMORY,
911 TARGET_EXPAND_BUILTIN_SAVEREGS, TARGET_SETUP_INCOMING_VARARGS,
912 TARGET_STRICT_ARGUMENT_NAMING,
913 TARGET_PRETEND_OUTGOING_VARARGS_NAMED, and TARGET_CALLS.
914 * target.h: Likewise.
915 * tree.h (aggregate_value_p): Also takes a tree to deduce function
916 attributes from (for target hooks).
917 * doc/tm.texi (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN,
918 PROMOTE_PROTOTYPES, RETURN_IN_MEMORY, STRUCT_VALUE_REGNUM,
919 STRUCT_VALUE, STRUCT_VALUE_INCOMING_REGNUM, STRUCT_VALUE_INCOMING,
920 EXPAND_BUILTIN_SAVEREGS, SETUP_INCOMING_VARARGS,
921 STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED): Convert
924 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Pass function
925 to aggregate_value_p.
926 * config/arm/arm.c (arm_init_cumulative_args,
927 arm_output_mi_thunk): Likewise.
928 * config/i386/i386.c (ix86_return_pops_args, x86_this_parameter):
930 * config/mips/mips.c (mips_save_reg_p, mips_expand_prologue,
931 mips_can_use_return_insn): Likewise.
932 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
933 * config/s390/s390.c (s390_output_mi_thunk): Likewise.
934 * config/sparc/sparc.c (sparc_output_mi_thunk): Pass function to
936 * config/story16/stormy16.c (xstormy16_asm_output_mi_thunk): Pass
937 function to aggregate_value_p.
938 * objc/objc-act.c (generate_struct_by_value_array): Pass NULL to
941 * config/sh/sh-protos.h (sh_builtin_saveregs): Remove.
942 (sh_attr_renesas_p, sh_cfun_attr_renesas_p, sh_function_arg,
943 sh_function_arg_advance, sh_pass_in_reg_p): New. * config/sh/sh.c
944 (sh_handle_renesas_attribute, sh_promote_prototypes,
945 sh_struct_value_rtx, sh_return_in_memory, sh_builtin_saveregs,
946 sh_setup_incoming_varargs, sh_strict_argument_naming,
947 sh_pretend_outgoing_varargs_named): New decls.
948 (targetm): Add new hooks.
949 (calc_live_regs): Save MACL and MACH if the function has the
951 (sh_expand_prologue): Support renesas attribute.
952 (sh_builtin_saveregs): Make static.
953 (sh_build_va_list): Support renesas attribute.
954 (sh_va_start): Likewise.
955 (sh_va_arg): Likewise.
956 (sh_promote_prototypes): New.
957 (sh_function_arg): New, moved from sh.h. Support renesas
959 (sh_function_arg_advance): Likewise.
960 (sh_return_in_memory): Likewise.
961 (sh_strict_argument_naming): Likewise.
962 (sh_pretend_outgoing_varargs_named): Likewise.
963 (sh_struct_value_rtx): New.
964 (sh_attribute): Add renesas attribute.
965 (sh_handle_renesas_attribute): New.
966 (sh_attr_renesas_p, sh_cfun_attr_renesas_p): New.
967 (sh_ms_bitfield_layout_p): Support renesas attribute also.
968 (sh_output_mi_thunk): Pass function to aggregate_value_p. *
969 config/sh/sh.h (TARGET_SWITCHES): Add -mrenesas as an alias for
971 (STRUCT_VALUE_REGNUM, STRUCT_VALUE, RETURN_IN_MEMORY): Moved to
973 (sh_args): Add renesas_abi flag.
974 (INIT_CUMULATIVE_ARGS): Set it. Pass fndecl to aggregate_value_p.
975 (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Move to sh.c.
976 (PASS_IN_REG_P): Support renesas attribute. Pass DF and TF on the
977 stack for the renesas abi.
978 (STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
979 SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS,
980 PROMOTE_PROTOTYPES): Moved to sh.c. * config/sh/sh.md (call): Set
981 call cookie to indicate renesas calls.
983 2003-09-03 Mostafa Hagog <mustafa@il.ibm.com>
985 * gcse.c (replace_one_set): New function.
986 (pre_insert_copy_insn): Change the order of copying
987 to make copy propagation discover additional PRE opportunities.
989 2003-09-03 Roger Sayle <roger@eyesopen.com>
991 PR optimization/11700.
992 * simplify-rtx.c (simplify_subreg): Check that the subreg offset
993 of a hard register is representable before trying to simplify it
994 using subreg_hard_regno.
996 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
998 * configure.in (gcc_cv_ld_hidden): Disable unless using GNU ld.
999 * configure: Regenerate.
1001 2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1003 * intl.h (N_): Remove parentheses.
1005 2003-09-03 Bernardo Innocenti <bernie@develer.com>
1007 * config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.
1008 * config/i370/linux.h (LINUX_DEFAULT_ELF): Remove unconditional
1009 definition and code blocks compiled when not defined.
1010 * config/i386/linux.h (LINUX_DEFAULT_ELF): Likewise.
1011 * config/i386/linux64.h (LINUX_DEFAULT_ELF): Likewise.
1012 * config/sparc/linux.h: (LINUX_DEFAULT_ELF): Likewise.
1013 * config/sparc/linux64.h: (LINUX_DEFAULT_ELF): Likewise.
1015 2003-09-03 Jeff Sturm <jsturm@one-point.com>
1017 * cgraphunit.c (visited_nodes): New static variable.
1018 (record_call_1): Use walk_tree with visited_nodes.
1019 (cgraph_create_edges): Use walk_tree with visited_nodes.
1020 Setup/teardown visited_nodes hashtable.
1022 2003-09-03 Roger Sayle <roger@eyesopen.com>
1024 * toplev.c (flag_rounding_math): New global variable.
1025 (f_options): Add to the list of language independent options.
1026 * flags.h (flag_rounding_math): Prototype here.
1027 (HONOR_SIGN_DEPENDENT_ROUNDING): Use flag_rounding_math instead.
1028 * common.opt (frounding-math): New common command line option.
1029 * opts.c (common_handle_option): Handle OPT_frounding_math.
1030 (set_fast_math_flags): -ffast-math clears flag_rounding_math.
1032 * doc/invoke.texi: Document this new command line option.
1034 2003-09-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1036 * config/sol2.h (NO_IMPLICIT_EXTERN_C): Update comment.
1038 2003-09-03 Jan Hubicka <jh@suse.cz>
1040 * Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency.
1041 * c-decl.c (finish_function): Kill arguments, always use cgraph path.
1042 * c-objc-common.c: Kill include of gt-c-objc-common.h
1043 (expand_deferred_fns, deffer_fn): Kill function.
1044 (deferred_fns): Kill variable.
1045 (finish_cdtor): Update finish_function call.
1046 (c_objc_common_finish_file): Always call cgraph code.
1047 * c-parse.c: Regenerate.
1048 * c-parse.y: Regenerate.
1049 * c-tree.h (finish_function): Update prototype.
1050 * objc-acct.c (build_module_descriptor, finish_method_def):
1051 Update call of finish_function.
1052 * cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add
1054 (cgraph_finalize_function): In non-unit-at-a-time mode analyze the
1055 function and assemble it if needed.
1056 (cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time
1058 (cgraph_optimize): Likewise.
1059 (cgraph_expand_function): In non-unit-at-a-time mode keep function body
1060 even when it has no inline callees.
1061 * c-parse.in: Update calls to finish_function.
1063 2003-09-03 Nick Clifton <nickc@redhat.com>
1065 * config/arm/arm.h: Handle TARGET_CPU_iwmmxt.
1066 Use #error to generate the message if TARGET_DEFAULT is not
1069 2003-09-03 Richard Sandiford <rsandifo@redhat.com>
1071 * config/mips/mips.h (MASK_UNUSED1): Remove.
1072 (MASK_XGOT, TARGET_XGOT): Define.
1073 (TARGET_SWITCHES): Add an entry for -mxgot.
1074 (ASM_SPEC): Map -mxgot to -xgot.
1075 * config/mips/mips.c (mips_symbol_insns): Use TARGET_XGOT to decide
1076 whether we're using a big-GOT sequences.
1077 (mips_legitimize_const_move, mips_expand_call): Likewise.
1078 (override_options): Revert 2003-01-09 change.
1079 * doc/invoke.texi: Document -mxgot.
1081 2003-09-02 Jason Merrill <jason@redhat.com>
1083 * config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
1084 * config/sparc/sol2.h: Not here.
1086 2003-09-02 Roger Sayle <roger@eyesopen.com>
1088 * expr.c (expand_expr): The code following both_summands performs
1089 the same task as simplify_gen_binary. Replace all gotos to
1090 both_summands with a call to simplify_gen_binary and delete the
1093 2003-09-02 Jason Merrill <jason@redhat.com>
1096 * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
1098 2003-09-02 Jeff Sturm <jsturm@one-point.com>
1100 * cgraphunit.c (record_call_1): Use walk_tree_without_duplicates.
1101 (cgraph_optimize_function): Set current_function_decl to the
1102 fndecl we're integrating from.
1104 2003-09-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1106 * builtins.def: Break out _Complex math functions into their
1109 2003-09-02 Andreas Jaeger <aj@suse.de>
1111 * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly.
1113 2003-09-02 Josef Zlomek <zlomekj@suse.cz>
1115 * cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of
1116 finding the note again.
1118 2003-09-02 Nathanael Nerode <neroden@gcc.gnu.org>
1120 * config.gcc: Remove host-specific rewrites of target_alias.
1122 2003-09-01 Mark Mitchell <mark@codesourcery.com>
1124 * Makefile.in (genprogs): Fix typo.
1126 * Makefile.in (gencheck.o): Remove build commands.
1127 (dummy-conditions.o): Likewise.
1128 (read-rtl.o): Likewise.
1129 (gensupport.o): Likewise.
1130 (genconfig$(build_exeext)): Remove rule.
1131 (genconfig.o): Remove build commands.
1132 (genflags$(build_exeext)): Remove rule.
1133 (genflags.o): Remove build commands.
1134 (gencodes$(build_exeext)): Remove rule.
1135 (gencodes.o): Remove build commands.
1136 (genconstants.o): Remove build commands.
1137 (genemit$(build_exeext)): Remove rule.
1138 (genemit.o): Remove build commands.
1139 (genrecog$(build_exeext)): Remove rule.
1140 (genrecog.o): Remove build commands.
1141 (genextract$(build_exeext)): Remove rule.
1142 (genextract.o): Remove build commands.
1143 (genpeep$(build_exeext)): Remove rule.
1144 (genpeep.o): Remove build commands.
1145 (genattr$(build_exeext)): Remove rule.
1146 (genattr.o): Remove build commands.
1147 (genprognames): New variable.
1148 (genprogs): Likewise.
1149 (genobjs): Likewise.
1150 (genprogs): New rule.
1151 (genobjs): Likewise.
1152 (genattrtab.o): Remove build commands.
1153 (genautomata.o): Likewise.
1154 (genoutput$(build_exeext)): Remove rule.
1155 (genoutput.o): Remove build commands.
1156 (gengenrtl.o): Likewise.
1157 (genpreds.o): Likewise.
1158 (gengtype.o): Likewise.
1159 (genconditions.o): Likewise.
1160 (gen-protos.o): Likewise.
1162 (fix-header.o): Likewise.
1163 (scan-decls.o): Likewise.
1164 (check-g++): Combine with other check targets.
1165 (check-gcc): Likewise.
1166 (check-g77): Likewise.
1167 (check-objc): Likewise.
1169 2003-09-01 Nathanael Nerode <neroden@gcc.gnu.org>
1171 * config.gcc: Remove host-specific stuff which is unused here
1172 since the introduction of config.host.
1174 * doc/fragments.texi: Mention config.host.
1175 * doc/sourcebuild.texi: Mention config.host. Give brief descriptions
1176 of config.build, config.host, and config.gcc.
1178 2003-09-01 Zack Weinberg <zack@codesourcery.com>
1180 * c-decl.c (pushdecl): Don't put variables on
1181 C_TYPE_INCOMPLETE_VARS of a type unless that type is itself
1184 2003-09-01 Nathanael Nerode <neroden@gcc.gnu.org>
1186 * config.host: New file.
1187 * config.gcc: Remove some host-specific stuff and some
1188 logic needed only for repeated invocation.
1189 * configure.in: Use config.host.
1190 * configure: Regenerate.
1192 2003-09-01 Josef Zlomek <zlomekj@suse.cz>
1194 * c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.
1195 * convert.c (convert_to_integer): Kill BIT_ANDTC_EXPR.
1196 * fold-const.c (int_const_binop): Kill BIT_ANDTC_EXPR.
1197 (fold): Kill BIT_ANDTC_EXPR and label bit_and.
1198 * tree.def (BIT_ANDTC_EXPR): Kill.
1200 2003-08-31 Nathanael Nerode <neroden@gcc.gnu.org>
1202 * configure.in: Remove uses of "for x in .. ${foo}" idiom.
1203 * configure: Regenerate.
1205 * config.gcc: Remove references to install_headers_dir, now unused
1206 since introduction of config.build.
1207 * config.gcc (i860-*-sysv4*): Don't set unused USG, SVR3 defines.
1209 * doc/fragments.texi, doc/sourcebuild.texi: Mention new file
1212 * config.build: New file.
1213 * config.gcc: Remove some build-specific stuff.
1214 * configure.in: Use config.build.
1215 * configure: Regnerate.
1217 2003-08-31 Steven Bosscher <steven@gcc.gnu.org>
1218 Roger Sayle <roger@eyesopen.com>
1221 * stmt.c (expand_end_case_type): Only use jump tables for dense
1222 switch statements when optimizing for size.
1224 2003-08-31 Olivier Hainque <hainque@act-europe.fr>
1226 * builtins.c (expand_builtin_setjmp): Use emit_jump to jump around
1227 the != 0 case, which ensures pending stack adjustments are flushed.
1229 2003-08-30 Zack Weinberg <zack@codesourcery.com>
1231 * configure.frag: Delete file.
1232 * configure.in: Rename the substitution variables
1233 dep_host_xmake_file and dep_tmake_file to xmake_file and
1234 tmake_file respectively. Do not expand $srcdir in the
1235 value of these; leave that for Make. Introduce a new
1236 substitution varaible, all_lang_makefrags, which lists
1237 subdirectory Make-lang.in files; exclude these from
1238 all_lang_makefiles, which is now only for subdirectory
1239 outputs. Do not invoke configure.frag. Do not set nor
1240 AC_SUBST_FILE target_overrides, host_overrides, or
1241 language_fragments. Create build subdirectories in
1242 config.status extra commands.
1243 * configure: Regenerate.
1244 * Makefile.in: Update substitutions to match changes to
1245 configure. Use include directives instead of @-insertions
1246 to read in host, target, and language fragments.
1247 (Makefile rule): Do not invoke configure.frag. Do not copy
1248 config.status to config.run before executing it. Set
1249 CONFIG_HEADERS and CONFIG_FILES so that only Makefile gets
1251 (cstamp-h rule): Set CONFIG_FILES as well as CONFIG_HEADERS.
1253 2003-08-30 Zack Weinberg <zack@codesourcery.com>
1255 * c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration.
1256 * c-typeck.c (same_translation_unit_p): New function.
1257 (comptypes): Use it instead of flags parameter to identify
1258 structure types from different translation units.
1259 * c-decl.c (duplicate_decls): Always call comptypes with
1260 COMPTYPE_STRICT flags argument.
1261 (c_reset_state): Set BLOCK_SUPERCONTEXT of the block formed
1264 2003-08-30 Zack Weinberg <zack@codesourcery.com>
1266 * c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro.
1267 * c-decl.c (struct c_scope): Remove "incomplete" field.
1268 (pushdecl): Attach variables with incomplete types to
1269 the TYPE_MAIN_VARIANT of the incomplete type in question.
1270 (finish_struct): Look at C_TYPE_INCOMPLETE_VARS for variables
1271 to complete, not at current_scope->incomplete. All such
1272 variables do need completion.
1274 2003-08-30 Richard Earnshaw <rearnsha@arm.com>
1275 Nicolas Pitre <nico@cam.org>
1277 * arm/lib1funcs.asm (RETCOND): Delete.
1278 (RETLDM): New assembler macro. Use it for returning with ldm/ldr.
1279 (ARM_LDIV0, THUMB_LDIV0): Collapse multiple definitions.
1280 (__ARM_ARCH__): Move here from ieee754-?f.S.
1281 (RET, RETc): Clean up definitions.
1282 (DIV_FUNC_END): Renamed from FUNC_END. All uses changed.
1283 (FUNC_END): New macro that marks the end of any function.
1284 (ARM_FUNC_START): New macro that allows an assembler routine to be
1285 implemented in ARM code even if a Thumb-only build.
1286 Unconditionally include ieee754-?f.S.
1287 * arm/ieee754-df.S: Delete macros moved to lib1funcs.asm.
1288 Mark ends of functions.
1289 Split into separate conditionally-compiled units.
1290 Use RETLDM to return from routines.
1291 * arm/ieee754-sf.S: Similarly.
1292 * t-arm-elf (LIB1ASMFUNCS): Remove _ieee754_dp and _ieee754_sp.
1293 Add _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
1294 _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2
1295 _fixsfsi and _fixunssfsi.
1297 * arm/ieee754-df.S (__muldf3): Fix bug when result of a
1298 multiplication underflows to zero.
1299 (__adddf3): Fix bug when using VFP ordering on little-endian
1301 (__fixdfsi): Use rrx to extract the carry into a register instead of
1302 MRS instruction. Optimize later use of result.
1303 * arm/ieee754-sf.S (__fixsfsi): Likewise.
1304 (__fixunssfsi): Use a better sequence for handling negative-or-zero.
1306 2003-08-29 Richard Henderson <rth@redhat.com>
1308 * tree-optimize.c: New file.
1309 * Makefile.in (OBJS-archive): Add tree-optimize.o.
1310 (tree-optimize.o): New.
1311 * c-decl.c (store_parm_decls): Use allocate_struct_function.
1312 (finish_function): Don't free_after_parsing or free_after_compilation.
1313 (set_save_expr_context): Move to tree-optimize.c.
1314 (c_expand_body_1): Use tree_rest_of_compilation.
1315 * c-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
1316 * objc/objc-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
1317 * c-objc-common.c (expand_deferred_fns): Don't emit unused inlines;
1318 iterate until closure.
1319 * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_START,
1320 LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_RTL_EXPAND_END): New.
1321 (LANG_HOOKS_RTL_EXPAND_INITIALIZER): New.
1322 * langhooks.h (struct lang_hooks_for_rtl_expansion): New.
1323 * toplev.h (tree_rest_of_compilation): Declare it.
1325 2003-08-29 Richard Henderson <rth@redhat.com>
1327 * function.h (struct function): Add rtl_inline_init, saved_for_inline.
1328 * integrate.c (save_for_inline): Set saved_for_inline.
1329 * c-semantics.c (genrtl_scope_stmt): Check it.
1330 * toplev.c (wrapup_global_declarations): Check it.
1331 (rest_of_handle_inlining): Set and check rtl_inline_init.
1332 (rest_of_compilation): Remove out of date comment.
1334 2003-08-29 Richard Henderson <rth@redhat.com>
1336 * function.c (allocate_struct_function): New, split out of ...
1337 (prepare_function_start, init_function_start): ... here.
1338 * expr.c (init_expr): Use ggc_alloc_cleared.
1339 * stmt.c (init_stmt_for_function): Likewise.
1340 * tree.h (allocate_struct_function): Declare.
1342 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
1344 * config.gcc: Don't use negated character class in shell case
1347 2003-08-29 Richard Henderson <rth@redhat.com>
1349 * function.h (struct function): Move function_frequency and
1350 max_jumptable_ents before start of bit field members.
1352 2003-08-29 Richard Henderson <rth@redhat.com>
1354 * builtins.c (expand_builtin_constant_p): Check cse_not_expected here,
1355 (fold_builtin_constant_p) ... not here.
1357 2003-08-29 Richard Henderson <rth@redhat.com>
1359 * c-tree.h (C_DECL_FILE_SCOPE): Move ...
1360 * tree.h (DECL_FILE_SCOPE_P): ... here, and rename.
1361 * c-decl.c, c-objc-common.c, c-typeck.c: Update to match.
1363 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1365 * builtins.def: Fix typos.
1366 (ATTR_MATHFN_FPROUNDING_STORE): New macro.
1367 (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL, BUILT_IN_MODF,
1368 BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO, BUILT_IN_REMQUOF,
1369 BUILT_IN_REMQUOL, BUILT_IN_SINCOS, BUILT_IN_SINCOSF,
1370 BUILT_IN_SINCOSL): Use ATTR_MATHFN_FPROUNDING_STORE.
1372 * builtins.def (BUILT_IN_ERFC, BUILT_IN_ERFCF, BUILT_IN_ERFCL):
1373 Use ATTR_MATHFN_FPROUNDING_ERRNO.
1375 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
1377 * config.gcc (i386-*-vsta): Fix obvious bogosity.
1379 * fixinc/inclhack.def: Remove special cases for unsupported
1380 PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
1381 * fixinc/fixincl.x: Regenerate.
1383 2003-08-29 Mark Mitchell <mark@codesourcery.com>
1385 * Makefile.in (cpp.info): Just state dependencies.
1386 (gcc.info): Likewise.
1387 (gccint.info): Likewise.
1388 (gccinstall.info): Likewise.
1389 (cppinternals.info): Likewise.
1390 (cpp.dvi): Likewise.
1391 (gcc.dvi): Likewise.
1392 (gccint.dvi): Likewise.
1393 (gccinstall.dvi): Likewise.
1394 (cppinternals.dvi): Likewise.
1400 (fsf-funding.7): Likewise.
1401 ($(objdir)/%.info): New pattern rule.
1404 2003-08-29 Kelley Cook <kelleycook@wideopenwest.com>
1406 * Makefile.in (restage1): Pass BOOT_CFLAGS to recursive make.
1407 (restage2): Likewise.
1408 (restage3): Likewise.
1409 (restage4): Likewise.
1410 (restageprofile): Likewise.
1411 (restagefeedback): Likewise.
1412 (bubblestrap): Likewise.
1414 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
1416 * config.gcc: Narrow unsupported target match to avoid clobbering
1417 i?86-sequent-sysv4*.
1419 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1421 * builtins.c (mathfn_built_in): Handle new math builtins.
1423 2003-08-28 Per Bothner <per@bothner.com>
1425 Fix (hopefully temporary) for breakage caused by my 08-21 patch.
1426 * cpplex.c (_cpp_get_fresh_line): Check for null buffer.
1427 (_cpp_lex_buffer): Likewise.
1428 * cpptrad.c (_cpp_read_logical_line_trad): Likewise.
1430 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
1432 * config/s390/s390.md ("*mulsi3_sign"): New insn.
1433 ("mulsidi3" expander, "mulsi_6432" insn): Remove, replace by ...
1434 ("mulsidi3"): ... this new insn.
1435 ("umulsidi3"): New insn.
1436 ("divmoddi3", "divmodtidi3", "divmodtisi3"): Simplify by using
1437 mixed-mode matching constraints.
1438 ("udivmodsi4", "udivmoddisi3"): New insns.
1439 ("udivsi3", "umodsi3"): Use only in ESA/390 mode.
1441 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1443 * builtin-types.def (BT_INT_PTR, BT_FLOAT_PTR, BT_DOUBLE_PTR,
1444 BT_LONGDOUBLE_PTR, BT_FN_FLOAT_FLOAT_FLOATPTR,
1445 BT_FN_DOUBLE_DOUBLE_DOUBLEPTR,
1446 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLEPTR,
1447 BT_FN_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_INTPTR,
1448 BT_FN_LONGDOUBLE_LONGDOUBLE_INTPTR,
1449 BT_FN_FLOAT_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_DOUBLE_INTPTR,
1450 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_INTPTR,
1451 BT_FN_VOID_FLOAT_FLOATPTR_FLOATPTR,
1452 BT_FN_VOID_DOUBLE_DOUBLEPTR_DOUBLEPTR,
1453 BT_FN_VOID_LONGDOUBLE_LONGDOUBLEPTR_LONGDOUBLEPTR): New.
1454 * builtins.def (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL,
1455 BUILT_IN_MODF, BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO,
1456 BUILT_IN_REMQUOF, BUILT_IN_REMQUOL, BUILT_IN_SINCOS,
1457 BUILT_IN_SINCOSF, BUILT_IN_SINCOSL): New.
1458 * tree.c: Assign new type_nodes.
1459 * tree.h (tree_index): Add TI_FLOAT_PTR_TYPE, TI_DOUBLE_PTR_TYPE,
1460 TI_LONG_DOUBLE_PTR_TYPE, TI_INTEGER_PTR_TYPE.
1461 (float_ptr_type_node, double_ptr_type_node,
1462 long_double_ptr_type_node, integer_ptr_type_node): New type_nodes.
1464 * doc/extend.texi: Document new builtins.
1466 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1468 * builtin-types.def (BT_FN_FLOAT_INT_FLOAT,
1469 BT_FN_DOUBLE_INT_DOUBLE, BT_FN_LONGDOUBLE_INT_LONGDOUBLE): New.
1471 * builtins.def (BUILT_IN_ERF, BUILT_IN_ERFC, BUILT_IN_ERFCF,
1472 BUILT_IN_ERFCL, BUILT_IN_ERFF, BUILT_IN_ERFL, BUILT_IN_GAMMA,
1473 BUILT_IN_GAMMAF, BUILT_IN_GAMMAL, BUILT_IN_J0, BUILT_IN_J0F,
1474 BUILT_IN_J0L, BUILT_IN_J1, BUILT_IN_J1F, BUILT_IN_J1L,
1475 BUILT_IN_JN, BUILT_IN_JNF, BUILT_IN_JNL, BUILT_IN_LGAMMA,
1476 BUILT_IN_LGAMMAF, BUILT_IN_LGAMMAL, BUILT_IN_SIGNIFICAND,
1477 BUILT_IN_SIGNIFICANDF, BUILT_IN_SIGNIFICANDL, BUILT_IN_TGAMMA,
1478 BUILT_IN_TGAMMAF, BUILT_IN_TGAMMAL, BUILT_IN_Y0, BUILT_IN_Y0F,
1479 BUILT_IN_Y0L, BUILT_IN_Y1, BUILT_IN_Y1F, BUILT_IN_Y1L,
1480 BUILT_IN_YN, BUILT_IN_YNF, BUILT_IN_YNL): New.
1482 * doc/extend.texi: Document new builtins.
1484 2003-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1486 * fixinc/mkfixinc.sh: Remove special case code for unsupported
1487 variants of i?86, powerpcle, and thumb.
1488 * fixinc/mkfixinc.sh: Remove special case code for unsupported
1489 arm and hppa variants.
1491 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1493 * builtin-types.def (BT_FN_INT_FLOAT, BT_FN_INT_DOUBLE,
1494 BT_FN_INT_LONGDOUBLE, BT_FN_LONG_FLOAT, BT_FN_LONG_DOUBLE,
1495 BT_FN_LONG_LONGDOUBLE, BT_FN_LONGLONG_FLOAT,
1496 BT_FN_LONGLONG_DOUBLE, BT_FN_LONGLONG_LONGDOUBLE,
1497 BT_FN_FLOAT_FLOAT_LONGDOUBLE, BT_FN_DOUBLE_DOUBLE_LONGDOUBLE,
1498 BT_FN_FLOAT_FLOAT_INT, BT_FN_DOUBLE_DOUBLE_INT,
1499 BT_FN_LONGDOUBLE_LONGDOUBLE_INT, BT_FN_FLOAT_FLOAT_LONG,
1500 BT_FN_DOUBLE_DOUBLE_LONG, BT_FN_LONGDOUBLE_LONGDOUBLE_LONG,
1501 BT_FN_FLOAT_FLOAT_FLOAT_FLOAT, BT_FN_DOUBLE_DOUBLE_DOUBLE_DOUBLE,
1502 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE): New.
1504 * builtins.def (BUILT_IN_ACOS, BUILT_IN_ACOSF, BUILT_IN_ACOSH,
1505 BUILT_IN_ACOSHF, BUILT_IN_ACOSHL, BUILT_IN_ACOSL, BUILT_IN_ASIN,
1506 BUILT_IN_ASINF, BUILT_IN_ASINH, BUILT_IN_ASINHF, BUILT_IN_ASINHL,
1507 BUILT_IN_ASINL, BUILT_IN_ATANH, BUILT_IN_ATANHF, BUILT_IN_ATANHL,
1508 BUILT_IN_CBRT, BUILT_IN_CBRTF, BUILT_IN_CBRTL, BUILT_IN_COPYSIGN,
1509 BUILT_IN_COPYSIGNF, BUILT_IN_COPYSIGNL, BUILT_IN_COSH,
1510 BUILT_IN_COSHF, BUILT_IN_COSHL, BUILT_IN_DREM, BUILT_IN_DREMF,
1511 BUILT_IN_DREML, BUILT_IN_EXP10, BUILT_IN_EXP10F, BUILT_IN_EXP10L,
1512 BUILT_IN_EXP2, BUILT_IN_EXP2F, BUILT_IN_EXP2L, BUILT_IN_EXPM1,
1513 BUILT_IN_EXPM1F, BUILT_IN_EXPM1L, BUILT_IN_FDIM, BUILT_IN_FDIMF,
1514 BUILT_IN_FDIML, BUILT_IN_FMA, BUILT_IN_FMAF, BUILT_IN_FMAL,
1515 BUILT_IN_FMAX, BUILT_IN_FMAXF, BUILT_IN_FMAXL, BUILT_IN_FMIN,
1516 BUILT_IN_FMINF, BUILT_IN_FMINL, BUILT_IN_HYPOT, BUILT_IN_HYPOTF,
1517 BUILT_IN_HYPOTL, BUILT_IN_ILOGB, BUILT_IN_ILOGBF, BUILT_IN_ILOGBL,
1518 BUILT_IN_LDEXP, BUILT_IN_LDEXPF, BUILT_IN_LDEXPL, BUILT_IN_LLRINT,
1519 BUILT_IN_LLRINTF, BUILT_IN_LLRINTL, BUILT_IN_LLROUND,
1520 BUILT_IN_LLROUNDF, BUILT_IN_LLROUNDL, BUILT_IN_LOG10,
1521 BUILT_IN_LOG10F, BUILT_IN_LOG10L, BUILT_IN_LOG1P, BUILT_IN_LOG1PF,
1522 BUILT_IN_LOG1PL, BUILT_IN_LOG2, BUILT_IN_LOG2F, BUILT_IN_LOG2L,
1523 BUILT_IN_LOGB, BUILT_IN_LOGBF, BUILT_IN_LOGBL, BUILT_IN_LRINT,
1524 BUILT_IN_LRINTF, BUILT_IN_LRINTL, BUILT_IN_LROUND,
1525 BUILT_IN_LROUNDF, BUILT_IN_LROUNDL, BUILT_IN_NEXTAFTER,
1526 BUILT_IN_NEXTAFTERF, BUILT_IN_NEXTAFTERL, BUILT_IN_NEXTTOWARD,
1527 BUILT_IN_NEXTTOWARDF, BUILT_IN_NEXTTOWARDL, BUILT_IN_POW10,
1528 BUILT_IN_POW10F, BUILT_IN_POW10L, BUILT_IN_REMAINDER,
1529 BUILT_IN_REMAINDERF, BUILT_IN_REMAINDERL, BUILT_IN_RINT,
1530 BUILT_IN_RINTF, BUILT_IN_RINTL, BUILT_IN_SCALB, BUILT_IN_SCALBF,
1531 BUILT_IN_SCALBL, BUILT_IN_SCALBLN, BUILT_IN_SCALBLNF,
1532 BUILT_IN_SCALBLNL, BUILT_IN_SCALBN, BUILT_IN_SCALBNF,
1533 BUILT_IN_SCALBNL, BUILT_IN_SINH, BUILT_IN_SINHF, BUILT_IN_SINHL,
1534 BUILT_IN_TANH, BUILT_IN_TANHF, BUILT_IN_TANHL): New.
1536 * doc/extend.texi: Document new builtins.
1538 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
1540 * config/s390/s390.c (legitmate_constant_p): Use LARL on
1541 zSeries machines even in 31-bit addressing mode.
1542 (legitimate_reload_constant_p): Likewise.
1543 (legitimize_pic_address): Likewise.
1544 (legitimize_tls_address): Likewise.
1545 (s390_split_branches): Likewise.
1546 (s390_dump_pool): Likewise.
1547 (s390_mainpool_finish): Likewise.
1548 (s390_chunkify_start): Likewise.
1549 (s390_select_rtx_section): Likewise.
1550 * config/s390/s390.md ("doloop_si"): Likewise.
1551 ("pool_start_31", "pool_end_31"): Likewise.
1552 ("pool_start_64", "pool_end_64"): Likewise.
1553 ("main_base_31_small", "main_base_31_large"): Likewise.
1554 ("main_base_64"): Likewise.
1555 ("reload_base_31", "reload_base_64"): Likewise.
1556 ("*movsi_larl"): New insn.
1557 ("cjump", "icjump"): Use long branches on zSeries machines.
1559 ("call"): Use BRASL on zSeries machines.
1560 ("call_value", "call_value_tls"): Likewise.
1561 ("brasl", "bras", "basr_64", "basr_31", "bas_64", "bas_31"): Remove
1563 ("*bras", "*brasl", "*basr") ... these new insns.
1564 ("brasl_r", "bras_r", "basr_64_r", "basr_31_r", "bas_64_r",
1565 "bas_31_r"): Remove and replace by ...
1566 ("*bras_r", "*brasl_r", "*basr_r") ... these new insns.
1567 ("brasl_tls", "bras_tls", "basr_64_tls", "basr_31_tls",
1568 "bas_64_tls", "bas_31_tls"): Remove and replace by ...
1569 ("*bras_tls", "*brasl_tls", "*basr_tls") ... these new insns.
1570 ("*return_si", "*return_di"): Remove and replace by ...
1571 ("*return"): ... this new insn.
1572 ("rotlsi3"): Allow on zSeries machines.
1574 * config/s390/s390.c (legitimize_reload_constant_p): Use
1575 LL/LH type instructions in z/Architecture mode.
1576 * config/s390/s390.md ("*movsi_lli"): Likewise.
1577 ("*andsi3_ni", "*andhi3_ni", "*andqi3_ni"): Likewise.
1578 ("*iorsi3_ni", "*iorhi3_ni", "*iorqi3_ni"): Likewise.
1579 ("*extendqisi2"): Use LB in z/Architecture mode.
1580 ("*zero_extendqisi2_64", "*zero_extendqisi2_31"): Use LLGC in
1581 z/Architecture mode.
1582 ("zero_extendqihi2", "*zero_extendqihi2_64", "*zero_extendqihi2_31"):
1585 * config/s390/s390.md ("*tmdi_ext"): Allow in both 64-bit
1587 ("ptr_extend"): Allow only in 64-bit mode.
1589 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1591 * gcc.c (STANDARD_EXEC_PREFIX, STANDARD_STARTFILE_PREFIX)
1592 (TOOLDIR_BASE_PREFIX, STANDARD_BINDIR_PREFIX): Remove unnecessary
1594 (main): Only use standard_startfile_prefix if native.
1595 * doc/tm.texi (STANDARD_STARTFILE_PREFIX): Update.
1597 2003-08-27 Per Bothner <pbothner@apple.com>
1599 * cpperror.c (print_location): Don't check for !pfile->buffer. That
1600 test fails following my 08-21 change, and it seems unnecessary anyway.
1601 (cpp_error): Likewise.
1603 2003-08-27 Jason Merrill <jason@redhat.com>
1605 * real.c (do_multiply): Initialize with memset.
1607 2003-08-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1609 * gcov.c (typedef struct arc_info): New field cs_count.
1610 (accumulate_line_counts): Find cycles correctly.
1612 2003-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1614 * config/s390/s390.c (struct machine_function): Remove member
1616 (s390_optimize_prolog): Replace TEMP_REG argument with
1617 TEMP_USED and BASE_USED. Do not check get_pool_size ().
1618 (general_s_operand): Accept all immediates before reload if
1619 ALLOW_IMMEDIATE. If not ALLOW_IMMEDIATE, reject literal pool
1621 (s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling.
1622 (find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns.
1623 (s390_alloc_pool): New function.
1624 (s390_new_pool): Call it.
1625 (s390_dump_pool): Add REMOTE_LABEL argument.
1626 (s390_chunkify_start): Add BASE_REG argument. Do not check
1628 (s390_chunkify_finish): Add BASE_REG argument. Adapt
1629 s390_dump_pool call.
1630 (s390_pool_count, s390_nr_constants): Remove.
1631 (s390_output_constant_pool): Remove.
1632 (s390_mainpool_start): New function.
1633 (s390_mainpool_finish): New function.
1634 (s390_mainpool_cancel): New function.
1635 (s390_reorg): Implement main literal pool handling.
1636 (s390_emit_prologue): Emit main_pool placeholder instead of
1637 literal_pool_31 / literal_pool_64 insns.
1638 * config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove.
1639 (ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove.
1640 * config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant.
1641 ("main_base_31_small", "main_base_31_large"): New insns.
1642 ("main_base_64", "main_pool"): New insns.
1643 ("literal_pool_31", "literal_pool_64"): Remove.
1645 2003-08-27 Nathanael Nerode <neroden@gcc.gnu.org>
1647 * fixinc/inclhack.def (ptx_netswap): New disabled fix, ported from
1649 * fixinc/inclhack.def (undefine_null): Don't generate \r characters.
1651 * fixinc/fixincl.x: Regenerate.
1653 2003-08-27 Richard Earnshaw <rearnsha@arm.com>
1655 * lib1funcs.asm (L_ieee754_sp): New. Include ieee754-sf.S.
1656 (L_ieee754_dp): New. Include ieee754-df.S.
1657 * arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
1658 and compilation in apcs-26 mode.
1659 * arm/ieee754-df.S: Likewise.
1660 * t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
1661 (LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.
1663 2003-08-27 Nicolas Pitre <nico@cam.org>
1665 * arm/ieee754-sf.S: New.
1666 * arm/ieee754-df.S: New.
1668 2003-08-27 Jakub Jelinek <jakub@redhat.com>
1670 * builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust
1671 and restore it if returning NULL.
1673 2003-08-27 Richard Sandiford <rsandifo@redhat.com>
1675 * calls.c (initialize_argument_information): If an argument has no
1676 stack space associated with it, and BLOCK_REG_PADDING is defined,
1677 use it to decide at which end the argument should be padded.
1678 * function.c (assign_parms): Allocate BLKmode stack slots.
1679 * config/mips/mips-protos.h (mips_pad_arg_upward): Declare.
1680 (mips_pad_reg_upward): Declare.
1681 * config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING.
1682 (CUMULATIVE_ARGS): Remove num_adjusts and adjusts.
1683 (FUNCTION_ARG_PADDING): Use mips_pad_arg_upward.
1684 (BLOCK_REG_PADDING): Use mips_pad_reg_upward.
1685 * config/mips/mips.c (struct mips_arg_info): Remove struct_p.
1686 (mips_expand_call): Remove code for generating structure shifts.
1687 (mips_arg_info): Don't set struct_p. Don't set fpr_p for non-float
1688 types unless using the EABI.
1689 (function_arg_advance): Don't generate shift instructions.
1690 (function_arg): Don't return them. Don't short-circuit the
1691 check for double structure chunks for DFmode arguments.
1692 (mips_pad_arg_upward, mips_pad_reg_upward): New functions.
1693 (mips_expand_prologue): Remove code to emit structure shifts.
1694 * config/mips/irix6-libc-compat.c: Remove workarounds for buggy
1695 structure passing (inet_ntoa, inet_lnaof, inet_netof). Update
1696 comments to say that only structure returns are a problem.
1698 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
1700 * fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
1701 Fix to match produced versions.
1702 * fixinc/inclhack.def (longlong_t): New disabled test, ported
1704 * fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
1706 * fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
1707 ported from fixinc.ptx.
1709 2003-08-26 Per Bothner <pbothner@apple.com>
1711 * cpplib.h (struct cpp_token): Change type of field line to fileline.
1712 (cpp_error_with_line): Use fileline for appropriate parameter.
1713 * cpphash.h (struct cpp_macro): Change type of field line to fileline.
1714 (struct cpp_reader): Likewise for fields line and directive_line.
1715 (_cpp_begin_message): Use fileline for appropriate parameter.
1716 * cpperror.c (print_location, _cpp_begin_message, cpp_error_with_line,
1717 cpp_error): Use fileline for appropriate parameters and variables.
1718 (print_location): New local lin, since it is not a fileline.
1720 2003-08-26 Roger Sayle <roger@eyesopen.com>
1723 * tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros.
1724 (FLOAT_TYPE_P): Define in terms of these two new macros.
1725 * fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0
1726 for complex floating point types.
1728 2003-08-26 Ulrich Weigand <uweigand@de.ibm.com>
1730 * config/s390/s390.c (emit_prologue): Don't check literal pool size.
1731 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call
1732 s390_output_pool_entry.
1734 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
1736 * fixinc/inclhack.def (svr4_preproc_lint_on,
1737 svr4_preproc_lint_off, svr4_preproc_machine): New disabled
1738 fixes, ported from fixinc.svr4.
1740 2003-08-26 Mark Mitchell <mark@codesourcery.com>
1742 * doc/install.texi (Prerequisites): Mention GNU make requirement.
1744 * Makefile.in (AR_FOR_TARGET): Export it.
1745 (AR_CREATE_FOR_TARGET): Likewise.
1746 (AR_FLAGS_FOR_TARGET): Likewise.
1747 (AR_EXTRACT_FOR_TARGET): Likewise.
1749 (BUILD_PREFIX): Likewise.
1750 (BUILD_PREFIX_1): Likewise.
1751 (DESTDIR): Likewise.
1752 (GCC_FOR_TARGET): Likewise.
1753 (INCLUDES): Likewise.
1754 (INSTALL_DATA): Likewise.
1755 (LIB1ASMSRC): Likewise.
1756 (LIBGCC2_CFLAGS): Likewise.
1757 (MACHMODE_H): Likewise.
1758 (NM_FOR_TARGET): Likewise.
1759 (RANLIB_FOR_TARGET): Likewise.
1760 (libsubdir): Likewise.
1761 (slibdir): Likewise.
1762 (ORDINARY_FLAGS_TO_PASS): Remove stuff that we're
1764 (libgcc.a): Don't pass them here.
1765 (stmp-multilib): Or here.
1766 (install-libgcc): Or here.
1767 (install-multilib): Or here.
1768 (POSTSTAGE1_FLAGS_TO_PASS): Or here.
1769 (stage1_build): Or here.
1771 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
1773 * config/s390/s390.md ("*llgt_sisi", "*llgt_sisi_split", "*llgt_didi",
1774 "*llgt_didi_split", "*llgt_sidi", "*llgt_sidi_split"): New insns.
1776 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
1778 * config/s390/s390.md ("*fmadddf", "*fmsubdf",
1779 "*fmaddsf", "*fmsubsf"): New insns.
1781 2003-08-26 Roger Sayle <roger@eyesopen.com>
1783 * fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into
1784 (C1*C2)/X when unsafe math optimizations are allowed.
1785 (fold <RDIV_EXPR>): Optimize C1/(X*C2) into (C1/C2)/X with unsafe
1786 math optimizations. Minor code clean-ups. Recursively call
1787 fold when constructing sub-expressions.
1789 2003-08-26 Roger Sayle <roger@eyesopen.com>
1791 * builtins.c (fold_builtin_bitop): New function to perform constant
1792 folding of ffs, clz, ctz, popcount and parity builtin functions
1793 and their long and long long variants (such as ffsl and ffsll).
1794 (fold_builtin): fold_builtin_bitop when appropriate.
1795 * simplify-rtx.c (simplify_unary_operation): Honor both
1796 CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO when
1797 evaluating clz and ctz at compile-time, for operands wider
1800 2003-08-26 Nathan Sidwell <nathan@codesourcery.com>
1802 * builtins.c (build_function_call_expr): Don't set
1803 TREE_SIDE_EFFECTS here.
1804 * expr.c (emit_block_move_via_libcall): Likewise.
1805 (clear_storage_via_libcall): Likewise.
1806 * tree.c (build): Set TREE_SIDE_EFFECTS for non-const, non-pure
1809 * gcse.c (is_too_expensive): New function.
1810 (gcse_main, delete_null_pointer_checks, bypass_jumps): Use it.
1812 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1814 * config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove
1815 commented-out logic to use DCE threads (if present), add
1816 support for POSIX threads.
1817 * config/ia64/hpux.h: Define CPP_SPEC to set appropriate
1818 #defines for -pthread. Add -lpthread to LIB_SPEC when
1819 -pthread. In both cases take -mt as a synonym for -pthread
1820 for acc compatibility.
1821 Define GTHREAD_USE_WEAK to 0.
1822 * config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC.
1823 Remove old logic for DCE threads from LIB_SPEC.
1824 * config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0.
1826 2003-08-25 Roger Sayle <roger@eyesopen.com>
1828 * builtins.c (expand_builtin_mathfn): Rearrange so that we only
1829 return 0 for invalid argument types. Instead drop through to a
1830 call of expand_call at the bottom of function. If op is SQRT,
1831 try attaching a SQRT rtx as the REQ_EQUAL note of the libcall.
1833 2003-08-25 Richard Henderson <rth@redhat.com>
1835 * config/ia64/ia64.c (ia64_expand_tls_address): Properly truncate
1836 result when op0 is SImode.
1838 2003-08-25 Nathanael Nerode <neroden@twcny.rr.com>
1840 * fixinc/inclhack.def (svr4_sighandler_type): New fix, ported
1842 * fixinc/fixincl.x: Regenerate.
1843 * fixinc/tests/base/sys/signal.h: Regenerate.
1845 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
1847 * combine.c (simplify_comparison): Re-enable widening of comparisons
1848 with non-paradoxical subregs of non-REG expressions.
1850 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
1852 * combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
1854 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
1856 * combine.c (combine_simplify_rtx): Fix RTL sharing bug.
1858 2003-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
1860 * pretty-print.h (pp_maybe_newline_and_indent): New macro.
1861 * c-pretty-print.h (c_pretty_printer): Now typedef to the
1862 structure. Be consistent with pretty-print.h abd cxx-pretty-print.h
1863 (struct c_pretty_print_info): Document. Add new fields.
1864 (pp_type_specifier_seq): Rename from pp_c_type_specifier.
1865 (pp_direct_abstract_declarator): New macro.
1866 (pp_ptr_operator): Likewise.
1867 (pp_simple_type_specifier): Likewise.
1868 (pp_expression): Likewise.
1869 (pp_parameter_list): Rename from pp_parameter_declaration.
1870 * c-pretty-print.c (pp_c_whitespace): Now a function.
1871 (pp_c_left_paren): Likewise.
1872 (pp_c_right_paren): Likewise.
1873 (pp_c_dot): Likewise.
1874 (pp_c_ampersand): Likewise.
1875 (pp_c_arrow): Likewise.
1876 (pp_c_semicolon): Likewise.
1877 (pp_c_type_cast): New function.
1878 (pp_c_space_for_pointer_operator): Likewise.
1879 (pp_c_call_argument_list): Likewise.
1880 (pp_c_cv_qualifier): Adjust prototype.
1881 (pp_c_type_qualifier_list): Likewise.
1882 (pp_c_pointer): Likewise. Handle REFERENCE_TYPE here.
1883 (pp_c_type_specifier): Rename from pp_c_simple_type_specifier.
1884 Adjust to follow standard grammar.
1885 (pp_c_specifier_qualifier_list): Adjusr prototype. Handle
1886 REFERENCE_TYPE. Tidy.
1887 (pp_c_parameter_type_list): Adjust prototype. Tidy.
1888 (pp_c_parameter_declaration): Remove.
1889 (pp_c_abstract_declarator): Adjust prototype.
1890 (pp_c_direct_abstract_declarator): Likewise.
1891 (pp_c_type_id): Likewise.
1892 (pp_c_storage_class_specifier): Likewise.
1893 (pp_c_function_specifier): Likewise.
1894 (pp_c_declaration_specifiers): Likewise.
1895 (pp_c_direct_declarator): Likewise.
1896 (pp_c_declarator): Likewise.
1897 (pp_c_declarator): Likewise.
1898 (pp_c_declaration): Likewise.
1899 (pp_c_attributes): Likewise. Tidy.
1900 (pp_c_function_definition): Adjust prototype.
1901 (pp_c_char): Likewise.
1902 (pp_c_string_literal): Likewise.
1903 (pp_c_integer_constant): Likewise.
1904 (pp_c_character_constant): Likewise.
1905 (pp_c_bool_constant): Likewise.
1906 (pp_c_enumeration_constant): Likewise.
1907 (pp_c_floating_constant): Likewise.
1908 (pp_c_constant): Likewise.
1909 (pp_c_identifier): Likewise.
1910 (pp_c_primary_expression): Likewise. Remove TARGET_EXPR case. Tidy.
1911 (pp_c_initializer): Adjust prototype.
1912 (pp_c_init_declarator): Likewise.
1913 (pp_c_initializer_list): Likewise.
1914 (pp_c_id_expression): Likewise.
1915 (pp_c_postfix_expression): Likewise.
1916 (pp_c_expression_list): Likewise.
1917 (pp_c_unary_expression): Likewise.
1918 (pp_c_cast_expression): Likewise.
1919 (pp_c_multiplicative_expression): Likewise.
1920 (pp_c_additive_expression): Likewise.
1921 (pp_c_shift_expression): Likewise.
1922 (pp_c_relational_expression): Likewise.
1923 (pp_c_equality_expression): Likewise.
1924 (pp_c_and_expression): Likewise.
1925 (pp_c_exclusive_or_expression): Likewise.
1926 (pp_c_inclusive_or_expression): Likewise.
1927 (pp_c_logical_and_expression): Likewise.
1928 (pp_c_logical_or_expression): Likewise.
1929 (pp_c_conditional_expression): Likewise.
1930 (pp_c_assignment_expression): Likewise.
1931 (pp_c_expression): Likewise. Tidy.
1932 (pp_c_statement): Likewise. Document.
1933 (pp_c_pretty_printer_init): Adjust prototype. Tidy.
1935 * c-lang.c (c_initialize_diagnostics): Update.
1936 * c-common.h (strip_pointer_operator): Declare.
1937 * c-common.c (strip_pointer_operator): Define.
1939 2003-08-25 Mark Mitchell <mark@codesourcery.com>
1942 * tree.h (build_method_type_directly): Declare.
1943 * c-common.c (handle_vector_size_attributes): Handle METHOD_TYPEs.
1944 (vector_size_helper): Likewise.
1945 * tree.c (build_method_type_directly): New function.
1946 (build_method_type): Use it.
1948 2003-08-24 Richard Henderson <rth@redhat.com>
1950 * config/i386.i386.c (ix86_return_in_memory): Reformat. Return true
1951 for 16-byte vector modes if sse not enabled; warn for abi change.
1952 (ix86_value_regno): Only return xmm0 for 16-byte vector types.
1954 2003-08-24 Kazu Hirata <kazu@cs.umass.edu>
1956 * rtlanal.c (may_trap_p): Simplify an integer comparison.
1958 2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
1960 * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
1961 comment. Enable for DYNIX/ptx systems (when they switch to
1962 regular fixincludes).
1963 * fixinc/fixincl.x: Regenerate.
1965 2003-08-23 Jason Eckhardt <jle@rice.edu>
1967 * config/i860/t-i860: New.
1968 * config.gcc (i860-*-sysv4*): Add t-i860 to tmake_file.
1970 2003-08-23 Jakub Jelinek <jakub@redhat.com>
1972 * c-decl.c (pushdecl): Only put decls which finish_struct will do
1973 something about onto incomplete chain.
1974 (finish_struct): If not removing type from incomplete
1977 2003-08-20 Jan Hubicka <jh@suse.cz>
1980 * i386.c (ix86_expand_carry_flag_compare): Validate operand.
1983 * i386.c (const_0_to_3_operand, const_0_to_7_operand,
1984 const_0_to_15_operand, const_0_to_255_operand): New predicates.
1985 * i386.h (PREDICATE_CODES): Add these.
1986 * i386.c (pinsrw and pextrw patterns): Use them.
1989 * i386.c (ix86_expand_binop_builtin): Behave sanely for VOIDmodes.
1992 * expr.c (convert_modes): Deal properly with integer to vector
1993 constant conversion.
1996 * i386.md (zero_extendsidi2*): Add MMX and SSE alternatives.
1998 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
2000 * config/s390/s390.h (LOAD_EXTEND_OP): Remove.
2001 * config/s390/s390.md ("movhi"): New expander; old insn renamed to ...
2002 ("*movhi"): ... this.
2003 ("movqi", "*movqi"): Likewise.
2004 ("movqi_64"): Remove.
2005 ("*zero_extendhisi2_31"): Change predicate to s_operand.
2007 2003-08-23 Dale Johannesen <dalej@apple.com>
2008 * calls.c (emit_library_call_value_1): Fix obvious errors in
2009 arguments to emit_group_store.
2011 2003-08-23 Jason Eckhardt <jle@rice.edu>
2013 * calls.c (emit_library_call_value_1): Remove code related
2014 to LIBGCC_NEEDS_DOUBLE.
2015 * config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
2016 * doc/tm.texi: Likewise.
2017 * system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
2019 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
2021 * config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
2023 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
2025 * config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64
2026 as well. Put memory references in the varargs alias set.
2027 (mips_expand_prologue): Remove varargs handling from here.
2029 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
2031 * config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
2032 s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
2033 s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
2034 for function pointer calls.
2035 * config/s390/s390.md ("*negdi2_31"): Likewise.
2037 2003-08-23 Roger Sayle <roger@eyesopen.com>
2039 * combine.c (apply_distributive_law): Correct comment.
2041 2003-08-23 Jason Eckhardt <jle@rice.edu>
2043 * config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
2045 2003-08-22 Jason Eckhardt <jle@rice.edu>
2047 * config/i860/i860.c (i860_build_va_list): Create the va_decl
2048 declaration. Document the va_list structure.
2049 (i860_va_start): Initialize the va_list structure.
2050 (i860_va_arg): Rewrite completely.
2051 * config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
2052 * config/i860/varargs.asm: Do not allocate or initialize
2053 a va_list. Return the address of the register save area.
2055 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2057 * config/iq2000/iq2000.c: Fix comment typos.
2058 * config/iq2000/iq2000.md: Likewise.
2060 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2062 * config/iq2000/iq2000.c: Follow spelling conventions.
2063 * config/iq2000/iq2000.h: Likewise.
2064 * config/mn10300/mn10300.c: Likewise.
2066 2003-08-22 Jason Eckhardt <jle@rice.edu>
2068 * config/i860/i860.c (output_move_double): Don't set latehalf
2069 to zero for CONST_INT (since it could be, e.g., -1).
2071 * config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
2072 (MODSI3_LIBCALL): ...with this one.
2073 (UREMSI3_LIBCALL): Replace this macro...
2074 (UMODSI3_LIBCALL): ...with this one.
2076 2003-08-22 Jason Eckhardt <jle@rice.edu>
2078 * config/i860/i860-protos.h (output_delay_insn): Remove prototype.
2079 (output_delayed_branch): Remove prototype.
2080 (single_insn_src_p): Remove prototype.
2081 * config/i860/i860.c (single_insn_src_p): Remove function.
2082 (output_delayed_branch): Remove function.
2083 (output_delay_insn): Remove function.
2084 (va_start): Remove unconditional test and dead code, re-format.
2085 Fix coding style and spelling problems in various comments.
2086 * config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
2087 (blockage pattern): ...and use it here.
2088 (all define_peephole patterns related to delayed branches): Remove.
2089 Fix coding style and spelling problems in various comments.
2091 2003-08-22 Jason Eckhardt <jle@rice.edu>
2093 * config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
2094 Remove all uses of the PARAMS macro. Remove superflous prototypes.
2095 Convert all function definitions from traditional to ISO C90 syntax.
2096 * config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
2097 with 'GCC'. Remove all uses of the PARAMS macro.
2098 * config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
2099 * config/i860/i860.md: Likewise.
2100 * config/i860/sysv4.h: Likewise.
2101 * config/i860/varargs.asm: Likewise.
2103 2003-08-22 Jason Eckhardt <jle@rice.edu>
2105 * config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
2107 (tdesc_section): Add prototype.
2108 Update copyright dates.
2109 * config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
2110 (TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
2111 (TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
2112 (targetm): Likewise.
2113 (i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
2114 for '%d' where necessary.
2115 (i860_va_start): Remove 'stdarg_p' argument. Make conditional checks
2116 on 'stdarg_p' unconditional. Divide current_function_args_info.ints
2117 by UNITS_PER_WORD when referencing (likewise for .floats).
2118 (I860_SVR4_VARARGS): Rename...
2119 (I860_SVR4_VA_LIST): ...to this.
2120 Call build() with 't' rather than 'field'.
2121 (i860_rtx_costs): New function.
2122 (TARGET_RTX_COSTS): Define.
2123 (i860_internal_label): New function.
2124 (TARGET_ASM_INTERNAL_LABEL): Define.
2125 (i860_file_start): New function.
2126 Update copyright dates.
2127 * config/i860/i860.h (CPP_PREDEFINES): Remove.
2128 (TARGET_CPU_CPP_BUILTINS): Define.
2129 (EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
2130 (CONST_COSTS): Remove (and move code to i860_rtx_costs).
2131 (ASM_FILE_START): Remove.
2132 (ASM_FILE_START_1): Remove.
2133 (ASM_GLOBALIZE_LABEL): Remove.
2134 (ASM_OUTPUT_INTERNAL_LABEL): Remove.
2135 (ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
2136 with targetm.asm_out.internal_label.
2137 Update copyright dates.
2138 * config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
2139 (CPP_PREDEFINES): Remove.
2140 (TARGET_OS_CPP_BUILTINS): Define.
2141 (GLOBAL_ASM_OP): Define.
2142 (ASM_FILE_START): Remove.
2143 (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
2144 (TARGET_ASM_FILE_START): Define.
2145 Update copyright dates.
2147 2003-08-22 Jason Eckhardt <jle@rice.edu>
2149 * gcc/config.gcc (i860-*-sysv4*): Add target.
2150 * config/i860/i860-protos.h: New.
2151 * config/i860/i860.c: New.
2152 * config/i860/i860.h: New.
2153 * config/i860/i860.md: New.
2154 * config/i860/sysv4.h: New.
2155 * config/i860/varargs.asm: New.
2156 * config/i860/x-sysv4: New.
2158 2003-08-22 Jason Eckhardt <jle@rice.edu>
2160 * config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
2161 Remove all uses of PARAMS macro.
2162 Convert all function definitions to ISO C90 syntax.
2163 * config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
2164 * config/pa/fptr.c: Likewise.
2165 * config/pa/lib2funcs.asm: Likewise.
2166 * config/pa/long_double.h: Likewise.
2167 * config/pa/milli64.S: Likewise.
2168 * config/pa/pa-64.h: Likewise.
2169 * config/pa/pa-hpux.h: Likewise.
2170 * config/pa/pa-hpux10.h: Likewise.
2171 * config/pa/pa-hpux11.h: Likewise.
2172 * config/pa/pa-linux.h: Likewise.
2173 * config/pa/pa-modes.def: Likewise.
2174 * config/pa/pa-osf.h: Likewise.
2175 * config/pa/pa-pro-end.h: Likewise.
2176 * config/pa/pa.md: Likewise.
2177 * config/pa/pa32-linux.h: Likewise.
2178 * config/pa/pa64-linux.h: Likewise.
2179 * config/pa/pa64-hpux.h: Likewise.
2180 * config/pa/pa64-regs.h: Likewise.
2181 * config/pa/quadlib.c: Likewise.
2182 * config/pa/rtems.h: Likewise.
2183 * config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
2184 all uses of the PARAMS macro.
2185 * config/pa/pa.h: Likewise.
2186 * config/pa/som.h: Likewise.
2188 * config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
2189 Remove all uses of PARAMS macro.
2190 Convert all function definitions to ISO C90 syntax.
2191 * config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
2192 Remove all uses of PARAMS macro.
2193 * config/iq2000.h: Remove all uses of PARAMS macro.
2194 * config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
2196 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
2198 * config/s390/s390-protos.h (s390_output_pool_entry): Declare.
2199 * config/s390/s390.c (gen_consttable): Remove.
2200 (s390_dump_pool): Use UNSPECV_POOL_ENTRY for pool entry insns.
2201 (s390_output_pool_entry): New function.
2202 * config/s390/s390.md (UNSPECV_POOL_QI, UNSPECV_POOL_HI,
2203 UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI,
2204 UNSPECV_POOL_SF, UNSPECV_POOL_DF): Remove, replace by ...
2205 (UNSPECV_POOL_ENTRY): ... this new constant.
2206 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
2207 "consttable_ti", "consttable_sf", "consttable_df"): Remove ...
2208 ("*pool_entry"): ... and replace by this new insn.
2209 ("literal_pool_31"): Do not emit anchor label if pool empty.
2211 * config/s390/s390.c (struct machine_function): Add save_return_addr_p.
2212 (s390_optimize_prolog): Save RETURN_REGNUM if save_return_addr_p.
2213 (s390_fixup_clobbered_return_reg): Remove.
2214 (s390_reorg): Don't call s390_fixup_clobbered_return_reg.
2215 (s390_return_addr_rtx): Always retrieve return address from save area
2216 slot. Use save_return_addr_p to force slot to be filled.
2217 (s390_emit_prologue): Remove has_hard_reg_initial_val test.
2219 2003-08-22 Chris Demetriou <cgd@broadcom.com>
2221 * config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
2222 (TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
2223 * config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
2224 around SB-1 errata if TARGET_FIX_SB1 is set.
2225 (recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
2226 * doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
2228 2003-08-22 Roger Sayle <roger@eyesopen.com>
2230 * hashtable.c (ht_expand): Avoid calculating rehash for the common
2231 case that the first probe hits an empty hash table slot.
2233 2003-08-22 Mark Mitchell <mark@codesourcery.com>
2235 * config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
2237 2003-08-22 Mark Mitchell <mark@codesourcery.com>
2239 * config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ...
2240 (ptr_extend_plus_imm): ... this.
2241 * config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4
2242 optimization in C++.
2243 (ia64_output_mi_thunk): Support ILP32 mode.
2245 2003-08-22 Bernardo Innocenti <bernie@develer.com>
2247 * gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
2249 * gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
2251 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2253 * config/i386/i386.c (const_int_1_operand): Simplify an
2256 2003-08-22 Alan Modra <amodra@bigpond.net.au>
2258 * config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
2259 * config/rs6000/ppc64-fp.c: Likewise.
2261 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2263 * cfgcleanup.c: Fix comment typos.
2264 * emit-rtl.c: Likewise.
2265 * optabs.c: Likewise.
2266 * ra-build.c: Likewise.
2267 * rtlanal.c: Likewise.
2270 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2272 * c-decl.c: Fix comment formatting.
2273 * cfgrtl.c: Likewise.
2274 * combine.c: Likewise.
2275 * convert.c: Likewise.
2276 * dominance.c: Likewise.
2277 * dwarf2out.c: Likewise.
2278 * dwarfout.c: Likewise.
2279 * expmed.c: Likewise.
2280 * fold-const.c: Likewise.
2282 * genattrtab.c: Likewise.
2283 * ggc-common.c: Likewise.
2284 * mips-tfile.c: Likewise.
2285 * regmove.c: Likewise.
2287 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
2289 * builtin-attrs.def: Fix comment formatting.
2290 * c-pretty-print.c: Likewise.
2291 * diagnostic.h: Likewise.
2292 * langhooks.h: Likewise.
2293 * recog.c: Likewise.
2294 * simplify-rtx.c: Likewise.
2295 * tree.def: Likewise.
2297 2003-08-22 Bernardo Innocenti <bernie@develer.com>
2299 * config/m68k/m68k-protos.h: Convert to ISO C90.
2300 * config/m68k/m68k.c: Likewise.
2302 2003-08-21 Bernardo Innocenti <bernie@develer.com>
2303 Paul Dale <pauli@snapgear.com>
2304 Peter Barada <peter@baradas.org>
2306 * config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
2309 2003-08-21 Zack Weinberg <zack@codesourcery.com>
2311 * Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
2312 * config.gcc (*-*-openbsd): Don't set tm_file.
2313 (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
2314 arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
2315 h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
2316 i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
2317 i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
2318 m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
2319 m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
2320 m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
2321 mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
2322 sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
2323 xscale-*-coff): Use explicit and complete lists of target headers
2324 to include. Move definitions to tm_defines where appropriate.
2325 (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
2326 not-yet-contributed configuration.
2328 * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
2329 * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
2330 * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
2331 * config/i386/nto.h, config/iq2000/iq2000.h,
2332 * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
2333 * config/m68k/linux.h, config/m68k/m68k-aout.h
2334 * config/m68k/m68k-none.h, config/m68k/m68kv4.h
2335 * config/m68k/netbsd.h, config/m68k/openbsd.h
2336 * config/m68k/sgs.h, config/mcore/mcore-pe.h,
2337 * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
2338 * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
2339 Remove includes of other target config headers, and
2340 definitions of macros moved to tm_defines lists. Add #undefs
2341 where now necessary to prevent redefinition warnings.
2343 * config/h8300/coff.h: New file split out of...
2344 * config/h8300/elf.h: ...here.
2345 * config/m68k/hp320base.h: New file split out of...
2346 * config/m68k/hp320.h: ...here.
2347 * config/rs6000/lynxbase.h: New file split out of...
2348 * config/rs6000/lynx.h: ...here.
2350 * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
2351 * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
2353 * config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
2354 * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
2355 * config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
2356 Remove unnecessary #ifndef.
2357 * config/s390/s390.h: Prefix #include of s390/fixdfdi.h
2358 [under IN_LIBGCC2] with config/.
2360 2003-08-21 Per Bothner <pbothner@apple.com>
2362 * cppfiles.c (stack_file): Correctly pass return_at_eof parameter
2364 * cpplex.c (_cpp_get_fresh_line): Don't buffer->prev - handled
2365 by return_at_eof check. Always call _cpp_pop_buffer at end.
2367 2003-08-21 Kazu Hirata <kazu@cs.umass.edu>
2370 * config/h8300/h8300.md (two anonymous patterns): Remove.
2372 2003-08-21 Richard Sandiford <rsandifo@redhat.com>
2374 * config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
2375 * config/mips/mips.c (function_arg_pass_by_reference): Never return
2378 2003-08-21 Josef Zlomek <zlomekj@suse.cz>
2380 * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
2381 and similarly in (A | C) == D where C & ~D != 0.
2383 2003-08-20 Geoffrey Keating <geoffk@apple.com>
2386 * configure.in: When testing with_libs and with_headers, treat
2387 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>.
2388 * configure: Regenerate.
2390 2003-08-20 Peter Barada <peter@baradas.org>
2392 * longlong.h (umul_ppmm): Add ColdFire support.
2394 2003-08-20 Peter Barada <peter@baradas.org>
2395 Bernardo Innocenti <bernie@develer.com>
2397 * config/m68k/m68k-none.h: Introduce new ColdFire archs.
2398 * config/m68k/m68k.h: Likewise.
2399 * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
2400 * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
2401 * config/m68k/linux.h: Likewise.
2402 * config/m68k/m68k.c: Likewise.
2403 * config/m68k/m68k.md: Likewise.
2404 * config/m68k/m68kelf.h: Likewise.
2405 * config/m68k/netbsd-elf.h: Likewise.
2406 * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
2408 2003-08-20 Bernardo Innocenti <bernie@develer.com>
2410 * config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
2411 * config/m68k/m68k.md: Likewise.
2413 2003-08-20 Mark Mitchell <mark@codesourcery.com>
2417 2003-08-19 Mark Mitchell <mark@codesourcery.com>
2418 * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
2419 types with precisions other than those given by native machine
2422 2003-08-20 Gunther Nikl <gni@gecko.de>
2424 * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
2425 selected by FSGLMUL_USE_S and FSGLDIV_USE_S
2426 * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
2427 * config/m68k/m68k.md (anonymous define_insn): Likewise
2428 * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
2429 * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
2430 code selected by NO_ASM_FMOVECR
2432 2003-08-20 Gunther Nikl <gni@gecko.de>
2434 * config/m68k/m68k.c (output_move_const_into_data_reg,
2435 output_move_himode): unify MOTOROLA/MIT handling of moveq
2436 * config/m68k/m68k.md (movsi_const0, anonymous define_insn):
2439 2003-08-20 Gunther Nikl <gni@gecko.de>
2441 * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
2443 * config/m68k/m68k.c (m68k_output_function_epilogue): replace
2444 HOST_WIDE_INT_PRINT_DEC with %wd
2446 2003-08-20 Loren James Rittle <ljrittle@acm.org>
2448 * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
2451 2003-08-20 Roger Sayle <roger@eyesopen.com>
2454 * fold-const.c (fold <PLUS_EXPR>): Check for integer constant
2455 operands before calling tree_int_cst_lt when performing associative
2458 2003-08-20 Jason Merrill <jason@redhat.com>
2460 * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
2461 (EXPR_CHECK): Don't check for 'r' or 's' if we're
2462 checking IS_EXPR_CODE_CLASS.
2463 * calls.c (calls_function_1): Likewise.
2464 * fold-const.c (fold): Likewise.
2465 * tree.c (iterative_hash_expr): Likewise.
2466 * tree-inline.c (walk_tree, copy_tree_r): Likewise.
2468 2003-08-20 Gunther Nikl <gni@gecko.de>
2470 * config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
2471 depending on MOTOROLA_BSR
2472 * config/m68k/m68k.md (anonymous define_insn): Likewise
2474 2003-08-20 Jason Merrill <jason@redhat.com>
2476 * builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
2477 (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
2478 fold_trunc_transparent_mathfn, fold_builtin): Likewise.
2479 * dojump.c (do_jump): Likewise.
2480 * fold-const.c (operand_equal_p, fold): Likewise.
2481 (tree_expr_nonnegative_p): Likewise.
2483 * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
2484 TYPE_USER_ALIGN for FIELD_DECLs.
2486 * attribs.c (decl_attributes): Rebuild the function pointer type after
2487 changing the target type.
2488 * tree.c (get_qualified_type): Also check that the attributes match.
2490 2003-08-19 Matt Kraai <kraai@alumni.cmu.edu>
2492 * Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
2493 * objc/config-lang.in (stagestuff): ... to here.
2495 2003-08-19 Mark Mitchell <mark@codesourcery.com>
2498 * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
2499 NOP_EXPR) when necessary.
2500 * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
2501 types with precisions other than those given by native machine
2504 2003-08-19 Geoffrey Keating <geoffk@apple.com>
2506 * cpppch.c (cpp_valid_state): Re-add warning about PCH not used
2507 because some macro is defined.
2509 * config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
2511 * config/i386/darwin.h (ASM_SPEC): New.
2512 (SUBTARGET_EXTRA_SPECS): New.
2513 * config/rs6000/darwin.h (ASM_SPEC): New.
2514 (SUBTARGET_EXTRA_SPECS): New.
2515 * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
2516 a cross-compiler between two different processors on Darwin.
2517 * configure: Regenerate.
2519 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
2521 * builtins.c: Fix comment typos.
2522 * c-common.c: Likewise.
2523 * c-decl.c: Likewise.
2524 * c-pretty-print.c: Likewise.
2525 * cfgbuild.c: Likewise.
2526 * cfglayout.c: Likewise.
2527 * cfgloopanal.c: Likewise.
2528 * cgraphunit.c: Likewise.
2529 * cppfiles.c: Likewise.
2530 * dwarfout.c: Likewise.
2532 * fold-const.c: Likewise.
2534 * ggc-page.c: Likewise.
2535 * haifa-sched.c: Likewise.
2536 * pretty-print.c: Likewise.
2539 * value-prof.c: Likewise.
2541 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
2543 * c-decl.c: Follow spelling conventions.
2544 * cppfiles.c: Likewise.
2546 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
2548 * c-common.c: Fix comment formatting.
2549 * c-common.h: Likewise.
2550 * c-decl.c: Likewise.
2551 * cppinit.c: Likewise.
2552 * cpplib.h: Likewise.
2553 * emit-rtl.c: Likewise.
2554 * input.h: Likewise.
2555 * line-map.h: Likewise.
2558 * simplify-rtx.c: Likewise.
2560 2003-08-19 Daniel Jacobowitz <drow@mvista.com>
2562 * unwind-c.c: Add libgcc-style exception.
2563 * unwind-dw2.c: Likewise.
2564 * unwind-pe.h: Likewise.
2565 * unwind-sjlj.c: Likewise.
2566 * unwind.inc: Likewise.
2568 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
2570 PR c/5582 PR c++/10538
2571 * langhooks-def.h (lhd_decl_uninit): Declare.
2572 (LANG_HOOKS_DECL_UNINIT): New macro.
2573 (LANG_HOOKS_INITIALIZER): Adjust.
2574 * langhooks.h (struct lang_hooks): Add new field
2576 * langhooks.c (lhd_decl_uninit): Define.
2577 * c-common.c (c_decl_uninit_1): New function.
2578 (c_decl_uninit): New function.
2579 (warn_init_self): Define.
2580 * c-common.h (c_decl_uninit): Declare.
2581 (warn_init_self): Declare.
2582 * c.opt: Introduce -Winit-self.
2583 * c-opts.c (c_common_handle_options): Set warn_init_self.
2584 * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
2585 * objc/objc-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
2586 * function.c (uninitialized_vars_warning): Call the language hook.
2587 * doc/invoke.texi: Document -Winit-self.
2589 2003-08-19 Chris Demetriou <cgd@broadcom.com>
2591 * config/mips/mips.md: Adjust SI-mode "trap_if" instruction
2592 to use better predicates and constraints. Define new
2593 instruction to handle "trap_if" with DI-mode arguments.
2594 (conditional_trap): FAIL if trap code is not 0.
2596 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
2598 * config/i386/i386.c (legitimate_pic_address_disp_p): Change the
2599 strstr with $pb to a strcompare with "<pic base>"
2600 (ix86_output_addr_diff_elt): Output the real pic base.
2602 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
2604 * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
2605 (LANG_HOOKS_INITIALIZER): Correct.
2606 * c-lang.c: Likewise.
2608 2003-08-19 Jan Hubicka <jh@suse.cz>
2610 * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
2611 (cgraph_varpool_mark_needed_node): Likewise.
2612 * cgraph.h (notice_global_symbol): Declare
2613 * varasm.c (notice_global_symbol): Break out from ...
2614 (assemble_start_function): ... here; update for variables.
2615 (assemble_variable): Use notice_global_symbol.
2617 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
2619 * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
2620 expect SFmode and DFmode arguments to be passed in FPRs,
2621 regardless of the underlying type.
2623 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
2626 * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
2627 (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
2629 2003-08-18 Matt Kraai <kraai@alumni.cmu.edu>
2632 * c-typeck.c (set_init_index): Check for negative index.
2634 2003-08-18 Bob Wilson <bob.wilson@acm.org>
2636 * config/xtensa/crti.asm (_init, _fini): Add alternate code for new
2638 * config/xtensa/crtn.asm (_init, _fini): Likewise.
2639 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
2640 __umodsi3, __modsi3): Likewise.
2641 * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
2644 2003-08-18 Aldy Hernandez <aldyh@redhat.com>
2646 * config/rs6000/spe.md ("*nabssf2_gpr"): New.
2648 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
2650 * config/mips/mips.md: Quote C code in braces. Remove use of
2651 fake const0_rtx operands. Remove double backslashes. Use \;.
2652 Remove workarounds for bogus warnings.
2654 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
2656 * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
2657 (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
2658 rather than TARGET_MIPS4300.
2659 (mulsf3_internal, mulsf3_r4300): Likewise.
2661 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
2663 * config/mips/mips.md: Renumber unspecs. Clean up comments.
2665 2003-08-17 Roger Sayle <roger@eyesopen.com>
2667 * simplify-rtx.c (associative_constant_p): New function to test
2668 whether an RTX expression is an immediate constant.
2669 (simplify_associative_operation): New function to perform some
2670 reassociation optimizations of associative binary expressions.
2671 (simplify_binary_operation): Use simplify_associative_operation
2672 to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
2673 Floating point expressions are only reassociated when unsafe
2674 math optimizations are permitted.
2676 2003-08-17 Andreas Jaeger <aj@suse.de>
2678 * config/alpha/alpha.md: Remove usage of PARAMS.
2680 * config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
2681 * config/i386/i386-interix.h: Likewise.
2682 * config/i386/winnt.c: Likewise.
2683 * config/i386/cygming.h: Likewise.
2684 * config/i386/cygwin2.c: Likewise.
2685 * config/darwin.c: Likewise.
2686 * config/darwin-c.c: Likewise.
2687 * config/darwin-protos.h: Likewise.
2688 * config/darwin.h: Likewise.
2689 * config/s390/s390-protos.h: Likewise.
2690 * config/s390/s390.c: Likewise.
2691 * config/ia64/ia64.c: Likewse
2692 * config/ia64/ia64-protos.h: Likewise.
2693 * config/ia64/ia64-c.c: Likewise.
2695 2003-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2697 * config/sparc/sparc.c: Convert to ISO C.
2699 * config/sparc/sparc-protos.h: Don't use the PARAMS macro.
2700 * config/sparc/sparc.c: Likewise.
2702 2003-08-16 Nathan Sidwell <nathan@codesourcery.com>
2705 * stmt.c (expand_expr_stmt_value): Don't warn about any void
2708 2003-08-16 Jan Hubicka <jh@suse.cz>
2710 * i386.c (ix86_fntype_regparm): Rename from ...
2711 (ix86_function_regparm): ... this one; add fastcall and local
2713 (ix86_function_ok_for_sibcall): Update.
2714 (ix86_return_pops_args): Likewise.
2715 (init_cumulative_args): Likewise.
2716 (x86_can_output_mi_thunk): Likewise.
2717 (function_arg): Fix formating.
2718 (x86_this_parameter): Fix fastcall.
2719 (x86_output_mi_thunk): Likewise.
2721 * cgraph.c (cgraph_mark_needed_node): Do not mark functions without
2722 body as reachable; mark nested functions as needed too.
2723 (dump_cgraph): Do not output global.calls.
2724 * cgraph.h (cgraph_global_info): Kill.
2725 * cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
2726 (record_call_1): Speedup.
2727 (cgraph_analyze_function): Break out from ...; compute inlining
2729 (cgraph_finalize_compilation_unit): ... here.
2730 (cgraph_mark_inline): Kill computation of calls.
2731 (cgraph_decide_inlining): Do not compute most of initial values.
2733 2003-08-14 Roger Sayle <roger@eyesopen.com>
2735 * fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
2736 to negate if either operand is easy to negate, if we don't care
2737 about sign-dependent rounding.
2738 (negate_expr): Make the logic to negate a REAL_CST explicit.
2739 Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand
2740 that's easy to negate, if we don't honor sign-dependent rounding.
2741 (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to
2742 negate, and the symmetric A * -B as -A * B if A is easy to negate.
2743 (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and
2744 -C/D if B and C are cheap to negate. Add an explicit rule to
2745 optimize X/-1.0 as -X when we don't care about signaling NaNs.
2747 2003-08-14 Zack Weinberg <zack@codesourcery.com>
2749 * Makefile.in (tm_file): Rename tm_include_list.
2750 (tm_p_file): Rename tm_p_include_list.
2751 (build_xm_file): Rename build_xm_include_list.
2752 (host_xm_file): Rename host_xm_include_list.
2753 (xm_file): Rename xm_include_list.
2754 (xm_file_list): Add to be substituted.
2755 (cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
2757 (bt-load.o): Add missing dependency on $(TM_H).
2758 * configure.in: Prefix value of EXTRA_MODES_FILE with config/.
2759 For each of tm_file, tm_p_file, xm_file, host_xm_file, and
2760 build_xm_file, generate both *_file_list and *_include_list
2761 values from it. (xm_file_list was formerly not being generated.)
2762 In *_include_list, prefix the names of all headers found in
2763 $(srcdir)/config with config/. In each loop, consider only
2764 the special case files that can actually appear in that list.
2765 AC_SUBST all *_file_list and all *_include_list variables; do
2766 not AC_SUBST the plain *_file variables.
2767 * configure: Regenerate.
2769 2003-08-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2771 * cfg.c (dump_edge_info): Add name of loop_exit edge flag.
2773 2003-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2775 * pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in
2777 (attr_length_call): Include it here. Improve length estimate for
2779 (output_call): Use targetm.binds_local_p.
2781 2003-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2783 * builtins.c (CASE_MATHFN): New helper macro.
2784 (mathfn_built_in): Simplify and sort.
2786 * protoize.c (substr): Delete, callers changed to `strstr'.
2788 2003-08-13 Zack Weinberg <zack@codesourcery.com>
2790 * config.gcc (iq2000*-*-elf*): Don't set xm_file.
2791 * config/iq2000/xm-iq2000.h: Delete file.
2793 2003-08-13 Geoffrey Keating <geoffk@apple.com>
2795 * gengtype.c (walk_type): Process a subobject before processing
2796 the pointer that points to the subobject.
2798 2003-08-13 Per Bothner <pbothner@apple.com>
2800 * regclass.c (init_reg_modes): Make non-static.
2801 Rename to init_reg_modes_once per new naming convention.
2802 (init_regs): Don't call init_reg_modes here.
2803 * emit-rtl.c (init_emit_once): Call init_reg_modes_once here instead.
2804 * rtl.h (init_reg_modes_once): New declaration.
2805 * toplev.c (backend_init): Call init_regs after init_emit_once.
2807 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
2809 * config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a
2810 special index for MD_FALLBACK_FRAME_STATE_FOR to itself.
2812 2003-08-13 J"orn Rennecke <joern.rennecke@superh.com>
2814 * sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1.
2815 * sh.md (load_ra): Change insn predicate to TARGET_SH1.
2817 2003-08-13 Dale Johannesen <dalej@apple.com>
2819 * config/rs6000/rs6000.md (ctrsi, ctrdi): Reenable
2820 handling of decrement-and-branch farther than 32 bits.
2822 2003-08-12 Kelley Cook <kelleycook@wideopenwest.com>
2824 * configure.in (make_compare_target): Move test to ...
2825 * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
2826 * configure: Regenerate.
2828 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
2830 * config/mips/iris6.h: Convert to C90 prototypes.
2831 * config/mips/irix6-libc-compat.c: Likewise.
2832 * config/mips/mips-protos.h: Likewise.
2833 * config/mips/mips.c: Likewise.
2835 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
2837 fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable
2838 for selected machines. Comment heavily.
2839 fixinc/fixincl.x: Rebuild.
2840 fixinc/tests/base/fs/rfs/rf_cache.h: New file.
2842 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
2844 * config/mips/mips.h: Tweak various comments.
2845 * config/mips/mips.c: Likewise.
2847 2003-08-11 James E Wilson <wilson@tuliptree.org>
2849 PR optimization/11319
2851 * alias.c (find_base_value, case REG): Return 0 not src if no base
2854 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2856 * gcse.c (gmalloc): Fix last change.
2858 2003-08-11 Roger Sayle <roger@eyesopen.com>
2860 * simplify-rtx.c (simplify_binary_operation): Replace calls to
2861 gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
2862 and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
2863 gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
2865 2003-08-11 Roger Sayle <roger@eyesopen.com>
2867 * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
2868 * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
2869 typecode for an ABS_EXPR.
2871 * doc/c-tree.texi: Document ABS_EXPR.
2873 2003-08-11 Roger Sayle <roger@eyesopen.com>
2875 * fold-const.c (fold): Optimize any associative floating point
2876 operator with -funsafe-math-optimizations, not just MULT_EXPR.
2878 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org>
2880 * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
2881 information in SHmedia case too.
2882 (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
2884 (__set_fpscr): Use an access via GOT for PIC case.
2886 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
2888 * configure.in (intermodule): Make switch test more portable.
2889 * configure: Regenerate.
2891 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
2893 * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
2894 (restrap): Likewise.
2896 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2898 * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC.
2899 (grealloc): Size argument is a size_t.
2900 (gcalloc): New function. Use throughout in lieu of
2903 * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
2905 * config/ia64/ia64.c (ia64_reorg): Likewise.
2906 * conflict.c (conflict_graph_new): Likewise.
2907 * fixinc/fixincl.c (run_compiles): Likewise.
2908 * genattrtab.c (optimize_attrs): Likewise.
2909 * genrecog.c (new_decision): Likewise.
2910 * haifa-sched.c (schedule_block): Likewise.
2911 * hashtable.c (ht_create): Likewise.
2913 2003-08-11 Bob Wilson <bob.wilson@acm.org>
2915 * config/xtensa/lib2funcs.S: Fix whitespace.
2916 * config/xtensa/xtensa.md (all insns and expanders): Use brace block
2917 syntax where appropriate. Remove unnecessary backslash escapes.
2918 Reformat comments and fix some code formatting.
2919 (extendqisi2): Rearrange conditional.
2920 (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
2921 *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
2924 2003-08-11 Richard Sandiford <rsandifo@redhat.com>
2926 * config/mips/mips.c: Various formatting fixes.
2927 (override_options): Resync -mtune handling with gas.
2928 (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
2929 * config/mips/mips.h: More formatting fixes.
2930 (mips_abi): Move declaration.
2931 * config/mips/mips.md (exception_receiver): Add mode to
2934 2003-08-11 Aldy Hernandez <aldyh@redhat.com>
2936 * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
2938 (bdesc_1arg): Remove evsplati and evsplatfi.
2940 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com>
2942 * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
2945 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2947 * builtins.c (expand_builtin_strcat): Optimize constant strings.
2949 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net>
2951 * pretty-print.c (pp_base_indent): Rename from pp_indent.
2952 * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
2953 (struct c_pretty_print_info): Add more fields.
2954 (pp_c_left_paren): Move to c-pretty-print.c.
2955 (pp_c_right_paren): Likewise.
2956 (pp_c_left_brace): Likewise.
2957 (pp_c_right_brace): Likewise.
2958 (pp_c_left_bracket): Likewise.
2959 (pp_c_right_bracket): Likewise.
2960 (pp_c_declarator): Declare.
2961 (pp_c_direct_declarator): Likewise.
2962 (pp_c_specifier_qualifier_list): Likewise.
2963 (pp_c_type_id): Likewise.
2964 * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
2965 (pp_c_type_qualifier_list): New.
2966 (pp_c_pointer): Likewise.
2967 (pp_c_parameter_type_list): Likewise.
2968 (pp_c_function_definition): Likewise.
2969 (pp_c_id_expression): Likewise.
2970 (pp_c_simple_type_specifier): Tidy.
2971 (pp_c_unary_expression): Likewise.
2972 (pp_c_expression): Likewise.
2973 (pp_c_pretty_printer_init): Likewise.
2974 (pp_c_specifier_qualifier_list): Rework..
2975 (pp_c_abstract_declarator): Likewise.
2976 (pp_c_postfix_expression): Likewise.
2977 (pp_c_primary_expression): Likewise.
2978 (pp_c_cast_expression): Likewise.
2979 (pp_c_direct_abstract_declarator): Likewise.
2980 (pp_c_storage_class_specifier): Likewise.
2981 (pp_c_function_specifier): Likewise.
2982 (pp_c_declaration_specifiers): Likewise.
2983 (pp_c_direct_declarator): Likewise.
2984 (pp_c_declarator): Likewise.
2985 (pp_c_declaration): Likewise.
2986 (pp_c_statement): Likewise.
2987 (pp_c_integer_constant): Rename from pp_c_integer_literal.
2988 (pp_c_character_constant): Rename from pp_c_character_literal.
2989 (pp_c_bool_constant): Rename from pp_c_bool_literal.
2990 (pp_c_enumeration_constant): Rename from pp_c_enumerator.
2991 (pp_c_floating_constant): Rename from pp_c_real_literal.
2992 (pp_c_constant): Rename from pp_c_literal.
2993 * c-lang.c: Include diagnostic.h and c-pretty-print.h
2994 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
2995 (c_initialize_diagnostics): New.
2996 * Makefile.in (c-lang.o): Update dependency.
2998 2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
3000 * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
3002 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
3004 * config/mips/mips.c (mips_no_mips16_string): Remove.
3005 (override_options): Don't handle -mips16 as part of -mipsN.
3006 * config/mips/mips.h (mips_no_mips16_string): Remove declaration.
3007 (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
3008 (TARGET_OPTIONS): Remove -mno-mips16.
3010 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
3012 * config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
3013 (coprocessor2_operand): Likewise.
3014 * config/mips/mips.c (STAB_CODE_TYPE): Remove.
3015 (lookup_name): Remove declaration.
3016 (abort_with_insn): Remove. Replace all uses with fatal_insn.
3017 (mips16, mips_abicalls): Remove.
3018 (mips_char_to_class): Remove initialiser: all entries are NO_REGS.
3019 (arith32_operand, large_int, true_reg_or_0_operand): Remove.
3020 (coprocessor_operand, coprocessor2_operand): Remove.
3021 (override_options): Don't set mips16 or mips_abicalls.
3022 (print_operand): Don't expect SIGN_EXTEND operands.
3023 (mips_secondary_reload_class): Likewise.
3024 (mips_output_conditional_branch): Remove disabled long-branch code.
3025 * config/mips/mips.h (call_used_regs): Remove declaration.
3026 (may_call_alloca): Likewise.
3027 (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
3028 (mips_abicalls, mips16): Remove declarations.
3029 (ASM_FINAL_SPEC, LIB_SPEC): Remove.
3030 (CC1_SPEC): Remove outdated comment.
3031 (MIPS_VERSION, MACHINE_TYPE): Remove.
3032 (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
3033 (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
3034 (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
3035 (PUSH_ROUNDING): Likewise.
3036 (ASSEMBLER_SCRATCH_REGNUM): Remove.
3037 * config/mips/mips.md: Replace mips_cpu_attr with mips_tune
3038 and mips16 with TARGET_MIPS16.
3040 2003-08-09 Per Bothner <pbothner@apple.com>
3042 * cppinit.c (cpp_read_main_file): Split out source-independent
3043 initialization to separate function ...
3044 (cpp_post_options): New function.
3045 * cppfiles.c (cpp_stack_file): Rename public name to ...
3046 (_cpp_stack_file): New internal function name.
3047 * cpplib.h: Update accordingly.
3048 * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here.
3049 (cpp_read_main_file): Don't initialize line here.
3050 * c-opts.c (c_common_post_options): Call cpp_post_options.
3051 (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file.
3052 * fix-header.c (read_scan_file): Call cpp_post_options.
3054 2003-08-09 Per Bothner <per@bothner.com>
3056 * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation.
3058 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3060 * pa.c (pa_asm_output_mi_thunk): Fix typo.
3062 2003-08-09 Neil Booth <neil@daikokuya.co.uk>
3064 PR preprocessor/11839
3065 * cppfiles.c (open_file): Handle ENOTDIR.
3067 2003-08-09 Richard Sandiford <rsandifo@redhat.com>
3070 * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
3072 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3074 * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if
3075 source/destination is not a register operand.
3077 2003-08-08 Richard Henderson <rth@redhat.com>
3080 * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
3081 RETURN_ADDRESS_POINTER_REGNUM.
3082 (ia64_expand_prologue): Don't frob it.
3083 (ia64_output_function_epilogue): Likewise.
3084 (ia64_return_addr_rtx): New.
3085 (ia64_split_return_addr_rtx): New.
3086 * config/ia64/ia64-protos.h: Update.
3087 * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
3088 (RETURN_ADDRESS_POINTER_REGNUM): Remove.
3089 (GENERAL_REGNO_P): Don't check it.
3090 (AR_*_REGNUM): Renumber.
3091 (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
3092 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
3093 (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
3094 (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
3095 (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
3096 * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
3097 (movdi_ret_addr): New.
3099 2003-08-08 Geoffrey Keating <geoffk@apple.com>
3101 * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
3103 2003-08-08 Roger Sayle <roger@eyesopen.com>
3105 * tree.h (get_identifier) Define a macro form of get_identifier
3106 that calls get_identifier_with_length when the string is constant.
3107 (get_identifier_with_length): Change type of second argument to
3108 size_t in prototype.
3109 * stringpool.c (get_identifier): Undefine the macro before giving
3110 the function definition.
3111 (get_identifier_with_length): Change type of second argument to
3112 size_t in function definition.
3113 * hashtable.c (calc_hash): Change type of second argument to size_t.
3114 (ht_lookup): Change type of third argument to size_t. Reorganize
3115 to speed-up the cases where the hash table slot is empty, or the
3116 first probe matches (i.e. there isn't a collision).
3117 * hashtable.h (ht_lookup): Adjust function prototype.
3119 2003-08-08 Bernardo Innocenti <bernie@develer.com>
3123 * longlong.h (count_leading_zeros): Exclude on __mcpu32__.
3125 2003-08-08 Neil Booth <neil@daikokuya.co.uk>
3127 * common.opt: Add debug switches.
3128 * flags.h (use_gnu_debug_info_extensions): Boolify.
3129 * opts.c (write_symbols, debug_info_level,
3130 use_gnu_debug_info_extensions): Move from toplev.c.
3131 (set_debug_level): New.
3132 (common_handle_options): Handle debug switches.
3133 (print_help): Display target options directly.
3134 * toplev.c (debug_hooks): Don't initialize.
3135 (write_symbols, debug_info_level,
3136 use_gnu_debug_info_extensions): Move to opts.c.
3137 (debug_args, display_help, decode_g_option): Remove.
3138 (process_options): Set no debug if level zero here,
3139 and no-debug-hooks. Error here if impossible debug format selected.
3140 * toplev.h (display_help, decode_g_option): Remove.
3142 2003-08-08 Richard Sandiford <rsandifo@redhat.com>
3144 * tree.c (get_file_function_name_long): Fix size of alloca() area.
3146 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com>
3148 * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
3149 and gcc_cv_prog_cmp_skip.
3150 * configure: Regenerate.
3152 2003-08-08 Stan Cox <scox@redhat.com>
3154 * config/iq2000: New port.
3155 * config.gcc (iq2000-*-elf): Added.
3156 * doc/install.texi (Specific): Add iq2000 description.
3158 2003-08-08 Andreas Schwab <schwab@suse.de>
3160 * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
3161 and insert missing empty argument.
3162 * configure: Regenerate.
3164 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3166 * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
3167 (attr_length_millicode_call): Likewise.
3168 (attr_length_call): Likewise. Revise some maximum insn lengths.
3169 (attr_length_indirect_call): Likewise.
3170 (output_call): Fix thinko that added extra nop.
3171 * pa.h (IN_NAMED_SECTION_P): Define.
3174 * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
3175 __STDC_EXT__ when using C++ dialect.
3177 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com>
3179 * sh.c (calc_live_regs): If the return address pointer is live,
3181 (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
3182 for saves / restores.
3183 (sh_expand_epilogue): If sh_media_register_for_return returns a
3184 register number, flag the instructions that restores PR_MEDIA_REG
3186 Remove dead update of offset.
3187 (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
3188 we can use the result of get_hard_reg_initial_val.
3189 * sh.md (UNSPEC_RA): New constant.
3190 (movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
3191 (load_ra). Handle UNSPEC_RA.
3192 (sibcall_media): Use PR_MEDIA_REG.
3194 * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
3195 * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
3196 needs saving on SHmedia.
3198 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com>
3200 * config/s390/s390.md: Replace all occurrences of \\t with \t.
3202 2003-08-07 Richard Sandiford <rsandifo@redhat.com>
3204 * local-alloc.c (combine_regs): Fix comment typo.
3206 2003-08-06 Zack Weinberg <zack@codesourcery.com>
3208 * c-decl.c (builtin_decls): Replace with first_builtin_decl
3209 and last_builtin_decl.
3210 (c_init_decl_processing): Initialize both.
3211 (c_reset_state): Iterate from first_builtin_decl to
3212 last_builtin_decl inclusive to reintroduce builtins.
3214 2003-08-06 David Mosberger <davidm@hpl.hp.com>
3216 * doc/extend.texi (Function Attributes): Document the IA-64 version
3217 of the "model" attribute.
3219 * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
3220 (SYMBOL_REF_SMALL_ADDR_P): Ditto.
3221 (PREDICATE_CODES): Mention "small_addr_symbolic_operand".
3223 * config/ia64/ia64.c (ia64_handle_model_attribute): New function.
3224 (ia64_encode_section_info): Likewise.
3225 (ia64_attribute_table): Add "model" attribute.
3226 (TARGET_ENCODE_SECTION_INFO): Define.
3227 (small_addr_symbolic_operand): New function.
3228 (got_symbolic_operand): Return 0 for a symbolref to an object
3229 in the small address area.
3230 (enum ia64_addr_area): New type.
3231 (small_ident1): New variable.
3232 (small_ident2): Likewise.
3233 (init_idents): New function.
3234 (ia64_get_addr_area): Likewise.
3235 (ia64_encode_addr_area): Likewise.
3236 (ia64_encode_section_info): Likewise.
3237 (ia64_expand_load_address): For symbolic references to objects in
3238 the small-address-area, load the address via gen_rtx_SET() (which,
3239 eventually, will expand into "addl").
3241 2003-08-06 Per Bothner <pbothner@apple.com>
3243 * line-map.h (fileline): New typedef.
3244 (struct line_map, linemap_add, linemap_lookup): Use it.
3245 * input.h (struct location_s): Comment notes that long-term we want
3246 to replace it by fileline.
3248 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com>
3250 Fix SHcompact exception handling:
3251 * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
3252 by the prologue, return a MEM with return_address_pointer_rtx
3254 * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
3255 (RETURN_ADDR_OFFSET): Don't define.
3256 (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
3257 registers that are visible in compact mode. Show that SHmedia
3258 registers still exist in compact mode, even if there are not
3260 (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
3261 if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE,
3262 and DW_EH_PE_pcrel for pic data.
3263 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
3264 set SYMBOL_FLAG_FUNCTION in symbol, and actually use
3265 DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
3266 (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
3267 * sh.md (movsi_media-1): New splitter.
3269 2003-08-06 Graeme Peterson <gp@qnx.com>
3271 * config/i386/nto.h: New.
3272 * config/i386/t-nto: New.
3273 * config.gcc (i[34567]86-*-nto-qnx*): New.
3275 2003-08-06 Phil Edwards <pme@gcc.gnu.org>
3277 * doc/install.texi (*-*-solaris2*): Refine configure instructions.
3279 2003-08-06 Alan Modra <amodra@bigpond.net.au>
3281 * calls.c (load_register_parameters): Arrange for call_fusage to
3282 report the whole register as used when shifting to the msb.
3284 2003-08-05 Roger Sayle <roger@eyesopen.com>
3286 * builtins.c (expand_builtin): When not optimizing, call the library
3287 function for all builtins that have library functions (except alloca).
3289 2003-08-05 Alexandre Oliva <aoliva@redhat.com>
3291 * c.opt: Introduce -fworking-directory.
3292 * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
3293 * c-common.h (flag_working_directory): Declare.
3294 * c-common.c (flag_working_directory): Define.
3295 * c-opts.c (c_common_handle_options): Set it.
3296 (sanitize_cpp_opts): Set...
3297 * cpplib.h (struct cpp_options): ... working_directory option.
3298 (struct cpp_callbacks): Add dir_change.
3299 * cppinit.c (read_original_filename): Call...
3300 (read_original_directory): New. Look for # 1 "directory//"
3302 (cpp_read_main_file): Call dir_change callback if working_directory
3304 * gcc.c (cpp_unique_options): Pass -g*.
3305 * c-lex.c (cb_dir_change): New.
3306 (init_c_lex): Set dir_change callback.
3307 * toplev.c (src_pwd): New static variable.
3308 (set_src_pwd, get_src_pwd): New functions.
3309 * toplev.h (get_src_pwd, set_src_pwd): Declare.
3310 * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
3311 * dwarf2out.c (gen_compile_unit_die): Likewise.
3312 * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
3314 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
3316 * pretty-print.h (pp_set_line_maximum_length): Make macro.
3317 (pp_set_prefix): Likewise.
3318 (pp_destroy_prefix): Likewise.
3319 (pp_remaining_character_count_for_line): Likewise.
3320 (pp_clear_output_area): Likewise.
3321 (pp_formatted_text): Likewise.
3322 (pp_last_position_in_text): Likewise.
3323 (pp_emit_prefix): Likewise.
3324 (pp_append_text): Likewise.
3325 (pp_flush): Likewise.
3326 (pp_format_text): Likewise.
3327 (pp_format_verbatim): Likewise.
3328 (pp_tree_identifier): Tidy.
3329 * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
3330 (pp_base_format_verbatim): Rename from pp_format_verbatim.
3331 (pp_base_flush): Rename from pp_flush.
3332 (pp_base_set_line_maximum_length): Rename from
3333 pp_set_line_maximum_length.
3334 (pp_base_clear_output_area): Rename from pp_clear_output_area.
3335 (pp_base_set_prefix): Rename from pp_set_prefix.
3336 (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
3337 (pp_base_emit_prefix): Rename from pp_emit_prefix.
3338 (pp_base_append_text): Rename from pp_append_text.
3339 (pp_base_formatted_text): Rename from pp_formatted_text.
3340 (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
3341 (pp_base_remaining_character_count_for_line): Rename from
3342 pp_remaining_character_count_for_line.
3343 * diagnostic.h (diagnostic_format_decoder): Tidy.
3344 (diagnostic_flush_buffer): Likewise.
3345 * c-pretty-print.h: (pp_c_string_literal): Declare.
3346 (pp_c_real_literal): Likewise.
3347 (pp_c_integer_literal): Likewise.
3348 * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
3350 (pp_c_character_literal): Tidy.
3351 (pp_c_string_literal): Make public.
3352 (pp_c_bool_literal): Likewise.
3353 (pp_c_integer_literal): Likewise.
3354 (pp_c_real_literal): Likewise.
3356 * Makefile.in (C_PRETTY_PRINT_H): New variable.
3357 (c-pretty-print.o): Update dependence.
3359 2003-08-05 Chris Demetriou <cgd@broadcom.com>
3361 * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
3362 ".set nomacro" state.
3363 (fix_truncsfsi2_macro): Likewise.
3365 2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
3367 * tree.h (DID_INLINE_FUNC): Remove macro.
3368 (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
3369 add tree check for FUNCTION_DECL.
3370 (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
3371 (struct tree_decl): Rename inlined_function_flag to
3372 declared_inline_flag.
3373 * c-common.h (c_lang_decl): Remove.
3374 (DECL_ESTIMATED_INSNS): Remove.
3375 * c-tree.h (struct lang_decl): Don't include c_lang_decl.
3376 (DECL_DECLARED_INLINE_P): Remove.
3377 * c-decl.c (grokdeclarator): Update comment. With -finline-functions,
3378 do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC.
3379 (finish_function): Make uninlinable a bool. Fixup call to
3380 tree_inlinable_function_p() and fix some code style issues.
3381 * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
3382 * cgraph.c (dump_cgraph): Likewise.
3383 * cgraphunit.c (cgraph_decide_inlining): Likewise
3384 (cgraph_finalize_compilation_unit): Likewise.
3385 Also update call to tree_inlinable_function_p().
3386 (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead
3387 look at DECL_DECLARED_INLINE and reverse logic.
3388 * print-tree.c (print_node): Likewise.
3389 * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
3390 * tree-inline.h (tree_inlinable_function_p): Make a bool. Update
3392 * tree-inline.c (inlinable_function_p): Split up in this function to
3393 check for basic inlining inhibiting conditions, and new
3394 limits_allow_inlining() function. Warn if inlining is impossible
3395 because the inline candidate calls alloca or uses sjlj exceptions.
3396 (limits_allow_inlining): this new function to check if the inlining
3397 limits are satisfied. Throttle from currfn_max_inline_insns, not from
3398 MAX_INLINE_INSNS_SINGLE. The latter only makes sense if
3399 MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
3401 (tree_inlinable_function_p): Make a bool. Update call to
3402 inlinable_function_p
3403 (expand_call_inline): Use limits_allow_inlining() when not in
3404 unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC,
3405 instead see if the function was declared `inline'.
3407 2003-08-05 Josef Zlomek <zlomekj@suse.cz>
3409 * gcse.c (try_replace_reg): Fix updating of note.
3411 2003-08-04 Roger Sayle <roger@eyesopen.com>
3414 * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
3415 logic in negate_expr, i.e. we don't invert (A-B) for floating
3416 point types unless flag_unsafe_math_optimizations.
3418 2003-08-04 Roger Sayle <roger@eyesopen.com>
3420 * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
3421 Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
3422 for floating point expressions with -ffast-math.
3423 (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
3424 * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
3426 2003-08-04 Roger Sayle <roger@eyesopen.com>
3428 * c-common.c (flag_noniso_default_format_attributes): Delete.
3429 (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
3430 (c_attrs_initialized): Delete.
3431 (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
3432 always call c_init_attributes.
3433 (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't
3434 set c_attrs_initialized when done.
3435 (c_common_insert_default_attributes): Delete.
3436 * c-common.h (flag_noniso_default_format_attributes): Delete.
3437 (c_coomon_insert_default_attributes): Delete prototype.
3438 * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
3439 flag_noniso_default_format_attributes.
3441 * c-decl.c (c_insert_default_attributes): Delete.
3442 * c-tree.h (c_insert_default_attributes): Delete prototype.
3444 * attribs.c (decl_attributes): Don't call insert_default_attributes
3445 langhook. Update function description comment.
3446 * langhooks.h (lang_hooks): Remove insert_default_attributes field.
3447 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
3448 * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
3449 * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
3451 * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
3454 2003-08-04 Richard Sandiford <rsandif@redhat.com>
3456 * config/mips/mips.c (override_options): Disable -G on targets that
3457 have no .section support.
3458 (mips_select_section): Use default_select_section for such targets.
3460 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org>
3462 * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
3463 * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
3464 * fixinc/fixincl.x: Rebuild.
3465 * fixinc/tests/base/regexp.h: New test.
3467 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
3469 * c-ppoutput.c (cb_line_change): Don't skip line changing while
3470 parsing macro arguments in the top-level context.
3472 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
3474 * config.in: Remove HAVE_LSTAT.
3475 * configure, configure.in: Don't test for lstat.
3477 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
3479 * opts.c (decode_options): Do language-specific initialization for
3480 the global diagnostic context.
3481 * langhooks-def.h (lhd_initialize_diagnostics): Declare.
3482 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
3483 (LANG_HOOKS_INITIALIZER): Adjust.
3484 * langhooks.h (struct lang_hooks): Add new field
3485 initialize_diagnostics.
3486 * langhooks.c (lhd_initialize_diagnostics): Define.
3488 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
3490 * pretty-print.h: Adjust macro definitions.
3491 * pretty-print.c (pp_newline): Rename to pp_base_newline.
3492 (pp_character): Rename to pp_base_character.
3493 (pp_string): Rename to pp_base_string.
3494 * c-pretty-print.c (pp_buffer): Move to pretty-print.h
3495 (pp_newline): Likewise. Adjust.
3496 (pp_c_char): Adjust.
3498 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3500 * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
3501 BUILT_IN_LLABS): Move to miscellaneous section.
3503 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
3505 PR preprocessor/11534
3506 * cppexp.c (parse_defined): Warn only if -pedantic.
3508 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
3510 * cppfiles.c (stack_file): Use file path.
3512 2003-08-02 Roger Sayle <roger@eyesopen.com>
3514 * builtin-types.def (BT_SSIZE): New primitive type.
3515 (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
3516 BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
3517 BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
3518 BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
3519 * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
3520 BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
3521 BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
3522 * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
3523 few functions that define default attributes using it.
3524 * c-common.c (c_common_insert_default_attributes): Do nothing.
3526 * doc/extend.texi: Document these "new" builtins.
3528 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
3530 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
3531 (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
3532 when -mieee-fp set and -shared not set.
3533 (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
3535 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
3537 * cppfiles.c (struct _cpp_file): Rename once_only_next to
3538 next_file. Remove import and pragma_once, add once_only.
3539 (find_file): Add new file structures to the all_files list.
3540 (should_stack_file): Mark #import-ed files once-only, and
3541 don't stack them if the file has already been stacked.
3542 (_cp_mark_file_once_only): Simplify.
3543 * cpphash.h (struct cpp_reader): Rename once_only_files
3544 to all_files. Rename saw_pragma_once to seen_once_only.
3545 (_cpp_mark_file_once_only): Update prototype.
3546 * cpplib.c (do_pragma_once): Update.
3548 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
3550 * cppfiles.c (ENOTDIR): Remove.
3551 (open_file_in_dir): Rename find_file_in_dir. Handle errors
3552 other than ENOENT here.
3553 (once_only_file_p): Rename should_stack_file.
3554 (find_file, open_file_failed, read_file_guts): Report errors
3555 with full path name.
3556 (read_file): Move pch handling to should_stack_file.
3557 (should_stack_file): Handle PCH and once-only issues, and
3559 (stack_file): Don't do file reads.
3561 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3563 * libgcov.c (gcov_exit): Cleanup and fix.
3564 * profile.c (compute_value_histograms): Don't try to read profiles
3565 that are not present.
3567 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3569 * builtins.def: Categorize.
3571 * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
3573 (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
3575 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch>
3577 * config.gcc: Enable posix threads by default on darwin.
3579 2003-08-01 Jakub Jelinek <jakub@redhat.com>
3581 * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
3582 even if nehedges1 is 0.
3584 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org>
3586 * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
3587 fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
3588 fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
3591 * fixinc/inclhack.def (broken_cabs): Make matching more generous.
3592 * fixinc/fixincl.x: Regenerate.
3593 * fixinc/tests/base/math.h: Regenerate to match test_text change.
3595 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3597 * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
3599 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3601 * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
3602 for accesses to exc_ptr.
3604 2003-08-01 Geoffrey Keating <geoffk@apple.com>
3606 * doc/sourcebuild.texi (Front End Directory): Don't make references
3607 to libsubdir, it's not part of the interface to frontends.
3608 * doc/install.texi (Configuration): Help users read faster by saying
3609 that GCC's configure options are the standard autoconf ones.
3610 Mention --libdir. Update the default rules for finding the
3611 assembler. Don't use libsubdir since we haven't said what it means.
3612 (Specific): In the Solaris 7 notes, update the place to put the
3614 * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
3615 * doc/cpp.texi (Search Path): Actually, the search path
3616 depends on libdir, which can relocate with cpp.
3617 * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
3618 now a private interface between the Makefile and the driver.
3620 2003-08-01 Richard Henderson <rth@redhat.com>
3622 * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
3624 * varasm.c (lookup_constant_def): New function.
3625 * rtl.h (lookup_constant_def): Declare it.
3626 * dwarf2out.c (loc_descriptor_from_tree): Use it.
3627 Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
3629 2003-08-01 Zack Weinberg <zack@codesourcery.com>
3631 * c-decl.c (gettags, pushdecl_function_level): Delete.
3632 (last_function_parm_vars): Rename last_function_parm_others.
3633 (current_function_parm_vars): Rename current_function_parm_others.
3634 (struct c_scope): Rewrite comment explaining this data structure.
3635 Add names_last, blocks_last, parms_last fields. Rename
3636 incomplete_list to incomplete.
3637 (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
3638 (poplevel): Ignore second argument. No need to nreverse
3639 anything. Restructure such that each list is processed
3640 exactly once. Use 'const location_t *locus' syntactic sugar
3641 variable where useful. Issue unused variable warnings
3642 ourselves, do not rely on function.c.
3643 (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
3644 (pushdecl_top_level): Likewise. Don't call duplicate_decls.
3645 (implicitly_declare): decl cannot be error_mark_node.
3646 (undeclared_variable): Manipulate scope structure directly.
3647 (c_make_fname_decl): Likewise.
3648 (getdecls, c_init_decl_processing): Fix comment.
3649 (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need
3650 for 'last' variable.
3651 (grokparms): No need to nreverse parms list.
3652 (store_parm_decls_newstyle): Set up the parms_last and
3653 names_last fields of the new scope too.
3654 (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
3655 on parms to begin with; check this under ENABLE_CHECKING. Set
3657 (check_for_loop_decls): Refer directly to current_scope->tags.
3658 Use consistent quote style in diagnostics.
3659 (c_write_global_declarations): The names list is not backward.
3661 * c-common.h: Don't prototype gettags.
3662 * c-parse.in: Call poplevel with second argument 0 always.
3664 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3666 * builtins.def: Resort builtins.
3668 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3670 * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
3671 DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
3672 Prepend "__builtin_" onto NAME with string concatenation. Remove
3673 explicit "__builtin_" from each macro call.
3675 Reformat entire file.
3677 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3679 * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
3680 ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout.
3682 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com>
3684 * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
3685 CCL1, or CCL2 modes with floating point operations.
3687 * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
3688 "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
3689 "*subdf3_cconly"): New insns.
3690 ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
3692 2003-08-01 Neil Booth <neil@daikokuya.co.uk>
3694 * Makefile.in: Refine dependencies.
3695 * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
3696 * c.opt: Update help for -Wimport.
3697 * cppfiles.c: Include hashtab.h. Update comments.
3698 (stack_file): Read the file before updating dependencies.
3699 (once_only_file_p): Be smarter about marking once-only files.
3700 (_cpp_mark_file_once_only): Correct the check for existence on
3702 (open_file_failed): Use name not path, which is NULL.
3703 * cpphash.h: Don't include hashtab.h.
3704 (struct _cpp_file): Remove.
3705 (struct cpp_reader): Update.
3706 * cppinit.c (cpp_create_reader): Don't initialize warn_import.
3707 * cpplib.h (struct cpp_options): Remove warn_import.
3708 (cpp_simplify_path): Remove.
3710 2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
3713 * doc/extend.texi (Statement Expressions): Document C++ semantics.
3715 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
3717 * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
3719 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3721 * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
3723 * builtins.def: Likewise.
3725 2003-07-31 Jason Merrill <jason@redhat.com>
3727 * Makefile.in (bubblestrap): Don't require a previous full
3730 * expr.c (mostly_zeros_p): No longer static.
3731 * tree.h: Declare it.
3732 * stmt.c (resolve_asm_operand_names): Don't copy the pattern
3733 unless we need to do substitutions.
3735 2003-07-31 Roger Sayle <roger@eyesopen.com>
3737 * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
3738 pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x
3739 as pow(x,2.0) when the latter will be expanded back into x*x.
3740 (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
3741 * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
3742 pow can never set errno when used with an integer exponent.
3743 Always use expand_powi when exponent is -1, 0, 1 or 2.
3744 (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
3745 as 1.0/(x*x). This avoids unbounded recursion as we now prefer
3746 the pow forms of these expressions.
3748 2003-07-31 Geoffrey Keating <geoffk@apple.com>
3750 * Makefile.in (libexecdir): New.
3751 (libsubdir): Use gcc instead of gcc-lib.
3752 (libexecsubdir): New.
3753 (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
3754 (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
3756 (installdirs): Make libexecsubdir.
3757 (install-common): Put executables in libexecsubdir.
3758 (itoolsdir): Use libexecsubdir.
3759 (itoolsdatadir): New.
3760 (install-mkheaders): Separate data files and executables.
3761 (install-collect2): Put executables in libexecsubdir.
3762 (uninstall): Remove libexecsubdir.
3763 * mkheaders.in: Update for new arrangement of files.
3765 (libexecsubdir): New.
3766 (itoolsdir): Use libexecsubdir.
3767 (itoolsdatadir): New.
3768 * gcc.c (gcc_libexec_prefix): New.
3769 (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
3770 (standard_exec_prefix_1): Use libexec.
3771 (standard_exec_prefix_2): New.
3772 (standard_libexec_prefix): New.
3773 (process_command): Update for new arrangement of files. Compute
3774 gcc_libexec_prefix. Update for change from gcc-lib to gcc.
3776 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org>
3778 * inclhack.def (stdio_va_list): Avoid bogus replacement which
3779 triggers on Interix.
3780 * fixincl.x: Regenerate.
3782 2003-07-31 Jakub Jelinek <jakub@redhat.com>
3784 * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
3785 SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
3787 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3789 * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
3791 2003-07-31 Per Bothner <pbothner@apple.com>
3793 * opts.c (in_fnames, num_in_fnames): Moved here from c-opts.
3794 (add_input_filename): New function.
3795 (handle_options): Call add_input_filename directly instead of
3797 * opts.h (in_fnames, num_in_fnames): Moved here.
3798 (add_input_filename): Declare.
3799 * c-decl.c: Need to #include opts.h.
3800 * Makefile.in (c-decl.o): Also depends on opts.h.
3801 * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c.
3802 (c_common_handle_filename): Replaced by add_input_filename.
3803 * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
3805 * langhooks.h (struct lang_hooks): Remove handle_filename hook.
3806 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
3807 (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME.
3808 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
3810 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3812 * combine.c (try_combine): Set JUMP_LABEL for newly created
3815 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3817 * fold-const.c (fold): Fold some comparisons of bit operations.
3819 2003-07-31 Jan Hubicka <jh@suse.cz>
3821 * cgraph.c (create_edge): Fix typo.
3822 * i386.c (pic_symbolic_operand): Reorder tests.
3824 2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
3826 * doc/gcov.texi (Invoking Gcov): Describe output name mangling
3828 (Gcov Data Files): Update.
3830 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3832 * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
3835 * gthr-posix.c: New file.
3836 * gthr-posix.h: Define _REENTRANT if missing.
3837 Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
3839 * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
3841 * config/alpha/t-osf-pthread: New file.
3843 * fixinc/inclhack.def (alpha_pthread): New fix.
3844 * fixinc/fixincl.x: Regenerate.
3845 * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
3847 * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
3849 Fixes PR bootstrap/9330.
3851 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3853 * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
3856 * configure: Regenerate.
3858 2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
3860 * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
3863 2003-07-30 Roger Sayle <roger@eyesopen.com>
3865 * builtins.def: Alphabetize.
3867 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
3869 * doc/c-tree.texi: Normalize spellings of "lowercase" and
3871 * doc/cpp.texi: Likewise.
3872 * doc/md.texi: Likewise.
3873 * doc/rtl.texi: Likewise.
3874 * doc/tm.texi: Likewise.
3876 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
3878 * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
3879 (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
3882 2003-07-30 Chris Demetriou <cgd@broadcom.com>
3884 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
3885 macros before defining them.
3887 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com>
3889 * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
3890 UNSPECV_BLOCKAGE): New constants.
3891 ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
3892 "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
3893 splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
3894 "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
3896 (all insns and expanders): Write output control string as brace block
3897 where appropriate. Remove \-escapes for doublequote characters.
3899 2003-07-31 Jan Hubicka <jh@suse.cz>
3901 * gcse.c (insert_store): Fix typo in previous patch.
3903 2003-07-30 Neil Booth <neil@daikokuya.co.uk>
3905 * cppfiles.c (stack_file, open_file_failed): Use path for deps.
3907 2003-07-30 Andi Kleen <ak@muc.de>
3909 * loop.c (check_dbra_loop): Allow LTU in the loop condition.
3911 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3913 * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
3914 * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
3915 GCOV_N_VALUE_COUNTERS): New.
3916 * profile.c (compute_value_histograms): New static function.
3917 (branch_prob): Read back the value histograms.
3918 * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
3919 * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
3920 * value-prof.c: Add comment on reading the profile.
3921 * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
3922 * doc/invoke.texi (-fprofile-values): Document behavior with
3923 -fbranch-probabilities.
3925 2003-07-30 David Edelsohn <edelsohn@gnu.org>
3927 * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
3929 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
3931 * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
3934 2003-07-30 Jan Hubicka <jh@suse.cz>
3936 * gcse.c (insert_store): Ignore fake edges.
3938 * c-common.c (flag_vtable_gc): Kill.
3939 * c-common.g (flag_vtable_gc): Kill.
3940 * c-opts (c_common_handle_option): Kill.
3941 * c.opt (fvtable-gc): Kill.
3942 * final.c (final_scan_insn): Do not call assemble_vtable_entry.
3943 * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
3944 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
3946 * invoke.texi (-ftable-gc): Kill documentation.
3948 * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
3949 just because function body is missing.
3951 * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
3953 2003-07-30 Ranjit Mathew <rmathew@hotmail.com>
3955 * unwind-sjlj.c: Fix typo in file description.
3957 2003-07-30 Alan Modra <amodra@bigpond.net.au>
3959 * calls.c (load_register_parameters): When shifting reg sized values
3960 to the msb, move the value to a reg first.
3962 2003-07-29 Geoffrey Keating <geoffk@apple.com>
3964 * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
3965 * line-map.h (linemap_add): Update comments.
3966 * line-map.c (linemap_add): Update comments, interpret zero-length
3967 filename as "<stdin>".
3969 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
3971 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
3973 2003-07-29 Zack Weinberg <zack@codesourcery.com>
3975 * c-decl.c (last_function_parm_vars, current_function_parm_vars):
3976 New static variables.
3977 (struct c_scope): Add parms and warned_forward_parm_decls
3978 fields; remove parm_order.
3979 (storedecls, storetags): Delete.
3980 (poplevel): Also clear bindings on the parms chain.
3981 (pushdecl): Handle forward declarations of parameters, and
3982 chain PARM_DECLs on the parms list, not the names list.
3983 (lookup_name_current_level): Check for PARM_DECLs on the parms
3985 (push_parm_decl): Don't update parm_order.
3986 (clear_parm_order): Rename mark_forward_parm_decls. Issue the
3987 warning, only once per parameter list, and set TREE_ASM_WRITTEN
3988 on the decls here. Then move the forward decls to the names list.
3989 (grokparms): Set last_function_parm_vars.
3990 (get_parm_info): Don't use gettags or getdecls. No need to
3991 extract non-parms from the parms list, or reorganize the parms
3992 list. Feed nonparms back in the TREE_TYPE of the list node
3993 returned. Issue only one error per parameter list for "void"
3994 appearing more than once in said parameter list. Collapse
3995 parmlist_tags_warning into this function to avoid double scan
3997 (start_function): Set current_function_parm_vars.
3998 (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
3999 directly. Get non-parms from current_function_parm_vars; no
4000 need to extract them from the parms chain. Properly bind tags
4002 (store_parm_decls_oldstyle): No need to extract non-parameters
4003 from the parms chain, nor to store them back afterward. Move
4004 declaration to top of function, restructure code reordering
4006 (store_parm_decls): No need to save and restore warn_shadow.
4007 * c-parse.in: Don't call parmlist_tags_warning nor
4008 clear_parm_order. Call mark_forward_parm_decls when forward
4009 parm decls are encountered.
4010 * c-tree.h: Prototype mark_forward_parm_decls; not
4011 clear_parm_order or parmlist_tags_warning.
4013 2003-07-29 Geoffrey Keating <geoffk@apple.com>
4015 * c-common.c (allow_pch): Remove.
4016 * c-common.h (allow_pch): Remove.
4017 (c_common_no_more_pch): Declare.
4018 * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
4019 * c-pch.c: Include hosthooks.h.
4020 (c_common_valid_pch): Don't check allow_pch.
4021 (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
4022 (c_common_no_more_pch): New.
4023 * ggc-common.c: Include hosthooks.h.
4024 (gt_pch_save): Call gt_pch_get_address.
4025 (gt_pch_restore): Call gt_pch_use_address.
4026 * hooks.c (hook_voidp_size_t_null): New.
4027 (hook_bool_voidp_size_t_false): New.
4028 * hooks.h (hook_voidp_size_t_null): New.
4029 (hook_bool_voidp_size_t_false): New.
4030 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
4031 (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
4032 (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
4033 HOST_HOOKS_GT_PCH_USE_ADDRESS.
4034 * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
4036 * doc/hostconfig.texi (Host Common): Document
4037 HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
4038 * Makefile.in (c-pch.o): Depend on hosthooks.h.
4039 (ggc-common.o): Likewise.
4041 * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
4042 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
4043 (pch_address_space): New.
4044 (darwin_rs6000_gt_pch_get_address): New.
4045 (darwin_rs6000_gt_pch_use_address): New.
4047 2003-07-29 Neil Booth <neil@daikokuya.co.uk>
4049 PR preprocessor/11569
4050 PR preprocessor/11649
4051 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
4052 * cppfiles.c: Completely rewritten.
4053 * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
4054 struct cpp_path is now struct cpp_dir.
4055 (remove_duplicates): Don't simplify path names.
4056 * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
4058 * cpphash.h: Include hashtab.h.
4059 (_cpp_file): Declare.
4060 (struct cpp_buffer): struct include_file is now struct _cpp_file,
4061 and struct cpp_path is now struct cpp_dir. Rename members.
4062 (struct cpp_reader): Similarly. New members once_only_files,
4063 file_hash, file_hash_entries, quote_ignores_source_dir,
4064 no_search_path, saw_pragma_once. Remove all_include_files and
4065 max_include_len. Make some members bool.
4066 (_cpp_mark_only_only): Renamed from _cpp_never_reread.
4067 (_cpp_stack_file): Renamed from _cpp_read_file.
4068 (_cpp_stack_include): Renamed from _cpp_execute_include.
4069 (_cpp_init_files): Renamed from _cpp_init_includes.
4070 (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
4071 * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
4072 (cpp_read_next_file): Rename and move to cppfiles.c.
4073 (cpp_read_main_file): Update.
4074 * cpplib.c (run_directive): Update for renamed members.
4075 (do_include_common, _cpp_pop_buffer): Update.
4076 (do_import): Undeprecate #import.
4077 (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
4078 * cpplib.h: Remove file_name_map_list.
4079 (cpp_options): Remove map_list.
4080 (cpp_dir): Rename from cpp_path. New datatype for name_map.
4081 (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
4083 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
4085 * Makefile.in: Make stamp-objdir safe for parallel builds.
4087 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
4089 * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
4090 (info): Depend on stmp-docobjdir.
4092 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4094 * configure: Regenerate.
4096 2003-07-29 Jan Hubicka <jh@suse.cz>
4099 * tree-inline.c (expand_call_inline): Always call inlinable_function_p
4100 in !unit-at-a-time mode.
4102 2003-07-28 Geoffrey Keating <geoffk@apple.com>
4104 * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
4107 2003-07-28 Mark Mitchell <mark@codesourcery.com>
4110 * c-common.c (shorten_compare): Take into account differences
4111 between C and C++ representation for enumeration types.
4112 * tree.h (set_min_and_max_values_for_integral_type): Declare.
4113 * stor-layout.c (set_min_and_max_values_for_integral_type): New
4114 function, broken out from ...
4115 (fixup_signed_type): ... here and ...
4116 (fixup_unsigned_type): ... here.
4118 2003-07-28 Zack Weinberg <zack@codesourcery.com>
4120 * c-decl.c: Update commentary, adjust blank lines throughout.
4121 (struct c_scope): Fix indentation. Reorder members so
4122 outer-context pointers come first, booleans last.
4123 (duplicate_decls, define_label): Use a 'locus' variable for
4124 diagnostic locations in a few more places.
4125 (warn_if_shadowing): Un-split a conditional that fits on one line.
4126 (c_init_decl_processing): No need to clear current_scope and
4127 current_function_scope.
4128 (start_decl): Merge if/else if statements with same action.
4129 (push_parm_decl): Rename old_immediate_size_expand to use
4130 save_foo convention; save/restore around entire function.
4131 (grokdeclarator): Remove unnecessary braces.
4133 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
4134 Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
4136 * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
4137 when warn_declaration_after_statement. Call pedwarn_c90, not
4138 pedwarn. Correct message: it's "ISO C90", not "ISO C89".
4139 * c-common.c (warn_declaration_after_statement): Define.
4140 * c-common.h (warn_declaration_after_statement): Declare.
4141 * c.opt (Wdeclaration-after-statement): New.
4142 * c-errors.c (pedwarn_c90): New function.
4143 * c-opts.c (c_common_handle_option) <case
4144 OPT_Wdeclaration_after_statement>: New.
4145 * c-tree.h (pedwarn_c90): Declare.
4146 * doc/invoke.texi (Option Summary): Document
4147 -Wdeclaration-after-statement.
4148 (Warning Options): Ditto.
4150 2003-07-28 Jan Hubicka <jh@suse.cz>
4152 * i386.md (memory attribute) Avoid accessing uninitialized memory
4153 for ishift1 type instructions.
4155 2003-07-28 Jakub Jelinek <jakub@redhat.com>
4157 * configure.in (--enable-checking): Add fold category.
4158 (ENABLE_FOLD_CHECKING): Define if requested.
4159 * configure: Rebuilt.
4160 * config.in: Rebuilt.
4161 * doc/install.texi: Document it.
4162 * fold-const.c: Include md5.h.
4163 [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
4164 [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
4165 print_fold_checksum): New functions.
4167 * fold-const.c (fold): Never modify argument passed to fold, instead
4168 change a copy and return it.
4169 * convert.c (convert_to_integer): Likewise.
4171 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
4173 * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
4174 cleanup of junk after #else and #endif directives. Collapse repeated
4175 clauses into for statment.
4177 * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
4179 2003-07-27 Zack Weinberg <zack@codesourcery.com>
4181 * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
4182 (keep_next_if_subblocks): Rename next_is_function_body.
4183 (pushlevel): Adjust commentary. Always set ->keep on the
4184 outermost level of a function. Don't set ->keep_if_subblocks.
4185 (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
4186 (store_parm_decls): Adjust to match.
4187 (finish_function): Adjust to match.
4188 Call poplevel with all three arguments zero.
4190 * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
4191 New functions split out of store_parm_decls.
4192 Avoid unnecessary work. Use local variables consistently.
4193 (store_parm_decls): Likewise.
4195 (finish_function): No need to set functionbody flag on call to
4197 (struct language_function): Remove scope field.
4198 (c_push_function_context, c_pop_function_context): No need to
4199 save and restore current_scope.
4201 2003-07-27 Nathan Sidwell <nathan@codesourcery.com>
4203 * doc/extend.texi (Deprecated Features): Implicit typename is
4204 gone. Default args on types is going.
4206 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
4208 * Makefile.in (ifcvt.o): Depend on target.h
4209 * ifcvt.c (target.h): Include.
4210 (if_convert): Don't call mark_loop_exit_edges if we can't
4213 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4215 * doc/install.texi (Testing): Adjust required versions of DejaGnu.
4217 2003-07-26 Richard Henderson <rth@redhat.com>
4220 * cse.c (count_reg_usage): Handle asm_operands properly.
4222 2003-07-26 Roger Sayle <roger@eyesopen.com>
4224 * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
4225 (DEF_EXT_FALLBACK_BUILTIN): Delete.
4226 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
4227 the regular DEF_EXT_LIB_BUILTIN macro.
4228 (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
4229 the regular DEF_LIB_BUILTIN macro.
4230 (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
4231 BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
4232 BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
4233 DEF_EXT_LIB_BUILTIN macro.
4235 * c-decl.c (duplicate_decls): Remove code to handle builtin
4236 functions prototyped without an argument list.
4238 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
4240 * config/i386/winnt.c: Revert 2003-07-08 change.
4241 (i386_pe_section_type_flags): Remove error_with_decl here too.
4243 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
4245 * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
4246 * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
4247 * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
4248 (v850_handle_data_area_attribute): Likewise.
4250 2003-07-26 Geoffrey Keating <geoffk@apple.com>
4252 * varasm.c (output_constant_def_contents): Use
4253 ASM_DECLARE_CONSTANT_NAME if defined.
4254 * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
4255 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
4256 objects get at least one byte to prevent assembler problems.
4257 (ASM_DECLARE_CONSTANT_NAME): New.
4259 * Makefile.in (libbackend.o): Remove options_.h.
4260 (mostlyclean): Likewise.
4262 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
4263 insert a label at the end of an function under Mach-O.
4265 * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
4267 2003-07-25 Aldy Hernandez <aldyh@redhat.com>
4269 * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
4271 (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
4273 * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
4275 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
4277 * doc/passes.texi (Passes): Mention pretty-printing and
4280 2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
4282 * doc/extend.texi (Function Attributes): GNU C++ does now allow
4283 unused parameter decls.
4284 (Attribute Syntax): GNU C++ does not allow label attributes to be
4287 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
4289 * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
4290 (objc_declare_class): Likewise.
4291 (error_with_ivar): Likewise.
4292 (start_class): Likewise.
4293 (warn_with_method): Likewise.
4295 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
4297 Remove pedwarn_with_decl, warning_with_decl and error_with_decl
4299 * calls.c (try_to_integrate): Don't use xxx_with_decl.
4300 (expand_call): Likewise.
4301 * dwarfout.c (output_reg_number): Likewise.
4302 * expr.c (expand_expr): Likewise.
4303 * function.c (assign_temp): Likewise.
4304 (uninitialized_vars_warning): Likewise.
4305 (setjmp_args_warning): Likewise.
4306 (expand_function_end): Likewise.
4307 * stmt.c (fixup_gotos): Likewise.
4308 (warn_about_unused_variables): Likewise.
4309 (expand_end_bindings): Likewise.
4310 * stor-layout.c (layout_decl): Likewise.
4311 (place_field): Likewise.
4312 * toplev.c (check_global_declarations): Likewise.
4313 (rest_of_handle_inlining): Likewise.
4314 (default_tree_printer): New function.
4315 (general_init): Initialize diagnostic machinery before routing
4316 signals to the ICE machinery. Set default tree printer.
4317 * toplev.h (pedwarn_with_decl): Remove declaration.
4318 (warning_with_decl): Likewise.
4319 (error_with_decl): Likewise.
4320 (pedwarn): Remove attribute for the time being.
4321 * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
4322 * varasm.c (named_section): Likewise.
4323 (make_decl_rtl): Likewise.
4324 (assemble_variable): Likewise.
4325 (merge_weak): Likewise.
4326 (declare_weak): Likewise.
4328 * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
4329 * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
4330 (format_with_decl): Remove.
4331 (diagnostic_for_decl): Likewise.
4332 (pedwarn_with_decl): Likewise.
4333 (warning_with_decl): Likewise.
4334 (error_with_decl): Likewise.
4335 (diagnostic_initialize): Adjust.
4336 (diagnostic_count_diagnostic): Likewise.
4337 (announce_function): Likewise.
4338 (lhd_print_error_function): Likewise.
4339 (diagnostic_report_current_module): Likewise.
4340 (default_diagnostic_starter): Likewise.
4341 (diagnostic_report_diagnostic): Likewise.
4342 (default_diagnostic_finalizer): Likewise.
4343 (verbatim): Likewise.
4345 (warning): Likewise.
4346 * opts.c (common_handle_option): Likewise.
4347 * pretty-print.c: New file.
4348 * c-pretty-print.h (pp_base): Override.
4349 * c-pretty-print.c: Adjust use of macros throughout.
4350 (pp_buffer): New macro.
4351 (pp_newline): Likewise.
4352 * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
4353 * Makefile.in (DIAGNOSTIC_H): New variable.
4354 (c-errors.o): Use it.
4355 (c-objc-common.o): Likewise.
4356 (c-common.o): Likewise.
4357 (c-opts.o): Likewise.
4358 (c-format.o): Likewise.
4359 (diagnostic.o): Likewise.
4361 (toplev.o): Likewise.
4362 (rtl-error.o): Likewise.
4363 (dwarf2out.o): Likewise.
4365 (pretty-print.o): New rule.
4367 2003-07-24 Roger Sayle <roger@eyesopen.com>
4369 * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
4370 front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
4371 (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
4372 from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
4373 (DEF_FRONT_END_LIB_BUILTIN): Delete.
4374 (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
4375 (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
4377 * builtins.c (build_string_literal): New function to construct
4378 a char* pointer to a string literal.
4379 (expand_builtin_fputs): Change 2nd argument from "int ignore" to
4380 "rtx target" to be consistent with other expand_builtin_* functions.
4381 Change 3rd argument from "int unlocked" to "bool unlocked".
4382 (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
4383 c-common.c to avoid front-end dependencies. Optimize printf("")
4384 as a no-op when the result isn't required. Handle embedded NULs
4386 (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
4387 from c-common.c to avoid front-end dependencies. Likewise, optimize
4388 fprintf(fp,"") as a no-op when the result isn't required, evaluating
4389 fp for side-effects. Handle embedded NULs in format string.
4390 (expand_builtin_sprintf): Fix typo.
4391 (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
4392 optimizing. Adjust calls of expand_builtin_fputs to match the API
4393 change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
4394 expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
4395 and BUILT_IN_FPRINTF using expand_builtin_fprintf.
4397 * c-common.c (is_valid_printf_arglist): Delete.
4398 (c_expand_builtin): Delete.
4399 (c_expand_builtin_printf): Moved to builtins.c. Delete.
4400 (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
4401 (c_expand_expr): No longer treat CALL_EXPRs specially.
4402 (CALLED_AS_BUILT_IN): Delete.
4404 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4406 PR optimization/11631
4407 * gcse.c (store_motion): Connect infinite loops to exit.
4409 2003-07-24 Jason Merrill <jason@redhat.com>
4411 * tree.h (boolean_type_node): Move from C/C++/Java frontends.
4412 (boolean_true_node, boolean_false_node): Likewise.
4413 (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
4414 * tree.c (build_common_tree_nodes): Init boolean_type_node.
4415 (build_common_tree_nodes_2): Init boolean_{true,false}_node.
4416 * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
4417 * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
4418 (truthvalue_true_node): Renamed from boolean_true_node.
4419 (truthvalue_false_node): Renamed from boolean_false_node.
4420 * c-decl.c: Just set truthvalue_* to integer_*.
4421 * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
4423 2003-07-24 Roger Sayle <roger@eyesopen.com>
4425 * c-decl.c (match_builtin_function_types): New subroutine of
4426 duplicate_decls to test whether a redeclaration of a builtin
4427 function is suitably close, i.e. the return type and all of
4428 the argument types have the same modes as the builtin expects.
4429 (duplicate_decls): Fuzzy type matching for builtin functions
4430 moved to match_builtin_function_types.
4432 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4434 * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
4437 2003-07-24 Zack Weinberg <zack@codesourcery.com>
4439 * c-decl.c: Search-and-replace change 'binding level' to
4440 'scope' in commentary.
4441 (struct binding_level): Now struct c_scope.
4442 (current_binding_level): Now current_scope.
4443 (free_binding_level): Now scope_freelist.
4444 (current_function_level): Now current_function_scope.
4445 (global_binding_level): Now global_scope.
4446 (make_binding_level): Now make_scope.
4447 (pop_binding_level): Now pop_scope.
4449 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4451 * configure.in (libgcc_visibility): Add missing whitespace.
4453 2003-07-24 Richard Henderson <rth@redhat.com>
4455 * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
4456 __gcc_personality_v0.
4458 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4460 * Makefile.in: Replace pwd by ${PWD_COMMAND}.
4462 2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
4464 * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
4465 documentation missed from my 2003-07-09 patch.
4467 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
4469 * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
4471 * configure: Rebuild.
4473 2003-07-24 Steven Bosscher <steven@gcc.gnu.org>
4476 * c-typeck.c (type_lists_compatible_p): Do not compare
4477 arguments if one of them is an error_mark_node
4479 2003-07-24 Alan Modra <amodra@bigpond.net.au>
4481 * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
4482 if current_function_calls_eh_return.
4484 2003-07-23 Mark Mitchell <mark@codesourcery.com>
4486 * doc/c-tree.texi (OFFSET_TYPE): Update description.
4488 2003-07-23 Bob Wilson <bob.wilson@acm.org>
4490 * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
4491 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
4492 __umodsi3, __modsi3): Increase frame size to 32.
4494 2003-07-23 Geoffrey Keating <geoffk@apple.com>
4496 * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
4499 2003-07-23 Mark Mitchell <mark@codesourcery.com>
4501 * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
4503 PR optimization/10679
4504 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
4506 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4508 PR target/11607 and PR target/11516
4509 * pa.md (extzv, extv, insv): Revert latter half of last patch.
4511 2003-07-22 Mark Mitchell <mark@codesourcery.com>
4513 * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
4514 * varasam.c (output_constant): Likewise.
4516 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
4518 * alias.c: Fix comment formatting.
4519 * c-common.c: Likewise.
4520 * c-decl.c: Likewise.
4521 * c-opts.c: Likewise.
4522 * combine.c: Likewise.
4523 * cpplib.c: Likewise.
4524 * diagnostic.c: Likewise.
4525 * dojump.c: Likewise.
4526 * final.c: Likewise.
4527 * fold-const.c: Likewise.
4530 * ggc-page.c: Likewise.
4533 * mips-tfile.c: Likewise.
4534 * recog.c: Likewise.
4535 * regclass.c: Likewise.
4536 * regmove.c: Likewise.
4540 2003-07-22 Per Bothner <pbothner@apple.com>
4542 * line-map.c (add_line_map): Handle invalid LEAVE request.
4543 Fixes PR preprocessor/11361.
4545 2003-07-22 Per Bothner <pbothner@apple.com>
4547 * diagnostic.c.(diagnostic_report_current_module): Update to match
4548 2003-06-05 changes to push_srcloc and pop_srcloc.
4550 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
4552 * doc/trouble.texi: Better document two-stage name lookup.
4554 2003-07-22 Eric Christopher <echristo@redhat.com>
4556 * config/s390.c (s390_valid_pointer_mode): New.
4557 (TARGET_VALID_POINTER_MODE): Use.
4558 (s390_emit_prologue): Add tpf profiling hooks.
4559 (s390_emit_epilogue): Ditto.
4560 * config/s390.h (MASK_TPF): New.
4562 (POINTERS_EXTEND_UNSIGNED): Define.
4563 * config/s390.md (ptr_extend): New pattern.
4565 2003-07-22 Zack Weinberg <zack@codesourcery.com>
4567 * hashtable.c (approx_sqrt): Make static.
4568 * hashtable.h: Don't prototype approx_sqrt.
4569 * line-map.c (init_line_maps): Rename linemap_init.
4570 (free_line_maps): Rename linemap_free.
4571 (add_line_map): Rename linemap_add.
4572 (lookup_line): Rename linemap_lookup.
4573 (print_containing_files): Rename linemap_print_containing_files.
4574 * linemap.h: Update to match.
4576 * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
4577 linemap routines to use new names.
4579 2003-07-16 Nathan Sidwell <nathan@codesourcery.com>
4581 * c-common.c (handle_packed_attribute): Don't pack a struct via a
4582 typedef. Propagate packedness from a main variant.
4584 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
4586 * Makefile.in (install-common): Add dependency on installdirs.
4588 2003-07-21 Alexandre Oliva <aoliva@redhat.com>
4590 * c-common.c (c_common_type_for_mode): Return integer types for
4593 2003-07-22 Geoffrey Keating <geoffk@apple.com>
4595 * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
4596 (finish_decl): Call maybe_apply_pragma_weak here.
4597 (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
4598 TREE_PUBLIC and TREE_STATIC are decided.
4599 (start_function): Move call to maybe_apply_pragma_weak. Check that
4600 DECL_ASSEMBLER_NAME isn't set too early.
4602 * cpplex.c (_cpp_process_line_notes): Mention option name in
4605 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
4607 * combine.c (if_then_else_cond): Simplify the comparison of
4608 rtx against -1, 0, and 1.
4609 * loop.c (check_dbra_loop): Likewise.
4610 * optabs.c (emit_conditional_move): Likewise.
4611 (emit_conditional_add): Likewise.
4612 * config/i386/i386.md (*movsi_or): Likewise.
4613 (*movdi_or_rex6): Likewise.
4615 2003-07-22 Jan Hubicka <jh@suse.cz>
4617 * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
4619 2003-07-21 Neil Booth <neil@daikokuya.co.uk>
4621 * cppfiles.c (open_file_pch): Don't put unused entries in the
4622 splay tree. Remove dead code.
4624 2003-07-21 Geoffrey Keating <geoffk@apple.com>
4626 * c-common.h (num_in_fnames): Declare.
4627 (c_static_assembler_name): Move from here...
4628 * c-tree.h (c_static_assembler_name): ... to here.
4629 * c-opts.c: Don't include langhooks-def.h.
4630 (c_static_assembler_name): Move to c-decl.c.
4631 (num_in_fnames): Make externally visible.
4632 * c-decl.c: Include langhooks-def.h.
4633 (c_static_assembler_name): Move from c-opts.c.
4634 * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
4635 (c-opts.o): Remove $(LANGHOOKS_DEF_H).
4637 * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
4638 when it's not needed.
4640 2003-07-21 Jakub Jelinek <jakub@redhat.com>
4642 * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
4643 * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
4644 (rs6000_emit_prologue): Save FPRs inline if set.
4646 2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
4648 * config/ia64/ia64.md (prefetch): Support predicate.
4650 2003-07-21 Josef Zlomek <zlomekj@suse.cz>
4652 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
4653 * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
4656 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
4658 PR optimization/11536
4659 * unroll.c (loop_iterations): Do not replace a register holding
4660 the final value by its equivalent before the loop if it is not
4663 2003-07-21 Dave Fluri <dave.fluri@onlink.net>
4665 * doc/extend.texi: Fixes to spelling, grammar, and diction.
4667 2003-07-21 Ben Elliston <bje@wasabisystems.com>
4669 * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
4670 (V850 Options): Spelling fixes.
4672 2003-07-20 Lisa M. Goldstein <opus@gnu.org>
4674 * doc/invoke.texi: Fixes to style, grammar and diction.
4676 2003-07-20 Roger Sayle <roger@eyesopen.com>
4678 * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
4679 * system.h (SMALL_STACK): Poison obsolete target macro.
4680 * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
4682 2003-07-20 Phil Edwards <pme@gcc.gnu.org>
4684 * configure.in: Cache the results of testing for cmp's capabilities.
4685 * configure: Regenerate.
4687 2003-07-20 Mark Mitchell <mark@codesourcery.com>
4690 * dwarf2out.c (gen_enumeration_type_die): Remember that
4691 enumerators can be unsigned.
4693 2003-07-19 Zack Weinberg <zack@codesourcery.com>
4695 * c-decl.c (named_labels, shadowed_labels, label_level_chain)
4696 (push_label_level, pop_label_level): Kill.
4697 (struct binding_level): Rename level_chain to outer.
4698 Add outer_function field. Change parm_flag, function_body,
4699 keep, keep_if_subblocks to 1-bit bitfields of type bool.
4700 (current_function_level): New variable.
4701 (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
4702 (keep_next_level, declare_parm_level, warn_if_shadowing):
4704 (struct language_function): Kill named_labels, shadowed_labels fields.
4705 (c_init_decl_processing, start_function, c_push__function_context)
4706 (c_pop_function_context): No need to muck with named_labels nor
4709 (make_binding_level): No need to clear the structure here.
4710 (pop_binding_level): Always operate on current_binding_level.
4711 Update current_function_level if necessary.
4712 (pushlevel): Don't clear named_labels. Update current_function_level
4713 if necessary. Use "true" and "false" where appropriate.
4714 (poplevel): Diagnose labels defined but not used, or vice
4715 versa, and clear out label-meanings leaving scope, while
4716 walking down the decls list, for all binding levels.
4717 Handle LABEL_DECLs appearing in the shadowed list.
4718 pop_binding_level takes no arguments.
4719 (pushdecl_function_level): Use current_function_level.
4721 (make_label, bind_label): New static functions.
4722 (declare_label): New exported function.
4723 (lookup_label, define_label): Rewritten for new data structure.
4724 (shadow_label): Kill.
4726 * c-tree.h: Prototype declare_label; don't prototype
4727 push_label_level, pop_label_level, nor shadow_label.
4728 * c-parse.in: Remove all calls to push_label_level and
4729 pop_label_level. Use declare_label for __label__ decls.
4731 * doc/extend.texi: Clarify that __label__ can be used to
4732 declare labels with local scope in any nested block, not
4733 just statement expressions. Cross-reference nested functions
4734 section from local labels section.
4736 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4738 * sched-rgn.c (find_rgns): Initialize current_edge correctly.
4740 2003-07-19 Phil Edwards <pme@gcc.gnu.org>
4742 * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
4744 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4746 * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
4747 fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
4749 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
4751 * config/s390/s390.c (legitimize_pic_address): Access local symbols
4752 relative to the GOT instead of relative to the literal pool base.
4753 (s390_output_symbolic_const): Handle new GOT-relative accesses.
4754 * config/s390/s390.md ("call"): Access local functions and PLT stubs
4755 relative to the GOT instead of relative to the literal pool base.
4756 ("call_value"): Likewise.
4757 ("call_value_tls"): Likewise.
4759 * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
4760 reloading. Support LTREL_BASE / LTREL_OFFSET construct.
4761 (s390_chunkify_finish): Likewise.
4762 (s390_chunkify_cancel): Likewise.
4763 (s390_reorg): Adapt caller.
4764 (find_base_register_in_addr,
4765 find_base_register_ref, replace_base_register_ref): Delete.
4766 (find_ltrel_base, replace_ltrel_base): New functions.
4767 (find_constant_pool_ref): Handle LTREL_BASE unspecs.
4768 (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
4769 base vs. index register usage.
4770 (struct constant_pool): Remove 'anchor'.
4771 (s390_add_anchor): Delete.
4772 (s390_dump_pool): Remove anchor handling.
4773 * config/s390/s390.md ("reload_anchor"): Remove.
4775 * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
4776 (s390_load_got): New function. Use LTREL_BASE/OFFSET.
4777 (s390_emit_prologue): Use it.
4778 * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
4779 "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
4780 hard-code register 14.
4781 * config/s390/s390-protos.h (s390_load_got): Declare.
4783 * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
4784 Support TImode constants.
4785 * config/s390/s390.md ("consttable_ti"): New.
4786 ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
4788 * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
4789 UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
4790 UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
4791 UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
4792 UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
4793 New symbolic constants.
4794 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
4795 "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
4796 "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
4797 "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
4798 symbolic UNSPEC values.
4799 * config/s390/s390.c (larl_operand, s390_short_displacement,
4800 bras_sym_operand, s390_cannot_force_const_mem,
4801 s390_delegitimize_address, s390_decompose_address,
4802 legitimize_pic_address, s390_output_symbolic_const,
4803 s390_function_profiler): Use symbolic UNSPEC values.
4805 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4807 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
4808 c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
4809 c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
4810 collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
4811 cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
4812 cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
4813 dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
4814 fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
4815 gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
4816 genemit.c genextract.c genoutput.c genrecog.c gensupport.c
4817 ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
4818 integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
4819 loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
4820 postreload.c prefix.c print-tree.c protoize.c ra-build.c
4821 ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
4822 regmove.c regrename.c reload.c reload1.c reorg.c resource.c
4823 sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
4824 simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
4825 tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
4826 varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
4829 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
4831 * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
4832 * toplev.h (warning): Remove attribute.
4834 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
4836 * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
4837 (pop_label_level): Likewise.
4838 (duplicate_decls): Likewise.
4839 (implicitly_declare): Likewise.
4840 (shadow_label): Likewise.
4841 (start_decl): Likewise.
4842 (finish_decl): Likewise.
4843 (grokdeclarator): Likewise.
4844 (get_parm_info): Likewise.
4845 (detect_field_duplicates): Likewise.
4846 (finish_struct): Likewise.
4847 (start_function): Likewise.
4848 (store_parm_decls): Likewise.
4849 (finish_function): Likewise.
4850 (c_expand_body_1): Likewise.
4851 (check_for_loop_decls): Likewise.
4852 (merge_translation_unit_decls): Likewise.
4854 2003-07-19 Neil Booth <neil@daikokuya.co.uk>
4856 * common.opt: Document --param.
4857 * opts.c (columns, undocumented_msg): New.
4858 (print_help): Get number of columns from environment. Print
4859 --param help. Tweak newline handling.
4860 (print_param_help): New.
4861 (print_filtered_help): Better handling of duplicates. Complain
4862 about undocumented switches.
4863 (print_switch): New.
4864 (wrap_help): Improve wrapping, use COLUMNS.
4865 * opts.sh: Ignore comments in records.
4866 * params.def: Fix typos and remove trailing periods.
4867 * toplev.c (display_help): Don't dump --param help.
4868 * doc/sourcebuild.texi: Update.
4870 2003-07-18 Richard Henderson <rth@redhat.com>
4873 * optabs.c (prepare_operand): Fail gracefully instead of abort
4874 if the predicate doesn't satisfy.
4875 (gen_cond_trap): Allow prepare_operand to fail.
4877 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
4879 * c-common.c: Don't undefine GCC_DIAG_STYLE.
4880 (fname_decl): Don't use xxx_with_decl.
4881 (c_add_case_label): Likewise.
4882 (handle_section_attribute): Likewise.
4883 (handle_alias_attribute): Likewise.
4884 (handle_no_instrument_function_attribute): Likewise.
4885 (handle_no_limit_stack_attribute): Likewise.
4886 * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
4887 * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
4889 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4891 * Makefile.in (ifcvt.o): Add cfgloop.h.
4892 * basic-block.h (EDGE_LOOP_EXIT): New flag.
4893 * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
4894 * ifcvt.c: Include cfgloop.h.
4895 (mark_loop_exit_edges): New static function.
4896 (if_convert): Call it.
4897 (find_if_header): Ignore branches out of loops.
4899 2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
4901 * combine.c (simplify_comparison): Don't share rtx when converting
4902 (ne (and (not X) 1) 0) to (eq (and X 1) 0).
4904 2003-07-18 David Edelsohn <edelsohn@gnu.org>
4906 * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
4907 (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
4908 (MUST_PASS_IN_STACK): Define.
4909 (BLOCK_REG_PADDING): Define.
4911 2003-07-18 Richard Henderson <rth@redhat.com>
4913 * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
4914 to skip the addr_vec.
4916 2003-07-18 Alexandre Oliva <aoliva@redhat.com>
4918 * combine.c (combinable_i3pat): Don't forbid occurrences of
4919 i2dest or i1dest in inner_dest if inner_dest is a mem.
4921 2003-07-18 Jan Hubicka <jh@suse.cz>
4923 * cgraph.c (cgraph_remove_node): Clear the hash table slot.
4925 2003-07-17 Jakub Jelinek <jakub@redhat.com>
4928 * loop.c (basic_induction_var): Check if convert_modes emitted any
4929 instructions. Remove them and return 0 if so.
4931 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
4933 PR optimization/11083
4934 * toplev.c (rest_of_handle_addresof): Rename into
4935 rest_of_handle_addressof. Delete unreachable blocks
4936 if dead edges were purged after the addressof pass.
4938 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
4940 * Makefile.in, configure, configure.in: Remove handling of
4941 lang-options.h and options_.h.
4942 * toplev.c (struct lang_opt, documented_lang_options): Remove.
4943 (display_help): Don't use documented_lang_options.
4945 2003-07-17 Zack Weinberg <zack@codesourcery.com>
4947 * c-decl.c (pushdecl_function_level): Make static, return nothing.
4948 (kept_level_p): Fold into poplevel.
4949 (undeclared_variable): Moved here from c-typeck.c. Export.
4950 * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
4951 (undeclared_variable): Prototype here. Don't prototype
4952 kept_level_p nor pushdecl_function_level.
4953 * c-parse.in: Change first argument to poplevel from
4954 "kept_level_p()" to "KEEP_MAYBE".
4955 * c-typeck.c (undeclared_variable): Moved to c-decl.c.
4957 2003-07-17 Roger Sayle <roger@eyesopen.com>
4959 * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
4960 commutative operands instead of modifying the RTL in-place.
4962 2003-07-17 Mark Mitchell <mark@codesourcery.com>
4964 PR optimization/11557
4965 * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
4966 unless we know which function is being called.
4968 2003-07-17 Roger Sayle <roger@eyesopen.com>
4970 * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
4971 whether to reorder the operands of a commutative binary operator.
4973 2003-07-17 Roger Sayle <roger@eyesopen.com>
4975 * fold-const.c (const_binop): Avoid performing the FP operation at
4976 compile-time, if either operand is NaN and we honor signaling NaNs,
4977 or if we're dividing by zero and either flag_trapping_math is set
4978 or the desired mode doesn't support infinities.
4979 (fold_initializer): New function to fold an expression ignoring any
4980 potential run-time exceptions or traps.
4981 * tree.h (fold_initializer): Prototype here.
4982 * c-typeck.c (build_binary_op): Move to the end of the file so
4983 that intializer_stack is in scope. If constructing an initializer,
4984 i.e. when initializer_stack is not NULL, use fold_initializer to
4986 * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
4987 performing FP operations at compile-time, if they would raise an
4988 exception at run-time.
4990 2003-07-17 Geoffrey Keating <geoffk@apple.com>
4993 * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
4994 (langhooks.o): Add $(GGC_H), gt-langhooks.h.
4995 (GTFILES): Add langhooks.c.
4996 (gt-langhooks.h): New.
4997 * c-common.h (c_static_assembler_name): Prototype.
4998 * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
4999 * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
5000 * c-opts.c: Include langhooks-def.h.
5001 (c_static_assembler_name): New.
5002 * langhooks.c: Include ggc.h. Include gt-langhooks.h.
5004 (lhd_set_decl_assembler_name): Give static objects with context
5006 * varasm.c (var_labelno): Delete.
5007 (make_decl_rtl): Don't change the assembler name once it's set.
5009 * c-opts.c (this_input_filename): New.
5010 (finish_options): Take new parameter, name of file being compiled.
5011 Update callers. Set this_input_filename.
5012 (push_command_line_include): Use this_input_filename not
5013 main_input_filename.
5015 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
5017 * Makefile.in: Depend .pot generation on options.c.
5018 * po/exgettext: Add an extra_files variable containing additional
5021 2003-07-17 Zack Weinberg <zack@codesourcery.com>
5023 * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
5024 c_write_global_declarations.
5026 * c-decl.c: Fix typos in several comments. Remove all
5027 #if 0 blocks; reindent as needed. Remove unused argument
5028 to declare_parm_level; all callers changed.
5029 * c-parse.in: Update calls to declare_parm_level. Avoid
5030 issuing a double warning in some circumstances.
5031 * c-typeck.c: Update calls to declare_parm_level.
5032 * c-tree.h: Update prototype of declare_parm_level.
5034 * c-pragma.c (apply_pragma_weak): Don't complain about a
5035 redundant #pragma weak.
5037 * objc/objc-act.c (forward_declare_categories,
5038 build_selector_reference_decl, build_class_reference_decl,
5039 build_objc_string_decl, synth_forward_declarations,
5040 build_protocol_reference): Set TREE_PUBLIC on synthetic
5041 forward decl to 0, consistent with eventual definition.
5042 Correct comments to match.
5044 * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
5045 in regexp that don't form a range expression.
5046 * fixinc/fixincl.def: Regenerate.
5048 2003-07-17 Richard Henderson <rth@redhat.com>
5051 * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
5052 even with !TARGET_CONST_GP.
5053 (ia64_function_ok_for_sibcall): Reject non-local functions.
5055 2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
5057 * c-common.c (c_estimate_num_insns_1): Don't handle
5059 * expr.c (safe_from_p): Likewise.
5060 * gengtype.c (adjust_field_tree_exp): Likewise.
5061 * stmt.c (warn_if_unused_value): Likewise
5062 * tree.c (first_rtl_op): Likewise.
5063 * tree.def: Don't define METHOD_CALL_EXPR.
5064 * java/lang.c (java_estimate_num_insns_1): Don't handle
5067 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
5070 * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
5071 and its restrictions for the SPARC64 port.
5072 Move the entry of "-mimpure-text" before that of "-mv8".
5074 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
5075 Phil Edwards <phil@jaj.com>
5077 * doc/install.texi (*-*-solaris2*): Document the step-by-step
5078 procedure to bootstrap and install.
5079 Document the preference for the legacy Sun tools in /usr/bin
5080 over the POSIX tools in /usr/xpg4/bin for the build process.
5082 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
5084 * c.opt: Document Uncodumented; use it. Document ObjC options.
5085 * opts.c (print_filtered_help): Skip undocumented switches.
5086 * opts.h (CL_UNDOCUMENTED): New.
5087 * opts.sh: Handle Undocumented.
5088 * toplev.c (documented_lang_options): Prevent its becoming empty.
5090 * lang-options.h: Remove.
5092 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
5094 * loop.c (check_ext_dependent_givs): Pass const struct loop *
5095 instead of struct loop_info * as argument. Accept BIVs with
5096 increment +/- 1 provided there is a friendly exit test against
5097 a loop-invariant value.
5098 (strength_reduce): Adapt call to check_ext_dependent_givs.
5100 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
5101 Con Bradley <con.bradley@superh.com>
5103 * sh-protos.h (sh_get_pr_initial_val): Declare.
5104 * sh.c (regno_reg_class): Make its elements type enum reg_class.
5105 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
5106 and live_regs_mask arguments. Changed all callers.
5107 (save_schedule_s): New structure.
5108 (save_schedule): New typedef.
5109 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
5110 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
5111 In interrupts handlers, also save registers that are usually
5112 partially saved, and make sure there is at least one general purpose
5113 register saved if a target register needs saving.
5114 Add casts in comparisons to avoid warnings.
5115 (sh_media_register_for_return): return -1 for interrupt handlers.
5116 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
5117 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
5118 registers used are available.
5119 Set RTX_FRAME_RELATED_P where appropriate.
5120 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
5121 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
5122 (initial_elimination_offset): Likewise.
5123 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
5124 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
5125 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
5126 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
5127 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
5128 and for target registers.
5129 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
5130 (regno_reg_class): Make its elements type enum reg_class.
5131 (CONSTRAINT_LEN): Don't use isdigit.
5132 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
5133 (FUNCTION_ARG): Add parentheses to avoid warnings.
5134 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
5135 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
5136 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
5137 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
5138 * sh.md (xordi3+1): Remove unused variable regno.
5139 (return_media): Check that tr0 is available before using it.
5141 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
5143 * c.opt: Document more options.
5145 2003-07-16 Roger Sayle <roger@eyesopen.com>
5147 * combine.c (subst): Also handle (subreg (const_double ...)) case
5148 if created by a substitution, by using the original inner mode.
5150 2003-07-16 Roger Sayle <roger@eyesopen.com>
5152 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
5153 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
5154 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
5156 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
5158 * doc/install.texi (--without-headers): New.
5160 Partial Fix PR/10129
5161 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
5162 (machopic_output_function_base_name): New; print the true pic label.
5163 (machopic_classify_ident): Pic Base is always a defined data.
5164 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
5165 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
5167 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
5168 if they are not floating point registers.
5171 * ggc.h: Add header guards.
5172 * c-decl.c (finish_struct): Sort fields if
5173 number greater than 15 and there are no
5174 anonymous structs/unions.
5175 * c-common.h: Include ggc.h.
5176 (sorted_fields_type): New struct.
5177 (field_decl_cmp): New prototype.
5178 (resort_sorted_fields): New prototype.
5179 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
5180 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
5181 as s, removing other fields.
5182 * c-typeck.c (lookup_field): Use s in lang_type.
5183 These were mostly moved from cp/class.c:
5184 * c-common.c (field_decl_cmp): New static function.
5185 (field_decl_cmp): New function.
5186 (resort_sorted_fields): New function.
5188 2003-07-16 Geoffrey Keating <geoffk@apple.com>
5190 * config/darwin.c (machopic_select_section): Use decl_readonly_section
5191 to do most of the work.
5193 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
5195 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
5196 * config/mmix/mmix.c: Convert functions to ISO C90.
5197 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
5199 (mmix_get_hard_reg_initial_val): Tweak section head comment.
5201 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
5203 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
5205 2003-07-16 Jakub Jelinek <jakub@redhat.com>
5207 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
5208 (uw_update_context_1): Use it.
5209 * config/rs6000/rs6000.c (insn_after_throw): Remove.
5210 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
5211 in parent frame if _Unwind_* called directly instead of through
5213 (rs6000_emit_eh_toc_restore): Remove.
5214 (rs6000_emit_prologue): Update stack pointer before doing any saving
5215 if current_function_calls_eh_return. Generate unwind info for $r2.
5216 (rs6000_emit_epilogue): Restore stack pointer after doing all
5217 restoring if current_function_calls_eh_return. Restore $r2.
5218 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
5219 * config/rs6000/rs6000.md (eh_return): Remove call to
5220 rs6000_emit_eh_toc_restore.
5221 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
5222 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
5224 2003-07-15 Jakub Jelinek <jakub@redhat.com>
5226 * expr.c (emit_block_move): Don't move anything if size is const 0.
5227 (clear_storage): Test against const0_rtx instead of comparing INTVAL
5230 2003-07-15 David S. Miller <davem@redhat.com>
5232 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
5233 emit nop if the last real insn is CALL_INSN.
5235 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
5237 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
5239 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
5241 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
5243 * config/i386/winnt.c (associated_type): Artificial methods are not
5244 affected by the import/export status of their class unless they are
5246 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
5248 * config/i386/winnt.c: Fix GCC copyright comment.
5250 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
5253 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
5254 not recursing on hard error.
5255 (diagnostic_for_decl): Likewise.
5256 * diagnostic.def: Rearrange.
5258 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
5260 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
5261 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
5263 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
5264 Richard Henderson <rth@redhat.com>
5266 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
5267 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
5268 (_Unwind_SetGR): Likewise.
5269 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
5270 (Unwind_SpTmp): New typedef.
5271 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
5272 (uw_update_context): Use _Unwind_GetPtr.
5273 (init_dwarf_reg_size_table): Move above uw_init_context_1.
5274 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
5275 Use _Unwind_SetSpColumn.
5276 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
5279 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
5281 * c.opt: Document more options.
5282 * toplev.c (documented_lang_options): Remove all local help strings.
5284 2003-07-15 Mark Mitchell <mark@codesourcery.com>
5287 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
5290 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
5293 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
5294 swap comparison operands if doing so would generate an
5295 unrecognizable insn.
5297 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
5299 PR optimization/11320
5300 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
5301 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
5302 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
5303 current_sched_info->compute_jump_reg_dependencies. Record which
5304 registers are used and which registers are set by the jump.
5305 Clear deps->reg_conditional_sets after a barrier.
5306 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
5307 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
5308 (init_deps): Initialize reg_conditional_sets.
5309 (free_deps): Clear reg_conditional_sets.
5310 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
5311 Mark registers live on entry of the fallthrough block and conditionally
5312 set as set by the jump. Mark registers live on entry of non-fallthrough
5313 blocks as used by the jump.
5314 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
5315 Mark new parameters as unused.
5317 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
5319 * doc/invoke.texi: Resync MIPS -march documentation.
5321 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
5323 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
5324 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
5325 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
5326 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
5327 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
5328 (mips_issue_rate): Handle PROCESSOR_R9000.
5329 (mips_use_dfa_pipeline_interface): Likewise.
5330 * config/mips/9000.md: New file.
5331 * config/mips/mips.md: Include it.
5332 (define_attr cpu): Add r9000.
5333 (mulsi3_mult3): Use "mul" for rm9000 code.
5335 2003-07-15 Stan Cox <scox@redhat.com>
5337 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
5338 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
5339 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
5340 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
5341 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
5342 (mips_issue_rate): Handle PROCESSOR_R7000.
5343 (mips_use_dfa_pipeline_interface): Likewise.
5344 * config/mips/7000.md: New file.
5345 * config/mips/mips.md: Include it.
5346 (define_attr cpu): Add r7000.
5347 (mulsi3_mult3): Use "mul" for rm7000 code.
5349 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
5351 * config/mips/mips.md (define_attr type): Add condmove. Use it for
5352 the conditional move patterns.
5353 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
5354 Check for condmove type.
5355 (ir_vr54_arith): Add move type.
5356 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
5357 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
5359 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
5361 * c-opts.c (print_help): Remove.
5362 (c_common_handle_option): Don't handle --help.
5363 * c.opt: Document some options.
5365 * opts.c (print_filtered_help): New.
5366 (print_help): Use it.
5368 2003-07-14 Geoffrey Keating <geoffk@apple.com>
5370 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
5371 * tree.c: (build_common_tree_nodes_2): Likewise.
5372 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
5373 (V4DF_type_node): New.
5375 * c-opts.c (push_command_line_include): Don't free deferred_opts,
5377 (finish_options): Reset init_cursor.
5379 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
5381 * expr.c (expand_assignment): Remove an unused argument
5383 * expr.h: Update the prototype.
5384 * function.c: Update the callers.
5387 2003-07-14 Mark Mitchell <mark@codesourcery.com>
5390 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
5393 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5395 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
5396 with __cplusplus, not "we must use the C++ compiler's type"
5397 * fixinc/inclhack.def (void_null): Note that Interix needs this.
5398 * fixinc/fixincl.x: Regenerate.
5400 2003-07-14 Geoffrey Keating <geoffk@apple.com>
5402 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
5403 and unseen_objects from the global data before calling
5404 __deregister_frame_info_bases.
5405 (examine_objects): Insert objects into the seen_objects list,
5407 (_Unwind_Find_FDE): Always unlock the global object lists, even if
5408 we couldn't allocate a data structure to put in it.
5410 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
5411 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
5412 (SET_TYPE_PROTOCOL_LIST): New.
5413 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
5414 (get_object_reference): Likewise.
5416 2003-07-14 Jan Hubicka <jh@suse.cz>
5418 * cfglayout.c (locator_file): Break out from ....
5419 (insn_file): ... here.
5420 (locator_line): Break out from ....
5421 (insn_line): ... here.
5422 * rtl.h (locator_file, locator_line): Declare.
5423 (final_start_function): Set proper line/file info.
5425 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
5427 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
5428 handled by pp_c_cast_expression.
5430 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
5432 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
5433 allocate 32768 bytes of stack. Use addition rather than subtraction
5434 when a single insn is enough.
5435 * config/mips/mips.md: Remove insns and splitters for subtracting
5437 (subsi3): Only accept register operands.
5438 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
5439 (subdi3_internal_3, subsi3_internal_2): Likewise.
5440 (casesi): Use expand_binop to subtract the lower bound.
5442 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
5444 * config/mips/mips.c (mips_in_small_data_p): Don't handle
5445 TARGET_MIPS16 specially.
5447 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
5449 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
5450 mips_output_aligned_bss.
5451 * config/mips/linux.h: Likewise.
5452 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
5453 * config/mips/mips.c (mips_output_aligned_bss): New function.
5455 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
5456 * config/mips/elf64.h: Likewise.
5458 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
5459 mips_declare_object_name.
5460 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
5461 * config/mips/elf64.h: As for elf.h.
5462 * config/mips/iris6.h: Likewise.
5463 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
5464 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
5465 do...while (0) block.
5466 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
5467 (mips_finish_declare_object): Declare.
5468 * config/mips/mips.c (mips_declare_object_name): New function.
5469 (mips_finish_declare_object): New function.
5471 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
5472 * config/mips/linux.h: Likewise.
5474 * config/mips/mips.c (inside_function): Delete.
5475 (file_in_function_warning, ignore_line_number): Delete.
5476 (mips_output_filename): Don't warn about changing filenames within
5478 (mips_output_lineno): Update accordingly.
5479 (mips_output_function_prologue): Don't reset the deleted variables.
5480 * config/mips/mips.h (inside_function): Delete.
5481 (file_in_function_warning, ignore_line_number): Delete.
5483 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
5484 * config/mips/elf64.h: Likewise.
5485 * config/mips/openbsd.h: Likewise.
5486 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
5487 * config/mips/linux.h: Likewise.
5488 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
5489 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
5491 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
5492 to the list of include files when using gas.
5493 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
5494 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
5495 * config/mips/elf64.h: Likewise.
5496 * config/mips/iris5.h: Likewise.
5497 * config/mips/linux.h: Likewise.
5498 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
5499 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
5500 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
5501 * config/mips/sdb.h: ...this new file.
5503 2003-07-14 Douglas Rupp <rupp@gnat.com>
5505 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
5506 argument to getcwd; use fixed buffer instead.
5508 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5510 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
5511 * fixinc/fixinc.wrap: Delete.
5513 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
5515 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
5518 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
5520 * ggc-page.c (struct globals): Add new fields to keep track of the
5521 total allocated memory and overhead.
5522 (ggc_print_statistics): Print them.
5523 (ggc_alloc): Keep track of the total allocated memory and the
5526 * tree.c (dump_tree_statistics): Increase spacing.
5527 (enum tree_node_kind): Move to ...
5528 * tree.h (enum tree_node_kind): ... here.
5529 (tree_node_counts, tree_node_sizes): Declare.
5531 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
5533 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
5535 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5537 PR optimization/11440
5538 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
5541 2003-07-14 Alan Modra <amodra@bigpond.net.au>
5543 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
5544 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
5545 (emit_group_load, emit_group_store): Adjust declarations.
5546 Remove most occurrences of #ifdef TREE_CODE.
5547 * expr.c (emit_group_load): Add "type" param, and use
5548 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
5549 aligned accesses if !SLOW_UNALIGNED_ACCESS.
5550 (emit_group_store): Likewise.
5551 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
5552 emit_group_load and emit_group_store calls.
5553 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
5554 BLOCK_REG_PADDING to determine whether we need endian_correction.
5555 (load_register_parameters): Localize vars. Handle shifting of
5556 small values to the correct end of regs. Adjust emit_group_load
5558 (expand_call, emit_library_call_value_1): Adjust emit_group_load
5559 and emit_group_store calls.
5560 * function.c (assign_parms): Set mem alignment for stack slots.
5561 Adjust emit_group_store call. Store values at the "wrong" end
5562 of regs to the stack. Use BLOCK_REG_PADDING.
5563 (locate_and_pad_parm): Save where_pad.
5564 (expand_function_end): Adjust emit_group_load call.
5565 * stmt.c (expand_value_return): Adjust emit_group_load call.
5566 * Makefile.in (calls.o): Depend on $(OPTABS_H).
5567 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
5568 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
5569 (MUST_PASS_IN_STACK): Define.
5570 (BLOCK_REG_PADDING): Define.
5571 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
5572 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
5573 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
5574 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
5575 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
5577 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
5579 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
5581 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5583 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
5584 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
5586 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
5589 * toplev.c: Don't cut off option names.
5591 2003-07-13 Andreas Jaeger <aj@suse.de>
5593 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
5594 to integer of different size.
5596 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
5598 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
5599 to (eq (and X 1) 0).
5601 2003-07-13 Andreas Jaeger <aj@suse.de>
5603 * config.gcc: Add pmmintrin.h for x86_64-*-*.
5605 2003-07-13 Zack Weinberg <zack@codesourcery.com>
5607 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
5608 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
5609 list. Move these all together down by cpplib.
5611 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
5612 definition of CPPCHAR_SIGNED_T.
5614 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
5615 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
5616 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
5618 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
5619 * cppinit.c (cpp_create_reader): Likewise.
5621 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
5622 * cpptrad.c: Likewise. All callers changed.
5623 * cpplib.c: All callers changed.
5624 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
5625 * hashtable.h: Define GTY(x) to nothing here too.
5627 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5629 * stor-layout.c (compute_record_mode): Remove very obsolete test
5630 that forces BLKmode for records with fields crossing word boundary.
5632 2003-07-13 Zack Weinberg <zack@codesourcery.com>
5634 * Makefile.in: Remove orphan reference to acconfig.h.
5636 2003-07-13 Andreas Jaeger <aj@suse.de>
5638 * cgraphunit.c: Convert prototypes to ISO C90.
5640 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
5642 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
5644 * fixinc/fixincl.x: Rebuild.
5646 2003-07-12 Zack Weinberg <zack@codesourcery.com>
5648 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
5649 i?86-*-*. Use correct name of cache variable.
5650 * configure: Regenerate.
5652 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
5654 * config/alpha/alpha.c: Fix comment typos.
5655 * config/alpha/alpha.md: Likewise.
5656 * config/arm/arm.c: Likewise.
5657 * config/arm/arm.md: Likewise.
5658 * config/arm/lib1funcs.asm: Likewise.
5659 * config/avr/avr.md: Likewise.
5660 * config/arm/README-interworking: Fix typos.
5662 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
5664 * c-format.c: Fix comment formatting.
5665 * c-typeck.c: Likewise.
5666 * coverage.c: Likewise.
5667 * cppcharset.c: Likewise.
5668 * cpplib.c: Likewise.
5669 * dbxout.c: Likewise.
5670 * gcov-io.h: Likewise.
5671 * toplev.c: Likewise.
5673 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
5675 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
5678 2003-07-12 Zack Weinberg <zack@codesourcery.com>
5680 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
5681 uses three-argument AC_DEFINE so no acconfig.h entries are
5683 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
5684 which contains the GAS version number as a scaled integer.
5685 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
5686 ability to check for ELF assembler.
5687 (gcc_GAS_CHECK_FEATURE): New macro.
5688 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
5689 assembler feature checks using gcc_GAS_CHECK_FEATURE.
5690 Use three-argument AC_DEFINE everywhere.
5691 * acconfig.h: Deleted.
5692 * config.in, configure: Regenerate.
5694 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
5696 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
5698 * fixinc/fixincl.x: Regenerate.
5700 * fixinc/inclhack.def (gnu_types): Improve comment.
5702 2003-07-12 Andreas Jaeger <aj@suse.de>
5704 * fp-test.c (main): Use ISO C90 prototype.
5706 * version.c: Remove unneded include of ansidecl.h.
5708 * cgraph.h: Convert prototypes to ISO C90.
5709 * cgraph.c: Likewise.
5710 * fix-header.c: Likewise.
5712 * protoize.c: Likewise.
5714 2003-07-12 Jan Hubicka <jh@suse.cz>
5716 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
5719 2003-07-12 Jan Hubicka <jh@suse.cz>
5720 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5722 * cgraph.c (cgraph_max_uid): New global variable.
5723 (cgraph_node): Set uid field.
5724 (create_edge): Keep inline flags consistent.
5725 (dump_cgraph): Dump more info.
5726 * cgraph.h (struct cgraph_local_info): Remove inline_many and
5727 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
5728 (struct cgraph_global_info): Add insns, calls, cloned_times,
5730 (struct cgraph_node): Add uid.
5731 (struct cgraph_edge): Add inline_call.
5732 (cgraph_max_uid, cgraph_inline_p): Declare.
5733 * cgraph.c: Include params.h and fibheap.h
5734 (cgraph_mark_functions_to_inline_once): Kill.
5735 (INSNS_PER_CALL): New constant.
5736 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
5738 (cgraph_finalize_function): Do not analyze inlining.
5739 (cgraph_finalize_compilation_unit): Set inlining attributes.
5740 (cgraph_mark_functions_to_output): More consistency checks.
5741 (cgraph_optimize_function): Set current_function_decl to NULL.
5742 (cgraph_expand_function): Use new inline flags.
5743 (cgraph_postorder): Expand from cgraph_expand_functions.
5744 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
5745 (cgraph_inlined_into, cgraph_inlined_callees,
5746 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
5747 cgraph_mark_inline, cgraph_check_inline_limits,
5748 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
5749 cgraph_decide_inlining, cgraph_inline_p): New functions.
5750 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
5751 PARAM_INLINE_UNIT_GROWTH): New parameters.
5752 * tree-inline.c (struct inline_data): New field current_decl.
5753 (expand_call_inline): Avoid forward declarations; use
5754 inlinable_function_p.
5755 (optimize_inline_calls): Set id.current_decl.
5757 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
5759 * configure.in: Remove wrongly added definition of
5761 * configure: Regenerate.
5763 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
5765 * rtl.def (NOTE): Do not use padding.
5767 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
5769 * doc/install.tex: Update required binutils for i?86-*-linux*
5771 2003-07-11 Richard Henderson <rth@redhat.com>
5773 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
5775 2003-07-11 Mark Mitchell <mark@codesourcery.com>
5777 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
5778 TRANSLATION_UNIT_DECL as top_level.
5780 2003-07-11 Jakub Jelinek <jakub@redhat.com>
5782 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
5783 then fall back to cmpstrM.
5784 * builtins.c (expand_builtin_memcmp): Likewise.
5785 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
5786 (s390_expand_cmpmem): ... this.
5787 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
5788 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
5789 from cmpstr* patterns. Rename call to s390_expand_cmpstr
5790 to s390_expand_cmpmem.
5791 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
5792 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
5794 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
5796 * doc/md.texi (cmpstrM): Describe as String compare insn, not
5800 2003-07-11 Loren James Rittle <ljrittle@acm.org>
5802 * config/i386/freebsd.h (SET_ASM_OP): Remove.
5803 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
5804 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
5805 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
5807 2003-07-11 Richard Henderson <rth@redhat.com>
5809 * function.c (assign_parms): Don't recombine complex args if
5810 fnargs is unchanged from orig_fnargs.
5811 (split_complex_args): Return args without complex before copying.
5812 Re-layout the modified parameters.
5814 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
5816 * regclass.c (choose_hard_reg_mode): Add third argument.
5817 Changed all callers.
5818 * rtl.h (choose_hard_reg_mode): Update declaration.
5819 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
5820 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
5822 2003-07-11 Geoffrey Keating <geoffk@apple.com>
5824 * c-decl.c (finish_decl): Handle 'used' here...
5825 * cgraphunit.c (cgraph_finalize_function): ... and here ...
5826 * c-common.c: (handle_used_attribute): ... not here.
5828 * configure.in (onstep): Support --enable-intermodule.
5829 * Makefile.in (OBJS-common): New.
5831 (OBJS-archive): New.
5832 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
5833 (OBJS-onestep): New.
5834 (libbackend.a): Support @onestep@.
5835 (libbackend.o): New.
5836 * configure: Regenerate.
5838 * c-common.h (c_reset_state): New prototype.
5839 (c_parse_file): New prototype.
5840 (finish_file): Move prototype from c-tree.h.
5841 * c-decl.c: Include <hashtab.h>.
5842 (builtin_decls): New.
5843 (current_file_decl): New.
5844 (duplicate_decls): Add extra parameter. Change all callers. Don't
5845 output duplicate common symbols.
5846 (link_hash_hash): New.
5847 (link_hash_eq): New.
5848 (poplevel): Handle popping of the top level.
5849 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
5850 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
5851 (pushdecl_top_level): Likewise.
5852 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
5853 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
5854 (finish_decl): Handle TRANSLATION_UNIT_DECL.
5855 (merge_translation_unit_decls): New.
5856 (c_write_global_declarations): New.
5857 (c_reset_state): New.
5858 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
5859 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
5860 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
5861 TRANSLATION_UNIT_DECL.
5862 (c_objc_common_finish_file): Call merge_translation_unit_decls.
5863 * c-opts.c (in_fnames): Rename from in_fname.
5864 (c_common_decode_option): Handle multiple input filenames.
5865 (c_common_post_options): Likewise.
5866 (c_common_parse_file): Likewise; also, call c_parse_file rather than
5868 * c-parse.in: Move cleanup code to c_parse_file.
5869 (free_parser_stacks): Move contents to c_parse_file.
5870 (c_parse_file): New.
5871 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
5873 (C_DECL_FILE_SCOPE): New.
5874 (finish_file): Move prototype to c-common.h.
5875 (merge_translation_unit_decls): New prototype.
5876 (comptypes): Add extra parameter to prototype.
5877 (c_write_global_declarations): New prototype.
5878 * c-typeck.c (tagged_types_tu_compatible_p): New.
5879 (function_types_compatible_p): Add extra parameter, change all callers.
5880 (type_lists_compatible_p): Likewise.
5881 (comptypes): Likewise.
5882 (struct tagged_tu_seen): New.
5883 (tagged_tu_seen_base): New.
5884 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
5885 (c_mark_addressable): Remove #if 0 code.
5886 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
5887 comment explaining why it shouldn't have to.
5888 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
5890 * cppinit.c (cpp_read_next_file): New.
5891 (cpp_read_main_file): Use it.
5892 * cpplib.c (undefine_macros): New.
5893 (cpp_undef_all): New.
5894 * cpplib.h (cpp_read_next_file): Prototype.
5895 (cpp_undef_all): Prototype.
5896 * langhooks-def.h (write_global_declarations): Remove prototype.
5897 * toplev.h (write_global_declarations): Add prototype.
5898 * tree.c (decl_type_context): Use switch statement, handle
5899 TRANSLATION_UNIT_DECL.
5900 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
5901 (TRANSLATION_UNIT_DECL): New kind of tree.
5902 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
5903 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
5904 * doc/invoke.texi: Make attempt to document new functionality.
5906 2003-05-19 Per Bothner <bothner@apple.com>
5908 * gcc.c (combine_inputs): New.
5909 (process_command): Set combine_inputs.
5910 (do_spec_1): Handle combine_inputs.
5913 2003-07-10 James E Wilson <wilson@tuliptree.org>
5915 PR optimization/9745
5916 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
5917 loop_insn_emit_before.
5918 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
5920 2003-07-10 Zack Weinberg <zack@codesourcery.com>
5922 * cppcharset.c: Fix comment.
5923 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
5924 (EILSEQ): #define to EINVAL if not already defined.
5925 (convert_using_iconv): #if out when !HAVE_ICONV.
5926 (init_iconv_desc): Handle !HAVE_ICONV here...
5927 (cpp_init_iconv): ...not here.
5929 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
5931 * common.opt: More --help messages.
5932 * opts.c (print_help): Use puts().
5933 * toplev.c (f_options): Remove help text.
5934 (display_help): Don't dump f_options.
5936 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
5938 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
5939 Move i?86-*-interix* to the don't-fix list.
5940 * fixinc/fixinc.interix: Delete with extreme prejudice.
5942 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
5945 * doc/install.texi: Document requirements for ia64-*-hpux* target.
5947 2003-07-10 Roger Sayle <roger@eyesopen.com>
5949 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
5951 2003-07-10 Zack Weinberg <zack@codesourcery.com>
5953 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
5954 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
5955 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
5956 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
5957 convert_no_conversion, convert_using_iconv): New functions.
5958 (APPLY_CONVERSION): New macro.
5959 (struct conversion, conversion_tab): New data structure.
5960 (init_iconv_desc): Check conversion_tab for a custom conversion
5961 primitive before trying to use iconv.
5962 (convert_cset): Deleted.
5963 (cpp_init_iconv): Use UTF- terminology, not UCS-.
5964 (_cpp_destroy_iconv): Update to match.
5965 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
5966 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
5967 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
5968 (_cpp_interpret_string_notranslate): New function, moved here
5971 * cpphash.h (convert_f, struct cset_converter): New types.
5972 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
5973 are now struct cset_converter, not bare iconv_t.
5975 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
5976 all callers changed.
5978 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
5980 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
5981 to opts.sh command line.
5982 * opts.sh: Write to temporary files with a move-if-change at the end.
5984 2003-07-10 Denis Chertykov <denisc@overta.ru>
5985 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5987 * combine.c (gen_binary): Handle the CLOBBER rtx and
5988 don't build a binary operation with it.
5990 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5992 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
5993 store_killed_after, store_killed_before): Keep track of the correct
5994 dependency function to use.
5996 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
5997 * toplev.c (do_compile): Don't try to open dump files before
5998 lang_dependent_init initializes dump_base_name.
6000 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6002 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
6004 * config/frv/frv.c (frv_expand_builtin): Likewise.
6005 * config/sh/sh.c (sh_media_init_builtins): Likewise.
6007 2003-07-09 Mark Mitchell <mark@codesourcery.com>
6010 * doc/invoke.texi (C++ Dialect Options): Change documentation of
6013 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6015 * tm.texi (RETURN_ADDR_OFFSET): Document.
6017 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
6019 * gcov-io.h: Update documentation.
6020 (GCOV_UNSIGNED2STRING): New.
6021 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
6022 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
6023 GCOV_TAG_SUMMARY_LENGTH): Adjust.
6024 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
6025 GCOV_TAG_COUNTER_NUM): New.
6026 (GCOV_BLOCK_SIZE): Number of words.
6027 (gcov_var): Adjust buffer type.
6028 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
6029 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
6030 count, not byte count.
6031 (gcov_open): Adjust overread init.
6032 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
6033 gcov_write_string, gcov_write_tag, gcov_write_length,
6034 gcov_write_tag_length): Adjust.
6035 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
6036 (gcov_sync, gcov_seek): Adjust.
6037 * gcov-dump.c (print_usage): Show gcc version only.
6038 (dump_file): Use GCOV_UNSIGNED2STRING.
6039 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
6040 * gcov.c (print_version): Show gcc version only.
6041 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
6042 GCOV_TAG_*_NUM macros.
6043 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
6044 GCOV_TAG_COUNTER_LENGTH.
6045 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
6046 Use GCOV_TAG_COUNTER_NUM.
6047 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
6048 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
6050 2003-07-10 Andreas Schwab <schwab@suse.de>
6052 * gcov-dump.c (dump_file): Fix missing address operator.
6054 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
6057 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
6059 (fold_single_bit_test): If sign_bit_p() fails, assume that the
6060 bit being tested is not a sign bit.
6062 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
6064 * config/h8300/h8300.md (a peephole2): New.
6066 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
6068 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
6069 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
6070 from ld-linux.so.2 to ld.so.1.
6071 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
6072 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
6073 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
6074 nor -Wl,-rpath-link.
6075 (LIB_SPEC): Add -rpath-link if !static.
6076 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
6077 * config/mn10300/mn10300.c (mn10300_protect_label): New
6079 * config/mn10300/linux.h (PRINT_OPERAND,
6080 PRINT_OPERAND_ADDRESS): Set it during their execution.
6081 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
6082 mn10300_protect_label is set.
6083 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
6085 (LIB_SPEC, STARTFILE_SPEC): Define.
6086 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
6087 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
6088 FLOAT_BIT_ORDER_MISMATCH.
6089 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
6090 * config.gcc (am33_2.0-*-linux*): Added.
6091 * config/mn10300/linux.h: New.
6092 * config/mn10300/t-linux: New.
6094 2003-07-10 Andreas Jaeger <aj@suse.de>
6096 * fold-const.c: Properly wrap prototypes.
6098 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
6100 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
6101 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
6103 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
6104 * config/mn10300/mn10300.h: GTY-declare it.
6105 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
6106 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
6107 prototype. Use incoming RTL argument.
6108 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
6109 * config/mn10300/mn10300.md (int_label): Move C statements...
6110 (GOTaddr2picreg): ... here.
6111 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
6112 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
6113 * config/mn10300/mn10300.c (mn10300_encode_section_info):
6114 ... here. New function.
6115 (TARGET_ENCODE_SECTION_INFO): Define to it.
6116 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
6117 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
6119 (mn10300_loadPC): Define as insn splittable after reload.
6120 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
6121 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
6122 be defined in .rodata even in PIC, now that the assembler
6124 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
6125 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
6126 symbol take an underscore prefix.
6127 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
6128 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
6129 legitimize_pic_address): Declare.
6130 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
6131 the PIC register as fixed.
6132 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
6133 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
6135 (LEGITIMATE_PIC_OPERAND_P): Define.
6136 (PIC_OFFSET_TABLE_REGNUM): Define.
6137 (GOT_SYMBOL_NAME): Define.
6138 (SYMBOLIC_CONST_P): Define.
6139 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
6141 (MN10300_GLOBAL_P): Test it.
6142 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
6143 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
6144 * config/mn10300/mn10300.c (print_operand): Handle unspec.
6145 (expand_prologue): Set PIC register.
6146 (call_address_operand): Don't match SYMBOL_REFs in PIC.
6147 (legitimize_address): Call legitimize_pic_address.
6148 (legitimize_pic_address): New fn.
6149 (legitimate_pic_operand_p): New fn.
6150 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
6151 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
6152 UNSPEC_PLT): New constants.
6153 (pop_pic_reg): New insn.
6154 (movsi): Adjust non-PIC addresses.
6155 (builtin_setjmp_receiver): Restore the PIC register.
6157 (call): Adjust non-PIC addresses.
6158 (int_label, GOTaddr2picreg): New expands.
6159 (am33_loadPC): New insn.
6160 (mn10300_loadPC): New expand.
6161 (call_next_insn): New insn.
6162 (add_GOT_to_pic_reg): New expand.
6163 (symGOT2reg, symGOT2reg_i): New expands.
6164 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
6165 (sym2PIC, sym2PLT): New expands.
6167 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
6169 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
6170 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
6171 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
6172 to flag_unsafe_math_optimizations.
6173 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
6174 * config/mn10300/mn10300.c (expand_prologue): Mark
6175 FP-register-saving insns as frame-related.
6176 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
6177 * config/mn10300/mn10300.c
6178 (mn10300_get_live_callee_saved_regs): Don't search past
6179 LAST_EXTENDED_REGNUM.
6180 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
6181 * config/mn10300/mn10300.md: Remove excessive line breaks from
6182 `@' output patterns that were accounted as additional
6184 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
6185 Re-introduce changes accidentally removed in Richard Sandiford's
6187 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6188 Re-instate am33-2 lost in merge from net GCC.
6189 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
6190 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
6191 floating-point registers.
6192 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
6193 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
6194 pessimizations that had gone in on 2000-05-08.
6195 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
6196 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
6197 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
6198 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
6200 * (movhi): Likewise.
6201 * (movsi): Likewise.
6202 * (movsf): Likewise.
6203 * (movdi): Likewise.
6204 * (movdf): Likewise.
6205 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
6206 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
6207 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
6208 (expand_prologue, expand_epilogue): Save and restore FP regs.
6209 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
6210 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
6211 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
6212 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
6213 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
6215 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
6216 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
6217 Discourage the two-argument, longer opcodes.
6218 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
6220 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
6221 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
6222 * config/mn10300/mn10300.md (cmpsf): New pattern.
6223 (branch): Test mdep.fpCC and output fbCC.
6224 * config/mn10300/mn10300.c (print_operand): Output conditions.
6225 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
6226 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
6227 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
6228 mulsf3, divsf3): Use the `F' constraint for FP values.
6229 * config/mn10300/mn10300.c (const_1f_operand): New function.
6230 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
6231 * config/mn10300/mn10300.md (sqrtsf2): New expand.
6232 (rsqrtsf2): New insn.
6233 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
6234 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
6236 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
6237 * config/mn10300/mn10300.md (abssf2, negdf2): On
6238 TARGET_AM33_2, expand to...
6239 (abssf2_am33_2, negdf2_am33_2): New insns.
6240 (addsf3, subsf3, mulsf3, divsf3): Likewise.
6241 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
6242 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
6243 movdi, movdf): Added FP regs.
6244 * invoke.texi (-mam33-2, -mno-am33-2): Document.
6245 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
6246 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
6248 (REGNO_AM33_2_FP_P): Renamed to...
6249 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
6250 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
6251 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6252 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
6253 regs from GENERAL_REGS.
6254 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6255 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
6256 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
6257 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
6258 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
6259 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
6261 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
6262 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
6263 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
6264 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
6265 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
6266 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
6267 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
6268 AM33/2.0 floating-point registers.
6269 (CONDITIONAL_REGISTER_USAGE): Adjust.
6270 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
6271 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
6272 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
6273 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
6274 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
6275 (MULTILIB_DIRNAMES): Likewise.
6276 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
6277 `__AM33_2__' when `-mam33-2' is given.
6278 (TARGET_AM33_2): Define.
6279 (TARGET_SWITCHES): Adjust.
6280 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
6283 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
6285 * doc/install.texi: Add missing @.
6287 2003-07-09 Bob Wilson <bob.wilson@acm.org>
6289 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
6291 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
6294 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
6296 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
6299 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
6300 "x-crtfini.o" with "crtinit.o", "crtfini.o".
6302 * fixinc/inclhack.def (limits_ifndefs): Add select test.
6303 * fixinc/fixincl.x: Rebuild.
6305 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
6306 * fixinc/fixincl.x: Rebuild.
6308 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
6310 * doc/install.texi (Configuration): Document the valgrind option
6311 to --enable-checking.
6313 2003-07-09 Jan Hubicka <jh@suse.cz>
6315 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
6317 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6319 * c-lex.c (cb_ident): Cast cstr.text to const char *.
6321 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
6323 * gcov-io.h: Update documentation.
6324 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
6326 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
6327 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
6328 (struct gcov_var): Change buffer's type. Add endian flag.
6329 (gcov_open): Remove mode in libgcov.
6330 (gcov_magic): Prototype.
6331 * gcov-io.c (from_file): New.
6332 (gcov_open): Clear endian flag.
6334 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
6336 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
6337 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
6338 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
6339 * gcov-iov.c (main): Correct cast.
6340 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
6342 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
6343 (coverage_init): Use GCOV_NOTE_SUFFIX.
6344 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
6345 Rename to gcov_version, and return flag.
6346 (gcov_exit): Use gcov_version.
6347 (__gcov_init): Use gcov_version.
6348 * Makefile.in (coverageexts): Update.
6349 * gcov.c (print_version): Remove endianness conversion.
6350 (create_file_names): Use GCOV_NOTE_SUFFIX.
6351 (read_graph_file): Use gcov_magic.
6352 (read_count_file): Likewise.
6353 * gcov-dump.c (dump_file): Remove endianness conversion, use
6356 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
6358 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
6360 * configure: Regenerated.
6361 * Makefile.in (ALL_CFLAGS): Correct its comment.
6363 2003-07-08 Mark Mitchell <mark@codesourcery.com>
6365 * fold-const.c (make_range): Do not access operand 1 for a
6366 zero-operand operator.
6368 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
6370 * toplev.c (warn_dummy, W_options): Die.
6371 (display_help): Don't print W_options.
6372 * common.opt: Add W_options help from toplev.c.
6374 2003-07-09 Andreas Jaeger <aj@suse.de>
6376 * opts.c (wrap_help): Only pass int arguments as arguments to
6377 printf's '*' modifier. Change argument of function.
6379 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
6381 * doc/invoke.texi: Fix misspelling of "@item".
6383 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
6385 * config/i386/i386.md: Remove an old comment about
6388 2003-07-09 Jan Hubicka <jh@suse.cz>
6390 * cgraph.c (cgraph_node_name): New function.
6391 (dump_cgraph): Use it.
6392 * cgraph.h (cgraph_dump_file): Declare.
6393 (cgraph_node_name): Declare.
6394 * cgraphunit.c: Include timevar.h
6395 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
6396 (cgraph_optimize_function): Use TV_INTEGRATION.
6397 (cgraph_mark_local_functions): reorganize dumps.
6398 (cgraph_mark_functions_to_inline_once): Likewise.
6399 (cgraph_optimize): Likewise; use timevar.
6400 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
6401 * toplev.c (dump_file_index): Add DFI_cgraph.
6402 (dump_file_info): Likewise.
6403 (cgraph_dump_file): New global variable.
6404 (do_compile): Open and close cgraph dump.
6405 * invoke.texi (-d): Document new flag; renumber.
6407 2003-07-08 Roger Sayle <roger@eyesopen.com>
6410 * calls.c (emit_call_1): Don't bother popping the arguments off of
6411 the stack after a noreturn function call; The adjustment is dead.
6412 (expand_call): Likewise.
6414 2003-07-08 Geoffrey Keating <geoffk@apple.com>
6416 * expr.c (MOVE_MAX_PIECES): Move from here...
6417 * defaults.h (MOVE_MAX_PIECES): ... to here.
6419 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
6421 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
6423 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6425 * genattr.c (internal_dfa_insn_code): Don't prototype.
6426 * genattrtab.c (attr_desc): Add `static_p' field.
6427 (expand_units): Make blockage range and ready cost functions
6429 (write_attr_get): Don't add extern prototypes in C file. Mark
6430 static functions as appropriate.
6431 (find_attr, make_internal_attr): Initialize static_p.
6432 * genattrtab.h (ATTR_STATIC): New macro.
6433 * genautomata.c (output_internal_reset_func): Mark output function
6435 (make_internal_dfa_insn_code_attr): Mark output function as static.
6437 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6439 * genattrtab.h: Add new macros for attr `special' flags.
6440 * genattrtab.c (attr_desc): Reorder/resize fields better.
6441 Use attr `special' macros in all calls to make_internal_attr.
6442 * genautomata.c: Likewise.
6444 2003-07-09 Jan Hubicka <jh@suse.cz>
6446 * c-common.c (c_estimate_num_insns_1): New static function.
6447 (c_estimate_num_insns): New global function.
6448 * c-common.h (DECL_NUM_STMTS): Rename to...
6449 (DECL_ESTIMATED_INSNS): ... this.
6450 (c_estimate_num_insns): Declare.
6451 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
6452 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
6453 * c-semantics.c (add_stmt): Do not account statements.
6454 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
6456 * langhooks.h (lang_hooks_for_tree_inlining): Add
6458 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
6460 (max-inline-insns): set to 300.
6461 (min-inline-insns): set to 10.
6462 * tree-inline.c (struct inline_data): Rename inlined_stmts to
6464 (INSNS_PER_STMT): Kill.
6465 (inlinable_function_p): Compute and store body size.
6466 (expand_call_inline): Likewise.
6467 (optimize_inline_calls): Likewise.
6469 2003-07-08 James E Wilson <wilson@tuliptree.org>
6472 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
6473 loop over new variable t2 instead of t.
6475 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
6478 * config/i386/winnt.c: Replace use of error(), warning() with
6479 error_with_decl(), warning_with_decl(), throughout.
6481 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
6483 * opts.c (wrap_help): Use unsigned int, not size_t.
6485 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
6487 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
6488 as .file/.loc directives are incompatible with linker relaxation.
6490 2003-07-08 Zack Weinberg <zack@codesourcery.com>
6492 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
6493 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
6494 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
6495 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
6496 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
6497 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
6498 Escape { and } characters which are not part of range expressions.
6499 * fixinc/fixincl.x: Regenerate.
6500 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
6502 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
6505 * tree-inline.c (find_alloca_call): Use
6506 walk_tree_without_duplicates, instead of walk_tree.
6507 (find_builtin_longjmp_call): Likewise.
6508 * c-objc-common.c (c_cannot_inline_fn): Likewise.
6509 * c-semantics.c (find_reachable_label): Likewise.
6511 2003-07-08 Jakub Jelinek <jakub@redhat.com>
6514 * config/i386/i386.c (ix86_check_movabs): New function.
6515 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
6516 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
6517 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
6519 2003-07-08 Chris Demetriou <cgd@broadcom.com>
6521 * Makefile.in (install-po): Cope with empty CATALOGS.
6523 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
6525 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
6526 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
6527 (SECTION_FUNCTION_TEMPLATE): Delete.
6528 * config/mips/elf.h: As for elf64.h.
6529 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
6530 * config/mips/linux.h: As for elf.h
6531 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
6532 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
6533 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
6534 of in_sdata from current_section_name and current_section_flags.
6535 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
6536 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
6537 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
6538 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
6539 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
6540 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
6541 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
6542 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
6543 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
6544 (override_options): Remove setting of MASK_GPOPT.
6545 (mips_output_external): Use mips_in_small_data_p to check whether a
6546 symbol needs an .extern directive. Don't emit such directives for
6547 TARGET_EXPLICIT_RELOCS.
6548 (mips_declare_object): Update accordingly.
6549 (mips_select_rtx_section): Call named_section rather than
6551 (mips_select_section): Use default_elf_section_section for everything
6552 except .text string constants.
6553 (mips_in_small_data_p): New function.
6554 (mips_encode_section_info): Remove small data handling.
6555 (mips_unique_section): Delete.
6556 (iris6_section_type_flags): New function.
6557 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
6559 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6562 * pa.md: Disparage all mtsar constraints.
6563 (extzv, extv, insv): Don't fail on length of {32|64}.
6565 2003-07-08 Zack Weinberg <zack@codesourcery.com>
6567 * system.h: Poison MAP_CHARACTER.
6568 * config/i370/i370-protos.h (mvs_map_char): Delete.
6569 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
6570 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
6571 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
6573 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
6575 * toplev.c (randomize): Correct call to time().
6577 2003-07-08 Jakub Jelinek <jakub@redhat.com>
6579 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
6580 REG_EQUIV notes as well.
6582 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
6584 * doc/md.texi: Fix the description of addmodecc.
6586 2003-07-07 Zack Weinberg <zack@codesourcery.com>
6588 * Makefile.in (top_builddir): Set to "..", not ".".
6589 (INTLLIBS, INTLDEPS): Delete.
6590 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
6591 (LIBDEPS): Add $(LIBICONV_DEP).
6592 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
6593 (INCLUDES): Replace -I../intl with @INCINTL@.
6594 ($(top_builddir)/intl/libintl.a): Delete rule.
6595 (stage2-start, stage3-start, stage4-start, stageprofile-start,
6596 stagefeedback-start): Use $$ for variable to be evaluated by
6598 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
6599 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
6600 * aclocal.m4: sinclude ../config/progtest.m4. Add
6601 contents of lcmessage.m4 from gettext distro.
6602 * configure.in: Check for wchar.h and setlocale. Set
6603 LIBICONV_DEP to the empty string and substitute it.
6604 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
6605 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
6606 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
6607 in $LIBINTL, to avoid linking it twice.
6608 * configure, config.in: Regenerate.
6610 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
6612 * fixinc/mkfixinc.sh: Remove winnt support.
6613 * fixinc/fixinc.winnt: Delete with extreme prejudice.
6615 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
6617 * Makefile.in: Update.
6618 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
6619 * c.opt: Update documentation.
6620 * common.opt: Add some help text.
6621 * opts.c: Include intl.h.
6622 (wrap_help, print_help): New.
6623 (find_opt, handle_option, common_handle_option): opt_text now
6624 contains the '-'. Use print_help to output help.
6625 * opts.h (struct cl_option): New member "help".
6626 * opts.sh: Update to handle help text output and to prepend
6628 * toplev.c (display_help): Remove some help text.
6630 2003-07-07 David Edelsohn <edelsohn@gnu.org>
6631 Fariborz Jahanian <fjahanian@apple.com>
6633 * configure.in: Test for PowerPC mfcr field support in assembler.
6634 * config.in, configure: Regenderated.
6636 * config/rs6000/power4.md: Add mfcrf reservation.
6637 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
6638 * config/rs6000/rs6000.c (mfcr_operation): Define.
6639 (print_operand): Add 'Q' case for mfcrf.
6640 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
6641 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
6642 (movcc_internal1): Emit optional field operand for mfcr and set
6643 "type" attribute appropriately.
6644 (mfcr SCC): Likewise.
6645 (movesi_from_cr_one): New.
6647 2003-07-07 Roger Sayle <roger@eyesopen.com>
6649 * config/i386/i386.md: Correct check-in of incorrect version.
6651 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6653 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
6654 adjacent stdio calls.
6655 * c-decl.c (c_print_identifier): Likewise.
6656 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
6657 * print-rtl.c (print_rtx): Likewise.
6658 * print-tree.c (print_node_brief, print_node): Likewise.
6659 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
6661 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
6662 * config.in, configure: Regenerated.
6664 2003-07-07 Roger Sayle <roger@eyesopen.com>
6667 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
6668 Changed to define_expand patterns that copy operand[1] to prevent
6669 it from being clobbered before emitting an atan2?f3_1 insn.
6670 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
6671 patterns that actually specify the behaviour of x87's FPATAN.
6673 2003-07-07 Jakub Jelinek <jakub@redhat.com>
6675 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
6676 clearing of SYMBOL_FLAG_LOCAL bit.
6677 If vcall_offset fits into signed 16-bit immediate, use
6678 one instruction for both addition and load.
6680 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
6682 * opts.c (common_handle_option): Correct handling of the
6683 -falign- switches that do and don't take an argument.
6685 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
6687 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
6689 (pushhi1_h8300hs): Likewise.
6691 2003-07-07 Andreas Jaeger <aj@suse.de>
6693 * genextract.c: Convert remaining prototypes to ISO C90.
6695 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
6696 * fold-const.c (fold_single_bit_test): Likewise.
6697 * diagnostic.c (default_diagnostic_finalizer): Likewise.
6698 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
6700 * gengtype.c (write_array): Generate ISO C90 prototypes.
6702 * genflags.c (gen_proto): Generate ISO C90 prototypes.
6704 2003-07-07 Roger Sayle <roger@eyesopen.com>
6706 PR optimization/11059
6707 * expr.c (can_store_by_pieces): Return true if length is zero.
6708 (store_by_pieces): If length is zero and endp is two, abort,
6709 othwerise, if length is zero and endp is not two, return "to".
6710 (clear_by_pieces): Do nothing if length is zero.
6711 (clear_storage): Do nothing if length is zero.
6712 (store_constructor): Simplify code when size is zero, or the
6713 target has already been cleared. This avoids emitting a
6714 blockage instruction when initializing empty structures.
6716 2003-07-07 Andreas Jaeger <aj@suse.de>
6718 * mips-tfile.c: Convert prototypes to ISO C90.
6719 * mips-tdump.c: Convert prototypes to ISO C90.
6721 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
6723 * rtl.h (emit_line_note): Take a location_t.
6724 (emit_line_note_force): Remove.
6725 (set_file_and_line_for_statement): Take a location_t.
6726 * tree.g (emit_line_note): Take a location_t.
6727 * emit-rtl.c (emit_line_note): Take a location_t.
6728 (emit_line_note_force): Remove.
6729 * function.c (init_function_start): Adjust emit_line_note call.
6730 (expand_function_end): Use force_next_line_note, not
6731 emit_line_note_force.
6732 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
6733 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
6734 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
6735 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
6736 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
6737 genrtl_continue_stmt, genrtl_switch_stmt,
6738 genrtl_asm_stmt): Likewise.
6739 * expr.c (expand_expr): Likewise.
6740 * integrate.c (expand_inline_function): Likewise.
6741 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
6742 (expand_decl_init): Adjust emit_line_note call.
6744 2003-07-07 Dale Johannesen <dalej@apple.com>
6746 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
6748 2003-07-07 Andreas Jaeger <aj@suse.de>
6750 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
6751 * config/i386/i386.c: Likewise.
6753 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
6755 * config/h8300/h8300.md: Use gen_int_mode instead of
6756 GEN_INT (trunc_int_for_mode (...)).
6758 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
6760 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
6761 2 bytes and then subtract 2 from the stack pointer.
6762 (pushhi1_h8300hs): Likewise.
6764 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
6766 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
6768 * configure: Regenerated.
6769 * Makefile.in: Remove extraneous comment.
6770 * toplev.c (randomize): Protect against potential multiple calls.
6771 * doc/invoke.texi (-frandom-seed): Document use for in coverage
6774 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6775 Eric Botcazou <ebotcazou@libertysurf.fr>
6777 PR optimization/11198
6778 * alias.c (objects_must_conflict_p): Return 1 if the types have
6779 the same alias set, not if the alias sets only conflict.
6781 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
6783 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
6784 (convert_cset): Change inbuf to type ICONV_CONST char.
6785 * Makefile.in (LIBS): Add LIBICONV.
6787 * doc/invoke.texi (-falign-functions): Document that
6788 when n is zero then a machine-dependent default is used.
6789 (-falign-labels): Document that when n is zero then a
6790 machine-dependent default is used and that -falign-labels =1
6791 is equivalent to -fno-align-labels.
6792 (-falign-loops): Likewise.
6793 (-falign-jumps): Likewise.
6795 2003-07-06 Art Haas <ahaas@airmail.net>
6797 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
6800 2003-07-06 James E Wilson <wilson@tuliptree.org>
6802 PR optimization/9812
6803 * rtl.h (mem_for_const_double): Delete prototype.
6804 * varasm.c (mem_for_const_double): Delete function.
6805 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
6806 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
6807 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
6808 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
6809 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
6810 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
6811 comment about confused support for XFmode constants.
6813 2003-07-07 Jan Hubicka <jh@suse.cz>
6815 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
6817 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
6819 * config/h8300/h8300.c: Fix comment typos.
6820 * config/h8300/h8300.md: Likewise.
6821 * config/i386/athlon.md: Likewise.
6822 * config/i386/i386.c: Likewise.
6823 * config/i386/pentium.md: Likewise.
6824 * config/ia64/ia64.c: Likewise.
6825 * config/ia64/itanium1.md: Likewise.
6826 * config/ia64/itanium2.md: Likewise.
6827 * config/m32r/m32r.md: Likewise.
6828 * config/m68hc11/m68hc11.c: Likewise.
6829 * config/mcore/mcore.c: Likewise.
6830 * config/mips/sr71k.md: Likewise.
6831 * config/mips/t-iris5-as: Likewise.
6832 * config/mmix/mmix.h: Likewise.
6833 * config/ns32k/ns32k.h: Likewise.
6834 * config/ns32k/NOTES: Fix a typo.
6836 2003-07-06 Andreas Jaeger <aj@suse.de>
6838 * stmt.c: Convert remaining prototypes to ISO C90.
6839 * cfglayout.c: Likewise.
6840 * dbxout.c: Likewise.
6842 * genemit.c: Likewise.
6844 * basic-block.h: Convert prototypes to ISO C90.
6845 * c-parse.in: Likewise.
6846 * c-pragma.h: Likewise.
6847 * c-typeck.c: Likewise.
6848 * cfghooks.h: Likewise.
6849 * cfgloopanal.c: Likewise.
6850 * dbxout.h: Likewise.
6851 * debug.h: Likewise.
6852 * dwarf2asm.h: Likewise.
6854 * gengtype-lex.l: Likewise.
6855 * sched-int.h: Likewise.
6856 * timevar.c: Likewise.
6858 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
6860 * c-common.h (c_comon_handle_filename,
6861 c_common_missing_arguement): New.
6862 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
6863 LANG_HOOKS_MISSING_ARGUMENT): New.
6864 * c-opts.c (missing_arg): Rename c_common_missing_argument,
6865 update to be an appropriate langhook.
6866 (c_common_handle_option): Don't handle filenames.
6867 (c_common_handle_filename): New.
6868 * hooks.c (hook_void_constcharptr,
6869 hook_bool_constcharptr_size_t_false): New.
6870 * hooks.h (hook_void_constcharptr,
6871 hook_bool_constcharptr_size_t_false): New.
6872 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
6873 LANG_HOOKS_MISSING_ARGUMENT): New.
6874 (LANG_HOOKS_INITIALIZER): Update.
6875 * langhooks.h (struct lang_hooks): Add handle_filename and
6877 * opts.c (handle_option): Don't handle filenames here, but ...
6878 (handle_options): ... here.
6879 (common_handle_option): Don't handle missing arguments here.
6880 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
6881 LANG_HOOKS_MISSING_ARGUMENT): New.
6883 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
6885 * Makfile.in: Remove traces of mbchar.
6886 * c-parse.in (MULTIBYTE_CHARS): Remove.
6887 * config.in (MULTIBYTE_CHARS): Remove.
6888 * configure: Remove --enable-mbchar.
6889 * configure.in: Remove --enable-mbchar.
6890 * mbchar.c, mbchar.h: Remove.
6891 * system.h: Poison MULTIBYTE_CHARS.
6892 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
6893 * config/linux.h (MULTIBYTE_CHARS): Remove.
6894 * config/svr4.h (MULTIBYTE_CHARS): Remove.
6895 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
6897 2003-07-06 Andreas Jaeger <aj@suse.de>
6899 * varray.c (varray_check_failed): Fix typo.
6901 * unroll.c: Convert prototypes to ISO C90.
6902 * varasm.c: Likewise.
6903 * varray.c: Likewise.
6904 * varray.h: Likewise.
6905 * vmsdbgout.c: Likewise.
6906 * xcoffout.c: Likewise.
6907 * xcoffout.h: Likewise.
6909 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
6911 * gcov-io.h: Add a local time stamp.
6912 (struct gcov_info): Add stamp field.
6913 (gcov_truncate): New.
6914 * coverage.c (read_counts_file): Skip the stamp.
6915 (coverage_begin_output): Write the stamp.
6916 (build_gcov_info): Declare and init the stamp.
6917 (coverage_finish): Only unlink data file, if stamp is zero.
6918 * gcov-dump.c (dump_file): Dump the stamp.
6919 * gcov.c (bbg_stamp): New.
6920 (release_structures): Clear bbg_stamp.
6921 (read_graph_file): Read stamp.
6922 (read_count_file): Check stamp.
6923 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
6925 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
6927 * tree.h (default_flag_random_seed): Remove.
6928 * toplev.h (local_tick): Declare.
6929 * tree.c (flag_random_seed, default_flag_random_seed): Move to
6931 (append_random_chars): Don't call default_flag_random_seed.
6932 * toplev.c (flag_random_seed): Define here. Set local_tick.
6933 (local_tick): Define.
6934 (randomize): New, moved from tree.c.
6935 (print_switch_values): Adjust.
6936 (toplev_main): Call randomize.
6938 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
6940 * tree.h (crc32_string): Declare.
6941 * tree.c (append_random_chars): Remove.
6942 (crc32_string): New.
6943 (get_file_function_name_long): Use crc32_string here.
6945 2003-07-06 Andreas Jaeger <aj@suse.de>
6947 * gcc.c: Convert prototypes to ISO C90.
6949 * gcov-dump.c: Likewise.
6950 * gcov-iov.c: Likewise.
6952 * genattrtab.h: Likewise.
6954 * global.c: Likewise.
6955 * graph.c: Likewise.
6956 * graph.h: Likewise.
6957 * hosthooks.h: Likewise.
6958 * hooks.h: Likewise.
6959 * hooks.c: Likewise.
6960 * hashtable.h: Likewise.
6961 * hashtable.c: Likewise.
6962 * haifa-sched.c: Likewise.
6963 * integrate.h: Likewise.
6964 * integrate.c: Likewise.
6965 * input.h: Likewise.
6966 * ifcvt.c: Likewise.
6968 * langhooks-def.h: Likewise. Add extern to prototypes.
6969 * langhooks.c: Likewise.
6970 * langhooks.h: Likewise.
6972 * local-alloc.c: Likewise.
6973 * loop-init.c: Likewise.
6974 * loop-unroll.c: Likewise.
6975 * loop-unswitch.c: Likewise.
6977 * loop.h: Likewise. Add extern to prototypes.
6978 * machmode.h: Likewise.
6980 * mbchar.c: Likewise.
6981 * mbchar.h: Likewise.
6982 * mkdeps.c: Likewise.
6983 * mkdeps.h: Likewise.
6984 * optabs.c: Likewise.
6985 * optabs.h: Likewise.
6986 * output.h: Likewise.
6987 * gccspec.c: Likwise.
6988 * postreload.c: Likewise.
6989 * prefix.c: Likewise.
6990 * prefix.h: Likewise.
6991 * print-rtl.c: Likewise.
6992 * print-tree.c: Likewise.
6993 * profile.c: Likewise.
6994 * read-rtl.c: Likewise.
6997 * recog.c: Likewise.
6998 * recog.h: Likewise.
6999 * reg-stack.c: Likewise.
7000 * regclass.c: Likewise.
7001 * regmove.c: Likewise.
7002 * regrename.c: Likewise.
7004 * reload.c: Likewise.
7005 * reload.h: Likewise.
7006 * reload1.c: Likewise.
7007 * reorg.c: Likewise.
7008 * resource.c: Likewise.
7009 * resource.h: Likewise.
7010 * rtl-error.c: Likewise.
7013 * rtlanal.c: Likewise.
7014 * sbitmap.c: Likewise.
7015 * sbitmap.h: Likewise.
7016 * scan-decls.c: Likewise.
7018 * sched-deps.c: Likewise.
7019 * sched-ebb.c: Likewise.
7020 * sched-int.h: Likewise.
7021 * sched-rgn.c: Likewise.
7022 * sched-vis.c: Likewise.
7023 * sibcall.c: Likewise.
7024 * simplify-rtx.c: Likewise.
7025 * sreal.c: Likewise.
7026 * sreal.h: Likewise.
7027 * ssa-ccp.c: Likewise.
7028 * ssa-dce.c: Likewise.
7031 * stack.h: Likewise.
7033 * stor-layout.c: Likewise.
7034 * stringpool.c: Likewise.
7035 * target.h: Likewise.
7036 * timevar.c: Likewise.
7037 * timevar.h: Likewise.
7038 * tlink.c: Likewise.
7039 * tracer.c: Likewise.
7040 * tree-inline.c: Likewise.
7041 * tree-inline.h: Likewise.
7045 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
7047 * combine.c (nonzero_bits1): Fix a warning.
7049 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
7051 * config/h8300/h8300.c (compute_mov_length): Correct the
7052 length of loading CONST0_RTX (SFmode).
7054 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
7056 * toplev.c (output_clean_symbol_name): Remove.
7057 * toplev.h (output_clean_symbol_name): Remove.
7058 * config/alpha/alpha.c (unicosmk_output_module_name): Use
7059 lbasename & clean_symbol_name.
7061 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
7063 * ggc.h: Follow spelling conventions.
7064 * config/i386/i386.c: Likewise.
7065 * config/i386/winnt.c: Likewise.
7066 * config/rs6000/rs6000.c: Likewise.
7068 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
7070 * bt-load.c: Fix comment typos.
7071 * c-incpath.c: Likewise.
7073 * cfgcleanup.c: Likewise.
7074 * cfgloop.h: Likewise.
7075 * cfgloopmanip.c: Likewise.
7076 * cfgrtl.c: Likewise.
7077 * diagnostic.h: Likewise.
7078 * dwarfout.c: Likewise.
7079 * emit-rtl.c: Likewise.
7080 * et-forest.c: Likewise.
7081 * et-forest.h: Likewise.
7084 * genattr.c: Likewise.
7086 * langhooks.h: Likewise.
7087 * local-alloc.c: Likewise.
7088 * loop-unroll.c: Likewise.
7089 * loop-unswitch.c: Likewise.
7090 * ra-build.c: Likewise.
7091 * regclass.c: Likewise.
7092 * regmove.c: Likewise.
7093 * rtl.def: Likewise.
7094 * rtlanal.c: Likewise.
7095 * sched-ebb.c: Likewise.
7096 * sched-rgn.c: Likewise.
7097 * simplify-rtx.c: Likewise.
7099 * tracer.c: Likewise.
7102 2003-07-05 Zack Weinberg <zack@codesourcery.com>
7104 * cppcharset.c: Use the correct return type for the fallback iconv
7107 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7109 Blame to Jan Hubicka <jh@suse.cz>
7110 * cfglayout.c (record_effective_endpoints): Split insns before
7111 first basic block correctly.
7113 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7115 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
7116 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
7117 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
7119 2003-07-05 Andreas Jaeger <aj@suse.de>
7121 * genattrtab.c (write_attr_get): Revert part of last patch to
7122 always write out a prototype.
7124 * genemit.c (gen_split): Readd lost unused attributes in last
7127 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7129 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
7130 different from header.
7132 2003-07-05 Andreas Schwab <schwab@suse.de>
7134 * config/m68k/m68k.c: Remove code protected by CRDS.
7135 * config/m68k/m68k.md: Likewise.
7137 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
7140 * c-opts.c (permit_fortran_options): New.
7141 (c_common_init_options): Accept fortran front end options if
7142 it looks like we might be preprocessing Fortran.
7143 (c_common_handle_option): Don't reject switch if permit_fotran_options.
7145 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7147 * genattr.c (internal_dfa_insn_code): Output prototype.
7148 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
7149 * genautomata.c: Likewise.
7150 * genconditions.c: Likewise.
7151 * genemit.c: Likewise.
7152 * genextract.c: Likewise.
7153 * gengenrtl.c: Likewise.
7154 * gengtype.c: Likewise.
7155 * genopinit.c: Likewise.
7156 * genoutput.c: Likewise.
7157 * genpeep.c: Likewise.
7158 * genrecog.c: Likewise.
7160 2003-07-04 Zack Weinberg <zack@codesourcery.com>
7162 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
7163 (struct cpp_options): Add narrow_charset, wide_charset,
7164 bytes_big_endian fields. Remove EBCDIC field.
7165 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
7167 * cpphash.h: Include <iconv.h> if we have it, otherwise
7168 provide a dummy definition of iconv_t.
7169 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
7170 (_cpp_valid_ucn): Update prototype.
7171 (_cpp_destroy_iconv): New prototype.
7173 * doc/cpp.texi: Document character set handling.
7174 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
7175 * doc/extend.texi: Delete entire section on multiline strings.
7176 Rewrite section on __FUNCTION__ etc now that these are
7179 * cppucnid.tab, cppucnid.pl: New files.
7180 * cppucnid.h: New generated file.
7181 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
7182 (iconv_open, iconv, iconv_close): Provide dummy definitions
7184 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
7185 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
7186 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
7187 cpp_interpret_string, narrow_str_to_charconst,
7188 wide_str_to_charconst): New.
7189 (ucn_valid_in_identifier): Use a binary search through the
7190 ucnranges table defined in cppucnid.h, not a long chain of if
7192 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
7193 character names are only valid in C++ and C99" to a warning.
7194 Issue the "meaning of \[uU] is different in traditional C"
7195 warning here. Take care not to let iconv see an invalid UCS
7196 value if we get a malformed UCN. Issue an error if we don't
7198 (cpp_interpret_charconst): Moved here from cpplex.c. Use
7199 cpp_interpret_string to do the heavy lifting.
7201 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
7202 narrow_charset, wide_charset fields of options structure.
7203 (cpp_destroy): Call _cpp_destroy_iconv.
7204 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
7205 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
7206 (cpp_interpret_charconst): Moved to cppcharset.c.
7207 * cpplib.c (dequote_string): Delete.
7208 (interpret_string_notranslate): New.
7209 (do_line, do_linemarker): Use interpret_string_notranslate.
7211 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
7213 * c-common.c (fname_string, combine_strings): Delete.
7214 * c-common.h (fname_string, combine_strings): Delete prototypes.
7215 * c-lex.c (ignore_escape_flag): Delete.
7216 (cb_ident): Use cpp_interpret_string, not lex_string.
7217 (get_nonpadding_token): New function.
7218 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
7219 Adjust calls to lex_string. Don't write *value twice.
7220 (lex_string): Now handles string constant concatenation.
7221 Most of the work handed off to cpp_interpret_string.
7222 Call fix_string_type here.
7223 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
7224 FUNC_NAME, throughout.
7225 (OBJC_STRING): New token type.
7226 (primary:STRING): No need to call fix_string_type here.
7227 (primary:objc_string): Make that OBJC_STRING.
7228 (objc_string nonterminal): Delete.
7229 (yylexname): Delete code to handle fake string constants.
7230 (yylexstring): Delete entirely.
7231 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
7232 to handle CPP_ATSIGN.
7234 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
7235 * c-opts.c (missing_arg, c_common_handle_option): Handle
7236 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
7237 (c_common_init): Set cpp_opts->bytes_big_endian, not
7238 cpp_opts->EBCDIC. Call cpp_init_iconv.
7239 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
7240 (TARGET_EBCDIC): Delete default definition.
7242 * objc/objc-act.c (build_objc_string_object): No need to
7243 handle string constant concatenation.
7245 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
7247 * doc/install.texi: Fix typos.
7248 * doc/invoke.texi: Likewise.
7249 * doc/tm.texi: Likewise.
7251 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
7253 * config/pa/fptr.c: Fix comment typos.
7254 * config/pa/pa-64.h: Likewise.
7255 * config/pa/pa.c: Likewise.
7256 * config/pa/pa.h: Likewise.
7257 * config/rs6000/603.md: Likewise.
7258 * config/rs6000/7xx.md: Likewise.
7259 * config/rs6000/darwin.h: Likewise.
7260 * config/rs6000/freebsd.h: Likewise.
7261 * config/rs6000/rs6000.c: Likewise.
7262 * config/rs6000/rs6000.md: Likewise.
7263 * config/rs6000/spe.h: Likewise.
7265 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
7267 * config/s390/2064.md: Change GNU CC to GCC.
7268 * config/s390/2084.md: Likewise.
7269 * config/s390/fixdfdi.h: Likewise.
7270 * config/s390/linux.h: Likewise.
7271 * config/s390/s390-modes.def: Likewise.
7272 * config/s390/s390-protos.h: Likewise.
7273 * config/s390/s390.c: Likewise.
7274 * config/s390/s390.h: Likewise.
7275 * config/s390/s390.md: Likewise.
7276 * config/s390/s390x.h: Likewise.
7278 2003-07-04 Jeff Law <law@redhat.com>
7281 * expr.c (do_store_flag): Pass in the correct result type
7282 when calling fold_single_bit_test.
7283 * fold-const.c (fold_single_bit_test): Use result_type for the
7284 result when folding a sign bit test.
7286 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
7288 * opts.c (common_handle_options): Negate sense of -falign- switches.
7290 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
7292 * Makefile.in: Replace PWD with PWD_COMMAND.
7294 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7296 * cfgloopanal.c (count_strange_loop_iterations): New static function.
7297 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
7298 Handle strange loops.
7300 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
7302 * install.texi: Even the g77 manpage is derived from
7303 the full g77 manual.
7305 2003-07-04 Zack Weinberg <zack@codesourcery.com>
7307 * ABOUT-NLS: Delete.
7308 * intl: Delete entire directory.
7309 * aclocal.m4: Include ../config/gettext.m4. Delete
7310 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
7311 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
7312 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
7313 Remove intl/Makefile from all_outputs.
7314 * configure, config.in: Regenerate.
7315 * Makefile.in: Expunge all references to intl subdirectory.
7316 Add -I../intl to INCLUDES.
7317 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
7319 2003-07-04 Roger Sayle <roger@eyesopen.com>
7321 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
7322 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
7324 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
7326 PR c++/5287, PR c++/7910, PR c++/11021
7327 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
7328 dllimport attribute if function is defined at declaration, but
7329 report error instead. Likewise for dllimport'd variable
7330 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
7331 declared within functions, Report error if dllimport or dllexport
7332 symbol is not global.
7333 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
7334 if defined after declaration or if inlined. Don't allow definition
7335 of static data members of C++ classes. Don't dllimport virtual
7337 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
7338 (i386_pe_mark_dllimport): Remove unnecessary checks.
7339 (i386_pe_encode_section_info): Warn if the dllimport attribute
7340 and symbol prefix have been instantiated and then overridden.
7342 * doc/extend.texi: Document dllimport and dllexport attributes.
7344 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
7346 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
7348 * config/kaos.h (CPP_PREDEFINES): Delete.
7349 (TARGET_OS_CPP_BUILTINS): New.
7351 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7353 * c-aux-info.c: Include toplev.h after c-tree.h.
7354 * c-common.c: Likewise.
7355 (GCC_DIAG_STYLE): Undef.
7356 * c-semantics.c (GCC_DIAG_STYLE): Define.
7357 * c-tree.h (GCC_DIAG_STYLE): Likewise.
7358 * diagnostic.h (inform): Move prototype to toplev.h.
7359 * jump.c: Include diagnostic.h before toplev.h.
7360 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
7361 (warning, error, fatal_error, pedwarn, sorry, inform,
7362 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
7364 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7366 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
7367 at all if edge is not specified.
7368 (can_copy_bbs_p, copy_bbs): New.
7369 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
7370 * cfgloop.c (get_loop_body): Comment more precisely.
7371 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
7372 (scale_bbs_frequencies): Fix comment typo.
7373 (can_duplicate_loop_p): Use can_copy_bbs_p.
7374 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
7376 2003-07-03 Devang Patel <dpatel@apple.com>
7378 * c-opts.c (c_common_parse_file): Remove extra
7379 debug_hooks->start_source_file call.
7381 2003-07-03 Roger Sayle <roger@eyesopen.com>
7383 * real.c (real_trunc, real_floor, real_ceil): New functions
7384 to implement trunc, floor and ceil respectively.
7385 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
7386 * builtins.c (integer_valued_real_p): New function to test if
7387 a floating point expression has an integer valued result.
7388 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
7389 foo(x) where foo is an integer rounding function. Similarly,
7390 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
7391 (double)(int)x when both foo and bar are integer rounding
7392 functions and we don't need to honor errno.
7393 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
7394 New functions to fold trunc, floor and ceil.
7395 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
7396 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
7397 to fold BUILT_IN_CEIL*.
7398 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
7399 the remaining integer rounding functions.
7401 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7403 * config/sparc/sparc.c (function_arg_partial_nregs): Use
7404 SPARC_INT_ARG_MAX to determine where to split unnamed
7405 complex FP arguments.
7407 2003-07-03 Jan Hubicka <jh@suse.cz>
7409 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
7410 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
7411 (merge_blocks_move_predecessor_nojumps,
7412 merge_blocks_move_successor_nojumps): Use merge_blocks.
7413 (try_optimize_cfg): Use merge_blocks_move.
7414 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
7415 (merge_blocks_nomove): Rename to rtl_merge_blocks.
7416 (cfg_layout_create_basic_block): New.
7417 (rtl_can_merge_blocks): New.
7418 (cfg_layout_split_block): Do not alloc aux by hand.
7419 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
7421 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
7422 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
7423 * cfgloopmanip.c (loop_split_edge_with): Likewise.
7424 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
7426 * basic-block.h (basic_block_def): Add field 'rbi'.
7427 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
7428 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
7429 * cfg.c (entry_exit_blocks): Add new field.
7430 * cfglayout.c: Include alloc-pool.h;
7431 (cfg_layout_pool): New.
7432 (record_effective_endpoints, fixup_reorder_chain,
7433 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
7435 (cfg_layout_initialize_rbi): New function.
7436 (cfg_layout_initialize): Use it.
7437 (cfg_layout_finalize): Clear rbi fields.
7438 * cfglayout.h (RBI): Kill.
7439 (cfg_layout_initialize_rbi): Declare.
7440 * cfgloopmanip.c (copy_bbs): Use rbi.
7441 (record_exit_edges): Likewise.
7442 (duplicate_loop_to_header_edge): Likewise.
7443 * cfgrtl.c (cfg_layout_create_basic_block): Use
7444 cfg_layout_initialize_rbi.
7445 (cfg_layout_split_block): Use rbi.
7446 (cfg_layout_delete_block): Likewise.
7447 * loop-init.c (loop_optimizer_finalize): Likewise.
7448 * loop-unswitch.c (unswitch_loop): Likewise.
7449 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
7451 * cfgrtl.c: Update comments.
7452 (try_redirect_by_replacing_jump): New argument.
7453 (redirect_branch_edge): Break out from ...
7454 (rtl_redirect_edge_and_branch): ... this one.
7455 (update_cfg_after_block_merging): Break out from ...
7456 (rtl_merge_blocks): ... this one.
7457 (cfg_layout_split_edge): New.
7458 (cfg_layout_merge_blocks): New.
7459 (cfg_layout_can_merge_blocks_p): New.
7460 (cfg_layout_redirect_edge_and_branch): Reorganize.
7461 (cfg_layout_rtl_cfg_hooks): Fill in.
7462 (cfg_layout_delete_block): Kill barriers.
7463 * cfganal.c (can_fallthru): Deal with exit blocks
7464 * cfglayout.c (cfg_layout_function_header): New function
7465 (record_effective_endpoints): Record function header.
7466 (fixup_reorder_chain): Fixup dead jumptables; place header
7468 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
7469 * bb-reorder.c (cfg_layout_initialize): Update call.
7470 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
7471 edges in cfglayout mode.
7472 * cfglayout.c (cleanup_unconditional_jumps): Kill.
7473 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
7474 * cfglayout.h (cfg_layout_initialize): Update prototype.
7475 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
7476 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
7477 * flow.c (propagate_block): Do not crash when basic block ends
7478 by first insn in the chain.
7479 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
7481 * tracer.c (tracer): Update call of cfg_layout_initialize.
7483 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7485 * Makefile.in: Use dependency variables in lieu of explicit
7488 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
7490 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
7491 * tree.h: ...to here.
7493 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
7495 * config/s390/2064.md: Fix comment typos.
7496 * config/s390/2084.md: Likewise.
7497 * config/s390/s390.c: Likewise.
7498 * config/s390/s390.md: Likewise.
7499 * config/sh/sh.c: Likewise.
7500 * config/sh/sh.h: Likewise.
7501 * config/sh/sh.md: Likewise.
7502 * config/sparc/sparc.c: Likewise.
7503 * config/sparc/sparc.h: Likewise.
7504 * config/sparc/sparc.md: Likewise.
7505 * config/stormy16/stormy16.c: Likewise.
7506 * config/stormy16/stormy16.h: Likewise.
7507 * config/stormy16/stormy-abi: Fix a typo.
7509 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
7511 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
7513 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7515 * config/mips/mips.h (save_argv): Delete.
7517 2003-07-03 Roger Sayle <roger@eyesopen.com>
7520 * fold-const.c (extract_muldiv_1): There's nothing that can be done
7521 if the expression is a SAVE_EXPR.
7523 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
7525 * config/m32r/m32r.c: Fix comment typos.
7526 * config/m68hc11/m68hc11.c: Likewise.
7527 * config/m68hc11/m68hc11.h: Likewise.
7528 * config/m68k/m68k.c: Likewise.
7529 * config/mcore/mcore.c: Likewise.
7530 * config/mcore/mcore.h: Likewise.
7531 * config/mcore/mcore.md: Likewise.
7532 * config/mips/mips.c: Likewise.
7533 * config/mips/mips.h: Likewise.
7534 * config/mips/mips.md: Likewise.
7535 * config/mips/netbsd.h: Likewise.
7536 * config/mn10300/mn10300.c: Likewise.
7538 2003-07-03 Andreas Schwab <schwab@suse.de>
7540 * dbxout.c (pending_bincls): Move decl down inside
7541 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
7543 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
7545 * rtl.h (NOTE_DATA): Refer to whole union.
7546 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
7548 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7550 PR optimization/11381
7551 * simplify-rtx.c (simplify_relational_operation): Check that
7552 two equal operands have no side-effects before simplifying
7555 2003-07-02 Jeff Law <law@redhat.com>
7557 * expr.c (do_store_flag): Remove special case folding for
7558 single bit tests. Instead call back into the commonized folder
7560 * fold-const.c (fold_single_bit_test): New function, mostly
7561 extracted from do_store_flag, with an additional case extracted
7563 (fold): Call fold_single_bit_test appropriately.
7564 * tree.h (fold_single_bit_test): Prototype.
7566 2003-07-02 Zack Weinberg <zack@codesourcery.com>
7568 * system.h: Include filenames.h.
7569 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
7570 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
7571 define based on HAVE_DOS_BASED_FILE_SYSTEM.
7572 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
7573 * config/i386/xm-mingw32.h: Don't define
7574 HAVE_DOS_BASED_FILE_SYSTEM,
7575 DIR_SEPARATOR, or DIR_SEPARATOR_2.
7576 * doc/hostconfig.texi: Update to match.
7578 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
7579 config/i386/cygwin.h:
7580 Use IS_ABSOLUTE_PATH throughout.
7581 * gcc.c (DIR_UP): Delete, unused.
7582 * protoize.c (IS_SAME_PATH): Define in terms of
7584 (is_abspath): Delete.
7586 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
7588 * config/i386/emmintrin.h: Fix comment typos.
7589 * config/i386/i386.c: Likewise.
7590 * config/i386/i386.h: Likewise.
7591 * config/i386/sco5.h: Likewise.
7592 * config/ia64/ia64.c: Likewise.
7593 * config/ia64/itanium2.md: Likewise.
7595 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
7597 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
7599 (emit_bincl_stab): Same.
7600 (emit_pending_bincls): Same.
7602 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
7604 * config/h8300/h8300.c (compute_mov_length): Fix the length of
7605 loading CONST0_RTX (SFmode).
7606 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
7607 'G' to CONST0_RTX (SFmode).
7608 * config/h8300/h8300.md (movsf_h8300): Change the first
7610 (movsf_h8300h): Likewise.
7612 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
7614 * c-common.h (c_common_init_options): New prototype.
7615 * c-opts.c (deferred_size): Remove.
7616 (defer_opt): Array is now pre-allocated.
7617 (c_common_init_options): Pre-allocate deferred_opts. Make
7618 lang_flags unsigned.
7619 (push_command_line_options): Free deferred_opts.
7620 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
7621 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
7622 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
7623 * langhooks.h (struct lang_hooks): New prototype for init_options.
7624 * main.c (main): Cast argv.
7625 * opts.c (handle_option, handle_options): Update prototypes.
7626 (decode_options): save_argc, save_argv are not global. Constify.
7627 * opts.h (decode_options): New prototype.
7628 * toplev.c (general_init): New protoype.
7629 (save_argv): Make static.
7630 (save_argc): Remove.
7631 (print_switch_values, general_init): Constify.
7632 (toplev_main): Save argv.
7633 * toplev.h (toplev_main): Update prototype.
7634 (save_argc, save_argv): Remove.
7636 2003-07-02 David Edelsohn <edelsohn@gnu.org>
7638 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
7639 (emit_bincl_stab): Same.
7640 (emit_pending_bincls): Same.
7642 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
7645 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
7647 2003-07-02 Andreas Schwab <schwab@suse.de>
7649 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
7651 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
7653 PR optimization/11210
7654 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
7655 about the behaviour with regard to bitfields.
7656 * fold-const (decode_field_reference): Record outermost type in
7657 case the expression is a NOP. Strip all NOPs. Set the signedness
7658 to that of the outermost type (if any) when the bitsize is equal
7659 to the size of the type.
7661 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
7663 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
7664 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
7665 (adddi3_internal_3, addsi3_internal_2): Likewise.
7667 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
7669 * config/mips/mips.c (machine_function): Add new fields:
7670 ignore_hazard_length_p and all_noreorder_p.
7671 (mips_flag_delayed_branch): New variable.
7672 (override_options): Treat '/' as an operand punctuation character.
7673 Set up mips_flag_delayed_branch.
7674 (print_operand): Handle '/'.
7675 (mips_output_function_prologue): Put the whole function in
7676 .set noreorder and .set nomacro if all_noreorder_p is true.
7677 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
7678 (mips16_optimize_gp): Remove "first insn" parameter.
7679 (mips16_lay_out_constants): New function, split out from mips_reorg.
7680 (mips_avoid_hazard, mips_avoid_hazards): New functions.
7681 (mips_reorg): For mips16 code, call mips16_lay_out_constant
7682 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
7683 do delayed-branch scheduling followed by hazard detection.
7684 (mips_adjust_insn_length): Only account for hazards if
7685 !ignore_hazard_length_p.
7686 (mips_output_load_label): Add a nop to the o32 sequence if
7687 the target suffers from load delays.
7688 (mips_output_conditional_branch): Add %/ to the end of branches.
7689 (mips_output_division): Fill the branch delay slot with %#.
7690 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
7691 instructions. End all other %* branches with %/.
7692 (ffssi2, ffsdi2): Fix lengths.
7693 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
7694 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
7695 (fix_truncsfsi2_macro): Likewise.
7696 (mov_lwl): Set hazard to "none".
7697 (ashldi3_internal): Fill the branch delay slot with %#.
7698 (ashrdi3_internal, lshrdi3_internal): Likewise.
7699 (exception_receiver): Explicitly set $28.
7700 (hazard_nop): New pattern.
7702 2003-07-02 Jan Hubicka <jh@suse.cz>
7704 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
7705 before calling tree_inlinable_function_p.
7707 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7709 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
7710 <internal/stdio_core.h> too.
7711 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
7712 <internal/wchar_core.h> too.
7713 Substitute va_list uses in inline definition.
7714 * fixinc/fixincl.x: Regenerate.
7716 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7718 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
7719 Undef before redefinition.
7720 (LABEL_AFTER_LOC): Likewise.
7721 (DEFAULT_SIGNED_CHAR): Likewise.
7722 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
7725 * config/mips/iris3.h: Remove, unused.
7726 * config/mips/iris4.h: Likewise.
7728 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
7730 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
7731 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
7734 * config/mips/iris5.h: Move explicit includes ...
7735 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
7737 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
7738 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
7741 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
7742 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
7745 * config/mips/iris6.h: Fix IRIX spelling.
7746 (MULTILIB_DEFAULTS): Undef before redefinition.
7748 * config/mips/iris6.h: Move explicit includes ...
7749 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
7751 2003-07-02 Jan Hubicka <jh@suse.cz>
7753 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
7754 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
7755 Use next_needed field instead of aux to maintain the queue.
7756 * cgraph.h (cgraph_node): Add next_needed.
7757 (cgraph_varpool_node): Add next_needed; remove aux.
7758 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
7760 2003-07-02 Jan Hubicka <jh@suse.cz>
7762 * cgraphunit.c (cgraph_finalize_function): Set finalized.
7763 (cgraph_finalize_function): Do not examine inlinablility.
7764 (cgraph_finalize_compilation_unit): Do it here.
7765 * cgraph.h (cgraph_local_info): Add finalized field.
7767 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7769 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
7770 (gt_pch_restore): Likewise.
7772 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
7774 * config/alpha/alpha.c: Fix comment typos.
7775 * config/alpha/elf.h: Likewise.
7776 * config/arm/arm.c: Likewise.
7777 * config/arm/arm.h: Likewise.
7778 * config/arm/arm.md: Likewise.
7779 * config/arm/t-arm-coff: Likewise.
7780 * config/arm/t-strongarm-pe: Likewise.
7781 * config/arm/xscale-elf.h: Likewise.
7782 * config/avr/avr.h: Likewise.
7784 2003-07-01 Jeff Law <law@redhat.com>
7786 * stmt.c (any_pending_cleanups): Remove another redundant test.
7788 2003-07-01 David Edelsohn <edelsohn@gnu.org>
7789 J"orn Rennecke <joern.rennecke@superh.com>
7791 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
7794 2003-07-01 Devang Patel <dpatel@apple.com>
7796 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
7798 (struct dbx_file): New members - bincl_status, pending_bincl_name and
7800 (pending_bincls): New.
7801 (dbxout_init): Initialize new dbx_file members.
7802 (dbxout_start_source_file): Same.
7803 (emit_bincl_stab): New function.
7804 (emit_pending_bincls): Same.
7805 (emit_pending_bincls_if_required): Same.
7806 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
7808 (dbxout_begin_block): Emit pending BINCL stabs.
7809 (dbxout_end_block): Same.
7810 (dbxout_function_decl): Same.
7811 (dbxout_continue): Same.
7812 (dbxout_type): Same.
7813 (dbxout_class_name_qualifiers): Same.
7814 (dbxout_symbol): Same.
7815 (dbxout_symbol_location): Same.
7816 (dbxout_parms): Same.
7818 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7820 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
7821 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
7823 2003-07-01 Andreas Jaeger <aj@suse.de>
7825 * fold-const.c: Convert prototypes to ISO C90.
7826 * function.c: Likewise.
7827 * function.h: Likewise.
7829 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
7831 * doc/contrib.texi: Fix typos.
7832 * doc/invoke.texi: Likewise.
7833 * doc/passes.texi: Likewise.
7834 * doc/sourcebuild.texi: Likewise.
7835 * doc/tm.texi: Likewise.
7837 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
7839 * basic-block.h: Fix comment typos.
7840 * bb-reorder.c: Likewise.
7841 * c-format.c: Likewise.
7842 * cfgcleanup.c: Likewise.
7843 * cfghooks.h: Likewise.
7844 * cfgloop.c: Likewise.
7845 * cfgloopmanip.c: Likewise.
7846 * cfgrtl.c: Likewise.
7847 * cgraph.h: Likewise.
7848 * cgraphunit.c: Likewise.
7849 * combine.c: Likewise.
7850 * convert.c: Likewise.
7851 * dbxout.c: Likewise.
7854 * diagnostic.c: Likewise.
7855 * dwarf2out.c: Likewise.
7856 * et-forest.h: Likewise.
7858 * fold-const.c: Likewise.
7859 * function.h: Likewise.
7860 * gcov-io.h: Likewise.
7863 * genautomata.c: Likewise.
7864 * ggc-common.c: Likewise.
7865 * ggc-page.c: Likewise.
7866 * loop-unroll.c: Likewise.
7867 * loop-unswitch.c: Likewise.
7869 * mips-tfile.c: Likewise.
7870 * optabs.c: Likewise.
7871 * ra-build.c: Likewise.
7872 * ra-colorize.c: Likewise.
7873 * ra-rewrite.c: Likewise.
7875 * regmove.c: Likewise.
7876 * reload.c: Likewise.
7877 * rtlanal.c: Likewise.
7878 * sched-ebb.c: Likewise.
7879 * sched-int.h: Likewise.
7880 * sched-vis.c: Likewise.
7881 * sreal.c: Likewise.
7882 * ssa-ccp.c: Likewise.
7884 * toplev.c: Likewise.
7885 * tree-inline.c: Likewise.
7886 * value-prof.c: Likewise.
7887 * value-prof.h: Likewise.
7889 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
7891 * rtl.h (emit_line_note_after): Remove.
7892 (emit_note_copy_after, emit_note_copy): New.
7893 * emit-rtl.c (reorder_insns_with_line_notes): Replace
7894 emit_line_note_after with emit_note_copy_after.
7895 (emit_insn_after_with_line_notes): Likewise.
7896 (emit_line_note_after): Kill.
7897 (emit_note_copy_after): New.
7898 (emit_note_copy): New.
7899 * function.c (emit_return_into_block): Use emit_note_copy_after.
7900 (thread_prologue_and_epilogue_insns): Likewise.
7901 * integrate.c (expand_inline_function): Use emit_note_copy.
7902 (copy_insn_list): Likewise.
7903 * unroll.c (copy_loop_body): Likewise.
7904 * cfglayout.c (duplicate_insn_chain): Likewise.
7906 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
7908 * c-tree.h (define_label): Replace filename and lineno arguments
7910 * c-decl.c (poplevel): Adjust define_label call.
7911 (pop_label_level): Likewise.
7912 (define_label): Replace filename and lineno arguments with a
7914 (store_parm_decls): Use DECL_SOURCE_LOCATION.
7915 * c-parse.in (label): Adjust define_label call.
7917 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
7919 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
7920 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
7921 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
7922 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
7923 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
7925 2003-07-01 Andreas Jaeger <aj@suse.de>
7927 * final.c: Convert prototypes to ISO C90.
7929 * flags.h: Likewise.
7930 * gcov-io.c: Likewise.
7931 * gcov-io.h: Likewise.
7933 See ChangeLog.9 for earlier changes.