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