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