]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
arm.h (TARGET_OPTIONS): Correctly record -mhard-float and -msoft-float in target_floa...
[gcc.git] / gcc / ChangeLog
CommitLineData
712ecf4d
RE
12004-01-05 Richard Earnshaw <rearnsha@arm.com>
2
3 * arm.h (TARGET_OPTIONS): Correctly record -mhard-float and
4 -msoft-float in target_float_switch.
5 * arm.c (arm_override_options): Fix processing of target_float_switch.
6
082cca25
RE
72004-01-05 Richard Earnshaw <rearnsha@arm.com>
8
9 * arm/vfp.md (arm_movsi_vfp): Hide VFP register classes from register
10 preferencing.
11
c2b43d7a
UB
122004-01-05 Uros Bizjak <uros@kss-loka.si>
13
14 * doc/invoke.texi (Intel 386 and AMD x86-64 Options):
15 Replace i387 with 'i386 compiler' in -mfpmath=sse option.
16
e82f5749
RS
172005-01-04 Roger Sayle <roger@eyesopen.com>
18
19 * ifcvt.c (find_if_case_1): Avoid creating an empty forwarder block,
20 if deleting the then-block allows the test-block to fallthru to the
21 else-block.
22
f8f5c4b3
AP
232005-01-04 Andrew Pinski <pinskia@physics.uc.edu>
24
25 PR c/19152
26 * c-decl.c (diagnose_mismatched_decls): Accept "extern inline" declared
27 after the full declaration if the are in two different TUs.
28
292005-01-04 Richard Henderson <rth@redhat.com>
fa588429
RH
30
31 PR tree-opt/19158
32 * tree-sra.c (generate_one_element_init): Just
33 call gimplify_and_add.
34 (generate_element_init): Record the
35 new referenced variables and mark them for renaming
36 and split out to ...
37 (generate_element_init_1): This.
38 (scalarize_init): Don't call push_gimplify_context/
39 pop_gimplify_context.
40
5f0c48ed
GK
412005-01-04 Geoffrey Keating <geoffk@apple.com>
42
43 * toplev.c (get_src_pwd): Handle failure of getpwd().
44
e3523f56
RS
452005-01-04 Roger Sayle <roger@eyesopen.com>
46
47 * fold-const.c (fold_single_bit_test): Delete unreachable handling
48 of TRUTH_NOT_EXPR.
49 (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as
50 all the cases handled by it are inverted by invert_truthvalue.
51
9746bb27
EB
522005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
53
54 * config/sparc/sparc.md (save_register_windowdi): Add missing mode.
55 (save_register_windowsi): Likewise.
56
bfee926b
RH
572005-01-04 Richard Henderson <rth@redhat.com>
58
59 * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
60
21e5076a
UB
612005-01-04 Uros Bizjak <uros@kss-loka.si>
62
63 PR middle-end/17767
64 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
65 any simplifications of vector mode comparison operators.
66 * simplify-rtx.c (simplify_relational_operation): Fix variable name.
67
8ea9d0c7
PB
682005-01-04 Paolo Bonzini <bonzini@gnu.org>
69 Devang Patel <dpatel@apple.com>
70
71 PR tree-optimization/18308
8ea9d0c7
PB
72 * tree-if-conv.c (add_to_dst_predicate_list): Gimplify
73 the operands before creating a new expression.
74 * dojump.c (do_jump): Make drop_through_label available
75 for all cases. Add expansion of COND_EXPR.
76
8c427b58
IR
772005-01-04 Ira Rosen <irar@il.ibm.com>
78
79 * tree-vectorizer.c (vect_analyze_offset_expr): Test for
80 INTEGER_CST instead of TREE_CONSTANT.
81 (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST
82 instead of TREE_CONSTANT.
83 (vect_analyze_pointer_ref_access): Test for INTEGER_CST
84 instead of TREE_CONSTANT.
85
8287d24a
EB
862005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
87
88 * tree-eh.c (replace_goto_queue): Return early if the queue is empty.
89
9e4ae64b
UB
902005-01-04 Uros Bizjak <uros@kss-loka.si>
91
92 PR target/19240
93 * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH.
94 (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH).
95
c756af79
RH
962005-01-03 Richard Henderson <rth@redhat.com>
97
98 * fold-const.c (force_fit_type): Cope with types larger than 2 HWI.
99 (fold_convert_const_int_from_int, fold_convert_const_int_from_real,
100 fold_convert_const_real_from_real): Split out from ...
101 (fold_convert_const): ... here.
102
d30c9461
RH
1032005-01-03 Richard Henderson <rth@redhat.com>
104
105 PR target/19235
106 * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives.
107 (mov<MMXMODEI>_internal): Likewise.
108 (movdf_nointeger): Prefer Y while not preferring, but allowing, x.
109 Add V2SF case; use it for SSE1; don't use TI.
110 (movdf_integer): Likewise.
111 (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1.
112
7d23434b
IR
1132005-01-03 Ira Rosen <irar@il.ibm.com>
114
115 * tree-vectorizer.c (vect_strip_conversions): New function.
116 (vect_analyze_offset_expr): Call vect_strip_conversions. Add
117 check for binary class.
118
1eb3331e
DB
1192005-01-03 Daniel Berlin <dberlin@dberlin.org>
120
121 Fix PR debug/17924
122 Fix PR debug/19191
123 * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
124 is a decl.
125 * gimple-low.c (mark_blocks_with_used_vars): New function.
126 (mark_blocks_with_used_subblocks): Ditto.
127 (mark_used_blocks): Ditto.
128 (pass_mark_used_blocks): New pass.
129 * tree-inline.c: Include debug.h.
130 (expand_call_inline): Call outlining_inline_function here.
131 * tree-optimize.c (init_tree_optimization_passes): Add
132 pass_mark_used_blocks.
133 * tree-pass.h (pass_mark_used_blocks): New.
134 * Makefile.in (tree-inline.o): Add debug.h dependency.
135
a035080c
GK
1362005-01-03 Geoffrey Keating <geoffk@apple.com>
137
d7001ae5
GK
138 * config/darwin.c (darwin_handle_weak_import_attribute): Permit
139 VAR_DECLs to have weak_import attribute.
140
a035080c
GK
141 * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than
142 'struct ucontext'.
143
1ab219d3
SB
1442004-01-03 Steven Bosscher <stevenb@suse.de>
145
146 * passes.c (rest_of_compilation): Don't run regmove if only
147 flag_expensive_optimizations, require flag_regmove instead.
148
e6abef61
EB
1492005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
150
151 * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not
152 register "sparc".
153 * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise.
154 * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
155 * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete.
156 * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
157
f61134e8
RH
1582005-01-03 Richard Henderson <rth@redhat.com>
159
160 * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
161 (ia64_const_ok_for_letter_p): New.
162 (ia64_const_double_ok_for_letter_p): New.
163 (ia64_extra_constraint): New.
164 (ia64_expand_vecint_compare): New.
165 (ia64_expand_vcondu_v2si): New.
166 (ia64_expand_vecint_cmov): New.
167 (ia64_expand_vecint_minmax): New.
168 (ia64_print_operand): Add 'v'.
169 (ia64_preferred_reload_class): New.
170 (ia64_vector_mode_supported_p): New.
171 * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
172 (PREFERRED_RELOAD_CLASS): Move to function.
173 (CONST_OK_FOR_LETTER_P): Move to function.
174 (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
175 (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
176 (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
177 (EXTRA_CONSTRAINT): Move to function.
178 * config/ia64/ia64.md: Include vect.md.
179 (itanium_class): Add mmalua.
180 (type): Handle it.
181 * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses.
182 (1b_mmalua): New.
183 * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
184 * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
185 CONST0_RTX.
186 (const_int_2bit_operand): New.
187 (fr_reg_or_0_operand): New.
188 * config/ia64/ia64-modes.def: Add vector modes.
189 * config/ia64/ia64-protos.h: Update.
190 * config/ia64/vect.md: New file.
191
3198b947
RH
1922005-01-03 Richard Henderson <rth@redhat.com>
193
194 * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
195
088df4c2
UB
1962005-01-03 Uros Bizjak <uros@kss-loka.si>
197
198 PR target/19236
199 * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
200 to SFmode.
201 (log1pdf2): Change mode of operands[0,1] to DFmode.
202
548a6c4f
EB
2032005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
204
205 * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
206 * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
207 * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
208 * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
209 SPARC_RELAXED_ORDERING.
210
0703dceb
RH
2112005-01-03 Richard Henderson <rth@redhat.com>
212 Uros Bizjak <uros@kss-loka.si>
213
214 PR target/14631
215 * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
216 IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
217 * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
218 handling.
219 (*mmx_pinsrw, *sse2_pinsrw): New patterns.
220 * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
221 const_pow2_1_to_128_operand): New predicates.
222
97236777
GM
2232005-01-02 Greg McGary <greg@mcgary.org>
224
225 * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
226 anonymous decls.
227 (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
228 object. [ptr_type]: Remove unused variable.
229 Remember nearest addressable array-element or record-component
230 when checking bitfield components. Tolerate empty BIND_EXPR.
231
155a8213
RH
2322005-01-01 Richard Henderson <rth@redhat.com>
233
234 * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
235 that don't narrow the value. Fail for other conversions.
236
bedb9fc0
RH
2372005-01-01 Richard Henderson <rth@redhat.com>
238
239 PR c/19031
240 * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
241 * c-lang.c (finish_file): Don't do it here.
242 * objc/objc-act.c (objc_finish_file): Likewise.
243
244 * cgraph.c (decl_assembler_name_equal): New.
245 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
246 (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
247 * cgraph.h (struct cgraph_varpool_node): Add next.
248 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
249 * varasm.c (assemble_alias): Mark the target as needed.
250
1cb2fc7b
AP
2512005-01-01 Andrew Pinski <pinskia@physics.uc.edu>
252
253 PR middle-end/19221
254 * function.c (get_arg_pointer_save_area): Use entry_of_function
255 instead of get_insns.
256
0ca5fbc0
RS
2572005-01-01 Roger Sayle <roger@eyesopen.com>
258 Andrew Pinski <pinskia@physics.uc.edu>
259 James E. Wilson <wilson@specifixinc.com>
260
261 PR rtl-optimization/12092
262 * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
263 is zero.
264
91c537b7
RS
2652005-01-01 Roger Sayle <roger@eyesopen.com>
266 Olivier Hainque <hainque@act-europe.fr>
267
268 * tree.c (int_fits_type_p): A narrower type always fits in a
269 wider one, except for negative values into unsigned types.
270
69618c49
RS
2712005-01-01 Roger Sayle <roger@eyesopen.com>
272
273 * tree.c (int_fits_type_p): Compare the result of force_fit_type
274 with the original constant rather than require TREE_OVERFLOW.
275
43e05e45
SB
2762005-01-01 Steven Bosscher <stevenb@suse.de>
277
278 PR middle-end/17544
279 * c-decl.c (finish_function): If compiling C99, annotate the
280 compiler generated return with the current file name and line 0.
281 * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
282 the source line is greater than 0.
283 (remove_bb): Likewise.
284
7a4515d7 285See ChangeLog.12 for earlier changes.
This page took 0.074295 seconds and 5 git commands to generate.