]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* toplev.c (get_src_pwd): Handle failure of getpwd().
[gcc.git] / gcc / ChangeLog
CommitLineData
5f0c48ed
GK
12005-01-04 Geoffrey Keating <geoffk@apple.com>
2
3 * toplev.c (get_src_pwd): Handle failure of getpwd().
4
e3523f56
RS
52005-01-04 Roger Sayle <roger@eyesopen.com>
6
7 * fold-const.c (fold_single_bit_test): Delete unreachable handling
8 of TRUTH_NOT_EXPR.
9 (fold): Don't call fold_single_bit_test with a TRUTH_NOT_EXPR, as
10 all the cases handled by it are inverted by invert_truthvalue.
11
9746bb27
EB
122005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
13
14 * config/sparc/sparc.md (save_register_windowdi): Add missing mode.
15 (save_register_windowsi): Likewise.
16
bfee926b
RH
172005-01-04 Richard Henderson <rth@redhat.com>
18
19 * tree-mudflap.c (mf_varname_tree): Fix thinko setting declname.
20
21e5076a
UB
212005-01-04 Uros Bizjak <uros@kss-loka.si>
22
23 PR middle-end/17767
24 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
25 any simplifications of vector mode comparison operators.
26 * simplify-rtx.c (simplify_relational_operation): Fix variable name.
27
8ea9d0c7
PB
282005-01-04 Paolo Bonzini <bonzini@gnu.org>
29 Devang Patel <dpatel@apple.com>
30
31 PR tree-optimization/18308
8ea9d0c7
PB
32 * tree-if-conv.c (add_to_dst_predicate_list): Gimplify
33 the operands before creating a new expression.
34 * dojump.c (do_jump): Make drop_through_label available
35 for all cases. Add expansion of COND_EXPR.
36
8c427b58
IR
372005-01-04 Ira Rosen <irar@il.ibm.com>
38
39 * tree-vectorizer.c (vect_analyze_offset_expr): Test for
40 INTEGER_CST instead of TREE_CONSTANT.
41 (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST
42 instead of TREE_CONSTANT.
43 (vect_analyze_pointer_ref_access): Test for INTEGER_CST
44 instead of TREE_CONSTANT.
45
8287d24a
EB
462005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr>
47
48 * tree-eh.c (replace_goto_queue): Return early if the queue is empty.
49
9e4ae64b
UB
502005-01-04 Uros Bizjak <uros@kss-loka.si>
51
52 PR target/19240
53 * config/i386/i386.md (*fop_df_1_i387): Disable for TARGET_SSE_MATH.
54 (*fop_df_1_i387): Disable for (TARGET_SSE2 && TARGET_SSE_MATH).
55
c756af79
RH
562005-01-03 Richard Henderson <rth@redhat.com>
57
58 * fold-const.c (force_fit_type): Cope with types larger than 2 HWI.
59 (fold_convert_const_int_from_int, fold_convert_const_int_from_real,
60 fold_convert_const_real_from_real): Split out from ...
61 (fold_convert_const): ... here.
62
d30c9461
RH
632005-01-03 Richard Henderson <rth@redhat.com>
64
65 PR target/19235
66 * config/i386/i386.md (movdi_2): Separate SSE1 and SSE2 alternatives.
67 (mov<MMXMODEI>_internal): Likewise.
68 (movdf_nointeger): Prefer Y while not preferring, but allowing, x.
69 Add V2SF case; use it for SSE1; don't use TI.
70 (movdf_integer): Likewise.
71 (mov<SSEMODEI>_internal, movti_internal): Force V4SF for SSE1.
72
7d23434b
IR
732005-01-03 Ira Rosen <irar@il.ibm.com>
74
75 * tree-vectorizer.c (vect_strip_conversions): New function.
76 (vect_analyze_offset_expr): Call vect_strip_conversions. Add
77 check for binary class.
78
1eb3331e
DB
792005-01-03 Daniel Berlin <dberlin@dberlin.org>
80
81 Fix PR debug/17924
82 Fix PR debug/19191
83 * dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
84 is a decl.
85 * gimple-low.c (mark_blocks_with_used_vars): New function.
86 (mark_blocks_with_used_subblocks): Ditto.
87 (mark_used_blocks): Ditto.
88 (pass_mark_used_blocks): New pass.
89 * tree-inline.c: Include debug.h.
90 (expand_call_inline): Call outlining_inline_function here.
91 * tree-optimize.c (init_tree_optimization_passes): Add
92 pass_mark_used_blocks.
93 * tree-pass.h (pass_mark_used_blocks): New.
94 * Makefile.in (tree-inline.o): Add debug.h dependency.
95
a035080c
GK
962005-01-03 Geoffrey Keating <geoffk@apple.com>
97
d7001ae5
GK
98 * config/darwin.c (darwin_handle_weak_import_attribute): Permit
99 VAR_DECLs to have weak_import attribute.
100
a035080c
GK
101 * config/rs6000/darwin-fallback.c: Use 'ucontext_t' rather than
102 'struct ucontext'.
103
1ab219d3
SB
1042004-01-03 Steven Bosscher <stevenb@suse.de>
105
106 * passes.c (rest_of_compilation): Don't run regmove if only
107 flag_expensive_optimizations, require flag_regmove instead.
108
e6abef61
EB
1092005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
110
111 * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not
112 register "sparc".
113 * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise.
114 * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
115 * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete.
116 * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
117
f61134e8
RH
1182005-01-03 Richard Henderson <rth@redhat.com>
119
120 * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New.
121 (ia64_const_ok_for_letter_p): New.
122 (ia64_const_double_ok_for_letter_p): New.
123 (ia64_extra_constraint): New.
124 (ia64_expand_vecint_compare): New.
125 (ia64_expand_vcondu_v2si): New.
126 (ia64_expand_vecint_cmov): New.
127 (ia64_expand_vecint_minmax): New.
128 (ia64_print_operand): Add 'v'.
129 (ia64_preferred_reload_class): New.
130 (ia64_vector_mode_supported_p): New.
131 * config/ia64/ia64.h (UNITS_PER_SIMD_WORD): New.
132 (PREFERRED_RELOAD_CLASS): Move to function.
133 (CONST_OK_FOR_LETTER_P): Move to function.
134 (CONST_DOUBLE_OK_FOR_LETTER_P): Move to function.
135 (CONSTRAINT_OK_FOR_Q, CONSTRAINT_OK_FOR_R): Remove.
136 (CONSTRAINT_OK_FOR_S, CONSTRAINT_OK_FOR_T): Remove.
137 (EXTRA_CONSTRAINT): Move to function.
138 * config/ia64/ia64.md: Include vect.md.
139 (itanium_class): Add mmalua.
140 (type): Handle it.
141 * config/ia64/itanium1.md (1_mmalua): New. Add it to bypasses.
142 (1b_mmalua): New.
143 * config/ia64/itanium2.md (2_mmalua, 2b_mmalua): Similarly.
144 * config/ia64/predicates.md (gr_reg_or_0_operand): Accept any
145 CONST0_RTX.
146 (const_int_2bit_operand): New.
147 (fr_reg_or_0_operand): New.
148 * config/ia64/ia64-modes.def: Add vector modes.
149 * config/ia64/ia64-protos.h: Update.
150 * config/ia64/vect.md: New file.
151
3198b947
RH
1522005-01-03 Richard Henderson <rth@redhat.com>
153
154 * simplify-rtx.c (simplify_binary_operation): Handle VEC_CONCAT.
155
088df4c2
UB
1562005-01-03 Uros Bizjak <uros@kss-loka.si>
157
158 PR target/19236
159 * config/i386/i386.c (log1psf2): Change mode of operands[0,1]
160 to SFmode.
161 (log1pdf2): Change mode of operands[0,1] to DFmode.
162
548a6c4f
EB
1632005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
164
165 * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Define to false.
166 * config/sparc/linux.h (SPARC_RELAXED_ORDERING): Define to true.
167 * config/sparc/linux64.h (SPARC_RELAXED_ORDERING): Likewise.
168 * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define to
169 SPARC_RELAXED_ORDERING.
170
0703dceb
RH
1712005-01-03 Richard Henderson <rth@redhat.com>
172 Uros Bizjak <uros@kss-loka.si>
173
174 PR target/14631
175 * config/i386/i386.c (ix86_expand_builtin): [IX86_BUILTIN_PINSRW,
176 IX86_BUILTIN_PINSRW128]: Fix wrong selector range in error message.
177 * config/i386/i386.md (mmx_pinsrw, sse2_pinsrw): Fix selector
178 handling.
179 (*mmx_pinsrw, *sse2_pinsrw): New patterns.
180 * config/i386/i386/predicates.md (const_pow2_1_to_8_operand,
181 const_pow2_1_to_128_operand): New predicates.
182
97236777
GM
1832005-01-02 Greg McGary <greg@mcgary.org>
184
185 * tree-mudflap.c (mf_varname_tree): decl_printable_name handles
186 anonymous decls.
187 (mf_xform_derefs_1) [RESULT_DECL, STRING_CST]: Handle as innermost
188 object. [ptr_type]: Remove unused variable.
189 Remember nearest addressable array-element or record-component
190 when checking bitfield components. Tolerate empty BIND_EXPR.
191
155a8213
RH
1922005-01-01 Richard Henderson <rth@redhat.com>
193
194 * tree-vectorizer.c (vect_analyze_offset_expr): Strip conversions
195 that don't narrow the value. Fail for other conversions.
196
bedb9fc0
RH
1972005-01-01 Richard Henderson <rth@redhat.com>
198
199 PR c/19031
200 * c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
201 * c-lang.c (finish_file): Don't do it here.
202 * objc/objc-act.c (objc_finish_file): Likewise.
203
204 * cgraph.c (decl_assembler_name_equal): New.
205 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
206 (cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
207 * cgraph.h (struct cgraph_varpool_node): Add next.
208 (cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
209 * varasm.c (assemble_alias): Mark the target as needed.
210
1cb2fc7b
AP
2112005-01-01 Andrew Pinski <pinskia@physics.uc.edu>
212
213 PR middle-end/19221
214 * function.c (get_arg_pointer_save_area): Use entry_of_function
215 instead of get_insns.
216
0ca5fbc0
RS
2172005-01-01 Roger Sayle <roger@eyesopen.com>
218 Andrew Pinski <pinskia@physics.uc.edu>
219 James E. Wilson <wilson@specifixinc.com>
220
221 PR rtl-optimization/12092
222 * loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
223 is zero.
224
91c537b7
RS
2252005-01-01 Roger Sayle <roger@eyesopen.com>
226 Olivier Hainque <hainque@act-europe.fr>
227
228 * tree.c (int_fits_type_p): A narrower type always fits in a
229 wider one, except for negative values into unsigned types.
230
69618c49
RS
2312005-01-01 Roger Sayle <roger@eyesopen.com>
232
233 * tree.c (int_fits_type_p): Compare the result of force_fit_type
234 with the original constant rather than require TREE_OVERFLOW.
235
43e05e45
SB
2362005-01-01 Steven Bosscher <stevenb@suse.de>
237
238 PR middle-end/17544
239 * c-decl.c (finish_function): If compiling C99, annotate the
240 compiler generated return with the current file name and line 0.
241 * tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
242 the source line is greater than 0.
243 (remove_bb): Likewise.
244
7a4515d7 245See ChangeLog.12 for earlier changes.
This page took 0.073628 seconds and 5 git commands to generate.