]>
Commit | Line | Data |
---|---|---|
7825308e ILT |
1 | 2005-07-18 Ian Lance Taylor <ian@airs.com> |
2 | ||
3 | PR middle-end/22057 | |
4 | * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder | |
5 | blocks when optimizing. | |
6 | ||
2928d0f8 SE |
7 | 2005-07-18 Steve Ellcey <sje@cup.hp.com> |
8 | ||
9 | * common.opt (frename-registers): Initialize to 2. | |
10 | (fweb): Ditto. | |
11 | (fgcse-after-reload): Ditto. | |
12 | * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. | |
13 | (process_options): Only change flag_web, flag_rename_registers, | |
14 | and flag_rerun_cse_after_loop if not explicitly set by user. | |
15 | ||
28356f52 JB |
16 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
17 | ||
18 | * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, | |
19 | ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode | |
20 | in 64-bit mode the same as DImode in 32-bit mode. | |
21 | (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, | |
22 | ix86_split_lshr): Likewise. Rename to no longer refer to a specific | |
23 | mode. Add new mode parameter. | |
24 | * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. | |
25 | * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, | |
26 | x86_64_shift_adj): New expanders. | |
27 | (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, | |
28 | *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New | |
29 | insns. | |
30 | Respective new splitters. Use renamed shift splitter helpers in 32-bit | |
31 | DImode shift splitters. | |
32 | * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, | |
33 | ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new | |
34 | mode parameter. | |
35 | ||
422edd6f JB |
36 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
37 | ||
38 | * i386.md (movdi_extzv_1): New. | |
39 | (zero_extendhidi2): Combine alternatives and never force use of | |
40 | REX64 prefix. | |
41 | (zero_extendqidi2): Likewise. Don't restrict input selection. | |
42 | ||
c625053b DB |
43 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
44 | ||
45 | Fix PR tree-optimization/22531 | |
46 | * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the | |
47 | moment. | |
48 | ||
3b1355f3 DB |
49 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
50 | ||
51 | * tree-promote-statics.c (pass_promote_statics): Change dump file | |
52 | name. | |
53 | ||
54 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> | |
45159bf6 DB |
55 | |
56 | * tree-optimize.c (init_tree_optimization_passes): Add | |
57 | pass_eliminate_useless_stores pass. | |
58 | * tree-pass.h (pass_eliminate_useless_stores): New pass structure. | |
59 | * tree-ssa-pre.c (is_copy_stmt): New function. | |
60 | (follow_copies_till_vuse): Ditto. | |
61 | (do_eustores): Ditto. | |
62 | (gate_eustores): Ditto. | |
63 | ||
7544a87f RH |
64 | 2005-07-16 Richard Henderson <rth@redhat.com> |
65 | ||
66 | * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. | |
67 | ||
bf0d50f1 KZ |
68 | 2005-07-16 Danny Berlin <dberlin@dberlin.org> |
69 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
70 | ||
71 | * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, | |
72 | ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, | |
73 | ipa-type-escape.h, tree-promote-statics.c | |
74 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, | |
75 | ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, | |
76 | tree-promote-statics.c: new files. | |
77 | * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, | |
78 | nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, | |
79 | int nonlocal_set_p, mark_constant_function): Deleted. | |
80 | (rest_of_handle_cfg): Removed call to mark_constant_function. | |
81 | (nonoverlapping_component_refs_p): Added calls to support | |
82 | type based aliasing. | |
83 | * tree-ssa-alias.c (may_alias_p, | |
84 | compute_flow_insensitive_aliasing): Ditto. | |
85 | * calls.c (flags_from_decl_or_type): Removed reference to | |
86 | cgraph_rtl_info. | |
bf0d50f1 KZ |
87 | * c-typeck.c (convert_arguments): Make builtins tolerant of having |
88 | too many arguments. This is necessary for Spec 2000. | |
89 | * cgraph.h (const_function, pure_function): Removed. | |
90 | * common.opt: Added "fipa-pure-const", "fipa-reference", | |
91 | "fipa-type-escape", and "ftree-promote-static". | |
92 | * opts.c: Ditto. | |
93 | * passes.c: Added ipa and tree-promote-statics passes. | |
94 | * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, | |
95 | TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. | |
bf0d50f1 KZ |
96 | * tree-dfa.c (referenced_var_lookup_if_exists): New function. |
97 | * tree-flow.h: Added exposed sra calls and addition of | |
98 | reference_vars_info field for FUNCTION_DECLS. | |
99 | * tree-pass.h: Added passes. | |
100 | * tree-sra.c: (sra_init_cache): New function. | |
101 | (sra_insert_before, sra_insert_after) Made public. | |
102 | (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p | |
103 | and made public. | |
104 | * tree-ssa-alias.c (dump_alias_stats): Added stats for type based | |
105 | aliasing. (may_alias_p): Added code to use type escape analysis to | |
106 | improve alias sets. | |
107 | * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and | |
108 | code to prune clobbers of static variables based on information | |
109 | produced in ipa-reference pass. Changed call clobbering so that | |
110 | statics are not marked as clobbered if the call does not clobber | |
111 | them. | |
112 | ||
113 | ||
b6e0bdbd DB |
114 | 2005-07-16 Daniel Berlin <dberlin@dberlin.org> |
115 | ||
116 | * tree-ssa-structalias.c (need_to_solve): Need to check for preds, | |
117 | too. | |
118 | ||
2c00bd42 EB |
119 | 2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
120 | ||
121 | * doc/install.texi (*-*-solaris2*): Document recommended version | |
122 | of GNU binutils and mention GNU linker problem on Solaris 10. | |
123 | ||
0b359b01 JM |
124 | 2005-07-16 Joseph S. Myers <joseph@codesourcery.com> |
125 | ||
126 | PR c/22421 | |
127 | * c-decl.c (c_build_bitfield_integer_type): New function. | |
128 | (finish_struct): Call it. | |
129 | * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. | |
130 | ||
8fcef540 KG |
131 | 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
132 | ||
133 | * c-typeck.c (digest_init): Call 'convert_for_assignment' | |
134 | before returning. | |
135 | ||
84fc24e8 JH |
136 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
137 | ||
138 | * cfg.c (update_bb_profile_for_threading): Fix profile updating. | |
139 | (scale_bbs_frequencies_int): Watch roundoff errors. | |
140 | * predict.c (return_prediction): Initialize return_stmt. | |
141 | ||
3258272f JH |
142 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
143 | ||
144 | * profile.c (rest_of_handle_branch_prob): Fix handling of estimation | |
145 | after RTL profiling. | |
146 | ||
01c0a9fa AP |
147 | 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
148 | ||
149 | PR middle-end/22398 | |
150 | * fold-const.c (build_range_check): Convert high/low to etype | |
151 | if we are only comparing against exp. | |
152 | ||
27811bfe DB |
153 | 2005-07-13 Daniel Berlin <dberlin@dberlin.org> |
154 | ||
155 | Fix PR tree-optimization/22376 | |
156 | * tree-ssa-structalias.c (build_constraint_graph): We really meant | |
157 | special var here. | |
158 | (need_to_solve): New function. | |
159 | (compute_points_to_sets): Use it. | |
160 | ||
2b151cb2 JH |
161 | 2005-07-15 Jan Hubicka <jh@suse.cz> |
162 | ||
163 | * cfg.c (update_bb_profile_for_threading): More diagnostic. | |
164 | * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. | |
165 | ||
0691d1d4 RG |
166 | 2005-07-15 Richard Guenther <rguenther@suse.de> |
167 | ||
168 | * c-common.c (handle_flatten_attribute): New function. | |
169 | Add flatten function attribute. | |
170 | * doc/extend.texi: Document flatten function attribute. | |
171 | * Makefile.in (ipa-inline.o): Depend on hashtab.h. | |
172 | * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): | |
173 | New functions. | |
174 | (cgraph_decide_inlining): Handle functions with flatten | |
175 | attribute. | |
176 | ||
9f0076e5 DE |
177 | 2005-07-14 David Edelsohn <edelsohn@gnu.org> |
178 | ||
179 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC, | |
180 | UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG, | |
181 | UNSPEC_XCHG, UNSPEC_AND): New. | |
182 | (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, | |
183 | UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete. | |
184 | * config/rs6000/sync.md (FETCHOP): New code macro. | |
185 | (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr): | |
186 | New code attrs. | |
187 | (memory_barrier, sync_internal): Use unspec instead of unspec_volatile. | |
188 | (sync_compare_and_swap<mode>): Same. | |
189 | (sync_lock_test_and_set<mode>): Same. | |
190 | (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync | |
191 | for QImode and HImode, and not PPC405. | |
192 | (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same. | |
193 | (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same. | |
194 | (sync_<fetchop>{si,di}_internal): New. | |
195 | (sync_nand{si,di}_internal): New. | |
196 | (sync_old_<fetchop>{si,di}_internal): New. | |
197 | (sync_old_nand{si,di}_internal): New | |
198 | (sync_new_<fetchop>{si,di}_internal): New. | |
199 | (sync_new_nand{si,di}_internal): New. | |
200 | (atomic_and{si,di}): New. | |
201 | (sync_new_nand{si,di}_internal): New. | |
202 | (atomic_and{si,di}): New. | |
203 | (sync_add<mode>_internal): Delete. | |
204 | (sync_addshort_internal): Use unspec instead of unspec_volatile. | |
205 | (sync_sub<mode>_internal): Delte. | |
206 | (sync_subshort_internal): New. | |
207 | (sync_andsi_internal): Use unspec instead of unspec_volatile. | |
208 | (sync_anddi_internal): Delete. | |
209 | (sync_boolsi_internal): Use unspec instead of unspec_volatile. | |
210 | (sync_booldi_internal): Delete. | |
211 | (sync_boolc<mode>_internal): Delete. | |
212 | (sync_boolcshort_internal): Use unspec instead of unspec_volatile. | |
213 | (sync_boolc<mode>_internal2): Delete. | |
214 | (sync_boolcc<mode>_internal): Delete. | |
215 | (isync, lwsync): Use unspec instead of unspec_volatile. | |
216 | * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS. | |
217 | Revert UNSPEC_VOLATILE. | |
218 | (rs6000_split_atomic_op): New. | |
219 | * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare. | |
220 | ||
06277571 EC |
221 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
222 | ||
223 | * config/mips/mips.c (mips_canonicalize_comparison): Cast | |
224 | argument of trunc_int_for_mode to unsigned HOST_WIDE_INT. | |
225 | ||
b838c72b EC |
226 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
227 | ||
228 | * config/s390/t-tpf (SHLIB_MAPFILES): Remove. | |
229 | ||
3c341936 SB |
230 | 2005-07-14 Steven Bosscher <stevenb@suse.de> |
231 | ||
232 | PR tree-optimization/22230 | |
233 | * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in | |
234 | the computation of the four cross productions for "range op range". | |
235 | ||
704b6cb5 AO |
236 | 2005-07-14 Alexandre Oliva <aoliva@redhat.com> |
237 | Ulrich Weigand <uweigand@de.ibm.com> | |
238 | ||
239 | PR target/20126 | |
240 | * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV | |
241 | in some insn. | |
242 | ||
a771c4b3 UW |
243 | 2005-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
244 | ||
245 | * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition. | |
246 | ||
6f3113ed SE |
247 | 2005-07-14 Steve Ellcey <sje@cup.hp.com> |
248 | ||
249 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode. | |
250 | ||
cb1119b7 RG |
251 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
252 | ||
253 | PR middle-end/22347 | |
254 | * config/i386/i386-protos.h (ix86_function_value): Change | |
255 | prototype to match new target hook. | |
256 | * config/i386/i386.c (ix86_value_regno): Change prototype | |
257 | to take extra type argument. | |
258 | (TARGET_FUNCTION_VALUE): Define. | |
259 | (ix86_function_ok_for_sibcall): Pass extra argument to | |
260 | ix86_value_regno, check return slot rtx for exact match. | |
261 | (ix86_function_value): Take extra parameter. Dispatch to | |
262 | ix86_value_regno with fndecl/fntype as provided. | |
263 | (ix86_value_regno): Handle extra type argument. | |
264 | * config/i386/i386.h (FUNCTION_VALUE): No longer define. | |
265 | ||
266 | * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. | |
267 | * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. | |
268 | * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. | |
269 | * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. | |
270 | * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. | |
271 | ||
1d636cc6 RG |
272 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
273 | ||
274 | * Makefile.in (explow.o, reg-stack.o): Depend on target.h. | |
275 | * calls.c (expand_call): Pass fntype to hard_function_value. | |
276 | (emit_library_call_value_1): Likewise. | |
277 | * explow.c: Include target.h. | |
278 | (hard_function_value): Take extra argument, the fntype. | |
279 | Use new target hook for function_value. | |
280 | * expr.h (hard_function_value): Change prototype. | |
281 | * function.c (aggregate_value_p): Pass 0 as fntype to | |
282 | hard_function_value. | |
283 | (assign_parms): Use new target hook for function_value. | |
284 | Pass 0 as fntype to hard_function_value. | |
285 | (expand_function_end): Likewise. | |
286 | * reg-stack.c: Include target.h. | |
287 | (stack_result): Use new target hook for function_value. | |
288 | * target-def.h: New target hook function_value. | |
289 | * target.h: Likewise. | |
290 | * targhooks.c (default_function_value): New function. | |
291 | * targhooks.h (default_function_value): Declare. | |
292 | ||
09d8cc0e ILT |
293 | 2005-07-13 Ian Lance Taylor <ian@airs.com> |
294 | ||
295 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
296 | ||
df1f6f31 JH |
297 | 2005-07-14 Jan Hubicka <jh@suse.cz> |
298 | ||
299 | * tree-dfa.c (dump_variable): Use default_def function. | |
300 | * tree-ssa-alias.c (dump_points_to_info): Likewise. | |
301 | * tree-ssa.c (verify_use): Likewise. | |
302 | * tree-ssanames.c (release_ssa_name): Likewise. | |
303 | * tree-tailcall.c (eliminate_tail_call): Likewise. | |
304 | (tree_optimize_tail_calls_1): Likewise. | |
305 | * tree-vrp.c (get_value_range): Likewise. | |
306 | ||
9ef0b1bd BE |
307 | 2005-07-14 Ben Elliston <bje@au.ibm.com> |
308 | ||
309 | * gcc.c (main): Compare language[0] with '*' when iterating over | |
310 | the infiles. | |
311 | ||
69950452 AS |
312 |