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