OSDN Git Service

747b63f811c08bd2cb2659e7f43ad5803b80d127
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-01-12  Geoffrey Keating  <geoffk@greed.local>
2
3         * real.c: Update copyright date.
4         * emit-rtl.c: Likewise.
5         * rtl.h: Likewise.
6         * dwarf2out.c: Likewise.
7         * config/rs6000/darwin-ldouble.c: Likewise.
8         * config/rs6000/rs6000.md: Likewise.
9
10 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
11
12         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
13         TFmode to SImode libfuncs.
14
15 2004-01-12  Roger Sayle  <roger@eyesopen.com>
16
17         PR middle-end/11397
18         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
19
20 2004-01-12  Jan Hubicka  <jh@suse.cz>
21
22         PR opt/12826
23         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
24         stored.
25
26         PR opt/12863
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.
31
32 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
33
34         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
35         high word of an integral CONST_DOUBLE.
36
37 2004-01-09  Paul Brook  <paul@codesourcery.com>
38
39         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
40
41 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
42
43         PR target/13585
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.
47
48 2004-01-12  Jan Hubicka  <jh@suse.cz>
49
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.
58
59 2004-01-12  Jan Hubicka  <jh@suse.cz>
60
61         Partial fix for PR opt/10776 II
62         * cselib.c: Include params.h
63         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
64         locations.
65         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
66         * Makefile.in (cselib.o): Depend on params.h
67
68 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
69
70         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
71         simplify_unary_operation if the operand has a known mode.
72
73 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
74
75         PR target/13534
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'
79         contraint.
80         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
81         are memory contraints.
82         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): 
83         New prototype.
84         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): 
85         Change 'o' to 'Y' constraint.
86         (*movdf_softfloat64): Ditto.
87         
88 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
89
90         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
91         brace-enclosed syntax in all C output statements.
92
93 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
94
95         PR target/13401
96         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
97         Objective-C language type value is 14.
98
99 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
100
101         PR c/12148
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.
105
106 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
107
108         * pa.c: Don't include obstack.h.
109
110         * pa.md: Correct constraint in pattern for loading PIC label address.
111
112 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
113
114         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
115          before defining.
116
117 2004-01-11  Steven Bosscher  <stevenb@suse.de>
118
119         * toplev.c (rest_of_handle_inline): Also consider functions
120         for deferral if the language is GNU F77.
121
122 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
123
124         * c-decl.c (diagnose_arglist_conflict): Add missing space to
125         diagnostic messages.
126
127 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
128
129         PR middle-end/13392
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.
133
134 2004-01-11  Jan Hubicka  <jh@suse.cz>
135
136         * invoke.texi: Fix syntax error in previous patch.
137
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.
144
145 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
146
147         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
148         out-of-bounds accesses to string constants.  Simplify mips16
149         case accordingly.
150
151 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
152
153         PR optimization/13469
154         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
155         reload_cse_regs (-fnon-call-exceptions only).
156
157 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
158
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.
164
165 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
166
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.
175
176 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
177
178         * genautomata.c (make_automaton, NDFA_to_DFA):
179         Print progress bars with '.' characters instead of '*'.
180         (build_automaton): Change notes to match.
181
182 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
183
184         * config/m32r/m32r.md: Use define_constants for unspec and
185         unspec_volatile.
186
187 2004-01-10  Jan Hubicka  <jh@suse.cz>
188
189         PR opt/11635
190         * expr.c (expand_expr_real):  More curefully expand union casts.
191
192 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
193
194         * config/m32r/m32r.md (flush_icache): Use 1 for
195         unspec_volatile.
196
197 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
198             James E Wilson  <wilson@specifixinc.com>
199
200         PR debug/12860
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.
206
207 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
208
209         * tree.c (get_unwidened): Reorder conditions so that the null pointer
210         check is done first.
211
212 2004-01-09  Eric Christopher  <echristo@redhat.com>
213
214         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
215         if we're running mark_constant_function.
216
217 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
218
219         PR target/12561
220         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
221
222 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
223
224         PR debug/11231
225         * dbxout.c (dbxout_type_fields): Return if any item is
226         error_mark_node or the type is error_mark_node.
227
228 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
229
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.
235         (_xlqmul): Likewise.
236         (_xlqdiv): Likewise.
237         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
238
239         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
240
241 2004-01-09  Richard Henderson  <rth@redhat.com>
242
243         * recog.c (constrain_operands): Validate mem operands.
244
245 2004-01-09   James E Wilson  <wilson@specifixinc.com>
246
247         * gcc.c (init_spec): Remove -lunwind from shared case.
248         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
249
250 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
251
252         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
253         * configure: Regenerate
254
255 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
256
257         PR c/11234
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
262         type.
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.
269
270 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
271
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.
292
293 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
294
295         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
296         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
297
298 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
299
300         PR target/13380.
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.
304
305 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
306
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.
313
314 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
315
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.
325
326 2004-01-09  J. Brobecker  <brobecker@gnat.com>
327
328         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
329         we just created.
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.
333
334 2004-01-08  Richard Henderson  <rth@redhat.com>
335
336         PR opt/12441
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.
342
343 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
344
345         * Makefile.in: Rename configure.in to configure.ac
346         * doc/sourcebuild.texi: Likewise.
347         * configure: Regenerate.
348         * config.in: Regenerate.
349
350 2004-01-08  Stuart Hastings  <stuart@apple.com>
351
352         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
353
354 2004-01-08  Jan Hubicka  <jh@suse.cz>
355
356         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
357
358 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
359
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.
372
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.
377
378 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
379
380         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
381         variables in the appropriate bss section.
382
383 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
384
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.
390
391 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
392
393         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
394         floating-point constants.
395
396 2004-01-08  J. Brobecker  <brobecker@gnat.com>
397
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.
401
402 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
403
404         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
405         Add multiple-include guard.
406
407 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
408
409         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
410         all vector constant loadable by vsplt*.
411         (output_vec_const_move): Likewise.
412
413 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
414
415         PR c/6024
416         * c-typeck.c (comptypes): Only treat enumerated types in the same
417         translation unit as compatible with each other when they are the
418         same type.
419         * doc/extend.texi: Update.
420
421 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
422
423         PR c/12165
424         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
425         array type from the array element type.
426
427 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
428
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.
434
435 2004-01-06  Eric Christopher  <echristo@redhat.com>
436
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
442         for irix as.
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.
454
455 2004-01-06  Jan Hubicka  <jh@suse.cz>
456
457         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
458         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
459
460 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
461
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.
465
466         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
467         for constants.
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.
473
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
477         RTL directly.
478
479         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
480
481 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
482
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.
488         (toc_section): Same.
489
490 2004-01-06  Jan Hubicka  <jh@suse.cz>
491
492         * invoke.texi:  Remove typo in last change.
493
494         PR target/10301
495         * config.gcc: Accept opteron and athlon-64 as variants
496         of k8.
497         * i386.c (override_options): Likewise.
498         * invoke.texi (i386 -mtune): Expand documentation.
499
500 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
501
502         * alias.c: Fix comment typos.
503         * builtins.c: Likewise.
504         * cfg.c: Likewise.
505         * df.c: Likewise.
506         * dominance.c: Likewise.
507         * dwarf2out.c: Likewise.
508         * emit-rtl.c: Likewise.
509         * expr.c: Likewise.
510         * final.c: Likewise.
511         * fold-const.c: Likewise.
512         * gcse.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.
519         * loop.c: Likewise.
520         * recog.c: Likewise.
521         * regmove.c: Likewise.
522         * reg-stack.c: Likewise.
523         * reorg.c: Likewise.
524         * rtlanal.c: Likewise.
525         * rtl.h: Likewise.
526         * sched-ebb.c: Likewise.
527         * simplify-rtx.c: Likewise.
528         * toplev.c: Likewise.
529         * varasm.c: Likewise.
530
531 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
532
533         * doc/install.texi: Fix typos.
534         * doc/invoke.texi: Likewise.
535         * doc/md.texi: Likewise.
536
537 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
538
539         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
540
541 2004-01-06  Jan Hubicka  <jh@suse.cz>
542
543         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
544         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
545         of MMX_REGPARM.
546         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
547         add MMX_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.
551
552 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
553
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.
559
560 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
561
562         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
563         * toplev.c (output_file_directive): Don't use
564         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
565
566 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
567
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
571         large objects.
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
586         bytes_free.
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.
590
591 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
592
593         * doc/invoke.texi: Remove a page break.
594
595 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
596
597         * config/avr/avr.c (avr_output_function_prologue): Remove an
598         extra pair of curly braces.
599
600 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
601
602         * config/mn10300/mn10300.c: Fix comment formatting.
603         * config/mn10300/mn10300.h: Likewise.
604
605 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
606
607         * tree.h: Update documentation on nothrow_flag.
608         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
609         types.
610
611 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
612
613         * doc/invoke.texi: Remove traces of dead ports.
614
615 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
616
617         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
618         option.
619
620 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
621
622         PR target/12945
623         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
624         counter labels.
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.
635
636 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
637
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.
648
649 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
650
651         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
652         warning.
653
654 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
655
656         * configure.ac: Use AC_PROG_CPP_WERROR.
657         * configure: Regenerate.
658
659 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
660
661         * .cvsignore: Add autom4te.cache.
662
663 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
664
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.
669
670 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
671
672         PR c/3414
673         * doc/extend.texi: Clarify definition of malloc attribute.
674
675 2004-01-04  Jan Hubicka  <jh@suse.cz>
676
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
690         reasons.
691         (cgraph_inline_p): Add new argument reason.
692         * tree-inline.c (expand_call_inline):  Update warning.
693
694 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
695
696         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
697         with modern equivalents.
698         * configure: Regenerate.
699
700         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
701         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
702         * configure: Regenerate.
703
704         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
705
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.
711
712 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
713
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.
720
721 2004-01-02  Richard Henderson  <rth@redhat.com>
722
723         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
724         for sse and 387; add suppression for mmx.
725
726 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
727
728         * loop.c (loop_optimize): Free all loops_info's mems.
729
730         * c-typeck.c (finish_init): Free spelling_base before
731         setting it again.
732
733         * cfgloop.c (flow_loops_find): Always free the sbitmap
734         headers.
735
736         * predict.c (estimate_probability): Free bbs after being
737         done with it.
738
739 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
740
741         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
742         const_8bit_operand and call_address_operand.
743
744 2004-01-02  Jan Hubicka  <jh@suse.cz>
745
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.
749
750 2004-01-02  Jan Hubicka  <jh@suse.cz>
751
752         * expr.c (store_constructor):  Fix pasto in previous patch.
753
754 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
755
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.
765
766 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
767
768         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
769         copyright and last modification dates.
770
771 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
772
773         * doc/install.texi (Specific): Mention x86_64.
774
775 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
776
777         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
778         Call force_operand on plus_constant result.
779
780 2004-01-01  Jan Hubicka  <jh@suse.cz>
781
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):
788         New patterns.
789         (sse2_unpc?pd): Fix pattern.
790         (sse2_movlpd): Kill.
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
796
797 2003-12-31  Jan Hubicka  <jh@suse.cz>
798
799         PR opt/13473
800         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
801         ASM input operands
802
803         PR opt/12617
804         * toplev.c (dump_file_index): Reorder ce3 and bbro.
805         (dump_file): Likewise.
806         (rest_of_compilation): Likewise.
807
808         PR debug/13367
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.
818
819         * opts.c (decode_options):  Disable crossjumping at -O1
820         * invoke.texi (-O1): Document change.
821
822 See ChangeLog.10 for earlier changes.