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