1 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
3 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
4 * config/mmix/mmix.c: Convert functions to ISO C90.
5 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
7 (mmix_get_hard_reg_initial_val): Tweak section head comment.
9 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
11 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
13 2003-07-16 Jakub Jelinek <jakub@redhat.com>
15 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
16 (uw_update_context_1): Use it.
17 * config/rs6000/rs6000.c (insn_after_throw): Remove.
18 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
19 in parent frame if _Unwind_* called directly instead of through
21 (rs6000_emit_eh_toc_restore): Remove.
22 (rs6000_emit_prologue): Update stack pointer before doing any saving
23 if current_function_calls_eh_return. Generate unwind info for $r2.
24 (rs6000_emit_epilogue): Restore stack pointer after doing all
25 restoring if current_function_calls_eh_return. Restore $r2.
26 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
27 * config/rs6000/rs6000.md (eh_return): Remove call to
28 rs6000_emit_eh_toc_restore.
29 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
30 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
32 2003-07-15 Jakub Jelinek <jakub@redhat.com>
34 * expr.c (emit_block_move): Don't move anything if size is const 0.
35 (clear_storage): Test against const0_rtx instead of comparing INTVAL
38 2003-07-15 David S. Miller <davem@redhat.com>
40 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
41 emit nop if the last real insn is CALL_INSN.
43 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
45 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
47 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
49 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
51 * config/i386/winnt.c (associated_type): Artificial methods are not
52 affected by the import/export status of their class unless they are
54 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
56 * config/i386/winnt.c: Fix GCC copyright comment.
58 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
61 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
62 not recursing on hard error.
63 (diagnostic_for_decl): Likewise.
64 * diagnostic.def: Rearrange.
66 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
68 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
69 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
71 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
72 Richard Henderson <rth@redhat.com>
74 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
75 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
76 (_Unwind_SetGR): Likewise.
77 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
78 (Unwind_SpTmp): New typedef.
79 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
80 (uw_update_context): Use _Unwind_GetPtr.
81 (init_dwarf_reg_size_table): Move above uw_init_context_1.
82 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
83 Use _Unwind_SetSpColumn.
84 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
87 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
89 * c.opt: Document more options.
90 * toplev.c (documented_lang_options): Remove all local help strings.
92 2003-07-15 Mark Mitchell <mark@codesourcery.com>
95 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
98 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
101 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
102 swap comparison operands if doing so would generate an
105 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
107 PR optimization/11320
108 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
109 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
110 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
111 current_sched_info->compute_jump_reg_dependencies. Record which
112 registers are used and which registers are set by the jump.
113 Clear deps->reg_conditional_sets after a barrier.
114 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
115 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
116 (init_deps): Initialize reg_conditional_sets.
117 (free_deps): Clear reg_conditional_sets.
118 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
119 Mark registers live on entry of the fallthrough block and conditionally
120 set as set by the jump. Mark registers live on entry of non-fallthrough
121 blocks as used by the jump.
122 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
123 Mark new parameters as unused.
125 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
127 * doc/invoke.texi: Resync MIPS -march documentation.
129 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
131 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
132 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
133 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
134 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
135 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
136 (mips_issue_rate): Handle PROCESSOR_R9000.
137 (mips_use_dfa_pipeline_interface): Likewise.
138 * config/mips/9000.md: New file.
139 * config/mips/mips.md: Include it.
140 (define_attr cpu): Add r9000.
141 (mulsi3_mult3): Use "mul" for rm9000 code.
143 2003-07-15 Stan Cox <scox@redhat.com>
145 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
146 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
147 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
148 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
149 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
150 (mips_issue_rate): Handle PROCESSOR_R7000.
151 (mips_use_dfa_pipeline_interface): Likewise.
152 * config/mips/7000.md: New file.
153 * config/mips/mips.md: Include it.
154 (define_attr cpu): Add r7000.
155 (mulsi3_mult3): Use "mul" for rm7000 code.
157 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
159 * config/mips/mips.md (define_attr type): Add condmove. Use it for
160 the conditional move patterns.
161 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
162 Check for condmove type.
163 (ir_vr54_arith): Add move type.
164 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
165 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
167 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
169 * c-opts.c (print_help): Remove.
170 (c_common_handle_option): Don't handle --help.
171 * c.opt: Document some options.
173 * opts.c (print_filtered_help): New.
174 (print_help): Use it.
176 2003-07-14 Geoffrey Keating <geoffk@apple.com>
178 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
179 * tree.c: (build_common_tree_nodes_2): Likewise.
180 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
181 (V4DF_type_node): New.
183 * c-opts.c (push_command_line_include): Don't free deferred_opts,
185 (finish_options): Reset init_cursor.
187 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
189 * expr.c (expand_assignment): Remove an unused argument
191 * expr.h: Update the prototype.
192 * function.c: Update the callers.
195 2003-07-14 Mark Mitchell <mark@codesourcery.com>
198 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
201 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
203 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
204 with __cplusplus, not "we must use the C++ compiler's type"
205 * fixinc/inclhack.def (void_null): Note that Interix needs this.
206 * fixinc/fixincl.x: Regenerate.
208 2003-07-14 Geoffrey Keating <geoffk@apple.com>
210 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
211 and unseen_objects from the global data before calling
212 __deregister_frame_info_bases.
213 (examine_objects): Insert objects into the seen_objects list,
215 (_Unwind_Find_FDE): Always unlock the global object lists, even if
216 we couldn't allocate a data structure to put in it.
218 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
219 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
220 (SET_TYPE_PROTOCOL_LIST): New.
221 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
222 (get_object_reference): Likewise.
224 Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
226 * cfglayout.c (locator_file): Break out from ....
227 (insn_file): ... here.
228 (locator_line): Break out from ....
229 (insn_line): ... here.
230 * rtl.h (locator_file, locator_line): Declare.
231 (final_start_function): Set proper line/file info.
233 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
235 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
236 handled by pp_c_cast_expression.
238 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
240 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
241 allocate 32768 bytes of stack. Use addition rather than subtraction
242 when a single insn is enough.
243 * config/mips/mips.md: Remove insns and splitters for subtracting
245 (subsi3): Only accept register operands.
246 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
247 (subdi3_internal_3, subsi3_internal_2): Likewise.
248 (casesi): Use expand_binop to subtract the lower bound.
250 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
252 * config/mips/mips.c (mips_in_small_data_p): Don't handle
253 TARGET_MIPS16 specially.
255 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
257 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
258 mips_output_aligned_bss.
259 * config/mips/linux.h: Likewise.
260 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
261 * config/mips/mips.c (mips_output_aligned_bss): New function.
263 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
264 * config/mips/elf64.h: Likewise.
266 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
267 mips_declare_object_name.
268 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
269 * config/mips/elf64.h: As for elf.h.
270 * config/mips/iris6.h: Likewise.
271 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
272 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
273 do...while (0) block.
274 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
275 (mips_finish_declare_object): Declare.
276 * config/mips/mips.c (mips_declare_object_name): New function.
277 (mips_finish_declare_object): New function.
279 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
280 * config/mips/linux.h: Likewise.
282 * config/mips/mips.c (inside_function): Delete.
283 (file_in_function_warning, ignore_line_number): Delete.
284 (mips_output_filename): Don't warn about changing filenames within
286 (mips_output_lineno): Update accordingly.
287 (mips_output_function_prologue): Don't reset the deleted variables.
288 * config/mips/mips.h (inside_function): Delete.
289 (file_in_function_warning, ignore_line_number): Delete.
291 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
292 * config/mips/elf64.h: Likewise.
293 * config/mips/openbsd.h: Likewise.
294 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
295 * config/mips/linux.h: Likewise.
296 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
297 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
299 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
300 to the list of include files when using gas.
301 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
302 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
303 * config/mips/elf64.h: Likewise.
304 * config/mips/iris5.h: Likewise.
305 * config/mips/linux.h: Likewise.
306 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
307 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
308 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
309 * config/mips/sdb.h: ...this new file.
311 2003-07-14 Douglas Rupp <rupp@gnat.com>
313 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
314 argument to getcwd; use fixed buffer instead.
316 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
318 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
319 * fixinc/fixinc.wrap: Delete.
321 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
323 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
326 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
328 * ggc-page.c (struct globals): Add new fields to keep track of the
329 total allocated memory and overhead.
330 (ggc_print_statistics): Print them.
331 (ggc_alloc): Keep track of the total allocated memory and the
334 * tree.c (dump_tree_statistics): Increase spacing.
335 (enum tree_node_kind): Move to ...
336 * tree.h (enum tree_node_kind): ... here.
337 (tree_node_counts, tree_node_sizes): Declare.
339 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
341 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
343 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
345 PR optimization/11440
346 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
349 2003-07-14 Alan Modra <amodra@bigpond.net.au>
351 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
352 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
353 (emit_group_load, emit_group_store): Adjust declarations.
354 Remove most occurrences of #ifdef TREE_CODE.
355 * expr.c (emit_group_load): Add "type" param, and use
356 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
357 aligned accesses if !SLOW_UNALIGNED_ACCESS.
358 (emit_group_store): Likewise.
359 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
360 emit_group_load and emit_group_store calls.
361 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
362 BLOCK_REG_PADDING to determine whether we need endian_correction.
363 (load_register_parameters): Localize vars. Handle shifting of
364 small values to the correct end of regs. Adjust emit_group_load
366 (expand_call, emit_library_call_value_1): Adjust emit_group_load
367 and emit_group_store calls.
368 * function.c (assign_parms): Set mem alignment for stack slots.
369 Adjust emit_group_store call. Store values at the "wrong" end
370 of regs to the stack. Use BLOCK_REG_PADDING.
371 (locate_and_pad_parm): Save where_pad.
372 (expand_function_end): Adjust emit_group_load call.
373 * stmt.c (expand_value_return): Adjust emit_group_load call.
374 * Makefile.in (calls.o): Depend on $(OPTABS_H).
375 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
376 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
377 (MUST_PASS_IN_STACK): Define.
378 (BLOCK_REG_PADDING): Define.
379 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
380 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
381 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
382 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
383 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
385 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
387 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
389 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
391 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
392 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
394 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
397 * toplev.c: Don't cut off option names.
399 2003-07-13 Andreas Jaeger <aj@suse.de>
401 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
402 to integer of different size.
404 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
406 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
409 2003-07-13 Andreas Jaeger <aj@suse.de>
411 * config.gcc: Add pmmintrin.h for x86_64-*-*.
413 2003-07-13 Zack Weinberg <zack@codesourcery.com>
415 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
416 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
417 list. Move these all together down by cpplib.
419 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
420 definition of CPPCHAR_SIGNED_T.
422 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
423 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
424 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
426 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
427 * cppinit.c (cpp_create_reader): Likewise.
429 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
430 * cpptrad.c: Likewise. All callers changed.
431 * cpplib.c: All callers changed.
432 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
433 * hashtable.h: Define GTY(x) to nothing here too.
435 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
437 * stor-layout.c (compute_record_mode): Remove very obsolete test
438 that forces BLKmode for records with fields crossing word boundary.
440 2003-07-13 Zack Weinberg <zack@codesourcery.com>
442 * Makefile.in: Remove orphan reference to acconfig.h.
444 2003-07-13 Andreas Jaeger <aj@suse.de>
446 * cgraphunit.c: Convert prototypes to ISO C90.
448 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
450 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
452 * fixinc/fixincl.x: Rebuild.
454 2003-07-12 Zack Weinberg <zack@codesourcery.com>
456 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
457 i?86-*-*. Use correct name of cache variable.
458 * configure: Regenerate.
460 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
462 * config/alpha/alpha.c: Fix comment typos.
463 * config/alpha/alpha.md: Likewise.
464 * config/arm/arm.c: Likewise.
465 * config/arm/arm.md: Likewise.
466 * config/arm/lib1funcs.asm: Likewise.
467 * config/avr/avr.md: Likewise.
468 * config/arm/README-interworking: Fix typos.
470 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
472 * c-format.c: Fix comment formatting.
473 * c-typeck.c: Likewise.
474 * coverage.c: Likewise.
475 * cppcharset.c: Likewise.
476 * cpplib.c: Likewise.
477 * dbxout.c: Likewise.
478 * gcov-io.h: Likewise.
479 * toplev.c: Likewise.
481 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
483 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
486 2003-07-12 Zack Weinberg <zack@codesourcery.com>
488 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
489 uses three-argument AC_DEFINE so no acconfig.h entries are
491 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
492 which contains the GAS version number as a scaled integer.
493 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
494 ability to check for ELF assembler.
495 (gcc_GAS_CHECK_FEATURE): New macro.
496 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
497 assembler feature checks using gcc_GAS_CHECK_FEATURE.
498 Use three-argument AC_DEFINE everywhere.
499 * acconfig.h: Deleted.
500 * config.in, configure: Regenerate.
502 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
504 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
506 * fixinc/fixincl.x: Regenerate.
508 * fixinc/inclhack.def (gnu_types): Improve comment.
510 2003-07-12 Andreas Jaeger <aj@suse.de>
512 * fp-test.c (main): Use ISO C90 prototype.
514 * version.c: Remove unneded include of ansidecl.h.
516 * cgraph.h: Convert prototypes to ISO C90.
517 * cgraph.c: Likewise.
518 * fix-header.c: Likewise.
520 * protoize.c: Likewise.
522 Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
524 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
527 Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
528 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
530 * cgraph.c (cgraph_max_uid): New global variable.
531 (cgraph_node): Set uid field.
532 (create_edge): Keep inline flags consistent.
533 (dump_cgraph): Dump more info.
534 * cgraph.h (struct cgraph_local_info): Remove inline_many and
535 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
536 (struct cgraph_global_info): Add insns, calls, cloned_times,
538 (struct cgraph_node): Add uid.
539 (struct cgraph_edge): Add inline_call.
540 (cgraph_max_uid, cgraph_inline_p): Declare.
541 * cgraph.c: Include params.h and fibheap.h
542 (cgraph_mark_functions_to_inline_once): Kill.
543 (INSNS_PER_CALL): New constant.
544 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
546 (cgraph_finalize_function): Do not analyze inlining.
547 (cgraph_finalize_compilation_unit): Set inlining attributes.
548 (cgraph_mark_functions_to_output): More consistency checks.
549 (cgraph_optimize_function): Set current_function_decl to NULL.
550 (cgraph_expand_function): Use new inline flags.
551 (cgraph_postorder): Expand from cgraph_expand_functions.
552 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
553 (cgraph_inlined_into, cgraph_inlined_callees,
554 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
555 cgraph_mark_inline, cgraph_check_inline_limits,
556 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
557 cgraph_decide_inlining, cgraph_inline_p): New functions.
558 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
559 PARAM_INLINE_UNIT_GROWTH): New parameters.
560 * tree-inline.c (struct inline_data): New field current_decl.
561 (expand_call_inline): Avoid forward declarations; use
562 inlinable_function_p.
563 (optimize_inline_calls): Set id.current_decl.
565 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
567 * configure.in: Remove wrongly added definition of
569 * configure: Regenerate.
571 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
573 * rtl.def (NOTE): Do not use padding.
575 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
577 * doc/install.tex: Update required binutils for i?86-*-linux*
579 2003-07-11 Richard Henderson <rth@redhat.com>
581 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
583 2003-07-11 Mark Mitchell <mark@codesourcery.com>
585 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
586 TRANSLATION_UNIT_DECL as top_level.
588 2003-07-11 Jakub Jelinek <jakub@redhat.com>
590 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
591 then fall back to cmpstrM.
592 * builtins.c (expand_builtin_memcmp): Likewise.
593 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
594 (s390_expand_cmpmem): ... this.
595 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
596 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
597 from cmpstr* patterns. Rename call to s390_expand_cmpstr
598 to s390_expand_cmpmem.
599 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
600 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
602 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
604 * doc/md.texi (cmpstrM): Describe as String compare insn, not
608 2003-07-11 Loren James Rittle <ljrittle@acm.org>
610 * config/i386/freebsd.h (SET_ASM_OP): Remove.
611 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
612 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
613 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
615 2003-07-11 Richard Henderson <rth@redhat.com>
617 * function.c (assign_parms): Don't recombine complex args if
618 fnargs is unchanged from orig_fnargs.
619 (split_complex_args): Return args without complex before copying.
620 Re-layout the modified parameters.
622 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
624 * regclass.c (choose_hard_reg_mode): Add third argument.
626 * rtl.h (choose_hard_reg_mode): Update declaration.
627 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
628 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
630 2003-07-11 Geoffrey Keating <geoffk@apple.com>
632 * c-decl.c (finish_decl): Handle 'used' here...
633 * cgraphunit.c (cgraph_finalize_function): ... and here ...
634 * c-common.c: (handle_used_attribute): ... not here.
636 * configure.in (onstep): Support --enable-intermodule.
637 * Makefile.in (OBJS-common): New.
640 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
642 (libbackend.a): Support @onestep@.
644 * configure: Regenerate.
646 * c-common.h (c_reset_state): New prototype.
647 (c_parse_file): New prototype.
648 (finish_file): Move prototype from c-tree.h.
649 * c-decl.c: Include <hashtab.h>.
650 (builtin_decls): New.
651 (current_file_decl): New.
652 (duplicate_decls): Add extra parameter. Change all callers. Don't
653 output duplicate common symbols.
654 (link_hash_hash): New.
656 (poplevel): Handle popping of the top level.
657 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
658 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
659 (pushdecl_top_level): Likewise.
660 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
661 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
662 (finish_decl): Handle TRANSLATION_UNIT_DECL.
663 (merge_translation_unit_decls): New.
664 (c_write_global_declarations): New.
665 (c_reset_state): New.
666 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
667 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
668 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
669 TRANSLATION_UNIT_DECL.
670 (c_objc_common_finish_file): Call merge_translation_unit_decls.
671 * c-opts.c (in_fnames): Rename from in_fname.
672 (c_common_decode_option): Handle multiple input filenames.
673 (c_common_post_options): Likewise.
674 (c_common_parse_file): Likewise; also, call c_parse_file rather than
676 * c-parse.in: Move cleanup code to c_parse_file.
677 (free_parser_stacks): Move contents to c_parse_file.
679 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
681 (C_DECL_FILE_SCOPE): New.
682 (finish_file): Move prototype to c-common.h.
683 (merge_translation_unit_decls): New prototype.
684 (comptypes): Add extra parameter to prototype.
685 (c_write_global_declarations): New prototype.
686 * c-typeck.c (tagged_types_tu_compatible_p): New.
687 (function_types_compatible_p): Add extra parameter, change all callers.
688 (type_lists_compatible_p): Likewise.
689 (comptypes): Likewise.
690 (struct tagged_tu_seen): New.
691 (tagged_tu_seen_base): New.
692 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
693 (c_mark_addressable): Remove #if 0 code.
694 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
695 comment explaining why it shouldn't have to.
696 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
698 * cppinit.c (cpp_read_next_file): New.
699 (cpp_read_main_file): Use it.
700 * cpplib.c (undefine_macros): New.
701 (cpp_undef_all): New.
702 * cpplib.h (cpp_read_next_file): Prototype.
703 (cpp_undef_all): Prototype.
704 * langhooks-def.h (write_global_declarations): Remove prototype.
705 * toplev.h (write_global_declarations): Add prototype.
706 * tree.c (decl_type_context): Use switch statement, handle
707 TRANSLATION_UNIT_DECL.
708 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
709 (TRANSLATION_UNIT_DECL): New kind of tree.
710 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
711 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
712 * doc/invoke.texi: Make attempt to document new functionality.
714 2003-05-19 Per Bothner <bothner@apple.com>
716 * gcc.c (combine_inputs): New.
717 (process_command): Set combine_inputs.
718 (do_spec_1): Handle combine_inputs.
721 2003-07-10 James E Wilson <wilson@tuliptree.org>
724 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
725 loop_insn_emit_before.
726 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
728 2003-07-10 Zack Weinberg <zack@codesourcery.com>
730 * cppcharset.c: Fix comment.
731 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
732 (EILSEQ): #define to EINVAL if not already defined.
733 (convert_using_iconv): #if out when !HAVE_ICONV.
734 (init_iconv_desc): Handle !HAVE_ICONV here...
735 (cpp_init_iconv): ...not here.
737 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
739 * common.opt: More --help messages.
740 * opts.c (print_help): Use puts().
741 * toplev.c (f_options): Remove help text.
742 (display_help): Don't dump f_options.
744 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
746 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
747 Move i?86-*-interix* to the don't-fix list.
748 * fixinc/fixinc.interix: Delete with extreme prejudice.
750 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
753 * doc/install.texi: Document requirements for ia64-*-hpux* target.
755 2003-07-10 Roger Sayle <roger@eyesopen.com>
757 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
759 2003-07-10 Zack Weinberg <zack@codesourcery.com>
761 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
762 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
763 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
764 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
765 convert_no_conversion, convert_using_iconv): New functions.
766 (APPLY_CONVERSION): New macro.
767 (struct conversion, conversion_tab): New data structure.
768 (init_iconv_desc): Check conversion_tab for a custom conversion
769 primitive before trying to use iconv.
770 (convert_cset): Deleted.
771 (cpp_init_iconv): Use UTF- terminology, not UCS-.
772 (_cpp_destroy_iconv): Update to match.
773 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
774 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
775 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
776 (_cpp_interpret_string_notranslate): New function, moved here
779 * cpphash.h (convert_f, struct cset_converter): New types.
780 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
781 are now struct cset_converter, not bare iconv_t.
783 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
786 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
788 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
789 to opts.sh command line.
790 * opts.sh: Write to temporary files with a move-if-change at the end.
792 2003-07-10 Denis Chertykov <denisc@overta.ru>
793 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
795 * combine.c (gen_binary): Handle the CLOBBER rtx and
796 don't build a binary operation with it.
798 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
800 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
801 store_killed_after, store_killed_before): Keep track of the correct
802 dependency function to use.
804 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
805 * toplev.c (do_compile): Don't try to open dump files before
806 lang_dependent_init initializes dump_base_name.
808 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
810 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
812 * config/frv/frv.c (frv_expand_builtin): Likewise.
813 * config/sh/sh.c (sh_media_init_builtins): Likewise.
815 2003-07-09 Mark Mitchell <mark@codesourcery.com>
818 * doc/invoke.texi (C++ Dialect Options): Change documentation of
821 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
823 * tm.texi (RETURN_ADDR_OFFSET): Document.
825 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
827 * gcov-io.h: Update documentation.
828 (GCOV_UNSIGNED2STRING): New.
829 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
830 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
831 GCOV_TAG_SUMMARY_LENGTH): Adjust.
832 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
833 GCOV_TAG_COUNTER_NUM): New.
834 (GCOV_BLOCK_SIZE): Number of words.
835 (gcov_var): Adjust buffer type.
836 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
837 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
838 count, not byte count.
839 (gcov_open): Adjust overread init.
840 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
841 gcov_write_string, gcov_write_tag, gcov_write_length,
842 gcov_write_tag_length): Adjust.
843 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
844 (gcov_sync, gcov_seek): Adjust.
845 * gcov-dump.c (print_usage): Show gcc version only.
846 (dump_file): Use GCOV_UNSIGNED2STRING.
847 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
848 * gcov.c (print_version): Show gcc version only.
849 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
850 GCOV_TAG_*_NUM macros.
851 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
852 GCOV_TAG_COUNTER_LENGTH.
853 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
854 Use GCOV_TAG_COUNTER_NUM.
855 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
856 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
858 2003-07-10 Andreas Schwab <schwab@suse.de>
860 * gcov-dump.c (dump_file): Fix missing address operator.
862 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
865 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
867 (fold_single_bit_test): If sign_bit_p() fails, assume that the
868 bit being tested is not a sign bit.
870 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
872 * config/h8300/h8300.md (a peephole2): New.
874 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
876 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
877 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
878 from ld-linux.so.2 to ld.so.1.
879 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
880 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
881 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
883 (LIB_SPEC): Add -rpath-link if !static.
884 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
885 * config/mn10300/mn10300.c (mn10300_protect_label): New
887 * config/mn10300/linux.h (PRINT_OPERAND,
888 PRINT_OPERAND_ADDRESS): Set it during their execution.
889 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
890 mn10300_protect_label is set.
891 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
893 (LIB_SPEC, STARTFILE_SPEC): Define.
894 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
895 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
896 FLOAT_BIT_ORDER_MISMATCH.
897 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
898 * config.gcc (am33_2.0-*-linux*): Added.
899 * config/mn10300/linux.h: New.
900 * config/mn10300/t-linux: New.
902 2003-07-10 Andreas Jaeger <aj@suse.de>
904 * fold-const.c: Properly wrap prototypes.
906 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
908 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
909 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
911 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
912 * config/mn10300/mn10300.h: GTY-declare it.
913 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
914 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
915 prototype. Use incoming RTL argument.
916 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
917 * config/mn10300/mn10300.md (int_label): Move C statements...
918 (GOTaddr2picreg): ... here.
919 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
920 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
921 * config/mn10300/mn10300.c (mn10300_encode_section_info):
922 ... here. New function.
923 (TARGET_ENCODE_SECTION_INFO): Define to it.
924 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
925 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
927 (mn10300_loadPC): Define as insn splittable after reload.
928 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
929 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
930 be defined in .rodata even in PIC, now that the assembler
932 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
933 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
934 symbol take an underscore prefix.
935 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
936 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
937 legitimize_pic_address): Declare.
938 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
939 the PIC register as fixed.
940 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
941 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
943 (LEGITIMATE_PIC_OPERAND_P): Define.
944 (PIC_OFFSET_TABLE_REGNUM): Define.
945 (GOT_SYMBOL_NAME): Define.
946 (SYMBOLIC_CONST_P): Define.
947 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
949 (MN10300_GLOBAL_P): Test it.
950 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
951 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
952 * config/mn10300/mn10300.c (print_operand): Handle unspec.
953 (expand_prologue): Set PIC register.
954 (call_address_operand): Don't match SYMBOL_REFs in PIC.
955 (legitimize_address): Call legitimize_pic_address.
956 (legitimize_pic_address): New fn.
957 (legitimate_pic_operand_p): New fn.
958 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
959 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
960 UNSPEC_PLT): New constants.
961 (pop_pic_reg): New insn.
962 (movsi): Adjust non-PIC addresses.
963 (builtin_setjmp_receiver): Restore the PIC register.
965 (call): Adjust non-PIC addresses.
966 (int_label, GOTaddr2picreg): New expands.
967 (am33_loadPC): New insn.
968 (mn10300_loadPC): New expand.
969 (call_next_insn): New insn.
970 (add_GOT_to_pic_reg): New expand.
971 (symGOT2reg, symGOT2reg_i): New expands.
972 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
973 (sym2PIC, sym2PLT): New expands.
975 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
977 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
978 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
979 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
980 to flag_unsafe_math_optimizations.
981 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
982 * config/mn10300/mn10300.c (expand_prologue): Mark
983 FP-register-saving insns as frame-related.
984 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
985 * config/mn10300/mn10300.c
986 (mn10300_get_live_callee_saved_regs): Don't search past
987 LAST_EXTENDED_REGNUM.
988 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
989 * config/mn10300/mn10300.md: Remove excessive line breaks from
990 `@' output patterns that were accounted as additional
992 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
993 Re-introduce changes accidentally removed in Richard Sandiford's
995 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
996 Re-instate am33-2 lost in merge from net GCC.
997 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
998 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
999 floating-point registers.
1000 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
1001 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
1002 pessimizations that had gone in on 2000-05-08.
1003 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
1004 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
1005 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
1006 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
1008 * (movhi): Likewise.
1009 * (movsi): Likewise.
1010 * (movsf): Likewise.
1011 * (movdi): Likewise.
1012 * (movdf): Likewise.
1013 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
1014 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
1015 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
1016 (expand_prologue, expand_epilogue): Save and restore FP regs.
1017 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
1018 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
1019 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
1020 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
1021 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
1023 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1024 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
1025 Discourage the two-argument, longer opcodes.
1026 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
1028 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
1029 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
1030 * config/mn10300/mn10300.md (cmpsf): New pattern.
1031 (branch): Test mdep.fpCC and output fbCC.
1032 * config/mn10300/mn10300.c (print_operand): Output conditions.
1033 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
1034 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
1035 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
1036 mulsf3, divsf3): Use the `F' constraint for FP values.
1037 * config/mn10300/mn10300.c (const_1f_operand): New function.
1038 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
1039 * config/mn10300/mn10300.md (sqrtsf2): New expand.
1040 (rsqrtsf2): New insn.
1041 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
1042 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
1044 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
1045 * config/mn10300/mn10300.md (abssf2, negdf2): On
1046 TARGET_AM33_2, expand to...
1047 (abssf2_am33_2, negdf2_am33_2): New insns.
1048 (addsf3, subsf3, mulsf3, divsf3): Likewise.
1049 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
1050 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
1051 movdi, movdf): Added FP regs.
1052 * invoke.texi (-mam33-2, -mno-am33-2): Document.
1053 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1054 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
1056 (REGNO_AM33_2_FP_P): Renamed to...
1057 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
1058 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1059 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1060 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
1061 regs from GENERAL_REGS.
1062 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1063 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
1064 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
1065 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
1066 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
1067 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
1069 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
1070 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
1071 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
1072 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
1073 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
1074 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
1075 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
1076 AM33/2.0 floating-point registers.
1077 (CONDITIONAL_REGISTER_USAGE): Adjust.
1078 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
1079 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
1080 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
1081 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
1082 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
1083 (MULTILIB_DIRNAMES): Likewise.
1084 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
1085 `__AM33_2__' when `-mam33-2' is given.
1086 (TARGET_AM33_2): Define.
1087 (TARGET_SWITCHES): Adjust.
1088 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
1091 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
1093 * doc/install.texi: Add missing @.
1095 2003-07-09 Bob Wilson <bob.wilson@acm.org>
1097 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
1099 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
1102 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
1104 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
1107 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
1108 "x-crtfini.o" with "crtinit.o", "crtfini.o".
1110 * fixinc/inclhack.def (limits_ifndefs): Add select test.
1111 * fixinc/fixincl.x: Rebuild.
1113 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
1114 * fixinc/fixincl.x: Rebuild.
1116 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
1118 * doc/install.texi (Configuration): Document the valgrind option
1119 to --enable-checking.
1121 Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
1123 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
1125 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1127 * c-lex.c (cb_ident): Cast cstr.text to const char *.
1129 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
1131 * gcov-io.h: Update documentation.
1132 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
1134 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
1135 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
1136 (struct gcov_var): Change buffer's type. Add endian flag.
1137 (gcov_open): Remove mode in libgcov.
1138 (gcov_magic): Prototype.
1139 * gcov-io.c (from_file): New.
1140 (gcov_open): Clear endian flag.
1142 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
1144 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
1145 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
1146 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
1147 * gcov-iov.c (main): Correct cast.
1148 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
1150 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
1151 (coverage_init): Use GCOV_NOTE_SUFFIX.
1152 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
1153 Rename to gcov_version, and return flag.
1154 (gcov_exit): Use gcov_version.
1155 (__gcov_init): Use gcov_version.
1156 * Makefile.in (coverageexts): Update.
1157 * gcov.c (print_version): Remove endianness conversion.
1158 (create_file_names): Use GCOV_NOTE_SUFFIX.
1159 (read_graph_file): Use gcov_magic.
1160 (read_count_file): Likewise.
1161 * gcov-dump.c (dump_file): Remove endianness conversion, use
1164 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
1166 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
1168 * configure: Regenerated.
1169 * Makefile.in (ALL_CFLAGS): Correct its comment.
1171 2003-07-08 Mark Mitchell <mark@codesourcery.com>
1173 * fold-const.c (make_range): Do not access operand 1 for a
1174 zero-operand operator.
1176 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
1178 * toplev.c (warn_dummy, W_options): Die.
1179 (display_help): Don't print W_options.
1180 * common.opt: Add W_options help from toplev.c.
1182 2003-07-09 Andreas Jaeger <aj@suse.de>
1184 * opts.c (wrap_help): Only pass int arguments as arguments to
1185 printf's '*' modifier. Change argument of function.
1187 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
1189 * doc/invoke.texi: Fix misspelling of "@item".
1191 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
1193 * config/i386/i386.md: Remove an old comment about
1196 Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
1198 * cgraph.c (cgraph_node_name): New function.
1199 (dump_cgraph): Use it.
1200 * cgraph.h (cgraph_dump_file): Declare.
1201 (cgraph_node_name): Declare.
1202 * cgraphunit.c: Include timevar.h
1203 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
1204 (cgraph_optimize_function): Use TV_INTEGRATION.
1205 (cgraph_mark_local_functions): reorganize dumps.
1206 (cgraph_mark_functions_to_inline_once): Likewise.
1207 (cgraph_optimize): Likewise; use timevar.
1208 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
1209 * toplev.c (dump_file_index): Add DFI_cgraph.
1210 (dump_file_info): Likewise.
1211 (cgraph_dump_file): New global variable.
1212 (do_compile): Open and close cgraph dump.
1213 * invoke.texi (-d): Document new flag; renumber.
1215 2003-07-08 Roger Sayle <roger@eyesopen.com>
1218 * calls.c (emit_call_1): Don't bother popping the arguments off of
1219 the stack after a noreturn function call; The adjustment is dead.
1220 (expand_call): Likewise.
1222 2003-07-08 Geoffrey Keating <geoffk@apple.com>
1224 * expr.c (MOVE_MAX_PIECES): Move from here...
1225 * defaults.h (MOVE_MAX_PIECES): ... to here.
1227 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
1229 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
1231 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1233 * genattr.c (internal_dfa_insn_code): Don't prototype.
1234 * genattrtab.c (attr_desc): Add `static_p' field.
1235 (expand_units): Make blockage range and ready cost functions
1237 (write_attr_get): Don't add extern prototypes in C file. Mark
1238 static functions as appropriate.
1239 (find_attr, make_internal_attr): Initialize static_p.
1240 * genattrtab.h (ATTR_STATIC): New macro.
1241 * genautomata.c (output_internal_reset_func): Mark output function
1243 (make_internal_dfa_insn_code_attr): Mark output function as static.
1245 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1247 * genattrtab.h: Add new macros for attr `special' flags.
1248 * genattrtab.c (attr_desc): Reorder/resize fields better.
1249 Use attr `special' macros in all calls to make_internal_attr.
1250 * genautomata.c: Likewise.
1252 Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
1254 * c-common.c (c_estimate_num_insns_1): New static function.
1255 (c_estimate_num_insns): New global function.
1256 * c-common.h (DECL_NUM_STMTS): Rename to...
1257 (DECL_ESTIMATED_INSNS): ... this.
1258 (c_estimate_num_insns): Declare.
1259 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
1260 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
1261 * c-semantics.c (add_stmt): Do not account statements.
1262 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
1264 * langhooks.h (lang_hooks_for_tree_inlining): Add
1266 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
1268 (max-inline-insns): set to 300.
1269 (min-inline-insns): set to 10.
1270 * tree-inline.c (struct inline_data): Rename inlined_stmts to
1272 (INSNS_PER_STMT): Kill.
1273 (inlinable_function_p): Compute and store body size.
1274 (expand_call_inline): Likewise.
1275 (optimize_inline_calls): Likewise.
1277 2003-07-08 James E Wilson <wilson@tuliptree.org>
1280 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
1281 loop over new variable t2 instead of t.
1283 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
1286 * config/i386/winnt.c: Replace use of error(), warning() with
1287 error_with_decl(), warning_with_decl(), throughout.
1289 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
1291 * opts.c (wrap_help): Use unsigned int, not size_t.
1293 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
1295 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
1296 as .file/.loc directives are incompatible with linker relaxation.
1298 2003-07-08 Zack Weinberg <zack@codesourcery.com>
1300 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
1301 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
1302 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
1303 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
1304 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
1305 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
1306 Escape { and } characters which are not part of range expressions.
1307 * fixinc/fixincl.x: Regenerate.
1308 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
1310 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
1313 * tree-inline.c (find_alloca_call): Use
1314 walk_tree_without_duplicates, instead of walk_tree.
1315 (find_builtin_longjmp_call): Likewise.
1316 * c-objc-common.c (c_cannot_inline_fn): Likewise.
1317 * c-semantics.c (find_reachable_label): Likewise.
1319 2003-07-08 Jakub Jelinek <jakub@redhat.com>
1322 * config/i386/i386.c (ix86_check_movabs): New function.
1323 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
1324 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
1325 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
1327 2003-07-08 Chris Demetriou <cgd@broadcom.com>
1329 * Makefile.in (install-po): Cope with empty CATALOGS.
1331 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
1333 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1334 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
1335 (SECTION_FUNCTION_TEMPLATE): Delete.
1336 * config/mips/elf.h: As for elf64.h.
1337 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
1338 * config/mips/linux.h: As for elf.h
1339 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1340 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
1341 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
1342 of in_sdata from current_section_name and current_section_flags.
1343 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
1344 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
1345 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
1346 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
1347 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
1348 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
1349 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
1350 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
1351 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
1352 (override_options): Remove setting of MASK_GPOPT.
1353 (mips_output_external): Use mips_in_small_data_p to check whether a
1354 symbol needs an .extern directive. Don't emit such directives for
1355 TARGET_EXPLICIT_RELOCS.
1356 (mips_declare_object): Update accordingly.
1357 (mips_select_rtx_section): Call named_section rather than
1359 (mips_select_section): Use default_elf_section_section for everything
1360 except .text string constants.
1361 (mips_in_small_data_p): New function.
1362 (mips_encode_section_info): Remove small data handling.
1363 (mips_unique_section): Delete.
1364 (iris6_section_type_flags): New function.
1365 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
1367 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1370 * pa.md: Disparage all mtsar constraints.
1371 (extzv, extv, insv): Don't fail on length of {32|64}.
1373 2003-07-08 Zack Weinberg <zack@codesourcery.com>
1375 * system.h: Poison MAP_CHARACTER.
1376 * config/i370/i370-protos.h (mvs_map_char): Delete.
1377 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
1378 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
1379 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
1381 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
1383 * toplev.c (randomize): Correct call to time().
1385 2003-07-08 Jakub Jelinek <jakub@redhat.com>
1387 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
1388 REG_EQUIV notes as well.
1390 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
1392 * doc/md.texi: Fix the description of addmodecc.
1394 2003-07-07 Zack Weinberg <zack@codesourcery.com>
1396 * Makefile.in (top_builddir): Set to "..", not ".".
1397 (INTLLIBS, INTLDEPS): Delete.
1398 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
1399 (LIBDEPS): Add $(LIBICONV_DEP).
1400 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
1401 (INCLUDES): Replace -I../intl with @INCINTL@.
1402 ($(top_builddir)/intl/libintl.a): Delete rule.
1403 (stage2-start, stage3-start, stage4-start, stageprofile-start,
1404 stagefeedback-start): Use $$ for variable to be evaluated by
1406 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
1407 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
1408 * aclocal.m4: sinclude ../config/progtest.m4. Add
1409 contents of lcmessage.m4 from gettext distro.
1410 * configure.in: Check for wchar.h and setlocale. Set
1411 LIBICONV_DEP to the empty string and substitute it.
1412 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
1413 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
1414 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
1415 in $LIBINTL, to avoid linking it twice.
1416 * configure, config.in: Regenerate.
1418 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
1420 * fixinc/mkfixinc.sh: Remove winnt support.
1421 * fixinc/fixinc.winnt: Delete with extreme prejudice.
1423 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
1425 * Makefile.in: Update.
1426 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
1427 * c.opt: Update documentation.
1428 * common.opt: Add some help text.
1429 * opts.c: Include intl.h.
1430 (wrap_help, print_help): New.
1431 (find_opt, handle_option, common_handle_option): opt_text now
1432 contains the '-'. Use print_help to output help.
1433 * opts.h (struct cl_option): New member "help".
1434 * opts.sh: Update to handle help text output and to prepend
1436 * toplev.c (display_help): Remove some help text.
1438 2003-07-07 David Edelsohn <edelsohn@gnu.org>
1439 Fariborz Jahanian <fjahanian@apple.com>
1441 * configure.in: Test for PowerPC mfcr field support in assembler.
1442 * config.in, configure: Regenderated.
1444 * config/rs6000/power4.md: Add mfcrf reservation.
1445 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
1446 * config/rs6000/rs6000.c (mfcr_operation): Define.
1447 (print_operand): Add 'Q' case for mfcrf.
1448 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
1449 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
1450 (movcc_internal1): Emit optional field operand for mfcr and set
1451 "type" attribute appropriately.
1452 (mfcr SCC): Likewise.
1453 (movesi_from_cr_one): New.
1455 2003-07-07 Roger Sayle <roger@eyesopen.com>
1457 * config/i386/i386.md: Correct check-in of incorrect version.
1459 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1461 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
1462 adjacent stdio calls.
1463 * c-decl.c (c_print_identifier): Likewise.
1464 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
1465 * print-rtl.c (print_rtx): Likewise.
1466 * print-tree.c (print_node_brief, print_node): Likewise.
1467 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
1469 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
1470 * config.in, configure: Regenerated.
1472 2003-07-07 Roger Sayle <roger@eyesopen.com>
1475 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
1476 Changed to define_expand patterns that copy operand[1] to prevent
1477 it from being clobbered before emitting an atan2?f3_1 insn.
1478 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
1479 patterns that actually specify the behaviour of x87's FPATAN.
1481 2003-07-07 Jakub Jelinek <jakub@redhat.com>
1483 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
1484 clearing of SYMBOL_FLAG_LOCAL bit.
1485 If vcall_offset fits into signed 16-bit immediate, use
1486 one instruction for both addition and load.
1488 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
1490 * opts.c (common_handle_option): Correct handling of the
1491 -falign- switches that do and don't take an argument.
1493 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1495 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
1497 (pushhi1_h8300hs): Likewise.
1499 2003-07-07 Andreas Jaeger <aj@suse.de>
1501 * genextract.c: Convert remaining prototypes to ISO C90.
1503 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
1504 * fold-const.c (fold_single_bit_test): Likewise.
1505 * diagnostic.c (default_diagnostic_finalizer): Likewise.
1506 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
1508 * gengtype.c (write_array): Generate ISO C90 prototypes.
1510 * genflags.c (gen_proto): Generate ISO C90 prototypes.
1512 2003-07-07 Roger Sayle <roger@eyesopen.com>
1514 PR optimization/11059
1515 * expr.c (can_store_by_pieces): Return true if length is zero.
1516 (store_by_pieces): If length is zero and endp is two, abort,
1517 othwerise, if length is zero and endp is not two, return "to".
1518 (clear_by_pieces): Do nothing if length is zero.
1519 (clear_storage): Do nothing if length is zero.
1520 (store_constructor): Simplify code when size is zero, or the
1521 target has already been cleared. This avoids emitting a
1522 blockage instruction when initializing empty structures.
1524 2003-07-07 Andreas Jaeger <aj@suse.de>
1526 * mips-tfile.c: Convert prototypes to ISO C90.
1527 * mips-tdump.c: Convert prototypes to ISO C90.
1529 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
1531 * rtl.h (emit_line_note): Take a location_t.
1532 (emit_line_note_force): Remove.
1533 (set_file_and_line_for_statement): Take a location_t.
1534 * tree.g (emit_line_note): Take a location_t.
1535 * emit-rtl.c (emit_line_note): Take a location_t.
1536 (emit_line_note_force): Remove.
1537 * function.c (init_function_start): Adjust emit_line_note call.
1538 (expand_function_end): Use force_next_line_note, not
1539 emit_line_note_force.
1540 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
1541 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
1542 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
1543 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
1544 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
1545 genrtl_continue_stmt, genrtl_switch_stmt,
1546 genrtl_asm_stmt): Likewise.
1547 * expr.c (expand_expr): Likewise.
1548 * integrate.c (expand_inline_function): Likewise.
1549 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
1550 (expand_decl_init): Adjust emit_line_note call.
1552 2003-07-07 Dale Johannesen <dalej@apple.com>
1554 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
1556 2003-07-07 Andreas Jaeger <aj@suse.de>
1558 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
1559 * config/i386/i386.c: Likewise.
1561 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1563 * config/h8300/h8300.md: Use gen_int_mode instead of
1564 GEN_INT (trunc_int_for_mode (...)).
1566 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
1568 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
1569 2 bytes and then subtract 2 from the stack pointer.
1570 (pushhi1_h8300hs): Likewise.
1572 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
1574 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
1576 * configure: Regenerated.
1577 * Makefile.in: Remove extraneous comment.
1578 * toplev.c (randomize): Protect against potential multiple calls.
1579 * doc/invoke.texi (-frandom-seed): Document use for in coverage
1582 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1583 Eric Botcazou <ebotcazou@libertysurf.fr>
1585 PR optimization/11198
1586 * alias.c (objects_must_conflict_p): Return 1 if the types have
1587 the same alias set, not if the alias sets only conflict.
1589 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
1591 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
1592 (convert_cset): Change inbuf to type ICONV_CONST char.
1593 * Makefile.in (LIBS): Add LIBICONV.
1595 * doc/invoke.texi (-falign-functions): Document that
1596 when n is zero then a machine-dependent default is used.
1597 (-falign-labels): Document that when n is zero then a
1598 machine-dependent default is used and that -falign-labels =1
1599 is equivalent to -fno-align-labels.
1600 (-falign-loops): Likewise.
1601 (-falign-jumps): Likewise.
1603 2003-07-06 Art Haas <ahaas@airmail.net>
1605 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
1608 2003-07-06 James E Wilson <wilson@tuliptree.org>
1610 PR optimization/9812
1611 * rtl.h (mem_for_const_double): Delete prototype.
1612 * varasm.c (mem_for_const_double): Delete function.
1613 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
1614 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
1615 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
1616 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
1617 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
1618 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
1619 comment about confused support for XFmode constants.
1621 Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
1623 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
1625 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
1627 * config/h8300/h8300.c: Fix comment typos.
1628 * config/h8300/h8300.md: Likewise.
1629 * config/i386/athlon.md: Likewise.
1630 * config/i386/i386.c: Likewise.
1631 * config/i386/pentium.md: Likewise.
1632 * config/ia64/ia64.c: Likewise.
1633 * config/ia64/itanium1.md: Likewise.
1634 * config/ia64/itanium2.md: Likewise.
1635 * config/m32r/m32r.md: Likewise.
1636 * config/m68hc11/m68hc11.c: Likewise.
1637 * config/mcore/mcore.c: Likewise.
1638 * config/mips/sr71k.md: Likewise.
1639 * config/mips/t-iris5-as: Likewise.
1640 * config/mmix/mmix.h: Likewise.
1641 * config/ns32k/ns32k.h: Likewise.
1642 * config/ns32k/NOTES: Fix a typo.
1644 2003-07-06 Andreas Jaeger <aj@suse.de>
1646 * stmt.c: Convert remaining prototypes to ISO C90.
1647 * cfglayout.c: Likewise.
1648 * dbxout.c: Likewise.
1650 * genemit.c: Likewise.
1652 * basic-block.h: Convert prototypes to ISO C90.
1653 * c-parse.in: Likewise.
1654 * c-pragma.h: Likewise.
1655 * c-typeck.c: Likewise.
1656 * cfghooks.h: Likewise.
1657 * cfgloopanal.c: Likewise.
1658 * dbxout.h: Likewise.
1659 * debug.h: Likewise.
1660 * dwarf2asm.h: Likewise.
1662 * gengtype-lex.l: Likewise.
1663 * sched-int.h: Likewise.
1664 * timevar.c: Likewise.
1666 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
1668 * c-common.h (c_comon_handle_filename,
1669 c_common_missing_arguement): New.
1670 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1671 LANG_HOOKS_MISSING_ARGUMENT): New.
1672 * c-opts.c (missing_arg): Rename c_common_missing_argument,
1673 update to be an appropriate langhook.
1674 (c_common_handle_option): Don't handle filenames.
1675 (c_common_handle_filename): New.
1676 * hooks.c (hook_void_constcharptr,
1677 hook_bool_constcharptr_size_t_false): New.
1678 * hooks.h (hook_void_constcharptr,
1679 hook_bool_constcharptr_size_t_false): New.
1680 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
1681 LANG_HOOKS_MISSING_ARGUMENT): New.
1682 (LANG_HOOKS_INITIALIZER): Update.
1683 * langhooks.h (struct lang_hooks): Add handle_filename and
1685 * opts.c (handle_option): Don't handle filenames here, but ...
1686 (handle_options): ... here.
1687 (common_handle_option): Don't handle missing arguments here.
1688 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
1689 LANG_HOOKS_MISSING_ARGUMENT): New.
1691 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
1693 * Makfile.in: Remove traces of mbchar.
1694 * c-parse.in (MULTIBYTE_CHARS): Remove.
1695 * config.in (MULTIBYTE_CHARS): Remove.
1696 * configure: Remove --enable-mbchar.
1697 * configure.in: Remove --enable-mbchar.
1698 * mbchar.c, mbchar.h: Remove.
1699 * system.h: Poison MULTIBYTE_CHARS.
1700 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
1701 * config/linux.h (MULTIBYTE_CHARS): Remove.
1702 * config/svr4.h (MULTIBYTE_CHARS): Remove.
1703 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
1705 2003-07-06 Andreas Jaeger <aj@suse.de>
1707 * varray.c (varray_check_failed): Fix typo.
1709 * unroll.c: Convert prototypes to ISO C90.
1710 * varasm.c: Likewise.
1711 * varray.c: Likewise.
1712 * varray.h: Likewise.
1713 * vmsdbgout.c: Likewise.
1714 * xcoffout.c: Likewise.
1715 * xcoffout.h: Likewise.
1717 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1719 * gcov-io.h: Add a local time stamp.
1720 (struct gcov_info): Add stamp field.
1721 (gcov_truncate): New.
1722 * coverage.c (read_counts_file): Skip the stamp.
1723 (coverage_begin_output): Write the stamp.
1724 (build_gcov_info): Declare and init the stamp.
1725 (coverage_finish): Only unlink data file, if stamp is zero.
1726 * gcov-dump.c (dump_file): Dump the stamp.
1727 * gcov.c (bbg_stamp): New.
1728 (release_structures): Clear bbg_stamp.
1729 (read_graph_file): Read stamp.
1730 (read_count_file): Check stamp.
1731 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
1733 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1735 * tree.h (default_flag_random_seed): Remove.
1736 * toplev.h (local_tick): Declare.
1737 * tree.c (flag_random_seed, default_flag_random_seed): Move to
1739 (append_random_chars): Don't call default_flag_random_seed.
1740 * toplev.c (flag_random_seed): Define here. Set local_tick.
1741 (local_tick): Define.
1742 (randomize): New, moved from tree.c.
1743 (print_switch_values): Adjust.
1744 (toplev_main): Call randomize.
1746 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
1748 * tree.h (crc32_string): Declare.
1749 * tree.c (append_random_chars): Remove.
1750 (crc32_string): New.
1751 (get_file_function_name_long): Use crc32_string here.
1753 2003-07-06 Andreas Jaeger <aj@suse.de>
1755 * gcc.c: Convert prototypes to ISO C90.
1757 * gcov-dump.c: Likewise.
1758 * gcov-iov.c: Likewise.
1760 * genattrtab.h: Likewise.
1762 * global.c: Likewise.
1763 * graph.c: Likewise.
1764 * graph.h: Likewise.
1765 * hosthooks.h: Likewise.
1766 * hooks.h: Likewise.
1767 * hooks.c: Likewise.
1768 * hashtable.h: Likewise.
1769 * hashtable.c: Likewise.
1770 * haifa-sched.c: Likewise.
1771 * integrate.h: Likewise.
1772 * integrate.c: Likewise.
1773 * input.h: Likewise.
1774 * ifcvt.c: Likewise.
1776 * langhooks-def.h: Likewise. Add extern to prototypes.
1777 * langhooks.c: Likewise.
1778 * langhooks.h: Likewise.
1780 * local-alloc.c: Likewise.
1781 * loop-init.c: Likewise.
1782 * loop-unroll.c: Likewise.
1783 * loop-unswitch.c: Likewise.
1785 * loop.h: Likewise. Add extern to prototypes.
1786 * machmode.h: Likewise.
1788 * mbchar.c: Likewise.
1789 * mbchar.h: Likewise.
1790 * mkdeps.c: Likewise.
1791 * mkdeps.h: Likewise.
1792 * optabs.c: Likewise.
1793 * optabs.h: Likewise.
1794 * output.h: Likewise.
1795 * gccspec.c: Likwise.
1796 * postreload.c: Likewise.
1797 * prefix.c: Likewise.
1798 * prefix.h: Likewise.
1799 * print-rtl.c: Likewise.
1800 * print-tree.c: Likewise.
1801 * profile.c: Likewise.
1802 * read-rtl.c: Likewise.
1805 * recog.c: Likewise.
1806 * recog.h: Likewise.
1807 * reg-stack.c: Likewise.
1808 * regclass.c: Likewise.
1809 * regmove.c: Likewise.
1810 * regrename.c: Likewise.
1812 * reload.c: Likewise.
1813 * reload.h: Likewise.
1814 * reload1.c: Likewise.
1815 * reorg.c: Likewise.
1816 * resource.c: Likewise.
1817 * resource.h: Likewise.
1818 * rtl-error.c: Likewise.
1821 * rtlanal.c: Likewise.
1822 * sbitmap.c: Likewise.
1823 * sbitmap.h: Likewise.
1824 * scan-decls.c: Likewise.
1826 * sched-deps.c: Likewise.
1827 * sched-ebb.c: Likewise.
1828 * sched-int.h: Likewise.
1829 * sched-rgn.c: Likewise.
1830 * sched-vis.c: Likewise.
1831 * sibcall.c: Likewise.
1832 * simplify-rtx.c: Likewise.
1833 * sreal.c: Likewise.
1834 * sreal.h: Likewise.
1835 * ssa-ccp.c: Likewise.
1836 * ssa-dce.c: Likewise.
1839 * stack.h: Likewise.
1841 * stor-layout.c: Likewise.
1842 * stringpool.c: Likewise.
1843 * target.h: Likewise.
1844 * timevar.c: Likewise.
1845 * timevar.h: Likewise.
1846 * tlink.c: Likewise.
1847 * tracer.c: Likewise.
1848 * tree-inline.c: Likewise.
1849 * tree-inline.h: Likewise.
1853 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1855 * combine.c (nonzero_bits1): Fix a warning.
1857 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1859 * config/h8300/h8300.c (compute_mov_length): Correct the
1860 length of loading CONST0_RTX (SFmode).
1862 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
1864 * toplev.c (output_clean_symbol_name): Remove.
1865 * toplev.h (output_clean_symbol_name): Remove.
1866 * config/alpha/alpha.c (unicosmk_output_module_name): Use
1867 lbasename & clean_symbol_name.
1869 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1871 * ggc.h: Follow spelling conventions.
1872 * config/i386/i386.c: Likewise.
1873 * config/i386/winnt.c: Likewise.
1874 * config/rs6000/rs6000.c: Likewise.
1876 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
1878 * bt-load.c: Fix comment typos.
1879 * c-incpath.c: Likewise.
1881 * cfgcleanup.c: Likewise.
1882 * cfgloop.h: Likewise.
1883 * cfgloopmanip.c: Likewise.
1884 * cfgrtl.c: Likewise.
1885 * diagnostic.h: Likewise.
1886 * dwarfout.c: Likewise.
1887 * emit-rtl.c: Likewise.
1888 * et-forest.c: Likewise.
1889 * et-forest.h: Likewise.
1892 * genattr.c: Likewise.
1894 * langhooks.h: Likewise.
1895 * local-alloc.c: Likewise.
1896 * loop-unroll.c: Likewise.
1897 * loop-unswitch.c: Likewise.
1898 * ra-build.c: Likewise.
1899 * regclass.c: Likewise.
1900 * regmove.c: Likewise.
1901 * rtl.def: Likewise.
1902 * rtlanal.c: Likewise.
1903 * sched-ebb.c: Likewise.
1904 * sched-rgn.c: Likewise.
1905 * simplify-rtx.c: Likewise.
1907 * tracer.c: Likewise.
1910 2003-07-05 Zack Weinberg <zack@codesourcery.com>
1912 * cppcharset.c: Use the correct return type for the fallback iconv
1915 Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1917 Blame to Jan Hubicka <jh@suse.cz>
1918 * cfglayout.c (record_effective_endpoints): Split insns before
1919 first basic block correctly.
1921 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1923 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
1924 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
1925 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
1927 2003-07-05 Andreas Jaeger <aj@suse.de>
1929 * genattrtab.c (write_attr_get): Revert part of last patch to
1930 always write out a prototype.
1932 * genemit.c (gen_split): Readd lost unused attributes in last
1935 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1937 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
1938 different from header.
1940 2003-07-05 Andreas Schwab <schwab@suse.de>
1942 * config/m68k/m68k.c: Remove code protected by CRDS.
1943 * config/m68k/m68k.md: Likewise.
1945 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
1948 * c-opts.c (permit_fortran_options): New.
1949 (c_common_init_options): Accept fortran front end options if
1950 it looks like we might be preprocessing Fortran.
1951 (c_common_handle_option): Don't reject switch if permit_fotran_options.
1953 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1955 * genattr.c (internal_dfa_insn_code): Output prototype.
1956 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
1957 * genautomata.c: Likewise.
1958 * genconditions.c: Likewise.
1959 * genemit.c: Likewise.
1960 * genextract.c: Likewise.
1961 * gengenrtl.c: Likewise.
1962 * gengtype.c: Likewise.
1963 * genopinit.c: Likewise.
1964 * genoutput.c: Likewise.
1965 * genpeep.c: Likewise.
1966 * genrecog.c: Likewise.
1968 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1970 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
1971 (struct cpp_options): Add narrow_charset, wide_charset,
1972 bytes_big_endian fields. Remove EBCDIC field.
1973 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
1975 * cpphash.h: Include <iconv.h> if we have it, otherwise
1976 provide a dummy definition of iconv_t.
1977 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
1978 (_cpp_valid_ucn): Update prototype.
1979 (_cpp_destroy_iconv): New prototype.
1981 * doc/cpp.texi: Document character set handling.
1982 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
1983 * doc/extend.texi: Delete entire section on multiline strings.
1984 Rewrite section on __FUNCTION__ etc now that these are
1987 * cppucnid.tab, cppucnid.pl: New files.
1988 * cppucnid.h: New generated file.
1989 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
1990 (iconv_open, iconv, iconv_close): Provide dummy definitions
1992 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
1993 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
1994 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
1995 cpp_interpret_string, narrow_str_to_charconst,
1996 wide_str_to_charconst): New.
1997 (ucn_valid_in_identifier): Use a binary search through the
1998 ucnranges table defined in cppucnid.h, not a long chain of if
2000 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
2001 character names are only valid in C++ and C99" to a warning.
2002 Issue the "meaning of \[uU] is different in traditional C"
2003 warning here. Take care not to let iconv see an invalid UCS
2004 value if we get a malformed UCN. Issue an error if we don't
2006 (cpp_interpret_charconst): Moved here from cpplex.c. Use
2007 cpp_interpret_string to do the heavy lifting.
2009 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
2010 narrow_charset, wide_charset fields of options structure.
2011 (cpp_destroy): Call _cpp_destroy_iconv.
2012 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
2013 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
2014 (cpp_interpret_charconst): Moved to cppcharset.c.
2015 * cpplib.c (dequote_string): Delete.
2016 (interpret_string_notranslate): New.
2017 (do_line, do_linemarker): Use interpret_string_notranslate.
2019 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
2021 * c-common.c (fname_string, combine_strings): Delete.
2022 * c-common.h (fname_string, combine_strings): Delete prototypes.
2023 * c-lex.c (ignore_escape_flag): Delete.
2024 (cb_ident): Use cpp_interpret_string, not lex_string.
2025 (get_nonpadding_token): New function.
2026 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
2027 Adjust calls to lex_string. Don't write *value twice.
2028 (lex_string): Now handles string constant concatenation.
2029 Most of the work handed off to cpp_interpret_string.
2030 Call fix_string_type here.
2031 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
2032 FUNC_NAME, throughout.
2033 (OBJC_STRING): New token type.
2034 (primary:STRING): No need to call fix_string_type here.
2035 (primary:objc_string): Make that OBJC_STRING.
2036 (objc_string nonterminal): Delete.
2037 (yylexname): Delete code to handle fake string constants.
2038 (yylexstring): Delete entirely.
2039 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
2040 to handle CPP_ATSIGN.
2042 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
2043 * c-opts.c (missing_arg, c_common_handle_option): Handle
2044 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
2045 (c_common_init): Set cpp_opts->bytes_big_endian, not
2046 cpp_opts->EBCDIC. Call cpp_init_iconv.
2047 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
2048 (TARGET_EBCDIC): Delete default definition.
2050 * objc/objc-act.c (build_objc_string_object): No need to
2051 handle string constant concatenation.
2053 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
2055 * doc/install.texi: Fix typos.
2056 * doc/invoke.texi: Likewise.
2057 * doc/tm.texi: Likewise.
2059 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
2061 * config/pa/fptr.c: Fix comment typos.
2062 * config/pa/pa-64.h: Likewise.
2063 * config/pa/pa.c: Likewise.
2064 * config/pa/pa.h: Likewise.
2065 * config/rs6000/603.md: Likewise.
2066 * config/rs6000/7xx.md: Likewise.
2067 * config/rs6000/darwin.h: Likewise.
2068 * config/rs6000/freebsd.h: Likewise.
2069 * config/rs6000/rs6000.c: Likewise.
2070 * config/rs6000/rs6000.md: Likewise.
2071 * config/rs6000/spe.h: Likewise.
2073 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
2075 * config/s390/2064.md: Change GNU CC to GCC.
2076 * config/s390/2084.md: Likewise.
2077 * config/s390/fixdfdi.h: Likewise.
2078 * config/s390/linux.h: Likewise.
2079 * config/s390/s390-modes.def: Likewise.
2080 * config/s390/s390-protos.h: Likewise.
2081 * config/s390/s390.c: Likewise.
2082 * config/s390/s390.h: Likewise.
2083 * config/s390/s390.md: Likewise.
2084 * config/s390/s390x.h: Likewise.
2086 2003-07-04 Jeff Law <law@redhat.com>
2089 * expr.c (do_store_flag): Pass in the correct result type
2090 when calling fold_single_bit_test.
2091 * fold-const.c (fold_single_bit_test): Use result_type for the
2092 result when folding a sign bit test.
2094 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
2096 * opts.c (common_handle_options): Negate sense of -falign- switches.
2098 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2100 * Makefile.in: Replace PWD with PWD_COMMAND.
2102 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2104 * cfgloopanal.c (count_strange_loop_iterations): New static function.
2105 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
2106 Handle strange loops.
2108 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
2110 * install.texi: Even the g77 manpage is derived from
2111 the full g77 manual.
2113 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2115 * ABOUT-NLS: Delete.
2116 * intl: Delete entire directory.
2117 * aclocal.m4: Include ../config/gettext.m4. Delete
2118 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
2119 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
2120 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
2121 Remove intl/Makefile from all_outputs.
2122 * configure, config.in: Regenerate.
2123 * Makefile.in: Expunge all references to intl subdirectory.
2124 Add -I../intl to INCLUDES.
2125 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
2127 2003-07-04 Roger Sayle <roger@eyesopen.com>
2129 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
2130 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
2132 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
2134 PR c++/5287, PR c++/7910, PR c++/11021
2135 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
2136 dllimport attribute if function is defined at declaration, but
2137 report error instead. Likewise for dllimport'd variable
2138 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
2139 declared within functions, Report error if dllimport or dllexport
2140 symbol is not global.
2141 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
2142 if defined after declaration or if inlined. Don't allow definition
2143 of static data members of C++ classes. Don't dllimport virtual
2145 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
2146 (i386_pe_mark_dllimport): Remove unnecessary checks.
2147 (i386_pe_encode_section_info): Warn if the dllimport attribute
2148 and symbol prefix have been instantiated and then overridden.
2150 * doc/extend.texi: Document dllimport and dllexport attributes.
2152 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
2154 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
2156 * config/kaos.h (CPP_PREDEFINES): Delete.
2157 (TARGET_OS_CPP_BUILTINS): New.
2159 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2161 * c-aux-info.c: Include toplev.h after c-tree.h.
2162 * c-common.c: Likewise.
2163 (GCC_DIAG_STYLE): Undef.
2164 * c-semantics.c (GCC_DIAG_STYLE): Define.
2165 * c-tree.h (GCC_DIAG_STYLE): Likewise.
2166 * diagnostic.h (inform): Move prototype to toplev.h.
2167 * jump.c: Include diagnostic.h before toplev.h.
2168 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
2169 (warning, error, fatal_error, pedwarn, sorry, inform,
2170 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
2172 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2174 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
2175 at all if edge is not specified.
2176 (can_copy_bbs_p, copy_bbs): New.
2177 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
2178 * cfgloop.c (get_loop_body): Comment more precisely.
2179 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
2180 (scale_bbs_frequencies): Fix comment typo.
2181 (can_duplicate_loop_p): Use can_copy_bbs_p.
2182 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
2184 2003-07-03 Devang Patel <dpatel@apple.com>
2186 * c-opts.c (c_common_parse_file): Remove extra
2187 debug_hooks->start_source_file call.
2189 2003-07-03 Roger Sayle <roger@eyesopen.com>
2191 * real.c (real_trunc, real_floor, real_ceil): New functions
2192 to implement trunc, floor and ceil respectively.
2193 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
2194 * builtins.c (integer_valued_real_p): New function to test if
2195 a floating point expression has an integer valued result.
2196 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
2197 foo(x) where foo is an integer rounding function. Similarly,
2198 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
2199 (double)(int)x when both foo and bar are integer rounding
2200 functions and we don't need to honor errno.
2201 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
2202 New functions to fold trunc, floor and ceil.
2203 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
2204 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
2205 to fold BUILT_IN_CEIL*.
2206 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
2207 the remaining integer rounding functions.
2209 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
2211 * config/sparc/sparc.c (function_arg_partial_nregs): Use
2212 SPARC_INT_ARG_MAX to determine where to split unnamed
2213 complex FP arguments.
2215 Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
2217 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
2218 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
2219 (merge_blocks_move_predecessor_nojumps,
2220 merge_blocks_move_successor_nojumps): Use merge_blocks.
2221 (try_optimize_cfg): Use merge_blocks_move.
2222 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
2223 (merge_blocks_nomove): Rename to rtl_merge_blocks.
2224 (cfg_layout_create_basic_block): New.
2225 (rtl_can_merge_blocks): New.
2226 (cfg_layout_split_block): Do not alloc aux by hand.
2227 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
2229 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
2230 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
2231 * cfgloopmanip.c (loop_split_edge_with): Likewise.
2232 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
2234 * basic-block.h (basic_block_def): Add field 'rbi'.
2235 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
2236 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
2237 * cfg.c (entry_exit_blocks): Add new field.
2238 * cfglayout.c: Include alloc-pool.h;
2239 (cfg_layout_pool): New.
2240 (record_effective_endpoints, fixup_reorder_chain,
2241 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
2243 (cfg_layout_initialize_rbi): New function.
2244 (cfg_layout_initialize): Use it.
2245 (cfg_layout_finalize): Clear rbi fields.
2246 * cfglayout.h (RBI): Kill.
2247 (cfg_layout_initialize_rbi): Declare.
2248 * cfgloopmanip.c (copy_bbs): Use rbi.
2249 (record_exit_edges): Likewise.
2250 (duplicate_loop_to_header_edge): Likewise.
2251 * cfgrtl.c (cfg_layout_create_basic_block): Use
2252 cfg_layout_initialize_rbi.
2253 (cfg_layout_split_block): Use rbi.
2254 (cfg_layout_delete_block): Likewise.
2255 * loop-init.c (loop_optimizer_finalize): Likewise.
2256 * loop-unswitch.c (unswitch_loop): Likewise.
2257 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
2259 * cfgrtl.c: Update comments.
2260 (try_redirect_by_replacing_jump): New argument.
2261 (redirect_branch_edge): Break out from ...
2262 (rtl_redirect_edge_and_branch): ... this one.
2263 (update_cfg_after_block_merging): Break out from ...
2264 (rtl_merge_blocks): ... this one.
2265 (cfg_layout_split_edge): New.
2266 (cfg_layout_merge_blocks): New.
2267 (cfg_layout_can_merge_blocks_p): New.
2268 (cfg_layout_redirect_edge_and_branch): Reorganize.
2269 (cfg_layout_rtl_cfg_hooks): Fill in.
2270 (cfg_layout_delete_block): Kill barriers.
2271 * cfganal.c (can_fallthru): Deal with exit blocks
2272 * cfglayout.c (cfg_layout_function_header): New function
2273 (record_effective_endpoints): Record function header.
2274 (fixup_reorder_chain): Fixup dead jumptables; place header
2276 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
2277 * bb-reorder.c (cfg_layout_initialize): Update call.
2278 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
2279 edges in cfglayout mode.
2280 * cfglayout.c (cleanup_unconditional_jumps): Kill.
2281 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
2282 * cfglayout.h (cfg_layout_initialize): Update prototype.
2283 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
2284 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
2285 * flow.c (propagate_block): Do not crash when basic block ends
2286 by first insn in the chain.
2287 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
2289 * tracer.c (tracer): Update call of cfg_layout_initialize.
2291 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2293 * Makefile.in: Use dependency variables in lieu of explicit
2296 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
2298 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
2299 * tree.h: ...to here.
2301 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
2303 * config/s390/2064.md: Fix comment typos.
2304 * config/s390/2084.md: Likewise.
2305 * config/s390/s390.c: Likewise.
2306 * config/s390/s390.md: Likewise.
2307 * config/sh/sh.c: Likewise.
2308 * config/sh/sh.h: Likewise.
2309 * config/sh/sh.md: Likewise.
2310 * config/sparc/sparc.c: Likewise.
2311 * config/sparc/sparc.h: Likewise.
2312 * config/sparc/sparc.md: Likewise.
2313 * config/stormy16/stormy16.c: Likewise.
2314 * config/stormy16/stormy16.h: Likewise.
2315 * config/stormy16/stormy-abi: Fix a typo.
2317 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
2319 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
2321 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2323 * config/mips/mips.h (save_argv): Delete.
2325 2003-07-03 Roger Sayle <roger@eyesopen.com>
2328 * fold-const.c (extract_muldiv_1): There's nothing that can be done
2329 if the expression is a SAVE_EXPR.
2331 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
2333 * config/m32r/m32r.c: Fix comment typos.
2334 * config/m68hc11/m68hc11.c: Likewise.
2335 * config/m68hc11/m68hc11.h: Likewise.
2336 * config/m68k/m68k.c: Likewise.
2337 * config/mcore/mcore.c: Likewise.
2338 * config/mcore/mcore.h: Likewise.
2339 * config/mcore/mcore.md: Likewise.
2340 * config/mips/mips.c: Likewise.
2341 * config/mips/mips.h: Likewise.
2342 * config/mips/mips.md: Likewise.
2343 * config/mips/netbsd.h: Likewise.
2344 * config/mn10300/mn10300.c: Likewise.
2346 2003-07-03 Andreas Schwab <schwab@suse.de>
2348 * dbxout.c (pending_bincls): Move decl down inside
2349 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
2351 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
2353 * rtl.h (NOTE_DATA): Refer to whole union.
2354 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
2356 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
2358 PR optimization/11381
2359 * simplify-rtx.c (simplify_relational_operation): Check that
2360 two equal operands have no side-effects before simplifying
2363 2003-07-02 Jeff Law <law@redhat.com>
2365 * expr.c (do_store_flag): Remove special case folding for
2366 single bit tests. Instead call back into the commonized folder
2368 * fold-const.c (fold_single_bit_test): New function, mostly
2369 extracted from do_store_flag, with an additional case extracted
2371 (fold): Call fold_single_bit_test appropriately.
2372 * tree.h (fold_single_bit_test): Prototype.
2374 2003-07-02 Zack Weinberg <zack@codesourcery.com>
2376 * system.h: Include filenames.h.
2377 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
2378 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
2379 define based on HAVE_DOS_BASED_FILE_SYSTEM.
2380 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
2381 * config/i386/xm-mingw32.h: Don't define
2382 HAVE_DOS_BASED_FILE_SYSTEM,
2383 DIR_SEPARATOR, or DIR_SEPARATOR_2.
2384 * doc/hostconfig.texi: Update to match.
2386 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
2387 config/i386/cygwin.h:
2388 Use IS_ABSOLUTE_PATH throughout.
2389 * gcc.c (DIR_UP): Delete, unused.
2390 * protoize.c (IS_SAME_PATH): Define in terms of
2392 (is_abspath): Delete.
2394 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
2396 * config/i386/emmintrin.h: Fix comment typos.
2397 * config/i386/i386.c: Likewise.
2398 * config/i386/i386.h: Likewise.
2399 * config/i386/sco5.h: Likewise.
2400 * config/ia64/ia64.c: Likewise.
2401 * config/ia64/itanium2.md: Likewise.
2403 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
2405 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
2407 (emit_bincl_stab): Same.
2408 (emit_pending_bincls): Same.
2410 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
2412 * config/h8300/h8300.c (compute_mov_length): Fix the length of
2413 loading CONST0_RTX (SFmode).
2414 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
2415 'G' to CONST0_RTX (SFmode).
2416 * config/h8300/h8300.md (movsf_h8300): Change the first
2418 (movsf_h8300h): Likewise.
2420 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
2422 * c-common.h (c_common_init_options): New prototype.
2423 * c-opts.c (deferred_size): Remove.
2424 (defer_opt): Array is now pre-allocated.
2425 (c_common_init_options): Pre-allocate deferred_opts. Make
2426 lang_flags unsigned.
2427 (push_command_line_options): Free deferred_opts.
2428 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
2429 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
2430 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
2431 * langhooks.h (struct lang_hooks): New prototype for init_options.
2432 * main.c (main): Cast argv.
2433 * opts.c (handle_option, handle_options): Update prototypes.
2434 (decode_options): save_argc, save_argv are not global. Constify.
2435 * opts.h (decode_options): New prototype.
2436 * toplev.c (general_init): New protoype.
2437 (save_argv): Make static.
2438 (save_argc): Remove.
2439 (print_switch_values, general_init): Constify.
2440 (toplev_main): Save argv.
2441 * toplev.h (toplev_main): Update prototype.
2442 (save_argc, save_argv): Remove.
2444 2003-07-02 David Edelsohn <edelsohn@gnu.org>
2446 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
2447 (emit_bincl_stab): Same.
2448 (emit_pending_bincls): Same.
2450 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
2453 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
2455 2003-07-02 Andreas Schwab <schwab@suse.de>
2457 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
2459 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
2461 PR optimization/11210
2462 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
2463 about the behaviour with regard to bitfields.
2464 * fold-const (decode_field_reference): Record outermost type in
2465 case the expression is a NOP. Strip all NOPs. Set the signedness
2466 to that of the outermost type (if any) when the bitsize is equal
2467 to the size of the type.
2469 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2471 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
2472 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
2473 (adddi3_internal_3, addsi3_internal_2): Likewise.
2475 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2477 * config/mips/mips.c (machine_function): Add new fields:
2478 ignore_hazard_length_p and all_noreorder_p.
2479 (mips_flag_delayed_branch): New variable.
2480 (override_options): Treat '/' as an operand punctuation character.
2481 Set up mips_flag_delayed_branch.
2482 (print_operand): Handle '/'.
2483 (mips_output_function_prologue): Put the whole function in
2484 .set noreorder and .set nomacro if all_noreorder_p is true.
2485 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
2486 (mips16_optimize_gp): Remove "first insn" parameter.
2487 (mips16_lay_out_constants): New function, split out from mips_reorg.
2488 (mips_avoid_hazard, mips_avoid_hazards): New functions.
2489 (mips_reorg): For mips16 code, call mips16_lay_out_constant
2490 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
2491 do delayed-branch scheduling followed by hazard detection.
2492 (mips_adjust_insn_length): Only account for hazards if
2493 !ignore_hazard_length_p.
2494 (mips_output_load_label): Add a nop to the o32 sequence if
2495 the target suffers from load delays.
2496 (mips_output_conditional_branch): Add %/ to the end of branches.
2497 (mips_output_division): Fill the branch delay slot with %#.
2498 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
2499 instructions. End all other %* branches with %/.
2500 (ffssi2, ffsdi2): Fix lengths.
2501 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
2502 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
2503 (fix_truncsfsi2_macro): Likewise.
2504 (mov_lwl): Set hazard to "none".
2505 (ashldi3_internal): Fill the branch delay slot with %#.
2506 (ashrdi3_internal, lshrdi3_internal): Likewise.
2507 (exception_receiver): Explicitly set $28.
2508 (hazard_nop): New pattern.
2510 Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
2512 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
2513 before calling tree_inlinable_function_p.
2515 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2517 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
2518 <internal/stdio_core.h> too.
2519 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
2520 <internal/wchar_core.h> too.
2521 Substitute va_list uses in inline definition.
2522 * fixinc/fixincl.x: Regenerate.
2524 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2526 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
2527 Undef before redefinition.
2528 (LABEL_AFTER_LOC): Likewise.
2529 (DEFAULT_SIGNED_CHAR): Likewise.
2530 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
2533 * config/mips/iris3.h: Remove, unused.
2534 * config/mips/iris4.h: Likewise.
2536 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
2538 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
2539 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
2542 * config/mips/iris5.h: Move explicit includes ...
2543 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
2545 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
2546 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
2549 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
2550 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
2553 * config/mips/iris6.h: Fix IRIX spelling.
2554 (MULTILIB_DEFAULTS): Undef before redefinition.
2556 * config/mips/iris6.h: Move explicit includes ...
2557 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
2559 Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
2561 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
2562 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
2563 Use next_needed field instead of aux to maintain the queue.
2564 * cgraph.h (cgraph_node): Add next_needed.
2565 (cgraph_varpool_node): Add next_needed; remove aux.
2566 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
2568 Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
2570 * cgraphunit.c (cgraph_finalize_function): Set finalized.
2571 (cgraph_finalize_function): Do not examine inlinablility.
2572 (cgraph_finalize_compilation_unit): Do it here.
2573 * cgraph.h (cgraph_local_info): Add finalized field.
2575 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2577 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
2578 (gt_pch_restore): Likewise.
2580 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2582 * config/alpha/alpha.c: Fix comment typos.
2583 * config/alpha/elf.h: Likewise.
2584 * config/arm/arm.c: Likewise.
2585 * config/arm/arm.h: Likewise.
2586 * config/arm/arm.md: Likewise.
2587 * config/arm/t-arm-coff: Likewise.
2588 * config/arm/t-strongarm-pe: Likewise.
2589 * config/arm/xscale-elf.h: Likewise.
2590 * config/avr/avr.h: Likewise.
2592 2003-07-01 Jeff Law <law@redhat.com>
2594 * stmt.c (any_pending_cleanups): Remove another redundant test.
2596 2003-07-01 David Edelsohn <edelsohn@gnu.org>
2597 J"orn Rennecke <joern.rennecke@superh.com>
2599 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
2602 2003-07-01 Devang Patel <dpatel@apple.com>
2604 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
2606 (struct dbx_file): New members - bincl_status, pending_bincl_name and
2608 (pending_bincls): New.
2609 (dbxout_init): Initialize new dbx_file members.
2610 (dbxout_start_source_file): Same.
2611 (emit_bincl_stab): New function.
2612 (emit_pending_bincls): Same.
2613 (emit_pending_bincls_if_required): Same.
2614 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
2616 (dbxout_begin_block): Emit pending BINCL stabs.
2617 (dbxout_end_block): Same.
2618 (dbxout_function_decl): Same.
2619 (dbxout_continue): Same.
2620 (dbxout_type): Same.
2621 (dbxout_class_name_qualifiers): Same.
2622 (dbxout_symbol): Same.
2623 (dbxout_symbol_location): Same.
2624 (dbxout_parms): Same.
2626 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
2629 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
2631 2003-07-01 Andreas Jaeger <aj@suse.de>
2633 * fold-const.c: Convert prototypes to ISO C90.
2634 * function.c: Likewise.
2635 * function.h: Likewise.
2637 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2639 * doc/contrib.texi: Fix typos.
2640 * doc/invoke.texi: Likewise.
2641 * doc/passes.texi: Likewise.
2642 * doc/sourcebuild.texi: Likewise.
2643 * doc/tm.texi: Likewise.
2645 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
2647 * basic-block.h: Fix comment typos.
2648 * bb-reorder.c: Likewise.
2649 * c-format.c: Likewise.
2650 * cfgcleanup.c: Likewise.
2651 * cfghooks.h: Likewise.
2652 * cfgloop.c: Likewise.
2653 * cfgloopmanip.c: Likewise.
2654 * cfgrtl.c: Likewise.
2655 * cgraph.h: Likewise.
2656 * cgraphunit.c: Likewise.
2657 * combine.c: Likewise.
2658 * convert.c: Likewise.
2659 * dbxout.c: Likewise.
2662 * diagnostic.c: Likewise.
2663 * dwarf2out.c: Likewise.
2664 * et-forest.h: Likewise.
2666 * fold-const.c: Likewise.
2667 * function.h: Likewise.
2668 * gcov-io.h: Likewise.
2671 * genautomata.c: Likewise.
2672 * ggc-common.c: Likewise.
2673 * ggc-page.c: Likewise.
2674 * loop-unroll.c: Likewise.
2675 * loop-unswitch.c: Likewise.
2677 * mips-tfile.c: Likewise.
2678 * optabs.c: Likewise.
2679 * ra-build.c: Likewise.
2680 * ra-colorize.c: Likewise.
2681 * ra-rewrite.c: Likewise.
2683 * regmove.c: Likewise.
2684 * reload.c: Likewise.
2685 * rtlanal.c: Likewise.
2686 * sched-ebb.c: Likewise.
2687 * sched-int.h: Likewise.
2688 * sched-vis.c: Likewise.
2689 * sreal.c: Likewise.
2690 * ssa-ccp.c: Likewise.
2692 * toplev.c: Likewise.
2693 * tree-inline.c: Likewise.
2694 * value-prof.c: Likewise.
2695 * value-prof.h: Likewise.
2697 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
2699 * rtl.h (emit_line_note_after): Remove.
2700 (emit_note_copy_after, emit_note_copy): New.
2701 * emit-rtl.c (reorder_insns_with_line_notes): Replace
2702 emit_line_note_after with emit_note_copy_after.
2703 (emit_insn_after_with_line_notes): Likewise.
2704 (emit_line_note_after): Kill.
2705 (emit_note_copy_after): New.
2706 (emit_note_copy): New.
2707 * function.c (emit_return_into_block): Use emit_note_copy_after.
2708 (thread_prologue_and_epilogue_insns): Likewise.
2709 * integrate.c (expand_inline_function): Use emit_note_copy.
2710 (copy_insn_list): Likewise.
2711 * unroll.c (copy_loop_body): Likewise.
2712 * cfglayout.c (duplicate_insn_chain): Likewise.
2714 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
2716 * c-tree.h (define_label): Replace filename and lineno arguments
2718 * c-decl.c (poplevel): Adjust define_label call.
2719 (pop_label_level): Likewise.
2720 (define_label): Replace filename and lineno arguments with a
2722 (store_parm_decls): Use DECL_SOURCE_LOCATION.
2723 * c-parse.in (label): Adjust define_label call.
2725 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
2727 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
2728 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
2729 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
2730 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
2731 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
2733 2003-07-01 Andreas Jaeger <aj@suse.de>
2735 * final.c: Convert prototypes to ISO C90.
2737 * flags.h: Likewise.
2738 * gcov-io.c: Likewise.
2739 * gcov-io.h: Likewise.
2741 See ChangeLog.9 for earlier changes.