OSDN Git Service

* tree-eh.c (replace_goto_queue): Return early if the queue is
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2005-01-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
2
3         * tree-eh.c (replace_goto_queue): Return early if the queue is empty.
4
5 2005-01-04  Uros Bizjak  <uros@kss-loka.si>
6
7         PR target/19240
8         * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH.
9         (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH).
10
11 2005-01-03  Richard Henderson  <rth@redhat.com>
12
13         * fold-const.c (force_fit_type): Cope with types larger than 2 HWI.
14         (fold_convert_const_int_from_int, fold_convert_const_int_from_real,
15         fold_convert_const_real_from_real): Split out from ...
16         (fold_convert_const): ... here.
17
18 2005-01-03  Richard Henderson  <rth@redhat.com>
19
20         PR target/19235
21         * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives.
22         (mov<MMXMODEI>_internal): Likewise.
23         (movdf_nointeger): Prefer Y while not preferring, but allowing, x.
24         Add V2SF case; use it for SSE1; don't use TI.
25         (movdf_integer): Likewise.
26         (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1.
27
28 2005-01-03  Ira Rosen  <irar@il.ibm.com>
29
30         * tree-vectorizer.c (vect_strip_conversions): New function.
31         (vect_analyze_offset_expr): Call vect_strip_conversions. Add
32         check for binary class. 
33
34 2005-01-03  Daniel Berlin  <dberlin@dberlin.org>
35
36         Fix PR debug/17924
37         Fix PR debug/19191
38         * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
39         is a decl.
40         * gimple-low.c (mark_blocks_with_used_vars): New function.
41         (mark_blocks_with_used_subblocks): Ditto.
42         (mark_used_blocks): Ditto.
43         (pass_mark_used_blocks): New pass.
44         * tree-inline.c: Include debug.h.
45         (expand_call_inline): Call outlining_inline_function here.
46         * tree-optimize.c (init_tree_optimization_passes): Add
47         pass_mark_used_blocks. 
48         * tree-pass.h (pass_mark_used_blocks): New.
49         * Makefile.in (tree-inline.o): Add debug.h dependency.
50
51 2005-01-03  Geoffrey Keating  <geoffk@apple.com>
52
53         * config/darwin.c (darwin_handle_weak_import_attribute): Permit
54         VAR_DECLs to have weak_import attribute.
55
56         * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than
57         'struct ucontext'.
58
59 2004-01-03  Steven Bosscher  <stevenb@suse.de>
60
61         * passes.c (rest_of_compilation): Don't run regmove if only
62         flag_expensive_optimizations, require flag_regmove instead.
63
64 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
65
66         * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not
67         register "sparc".
68         * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise.
69         * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
70         * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete.
71         * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
72
73 2005-01-03  Richard Henderson  <rth@redhat.com>
74
75         * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
76         (ia64_const_ok_for_letter_p): New.
77         (ia64_const_double_ok_for_letter_p): New.
78         (ia64_extra_constraint): New.
79         (ia64_expand_vecint_compare): New.
80         (ia64_expand_vcondu_v2si): New.
81         (ia64_expand_vecint_cmov): New.
82         (ia64_expand_vecint_minmax): New.
83         (ia64_print_operand): Add 'v'.
84         (ia64_preferred_reload_class): New.
85         (ia64_vector_mode_supported_p): New.
86         * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
87         (PREFERRED_RELOAD_CLASS): Move to function.
88         (CONST_OK_FOR_LETTER_P): Move to function.
89         (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
90         (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
91         (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
92         (EXTRA_CONSTRAINT): Move to function.
93         * config/ia64/ia64.md: Include vect.md.
94         (itanium_class): Add mmalua.
95         (type): Handle it.
96         * config/ia64/itanium1.md (1_mmalua): New.  Add it to bypasses.
97         (1b_mmalua): New.
98         * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
99         * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
100         CONST0_RTX.
101         (const_int_2bit_operand): New.
102         (fr_reg_or_0_operand): New.
103         * config/ia64/ia64-modes.def: Add vector modes.
104         * config/ia64/ia64-protos.h: Update.
105         * config/ia64/vect.md: New file.
106
107 2005-01-03  Richard Henderson  <rth@redhat.com>
108
109         * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
110
111 2005-01-03  Uros Bizjak  <uros@kss-loka.si>
112
113         PR target/19236
114         * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
115         to SFmode.
116         (log1pdf2): Change mode of operands[0,1] to DFmode.
117
118 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
119
120         * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
121         * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
122         * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
123         * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
124         SPARC_RELAXED_ORDERING.
125
126 2005-01-03  Richard Henderson  <rth@redhat.com>
127             Uros Bizjak  <uros@kss-loka.si>
128
129         PR target/14631
130         * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
131         IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
132         * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
133         handling.
134         (*mmx_pinsrw, *sse2_pinsrw): New patterns.
135         * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
136         const_pow2_1_to_128_operand): New predicates.
137
138 2005-01-02  Greg McGary  <greg@mcgary.org>
139
140         * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
141         anonymous decls.
142         (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
143         object.  [ptr_type]: Remove unused variable.
144         Remember nearest addressable array-element or record-component
145         when checking bitfield components.  Tolerate empty BIND_EXPR.
146
147 2005-01-01  Richard Henderson  <rth@redhat.com>
148
149         * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
150         that don't narrow the value.  Fail for other conversions.
151
152 2005-01-01  Richard Henderson  <rth@redhat.com>
153
154         PR c/19031
155         * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
156         * c-lang.c (finish_file): Don't do it here.
157         * objc/objc-act.c (objc_finish_file): Likewise.
158
159         * cgraph.c (decl_assembler_name_equal): New.
160         (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
161         (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
162         * cgraph.h (struct cgraph_varpool_node): Add next.
163         (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
164         * varasm.c (assemble_alias): Mark the target as needed.
165
166 2005-01-01  Andrew Pinski  <pinskia@physics.uc.edu>
167
168         PR middle-end/19221
169         * function.c (get_arg_pointer_save_area): Use entry_of_function
170         instead of get_insns.
171
172 2005-01-01  Roger Sayle  <roger@eyesopen.com>
173             Andrew Pinski  <pinskia@physics.uc.edu>
174             James E. Wilson  <wilson@specifixinc.com>
175
176         PR rtl-optimization/12092
177         * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
178         is zero.
179
180 2005-01-01  Roger Sayle  <roger@eyesopen.com>
181             Olivier Hainque  <hainque@act-europe.fr>
182
183         * tree.c (int_fits_type_p): A narrower type always fits in a
184         wider one, except for negative values into unsigned types.
185
186 2005-01-01  Roger Sayle  <roger@eyesopen.com>
187
188         * tree.c (int_fits_type_p): Compare the result of force_fit_type
189         with the original constant rather than require TREE_OVERFLOW.
190
191 2005-01-01  Steven Bosscher  <stevenb@suse.de>
192
193         PR middle-end/17544
194         * c-decl.c (finish_function): If compiling C99, annotate the
195         compiler generated return with the current file name and line 0.
196         * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
197         the source line is greater than 0.
198         (remove_bb): Likewise.
199
200 See ChangeLog.12 for earlier changes.