OSDN Git Service

* c-parse.in (stmts_and_decls): Make label at end of compound
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2004-01-14  Joseph S. Myers  <jsm@polyomino.org.uk>
2
3         * c-parse.in (stmts_and_decls): Make label at end of compound
4         statement a hard error.
5
6 2004-01-14  Jan Hubicka  <jh@suse.cz>
7
8         * cgraph.c (create_edge): Use local.redefined_extern_inline.
9         * cgraph.h (cgraph_local_info): Sort fields by size; add
10         redefined_extern_inline
11         (cgraph_global_info): Sort fields by size.
12         (cgraph_node): Likewise.
13         * cgraphunit.c (cgraph_finalize_function): Se
14         local.redefined_extern_inline on redefinition.
15         (cgraph_analyze_function): Use it; fix formating.
16
17 2004-01-14  Jan Hubicka  <jh@suse.cz>
18
19         PR c++/10776
20         * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
21         outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
22         bitmaps
23         (cache_size): New variable
24         (add_dependence): Update use; canonize early memory locations
25         (sched_analyze_1): Likewise.
26         (sched_analyze_2): Likewise.
27         (init_dependency_caches): Initialize bitmaps.
28         (free_dependency_caches): Free bitmaps
29
30 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
31
32         * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
33         targetm.calls.strict_argument_naming().
34         * target.h: Likewise.
35
36 2004-01-14  Richard Henderson  <rth@redhat.com>
37
38         PR debug/13231
39         * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
40         instructions.
41
42 2004-01-14  Richard Henderson  <rth@redhat.com>
43
44         PR c++/12491
45         * except.c (struct eh_region): Add u.fixup.resolved.
46         (resolve_one_fixup_region): Split out from ...
47         (resolve_fixup_regions): ... here.
48
49 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
50
51         * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
52
53 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
54
55         * config/alpha/alpha.h (STRUCT_VALUE): Remove.
56         * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
57         (STRUCT_VALUE): Remove.
58
59 2003-01-14  Steven Bosscher  <stevenb@suse.de>
60
61         * system.h: Poison PROMOTED_MODE
62         * integrate.c (expand_inline_function): Don't mention the
63         PROMOTED_MODE.
64         * loop.c (update_giv_derive): Same.
65         * tree.h (DECL_RTL): Same.
66
67 2004-01-14  J"orn Rennecke <joern.rennecke@superh.com>
68
69         PR target/9365
70         * sh.c (gen_block_redirect): Add special handling of RETURN.
71         (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
72         far branch target (i.e. it's a return).
73
74 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
75
76         * regrename.c (find_oldest_value_reg): Fix a warning.
77
78 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
79
80         PR bootstrap/12527
81         * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
82         Move linux-gas.h and linux-elf.h before aout.h.
83         * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
84         * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
85
86 2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>
87
88         * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
89         (CONST_INT, VOIDmode, ...).
90
91 2004-01-14  Richard Earnshaw  <rearnsha@arm.com>
92
93         * regrename.c (find_oldest_value_reg): If the replacement uses 
94         multiple hard registers, check that all of them are in CLASS.
95
96 2004-01-14  Jan Hubicka  <jh@suse.cz>
97
98         * alias.c (get_alias_set):  Initialize alias set to 0 when subset is
99         impossible.
100
101 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
102
103         * Makefile.in: Define MAINT from --enable-maintainer-mode.
104
105 2004-01-14  Hartmut Penner  <hpenner@de.ibm.com>
106
107         * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
108         Calculate always vrsave_mask if TARGET_ALTIVEC.
109         (rs6000_emit_prologue): Emit code for vrsave
110         only if TARGET_ALTIVEC_VRSAVE.
111         (rs6000_emit_epilogue): Likewise.
112
113 2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
114
115         * config/sparc/sparc.md (tie_add32): Fix pasto.
116         (tie_add64): Likewise.
117
118 2004-01-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
119
120         * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
121
122 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
123
124         * config/iq2000/iq2000-protos.h: Fix comment formatting.
125         * config/iq2000/iq2000.c: Likewise.
126         * config/iq2000/iq2000.md: Likewise.
127
128 2004-01-14  J. Brobecker  <brobecker@gnat.com>
129
130         * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
131         (subrange_type_die): Add handle for nameless subrange types.
132
133 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
134
135         * config/h8300/h8300-protos.h: Replace do_movsi with
136         h8300_expand_movsi.
137         * config/h8300/h8300.c (do_movsi): Change to
138         h8300_expand_movsi.
139         * config/h8300/h8300.md (movsi): Replace do_movsi with
140         h8300_expand_movsi.
141         (movsf): Likewise.
142
143 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
144
145         * config/h8300/h8300.c (dosize): Change to
146         h8300_emit_stack_adjustment.  Update callers.
147
148 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
149
150         * config/h8300/h8300.md (movstrictqi): Add an alternative with
151         the source being post_inc.  Tighten the predicate for the
152         destination to register_operand.
153         (movstricthi): Likewise.
154
155 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
156
157         * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
158         * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
159         * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
160
161 2004-01-14  Jan Hubicka  <jh@suse.cz>
162
163         Partial fix PR c++/12850
164         * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
165         at zero nest level.
166
167 2004-01-13  Bernardo Innocenti  <bernie@develer.com>
168
169         * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
170         pseudo-register. 
171
172 2004-01-13  Devang Patel <dpatel@apple.com
173
174         PR debug/7078
175         * dbxout.c (dbxout_symbol_name): Emit mangled names for 
176         NAMESPACE_DECL memebers.
177         
178 2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
179
180         PR c++/12709
181         * c-common.c (finish_fname_decls): Use the chain only if the
182         tree is an expr_stmt.
183
184 2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
185
186         * rtl.def: Add comment about new option in automata_option.
187         
188         * genautomata.c (PROGRESS_OPTION): New macro.
189         (progress_flag): New global variable.
190         (gen_automata_option): Process `progress'.
191         (transform_insn_regexps, check_unit_distributions_to_automata,
192         make_automaton, NDFA_to_DFA, build_automaton, create_automata,
193         expand_automata, write_automata): Print about the progress only if
194         progress_flag.  Remove fflush.
195         (initiate_automaton_gen): Process command line flag `-progress'.
196
197         * doc/md.texi: Describe the new option.
198         
199 2004-01-13  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
200
201         * cfg.c (dump_bb): Dump entry edges.
202
203 2004-01-13  Richard Earnshaw  <rearnsha@arm.com>
204
205         * arm.c (thumb_legitimate_address_p): Only allow constant pool 
206         references from SImode.
207         * arm.md (thumb_movhi_insn): Don't allow minipool references.
208
209 2004-01-13  Kazu Hirata  <kazu@cs.umass.edu>
210
211         * system.h (TEXT_SECTION): Poison.
212         * varasm.c (text_section): Don't use TEXT_SECTION.
213         * config/sh/sh.c (sh_file_start): Fix a comment typo.
214         * doc/tm.texi (TEXT_SECTION): Remove.
215
216 2004-01-13  Ben Elliston  <bje@wasabisystems.com>
217
218         * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
219
220 2004-01-12  James E Wilson  <wilson@specifixinc.com>
221
222         * unwind-libunwind.c: Delete.
223
224 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
225
226         PR 13656
227         * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
228         oldtype is set, set *newtypep or *oldtypep too.  Do not set
229         them at the very end.
230         (validate_proto_after_old_defn): Restructure for comprehensibility;
231         make error messages clearer.
232
233 2004-01-12  Zack Weinberg  <zack@codesourcery.com>
234
235         * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
236         (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
237         * varray.c: No need to prototype error.
238         (varray_check_failed): Wrap long string onto two lines.
239         (varray_underflow): New function.
240
241 2004-01-13  Steven Bosscher  <stevenb@suse.de>
242
243         PR c++/13376
244         * function.h (struct function): Kill `name' field.
245         (current_function_name): Make it an extern function.
246         * function.c (current_function_name): New function.
247         * graph.c: Update all uses of current_function_name.
248         * gcse.c: Likewise.
249         * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
250         config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
251         * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
252         instead of a strcmp with "main".
253
254 2004-01-13  Jan Hubicka  <jh@suse.cz>
255
256         * c-decl.c (diagnose_mismatched_decls):  Fix warning calls.
257
258         * cgraphunit.c (cgraph_optimize_function):  Always do
259         optimize_inline_calls when there is always_inline callee.
260         (cgraph_decide_inlining): Fix formating.
261         * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
262         functions.
263         (expand_call_inline): Likewise.
264         * toplev.h (sorry): Fix prototype.
265
266 2004-01-12  Roger Sayle  <roger@eyesopen.com>
267
268         * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
269         conditional jumps that drop through to unconditional jumps or the
270         end of the sequence.
271
272 2004-01-13  Jan Hubicka  <jh@suse.cz>
273
274         * alias.c (new_alias_set): Construct the alias_set varray.
275         (init_alias_once): Don't do it here.
276
277 2004-01-12  Marc Espie <espie@openbsd.org>
278
279         * system.h: handle YYBYACC like YYBISON.
280
281 2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
282
283         PR target/10847
284         * config.gcc: No longer includes conflicting header sparc/sol2.h when
285         building on sparc64-*-openbsd*.
286
287 2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
288
289         PR debug/13539
290         * dbxout.c (dbxout_type): Protected inheritance is not
291         private but protected.
292
293 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
294
295         * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
296
297 2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>
298
299         PR optimization/12508.
300         * combine.c (try_combine): Remove a dead set in a parallel
301         even if its destination is a subreg.
302
303         Revert:
304         2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
305         * combine.c (simplify_set): Don't move a subreg in SET_SRC to
306         SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
307
308 2004-01-12  Geoffrey Keating  <geoffk@apple.com>
309
310         * real.c: Update copyright date.
311         * emit-rtl.c: Likewise.
312         * rtl.h: Likewise.
313         * dwarf2out.c: Likewise.
314         * config/rs6000/darwin-ldouble.c: Likewise.
315         * config/rs6000/rs6000.md: Likewise.
316
317 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
318
319         * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
320         TFmode to SImode libfuncs.
321
322 2004-01-12  Roger Sayle  <roger@eyesopen.com>
323
324         PR middle-end/11397
325         * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
326
327 2004-01-12  Jan Hubicka  <jh@suse.cz>
328
329         PR opt/12826
330         * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
331         stored.
332
333         PR opt/12863
334         * cfgcleanup.c (label_is_jump_target_p): Move to...
335         * rtlanal.c (label_is_jump_target_p): ... here.
336         * cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
337         edges unified with branch edges.
338
339 2004-01-12  Richard Earnshaw  <rearnsha@arm.com>
340
341         * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
342         high word of an integral CONST_DOUBLE.
343
344 2004-01-12  Paul Brook  <paul@codesourcery.com>
345
346         * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
347
348 2004-01-12  J"orn Rennecke <joern.rennecke@superh.com>
349
350         PR target/13585
351         * sh-protos.h (check_use_sfunc_addr): Declare.
352         * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
353         * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
354
355 2004-01-12  Jan Hubicka  <jh@suse.cz>
356
357         * alias.c:  Invlude varray.h
358         (alias_sets): Turn into varray.
359         (get_alias_set_entry): Use VARRAY; mark inline.
360         (mems_in_disjoint_alias_sets_p): Mark inline.
361         (record_alias_subset): Use varray.
362         (init_alias_once): Initialize varray.
363         (new_alias_set): Grow array.
364         * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
365
366 2004-01-12  Jan Hubicka  <jh@suse.cz>
367
368         Partial fix for PR opt/10776 II
369         * cselib.c: Include params.h
370         (cselib_invalidate_mem):  Limit amount of nonconflicting memory
371         locations.
372         * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
373         * Makefile.in (cselib.o): Depend on params.h
374
375 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
376
377         * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
378         simplify_unary_operation if the operand has a known mode.
379
380 2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>
381
382         PR target/13534
383         * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
384         predicate to handle 'ld' conform addresses.
385         * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
386         contraint.
387         (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
388         are memory contraints.
389         * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
390         New prototype.
391         * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
392         Change 'o' to 'Y' constraint.
393         (*movdf_softfloat64): Ditto.
394
395 2004-01-12  Bernardo Innocenti  <bernie@develer.com>
396
397         * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
398         brace-enclosed syntax in all C output statements.
399
400 2004-01-12  David Edelsohn  <edelsohn@gnu.org>
401
402         PR target/13401
403         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
404         Objective-C language type value is 14.
405
406 2004-01-12  Markus F.X.J. Oberhumer  <markus@oberhumer.com>
407
408         PR c/12148
409         * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
410         `int' in a number of places to make sure we always have a SImode
411         and not a HImode.  Add a 'L' suffix to a number of constants.
412
413 2004-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
414
415         * pa.c: Don't include obstack.h.
416
417         * pa.md: Correct constraint in pattern for loading PIC label address.
418
419 2004-01-11  Kaz Kojima  <kkojima@gcc.gnu.org>
420
421         * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
422          before defining.
423
424 2004-01-11  Steven Bosscher  <stevenb@suse.de>
425
426         PR fortran/9972
427         * toplev.c (rest_of_handle_inline): Also consider functions
428         for deferral if the language is GNU F77.
429
430 2004-01-11  Zack Weinberg  <zack@codesourcery.com>
431
432         * c-decl.c (diagnose_arglist_conflict): Add missing space to
433         diagnostic messages.
434
435 2004-01-11  Jakub Jelinek  <jakub@redhat.com>
436
437         PR middle-end/13392
438         * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
439         to drop through label.  Don't fall back to SCC even when conditional
440         jump has not been found.
441
442 2004-01-11  Jan Hubicka  <jh@suse.cz>
443
444         * invoke.texi: Fix syntax error in previous patch.
445
446         Partial fix for PR opt/10776
447         * Makefile.in (reload.o): Include param.h
448         * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
449         * reload.c: Include params.h.
450         (find_equiv_reg): Work limiting check.
451         * invoke.texi: Document.
452
453 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
454
455         * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
456         out-of-bounds accesses to string constants.  Simplify mips16
457         case accordingly.
458
459 2004-01-11  Richard Sandiford  <rsandifo@redhat.com>
460
461         PR optimization/13469
462         * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
463         reload_cse_regs (-fnon-call-exceptions only).
464
465 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
466
467         * config/mcore/lib1.asm: Fix comment formatting.
468         * config/mcore/mcore-elf.h: Likewise.
469         * config/mcore/mcore.c: Likewise.
470         * config/mcore/mcore.h: Likewise.
471         * config/mcore/mcore.md: Likewise.
472
473 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
474
475         * c-decl.c (duplicate_decls): Break apart into...
476         (diagnose_arglist_conflict, validate_proto_after_old_defn)
477         (locate_old_defn, diagnose_mismatched_decls, merge_decls):
478         ... these new functions.  Restructure for comprehensibility.
479         Remove various archaic special cases.  Always report the
480         location of the previous declaration when a diagnostic is issued.
481         (redeclaration_error_message): Fold into diagnose_mismatched_decls.
482         (match_builtin_function_types): Delete unnecessary forward declaration.
483
484 2004-01-10  Zack Weinberg  <zack@codesourcery.com>
485
486         * genautomata.c (make_automaton, NDFA_to_DFA):
487         Print progress bars with '.' characters instead of '*'.
488         (build_automaton): Change notes to match.
489
490 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
491
492         * config/m32r/m32r.md: Use define_constants for unspec and
493         unspec_volatile.
494
495 2004-01-10  Jan Hubicka  <jh@suse.cz>
496
497         PR opt/11635
498         * expr.c (expand_expr_real):  More curefully expand union casts.
499
500 2004-01-10  Kazu Hirata  <kazu@cs.umass.edu>
501
502         * config/m32r/m32r.md (flush_icache): Use 1 for
503         unspec_volatile.
504
505 2004-01-10  David Edelsohn  <edelsohn@gnu.org>
506             James E Wilson  <wilson@specifixinc.com>
507
508         PR debug/12860
509         * dbxout.c (dbxout_symbol): Remove initialization of
510         current_sym_code, current_sym_value, and current_sym_addr.
511         (dbxout_symbol_location): Same.
512         (dbxout_prepare_symbol): Zero current_sym_code,
513         current_sym_value, and current_sym_addr.
514
515 2004-01-10  Richard Sandiford  <rsandifo@redhat.com>
516
517         * tree.c (get_unwidened): Reorder conditions so that the null pointer
518         check is done first.
519
520 2004-01-09  Eric Christopher  <echristo@redhat.com>
521
522         * toplev.c (rest_of_handle_cfg): Add reg_scan pass
523         if we're running mark_constant_function.
524
525 2004-01-09  Jeff Bailey  <jbailey@nisa.net>
526
527         PR target/12561
528         * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
529
530 2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>
531
532         PR debug/11231
533         * dbxout.c (dbxout_type_fields): Return if any item is
534         error_mark_node or the type is error_mark_node.
535
536 2004-01-09  Geoffrey Keating  <geoffk@apple.com>
537
538         * config/rs6000/darwin-ldouble.c: Add big comment explaining
539         exactly what is expected as a 'long double'.
540         (_xlqadd): When a value to be returned is representable as a
541         'double', just return it directly, do not construct it using a union.
542         Also, correct final fixup.
543         (_xlqmul): Likewise.
544         (_xlqdiv): Likewise.
545         * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
546
547         * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
548
549 2004-01-09  Richard Henderson  <rth@redhat.com>
550
551         * recog.c (constrain_operands): Validate mem operands.
552
553 2004-01-09   James E Wilson  <wilson@specifixinc.com>
554
555         * gcc.c (init_spec): Remove -lunwind from shared case.
556         * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
557
558 2004-01-09  Steve Ellcey  <sje@cup.hp.com>
559
560         * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
561         * configure: Regenerate
562
563 2004-01-09  Joseph S. Myers  <jsm@polyomino.org.uk>
564
565         PR c/11234
566         * c-typeck.c (build_c_cast): If pedantic, warn for conversions
567         between function and object pointers.
568         (digest_init): When comparing a pointer to function type to the
569         target type, only apply TREE_TYPE once to the pointer to function
570         type.
571         * except.c (for_each_eh_label_1): Treat data as a pointer to a
572         function pointer rather than casting it to a function pointer.
573         (for_each_eh_label): Update caller.
574         * recog.h (struct insn_data): Use a struct or union for output.
575         * genoutput.c (output_insn_data): Update.
576         * final.c (get_insn_template): Update.
577
578 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
579
580         * expr.h (expand_expr): Make it a macro, not a function.
581         (expand_expr_real): New function.
582         * expr.c (store_expr): Adjust logic for deciding whether or not to
583         copy the value returned by expand_expr.
584         (expand_expr): Rename to ...
585         (expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
586         calls to language hooks.
587         * c-common.h (c_expand_expr): Adjust prototype.
588         * c-common.c (c_expand_expr): Add alt_rtl parameter.
589         * langhooks-def.h (lhd_expand_expr): Change prototype.
590         * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
591         * langhooks.h (lang_hooks): Change type of expand_expr.
592         * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
593         (last_expr_alt_rtl): Likewise.
594         (expand_expr_stmt_value): Set last_expr_alt_rtl.
595         (clear_last_expr): Clear it.
596         (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
597         (expand_end_bindings): Save and restor last_expr_alt_rtl.
598         * tree.def (RTL_EXPR): Give it an additional operand.
599         * tree.h (RTL_EXPR_ALT_RTL): New macro.
600
601 2004-01-09  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
602
603         * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
604         * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
605
606 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
607
608         PR target/13380.
609         * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
610         or (ne:SI (reg:CC 17) (const_int 0)).
611         Be specific about modes wherever possible.
612
613 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
614
615         * config/m32r/m32r.c (m32r_expand_block_move): Call
616         gen_movestrsi_internal with two more arguments.
617         (m32r_output_block_move): Adjust operand numbers.
618         Properly update the source and destination pointers.
619         * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
620         'r+'.  Change the set detinations to match_operand.
621
622 2004-01-09  Kazu Hirata  <kazu@cs.umass.edu>
623
624         * final.c (FIRST_INSN_ADDRESS): Remove.
625         (shorten_branches): Don't use FIRST_INSN_ADDRESS.
626         * system.h (FIRST_INSN_ADDRESS): Poison.
627         * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
628         * config/m32r/m32r-protos.h: Remove the prototype for
629         m32r_first_insn_address.
630         * config/m32r/m32r.c (m32r_first_insn_address): Remove.
631         * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
632         * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
633
634 2004-01-09  J. Brobecker  <brobecker@gnat.com>
635
636         * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
637         we just created.
638         (is_ada_subrange_type): DIEs for enumeration subtypes should be
639         emitted as subrange types too.
640         (subrange_type_die): Add handling of enumeration subtypes.
641
642 2004-01-08  Richard Henderson  <rth@redhat.com>
643
644         PR opt/12441
645         Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
646         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
647         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
648         (ix86_address_cost): Be prepared for SUBREGed registers.
649         (legitimate_address_p): Accept SUBREGed registers.
650
651 2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
652
653         * Makefile.in: Rename configure.in to configure.ac
654         * doc/sourcebuild.texi: Likewise.
655         * configure: Regenerate.
656         * config.in: Regenerate.
657
658 2004-01-08  Stuart Hastings  <stuart@apple.com>
659
660         * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
661
662 2004-01-08  Jan Hubicka  <jh@suse.cz>
663
664         * cgraphunit.c (cgraph_decide_inlining):  Fix typo.
665
666 2004-01-08  Geoffrey Keating  <geoffk@apple.com>
667
668         * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
669         (UNSPEC_FIX_TRUNC_TF): New constant.
670         (movtf_internal): Make splitter active only when insn is active.
671         (extenddftf2): Rewrite to properly load zero into low part.
672         (extenddftf2_internal): New.
673         (extendsftf2): Rewrite.
674         (truncdftf2): Correct length.
675         (floatditf2): Delete.
676         (fix_trunc_helper): New.
677         (fix_trunctfdi2): Use fix_trunc_helper.
678         (fix_trunctfsi2): Likewise.fix_trunc
679         (fix_trunctfsi2_internal): New.
680
681         * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
682         addresses are legitimate on Darwin even when flag_pic.
683         (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
684         non-offsettable addresses for loads of TFmode constants.
685
686 2004-01-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
687
688         * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
689         variables in the appropriate bss section.
690
691 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
692
693         * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
694         target_flags has MASK_POWERPC64 when -m64.
695         * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
696         to 620, 630, power3, power4 and rs64a entries.
697         * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
698
699 2004-01-08  Richard Sandiford  <rsandifo@redhat.com>
700
701         * simplify-rtx.c (simplify_immed_subreg): Fix construction of
702         floating-point constants.
703
704 2004-01-08  J. Brobecker  <brobecker@gnat.com>
705
706         * dwarf2out.c (subrange_type_die): Add context_die parameter.
707         Create the subrange_type DIE using the given context DIE.
708         (modified_type_die): Update call to subrange_type_die.
709
710 2004-01-08  Zack Weinberg  <zack@codesourcery.com>
711
712         * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
713         Add multiple-include guard.
714
715 2004-01-08  Hartmut Penner  <hpenner@de.ibm.com>
716
717         * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
718         all vector constant loadable by vsplt*.
719         (output_vec_const_move): Likewise.
720
721 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
722
723         PR c/6024
724         * c-typeck.c (comptypes): Only treat enumerated types in the same
725         translation unit as compatible with each other when they are the
726         same type.
727         * doc/extend.texi: Update.
728
729 2004-01-07  Joseph S. Myers  <jsm@polyomino.org.uk>
730
731         PR c/12165
732         * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
733         array type from the array element type.
734
735 2004-01-07  Alan Modra  <amodra@bigpond.net.au>
736
737         * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
738         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
739         * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
740         (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
741         * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
742
743 2004-01-06  Eric Christopher  <echristo@redhat.com>
744
745         * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
746         (DWARF2_DEBUGGING_INFO): Define.
747         (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
748         * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
749         * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
750         for irix as.
751         (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
752         * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
753         * config/mips/iris5gas.h: Ditto.
754         (DBX_DEBUGGING_INFO): Remove.
755         (DWARF2_DEBUGGING_INFO): Ditto.
756         (MIPS_DEBUGGING_INFO): Ditto.
757         (PREFERRED_DEBUGGING_TYPE): Ditto.
758         * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
759         (PREFERRED_DEBUGGING_TYPE): Ditto.
760         (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
761         * config/mips/elf64.h: Ditto.
762
763 2004-01-06  Jan Hubicka  <jh@suse.cz>
764
765         * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
766         (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
767
768 2004-01-06  Geoffrey Keating  <geoffk@apple.com>
769
770         * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
771         (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
772         * config/rs6000/darwin-ldouble.c: New.
773
774         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
775         for constants.
776         (constant_subword): Delete.
777         * rtl.h (constant_subword): Delete prototype.
778         (immed_double_const): Is not in varasm.c.
779         * simplify-rtx.c (simplify_immed_subreg): New.
780         (simplify_subreg): Use simplify_immed_subreg.
781
782         * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
783         than trying to generate RTL directly.
784         (fix_trunctfsi2): Use expand_fix rather than trying to generate
785         RTL directly.
786
787         * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
788
789 2004-01-06  David Edelsohn  <edelsohn@gnu.org>
790
791         * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
792         function into a separate macro.
793         (read_only_data_section): Add void argument.
794         (private_data_section): Same.
795         (read_only_private_data_section): Same.
796         (toc_section): Same.
797
798 2004-01-06  Jan Hubicka  <jh@suse.cz>
799
800         * invoke.texi:  Remove typo in last change.
801
802         PR target/10301
803         * config.gcc: Accept opteron and athlon-64 as variants
804         of k8.
805         * i386.c (override_options): Likewise.
806         * invoke.texi (i386 -mtune): Expand documentation.
807
808 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
809
810         * alias.c: Fix comment typos.
811         * builtins.c: Likewise.
812         * cfg.c: Likewise.
813         * df.c: Likewise.
814         * dominance.c: Likewise.
815         * dwarf2out.c: Likewise.
816         * emit-rtl.c: Likewise.
817         * expr.c: Likewise.
818         * final.c: Likewise.
819         * fold-const.c: Likewise.
820         * gcse.c: Likewise.
821         * genattrtab.c: Likewise.
822         * genrecog.c: Likewise.
823         * gensupport.c: Likewise.
824         * ggc-zone.c: Likewise.
825         * integrate.c: Likewise.
826         * local-alloc.c: Likewise.
827         * loop.c: Likewise.
828         * recog.c: Likewise.
829         * regmove.c: Likewise.
830         * reg-stack.c: Likewise.
831         * reorg.c: Likewise.
832         * rtlanal.c: Likewise.
833         * rtl.h: Likewise.
834         * sched-ebb.c: Likewise.
835         * simplify-rtx.c: Likewise.
836         * toplev.c: Likewise.
837         * varasm.c: Likewise.
838
839 2004-01-06  Kazu Hirata  <kazu@cs.umass.edu>
840
841         * doc/install.texi: Fix typos.
842         * doc/invoke.texi: Likewise.
843         * doc/md.texi: Likewise.
844
845 2004-01-06  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
846
847         * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
848
849 2004-01-06  Jan Hubicka  <jh@suse.cz>
850
851         * i386.c (init_cumulative_args):  Add handling of MMX_REGPARM.
852         (function_arg_advance):  Do not pass aggregates in SSE; deal handling
853         of MMX_REGPARM.
854         (function_arg): Add new warnings about ABI changes;  fix SSE_REGPARM;
855         add MMX_REGPARM.
856         * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
857         (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
858         (MMX_REGPARM_MAX): Similarly for -mmmx.
859
860 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
861
862         * config/sh/linux.h: Fix comment formatting.
863         * config/sh/netbsd-elf.h: Likewise.
864         * config/sh/sh.c: Likewise.
865         * config/sh/sh.h: Likewise.
866         * config/sh/vxworks.h: Likewise.
867
868 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
869
870         * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
871         * toplev.c (output_file_directive): Don't use
872         ASM_OUTPUT_MAIN_SOURCE_FILENAME.
873
874 2004-01-05  Daniel Berlin  <dberlin@dberlin.org>
875
876         * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
877         (USING_MMAP): We don't support non-mmap.
878         (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
879         large objects.
880         (struct page_entry): Remove bytes_free.
881         (struct page_table_chain): Remove.
882         (struct globals): Remove page_table member.
883         (loookup_page_table_entry): Function deleted.
884         (set_page_table_entry): Ditto.
885         (ggc_allocated_p): No longer need page table lookups.
886         (ggc_marked_p): Ditto.
887         (alloc_small_page): Don't care about bytes_free anymore.
888         (alloc_large_page): Round up size.
889         (ggc_alloc_zone_1): Mark large objects as such, and calculate
890         their size the new way.
891         Remove page table lookups and setting.
892         (ggc_get_size): Calculate large object size the new way.
893         (sweep_pages): Redo to account for fact that we no longer have
894         bytes_free.
895         (ggc_collect): No longer need to reincrement bytes_free.
896         (ggc_pch_alloc_object): Handle new large objects properly.
897         (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
898
899 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
900
901         * doc/invoke.texi: Remove a page break.
902
903 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
904
905         * config/avr/avr.c (avr_output_function_prologue): Remove an
906         extra pair of curly braces.
907
908 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
909
910         * config/mn10300/mn10300.c: Fix comment formatting.
911         * config/mn10300/mn10300.h: Likewise.
912
913 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
914
915         * tree.h: Update documentation on nothrow_flag.
916         * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
917         types.
918
919 2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>
920
921         * doc/invoke.texi: Remove traces of dead ports.
922
923 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
924
925         * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
926         option.
927
928 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
929
930         PR target/12945
931         * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
932         counter labels.
933         * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
934         (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
935         string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
936         the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
937         (mips_symbol_insns): Don't trust the local/global classification.
938         (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
939         (override_options): Make -mabicalls -fno-unit-at-a-time imply
940         -mno-explicit-relocs.
941         (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
942         between local and global symbols.
943
944 2004-01-05  Richard Sandiford  <rsandifo@redhat.com>
945
946         * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
947         (mips_preferred_reload_class): Declare.
948         * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
949         (EXTRA_CONSTRAINT): Update accordingly.
950         (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
951         * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
952         (mips_preferred_reload_class): New function.  Prefer LEA_REGS if
953         mips_dangerous_for_la25_p.
954         (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
955         if mips_dangerous_for_la25_p.
956
957 2004-01-05  Bernardo Innocenti  <bernie@develer.com>
958
959         * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
960         warning.
961
962 2004-01-04  Nathanael Nerode  <neroden@gcc.gnu.org>
963
964         * configure.ac: Use AC_PROG_CPP_WERROR.
965         * configure: Regenerate.
966
967 2004-01-04  Zack Weinberg  <zack@codesourcery.com>
968
969         * .cvsignore: Add autom4te.cache.
970
971 2004-01-04  Richard Sandiford  <rsandifo@redhat.com>
972
973         * doc/invoke.texi: Revamp documentation of MIPS options.  Remove
974         -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
975         -m4650, -mfix7000 and -(m)no-crt0.  Put endianness options first,
976         then architecture options, then ABI options.  General rewording.
977
978 2004-01-04  Joseph S. Myers  <jsm@polyomino.org.uk>
979
980         PR c/3414
981         * doc/extend.texi: Clarify definition of malloc attribute.
982
983 2004-01-04  Jan Hubicka  <jh@suse.cz>
984
985         * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
986         * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
987         * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
988         (cgraph_inline_p): Add extra argument reason.
989         * cgraphunit.c: Minor formating fixes.
990         cgraph_first_inlined_callee): New functions.
991         (record_call_1): Record builtins too.
992         (cgraph_analyze_function): Update inline_failed messages.
993         (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
994         cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
995         (cgraph_check_inline_limits): Likewise; Add argument reason.
996         (cgraph_set_inline_failed): New static function.
997         (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
998         reasons.
999         (cgraph_inline_p): Add new argument reason.
1000         * tree-inline.c (expand_call_inline):  Update warning.
1001
1002 2004-01-03  Nathanael Nerode  <neroden@gcc.gnu.org>
1003
1004         * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1005         with modern equivalents.
1006         * configure: Regenerate.
1007
1008         * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1009         * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1010         * configure: Regenerate.
1011
1012         * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1013
1014         * configure.in: Rename to configure.ac.
1015         * configure.ac: Renamed from configure.in; make minimum necessary
1016         changes for autoconf 2.5x.
1017         * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1018         * configure: Regenerate with autoconf 2.57.
1019
1020 2004-01-03  Kazu Hirata  <kazu@cs.umass.edu>
1021
1022         * config/mips/linux.h: Fix comment formatting.
1023         * config/mips/mips.c: Likewise.
1024         * config/mips/mips.h: Likewise.
1025         * config/mips/mips.md: Likewise.
1026         * config/mips/netbsd.h: Likewise.
1027         * config/mips/windiss.h: Likewise.
1028
1029 2004-01-02  Richard Henderson  <rth@redhat.com>
1030
1031         * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1032         for sse and 387; add suppression for mmx.
1033
1034 2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>
1035
1036         * loop.c (loop_optimize): Free all loops_info's mems.
1037
1038         * c-typeck.c (finish_init): Free spelling_base before
1039         setting it again.
1040
1041         * cfgloop.c (flow_loops_find): Always free the sbitmap
1042         headers.
1043
1044         * predict.c (estimate_probability): Free bbs after being
1045         done with it.
1046
1047 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1048
1049         * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1050         const_8bit_operand and call_address_operand.
1051
1052 2004-01-02  Jan Hubicka  <jh@suse.cz>
1053
1054         * cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
1055         when there is nothing to inline but warnings are requested.
1056         (cgraph_decide_inlining):  Fix memory leak.
1057
1058 2004-01-02  Jan Hubicka  <jh@suse.cz>
1059
1060         * expr.c (store_constructor):  Fix pasto in previous patch.
1061
1062 2004-01-02  Kazu Hirata  <kazu@cs.umass.edu>
1063
1064         * config/i386/cygming.h: Fix comment formatting.
1065         * config/i386/djgpp.h: Likewise.
1066         * config/i386/gthr-win32.c: Likewise.
1067         * config/i386/i386-interix.h: Likewise.
1068         * config/i386/i386.c: Likewise.
1069         * config/i386/i386.h: Likewise.
1070         * config/i386/openbsd.h: Likewise.
1071         * config/i386/winnt.c: Likewise.
1072         * config/i386/xm-mingw32.h: Likewise.
1073
1074 2004-01-02  Joseph S. Myers  <jsm@polyomino.org.uk>
1075
1076         * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1077         copyright and last modification dates.
1078
1079 2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>
1080
1081         * doc/install.texi (Specific): Mention x86_64.
1082
1083 2004-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1084
1085         * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1086         Call force_operand on plus_constant result.
1087
1088 2004-01-01  Jan Hubicka  <jh@suse.cz>
1089
1090         * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1091         * expr.c (store_constructor): Use vec_init pattern.
1092         * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1093         * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1094         (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1095         * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1096         New patterns.
1097         (sse2_unpc?pd): Fix pattern.
1098         (sse2_movlpd): Kill.
1099         (sse2_movsd): Deal with movlpd too.
1100         * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1101         (ix86_expand_vector_init): New.
1102         * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1103         * md.texi (vec_set, vec_extract): Document
1104
1105 2003-12-31  Jan Hubicka  <jh@suse.cz>
1106
1107         PR opt/13473
1108         * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
1109         ASM input operands
1110
1111         PR opt/12617
1112         * toplev.c (dump_file_index): Reorder ce3 and bbro.
1113         (dump_file): Likewise.
1114         (rest_of_compilation): Likewise.
1115
1116         PR debug/13367
1117         * cgraph.c (cgraph_function_possibly_inlined):  Even with
1118         flag_really_no_inline we inline always_inline functions.
1119         * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1120         for non-always_inline functions when there is flag_really_no_inline.
1121         (cgraph_decide_inlining): Limit work done when not inlining.
1122         (cgraph_decide_inlining_incrementally): Likewise.
1123         (cgraph_optimize_function): Check whether something got inlined.
1124         * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1125         extern inline functions when not inlining.
1126
1127         * opts.c (decode_options):  Disable crossjumping at -O1
1128         * invoke.texi (-O1): Document change.
1129
1130 See ChangeLog.10 for earlier changes.