1 2004-01-12 Geoffrey Keating <geoffk@apple.com>
3 * real.c: Update copyright date.
4 * emit-rtl.c: Likewise.
6 * dwarf2out.c: Likewise.
7 * config/rs6000/darwin-ldouble.c: Likewise.
8 * config/rs6000/rs6000.md: Likewise.
10 2004-01-12 David Edelsohn <edelsohn@gnu.org>
12 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
13 TFmode to SImode libfuncs.
15 2004-01-12 Roger Sayle <roger@eyesopen.com>
18 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
20 2004-01-12 Jan Hubicka <jh@suse.cz>
23 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
27 * cfgcleanup.c (label_is_jump_target_p): Move to...
28 * rtlanal.c (label_is_jump_target_p): ... here.
29 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
30 edges unified with branch edges.
32 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
34 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
35 high word of an integral CONST_DOUBLE.
37 2004-01-12 Paul Brook <paul@codesourcery.com>
39 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
41 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
44 * sh-protos.h (check_use_sfunc_addr): Declare.
45 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
46 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
48 2004-01-12 Jan Hubicka <jh@suse.cz>
50 * alias.c: Invlude varray.h
51 (alias_sets): Turn into varray.
52 (get_alias_set_entry): Use VARRAY; mark inline.
53 (mems_in_disjoint_alias_sets_p): Mark inline.
54 (record_alias_subset): Use varray.
55 (init_alias_once): Initialize varray.
56 (new_alias_set): Grow array.
57 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
59 2004-01-12 Jan Hubicka <jh@suse.cz>
61 Partial fix for PR opt/10776 II
62 * cselib.c: Include params.h
63 (cselib_invalidate_mem): Limit amount of nonconflicting memory
65 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
66 * Makefile.in (cselib.o): Depend on params.h
68 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
70 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
71 simplify_unary_operation if the operand has a known mode.
73 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
76 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
77 predicate to handle 'ld' conform addresses.
78 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
80 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
81 are memory contraints.
82 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
84 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
85 Change 'o' to 'Y' constraint.
86 (*movdf_softfloat64): Ditto.
88 2004-01-12 Bernardo Innocenti <bernie@develer.com>
90 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
91 brace-enclosed syntax in all C output statements.
93 2004-01-12 David Edelsohn <edelsohn@gnu.org>
96 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
97 Objective-C language type value is 14.
99 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
102 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
103 `int' in a number of places to make sure we always have a SImode
104 and not a HImode. Add a 'L' suffix to a number of constants.
106 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
108 * pa.c: Don't include obstack.h.
110 * pa.md: Correct constraint in pattern for loading PIC label address.
112 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
114 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
117 2004-01-11 Steven Bosscher <stevenb@suse.de>
119 * toplev.c (rest_of_handle_inline): Also consider functions
120 for deferral if the language is GNU F77.
122 2004-01-11 Zack Weinberg <zack@codesourcery.com>
124 * c-decl.c (diagnose_arglist_conflict): Add missing space to
127 2004-01-11 Jakub Jelinek <jakub@redhat.com>
130 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
131 to drop through label. Don't fall back to SCC even when conditional
132 jump has not been found.
134 2004-01-11 Jan Hubicka <jh@suse.cz>
136 * invoke.texi: Fix syntax error in previous patch.
138 Partial fix for PR opt/10776
139 * Makefile.in (reload.o): Include param.h
140 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
141 * reload.c: Include params.h.
142 (find_equiv_reg): Work limiting check.
143 * invoke.texi: Document.
145 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
147 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
148 out-of-bounds accesses to string constants. Simplify mips16
151 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
153 PR optimization/13469
154 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
155 reload_cse_regs (-fnon-call-exceptions only).
157 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
159 * config/mcore/lib1.asm: Fix comment formatting.
160 * config/mcore/mcore-elf.h: Likewise.
161 * config/mcore/mcore.c: Likewise.
162 * config/mcore/mcore.h: Likewise.
163 * config/mcore/mcore.md: Likewise.
165 2004-01-10 Zack Weinberg <zack@codesourcery.com>
167 * c-decl.c (duplicate_decls): Break apart into...
168 (diagnose_arglist_conflict, validate_proto_after_old_defn)
169 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
170 ... these new functions. Restructure for comprehensibility.
171 Remove various archaic special cases. Always report the
172 location of the previous declaration when a diagnostic is issued.
173 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
174 (match_builtin_function_types): Delete unnecessary forward declaration.
176 2004-01-10 Zack Weinberg <zack@codesourcery.com>
178 * genautomata.c (make_automaton, NDFA_to_DFA):
179 Print progress bars with '.' characters instead of '*'.
180 (build_automaton): Change notes to match.
182 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
184 * config/m32r/m32r.md: Use define_constants for unspec and
187 2004-01-10 Jan Hubicka <jh@suse.cz>
190 * expr.c (expand_expr_real): More curefully expand union casts.
192 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
194 * config/m32r/m32r.md (flush_icache): Use 1 for
197 2004-01-10 David Edelsohn <edelsohn@gnu.org>
198 James E Wilson <wilson@specifixinc.com>
201 * dbxout.c (dbxout_symbol): Remove initialization of
202 current_sym_code, current_sym_value, and current_sym_addr.
203 (dbxout_symbol_location): Same.
204 (dbxout_prepare_symbol): Zero current_sym_code,
205 current_sym_value, and current_sym_addr.
207 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
209 * tree.c (get_unwidened): Reorder conditions so that the null pointer
212 2004-01-09 Eric Christopher <echristo@redhat.com>
214 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
215 if we're running mark_constant_function.
217 2004-01-09 Jeff Bailey <jbailey@nisa.net>
220 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
222 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
225 * dbxout.c (dbxout_type_fields): Return if any item is
226 error_mark_node or the type is error_mark_node.
228 2004-01-09 Geoffrey Keating <geoffk@apple.com>
230 * config/rs6000/darwin-ldouble.c: Add big comment explaining
231 exactly what is expected as a 'long double'.
232 (_xlqadd): When a value to be returned is representable as a
233 'double', just return it directly, do not construct it using a union.
234 Also, correct final fixup.
237 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
239 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
241 2004-01-09 Richard Henderson <rth@redhat.com>
243 * recog.c (constrain_operands): Validate mem operands.
245 2004-01-09 James E Wilson <wilson@specifixinc.com>
247 * gcc.c (init_spec): Remove -lunwind from shared case.
248 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
250 2004-01-09 Steve Ellcey <sje@cup.hp.com>
252 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
253 * configure: Regenerate
255 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
258 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
259 between function and object pointers.
260 (digest_init): When comparing a pointer to function type to the
261 target type, only apply TREE_TYPE once to the pointer to function
263 * except.c (for_each_eh_label_1): Treat data as a pointer to a
264 function pointer rather than casting it to a function pointer.
265 (for_each_eh_label): Update caller.
266 * recog.h (struct insn_data): Use a struct or union for output.
267 * genoutput.c (output_insn_data): Update.
268 * final.c (get_insn_template): Update.
270 2004-01-09 Mark Mitchell <mark@codesourcery.com>
272 * expr.h (expand_expr): Make it a macro, not a function.
273 (expand_expr_real): New function.
274 * expr.c (store_expr): Adjust logic for deciding whether or not to
275 copy the value returned by expand_expr.
276 (expand_expr): Rename to ...
277 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
278 calls to language hooks.
279 * c-common.h (c_expand_expr): Adjust prototype.
280 * c-common.c (c_expand_expr): Add alt_rtl parameter.
281 * langhooks-def.h (lhd_expand_expr): Change prototype.
282 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
283 * langhooks.h (lang_hooks): Change type of expand_expr.
284 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
285 (last_expr_alt_rtl): Likewise.
286 (expand_expr_stmt_value): Set last_expr_alt_rtl.
287 (clear_last_expr): Clear it.
288 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
289 (expand_end_bindings): Save and restor last_expr_alt_rtl.
290 * tree.def (RTL_EXPR): Give it an additional operand.
291 * tree.h (RTL_EXPR_ALT_RTL): New macro.
293 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
295 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
296 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
298 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
301 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
302 or (ne:SI (reg:CC 17) (const_int 0)).
303 Be specific about modes wherever possible.
305 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
307 * config/m32r/m32r.c (m32r_expand_block_move): Call
308 gen_movestrsi_internal with two more arguments.
309 (m32r_output_block_move): Adjust operand numbers.
310 Properly update the source and destination pointers.
311 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
312 'r+'. Change the set detinations to match_operand.
314 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
316 * final.c (FIRST_INSN_ADDRESS): Remove.
317 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
318 * system.h (FIRST_INSN_ADDRESS): Poison.
319 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
320 * config/m32r/m32r-protos.h: Remove the prototype for
321 m32r_first_insn_address.
322 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
323 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
324 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
326 2004-01-09 J. Brobecker <brobecker@gnat.com>
328 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
330 (is_ada_subrange_type): DIEs for enumeration subtypes should be
331 emitted as subrange types too.
332 (subrange_type_die): Add handling of enumeration subtypes.
334 2004-01-08 Richard Henderson <rth@redhat.com>
337 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
338 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
339 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
340 (ix86_address_cost): Be prepared for SUBREGed registers.
341 (legitimate_address_p): Accept SUBREGed registers.
343 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
345 * Makefile.in: Rename configure.in to configure.ac
346 * doc/sourcebuild.texi: Likewise.
347 * configure: Regenerate.
348 * config.in: Regenerate.
350 2004-01-08 Stuart Hastings <stuart@apple.com>
352 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
354 2004-01-08 Jan Hubicka <jh@suse.cz>
356 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
358 2004-01-08 Geoffrey Keating <geoffk@apple.com>
360 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
361 (UNSPEC_FIX_TRUNC_TF): New constant.
362 (movtf_internal): Make splitter active only when insn is active.
363 (extenddftf2): Rewrite to properly load zero into low part.
364 (extenddftf2_internal): New.
365 (extendsftf2): Rewrite.
366 (truncdftf2): Correct length.
367 (floatditf2): Delete.
368 (fix_trunc_helper): New.
369 (fix_trunctfdi2): Use fix_trunc_helper.
370 (fix_trunctfsi2): Likewise.fix_trunc
371 (fix_trunctfsi2_internal): New.
373 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
374 addresses are legitimate on Darwin even when flag_pic.
375 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
376 non-offsettable addresses for loads of TFmode constants.
378 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
380 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
381 variables in the appropriate bss section.
383 2004-01-09 Alan Modra <amodra@bigpond.net.au>
385 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
386 target_flags has MASK_POWERPC64 when -m64.
387 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
388 to 620, 630, power3, power4 and rs64a entries.
389 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
391 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
393 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
394 floating-point constants.
396 2004-01-08 J. Brobecker <brobecker@gnat.com>
398 * dwarf2out.c (subrange_type_die): Add context_die parameter.
399 Create the subrange_type DIE using the given context DIE.
400 (modified_type_die): Update call to subrange_type_die.
402 2004-01-08 Zack Weinberg <zack@codesourcery.com>
404 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
405 Add multiple-include guard.
407 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
409 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
410 all vector constant loadable by vsplt*.
411 (output_vec_const_move): Likewise.
413 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
416 * c-typeck.c (comptypes): Only treat enumerated types in the same
417 translation unit as compatible with each other when they are the
419 * doc/extend.texi: Update.
421 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
424 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
425 array type from the array element type.
427 2004-01-07 Alan Modra <amodra@bigpond.net.au>
429 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
430 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
431 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
432 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
433 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
435 2004-01-06 Eric Christopher <echristo@redhat.com>
437 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
438 (DWARF2_DEBUGGING_INFO): Define.
439 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
440 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
441 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
443 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
444 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
445 * config/mips/iris5gas.h: Ditto.
446 (DBX_DEBUGGING_INFO): Remove.
447 (DWARF2_DEBUGGING_INFO): Ditto.
448 (MIPS_DEBUGGING_INFO): Ditto.
449 (PREFERRED_DEBUGGING_TYPE): Ditto.
450 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
451 (PREFERRED_DEBUGGING_TYPE): Ditto.
452 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
453 * config/mips/elf64.h: Ditto.
455 2004-01-06 Jan Hubicka <jh@suse.cz>
457 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
458 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
460 2004-01-06 Geoffrey Keating <geoffk@apple.com>
462 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
463 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
464 * config/rs6000/darwin-ldouble.c: New.
466 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
468 (constant_subword): Delete.
469 * rtl.h (constant_subword): Delete prototype.
470 (immed_double_const): Is not in varasm.c.
471 * simplify-rtx.c (simplify_immed_subreg): New.
472 (simplify_subreg): Use simplify_immed_subreg.
474 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
475 than trying to generate RTL directly.
476 (fix_trunctfsi2): Use expand_fix rather than trying to generate
479 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
481 2004-01-06 David Edelsohn <edelsohn@gnu.org>
483 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
484 function into a separate macro.
485 (read_only_data_section): Add void argument.
486 (private_data_section): Same.
487 (read_only_private_data_section): Same.
490 2004-01-06 Jan Hubicka <jh@suse.cz>
492 * invoke.texi: Remove typo in last change.
495 * config.gcc: Accept opteron and athlon-64 as variants
497 * i386.c (override_options): Likewise.
498 * invoke.texi (i386 -mtune): Expand documentation.
500 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
502 * alias.c: Fix comment typos.
503 * builtins.c: Likewise.
506 * dominance.c: Likewise.
507 * dwarf2out.c: Likewise.
508 * emit-rtl.c: Likewise.
511 * fold-const.c: Likewise.
513 * genattrtab.c: Likewise.
514 * genrecog.c: Likewise.
515 * gensupport.c: Likewise.
516 * ggc-zone.c: Likewise.
517 * integrate.c: Likewise.
518 * local-alloc.c: Likewise.
521 * regmove.c: Likewise.
522 * reg-stack.c: Likewise.
524 * rtlanal.c: Likewise.
526 * sched-ebb.c: Likewise.
527 * simplify-rtx.c: Likewise.
528 * toplev.c: Likewise.
529 * varasm.c: Likewise.
531 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
533 * doc/install.texi: Fix typos.
534 * doc/invoke.texi: Likewise.
535 * doc/md.texi: Likewise.
537 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
539 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
541 2004-01-06 Jan Hubicka <jh@suse.cz>
543 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
544 (function_arg_advance): Do not pass aggregates in SSE; deal handling
546 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
548 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
549 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
550 (MMX_REGPARM_MAX): Similarly for -mmmx.
552 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
554 * config/sh/linux.h: Fix comment formatting.
555 * config/sh/netbsd-elf.h: Likewise.
556 * config/sh/sh.c: Likewise.
557 * config/sh/sh.h: Likewise.
558 * config/sh/vxworks.h: Likewise.
560 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
562 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
563 * toplev.c (output_file_directive): Don't use
564 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
566 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
568 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
569 (USING_MMAP): We don't support non-mmap.
570 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
572 (struct page_entry): Remove bytes_free.
573 (struct page_table_chain): Remove.
574 (struct globals): Remove page_table member.
575 (loookup_page_table_entry): Function deleted.
576 (set_page_table_entry): Ditto.
577 (ggc_allocated_p): No longer need page table lookups.
578 (ggc_marked_p): Ditto.
579 (alloc_small_page): Don't care about bytes_free anymore.
580 (alloc_large_page): Round up size.
581 (ggc_alloc_zone_1): Mark large objects as such, and calculate
582 their size the new way.
583 Remove page table lookups and setting.
584 (ggc_get_size): Calculate large object size the new way.
585 (sweep_pages): Redo to account for fact that we no longer have
587 (ggc_collect): No longer need to reincrement bytes_free.
588 (ggc_pch_alloc_object): Handle new large objects properly.
589 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
591 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
593 * doc/invoke.texi: Remove a page break.
595 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
597 * config/avr/avr.c (avr_output_function_prologue): Remove an
598 extra pair of curly braces.
600 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
602 * config/mn10300/mn10300.c: Fix comment formatting.
603 * config/mn10300/mn10300.h: Likewise.
605 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
607 * tree.h: Update documentation on nothrow_flag.
608 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
611 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
613 * doc/invoke.texi: Remove traces of dead ports.
615 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
617 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
620 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
623 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
625 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
626 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
627 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
628 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
629 (mips_symbol_insns): Don't trust the local/global classification.
630 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
631 (override_options): Make -mabicalls -fno-unit-at-a-time imply
632 -mno-explicit-relocs.
633 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
634 between local and global symbols.
636 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
638 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
639 (mips_preferred_reload_class): Declare.
640 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
641 (EXTRA_CONSTRAINT): Update accordingly.
642 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
643 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
644 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
645 mips_dangerous_for_la25_p.
646 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
647 if mips_dangerous_for_la25_p.
649 2004-01-05 Bernardo Innocenti <bernie@develer.com>
651 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
654 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
656 * configure.ac: Use AC_PROG_CPP_WERROR.
657 * configure: Regenerate.
659 2004-01-04 Zack Weinberg <zack@codesourcery.com>
661 * .cvsignore: Add autom4te.cache.
663 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
665 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
666 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
667 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
668 then architecture options, then ABI options. General rewording.
670 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
673 * doc/extend.texi: Clarify definition of malloc attribute.
675 2004-01-04 Jan Hubicka <jh@suse.cz>
677 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
678 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
679 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
680 (cgraph_inline_p): Add extra argument reason.
681 * cgraphunit.c: Minor formating fixes.
682 cgraph_first_inlined_callee): New functions.
683 (record_call_1): Record builtins too.
684 (cgraph_analyze_function): Update inline_failed messages.
685 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
686 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
687 (cgraph_check_inline_limits): Likewise; Add argument reason.
688 (cgraph_set_inline_failed): New static function.
689 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
691 (cgraph_inline_p): Add new argument reason.
692 * tree-inline.c (expand_call_inline): Update warning.
694 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
696 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
697 with modern equivalents.
698 * configure: Regenerate.
700 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
701 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
702 * configure: Regenerate.
704 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
706 * configure.in: Rename to configure.ac.
707 * configure.ac: Renamed from configure.in; make minimum necessary
708 changes for autoconf 2.5x.
709 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
710 * configure: Regenerate with autoconf 2.57.
712 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
714 * config/mips/linux.h: Fix comment formatting.
715 * config/mips/mips.c: Likewise.
716 * config/mips/mips.h: Likewise.
717 * config/mips/mips.md: Likewise.
718 * config/mips/netbsd.h: Likewise.
719 * config/mips/windiss.h: Likewise.
721 2004-01-02 Richard Henderson <rth@redhat.com>
723 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
724 for sse and 387; add suppression for mmx.
726 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
728 * loop.c (loop_optimize): Free all loops_info's mems.
730 * c-typeck.c (finish_init): Free spelling_base before
733 * cfgloop.c (flow_loops_find): Always free the sbitmap
736 * predict.c (estimate_probability): Free bbs after being
739 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
741 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
742 const_8bit_operand and call_address_operand.
744 2004-01-02 Jan Hubicka <jh@suse.cz>
746 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
747 when there is nothing to inline but warnings are requested.
748 (cgraph_decide_inlining): Fix memory leak.
750 2004-01-02 Jan Hubicka <jh@suse.cz>
752 * expr.c (store_constructor): Fix pasto in previous patch.
754 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
756 * config/i386/cygming.h: Fix comment formatting.
757 * config/i386/djgpp.h: Likewise.
758 * config/i386/gthr-win32.c: Likewise.
759 * config/i386/i386-interix.h: Likewise.
760 * config/i386/i386.c: Likewise.
761 * config/i386/i386.h: Likewise.
762 * config/i386/openbsd.h: Likewise.
763 * config/i386/winnt.c: Likewise.
764 * config/i386/xm-mingw32.h: Likewise.
766 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
768 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
769 copyright and last modification dates.
771 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
773 * doc/install.texi (Specific): Mention x86_64.
775 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
777 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
778 Call force_operand on plus_constant result.
780 2004-01-01 Jan Hubicka <jh@suse.cz>
782 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
783 * expr.c (store_constructor): Use vec_init pattern.
784 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
785 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
786 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
787 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
789 (sse2_unpc?pd): Fix pattern.
791 (sse2_movsd): Deal with movlpd too.
792 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
793 (ix86_expand_vector_init): New.
794 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
795 * md.texi (vec_set, vec_extract): Document
797 2003-12-31 Jan Hubicka <jh@suse.cz>
800 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
804 * toplev.c (dump_file_index): Reorder ce3 and bbro.
805 (dump_file): Likewise.
806 (rest_of_compilation): Likewise.
809 * cgraph.c (cgraph_function_possibly_inlined): Even with
810 flag_really_no_inline we inline always_inline functions.
811 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
812 for non-always_inline functions when there is flag_really_no_inline.
813 (cgraph_decide_inlining): Limit work done when not inlining.
814 (cgraph_decide_inlining_incrementally): Likewise.
815 (cgraph_optimize_function): Check whether something got inlined.
816 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
817 extern inline functions when not inlining.
819 * opts.c (decode_options): Disable crossjumping at -O1
820 * invoke.texi (-O1): Document change.
822 See ChangeLog.10 for earlier changes.