]>
Commit | Line | Data |
---|---|---|
5d3018ce RH |
1 | 2005-08-31 Richard Henderson <rth@redhat.com> |
2 | ||
3 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for | |
4 | fp return matching. | |
5 | ||
dc38a610 FJ |
6 | 2005-08-31 Fariborz Jahanian <fjahanian@apple.com> |
7 | ||
8 | * expr.c (expand_expr_real_1): Compare size of address | |
9 | mode to target's address mode size in deciding expansion of | |
10 | the constant address. | |
11 | ||
c5250139 RG |
12 | 2005-08-31 Richard Guenther <rguenther@suse.de> |
13 | ||
14 | PR middle-end/23477 | |
15 | * expr.c (all_zeros_p): New function. | |
16 | (expand_expr_real_1): Handle the case of an all-zero | |
17 | non-addressable constructor separately. | |
18 | ||
ab173928 AS |
19 | 2005-08-31 Adrian Straetling <straetling@de.ibm.com> |
20 | ||
21 | * builtins.c: (expand_builtin_strcpy, expand_builtin_strcat): Change | |
22 | arguments, adjust all callers. | |
23 | (expand_builtin_strcat): Rewrite to call strcpy instead of mempcpy. | |
24 | ||
fabaaf36 RH |
25 | 2005-08-30 Richard Henderson <rth@redhat.com> |
26 | ||
27 | PR target/23630 | |
28 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Use gen_lowpart | |
29 | whenever the mode sizes match. | |
30 | ||
40b0345d AM |
31 | 2005-08-31 Alan Modra <amodra@bigpond.net.au> |
32 | ||
33 | * calls.c (load_register_parameters): Fix comment typo. | |
34 | * expr.c (emit_push_insn): Comment formatting. | |
35 | ||
c2e493dc ILT |
36 | 2005-08-30 Ian Lance Taylor <ian@airs.com> |
37 | ||
38 | * config/i386/x-cygwin (host-cygwin): Change dependency from | |
39 | hosthooks-def.h to $(HOSTHOOKS_DEF_H). | |
40 | ||
9fc5fa7b GK |
41 | 2005-08-29 Geoffrey Keating <geoffk@apple.com> |
42 | ||
43 | * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify | |
44 | parts of 'vals'. | |
45 | ||
f471f0fc | 46 | 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu> |
57247f4b AP |
47 | |
48 | PR middle-end/23408 | |
49 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the | |
50 | call to ggc_collect. | |
51 | ||
f471f0fc | 52 | 2005-08-29 Paolo Bonzini <bonzini@gnu.org> |
3a6ebcdc PB |
53 | |
54 | PR bootstrap/21268 | |
55 | * Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the | |
56 | beginning. Remove $(INCLUDES) from all the rules, if following | |
57 | $(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS). | |
58 | ||
f28d3046 JJ |
59 | 2005-08-29 Jakub Jelinek <jakub@redhat.com> |
60 | ||
61 | PR middle-end/23484 | |
62 | * builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk, | |
63 | fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is | |
64 | not constant, but maxlen is, don't set len to maxlen, rather | |
65 | set maxlen to len if len is a constant. | |
66 | ||
37261a5c ZD |
67 | 2005-08-29 Zdenek Dvorak <dvorakz@suse.cz> |
68 | ||
69 | PR tree-optimization/23475 | |
70 | * tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies | |
71 | and counts. | |
72 | ||
46c5394b DB |
73 | 2005-08-28 Daniel Berlin <dberlin@dberlin.org> |
74 | ||
75 | Fix PR middle-end/22455 | |
76 | ||
77 | * fold-const.c (fold_checksum_tree): Adjust for now-largest tree size. | |
78 | Checksum only the parts of the tree that exist for the tree code. | |
79 | ||
ea407814 DJ |
80 | 2005-08-28 Dale Johannesen <dalej@apple.com> |
81 | ||
82 | * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. | |
83 | ||
87e71ff4 AP |
84 | 2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> |
85 | ||
86 | * tree-vrp.c: Remove obsolete comment in front of vrp_initialize. | |
87 | ||
490272b4 RH |
88 | 2005-08-28 Richard Henderson <rth@redhat.com> |
89 | ||
90 | * stor-layout.c (finalize_type_size): Revert workaround from 08-26. | |
91 | * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment | |
92 | of char_type_node. | |
93 | ||
a6017253 JJ |
94 | 2005-08-28 Jakub Jelinek <jakub@redhat.com> |
95 | ||
96 | PR ada/23593 | |
97 | * builtins.c (get_memory_rtx): Don't strip nops | |
98 | in between COMPONENT_REFs. | |
99 | ||
412f8986 AP |
100 | 2005-08-27 Andrew Pinski <pinskia@physics.uc.edu> |
101 | ||
102 | PR middle-end/23463 | |
103 | * gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized | |
104 | types. | |
105 | (gimplify_modify_expr): Check for zero sized types and gimplify the | |
106 | rhs and lhs as statements. | |
107 | ||
147a8fb1 JDA |
108 | 2005-08-27 John David Anglin <dave.anflin@nrc-cnrc.gc.ca> |
109 | ||
110 | PR libgcj/23508 | |
111 | * pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame | |
112 | state for return address column of signal frames. | |
113 | ||
ec53fc93 DE |
114 | 2005-08-27 David Edelsohn <edelsohn@gnu.org> |
115 | ||
116 | PR target/23539 | |
fabaaf36 RH |
117 | * config/rs6000/rs6000.c (expand_block_clear): Use HImode when |
118 | bytes >= 2 not bytes == 2. | |
ec53fc93 DE |
119 | (expand_block_move): Same. |
120 | ||
f013cadc RG |
121 | 2005-08-27 Richard Guenther <rguenther@suse.de> |
122 | ||
123 | PR target/23575 | |
124 | * config/i386/sse.md (sse2_movsd): Add missing closing | |
125 | braces. | |
126 | ||
0cd6c85a PB |
127 | 2005-08-27 Paul Brook <paul@codesourcery.com> |
128 | ||
129 | * genrecog.c (enum decision_type): Add DT_num_insns. | |
130 | (struct decision_test): Add u.num_insns. | |
131 | (add_to_sequence): Add DT_num_insns test. | |
132 | (maybe_both_true_2, nodes_identical_1): Handle DT_num_insns. | |
133 | (write_cond, debug_decision_2): Ditto. | |
134 | (change_state): Assume peep2_next_insn never fails. | |
135 | Remove "afterward" argument. | |
136 | (write afterward, write_tree): Update to match. | |
137 | * recog.c (peep2_current_count): New variable. | |
138 | (peep2_next_insn): Check it. | |
139 | (peephole2_optimize): Set peep2_current_count. | |
140 | * recog.h (peep2_current_count): Declare. | |
141 | ||
1b0d2d17 JC |
142 | 2005-08-26 Josh Conner <jconner@apple.com> |
143 | ||
144 | PR middle-end/23584 | |
145 | * ipa-pure-const.c (check_tree): Check for volatile-ness | |
146 | when considering a dereference. | |
147 | ||
24b7d7c3 JJ |
148 | 2005-08-27 Jakub Jelinek <jakub@redhat.com> |
149 | ||
150 | * rtl.h (MEM_IN_STRUCT_P): Fix comment typo. | |
151 | ||
435bb2a1 JJ |
152 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
153 | ||
154 | PR rtl-optimization/23561 | |
155 | * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is | |
156 | a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless | |
157 | at most LEN bytes long memory fits into the field. | |
158 | (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, | |
159 | expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, | |
160 | expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. | |
161 | ||
52e772ba RH |
162 | 2005-08-26 Richard Henderson <rth@redhat.com> |
163 | ||
164 | PR rtl-opt/23560 | |
165 | * loop.c (biased_biv_may_wrap_p): New. | |
166 | (maybe_eliminate_biv_1): Use it to suppress non-equality | |
167 | comparison transformations. Delete disabled code. | |
168 | ||
8f34bde6 ILT |
169 | 2005-08-26 Ian Lance Taylor <ian@airs.com> |
170 | ||
171 | * combine.c (make_extraction): Avoid reference outside object. | |
172 | ||
d6cde480 R |
173 | 2005-08-26 J"orn Rennecke <joern.rennecke@st.com> |
174 | ||
175 | * stor-layout.c (finalize_type_size): Restore behaviour for | |
176 | non-aggregate types to the status quo ante of the patch for | |
177 | pr 23467. Document why it matters. | |
178 | ||
39627fed JJ |
179 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
180 | ||
181 | PR c/23506 | |
182 | * c-common.c (c_common_nodes_and_builtins): Increase builtin_types | |
183 | array by one element, initialize the BT_LAST element with NULL. | |
184 | ||
297abd0d DE |
185 | 2005-08-26 David Edelsohn <edelsohn@gnu.org> |
186 | ||
187 | * config/rs6000/rs6000.md (eq<mode>_compare): Only enable when | |
188 | optimizing for size. | |
189 | (plus_eqsi): Same. | |
190 | (compare_plus_eqsi): Same. | |
191 | (plus_eqsi_compare): Same. | |
192 | (neg_eq0<mode>): Same. | |
193 | (neg_eq<mode>): Same. | |
194 | ||
195 | * config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to | |
196 | PROCESSOR_POWER4. | |
197 | ||
2ec6cd51 NC |
198 | 2005-08-26 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | * config/v850/v850.c (ep_memory_operand): Return FALSE if | |
201 | TARGET_EP is not defined. | |
202 | * config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if | |
203 | TARGET_EP is enabled. | |
204 | (OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing. | |
205 | * config/v850/v850.md (save_all_interrupt): Only use the EP | |
206 | register if TARGET_EP is defined. | |
207 | (restore_all_interrupt): Likewise. | |
208 | * config/v850/lib1funcs.asm: Update functions so that the EP | |
209 | register is only used if __EP__ is defined. | |
210 | ||
e296c00c DU |
211 | 2005-08-26 David Ung <davidu@mips.com> |
212 | ||
213 | * config/mips/mips.c (mips_expand_prologue): Handle case when | |
214 | generating for MIPS16 and the outgoing argument area is more than | |
215 | SMALL_OPERAND. Use the frame pointer as temporary to generate the | |
216 | add instruction. | |
217 | ||
55d61dba PW |
218 | 2005-08-26 Paul Woegerer <paul.woegerer@nsc.com> |
219 | ||
220 | * config/crx/crx.md: Make doloop_end pattern usage controllable | |
221 | via mloop-nesting=<max-nesting> command line switch. Make sure | |
222 | the combiner cannot use doloop_end_<mode> in an illegal way. | |
223 | * config/crx/crx.c: Use regs up to r6 for argument passing. | |
224 | Refine crx_address_cost (non cst4 displacements are expensive). | |
225 | * config/crx/crx.opt: Add switch for mloop-nesting=. | |
226 | ||
742090fc AS |
227 | 2005-08-26 Adrian Straetling <straetling@de.ibm.com> |
228 | ||
229 | * config/s390/s390.md: ("movstr", "*movstr"): Add patterns. | |
230 | (UNSPEC_MVST): New constant. | |
231 | ||
db21e1d0 AK |
232 | 2005-08-26 Andreas Krebbel <krebbel1@de.ibm.com> |
233 | ||
234 | * config/s390/predicates.md ("shift_count_operand", "setmem_operand"): | |
235 | Reject operands containing eliminable registers. | |
236 | * testsuite/gcc.dg/20050825-1.c: New testcase. | |
237 | ||
0621d71a PB |
238 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
239 | Jan Hubicka <jh@suse.cz> | |
240 | ||
241 | * regmove.c (reg_is_remote_constant_p): Reorganize to not use log links. | |
242 | ||
e2889823 PB |
243 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
244 | ||
245 | PR tree-optimization/23546 | |
246 | * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST | |
247 | and REAL_CST nodes. | |
248 | ||
6f48c21a PS |
249 | 2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com> |
250 | ||
251 | * params.def (PARAM_MIN_SPEC_PROB): New. | |
252 | * sched-rgn.c (MIN_PROBABILITY): Delete. | |
253 | (compute_trg_info): Convert to PARAM_VALUE. | |
254 | * doc/invoke.texi (param): Document min-spec-prob. | |
255 | ||
1a1e6a9d FJ |
256 | 2005-08-24 Fariborz Jahanian <fjahanian@apple.com> |
257 | ||
258 | * config/darwin.h: define __PIC__ | |
259 | * config/rs6000/darwin.h: Add SUBTARGET_OS_CPP_BUILTINS to | |
260 | TARGET_OS_CPP_BUILTINS macro. | |
261 | ||
130869aa PB |
262 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
263 | ||
264 | * config/rs6000/rs6000.md: Fix thinko in the peephole2 I added | |
265 | yesterday. | |
266 | ||
b9a66240 ZD |
267 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
268 | ||
269 | * bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument | |
270 | to duplicate_block. | |
271 | * cfghooks.c (duplicate_block): Added position where to place | |
272 | new block as argument. | |
273 | * cfghooks.h (duplicate_block): Declaration changed. | |
274 | * cfglayout.c (copy_bbs): Add argument after. Pass it to | |
275 | duplicate_block. | |
276 | * cfglayout.h (copy_bbs): Declaration changed. | |
277 | * cfgloop.h (loop_version): Declaration changed. | |
278 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Pass | |
279 | position to copy_bbs. | |
280 | (loop_version): Pass position to duplicate_loop_to_header_edge. | |
281 | Add place_after argument and position new blocks according to | |
282 | it. | |
283 | * modulo-sched.c (sms_schedule): Pass place_after argument | |
284 | to loop_version. | |
285 | * tracer.c (tail_duplicate): Pass argument to duplicate_block. | |
286 | * tree-cfg.c (split_edge_bb_loc): New function. | |
287 | (tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc | |
288 | to determine position of new blocks. | |
289 | * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument | |
290 | to loop_version. | |
291 | * tree-ssa-threadupdate.c (create_block_for_threading): Pass | |
292 | argument to duplicate_block. | |
293 | * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
294 | Pass position to copy_bbs. | |
295 | ||
87de2376 ZD |
296 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
297 | ||
298 | * fold-const.c (ptr_difference_const): Use | |
299 | cst_and_fits_in_hwi instead of host_integerp. | |
300 | ||
14a07c92 PB |
301 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
302 | ||
303 | * config/darwin.c (gen_pic_offset): New. | |
304 | (machopic_indirect_data_reference, machopic_legitimize_pic_address): | |
305 | Use it. | |
306 | ||
d49195a3 ZD |
307 | 2005-08-23 Zdenek Dvorak <dvorakz@suse.cz> |
308 | ||
309 | PR tree-optimization/23486 | |
310 | * tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals. | |
311 | ||
2eab15c9 PE |
312 | 2005-08-23 Phil Edwards <phil@codesourcery.com> |
313 | ||
314 | * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, | |
315 | remove use_collect2. | |
316 | (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. | |
317 | ||
318 | * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target | |
319 | configuration files to override the default value. | |
320 | ||
321 | * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, | |
322 | EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS. | |
323 | * config/vx-common.h: New file, split out from... | |
324 | * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. | |
325 | * config/vxworksae.h: New file, for VxWorks AE. | |
326 | * config/vxworks.opt: New file. | |
327 | * config/vxlib.c: Update for VxWorks 6. | |
328 | ||
329 | * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust | |
330 | other MULTILIB_* variables appropriately. | |
331 | (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. | |
332 | * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. | |
333 | * config/rs6000/vxworks.h: Update for VxWorks 6. | |
334 | * config/rs6000/vxworksae.h: New file, mostly placeholder for now. | |
335 | ||
2501b167 AP |
336 | 2005-08-23 Andrew Pinski <pinskia@physics.uc.edu> |
337 | ||
338 | PR target/20799 | |
339 | * config/darwin.c (machopic_select_section): Remove the hack to | |
340 | mark "::operator new" and "::operator delete" for coalescing | |
341 | even though they are not weak. | |
342 | ||
d82bf747 AM |
343 | 2005-08-24 Alan Modra <amodra@bigpond.net.au> |
344 | ||
345 | * configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch. | |
346 | * configure: Regenerate. | |
347 | ||
4d3c798d PB |
348 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
349 | ||
350 | PR middle-end/23517 | |
351 | * fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert | |
352 | between vectors. | |
353 | * convert.c (convert_to_integer, convert_to_vector): Likewise. | |
354 | * tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1): | |
355 | Likewise. | |
356 | ||
28d0e143 PB |
357 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
358 | ||
359 | * config/rs6000/predicates.md (equality_operator): New. | |
360 | * config/rs6000/rs6000.md: Rewrite as a peephole2 the split for | |
361 | comparison with a large constant. | |
362 | ||
6194fd98 MM |
363 | 2005-08-23 Mark Mitchell <mark@codesourcery.com> |
364 | ||
365 | * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT. | |
366 | ||
39d67d5b R |
367 | 2005-08-23 J"orn Rennecke <joern.rennecke@st.com> |
368 | ||
a11c004b R |
369 | * sh.c (sh_builtin_saveregs): If the number of to-be-saved fp |
370 | registers is even, and we have a hardware double precision fp, | |
371 | align the buffer. | |
372 | (sh_gimplify_va_arg_expr): For floating point arguments, consider | |
373 | size of current argument when checking if argument was passed in | |
374 | registers. | |
375 | ||
376 | * sh.c (sh_attr_renesas_p): Handle error_mark_node. | |
377 | ||
39d67d5b R |
378 | PR middle-end/23467 |
379 | * stor-layout.c (finalize_type_size): Dont override | |
380 | existing alignment with a smaller alignment from the mode. | |
381 | ||
37b8a73b SP |
382 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
383 | ||
384 | * lambda-code.c (lambda_vector_lexico_pos): Moved... | |
385 | * lambda.h (lambda_vector_lexico_pos): ... here. | |
386 | * tree-data-ref.c (build_classic_dist_vector): Return false when | |
387 | the distance vector is lexicographically negative. | |
388 | ||
ce8f9416 SP |
389 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
390 | ||
391 | PR tree-optimization/23511 | |
392 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't | |
393 | handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE. | |
394 | ||
73ed17ff JJ |
395 | 2005-08-23 Jakub Jelinek <jakub@redhat.com> |
396 | ||
397 | PR tree-optimization/22043 | |
398 | * tree.h (count_type_elements): Add ALLOW_FLEXARR argument. | |
399 | * expr.c (count_type_elements): Add ALLOW_FLEXARR argument. | |
400 | If ALLOW_FLEXARR, handle types ending with flexible array member. | |
401 | Pass false as second argument to recursive count_type_elements calls. | |
402 | (categorize_ctor_elements_1, mostly_zeros_p): Pass false as second | |
403 | argument to count_type_elements call. | |
404 | * tree-sra.c (decide_block_copy): Likewise. | |
405 | * gimplify.c (gimplify_init_constructor): If num_type_elements < 0 | |
406 | for a constant-sized object, set cleared as well. Pass true as | |
407 | second argument to count_type_elements call. | |
408 | ||
18b10a72 AM |
409 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
410 | ||
411 | PR target/21571 | |
412 | * config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename | |
413 | from legitimate_small_data_p, and make global. Update use. | |
414 | Remove forward declaration. | |
415 | * config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p): | |
416 | Declare. | |
417 | * config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems. | |
418 | ||
d0515b39 DE |
419 | 2005-08-23 David Edelsohn <edelsohn@gnu.org> |
420 | ||
421 | * config/rs6000/rs6000.md (eq<mode>): Use output operand instead | |
422 | of scratch intermediates. | |
423 | (eq<mode>_compare): Same. | |
424 | (neg_eq0<mode>): New. | |
425 | (neg_eq<mode>): Convert to define_insn_and_split. | |
426 | ||
c1fa753e AM |
427 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
428 | ||
429 | PR target/23070 | |
430 | * config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to | |
431 | stdarg functions, set/clear the fp marker even when no variable | |
432 | args are passed. | |
433 | * config/rs6000/sysv4.opt (mprototype): Describe. | |
434 | ||
27004606 JJ |
435 | 2005-08-22 Jakub Jelinek <jakub@redhat.com> |
436 | ||
437 | PR rtl-optimization/23478 | |
438 | * regs.h (reg_info): Add throw_calls_crossed. | |
439 | (REG_N_THROWING_CALLS_CROSSED): Define. | |
440 | * flow.c (allocate_reg_life_data): Initialize | |
441 | REG_N_THROWING_CALLS_CROSSED. | |
442 | (propagate_one_insn, attempt_auto_inc): Update | |
443 | REG_N_THROWING_CALLS_CROSSED. | |
444 | * global.c (global_alloc): Don't allocate pseudos across | |
445 | calls that may throw. | |
446 | ||
201ae393 AP |
447 | 2005-08-22 Andrew Pinski <pinskia@physics.uc.edu> |
448 | ||
449 | PR c/18715 | |
450 | * c-common.c (c_do_switch_warnings): Look for a node where the enum's | |
451 | value is inbetween the range if we did not find an exact match. | |
452 | ||
c85ba4fb AH |
453 | 2005-08-22 Aldy Hernandez <aldyh@redhat.com> |
454 | ||
455 | * doc/invoke.texi (Option Summary): Add ms1 options. | |
456 | * doc/extend.texi: Document interrupt handler attribute for ms1. | |
457 | * doc/md.texi: Document ms1 constraints. | |
458 | * config.gcc: Add ms1-*-elf. | |
459 | * config/ms1/ms1.h: New. | |
460 | * config/ms1/ms1.c: New. | |
461 | * config/ms1/ms1.md: New. | |
462 | * config/ms1/ms1-protos.h: New. | |
463 | * config/ms1/ABI.txt: New. | |
464 | * config/ms1/crti.asm: New. | |
465 | * config/ms1/crtn.asm: New. | |
466 | * config/ms1/lib2extra-funcs.c: New. | |
467 | * config/ms1/t-ms1: New. | |
468 | * config/ms1/ms1.opt: New. | |
469 | ||
70a39602 IR |
470 | 2005-08-22 Ira Rosen <irar@il.ibm.com> |
471 | ||
472 | * config/rs6000/altivec.md (xorv4sf3): New. | |
473 | (negv4sf2, neg<mode>2): Likewise. | |
474 | ||
85199961 L |
475 | 2005-08-21 H.J. Lu <hongjiu.lu@intel.com> |
476 | ||
477 | PR target/23485 | |
478 | * config/ia64/ia64.md (divsi3): Check divide by zero. | |
479 | (udivsi3): Likewise. | |
480 | (divdi3): Likewise. | |
481 | (udivdi3): Likewise. | |
482 | ||
1125164c JJ |
483 | 2005-08-21 Jakub Jelinek <jakub@redhat.com> |
484 | ||
485 | * simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear | |
486 | up to elem_bitsize bits, not max_bitsize. | |
487 | ||
3c0c8f9d SP |
488 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
489 | ||
490 | PR tree-optimization/23433 | |
85199961 L |
491 | * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a |
492 | REAL_CST when the type is SCALAR_FLOAT_TYPE_P. | |
3c0c8f9d | 493 | |
a1596edc SP |
494 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
495 | ||
496 | PR tree-optimization/23434 | |
85199961 L |
497 | * tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when |
498 | the iteration bound is not an INTEGER_CST. | |
a1596edc | 499 | |
429268fc DN |
500 | 2005-08-21 Dorit Nuzman <dorit@il.ibm.com> |
501 | ||
502 | * tree-vect-transform.c (get_initial_def_for_reduction): Set | |
503 | need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to | |
504 | NULL if need_epilog_adjust is false. | |
505 | (vect_create_epilog_for_reduction): Variable adjust_in_epilog removed. | |
506 | Case 3 always peels first itration, not just for PLUS case, and no need | |
507 | to use scalar_initial_def here. Create an epilog adjustment only if | |
508 | scalar_initial_def is not NULL. | |
509 | ||
510 | (vectorizable_reduction): Remove assert. | |
511 | ||
eea1d14a L |
512 | 2005-08-20 H.J. Lu <hongjiu.lu@intel.com> |
513 | ||
514 | PR target/23485 | |
515 | * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero. | |
516 | (__moddi3): Likewise. | |
517 | (__udivdi3): Likewise. | |
518 | (__umoddi3): Likewise. | |
519 | (__divsi3): Likewise. | |
520 | (__modsi3): Likewise. | |
521 | (__udivsi3): Likewise. | |
522 | (__umodsi3): Likewise. | |
523 | ||
5e34206b JJ |
524 | 2005-08-20 Jakub Jelinek <jakub@redhat.com> |
525 | ||
526 | * tree-pass.h (TDF_GRAPH): Define. | |
527 | * tree-dump.c (dump_options): Don't set TDF_GRAPH in "all". | |
528 | * passes.c (finish_optimization_passes): Only call | |
529 | finish_graph_dump_file if TDF_GRAPH is set. | |
530 | (execute_one_pass): Only call clean_graph_dump_file if dump_file != | |
531 | NULL. Set TDF_GRAPH bit. | |
532 | (execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set. | |
533 | ||
2591db65 RE |
534 | 2005-08-20 Richard Earnshaw <richard.earnshaw@arm.com> |
535 | ||
536 | * arm.h (arm_stack_offsets): Add locals_base field. | |
537 | * arm.c (arm_get_frame_offsets): Compute it. | |
538 | (thumb_compute_initial_elimination offset): Make the Thumb frame | |
539 | pointer point to the base of the local variables. | |
540 | (thumb_expand_prologue): Update accordingly. | |
541 | (thumb_expand_epilogue): Likewise. | |
542 | ||
543 | * arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change | |
544 | mode of clobbered scratch to DImode. Handle a case that's known to | |
545 | need this. | |
546 | ||
fc437ce9 DE |
547 | 2005-08-19 David Edelsohn <edelsohn@gnu.org> |
548 | ||
549 | * config/rs6000/rs6000.md (gt0<mode>): Delete. | |
550 | (gt0<mode>_compare): Delete. | |
551 | (neg_gt0<mode>): Delete. | |
552 | ||
c414ac1d EC |
553 | 2005-08-19 Eric Christopher <echristo@apple.com> |
554 | ||
555 | * optabs.h: Change CTI_ to COI_. | |
556 | * optabs.c: Ditto. | |
557 | ||
c8f27794 JW |
558 | 2005-08-19 James E Wilson <wilson@specifix.com> |
559 | ||
560 | * builtins.c (expand_builtin_return_addr): Set | |
561 | current_function_accesses_prior_frames when count != 0. Use | |
562 | frame_pointer_rtx when count == 0. | |
563 | * function.h (struct function): Add accesses_prior_frames field. | |
564 | (current_function_accesses_prior_frames): Define. | |
565 | * reload1.c (init_elim_table): Check | |
566 | current_function_accesses_prior_frames. | |
567 | * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs. | |
568 | ||
e3594cb3 DN |
569 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
570 | ||
571 | * tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change | |
572 | indicator. Return true if the flowgraph changed during | |
573 | cleanup. | |
574 | ||
52270a3c DN |
575 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
576 | ||
577 | PR 23476 | |
578 | * tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the | |
579 | conditional expression before testing its value. | |
580 | ||
5c1c631e DN |
581 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
582 | ||
583 | * doc/invoke.texi: Fix documentation for -ftree-dominator-opts. | |
584 | ||
3d91803a DP |
585 | 2005-08-19 Devang Patel <dpatel@apple.com> |
586 | ||
587 | PR tree-optimization/23048 | |
588 | * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as | |
589 | third parameter. Check whether latch is dominated by exit | |
590 | block or not. | |
591 | (if_convertible_loop_p): Supply exit block itself to | |
592 | if_convertible_bb_p. | |
c414ac1d | 593 | |
e55ef7f4 RE |
594 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
595 | ||
596 | PR target/23473 | |
597 | * arm.md (arm_load_pic_register): Change argument to the mask of | |
c414ac1d | 598 | saved registers. Call thumb_find_work_register if we need a |
e55ef7f4 | 599 | scratch register on Thumb. |
c414ac1d | 600 | (arm_expand_prologue): Pass empty register set to |
e55ef7f4 RE |
601 | arm_load_pic_register. |
602 | (thumb_expand_prologue): Pass live_regs_mask directly to | |
603 | arm_load_pic_register. | |
604 | * arm-protos.h (arm_load_pic_register): Update prototype. | |
605 | ||
d102596b JR |
606 | 2005-08-19 J"orn Rennecke <joern.rennecke@st.com> |
607 | ||
608 | * sh.c (find_sole_member): New function. | |
609 | (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch | |
610 | if the record's alignment is larger than the size of its only member. | |
611 | ||
a132dad6 RE |
612 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
613 | ||
614 | PR target/23436 | |
615 | * arm.c (thumb_legitimize_reload_address): New function. | |
616 | * arm-protos.h (thumb_legitimize_reload_address): Add prototype. | |
617 | * arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it. | |
618 | ||
4221d00a PW |
619 | 2005-08-19 Paul Woegerer <paul.woegerer@nsc.com> |
620 | ||
621 | * config/crx/crx.c: Implement crx_decompose_address. Reject | |
622 | symbolic displacements since CRX register relative adressing | |
623 | mode can't handle unsigned 32-bit values as displacements. | |
624 | * config/crx/crx.h: Simplify definitions, remove redundant | |
625 | parenthesis and obsolete macros. | |
626 | * config/crx/crx.opt: Add new switch for debugging addresses. | |
627 | * config/crx/crx-protos.h: Add new declarations for above. | |
628 | ||
1581a9a1 AP |
629 | 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> |
630 | ||
631 | PR middle-end/20624 | |
632 | * gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by | |
633 | looking past it. | |
634 | ||
52a6edcc KG |
635 | 2005-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
636 | ||
637 | * collect2.c (dup2): Delete. | |
638 | * configure.ac: Don't check for dup2. | |
639 | ||
640 | * config.in, configure: Regenerate. | |
641 | ||
8a2209bf R |
642 | 2005-08-18 J"orn Rennecke <joern.rennecke@st.com> |
643 | ||
644 | * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE | |
645 | record with the type of its only member. | |
646 | ||
1e24ce83 DE |
647 | 2005-08-18 David Edelsohn <edelsohn@gnu.org> |
648 | ||
649 | * config/rs6000/rs6000.md (ltu<mode>_compare): Convert to | |
650 | define_insn_and_split. | |
651 | (plus_ltu<mode>_compare): Same. | |
652 | (gtu<mode>_compare): Same. | |
653 | (plus_gtu<mode>_compare): Same. | |
654 | ||
90ff949f DN |
655 | 2005-08-18 Dorit Nuzman <dorit@il.ibm.com> |
656 | ||
657 | PR tree-optimization/22228 | |
1e24ce83 DE |
658 | * tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to |
659 | todo_flags_start. | |
90ff949f DN |
660 | * tree-vect-transform.c (vect_transform_loop): Mark the variables that |
661 | are recorded in vect_vnames_to_rename for renaming. | |
662 | * tree-vectorizer.c (vect_vnames_to_rename): New global bitmap. | |
663 | (slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming | |
664 | in vect_vnames_to_rename. | |
665 | (vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap. | |
666 | * tree-vectorizer.h (vect_vnames_to_rename): New extern variable. | |
667 | ||
f17db6cd JH |
668 | 2005-08-18 Jan Hubicka <jh@suse.cz> |
669 | ||
670 | PR c++/22034 | |
671 | * cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug | |
672 | info only for local statics, not for member variables. | |
673 | ||
4286d8ce VR |
674 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
675 | ||
676 | * tree-data-ref.c (analyze_siv_subscript_cst_affine): Fix comment typo. | |
677 | ||
b06df647 VR |
678 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
679 | ||
680 | * c-typeck.c (designator_errorneous): Rename to designator_erroneous. | |
681 | ||
75634129 AP |
682 | 2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> |
683 | ||
684 | PR middle-end/16045 | |
685 | * builtins.c (fold_builtin): Create a new NOP_EXPR all the time. | |
686 | ||
9bc2a5cb JW |
687 | 2005-08-17 James E Wilson <wilson@specifix.com> |
688 | ||
689 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
690 | array size check. | |
691 | ||
a2dba291 DE |
692 | 2005-08-17 David Edelsohn <edelsohn@gnu.org> |
693 | ||
694 | * config/rs6000/rs6000.md (leu<mode>): Convert to mode macro. | |
695 | (leu<mode>_compare): Same. | |
696 | (plus_leu<mode>): Same. | |
697 | (neg_leu<mode>): Same. | |
698 | (and_neg_leu<mode): Same. | |
699 | (ltu<mode>_compare): Same. | |
700 | (plus_ltu<mode>): Same. | |
701 | (geu<mode>): Same. | |
702 | (geu<mode>_compare): Same. | |
703 | (plus_geu<mode>): Same. | |
704 | (neg_geu<mode>): Same. | |
705 | (and_neg_geu<mode>): Same. | |
706 | (plus_gt<mode>): Same. | |
707 | (gtu<mode>_compare): Same. | |
708 | (plus_gtu<mode>): Same. | |
709 | ||
aa29dfeb | 710 | 2005-08-17 Erik Christiansen <erik@dd.nec.com.au> |
c414ac1d | 711 | |
aa29dfeb EC |
712 | * config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos. |
713 | Move call_table_data to end. Delete spurious .text. | |
714 | (callt_save_all_interrupt): Fix comment typo. | |
715 | ||
90e0c734 JW |
716 | 2005-08-17 James E Wilson <wilson@specifix.com> |
717 | Kevin Winchester <winchester@amirix.com> | |
718 | ||
719 | PR target/21684 | |
720 | * config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0. | |
721 | ||
87bb8864 UB |
722 | 2005-08-17 Uros Bizjak <uros@kss-loka.si> |
723 | ||
724 | PR target/23268 | |
725 | * config/i386/i386.md ("*fist<mode>2_1"): New pattern. | |
726 | ("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern. | |
727 | ||
dd0ae678 R |
728 | 2005-08-17 J"orn Rennecke <joern.rennecke@st.com> |
729 | ||
8a2209bf R |
730 | * sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE |
731 | record with the type of its only member if the modes don't match. | |
732 | ||
a2dba291 | 733 | * varasm.c (decode_reg_name): Skip empty additional register names. |
dd0ae678 | 734 | |
d28cbb07 ZD |
735 | 2005-08-16 Zdenek Dvorak <dvorakz@suse.cz> |
736 | ||
737 | * tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name, | |
738 | lsm_tmp_name_length): New. | |
739 | (lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions. | |
740 | (schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp". | |
741 | ||
39bd07e8 UW |
742 | 2005-08-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
743 | Andreas Krebbel <krebbel1@de.ibm.com> | |
744 | ||
745 | * config.gcc: Added z9-109 switch. | |
746 | * config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl", | |
747 | "x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi", | |
c414ac1d EC |
748 | "x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other", |
749 | "x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf", | |
39bd07e8 UW |
750 | "x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable |
751 | for "z9_109" cpu attribute. | |
752 | * config/s390/s390.c (z9_109_cost): New processor cost structure. | |
753 | (CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros. | |
754 | (s390_handle_arch_option): Added z9-109 switch. | |
755 | (override_options): Set respective cost function for z9-109. | |
756 | (s390_const_ok_for_constraint_p): New constraints Os, Op, On. | |
757 | (legitimate_reload_constant_p): Accept extended immediates. | |
758 | (print_operand): Three new output modifiers added: k, m and o. | |
759 | (s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990. | |
760 | (s390_output_mi_thunk): Use extended immediate when possible. | |
761 | * config/s390/s390.h (processor_flags): Added PF_EXTIMM. | |
762 | (TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros. | |
763 | (CONSTRAINT_LEN): Added length of O constraint. | |
764 | (CLZ_DEFINED_VALUE_AT_ZERO): Definition added. | |
765 | * config/s390/s390.md ("cpu"): New value z9_109 added. | |
c414ac1d | 766 | ("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm", |
39bd07e8 UW |
767 | "*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm", |
768 | "*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm", | |
769 | "*zero_extend<mode>si2_extimm", "*anddi3_extimm", "*iordi3_extimm", | |
770 | "*xordi3_extimm", "clzdi2", "clztidi2"): New patterns. | |
771 | ("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2", | |
772 | "*zero_extend<mode>si2_64", "zero_extendqihi2", "*zero_extendqihi2_64", | |
773 | "*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM. | |
774 | ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu", | |
775 | "*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc", | |
776 | "*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc", | |
777 | "*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3", | |
778 | "*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc", | |
779 | "*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly", | |
c414ac1d | 780 | "*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended |
39bd07e8 UW |
781 | immediates. |
782 | ("extend<mode>di2", "extend<mode>si2", "zero_extend<mode>di2", | |
783 | "zero_extend<mode>si2"): Allow memory operands and don't manually emit | |
784 | insns for TARGET_EXTIMM. | |
785 | ||
33d2e547 AK |
786 | 2005-08-17 Andreas Krebbel <krebbel1@de.ibm.com> |
787 | ||
788 | * testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options. | |
789 | ||
e5eb9a52 NC |
790 | 2005-08-17 Nick Clifton <nickc@redhat.com> |
791 | ||
792 | * config/stormy16/stormy16.c (xstormy16_encode_section_info): | |
793 | Call default_encode_section_info. | |
794 | ||
a318e3ac SB |
795 | 2005-08-17 Steven Bosscher <stevenb@suse.de> |
796 | ||
797 | PR tree-optimization/21574 | |
798 | * tree-ssa-ccp.c (likely_value): If the right hand side is a | |
799 | constant, return CONSTANT. | |
800 | (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal. | |
801 | (ccp_fold, visit_assignment): Likewise. | |
802 | (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way. | |
803 | ||
00d1b1d6 JM |
804 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
805 | ||
806 | * c-typeck.c (build_function_call): Call fold_buildN_initializer or | |
807 | fold_buildN instead of buildN then fold_initializer or fold. | |
808 | (build_unary_op): Likewise. | |
809 | (build_binary_op): Likewise. | |
810 | * fold-const.c (fold_initializer): Remove. | |
811 | (fold_build1_initializer): New function. | |
812 | (fold_build2_initializer): New function. | |
813 | (fold_build3_initializer): New function. | |
814 | * tree.h (fold_initializer): Remove. | |
815 | (fold_build1_initializer): New function. | |
816 | (fold_build2_initializer): New function. | |
817 | (fold_build3_initializer): New function. | |
818 | ||
f457cf40 JM |
819 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
820 | ||
821 | * fold-const.c (optimize_bit_field_compare): Remove extra fold call. | |
822 | (try_move_mult_to_index): Call fold_build2 instead of build2. | |
823 | (fold_binary): Don't call fold after calls to try_move_mult_to_index. | |
824 | * tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of | |
825 | fold_binary_to_constant. | |
826 | (infer_loop_bounds_from_undefined): Call fold_build2 instead of | |
827 | fold (build. | |
828 | * tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to | |
829 | check if A == gcd (A, B). Remove TYPE argument. | |
830 | (analyze_offset) Use fold_build2 instead of fold (build. | |
831 | (create_data_ref): Likewise. | |
832 | (analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p. | |
833 | * tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2 | |
834 | then fold. | |
835 | ||
4c617d12 KC |
836 | 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> |
837 | ||
838 | * config/arm/unaligned-funcs.c,config/i386/crtfastmath.c, | |
839 | ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address. | |
840 | ||
d06526b7 AP |
841 | 2005-08-16 Andrew Pinski <pinskia@physics.uc.edu> |
842 | ||
843 | PR tree-opt/23402 | |
844 | * gimplify.c (zero_sized_type): New function. | |
845 | (gimplify_modify_expr_rhs): If we have a zero sized type, | |
846 | replace the statement with an empty statement. | |
847 | ||
e9e68ae3 L |
848 | 2005-08-16 H.J. Lu <hongjiu.lu@intel.com> |
849 | ||
850 | * config/i386/crtfastmath.c (set_fast_math): Add "=m" for | |
851 | fxsave. | |
852 | ||
e374d5c9 ILT |
853 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
854 | ||
855 | * doc/tm.texi (Label Output): Correct typo. | |
856 | ||
f2dd440f SB |
857 | 2005-08-16 Steven Bosscher <stevenb@suse.de> |
858 | ||
859 | PR target/23376 | |
860 | * loop-unroll.c (analyze_insn_to_expand_var): Make sure that | |
861 | force_operand will work later on using have_insn_for. | |
862 | ||
196f5a8d VR |
863 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
864 | ||
865 | * fold-const.c (tree_expr_nonnegative_p): Regroup cases. | |
866 | ||
cf0efa6a ILT |
867 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
868 | ||
869 | PR c++/23337 | |
870 | * gimplify.c (gimplify_init_ctor_eval): If we see an element of | |
871 | vector type, don't try to construct it element by element. Add an | |
872 | assertion that we use a FIELD_DECL when building a COMPONENT_REF. | |
873 | ||
3a69437a VR |
874 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
875 | ||
876 | * fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR. | |
877 | ||
17ccdd2c GK |
878 | 2005-08-16 Geoffrey Keating <geoffk@apple.com> |
879 | ||
880 | * doc/invoke.texi (Precompiled Headers): Document some more options | |
881 | which are known to be safe. | |
882 | ||
355a9e43 JW |
883 | 2005-08-16 James E Wilson <wilson@specifix.com> |
884 | ||
885 | PR tree-optimization/21105 | |
886 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
887 | TREE_OVERFLOW check. | |
888 | ||
ce45ef46 DE |
889 | 2005-08-16 David Edelsohn <edelsohn@gnu.org> |
890 | ||
891 | * config/rs6000/rs6000.md (ltu<mode>): Convert to mode macro. | |
892 | (neg_ltu<mode>): Same. | |
893 | (gtu<mode>): Same. | |
894 | (neg_gtu<mode>): Same. | |
895 | ||
543e2cc3 VR |
896 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
897 | ||
898 | * builtins.c (expand_builtin_strcat): Remove superfluous call to fold. | |
899 | (fold_builtin_isdigit): Use fold_buildN. | |
900 | (build_function_call_expr): Likewise. | |
901 | * c-typeck.c (c_finish_loop): Likewise. | |
902 | ||
28f52a4d | 903 | 2005-08-16 J"orn Rennecke <joern.rennecke@st.com> |
85199961 | 904 | Richard Shann <rshann@superh.com> |
28f52a4d R |
905 | |
906 | PR middle-end/20396: | |
907 | * optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account. | |
908 | ||
546ad2d9 SP |
909 | 2005-08-16 Sebastian Pop <pop@cri.ensmp.fr> |
910 | ||
911 | * tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment. | |
912 | ||
39c39be0 RE |
913 | 2005-08-15 Richard Earnshaw <richard.earnshaw@arm.com> |
914 | ||
915 | PR target/23355 | |
c414ac1d | 916 | * arm.c (thumb_compute_save_reg_mask): Use similar logic to |
39c39be0 RE |
917 | arm_compure_save_reg0_reg12_mask to determine when the PIC register |
918 | must be saved. | |
919 | ||
f60c951c JDA |
920 | 2005-08-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
921 | ||
922 | PR middle-end/23369 | |
923 | * fold-const.c (build_range_check): Disable optimization for function | |
924 | pointer expressions on targets that require function pointer | |
925 | canonicalization. | |
926 | ||
5b5dc475 UW |
927 | 2005-08-15 Ulrich Weigand <uweigand@de.ibm.com> |
928 | ||
929 | * simplify-rtx.c (simplify_const_relational_operation): When | |
930 | extracting arguments of a COMPARE, recompute the mode as well. | |
931 | ||
1595ec20 ILT |
932 | 2005-08-15 Ian Lance Taylor <ian@airs.com> |
933 | ||
934 | * tree.c (build_string): Mark tree CONSTANT and INVARIANT. | |
935 | ||
eb5f0c07 DD |
936 | 2005-08-15 DJ Delorie <dj@redhat.com> |
937 | ||
938 | * config/m32c/mov.md (movqi_op): Immediates can't be moved to | |
939 | the stack. | |
940 | (movsi_splittable): Allow, but split, moves to the stack. | |
941 | * config/m32c/m32c.c (m32c_split_move): Always split moves to the | |
942 | stack. | |
943 | ||
06145cb9 KG |
944 | 2005-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
945 | ||
946 | * aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete. | |
947 | * configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR. | |
948 | * system.h (HOST_PTR_PRINTF): Don't define, poison it. | |
c414ac1d | 949 | |
06145cb9 KG |
950 | * bitmap.c, c-decl.c, config/i386/i386-interix.h, |
951 | config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c: | |
952 | Delete HOST_PTR_PRINTF. | |
953 | ||
954 | * configure, config.in: Regenerate. | |
955 | ||
b5568f07 DE |
956 | 2005-08-15 David Edelsohn <edelsohn@gnu.org> |
957 | ||
958 | * config/rs6000/rs6000.md (QHSI): New mode macro. | |
959 | (wd): Extend mode attr for QImode and HImode | |
960 | (dbits): New mode attr. | |
961 | (zero_extend<mode>di2): Convert to mode macro. | |
962 | ||
a73035ae SE |
963 | 2005-08-15 Steve Ellcey <sje@cup.hp.com> |
964 | ||
965 | PR target/21841 | |
966 | * doc/invoke.texi (-mgnu-ld): Update description. | |
967 | (-mhp-ld): Ditto. | |
968 | ||
7e0923cd SP |
969 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
970 | ||
971 | PR 23391 | |
972 | * Makefile.in (tree-chrec.o): Depends on real.h. | |
973 | * tree-chrec.c: Include real.h. | |
974 | (chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly, | |
975 | chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P. | |
976 | * tree-scalar-evolution.c (add_to_evolution_1, | |
977 | interpret_rhs_modify_expr): Ditto. | |
978 | ||
852c19aa SP |
979 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
980 | ||
981 | PR 23386 | |
982 | * tree-data-ref.c (estimate_niter_from_size_of_data): When | |
983 | step is negative compute the estimation from init downwards to zero. | |
c414ac1d | 984 | |
b23dce24 JM |
985 | 2005-08-14 James A. Morrison <phython@gcc.gnu.org> |
986 | ||
987 | * fold-const (fold_binary): Call fold_build2 instead of fold (build. | |
988 | ||
11598938 UW |
989 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
990 | ||
991 | * config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P' | |
992 | constraint. | |
993 | (legitimate_reload_constant_p): Fix handling of lliXX operands. | |
994 | Accept double-word constants that can be split. | |
995 | * config/s390/s390.md ("movti"): Use 'P' constraint. | |
996 | ("*movdi_31", "*movdf_31"): Likewise. | |
997 | ||
8971094d DB |
998 | 2005-08-14 Daniel Berlin <dberlin@dberlin.org> |
999 | ||
1000 | Fix PR tree-optimization/22615 | |
c414ac1d | 1001 | |
8971094d | 1002 | * tree-ssa-structalias.c (solution_set_add): Handle |
c414ac1d | 1003 | first_vi_for_offset returning NULL. |
8971094d DB |
1004 | (do_da_constraint): Ditto. |
1005 | (do_sd_constraint): Ditto. | |
1006 | (do_ds_constraint): Ditto | |
1007 | (find_func_aliases): Ditto. | |
1008 | (build_constraint_graph): RHS is allowed be ANYTHING. | |
1009 | (first_vi_for_offset): Return NULL if we couldn't find anything at | |
1010 | the offset. | |
c414ac1d | 1011 | |
c5b2a111 UW |
1012 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
1013 | ||
1014 | * config/s390/s390.c (s390_canonicalize_comparison): Prefer register | |
1015 | over memory as first operand. | |
1016 | ||
adb7b764 L |
1017 | 2005-08-14 H.J. Lu <hongjiu.lu@intel.com> |
1018 | ||
1019 | PR target/23360 | |
1020 | * config/i386/crtfastmath.c (set_fast_math): Check if DAZ is | |
1021 | available for setting it. | |
1022 | ||
1f400bbb IR |
1023 | 2005-08-14 Ira Rosen <irar@il.ibm.com> |
1024 | ||
1025 | PR tree-optimization/23320 | |
c414ac1d EC |
1026 | * tree-data-ref.c (base_addr_differ_p): Add comment. Check |
1027 | data-refs' types instead of base object nullness. Add check for | |
1028 | pointer type data-refs before first location comparison. Remove | |
1f400bbb IR |
1029 | assert. |
1030 | ||
db875b15 AS |
1031 | 2005-08-14 Andreas Schwab <schwab@suse.de> |
1032 | ||
1033 | * doc/md.texi (Machine Constraints): Fix misplaced @end table. | |
1034 | ||
0aca9021 JW |
1035 | 2005-08-13 James E Wilson <wilson@specifix.com> |
1036 | ||
1037 | * doc/cpp.texi (__SSP__, __SSP_ALL__): Document. | |
1038 | * doc/invoke.texi (-Wstack-protector, -fstack-protector, | |
1039 | -fstack-protector-all, --param ssp-buffer-size): Document. | |
1040 | (-Wvariadic-macros): Alphabetize. | |
1041 | (-fsched-stalled-insns-dep): Add missing 'f'. | |
1042 | ||
0ffb94cd JW |
1043 | * c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect |
1044 | macros. | |
1045 | ||
3256a76e DE |
1046 | 2005-08-13 David Edelsohn <edelsohn@gnu.org> |
1047 | ||
1048 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed | |
1049 | or indirect address operand. | |
1050 | (EXTRA_ADDRESS_CONSTRAINT): New. | |
1051 | * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a". | |
1052 | ||
d7770457 SP |
1053 | 2005-08-13 Sebastian Pop <pop@cri.ensmp.fr> |
1054 | ||
1055 | PR tree-optimization/22236 | |
1056 | * tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print | |
1057 | successors and predecessors. | |
1058 | * tree-chrec.c (chrec_convert): Before converting, check that | |
1059 | sequences don't wrap. | |
1060 | * tree-data-ref.c (compute_estimated_nb_iterations): Moved ... | |
1061 | (analyze_array): Extern. | |
1062 | (find_data_references_in_loop): Remove call to | |
1063 | compute_estimated_nb_iterations. | |
1064 | * tree-data-ref.h (analyze_array): Declared. | |
1065 | * tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand, | |
1066 | single_ssa_def_operand, zero_ssa_operands): Fix documentation. | |
1067 | * tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter. | |
c414ac1d | 1068 | * tree-scalar-evolution.c (instantiate_parameters_1): Factor entry |
d7770457 SP |
1069 | condition. |
1070 | * tree-ssa-loop-ivcanon.c: Fix documentation. | |
1071 | * tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note. | |
1072 | * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here. | |
1073 | (infer_loop_bounds_from_undefined): New. | |
1074 | (estimate_numbers_of_iterations_loop): Use | |
1075 | infer_loop_bounds_from_undefined. | |
1076 | (used_in_pointer_arithmetic_p): New. | |
1077 | (scev_probably_wraps_p): Pass an extra parameter. Call | |
1078 | used_in_pointer_arithmetic_p. Check that AT_STMT is not null. | |
1079 | (convert_step): Fix documentation. | |
1080 | * tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters. | |
1081 | Use initial_condition_in_loop_num and evolution_part_in_loop_num | |
1082 | instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to | |
1083 | scev_probably_wraps_p. | |
1084 | ||
e2df5c1d UW |
1085 | 2005-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
1086 | ||
1087 | * config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change. | |
1088 | (s390_register_info): Ignore clobbered_regs information for fixed | |
1089 | registers, and only fixed registers. | |
1090 | (s390_init_frame_layout): Remove redundant call. | |
1091 | ||
7cd5c075 GP |
1092 | 2005-08-12 Gerald Pfeifer <gerald@pfeifer.com> |
1093 | ||
c414ac1d | 1094 | * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to |
7cd5c075 GP |
1095 | description of -Wold-style-casts. |
1096 | ||
7b8acc34 AK |
1097 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1098 | Jakub Jelinek <jakub@redhat.com> | |
1099 | ||
1100 | * config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define. | |
1101 | * config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added. | |
1102 | * config/s390/s390.c (print_operand): New output modifier 'G' added. | |
1103 | (get_thread_pointer): Renamed to s390_get_thread_pointer. | |
1104 | * config/s390/s390.md (stack_protect_set, stack_protect_test): If | |
1105 | TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to | |
1106 | (MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))). | |
1107 | (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
1108 | ("stack_protect_set", "stack_protect_test"): New expanders. | |
1109 | ("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi", | |
1110 | "stack_protect_testdi"): New insn definitions. | |
1111 | ||
4700982d AK |
1112 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1113 | ||
1114 | * config/s390/s390.md ("*movdf_31"): Changed constraint from P to K. | |
1115 | ||
3c60bed5 PB |
1116 | 2005-08-12 Paul Brook <paul@codesourcery.com> |
1117 | ||
1118 | * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set. | |
1119 | ||
f83a336d AK |
1120 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1121 | ||
1122 | * config/s390/predicates.md (setmem_operand): New predicate. | |
1123 | (shift_count_operand): Accept ANDs with special constants as | |
1124 | operand. | |
1125 | * config/s390/s390.c (print_shift_count_operand): Skip ANDs | |
1126 | with special constants. | |
1127 | * config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced | |
1128 | shift_count_operand with setmem_operand. | |
1129 | ||
c4d50129 AK |
1130 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1131 | ||
1132 | * config/s390/s390.c (s390_extract_part, s390_single_part): | |
1133 | Type cast added. | |
1134 | (s390_const_ok_for_constraint_p): Added SImode to the N constraint. | |
1135 | (s390_output_mi_thunk): Don't use lg on 31 bit. | |
1136 | * config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy. | |
1137 | ("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH. | |
1138 | ||
b5c67a49 AK |
1139 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1140 | ||
1141 | * config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros. | |
1142 | (s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p, | |
1143 | s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue, | |
1144 | s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P | |
1145 | with one of the new macros. | |
1146 | ||
dc4477f5 AK |
1147 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
1148 | ||
c414ac1d | 1149 | * config/s390/s390.c (s390_split_branches, s390_init_frame_layout): |
dc4477f5 AK |
1150 | Don't set save_return_addr_p. |
1151 | (s390_register_info): Make clobbered_regs not depending on | |
1152 | save_return_addr_p. | |
1153 | ||
ec92bd4b KK |
1154 | 2005-08-12 Kaz Kojima <kkojima@gcc.gnu.org> |
1155 | ||
1156 | * gcc.c (LINK_SSP_SPEC): Remove space before a trailing }. | |
1157 | (LINK_COMMAND_SPEC): Add space after %(link_ssp). | |
1158 | ||
8c2efff7 JW |
1159 | 2005-08-11 James E. Wilson <wilson@specifix.com> |
1160 | ||
1161 | * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New. | |
1162 | ||
ea93971a JJ |
1163 | 2005-08-11 Jakub Jelinek <jakub@redhat.com> |
1164 | ||
86bd8ebf JJ |
1165 | * dwarf2out.c (add_location_or_const_value_attribute): Prefer |
1166 | locations gathered by var-tracking in single entry loc_list | |
1167 | over loc_descriptor_from_tree. | |
1168 | ||
ea93971a JJ |
1169 | * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument, |
1170 | pass it down to loc_descriptor. | |
1171 | (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor. | |
1172 | (containing_function_has_frame_base): Move earlier in the file. | |
1173 | (loc_descriptor_from_tree_1): Use containing_function_has_frame_base | |
1174 | instead of always assuming fbreg can't be used. | |
1175 | ||
dec1f3aa DE |
1176 | 2005-08-11 David Edelsohn <edelsohn@gnu.org> |
1177 | ||
1178 | * config/rs6000/altivec.md: Change constraint "m" to "Z". | |
1179 | * config/rs6000/predicates.md (indexed_or_indirect_operand): | |
1180 | Accept address wrapped in AND for Altivec. | |
1181 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): | |
1182 | Strip AND wrapping offset address for Altivec. | |
1183 | ||
7fd6694b RH |
1184 | 2005-08-11 Richard Henderson <rth@redhat.com> |
1185 | ||
1186 | PR middle-end/23312 | |
1187 | * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE | |
1188 | before using TYPE_IS_SIZETYPE. | |
1189 | ||
4ead2a39 RH |
1190 | 2005-08-11 Richard Henderson <rth@redhat.com> |
1191 | ||
1192 | PR target/22225 | |
1193 | * config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for | |
1194 | insn types not present on ev4. | |
1195 | (alphaev5_insn_pipe): Similarly. | |
1196 | ||
da8ce8be RE |
1197 | 2005-08-11 Richard Earnshaw <richard.earnshaw@arm.com> |
1198 | ||
1199 | PR target/23250 | |
1200 | * arm.c (arm_override_options): If the user has selected callee-super- | |
1201 | interworking, then enable normal interworking. | |
1202 | ||
eb2b0cc0 RO |
1203 | 2005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1204 | ||
1205 | * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before | |
1206 | redefinition. | |
1207 | ||
b630e240 WZ |
1208 | 2005-08-11 Wu Zhou <woodzltc@cn.ibm.com> |
1209 | ||
1210 | * doc/rtl.texi: Fix two typos. | |
1211 | ||
cac32996 RG |
1212 | 2005-08-11 Richard Guenther <rguenther@suse.de> |
1213 | ||
1214 | PR target/23289 | |
1215 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Handle | |
1216 | cases where we call to/from functions returning void. | |
1217 | ||
a4faac50 JM |
1218 | 2005-08-10 James A. Morrison <phython@gcc.gnu.org> |
1219 | ||
1220 | PR c++/23225 | |
1221 | * tree.c (build_pointer_type_for_mode): Robustify. | |
1222 | ||
907f033f JW |
1223 | 2005-08-10 James E Wilson <wilson@specifix.com> |
1224 | ||
1225 | * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h | |
1226 | (ASM_OUTPUT_ADDR_VEC_ELT): Delete. | |
1227 | ||
1228 | * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to | |
1229 | "cum->". | |
1230 | ||
bb8df8a6 EC |
1231 | 2005-08-10 Eric Christopher <echristo@apple.com> |
1232 | ||
1233 | * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite. | |
1234 | * config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use | |
1235 | V2DFmode. | |
1236 | ||
4f8dbd34 AP |
1237 | 2005-08-10 Andrew Pinski <pinskia@physics.uc.edu> |
1238 | ||
ce31ea84 | 1239 | PR target/21887 |
4f8dbd34 AP |
1240 | * config/darwin.c (machopic_indirect_data_reference): Use a new register |
1241 | for the high part when generating dynamic-no-pic code. | |
1242 | ||
d75e02d6 L |
1243 | 2005-08-10 H.J. Lu <hongjiu.lu@intel.com> |
1244 | ||
1245 | * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file. | |
1246 | (x86_64-*-linux*): Likewise. | |
1247 | ||
1248 | * config/i386/crtfastmath.c: New file. | |
1249 | * config/i386/t-crtfm: Likewise. | |
1250 | ||
1251 | * config/i386/linux.h (ENDFILE_SPEC): New. | |
1252 | * config/i386/linux64.h (ENDFILE_SPEC): Likewise. | |
1253 | ||
1254 | * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add | |
1255 | crtfastmath.o. | |
1256 | ||
61abee65 DN |
1257 | 2005-08-10 Dorit Nuzman <dorit@il.ibm.com> |
1258 | ||
1259 | * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus): | |
1260 | (vec_shl, vec_shr): Document new operations. | |
1261 | * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment. | |
1262 | ||
11aac14f DE |
1263 | 2005-08-10 David Edelsohn <edelsohn@gnu.org> |
1264 | ||
1265 | * config/rs6000/predicates.md (indexed_or_indirect_address): New. | |
1266 | * config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and | |
1267 | change predicate to indexed_or_indirect_address. | |
1268 | ||
9bd05108 RS |
1269 | 2005-08-10 Richard Sandiford <richard@codesourcery.com> |
1270 | ||
1271 | * config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases. | |
1272 | * config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv, | |
1273 | __aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4 | |
1274 | and __aeabi_uwrite8. | |
1275 | * config/arm/unaligned-funcs.c: New file. | |
1276 | * config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c. | |
1277 | ||
defb77dc PB |
1278 | 2005-08-09 Paolo Bonzini <bonzini@gnu.org> |
1279 | ||
1280 | * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks): | |
1281 | Add dump. | |
1282 | * cfglayout.c (pass_insn_locators_initialize): Add dump. | |
1283 | * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): | |
1284 | Add dump. | |
1285 | * except.c (pass_convert_to_eh_region_ranges): Add dump. | |
1286 | * final.c (pass_shorten_branches): Add dump. | |
1287 | * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump. | |
1288 | (pass_life): Rename dump. | |
1289 | (rest_of_handle_flow2): Remove initial verify_flow_info. | |
1290 | * function.c (pass_instantiate_virtual_regs): Add dump. | |
1291 | * integrate.c (pass_initial_value_sets): Add dump. | |
1292 | * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump. | |
1293 | * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump. | |
1294 | (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop, | |
1295 | pass_rtl_unroll_and_peel_loops): Rename dump and add gate. | |
1296 | (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop, | |
1297 | gate_rtl_unrool_and_peel_loops): New. | |
1298 | (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops, | |
1299 | rtl_doloop): Do not look at flags. | |
1300 | * mode-switching.c (pass_mode_switching): Add dump. | |
1301 | * recog.c (pass_split_all_insns, pass_split_for_shorten_branches, | |
1302 | pass_split_before_regstack): Add dump. | |
1303 | * regmove.c (pass_stack_adjustments): Add dump. | |
1304 | * tree-optimize.c (pass_fixup_cfg): Add dump. | |
1305 | ||
2a6a63c1 KI |
1306 | 2005-08-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
1307 | ||
1308 | PR 23309 | |
1309 | * config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when | |
1310 | deciding which instruction sequence to use. | |
1311 | ||
0ed414a4 DN |
1312 | 2005-08-09 Dorit Nuzman <dorit@il.ibm.com> |
1313 | ||
bb8df8a6 | 1314 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Set |
0ed414a4 DN |
1315 | BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs. |
1316 | ||
9bc15050 RG |
1317 | 2005-08-09 Richard Guenther <rguenther@suse.de> |
1318 | ||
1319 | * c-common.c (builtin_function_2): Remove. | |
1320 | (def_builtin_1): New function. | |
1321 | (c_common_nodes_and_builtins): Use def_builtin_1 to | |
1322 | build builtin functions. | |
1323 | ||
07da68fd JZ |
1324 | 2005-08-09 Jie Zhang <jie.zhang@analog.com> |
1325 | ||
1326 | * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define. | |
1327 | * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define. | |
1328 | * config/bfin/bfin.c (bfin_return_in_memory): Update to really match | |
1329 | Visual DSP. | |
1330 | ||
2f133f46 JM |
1331 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
1332 | ||
1333 | * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use | |
1334 | fold_binary instead of fold_build2 since we don't care about the | |
1335 | resulting tree. | |
1336 | (loop_niter_by_eval): Likewise. | |
1337 | (compare_trees): Likewise. | |
1338 | (proved_non_wrapping_p): Likewise. | |
1339 | ||
f14e694e JM |
1340 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
1341 | ||
1342 | PR c/23161 | |
1343 | PR c/23165 | |
1344 | * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see | |
1345 | if the if is really empty. | |
1346 | ||
2ef571e2 SB |
1347 | 2005-08-09 Steven Bosscher <stevenb@suse.de> |
1348 | ||
1349 | PR tree-optimization/23234 | |
1350 | * tree-ssa-math-opts.c (place_reciprocal): New enum. | |
1351 | (execute_cse_reciprocals_1): Replace the 'phi' argument with an | |
1352 | argument of the new enum. | |
1353 | (execute_cse_reciprocals): Add reciprocals for function arguments | |
1354 | on the unique successor edge of the entry block. Update other calls | |
1355 | to execute_cse_reciprocals_1. | |
1356 | ||
a9c5ddf9 RH |
1357 | 2005-08-08 Richard Henderson <rth@redhat.com> |
1358 | ||
1359 | PR 22439 | |
1360 | * gimplify.c (gimplify_one_sizepos): Preserve the original type. | |
1361 | ||
22469409 BW |
1362 | 2005-08-08 Bob Wilson <bob.wilson@acm.org> |
1363 | ||
1364 | * expr.c (write_complex_part): Return after handling MEM. | |
1365 | ||
2d88fcc2 JC |
1366 | 2005-08-08 Josh Conner <jconner@apple.com> |
1367 | ||
1368 | PR rtl-optimization/23241 | |
1369 | * combine.c (simplify_comparison): Fix error in determining | |
1370 | whether to lift a subreg from comparison. | |
1371 | ||
7a4eca66 DE |
1372 | 2005-08-08 David Edelsohn <edelsohn@gnu.org> |
1373 | ||
1374 | PR target/18506 | |
1375 | * config/rs6000/altivec.md (vec_init<mode>): New. | |
1376 | (vec_set<mode>): New. | |
1377 | (vec_extract<mode>): New. | |
1378 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): New. | |
1379 | (rs6000_expand_vector_set): New. | |
1380 | (rs6000_expand_vector_extract): New. | |
1381 | (rs6000_legitimate_offset_address_p): Offset addresses are valid | |
1382 | for Altivec modes before reload. | |
1383 | (altivec_expand_vec_init_builtin): New. | |
1384 | (get_element_number): New. | |
1385 | (altivec_expand_vec_set_builtin): New. | |
1386 | (altivec_expand_vec_ext_builtin): New. | |
1387 | (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext | |
1388 | builtins. | |
1389 | (altivec_init_builtins): Init vec_init, vec_set, and vec_ext | |
1390 | builtins. | |
1391 | * config/rs6000/rs6000.h (rs6000_builtins): Add | |
1392 | ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>, | |
1393 | ALTIVEC_BUILTIN_VEC_EXT_<mode>. | |
1394 | * config/rs6000/rs6000-protos.h: Declare new functions. | |
1395 | ||
47efdea4 JH |
1396 | 2005-08-08 Jan Hubicka <jh@suse.cz> |
1397 | ||
1398 | * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode. | |
1399 | (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode. | |
1400 | * i386.md (movdi*): Use pic_32bit_operand. | |
1401 | * predicates.md (pic_32bit_operand): New. | |
1402 | ||
f303a996 NS |
1403 | 2005-08-08 Nathan Sidwell <nathan@codesourcery.com> |
1404 | ||
1405 | PR c++/21166 | |
1406 | * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible. | |
1407 | ||
a5ad7269 JM |
1408 | 2005-08-07 James A. Morrison <phython@gcc.gnu.org> |
1409 | ||
1410 | * tree-vrp.c (simplify_div_or_mod_using_range): Use build2. | |
1411 | (test_for_singularity): Use fold_build2. | |
1412 | ||
914a6ee8 JDA |
1413 | 2005-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1414 | ||
1415 | * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound. | |
1416 | ||
f18faab7 DS |
1417 | 2005-08-07 Danny Smith <dannysmith@users.sourceforge.net> |
1418 | ||
1419 | * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define. | |
1420 | (COMMON_ASM_OP) Define. | |
1421 | * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED | |
1422 | (ix86_encode_section_info): Likewise. | |
1423 | (TARGET_ENCODE_SECTION_INFO): Conditionally define as | |
1424 | SUBTARGET_ENCODE_SECTION_INFO. | |
1425 | ||
455c08cb RH |
1426 | 2005-08-06 Richard Henderson <rth@redhat.com> |
1427 | ||
1428 | PR 21894 | |
1429 | * tree-nested.c (convert_local_reference): Save and restore val_only | |
1430 | around component_ref and friends. Clear walk_subtrees by default. | |
1431 | ||
3300bf07 PG |
1432 | 2005-08-06 Peter O'Gorman <peter@pogma.com> |
1433 | ||
1434 | PR 21366 | |
1435 | * gcc.c (process_command): Check the argument to -b has a dash. | |
1436 | * doc/invoke.texi: Update -b and -V docs. | |
1437 | ||
e2ba06d6 JW |
1438 | 2005-08-06 James E Wilson <wilson@specifix.com> |
1439 | ||
1440 | * config/mips/cross64.h, config/mips/t-cross64: Delete. | |
1441 | ||
3e0a6ca6 MM |
1442 | 2005-08-06 Michael Matz <matz@suse.de> |
1443 | ||
1444 | * genattrtab.c (write_attr_get, write_attr_case): Use insn_code | |
1445 | member only if only one insn is associated with the value. | |
1446 | ||
2f806f3b NC |
1447 | 2005-08-06 Nick Clifton <nickc@redhat.com> |
1448 | ||
1449 | * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100): | |
1450 | New define. | |
3e0a6ca6 | 1451 | (ASM_OUTPUT_LABELREF): Delete - it is no longer needed. |
2f806f3b NC |
1452 | * config/stormy16/stormy16.c (xstormy16_below100_symbol): |
1453 | Check symbol flags instead of symbol name mangling. | |
3e0a6ca6 | 1454 | (xstormy16_asm_output_aligned_common): Likewise. Also |
2f806f3b NC |
1455 | simplify code since the bss100_section cass is the only case |
1456 | where the below100 code will be triggered. | |
3e0a6ca6 | 1457 | (xstormy16_encode_section_info): Encode below100 attribute |
2f806f3b NC |
1458 | using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling |
1459 | the name. | |
3e0a6ca6 | 1460 | (xstormy16_strip_name_encoding): Delete - this function is no |
2f806f3b | 1461 | longer needed. |
3e0a6ca6 | 1462 | (TARGET_STRIP_NAME_ENCODING): Undefine. |
2f806f3b NC |
1463 | * config/stormy16/stormy16-protos.h: Delete prototype for |
1464 | xstormy16_strip_name_encoding. | |
1465 | ||
a4d05547 KH |
1466 | 2005-08-06 Kazu Hirata <kazu@codesourcery.com> |
1467 | ||
1468 | * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c, | |
1469 | config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c, | |
1470 | tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h, | |
1471 | config/linux.h, config/alpha/alpha.h, config/alpha/linux.h, | |
1472 | config/alpha/predicates.md, config/arc/arc.h, | |
1473 | config/arm/arm.h, config/arm/ieee754-df.S, | |
1474 | config/arm/ieee754-sf.S, config/bfin/bfin.c, | |
1475 | config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c, | |
1476 | config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, | |
1477 | config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
1478 | config/m68hc11/m68hc11.h, config/mips/mips.c, | |
1479 | config/mips/mips.h, config/mips/openbsd.h, | |
1480 | config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h, | |
1481 | config/pdp11/pdp11.h, config/rs6000/linux-unwind.h, | |
1482 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, | |
1483 | config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, | |
1484 | config/sparc/linux.h, config/sparc/linux64.h, | |
1485 | config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h, | |
1486 | doc/extend.texi, doc/gcov.texi, doc/install.texi, | |
1487 | doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc | |
1488 | typos. Follow spelling conventions. | |
1489 | ||
591baeb0 JM |
1490 | 2005-08-06 Joseph S. Myers <joseph@codesourcery.com> |
1491 | ||
1492 | PR c/23113 | |
1493 | * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start. | |
1494 | Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR | |
1495 | specially. Check for side effects only for COND_EXPR. | |
1496 | * c-typeck.c (c_finish_stmt_expr): Mark statement expression | |
1497 | return with TREE_NO_WARNING. | |
1498 | ||
f7a064b5 RS |
1499 | 2005-08-06 Richard Sandiford <richard@codesourcery.com> |
1500 | ||
1501 | PR rtl-optimization/23233 | |
1502 | * loop.c (combine_movables): Require the modes to be the same. | |
1503 | (move_movables): Remove handling of cases where the replacement | |
1504 | had a different mode to the original. | |
1505 | ||
b17775ab JM |
1506 | 2005-08-05 James A. Morrison <phython@gcc.gnu.org> |
1507 | ||
1508 | PR tree-optimization/23128 | |
1509 | * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or | |
1510 | subtraction wrap, and set TREE_OVERFLOW if they do. | |
1511 | ||
bb1ecfe8 RH |
1512 | 2005-08-05 Richard Henderson <rth@redhat.com> |
1513 | ||
1514 | PR 21728 | |
1515 | * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into | |
1516 | FORCED_LABEL labels. | |
1517 | ||
50aa8e71 R |
1518 | 2005-08-05 J"orn Rennecke <joern.rennecke@st.com> |
1519 | ||
1520 | PR middle-end/23135 | |
1521 | * reload.c (find_reloads_subreg_address): Pass down TYPE | |
1522 | unchanged. Change all callers except find_reloads_toplev. | |
1523 | ||
b01896cc MM |
1524 | 2005-08-05 Michael Matz <matz@suse.de> |
1525 | ||
1526 | * genattrtab.c (current_alternative_string): Remove. | |
1527 | (SIMPLIFY_ALTERNATIVE): Ditto. | |
1528 | (attr_alt_bit_p): Ditto. | |
1529 | (alternative_name): Make const char *. | |
1530 | (evaluate_eq_attr): Remove use of above things. | |
1531 | (simplify_test_exp): Ditto. | |
1532 | (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 . | |
1533 | (simplify_test_exp <AND>): Correct typo (test 'right' not 'left'). | |
1534 | ||
3f94bdec JW |
1535 | 2005-08-04 James E Wilson <wilson@specifix.com> |
1536 | ||
1537 | * config/ptx4.h, config/sol2.h, config/arm/freebsd.h, | |
1538 | config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, | |
1539 | config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, | |
1540 | config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h | |
1541 | (LINK_SPEC): Delete useless %{Wl,*:%*} item. | |
1542 | ||
460f84ed RH |
1543 | 2005-08-04 Richard Henderson <rth@redhat.com> |
1544 | ||
1545 | PR 21529 | |
1546 | * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New. | |
1547 | * params.h (SRA_MAX_STRUCTURE_COUNT): New. | |
1548 | * tree-sra.c (decide_block_copy): Use it. Disable element copy | |
1549 | if we'd have to instantiate too many members. | |
1550 | ||
5a910e43 RH |
1551 | 2005-08-04 Richard Henderson <rth@redhat.com> |
1552 | ||
1553 | PR 21291 | |
1554 | * tree-outof-ssa.c (coalesce_asm_operands): New. | |
1555 | (coalesce_ssa_name): Use it. Split out ... | |
1556 | (coalesce_phi_operands, coalesce_result_decls): ... these. | |
1557 | ||
27c37000 PB |
1558 | 2005-08-04 Paul Brook <paul@codesourcery.com> |
1559 | ||
1560 | * read-rtl.c (read_quoted_string): Break if EOF. | |
1561 | ||
5808968e AP |
1562 | 2005-08-04 Andrew Pinski <pinskia@physics.uc.edu> |
1563 | ||
1564 | * tree.h (fold_build1): Change to macro and call fold_build1_stat. | |
1565 | (fold_build2): Likewise. | |
1566 | (fold_build3): Likewise. | |
1567 | (fold_build1_stat): New function prototype. | |
1568 | (fold_build2_stat): Likewise. | |
1569 | (fold_build3_stat): Likewise. | |
1570 | * fold-const.c (fold_build1): Rename to .. | |
1571 | (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
1572 | through to build1_stat. | |
1573 | (fold_build2): Rename to .. | |
1574 | (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
1575 | through to build2_stat. | |
1576 | (fold_build3): Rename to .. | |
1577 | (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
1578 | through to build3_stat. | |
1579 | ||
d70eadf7 | 1580 | 2005-08-04 David Edelsohn <edelsohn@gnu.org> |
6d62ac14 | 1581 | Ian Lance Taylor <ian@airs.com> |
d70eadf7 DE |
1582 | |
1583 | * function.c (assign_stack_local_1): Do not correct stack slot | |
1584 | address if allocation size is smaller than mode size. | |
1585 | ||
c4f548b8 DN |
1586 | 2005-08-04 Diego Novillo <dnovillo@redhat.com> |
1587 | ||
1588 | PR 22037 | |
1589 | * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename. | |
1590 | (tree_merge_blocks): Propagate anything allowed by | |
1591 | may_propagate_copy. | |
1592 | Clarify documentation. | |
1593 | * passes.c (execute_todo): If cleanup_tree_cfg invalidated the | |
1594 | SSA form, schedule an update if necessary. | |
1595 | ||
2b7c3273 GP |
1596 | 2005-08-04 Gerald Pfeifer <gerald@pfeifer.com> |
1597 | ||
1598 | * doc/install.texi (Binaries): Remove broken link to | |
1599 | Sinix/Reliant Unix binaries. | |
1600 | ||
b755446c RH |
1601 | 2005-08-03 Richard Henderson <rth@redhat.com> |
1602 | ||
1603 | PR 23221 | |
1604 | * function.c (stack_protect_epilogue): Export. | |
1605 | * tree.h (stack_protect_epilogue): Declare. | |
1606 | * calls.c (expand_call): Call it. | |
1607 | ||
7904f95f EC |
1608 | 2005-08-03 Eric Christopher <echristo@apple.com> |
1609 | ||
1610 | * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all. | |
1611 | * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp | |
1612 | spec. | |
1613 | ||
d783b2a2 JH |
1614 | 2005-08-04 Jan Hubicka <jh@suse.cz> |
1615 | ||
1616 | * profile.c (branch_prob): Split edges with goto locus on them | |
1617 | to get proper line counts. | |
1618 | * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. | |
1619 | ||
53366450 PB |
1620 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
1621 | ||
1622 | * function.c (assign_parms): Round current_function_args_size | |
1623 | to PARM_BOUNDARY, not STACK_BOUNDARY. | |
1624 | ||
e81d37df GK |
1625 | 2005-08-03 Geoffrey Keating <geoffk@apple.com> |
1626 | ||
1627 | * config/i386/i386.c (x86_elf_aligned_common) | |
1628 | (x86_output_aligned_bss): Don't try to use symbols that aren't defined. | |
1629 | ||
279072c8 ZD |
1630 | 2005-08-03 Zdenek Dvorak <dvorakz@suse.cz> |
1631 | ||
1632 | PR tree-optimization/23157 | |
1633 | * tree-scalar-evolution.c (scev_const_prop): Unshare trees | |
1634 | before emitting them. | |
1635 | ||
9d2b0e12 VR |
1636 | 2005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
1637 | ||
1638 | PR tree-optimization/19899 | |
1639 | * Makefile.in (tree-scalar-evolution.o): Add real.h. | |
1640 | * tree-scalar-evolution.c: Include real.h. | |
1641 | (add_to_evolution): Build constant -1 of correct type. | |
1642 | ||
178df94f JH |
1643 | 2005-08-03 Jan Hubicka <jh@suse.cz> |
1644 | ||
1645 | * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag. | |
1646 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case | |
1647 | profile updating for complette unrolling. | |
1648 | * loop-unroll.c (peel_loop_completely): Use it. | |
1649 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. | |
1650 | (tree_unroll_loops_completely): Disable code growing unrolling of cold | |
1651 | loops. | |
1652 | ||
4164b2fb PB |
1653 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
1654 | ||
1655 | * combine.c (can_change_dest_mode): New function. | |
1656 | (try_combine, simplify_set): Use it. | |
1657 | ||
4e2b3c87 EB |
1658 | 2005-08-03 Eric Botcazou <ebotcazou@adacore.com> |
1659 | ||
1660 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force | |
1661 | TFmode to BLKmode. | |
1662 | ||
1d7887ca GP |
1663 | 2005-08-03 Gerald Pfeifer <gerald@pfeifer.com> |
1664 | ||
1665 | * doc/install.texi (Specific): Adjust link to openavr.org. | |
1666 | (Specific): Remove broken reference to GCC 2.8.1 for OS/2. | |
1667 | (Binaries): Adjust HP-UX Porting Center link. | |
1668 | (Binaries): Adjust Free Software Foundation ordering link. | |
1d7887ca | 1669 | |
c7f59e9c AP |
1670 | 2005-08-03 Andrew Pinski <pinskia@physics.uc.edu> |
1671 | ||
1672 | * convert.c (convert_to_integer): Use fold_build1 instead of | |
1673 | build1 when converting an integer to an integer. | |
1674 | ||
65030b76 RH |
1675 | 2005-08-02 Richard Henderson <rth@redhat.com> |
1676 | ||
1677 | * combine.c (combine_instructions): Don't use reg_equal/equiv | |
1678 | results if the mode doesn't match. | |
1679 | ||
6d1ab63a MM |
1680 | 2005-08-02 Mark Mitchell <mark@codesourcery.com> |
1681 | ||
1682 | * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. | |
1683 | * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. | |
1684 | ||
6d90db3a RH |
1685 | 2005-08-02 Richard Henderson <rth@redhat.com> |
1686 | ||
1687 | PR 23196 | |
7904f95f | 1688 | * explow.c (memory_address): Remove special-case for |
6d90db3a RH |
1689 | virtual_stack_vars_rtx and virtual_incoming_args_rtx. |
1690 | ||
78234a86 DN |
1691 | 2005-08-02 Diego Novillo <dnovillo@redhat.com> |
1692 | ||
1693 | PR 23164 | |
1694 | * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the | |
1695 | number of calls to cleanup_tree_cfg_1. | |
1696 | ||
5a006700 MR |
1697 | 2005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de> |
1698 | ||
1699 | * doc/invoke.texi: document file extensions .F90 and .F95 | |
1700 | ||
237504fc RG |
1701 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
1702 | ||
1703 | * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is | |
1704 | positive if its first argument is positive. | |
1705 | ||
e63c84d8 RG |
1706 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
1707 | ||
1708 | PR tree-optimization/23177 | |
1709 | * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands | |
1710 | on TMR_TAG. | |
1711 | ||
08303d5b JM |
1712 | 2005-08-02 James A. Morrison <phython@gcc.gnu.org> |
1713 | ||
1714 | PR tree-optimization/23129 | |
1715 | * tree-vrp.c (extract_range_from_binary_expr): Set value range to | |
1716 | varying for divisions with anti-ranges. | |
1717 | ||
5e5a504e JH |
1718 | 2005-08-02 Jan Hubicka <jh@suse.cz> |
1719 | ||
1720 | * tree-ssa-dom.c (thread_across_edge): Remove updating here. | |
1721 | * tree-ssa-threadupdate.c (thread_block): Add it here. | |
1722 | ||
4dbdb061 JW |
1723 | 2005-08-01 James E Wilson <wilson@specifix.com> |
1724 | ||
1725 | * config/mips/mips.c (mips_encode_section_info, mips_attribute_table, | |
1726 | TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New. | |
1727 | * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P): | |
1728 | New. | |
1729 | * config/mips/predicates.md (const_call_insn_operand): Add check for | |
1730 | SYMBOL_REF_LONG_CALL_P. | |
1731 | * doc/extend.texi (long_call): Document the new attribute. | |
1732 | ||
9e254451 ILT |
1733 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
1734 | Richard Henderson <rth@redhat.com> | |
1735 | ||
1736 | * Makefile.in (RTL_BASE_H): Add real.h. | |
1737 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy | |
1738 | instead of memcpy. | |
1739 | * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv | |
1740 | directly. | |
1741 | * rtl.c (rtl_check_failed_code_mode): New. | |
1742 | * rtl.h (struct rtx_def): Add u.rv. | |
1743 | (XCMWINT, XCNMPRV): New. | |
1744 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT. | |
1745 | (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify. | |
1746 | ||
5671655e RH |
1747 | 2005-08-01 Richard Henderson <rth@redhat.com> |
1748 | ||
75735872 RH |
1749 | * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, |
1750 | with auto-inc codes. | |
1751 | ||
5671655e RH |
1752 | * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE. |
1753 | ||
72ce3d4a JH |
1754 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
1755 | ||
1756 | * i386-protos.h (asm_preferred_eh_data_format): Declare. | |
1757 | * i386.c: Include dwarf2.h | |
1758 | (asm_preferred_eh_data_format): New. | |
1759 | * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline. | |
1760 | ||
23d28bfe ILT |
1761 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
1762 | ||
1763 | * config/host-linux.c (linux_gt_pch_get_address): Add new name | |
1764 | randomize_va_space for virtual address randomization control. | |
1765 | ||
d6e14e8f SB |
1766 | 2005-08-01 Steven Bosscher <stevenb@suse.de> |
1767 | ||
1768 | * common.opt (flag_ipa_cp): Put in right place to maintain | |
1769 | alphabetic sort. | |
1770 | ||
5ded7254 JH |
1771 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
1772 | ||
1773 | * profile.c (compute_value_histograms): Fix thinko. | |
1774 | * value-prof.c: Include toplev.h | |
1775 | (check_counter): New function. | |
1776 | (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform, | |
1777 | tree_mod_subtract_transform): Add sanity check. | |
1778 | ||
a8f82ec4 RG |
1779 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
1780 | ||
1781 | PR tree-optimization/23133 | |
1782 | * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk | |
1783 | current functions parameter decls to find defs to cse | |
1784 | reciprocals of. | |
1785 | ||
ac264fef RG |
1786 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
1787 | ||
1788 | PR tree-optimization/23109 | |
1789 | * tree-ssa-math-opts.c (execute_cse_reciprocals_1): | |
1790 | If trapping math is in effect, use post-dominator information | |
1791 | to check if we'd in any case reach a trapping point before | |
1792 | doing the reciprocal insertion. | |
1793 | (execute_cse_reciprocals): Compute post-dominators, if necessary. | |
1794 | * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV | |
1795 | expressions are invariant only if trapping math is not in effect. | |
1796 | ||
57fb5341 RL |
1797 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> |
1798 | ||
5a006700 MR |
1799 | * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning, |
1800 | cgraph_function_versioning): New declarations. | |
1801 | * cgraphunit.c: Add include to ipa-prop.h. | |
1802 | (update_call_expr, cgraph_copy_node_for_versioning, | |
1803 | cgraph_function_versioning): New functions. | |
1804 | * integrate.c (copy_decl_for_inlining): Remove. | |
1805 | * ipa-prop.h (ipa_replace_map): New struct. | |
1806 | (struct ipa_node): Add ipcp_orig_node, count_scale, new fields. | |
1807 | * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned, | |
1808 | ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale, | |
1809 | ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate, | |
1810 | ipcp_iterate_stage, ipcp_method_scale_print, | |
1811 | ipcp_profile_mt_count_print, ipcp_profile_cs_count_print, | |
1812 | ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print, | |
1813 | ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph, | |
1814 | ipcp_update_bb_counts, ipcp_update_profiling, | |
1815 | ipcp_update_edges_counts): New functions. | |
1816 | (ipcp_method_cval_init): Remove restriction regarding local methods. | |
1817 | (ipcp_init_stage): Add ipcp_method_compute_scale. | |
1818 | (ipcp_insert_stage): Add versioning. | |
1819 | (ipcp_structures_print): Add ipcp_method_scale_print. | |
1820 | (ipcp_driver): Dump profiling info. | |
1821 | * Makefile.in: Remove integrate.h dependency from tree-inline.o. | |
1822 | Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o. | |
1823 | * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h. | |
1824 | (struct inline_data): Add versioning_p, ipa_info, new fields. | |
1825 | (remap_decl, mark_local_for_remap_r, setup_one_parameter, | |
1826 | declare_return_variable): Replace calls to copy_decl_for_inlining with | |
1827 | copy_decl_for_dup. | |
1828 | (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add | |
1829 | versioning support. | |
1830 | (copy_decl_for_dup): Rename from copy_decl_for_inlining. | |
1831 | Add argument VERSIONING. | |
1832 | (copy_arguments_for_versioning, copy_static_chain, | |
1833 | function_versionable_p, tree_versionable_function_p, | |
1834 | tree_function_versioning, replace_ref_tree): New functions. | |
1835 | * tree-inline.h: Include varray.h. | |
1836 | (tree_versionable_function_p, tree_function_versioning, | |
1837 | tree copy_decl_for_dup): New declarations. | |
57fb5341 RL |
1838 | |
1839 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> | |
1840 | ||
5a006700 MR |
1841 | * ipa-cp.c: New file. Contains IPCP specific functionality. |
1842 | * ipa-prop.h: New file. Contains structures/definitions that can be | |
1843 | used by several interprocedural data flow optimizations (and also IPCP). | |
1844 | * ipa-prop.c: New file. | |
1845 | * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c. | |
1846 | * common.opt: Add ipa-cp flag. | |
1847 | * timevar.def: Add IPCP optimization. | |
1848 | * tree-optimize.c (init_tree_optimization_passes): Schedule | |
1849 | pass_ipa_cp. | |
1850 | * tree-pass.h (pass_ipa_cp): Declare. | |
57fb5341 | 1851 | |
569b7f6a KH |
1852 | 2005-08-01 Kazu Hirata <kazu@codesourcery.com> |
1853 | ||
1854 | * dwarf2out.c, fold-const.c, ipa-type-escape.c, | |
1855 | loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c, | |
1856 | tree-sra.c, config/arm/arm.c, config/crx/crx.c, | |
1857 | config/i386/i386.c, config/mips/mips.h, | |
1858 | config/rs6000/rs6000.h, config/sh/sh.c, | |
1859 | config/stormy16/stormy16.c: Fix comment typos. | |
1860 | ||
5922c215 JM |
1861 | 2005-08-01 Joseph S. Myers <joseph@codesourcery.com> |
1862 | ||
1863 | PR c/22311 | |
1864 | * c-typeck.c (build_binary_op): Use common_type wrapper on | |
1865 | shortened types. | |
1866 | (common_type): Update comment. | |
1867 | ||
a3f4b7d8 SB |
1868 | 2005-07-31 Steven Bosscher <stevenb@suse.de> |
1869 | ||
1870 | PR target/23095 | |
1871 | * common.opt (flag_gcse_after_reload): Don't initialize to 2. | |
1872 | (flag_rerun_cse_after_loop): Initialize this to 2 instead. | |
1873 | * postreload-gcse.c (hash_scan_set): Do not consider stack regs. | |
1874 | ||
baf7a0d3 JH |
1875 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
1876 | ||
1877 | * pretty-print.h (pp_widest_integer): New macro. | |
1878 | * tree-pretty-print.c (dump_bb_header): Print BB frequencies and | |
1879 | counts. | |
1880 | ||
7dcbf659 JH |
1881 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
1882 | ||
1883 | * output.h (enum section_category): Export from varasm.c | |
1884 | (categorize_decl_for_section): Likewise. | |
1885 | * varasm.c (enum section_category): Kill. | |
1886 | (categorize_decl_for_section): Make global. | |
1887 | * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common): | |
1888 | Declare. | |
1889 | * i386.c (ix86_section_threshold): New static variable. | |
1890 | (ix86_in_large_data_p, ix86_encode_section_info, | |
1891 | x86_64_elf_unique_section, | |
1892 | x86_64_elf_select_section): New functions. | |
1893 | (TARGET_ENCODE_SECTION_INFO): Define | |
1894 | (override_options): Enable medium model for PIC. | |
1895 | (ix86_expand_prologue): Expand gen_set_got_rex64. | |
1896 | (legitimate_constant_p): Handle new UNSPECs. | |
1897 | (legitimate_pic_address_disp_p): Likewise. | |
1898 | (legitimize_pic_address): Lower MEDIUM model addressing. | |
1899 | * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC. | |
1900 | (enum cmodel): Add MEDIUM_PIC. | |
1901 | (SYMBOL_REF_FAR_ADDR_P): New macro. | |
1902 | (SYMBOL_FLAG_FAR_ADDR): New flag. | |
1903 | * i386.md (movdi): Support medium model. | |
1904 | (set_got_rex64): New pattern. | |
1905 | * i386.opt (mlarge-data-threshold): New flag. | |
1906 | * predicates.md (zext_operand/sext_operand): Deal with medium model. | |
1907 | * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss. | |
1908 | (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION, | |
1909 | TARGET_ASM_UNIQUE_SECTION): New. | |
1910 | ||
1911 | * invoke.texi (-mlarge_data_threshold): Document | |
1912 | ||
0bde02b3 JH |
1913 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
1914 | ||
1915 | * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost. | |
1916 | (coalesce_vars): Likewise. | |
1917 | * tree-ssa-live.c (coalesce_cost): New. | |
1918 | (build_tree_conflict_graph): Use coalesce_cost. | |
1919 | * tree-ssa-live.h (coalesce_cost): Declare. | |
1920 | ||
a4ccc336 RE |
1921 | 2005-07-30 Richard Earnshaw <richard.earnshaw@arm.com> |
1922 | ||
1923 | * arm.md (all peepholes for post-increment operations): Delete. | |
1924 | (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec) | |
1925 | (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec) | |
1926 | (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec) | |
1927 | (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc) | |
1928 | (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete. | |
1929 | ||
06581725 JM |
1930 | 2005-07-30 James A. Morrison <phython@gcc.gnu.org> |
1931 | ||
1932 | * fold-const.c (tree_expr_nonnegative_p): Always return true for | |
1933 | non-integral types. | |
1934 | ||
0cbc4d77 | 1935 | 2005-07-29 Wolfgang Bangerth <bangerth@dealii.org> |
d6e14e8f | 1936 | |
0cbc4d77 WB |
1937 | PR target/22582 |
1938 | * doc/invoke.texi: Document -rdynamic. | |
d6e14e8f | 1939 | |
91d975b8 JM |
1940 | 2005-07-30 Joseph S. Myers <joseph@codesourcery.com> |
1941 | ||
1942 | PR c/23143 | |
1943 | * c-parser.c (c_parser_parms_list_declarator): Call | |
1944 | mark_forward_parm_decls. | |
1945 | * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for | |
1946 | decls with visibility structure. | |
1947 | ||
f26b8ec9 PB |
1948 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
1949 | ||
1950 | * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment. | |
1951 | ||
a14b88bb PB |
1952 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
1953 | ||
1954 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
1955 | prototype. | |
1956 | * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit | |
1957 | value for mode. | |
1958 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument. | |
1959 | ||
7c47d6e9 JM |
1960 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
1961 | ||
1962 | PR c/529 | |
1963 | * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in | |
1964 | nested function declarators. | |
1965 | (pushdecl): Don't call warn_if_shadowing for PARM_DECL. | |
1966 | (grokparms): Call warn_if_shadowing for parameters used within the | |
1967 | parameter list. | |
1968 | (store_parm_decls_newstyle): Call warn_if_shadowing for parameters | |
1969 | not used within the parameter list. | |
1970 | (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters. | |
1971 | ||
3bc751bd JH |
1972 | 2005-07-30 Jan Hubicka <jh@suse.cz> |
1973 | ||
1974 | * expr.c (expand_expr_real_1): Do not load mem targets into register. | |
1975 | * i386.c (ix86_fixup_binary_operands): Likewise. | |
1976 | (ix86_expand_unary_operator): Likewise. | |
1977 | (ix86_expand_fp_absneg_operator): Likewise. | |
1978 | * optabs.c (expand_vec_cond_expr): Validate dest. | |
1979 | ||
bc1594c1 JM |
1980 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
1981 | ||
1982 | PR c/21720 | |
1983 | * real.c (real_from_string): Also set last bit if there is a | |
1984 | nonzero hex digit beyond GCC's internal precision after ".". | |
1985 | ||
3aca4bff DE |
1986 | 2005-07-29 David Edelsohn <edelsohn@gnu.org> |
1987 | ||
1988 | * config/rs6000/altivec.md: Convert UNSPEC numerical values to | |
1989 | define_constants. Change duplicate values to unassigned numbers. | |
1990 | Change UNSPEC_SUBS to UNSPEC_VSUBS. | |
1991 | (*altivec_vspltsf): New. | |
1992 | (altivec_vperm_v4sf): Delete. | |
1993 | (altivec_vperm_<mode>): Use mode macro V. | |
1994 | (altivec_vsldoi_<mode>): Convert to mode macro pattern. | |
1995 | (altivec_predicate_v4sf): Delete. | |
1996 | (altivec_predicate_<mode>): Use mode macro V. | |
1997 | (*altivec_lvesfx): New. | |
1998 | (*altivec_stvesfx): New. | |
1999 | (vec_realign_load_v4sf): Delete. | |
2000 | (vec_realign_load_<mode>): Use mode macro V. | |
2001 | * config/rs6000/rs6000.c (generate_set_vrsave): Use | |
2002 | UNSPECV_SET_VRSAVE. | |
2003 | ||
b28250ab MM |
2004 | 2005-07-29 Mark Mitchell <mark@codesourcery.com> |
2005 | ||
2006 | PR bootstrap/23131 | |
2007 | * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty | |
7904f95f | 2008 | string. |
b28250ab MM |
2009 | * configure: Regenerated. |
2010 | ||
eae50c87 PB |
2011 | 2005-07-29 Paul Brook <paul@codesourcery.com> |
2012 | ||
2013 | * doc/install.texi: Add link to GFortran binaries wiki page. | |
2014 | ||
79dad081 DU |
2015 | 2005-07-29 David Ung <davidu@mips.com> |
2016 | ||
2017 | * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table. | |
2018 | (mips_rtx_cost_data): Add costs for 5kc and 5kf. | |
2019 | * config/mips/mips.h (processor_type): Add PROCESSOR_5KF. | |
2020 | * config/mips/mips.md (cpu): Add 5kf name. | |
2021 | (includes): Includes 5k.md. | |
2022 | * config/mips/5k.md: New DFA pipeline for the 5kc/5kf. | |
2023 | * doc/invoke.texi (MIPS Options): Updated cpu name supported with | |
7904f95f | 2024 | -march flag. |
79dad081 | 2025 | |
89e80dd4 DN |
2026 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
2027 | ||
2028 | PR 22550 | |
2029 | * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ... | |
2030 | (cleanup_tree_cfg): ... here. | |
2031 | Call cleanup_tree_cfg_1 until there are no more cleanups to | |
2032 | do. | |
2033 | ||
d2f3ffba JM |
2034 | 2005-07-29 James A. Morrison <phython@gcc.gnu.org> |
2035 | ||
2036 | * tree-vrp.c (compare_range_with_value): Return true or false | |
2037 | for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and | |
2038 | EQ_EXPR respectively. | |
2039 | ||
536fa7b7 KH |
2040 | 2005-07-29 Kazu Hirata <kazu@codesourcery.com> |
2041 | ||
2042 | * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c: | |
2043 | Fix comment typos. | |
2044 | ||
6a2cf9dc DN |
2045 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
2046 | ||
2047 | * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations. | |
2048 | (tree_ssa_dominator_optimize): Increment it. | |
2049 | (dump_dominator_optimization_stats): Print it. | |
2050 | ||
abf86bf2 RE |
2051 | 2005-07-29 Richard Earnshaw <richard.earnshaw@arm.com> |
2052 | Steven Bosscher <stevenb@suse.de> | |
2053 | ||
2054 | PR rtl-optimization/23117 | |
2055 | * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly | |
2056 | when head == tail. Tidy comment. | |
2057 | ||
37cf6116 RH |
2058 | 2005-07-28 Richard Henderson <rth@redhat.com> |
2059 | ||
2060 | * cse.c (exp_equiv_p): Special case CONST_DOUBLE. | |
2061 | * cselib.c (rtx_equal_for_cselib_p): Likewise. | |
2062 | * jump.c (rtx_renumbered_equal_p): Likewise. | |
2063 | * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0, | |
2064 | CONST_INT and CONST_DOUBLE. | |
2065 | (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF. | |
2066 | * reload.c (operands_match_p): Special case CONST_INT and | |
2067 | CONST_DOUBLE; check mode earlier. | |
2068 | ||
13b22d3a JM |
2069 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
2070 | ||
2071 | PR c/22240 | |
2072 | * c-typeck.c (convert_for_assignment): Do not check | |
2073 | DECL_IN_SYSTEM_HEADER on NULL fundecl. | |
2074 | ||
ca8bdb78 JM |
2075 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
2076 | ||
2077 | PR c/22192 | |
2078 | * c-typeck.c (composite_type): Prefer constant size arrays to | |
2079 | VLAs. | |
2080 | ||
b608d27a JM |
2081 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
2082 | ||
2083 | PR c/21720 | |
2084 | * real.c (real_from_string): Set last bit if there is a nonzero | |
2085 | hex digit beyond GCC's internal precision. | |
2086 | ||
a560c83a RH |
2087 | 2005-07-28 Richard Henderson <rth@redhat.com> |
2088 | ||
2089 | PR rtl-opt/22619 | |
2090 | * cfgcleanup.c (try_forward_edges): Watch out for end of | |
2091 | insn chain. | |
2092 | ||
66f33c03 JW |
2093 | 2005-07-28 James E Wilson <wilson@specifixinc.com> |
2094 | ||
2095 | PR c/23106 | |
2096 | * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording. | |
2097 | ||
c5a4444c JH |
2098 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
2099 | ||
8a76829c JH |
2100 | * Makefile.in (rtl-profile.o): Kill all traces of it. |
2101 | * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill. | |
2102 | * coverage.h (rtl_coverage_counter_ref): Kill. | |
2103 | * opts.c (flag_speculative_prefetching_set): Kill. | |
2104 | (flag_loop_optimize_set): New. | |
2105 | (common_handle_option): Disable loop optimizer when profiling; | |
2106 | do not handle speculative prefetching. | |
2107 | * passes.c (init_optimization_passes): Replace pass_profiling combo | |
2108 | by branch_prob pass. | |
2109 | * profile.c (compute_value_histograms): Update for simplified value | |
2110 | profiles. | |
2111 | (rtl_register_profile_hooks): Kill. | |
2112 | (pass_profiling): Kill. | |
2113 | (rest_of_handle_branch_prob): Do not profile. | |
2114 | * toplev.c (process_options): Remove speculative prefetching. | |
2115 | * toplev.h (flag_tree_based_profiling): Kill. | |
2116 | * tree-profile.c (prepare_instrumented_value, | |
2117 | tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
2118 | tree_gen_one_value_profiler, do_tree_profiling): Update for | |
2119 | simplified datastructures. | |
2120 | * value-prof.c: Add comment that speculative prefetching was dropped; | |
2121 | update rest of file for simplified datastructures. | |
2122 | (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX, | |
2123 | rtl_divmod_values_to_profile, insn_prefetch_values_to_profile, | |
2124 | find_mem_reference_1, find_mem_reference_2, find_mem_reference, | |
2125 | rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2, | |
2126 | rtl_mod_subtract, gen_speculative_prefetch, | |
2127 | rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform, | |
2128 | rtl_mod_subtract_transform, speculative_prefetching_transform): Kill. | |
2129 | (gate_handle_value_profile_transformations, | |
2130 | rest_of_handle_value_profile_transformations, | |
2131 | pass_value_profile_transformations): Kill. | |
2132 | * value-prof.h (histogram_value_t): Remove IL based unions. | |
2133 | (rtl_register_value_prof_hooks, rtl_register_profile_hooks, | |
2134 | rtl_profile_hooks): Remove hooks. | |
2135 | ||
2136 | * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill. | |
2137 | ||
c5a4444c JH |
2138 | * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument. |
2139 | (cgraph_clone_node): Likewise. | |
2140 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
2141 | (cgraph_clone_node): Likewise. | |
2142 | * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of | |
2143 | cgraph_clone_node. | |
2144 | (lookup_recursive_calls): Consider profile. | |
2145 | (cgraph_decide_recursive_inlining): Fix updating; use new | |
2146 | probability argument; use profile. | |
2147 | * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New. | |
2148 | * tree-inline.c (copy_bb): Update clal of clone_edge. | |
2149 | * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node. | |
2150 | ||
2151 | * invoke.texi (min-inline-recursive-probability): Document. | |
2152 | ||
ccf548a7 GP |
2153 | 2005-07-28 Gerald Pfeifer <gerald@pfeifer.com> |
2154 | ||
2155 | * doc/install.texi (Configuration): Update Valgrind homepage. | |
2156 | ||
2c97f8e4 RH |
2157 | 2005-07-28 Richard Henderson <rth@redhat.com> |
2158 | ||
407ab83b | 2159 | PR middle-end/21362 |
2c97f8e4 RH |
2160 | * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on |
2161 | labels we want to delete. | |
2162 | (cfg_layout_merge_blocks): Likewise. | |
2163 | ||
b188ebb1 RH |
2164 | 2005-07-28 Richard Henderson <rth@redhat.com> |
2165 | ||
2166 | PR target/17692 | |
d6e14e8f SB |
2167 | * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note |
2168 | when expanding to nothing. | |
b188ebb1 | 2169 | |
facc20ee JC |
2170 | 2005-07-28 Josh Conner <jconner@apple.com> |
2171 | ||
2172 | * ipa-inline.c (update_caller_keys): Fix estimated_growth caching. | |
2173 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
2174 | ||
9de21a23 JC |
2175 | 2005-07-28 Josh Conner <jconner@apple.com> |
2176 | ||
2177 | * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift | |
2178 | direction of badness if negative. | |
2179 | (cgraph_default_inline_p): Add reason to parameters, and assign it | |
2180 | a value. | |
2181 | (cgraph_decide_inlining_of_small_functions): New parameter in call | |
2182 | to cgraph_default_inline_p. | |
2183 | (cgraph_decide_inlining_incrementally): Likewise. | |
2184 | * cgraphunit.c (decide_is_function_needed): Likewise. | |
2185 | * cgraph.h (cgraph_default_inline_p): Likewise. | |
2186 | ||
206048bd VR |
2187 | 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2188 | ||
2189 | * builtins.c: Fix comment typo(s). | |
2190 | * genautomata.c: Likewise. | |
2191 | * gimplify.c: Likewise. | |
2192 | * tree-dfa.c: Likewise. | |
2193 | * tree-flow-inline.h: Likewise. | |
2194 | * tree-into-ssa.c: Likewise. | |
2195 | * tree-ssa-alias.c: Likewise. | |
2196 | * tree-ssa-ccp.c: Likewise. | |
2197 | * tree-ssa-copy.c: Likewise. | |
2198 | * tree-ssa-dce.c: Likewise. | |
2199 | * tree-ssa-dom.c: Likewise. | |
2200 | * tree-ssa-operands.c: Likewise. | |
2201 | * tree-tailcall.c: Likewise. | |
2202 | * tree-vectorizer.c: Likewise. | |
2203 | * tree-vrp.c: Likewise. | |
2204 | * tree.c: Likewise. | |
2205 | ||
d579f20b JL |
2206 | 2005-07-28 Jeff Law <law@redhat.com> |
2207 | ||
d6e14e8f SB |
2208 | * tree-vrp.c (test_for_singularity): Extracted from ... |
2209 | (simplify_cond_using_ranges): Attempt to simplify a relational | |
2210 | test to NE_EXPR. Dump information when a COND_EXPR is simplified. | |
d579f20b | 2211 | |
5bb1823d DN |
2212 | 2005-07-28 Dorit Nuzman <dorit@il.ibm.com> |
2213 | ||
2214 | PR tree-optimization/22506 | |
2215 | * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed | |
2216 | phis whose argument is constant. | |
2217 | ||
b92ba6ff R |
2218 | 2005-07-28 J"orn Rennecke <joern.rennecke@st.com> |
2219 | ||
2220 | PR rtl-optimization/18992 | |
2221 | Back out this patch: | |
2222 | 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
2223 | PR optimization/12142 | |
2224 | * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the | |
2225 | uses of the register in the SET_SRC. Remove unnecessary argument. | |
2226 | ||
2227 | Replace it with this: | |
2228 | * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases, | |
2229 | if flag_non_call_exceptions is set and the insn may trap, pass | |
2230 | pc_rtx as dest for recursion. | |
2231 | In SET_SRC part of SET case, if dest is already set, pass it down | |
2232 | unchanged. | |
2233 | ||
09bac500 JH |
2234 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
2235 | ||
2236 | * cfg.c (update_bb_profile_for_threading): Use RDIV. | |
2237 | (scale_bbs_frequencies_int): Likewise, assert for possible overflow. | |
2238 | (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and | |
2239 | roundoff errors. | |
2240 | * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating | |
2241 | profile when available. | |
2242 | ||
2243 | 2005-07-28 Jan Beulich <jbeulich@novell.com> | |
a71aef0b JB |
2244 | |
2245 | * config/ia64/ia64.c (ia64_load_pair_ok): New. | |
2246 | (ia64_print_operand): Describe and handle 'X'. | |
2247 | (ia64_register_move_cost): Also handle FP_REGS. | |
2248 | (ia64_preferred_reload_class): Likewise. | |
2249 | (ia64_secondary_reload_class): Likewise. | |
2250 | (ia64_dependencies_evaluation_hook): New local variable c. Initialize | |
2251 | it. Also check for ITANIUM_CLASS_FLDP. | |
2252 | * config/ia64/ia64.h (FP_REGNO_P): New. | |
2253 | (HARD_REGNO_MODE_OK): Remove explusion of TImode. | |
2254 | (reg_class): Add FP_REGS. | |
2255 | (REG_CLASS_NAMES): Adjust for it. | |
2256 | (REG_CLASS_CONTENTS): Likewise. | |
2257 | (REGNO_REG_CLASS): Use FP_REGS where appropriate. | |
2258 | (REG_CLASS_FROM_LETTER): Handle 'x'. | |
2259 | (CLASS_MAX_NREGS): Handle FP_REGS. | |
2260 | (MEMORY_MOVE_COST): Likewise. | |
2261 | * config/ia64/ia64.md (itanium_class): Add fldp. | |
2262 | (type): Handle fldp. | |
2263 | (movti_internal): More allowable operand combinations. Use ldfp8 when | |
2264 | splitting unnecessary. Remove predicable attribute. Adjust | |
2265 | itanium_class attribute. | |
2266 | (smuldi3_highpart): Remove outdated comment. | |
2267 | (mulditi3, umulditi3, rotlti3): New expanders. | |
2268 | (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns. | |
2269 | (absti2): Disabled new insn for future reference. | |
2270 | Respective new splitters. | |
2271 | * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations. | |
2272 | * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise. | |
2273 | * config/ia64/ia64-protos.h (ia64_load_pair_ok): New. | |
2274 | ||
77d1d8e0 JM |
2275 | 2005-07-25 James A. Morrison <phython@gcc.gnu.org> |
2276 | ||
2277 | PR rtl-optimization/23047 | |
2278 | * simplify-rtx.c (simplify_const_relational_operation): Respect | |
2279 | flag_wrapv for comparisons with ABS. | |
2280 | ||
ff08cbee JM |
2281 | 2005-07-27 James A. Morrison <phython@gcc.gnu.org> |
2282 | ||
2283 | PR tree-optimization/22493 | |
2284 | * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and | |
2285 | VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs. | |
2286 | ||
38c28a25 AH |
2287 | 2005-07-27 Aldy Hernandez <aldyh@redhat.com> |
2288 | ||
2289 | * config/frv/frv.opt (moptimize-membar): New. | |
2290 | ||
2291 | * doc/invoke.texi: Document -moptimize-membar and its inverse. | |
2292 | ||
2293 | * config/frv/frv.h: Remove machine_function definition. | |
2294 | ||
d6e14e8f SB |
2295 | * config/frv/frv.c (struct frv_io): New. |
2296 | (struct machine_function): Moved from frv.h. Add has_membar_p. | |
2297 | (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union) | |
2298 | (frv_extract_membar, frv_io_check_address, frv_io_handle_set) | |
2299 | (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local) | |
2300 | (frv_optimize_membar_global, frv_optimize_membar): New functions. | |
2301 | (frv_reorg): Call frv_optimize_membar when appropriate. | |
2302 | (bdesc_loads, bdesc_stores): Use the membar code as the icode field. | |
2303 | (frv_expand_builtin): Adjust calls accordingly. | |
2304 | (frv_io_address_cookie): New function. | |
2305 | (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal | |
2306 | load or store rather than a special insn. Add ccnstant address and | |
2307 | io-type operands to the membar. | |
38c28a25 AH |
2308 | (frv_ifcvt_modify_tests): Unsign regno. |
2309 | (frv_ifcvt_modify_tests): Same. | |
2310 | ||
2311 | * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change | |
2312 | UNSPEC_OPTIONAL_MEMBAR constant. | |
2313 | (builtin_read_<mode>): Delete. | |
2314 | (builtin_write_<mode>): Delete. | |
2315 | ("optional_membar_<mode>"): Add operand. | |
2316 | ||
2317 | * testsuite/gcc.target/frv/all-builtin-read8.c: Delete. | |
2318 | * testsuite/gcc.target/frv/all-builtin-read16.c: Delete. | |
2319 | * testsuite/gcc.target/frv/all-builtin-read32.c: Delete. | |
2320 | * testsuite/gcc.target/frv/all-builtin-read64.c: Delete. | |
2321 | * testsuite/gcc.target/frv/all-builtin-write8.c: Delete. | |
2322 | * testsuite/gcc.target/frv/all-builtin-write16.c: Delete. | |
2323 | * testsuite/gcc.target/frv/all-builtin-write32.c: Delete. | |
2324 | * testsuite/gcc.target/frv/all-builtin-write64.c: Delete. | |
2325 | * testsuite/gcc.target/frv/all-read-write-1.c: New. | |
2326 | ||
47c504ea KK |
2327 | 2005-07-28 Kaz Kojima <kkojima@gcc.gnu.org> |
2328 | ||
2329 | * df.c (df_uses_record): Handle SCRATCH. | |
2330 | ||
ef11c839 SB |
2331 | 2005-07-28 Steven Bosscher <stevenb@suse.de> |
2332 | ||
2333 | PR debug/20161 | |
2334 | * passes.c (rest_of_decl_compilation): If decl is a type and | |
2335 | we have encountered errors, don't emit debug information. | |
2336 | ||
1eb68dca | 2337 | 2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com> |
ef11c839 | 2338 | |
1eb68dca | 2339 | * params.def: Fixed comment. |
7904f95f | 2340 | |
10252a62 BH |
2341 | 2005-07-27 Bjoern Haase <bjoern.m.haase@web.de> |
2342 | ||
2343 | PR target/19885 | |
2344 | * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add. | |
2345 | (TARGET_ASM_UNALIGNED_HI_OP): Add. | |
2346 | (TARGET_ASM_UNALIGNED_SI_OP): Add. | |
2347 | ||
e4598783 SB |
2348 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
2349 | ||
2350 | PR c++/22003 | |
2351 | * varasm.c (assemble_start_function): Don't do anything that may | |
2352 | require a CFG if the current function is a thunk. | |
2353 | ||
a9fdd472 GK |
2354 | 2005-07-25 Geoffrey Keating <geoffk@apple.com> |
2355 | ||
2356 | * doc/install.texi (Prerequisites): Mention that perl is needed | |
2357 | to do export control in libstdc++ targetting Darwin. | |
2358 | ||
2bd1e239 SB |
2359 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
2360 | ||
2361 | PR rtl-optimization/17808 | |
2362 | * sched-deps.c (sched_get_condition): Enable #if 0'ed code. | |
2363 | (sched_insns_conditions_mutex_p): Split out from... | |
2364 | (add_dependence): ...here. But don't call it from here. | |
2365 | (add_dependence_list): Check sched_insns_conditions_mutex_p | |
2366 | before calling add_dependence. | |
2367 | (add_dependence_list_and_free): Likewise. | |
2368 | (fixup_sched_groups): Likewise. | |
2369 | (sched_analyze_1): Likewise. | |
2370 | (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE). | |
2371 | (sched_analyze): Likewise. | |
2372 | (sched_analyze_insn): Likewise. | |
2373 | * sched-ebb.c (add_deps_for_risky_insns): Likewise. | |
2374 | * sched-rgn.c (add_branch_dependences): Likewise. Also, add | |
2375 | dependencies on all COND_EXEC insns to jumps ending basic blocks | |
2376 | when doing intrablock scheduling. | |
2377 | * sched-int.h (sched_insns_conditions_mutex_p): Add prototype. | |
2378 | ||
880031e1 JL |
2379 | 2005-07-27 Jeff Law <law@redhat.com> |
2380 | ||
2381 | * tree-vrp.c (vrp_meet): Intersect the equivalency sets when | |
2382 | meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting | |
2383 | equivalency sets, correctly handle the case were vr0 has an | |
2384 | equivalency set, but vr1 does not. | |
2385 | ||
b940ce0e DN |
2386 | 2005-07-27 Dorit Nuzman <dorit@il.ibm.com> |
2387 | ||
2388 | PR tree-optimization/23073 | |
7904f95f | 2389 | * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call |
b940ce0e DN |
2390 | vect_print_dump_info before fprintf. |
2391 | ||
26c40640 ZD |
2392 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
2393 | ||
2394 | PR tree-optimize/22348 | |
2395 | * tree-ssa-loop-niter.c (number_of_iterations_cond): | |
2396 | Fold the partial computation. | |
2397 | ||
3ac01fde ZD |
2398 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
2399 | ||
2400 | PR tree-optimization/22325 | |
2401 | * tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost): | |
2402 | Declare. | |
2403 | * tree-scalar-evolution.c (scev_const_prop): Add generic final | |
2404 | value replacement. | |
2405 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ... | |
2406 | (force_var_cost): ... this function. | |
2407 | (compute_phi_arg_on_exit): Export. | |
2408 | ||
77fcaf4b ZD |
2409 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
2410 | ||
2411 | PR tree-optimization/20773 | |
2412 | * tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch | |
2413 | edge. | |
2414 | ||
c11b0231 RG |
2415 | 2005-07-27 Richard Guenther <rguenther@suse.de> |
2416 | ||
2417 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): | |
2418 | Avoid pushing again if current struct contains only | |
2419 | fields we decomposed. | |
2420 | ||
57a73709 JH |
2421 | 2005-07-27 Jan Hubicka <jh@suse.cz> |
2422 | ||
093c2329 JH |
2423 | PR tree-optimization/22574 |
2424 | * cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are | |
2425 | not available. | |
2426 | ||
23504559 JH |
2427 | * tree-tailcall.c (decrease_profile): New function. |
2428 | (eliminate_tail_call): Use it. | |
2429 | ||
57a73709 JH |
2430 | * cgraphunit.c (cgraph_function_and_variable_visibility): Set |
2431 | visibility flags correctly in whole program mode. | |
2432 | ||
b5395c33 SE |
2433 | 2005-07-26 Steve Ellcey <sje@cup.hp.com> |
2434 | ||
2435 | PR rtl-optimization/22472 | |
2436 | * config/pa/pa.h (HARD_REGNO_RENAME_OK): Define. | |
2437 | ||
86979811 SB |
2438 | 2005-07-26 Steven Bosscher <stevenb@suse.de> |
2439 | ||
2440 | PR tree-optimization/22504 | |
2441 | * tree-complex.c (expand_complex_addition): Use 'code' instead | |
2442 | of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING). | |
2443 | ||
faf9ab98 AH |
2444 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
2445 | ||
2446 | * config.gcc (cpu_type): Add frv case. | |
2447 | (with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases. | |
2448 | (supported_defaults): Add fr550 case. | |
2449 | ||
31521cd4 DN |
2450 | 2005-07-26 Diego Novillo <dnovillo@redhat.com> |
2451 | ||
2452 | PR 22591 | |
2453 | * tree-ssa-alias.c (may_alias_p): Remove shortcut that tests | |
2454 | whether a pointer of type T * may point to objects of type T *. | |
2455 | ||
45499411 DD |
2456 | 2005-07-26 DJ Delorie <dj@redhat.com> |
2457 | ||
2458 | * configure: Regenerate. | |
2459 | ||
576a4795 DJ |
2460 | 2005-07-26 Dale Johannesen <dalej@apple.com> |
2461 | ||
2462 | * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. | |
2463 | ||
526635cb MM |
2464 | 2005-07-26 Mark Mitchell <mark@codesourcery.com> |
2465 | ||
2466 | * doc/install.texi (--with-build-sysroot): Fix grammatical error. | |
2467 | Clarify use of "build" in name. | |
2468 | ||
c14ff86e AH |
2469 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
2470 | ||
2471 | * doc/extend.texi (Raw read/write Functions): New section. | |
2472 | * testsuite/gcc.target/frv/all-builtin-read8.c: New. | |
2473 | * testsuite/gcc.target/frv/all-builtin-read16.c: New. | |
2474 | * testsuite/gcc.target/frv/all-builtin-read32.c: New. | |
2475 | * testsuite/gcc.target/frv/all-builtin-read64.c: New. | |
2476 | * testsuite/gcc.target/frv/all-builtin-write8.c: New. | |
2477 | * testsuite/gcc.target/frv/all-builtin-write16.c: New. | |
2478 | * testsuite/gcc.target/frv/all-builtin-write32.c: New. | |
2479 | * testsuite/gcc.target/frv/all-builtin-write64.c: New. | |
2480 | * config/frv/frv.c: Add bdesc_loads global. | |
2481 | Add bdesc_stores global. | |
2482 | (frv_init_builtins): Add support for __builtin_{read/write}*. | |
2483 | (frv_volatile_memref): New. | |
2484 | (frv_expand_load_builtin): New. | |
2485 | (frv_expand_store_builtin): New. | |
2486 | * config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN, | |
2487 | FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32, | |
2488 | FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16, | |
2489 | FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64. | |
2490 | * config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD, | |
2491 | UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR. | |
2492 | (builtin_read_<mode>): New. | |
2493 | (builtin_write_<mode>): New. | |
2494 | (builtin_write64): New. | |
2495 | (optional_membar_<mode>): New. | |
2496 | ||
db487452 R |
2497 | 2005-07-26 J"orn Rennecke <joern.rennecke@st.com> |
2498 | ||
2499 | * emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits | |
2500 | (rather than units) against HOST_BITS_PER_WIDE_INT. | |
2501 | ||
783455db KH |
2502 | 2005-07-26 Kazu Hirata <kazu@codesourcery.com> |
2503 | ||
2504 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, | |
2505 | ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c, | |
2506 | ipa-utils.h, treestruct.def, config/crx/crx-protos.h, | |
2507 | config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update | |
2508 | FSF address. | |
2509 | ||
a4174ebf KH |
2510 | * calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c, |
2511 | tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h, | |
2512 | config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix | |
2513 | comment typos. | |
2514 | * doc/c-tree.texi, doc/tree-ssa.texi: Fix typos. | |
2515 | ||
46c0a59d RG |
2516 | 2005-07-26 Richard Guenther <rguenther@suse.de> |
2517 | ||
2518 | PR tree-optimization/22486 | |
2519 | * fold-const.c (fold_unary): Fold away useless component | |
2520 | references of the form (T *)&T.x, if the address | |
2521 | doesn't change. | |
2522 | ||
3e2844cb JW |
2523 | 2005-07-25 James E Wilson <wilson@specifixinc.com> |
2524 | ||
2525 | * dwarf2out.c (add_call_src_coords_attributes): New. | |
2526 | (gen_inlined_subroutine_die): Call it. | |
2527 | (maybe_emit_file, init_file_table): Add comments. | |
2528 | (prune_unused_types_walk_attribs): Pass DW_AT_call_file through | |
2529 | maybe_emit_file. | |
2530 | * tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION. | |
2531 | (expand_call_inline): Set BLOCK_SOURCE_LOCATION. | |
2532 | * tree.h (BLOCK_SOURCE_LOCATION): New. | |
2533 | (struct tree_block): New field locus. | |
2534 | ||
9275de65 AS |
2535 | 2005-07-26 Andreas Schwab <schwab@suse.de> |
2536 | ||
2537 | PR rtl-optimization/23043 | |
2538 | * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo | |
2539 | when allocating a struct unoccr. | |
2540 | ||
5306ec31 RH |
2541 | 2005-07-25 Richard Henderson <rth@redhat.com> |
2542 | ||
2543 | PR 22626 | |
2544 | * tree-complex.c (gate_no_optimization): True if errors. | |
2545 | * Makefile.in (tree-complex.o): Update dependencies. | |
2546 | ||
bfa653b3 AH |
2547 | 2005-07-25 Aldy Hernandez <aldyh@redhat.com> |
2548 | ||
2549 | * config/frv/predicates.md (integer_register_operand): Use | |
2550 | GPR_AP_OR_PSEUDO_P. | |
2551 | ||
43e364dd AP |
2552 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
2553 | ||
2554 | PR tree-opt/22484 | |
2555 | * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions | |
2556 | after fold. | |
2557 | * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands. | |
2558 | ||
c72f711f AP |
2559 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
2560 | ||
2561 | * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point | |
2562 | types when flag_unsafe_math_optimizations is true. | |
2563 | ||
160633c6 MM |
2564 | 2005-07-25 Mark Mitchell <mark@codesourcery.com> |
2565 | ||
2566 | * gcc.c (option_map): Add --sysroot. | |
2567 | (process_command): Handle --sysroot. | |
2568 | (display_help): Document it. | |
2569 | * doc/cppopts.tex (-isysroot): Document. | |
2570 | * doc/invoke.texi (--sysroot): Document. | |
2571 | * doc/install.texi (--with-build-sysroot): Document. | |
2572 | ||
2573 | * Makefile.in (inhibit_libc): New variable. | |
2574 | (INHIBIT_LIBC_CFLAGS): Likewise. | |
2575 | (LIBGCC2_CFLAGS): Include | |
2576 | $(INHIBIT_LIBC_CFLAGS). | |
2577 | (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). | |
2578 | ($(T)crtbegin.o): Do not use @inhibit_libc@. | |
2579 | ($(T)crtend.o): Likewise. | |
2580 | ($(T)crtbeginS.o): Do not use @inhibit_libc@. | |
2581 | ($(T)crtendS.o): Likewise. | |
2582 | ($(T)crtbeginT.o): Do not use @inhibit_libc@. | |
2583 | ($(T)crtendT.o): Likewise. | |
2584 | (stmp-fixinc): Do not complain about missing headers if | |
2585 | inhibit_libc. | |
2586 | * configure.ac (inhibit_libc): Set it to true/false. | |
2587 | (--with-build-sysroot): New option. Use it to set | |
7904f95f | 2588 | SYSTEM_HEADER_DIR. |
160633c6 MM |
2589 | * configure: Regenerated. |
2590 | ||
1490f93a MH |
2591 | 2005-07-25 Manfred Hollstein <mh@suse.com> |
2592 | ||
2593 | * calls.c (store_one_arg): Fix unsigned comparison warning. | |
2594 | ||
76e20664 SB |
2595 | 2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
2596 | ||
2597 | PR other/22337 | |
2598 | * ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD. | |
2599 | (ggc_print_statistics): Initialize variable before use. | |
2600 | ||
5c97e2de RG |
2601 | 2005-07-25 Richard Guenther <rguenther@suse.de> |
2602 | ||
2603 | * tree-dfa.c (mark_new_vars_to_rename): Protect against | |
2604 | calling with a PHI_NODE argument. | |
2605 | ||
2606 | * tree-flow-inline.h (overlap_subvar): Protect against | |
2607 | possible overflow. | |
2608 | ||
7fefc172 PB |
2609 | 2005-07-25 Paolo Bonzini <bonzini@gnu.org> |
2610 | ||
2611 | * aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory. | |
2612 | * configure: Regenerate. | |
2613 | ||
86a07404 IR |
2614 | 2005-07-25 Ira Rosen <irar@il.ibm.com> |
2615 | ||
2616 | * expr.c (highest_pow2_factor): Make extern. | |
2617 | * tree-data-ref.c (ptr_decl_may_alias_p): New function. | |
2618 | (ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p, | |
2619 | record_array_differ_p, array_ptr_differ_p): Likewise. | |
2620 | (base_object_differ_p): Rename (from array_base_name_differ_p). Support | |
2621 | additional cases. Call the above functions. | |
2622 | (base_addr_differ_p): Moved from tree-vect-analyze.c. Call | |
2623 | base_object_differ_p when there are two base objects. Otherwise, compare | |
2624 | base address and offset. Call may_alias_p. | |
2625 | (dump_data_reference): Use a correct field name. | |
2626 | (analyze_array): Make static. Initialize new data-ref fields. | |
2627 | (analyze_indirect_ref): New function. | |
7904f95f EC |
2628 | (init_data_ref): Initialize new data-ref fields. |
2629 | (strip_conversion): Moved from tree-vect-analyze.c. | |
7fefc172 PB |
2630 | (analyze_offset_expr, get_ptr_offset, address_analysis, |
2631 | object_analysis): Likewise. | |
86a07404 | 2632 | (analyze_offset): New function. |
86979811 | 2633 | (create_data_ref): Likewise. |
86a07404 IR |
2634 | (initialize_data_dependence_relation): Call base_addr_differ_p. Compare |
2635 | dimensions for ARRAY_REFs only. | |
2636 | (build_classic_dist_vector): Make static. | |
2637 | (access_functions_are_affine_or_constant_p): Call macro to get the | |
2638 | address of access functions. | |
2639 | (compute_all_dependences): Add new parameter | |
7904f95f | 2640 | compute_self_and_read_read_dependences. Compute self and read-read |
86a07404 IR |
2641 | dependences if it is true. |
2642 | (find_data_references_in_loop): Call create_data_ref. Initialize new | |
2643 | data-ref fields. | |
2644 | (compute_data_dependences_for_loop): Add new parameter | |
2645 | compute_self_and_read_read_dependences. Remove parameter nb_loops, | |
7fefc172 PB |
2646 | compute nb_loops. Call compute_all_dependences, |
2647 | build_classic_dist_vector and build_classic_dir_vector with correct | |
2648 | parameters. | |
2649 | (analyze_all_data_dependences): Call compute_data_dependences_for_loop | |
2650 | with correct parameters. Compare dimensions for ARRAY_REFs only. | |
86a07404 IR |
2651 | (free_data_refs): Call macro to free access functions. |
2652 | * tree-data-ref.h (struct first_location_in_loop): New structure. Move | |
2653 | fields from stmt_vinfo. | |
2654 | (struct base_object_info): New structure. | |
7904f95f | 2655 | (struct data_reference): Move fields to base_object_info. Add fields |
86a07404 | 2656 | first_location and object_info for above structures. Move fields from |
7fefc172 PB |
2657 | stmt_info: memtag, ptr_info, subvars, misalignment. Add new field |
2658 | aligned_to. Add macros to access the new fields. | |
86a07404 IR |
2659 | Update functions declarations. |
2660 | * tree-flow.h (is_aliased_with): Declare. | |
2661 | * tree-loop-linear.c (linear_transform_loops): Call | |
2662 | compute_data_dependences_for_loop with correct parameters. | |
2663 | * tree-ssa-alias.c (is_aliased_with): New function. | |
86979811 | 2664 | * tree-vect-analyze.c (vect_get_ptr_offset): Remove. |
86a07404 IR |
2665 | (vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise. |
2666 | (vect_analyze_data_ref_dependence): Get ddr. Remove call to | |
2667 | vect_base_addr_differ_p, compute_subscript_distance and | |
2668 | build_classic_dist_vector. Add printings. Check absolute value of | |
2669 | distance. | |
7fefc172 PB |
2670 | (vect_analyze_data_ref_dependences): Go through ddrs instead of |
2671 | data-refs. | |
86a07404 IR |
2672 | (vect_compute_data_ref_alignment): Get the fields of data-ref instead of |
2673 | stmt. Check aligned_to. Check if the base is aligned. Remove conversion | |
2674 | to bytes. Add printing. | |
7fefc172 PB |
2675 | (vect_compute_data_refs_alignment): Go through loads and stores in one |
2676 | loop. | |
86a07404 IR |
2677 | (vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment, |
2678 | vect_analyze_data_ref_access): Likewise. | |
2679 | (vect_analyze_pointer_ref_access): Remove. | |
2680 | (vect_address_analysis, vect_object_analysis): Likewise. | |
2681 | (vect_analyze_data_refs): Call compute_data_dependences_for_loop to find | |
2682 | and analyze data-refs in the loop. | |
7fefc172 PB |
2683 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the |
2684 | fields of data-ref instead of stmt. Add init to the offset from the | |
2685 | base. | |
86a07404 IR |
2686 | (vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt. |
2687 | (vect_update_init_of_dr): Likewise. | |
2688 | (vect_update_inits_of_drs): Go through loads and stores in one loop. | |
7fefc172 PB |
2689 | * tree-vectorizer.c (new_stmt_vec_info): Remove initialization of |
2690 | removed fields. | |
86a07404 IR |
2691 | (new_loop_vec_info): Initialize new fields. |
2692 | (destroy_loop_vec_info): Free new fields. | |
2693 | (vect_strip_conversion): Remove. | |
2694 | * tree-vectorizer.h (enum verbosity_levels): Add new verbosity level. | |
2695 | (struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into | |
7904f95f | 2696 | datarefs. Add new field ddrs. |
86a07404 IR |
2697 | Add macros for the new fields access. |
2698 | (struct _stmt_vec_info): Remove: base_address, initial_offset, step, | |
2699 | base_aligned_p, misalignment, memtag, ptr_info and subvars. | |
2700 | Remove their macros. | |
2701 | * tree.h (highest_pow2_factor): Declare. | |
2702 | ||
0dc42b03 JJ |
2703 | 2005-07-25 Jakub Jelinek <jakub@redhat.com> |
2704 | ||
2705 | * calls.c (store_one_arg): Check for sibling call MEM arguments | |
2706 | from already clobbered incoming argument area. | |
2707 | ||
104f8784 KG |
2708 | 2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2709 | ||
2710 | * c-common.c (check_missing_format_attribute): New. | |
2711 | * c-common.h (check_missing_format_attribute): Likewise. | |
2712 | * c-typeck.c (convert_for_assignment): Use it. | |
2713 | ||
1b8452d0 AS |
2714 | 2005-07-24 Andreas Schwab <schwab@suse.de> |
2715 | ||
2716 | * config/m68k/m68k.md ("extendqidi2"): When source is an address | |
2717 | register use a word move. Correct operand of ext.w in 68000 code. | |
2718 | ||
2b402955 MM |
2719 | 2005-07-23 Mark Mitchell <mark@codesourcery.com> |
2720 | ||
2721 | * dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT | |
2722 | variables as declarations, rather than definitions. | |
2723 | ||
c8af1197 IR |
2724 | 2005-07-24 Ira Rosen <irar@il.ibm.com> |
2725 | ||
86979811 SB |
2726 | PR tree-optimization/22526 |
2727 | * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type | |
2728 | of the zero node. | |
c8af1197 | 2729 | |
1b135aa5 FXC |
2730 | 2005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
2731 | ||
2732 | * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins | |
2733 | that C99 reserve for future use. Use it to define clog10, | |
2734 | clog10f and clog10l. | |
2735 | ||
ac0f3f39 KG |
2736 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2737 | ||
2738 | * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute. | |
2739 | * configure.ac: Check for -Wmissing-format-attribute. | |
7904f95f | 2740 | |
ac0f3f39 KG |
2741 | * configure: Regenerate. |
2742 | ||
db753fa1 RH |
2743 | 2005-07-23 Richard Henderson <rth@redhat.com> |
2744 | ||
2745 | PR tree-optimization/22623 | |
2746 | * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. | |
2747 | ||
28f155be GB |
2748 | 2005-07-23 Giovanni Bajo <giovannibajo@libero.it> |
2749 | ||
2750 | PR target/22577 | |
2751 | * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR. | |
2752 | ||
db857e7d KG |
2753 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2754 | ||
2755 | * Makefile.in (C_TREE_H): Update dependencies. | |
2756 | * c-tree.h: Include toplev.h. | |
2757 | * diagnostic.h (diagnostic_set_info): Add format attribute. | |
2758 | * rtl-error.c (diagnostic_for_asm): Likewise. | |
2759 | ||
118ea793 CF |
2760 | 2005-07-23 Chao-ying Fu <fu@mips.com> |
2761 | ||
2762 | * config/mips/mips-dsp.md: New file. | |
2763 | * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes. | |
2764 | * config/mips/mips.c (mips_function_type): Add types for DSP builtin | |
2765 | functions. | |
2766 | (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and | |
2767 | MIPS_BUILTIN_BPOSGE32. | |
2768 | (mips_expand_builtin_direct): Add one parameter to indicate that | |
2769 | builtin functions need to return a value. | |
2770 | (mips_expand_builtin_bposge): New for expanding "bposge" builtin | |
2771 | functions. | |
2772 | (mips_regno_to_class): Add classes for 12 new DSP registers. | |
2773 | (mips_subword): Change to check four HI registers. | |
2774 | (mips_output_move): Output move to and from 6 new DSP accumulators. | |
2775 | (override_options): Make sure -mdsp and -mips16 are not used together. | |
2776 | Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators | |
2777 | for machine modes. | |
2778 | (mips_conditional_register_usage): Disable 6 new DSP accumulators | |
2779 | when !TARGET_DSP. | |
2780 | (print_operand): Add 'q' for printing DSP accumulators. | |
2781 | (mips_cannot_change_mode_class): Check ACC_REGS. | |
2782 | (mips_secondary_reload_class): Check ACC_REGS. | |
2783 | (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP. | |
2784 | (mips_register_move_cost): Check ACC_REGS. | |
2785 | (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph) | |
2786 | (CODE_FOR_mips_subu_qb): New code-aliasing macros. | |
2787 | (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros. | |
2788 | (dsp_bdesc): New array. | |
2789 | (bdesc_arrays): Add DSP builtin function table. | |
2790 | (mips_prepare_builtin_arg): Check predicate again after | |
2791 | copy_to_mode_reg. | |
2792 | (mips_expand_builtin): Add one more parameter to | |
2793 | mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and | |
2794 | MIPS_BUILTIN_BPOSGE32. | |
2795 | (mips_init_builtins): Initialize new function types. | |
2796 | (mips_expand_builtin_direct): Check if builtin functions need to | |
2797 | return a value and pass operands properly. | |
2798 | (mips_expand_builtin_bposge): New function. | |
2799 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp. | |
2800 | (ASM_SPEC): Map -mdsp to -mdsp in GAS. | |
2801 | (FIRST_PSEUDO_REGISTER): Increase to 188. | |
2802 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): | |
2803 | Update for 12 new DSP registers. | |
2804 | (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM) | |
2805 | (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM): | |
2806 | (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros. | |
2807 | (reg_class): Add DSP_ACC_REGS and ACC_REGS. | |
2808 | (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS. | |
2809 | (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS. | |
2810 | (REG_ALLOC_ORDER): Update for 12 new DSP registers. | |
2811 | (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS. | |
2812 | (UIMM6_OPERAND, IMM10_OPERAND): New macros. | |
2813 | (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints. | |
2814 | (REGISTER_NAMES): Add names for 12 new DSP registers. | |
2815 | * config/mips/mips.md: Include mips-dsp.md. | |
2816 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
2817 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
2818 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
2819 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
2820 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
2821 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
2822 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
2823 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
2824 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
2825 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
2826 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
2827 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
2828 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
2829 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
2830 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
2831 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
2832 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
2833 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
2834 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
2835 | (UNSPEC_RDDSP): New constants. | |
2836 | (*movdi_32bit): Change 'x' to 'a' for ACC_REGS. | |
2837 | (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an | |
2838 | A<-d alternative. | |
2839 | * config/mips/mips.opt (-mdsp): New option. | |
2840 | * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand) | |
2841 | (reg_imm10_operand): New predicates. | |
2842 | * doc/extend.texi (MIPS DSP Built-in Functions): New section. | |
2843 | * doc/invoke.texi (-mdsp): Document new option. | |
2844 | ||
d2fcbf6f DD |
2845 | 2005-07-22 DJ Delorie <dj@redhat.com> |
2846 | ||
2847 | * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control | |
2848 | to warning calls. | |
2849 | * tree-inline.c (inlinable_function_p): Likewise. | |
2850 | ||
9881e3e5 MM |
2851 | 2005-07-22 Mark Mitchell <mark@codesourcery.com> |
2852 | ||
2853 | PR debug/21828 | |
2854 | * toplev.c (check_global_declarations): Do not mark undefined | |
2855 | variables as DECL_IGNORED_P. | |
2856 | * varasm.c (first_global_object_name): GTY it. | |
2857 | (weak_global_object_name): Likewise. | |
2858 | (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating | |
2859 | a string to go into {weak,first}_global_object_name. | |
2860 | ||
1a8d0d41 DD |
2861 | 2005-07-22 DJ Delorie <dj@redhat.com> |
2862 | ||
2863 | * c-format.c (check_function_format): Change warning control | |
2864 | option from OPT_Wattribute to OPT_Wmissing_format_attribute. | |
2865 | ||
17c7e33e DN |
2866 | 2005-07-22 Diego Novillo <dnovillo@redhat.com> |
2867 | ||
2868 | * tree-ssa-alias.c (count_ptr_derefs): Do not consider | |
2869 | &PTR->FLD a dereference of PTR. | |
2870 | * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD | |
2871 | a potential dereference of PTR. | |
2872 | ||
45002e59 R |
2873 | 2005-07-22 J"orn Rennecke <joern.rennecke@st.com> |
2874 | ||
191e1ff2 R |
2875 | PR rtl-optimization/20370 |
2876 | * ifcvt.c (dead_or_predicable): Before calling propagate_block, | |
2877 | call allocate_reg_info if necessary. | |
2878 | ||
475a3eef R |
2879 | PR rtl-optimization/21848 |
2880 | * calls.c (emit_library_call_value_1): For const functions, add | |
2881 | USEs of the stack slots to CALL_INSN_FUNCTION_USAGE. | |
2882 | ||
29c1846b R |
2883 | PR rtl-optimization/22445 |
2884 | * cselib.c (target.h): Include. | |
2885 | (rtx_equal_for_cselib_p): Allow commutative matches. | |
2886 | (cselib_hash_rtx): Don't use MODE for CONST_INT hashing. | |
2887 | Remove MODE parameter. Changed all callers. | |
2888 | ||
45002e59 R |
2889 | PR rtl-optimization/22258 |
2890 | * combine.c (likely_spilled_retval_1, likely_spilled_retval_p): | |
2891 | New functions. | |
2892 | (try_combine): Use likely_spilled_retval_p. | |
2893 | ||
db869733 PW |
2894 | 2005-07-22 Paul Woegerer <paul.woegerer@nsc.com> |
2895 | ||
2896 | * config.gcc: Add crx-elf support. | |
2897 | ||
2898 | * doc/contrib.texi: Mention crx. | |
2899 | * doc/extend.texi: Document crx extensions. | |
2900 | * doc/install.texi: Document crx install. | |
2901 | * doc/invoke.texi: Document crx options. | |
2902 | * doc/md.texi: Document crx constraints. | |
2903 | ||
2904 | * config/crx/crx-protos.h: New file. | |
2905 | * config/crx/crx.c: New file. | |
2906 | * config/crx/crx.h: New file. | |
2907 | * config/crx/crx.md: New file. | |
2908 | * config/crx/crx.opt: New file. | |
2909 | * config/crx/t-crx: New file. | |
7904f95f | 2910 | |
32cafd73 MH |
2911 | 2005-07-22 Manfred Hollstein <mh@suse.com> |
2912 | ||
2913 | * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised | |
2914 | warnings. | |
2915 | (int_add_graph_edge): Likewise. | |
2916 | (collapse_nodes): Likewise. | |
2917 | (process_unification_queue): Likewise. | |
2918 | ||
ee184c4d | 2919 | 2005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
86979811 | 2920 | Laurent GUERBY <laurent@guerby.net> |
ee184c4d | 2921 | |
86979811 | 2922 | PR tree-optimization/22336 |
7904f95f | 2923 | * function.c (record_block_change): Check for |
86979811 | 2924 | cfun->ib_boundaries_block. |
7904f95f | 2925 | |
b49ceb45 JM |
2926 | 2005-07-21 James A. Morrison <phython@gcc.gnu.org> |
2927 | ||
2928 | * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs. | |
2929 | (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED. | |
2930 | ||
30c54de9 DD |
2931 | 2005-07-21 DJ Delorie <dj@redhat.com> |
2932 | ||
2933 | * toplev.c (warn_deprecated_use): Add warning control to warning | |
2934 | call. | |
c303630a DD |
2935 | * c-typeck.c (parser_build_binary_op): Likewise. |
2936 | (c_finish_if_stmt): Likewise. | |
30480ec4 DD |
2937 | * c-common.c (check_function_sentinel): Likewise. |
2938 | (check_nonnull_arg): Likewise. | |
30c54de9 | 2939 | |
95a8c155 RH |
2940 | 2005-07-21 Richard Henderson <rth@redhat.com> |
2941 | ||
2942 | PR tree-opt/22504 | |
2943 | * tree-complex.c (complex_ssa_name_components): New. | |
2944 | (cvc_lookup): Allow entry not found. | |
2945 | (create_components): Remove. | |
2946 | (create_one_component_var, get_component_var): New. | |
2947 | (get_component_ssa_name, set_component_ssa_name): New. | |
2948 | (extract_component): Use get_component_ssa_name. | |
2949 | (update_complex_components): Use set_component_ssa_name. | |
2950 | (update_complex_components_on_edge): Likewise. | |
2951 | (update_phi_components): Create new PHI nodes directly, instead | |
2952 | of adding insns to edges. | |
2953 | (tree_lower_complex): Allocate and free complex_variable_components | |
2954 | and complex_ssa_name_components here. | |
2955 | ||
c05a0766 | 2956 | 2005-07-20 Daniel Berlin <dberlin@dberlin.org> |
7904f95f | 2957 | |
c05a0766 DB |
2958 | * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT, |
2959 | revert to returning false. | |
2960 | ||
de343c8d UB |
2961 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
2962 | ||
86979811 SB |
2963 | PR target/21149 |
2964 | * config/i386/i386.md (sse_movhlps): Fix vec_select values. | |
de343c8d | 2965 | |
5acc26ef UB |
2966 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
2967 | ||
2968 | PR target/22576 | |
2969 | * config/i386/i386.md (cmpxf): Change operand constraints | |
2970 | to "nonmemory_operand". | |
2971 | ||
61cb44fe AP |
2972 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
2973 | ||
2974 | * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2. | |
2975 | ||
e2fe73f6 AP |
2976 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
2977 | ||
2978 | PR middle-end/21180 | |
2979 | * fold-const.c (fold_build1): Add checksum for the operands. | |
7904f95f | 2980 | (fold_build2): Likewise. |
e2fe73f6 AP |
2981 | (fold_build3): Likewise. |
2982 | ||
9d24eb54 AP |
2983 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
2984 | ||
2985 | PR middle-end/19055 | |
2986 | * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X". | |
2987 | ||
b2e0afa0 PB |
2988 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
2989 | ||
2990 | * common.opt (-fforward-propagate): Committed by mistake, | |
2991 | removed. | |
2992 | ||
2e48874f VR |
2993 | 2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2994 | ||
2995 | * reg-stack.c: Fix comment typo(s). | |
2996 | * tree-ssa-operands.c: Likewise. | |
2997 | * tree-vectorizer: Likewise. | |
2998 | ||
889d8465 NC |
2999 | 2005-07-21 Nick Clifton <nickc@redhat.com> |
3000 | ||
3001 | * config/sh/symbian.c: Replace C++ style line comments with C | |
3002 | style line comments. | |
86979811 | 3003 | (symbian_add_attribute): Do not use a ? operator on the LHS of |
889d8465 | 3004 | an assignment. |
86979811 | 3005 | (sh_symbian_handle_dll_attribute): Change the type of the |
889d8465 NC |
3006 | method vector to "VEC(tree,gc)*" and use vector accessor |
3007 | macros to walk over the elements. | |
86979811 SB |
3008 | (symbian_export_vtable_and_rtti_p): Likewise. |
3009 | (symbian_class_needs_attribute_p): Likewise. | |
889d8465 | 3010 | |
2fab365e PB |
3011 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
3012 | ||
3013 | PR target/22085 | |
3014 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not | |
3015 | initialize targetm.resolve_overloaded_builtin here. | |
3016 | (altivec_expand_overloaded_builtin): Make it non-static. | |
3017 | * config/rs6000/rs6000-protos.h | |
3018 | (altivec_expand_overloaded_builtin): New prototype. | |
3019 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize | |
3020 | targetm.resolve_overloaded_builtin here. | |
3021 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise. | |
3022 | ||
f9cc1a70 | 3023 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
86979811 | 3024 | Zdenek Dvorak <dvorakz@suse.cz> |
f9cc1a70 PB |
3025 | |
3026 | PR tree-optimization/19210 | |
3027 | * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations): | |
3028 | New. | |
3029 | * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o. | |
3030 | * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations, | |
3031 | rely on unproven assumptions. | |
3032 | * predict.c (predict_loops): Adjust call to number_of_iterations_exit. | |
3033 | * tree-flow.h (number_of_iterations_exit): Add final parameter. | |
3034 | * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call | |
3035 | to number_of_iterations_exit. | |
3036 | * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise. | |
3037 | * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise. | |
3038 | * tree-ssa-loop-niter.c (find_loop_niter, | |
3039 | estimate_numbers_of_iterations_loop): Likewise. | |
3040 | (number_of_iterations_exit): Honor the new options. | |
3041 | * doc/invoke.texi (Wunsafe-loop-optimizations, | |
3042 | funsafe-loop-optimizations): Document them. | |
3043 | ||
cb83c2ec RS |
3044 | 2005-07-21 Richard Sandiford <richard@codesourcery.com> |
3045 | ||
3046 | PR rtl-optimization/22167 | |
3047 | * gcse.c (hoist_code): Fix hoist_exprs[] check. | |
3048 | ||
5e5cbbfb AN |
3049 | 2005-07-20 Adam Nemet <anemet@lnxw.com> |
3050 | ||
3051 | * config/rs6000/lynx.h: Mark __do_global_ctors_aux and | |
3052 | __do_global_dtors_aux longcall. | |
3053 | ||
c2acaf06 KH |
3054 | 2005-07-20 Kazu Hirata <kazu@cs.umass.edu> |
3055 | ||
3056 | * gensupport.c (old_preds): Don't reference PREDICATE_CODES. | |
3057 | (old_special_pred_table): Don't reference | |
3058 | SPECIAL_MODE_PREDICATES. | |
3059 | * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison. | |
3060 | * config/arc/arc.h: Don't mention PREDICATE_CODES. | |
3061 | * config/sh/predicates.h: Don't mention | |
3062 | SPECIAL_MODE_PREDICATES. | |
3063 | * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): | |
3064 | Remove. | |
3065 | ||
38b2d076 DD |
3066 | 2005-07-20 DJ Delorie <dj@redhat.com> |
3067 | ||
3068 | * config.gcc: Add m32c-elf support. | |
3069 | ||
3070 | * doc/contrib.texi: Mention m32c. | |
3071 | * doc/extend.texi: Document m32c extensions. | |
3072 | * doc/install.texi: Mention m32c. | |
3073 | * doc/invoke.texi: Document m32c options. | |
3074 | * doc/md.texi: Document m32c constraints. | |
3075 | ||
3076 | * config/m32c/addsub.md: New file. | |
3077 | * config/m32c/bitops.md: New file. | |
3078 | * config/m32c/cond.md: New file. | |
3079 | * config/m32c/jump.md: New file. | |
3080 | * config/m32c/m32c-lib1.S: New file. | |
3081 | * config/m32c/m32c-lib2.c: New file. | |
3082 | * config/m32c/m32c-modes.def: New file. | |
3083 | * config/m32c/m32c-pragma.c: New file. | |
3084 | * config/m32c/m32c-protos.h: New file. | |
3085 | * config/m32c/m32c.abi: New file. | |
3086 | * config/m32c/m32c.c: New file. | |
3087 | * config/m32c/m32c.h: New file. | |
3088 | * config/m32c/m32c.md: New file. | |
3089 | * config/m32c/m32c.opt: New file. | |
3090 | * config/m32c/minmax.md: New file. | |
3091 | * config/m32c/mov.md: New file. | |
3092 | * config/m32c/muldiv.md: New file. | |
3093 | * config/m32c/predicates.md: New file. | |
3094 | * config/m32c/prologue.md: New file. | |
3095 | * config/m32c/shift.md: New file. | |
3096 | * config/m32c/t-m32c: New file. | |
3097 | ||
50b69666 KK |
3098 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3099 | ||
3100 | * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
3101 | (stack_protect_set, stack_protect_test): New expanders. | |
86979811 | 3102 | (stack_protect_set_si, stack_protect_set_si_media, |
50b69666 | 3103 | stack_protect_set_di_media, stack_protect_test_si, |
86979811 | 3104 | stack_protect_test_si_media, stack_protect_test_di_media): |
50b69666 KK |
3105 | New insns. |
3106 | ||
71b50543 AP |
3107 | 2005-07-20 Andrew Pinski <pinskia@physics.uc.edu> |
3108 | ||
3109 | * c-typeck.c (output_init_element): Don't copy the INTEGER_CST. | |
3110 | ||
4db8040c JM |
3111 | 2005-07-20 James A. Morrison <phython@gcc.gnu.org> |
3112 | ||
3113 | * tree.h (tree_expr_nonzero_p): Export. | |
3114 | * fold-const.c (tree_expr_nonzero_p): Likewise. | |
3115 | Return true for CALL_EXPRs that are alloca calls. | |
3116 | (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs | |
3117 | against zero. | |
3118 | * tree-flow.h (expr_computes_nonzero): Remove. | |
3119 | * tree-vrp.c (expr_computes_nonzero): Remove. | |
86979811 | 3120 | (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p. |
4db8040c JM |
3121 | (extract_range_from_unary_expr): Likewise. |
3122 | * tree-ssa-dom.c (record_equivalences_from_stmt): Use | |
3123 | tree_expr_nonzero_p. | |
3124 | ||
6d459e2b BS |
3125 | 2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com> |
3126 | ||
09350e36 BS |
3127 | * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare. |
3128 | * config/bfin/bfin.c (legitimize_pic_address): Now static. Take | |
3129 | extra arg "picreg" and use it instead of pic_offset_table_rtx. | |
3130 | All callers changed. | |
3131 | (frame_related_constant_load): New arg "related" which controls | |
3132 | setting of RTX_FRAME_RELATED_P. All callers changed. | |
3133 | (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue. | |
3134 | (bfin_expand_prologue): Add stack limit checking. | |
3135 | * config/bfin/bfin.md (trapifcc): New pattern. | |
3136 | ||
05905337 BS |
3137 | * config/bfin/bfin.c: Include "langhooks.h". |
3138 | (def_builtin): Go through lang_hooks to call builtin_function. | |
3139 | ||
6d459e2b BS |
3140 | * config/bfin/bfin-protos.h (bfin_longcall_p): Declare. |
3141 | * config/bfin/predicates.md (symbol_ref_operand): New. | |
3142 | (call_insn_operand): Delete. All callers changed to use | |
3143 | register_no_elim_operand. | |
3144 | * config/bfin/bfin.c (init_cumulative_args): Initialize the new | |
3145 | call_cookie field. | |
3146 | (function_arg): Use it to generate the call's operand 2. | |
3147 | (bfin_longcall_p): New function. | |
3148 | (bfin_expand_call): Extra arg "cookie". All callers and declaration | |
3149 | changed. Emit extra USE in the pattern. Use bfin_longcall_p to | |
3150 | determine if the address needs to be in a REG. | |
3151 | (bfin_handle_longcall_attribute): New function. | |
3152 | (bfin_attribute_table): Add "longcall" and "shortcall". | |
3153 | * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros. | |
3154 | (CUMULATIVE_ARGS): New member call_cookie. | |
3155 | (PREDICATE_CODES): Add symbol_ref_operand. | |
3156 | * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add | |
3157 | extra USE to the pattern. | |
3158 | (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol): | |
3159 | New patterns, split off call_insn, sibcall_insn, call_value_insn and | |
3160 | sibcall_value_insn; now the new patterns handle direct calls and the | |
3161 | old ones indirect calls. | |
3162 | * doc/extend.texi: Mention Blackfin in longcall/shortcall docs. | |
3163 | ||
67135ef4 ZD |
3164 | 2005-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
3165 | ||
3166 | * doc/trouble.texi: Update section on handling of empty loops. | |
3167 | ||
fdda361d KH |
3168 | 2005-07-20 Kazu Hirata <kazu@codesourcery.com> |
3169 | ||
3170 | * config.gcc: Remove support for sparc-*-openbsd*, | |
3171 | i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*, | |
3172 | ns32k-*-netbsd*. | |
3173 | * config.host: Remove support for i860-*-sysv4* as a host. | |
3174 | * config/i860/*, config/ip2k/*, config/ns32k/*, | |
3175 | config/sparc/openbsd.h, config/sparc/t-openbsd: Remove. | |
3176 | * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't | |
3177 | mention obsolete ports. | |
3178 | ||
96a2347e KK |
3179 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3180 | ||
3181 | * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for | |
3182 | soft frame pointer. | |
3183 | (sh_expand_prologue): Use hard_frame_pointer_rtx instead | |
3184 | of frame_pointer_rtx. | |
3185 | (sh_expand_epilogue): Likewise. | |
3186 | (sh_set_return_address): Likewise. | |
3187 | (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM | |
3188 | instead of FRAME_POINTER_REGNUM if needed. Add elimination | |
3189 | offsets from FRAME_POINTER_REGNUM. | |
3190 | * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp. | |
3191 | (sh_register_names): Add initializer for sfp. | |
3192 | (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM. | |
3193 | (VALID_REGISTER_P): Likewise. | |
3194 | (FIRST_PSEUDO_REGISTER): Update. | |
3195 | (DWARF_FRAME_REGISTERS): Define. | |
3196 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp. | |
3197 | (HARD_FRAME_POINTER_REGNUM): Define. | |
3198 | (FRAME_POINTER_REGNUM): Redefine. | |
3199 | (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM, | |
3200 | but HARD_FRAME_POINTER_REGNUM instead. Add eliminations | |
3201 | from FRAME_POINTER_REGNUM. | |
3202 | (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of | |
3203 | FRAME_POINTER_REGNUM. | |
3204 | (REG_CLASS_CONTENTS): Add sfp. | |
3205 | (REG_ALLOC_ORDER): Likewise. | |
3206 | (FRAME_GROWS_DOWNWARD): Set to 1. Update comment. | |
3207 | (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead | |
3208 | of frame_pointer_rtx. | |
3209 | (LEGITIMIZE_RELOAD_ADDRESS): Likewise. | |
3210 | ||
1ade5842 JM |
3211 | 2005-07-19 James A. Morrison <phython@gcc.gnu.org> |
3212 | ||
3213 | * fold-const.c (tree_expr_nonnegative_p): Only return true for | |
3214 | ABS_EXPR when flag_wrapv is false because of INT_MIN. | |
3215 | (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument | |
3216 | of an ABS_EXPR. | |
3217 | (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into | |
3218 | ABS_EXPR<x>. | |
3219 | ||
4038c495 GB |
3220 | 2005-07-20 Giovanni Bajo <giovannibajo@libero.it> |
3221 | ||
3222 | Make CONSTRUCTOR use VEC to store initializers. | |
3223 | * c-common.c (complete_array_type): Update to cope with VEC in | |
3224 | CONSTRUCTOR_ELTS. | |
3225 | * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts. | |
3226 | (pp_c_constructor_elts): New function. | |
3227 | * c-pretty-print.h (pp_c_constructor_elts): Declare. | |
3228 | * c-typeck.c (build_function_call, build_c_cast, digest_init, | |
3229 | struct constructor_stack, struct initializer_stack, | |
3230 | constructor_elements, push_init_level, pop_init_level, | |
3231 | add_pending_init, find_init_member, output_init_element): Update to | |
3232 | cope with VEC in CONSTRUCTOR_ELTS. | |
3233 | * coverage.c (build_fn_info_value, build_ctr_info_value, | |
3234 | build_gcov_info): Likewise. | |
3235 | * expr.c (categorize_ctor_elements_1, store_constructor, | |
3236 | expand_expr_real_1): Likewise. | |
3237 | * fold-const.c (fold_ternary): Likewise. | |
3238 | * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl, | |
3239 | gimplify_init_constructor, gimplify_expr): Likewise. | |
3240 | * tree-dump.c (dequeue_and_dump): Likewise. | |
3241 | * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR | |
3242 | node. | |
3243 | * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in | |
3244 | CONSTRUCTOR_ELTS. | |
3245 | * tree-sra.c (generate_element_init_1): Likewise. | |
3246 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise. | |
3247 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
3248 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
3249 | * tree-vect-transform.c (vect_get_vec_def_for_operand): | |
3250 | (get_initial_def_for_reduction): Likewise. | |
3251 | * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses | |
3252 | value handle in annotations. | |
3253 | * tree.c (tree_node_kind, tree_code_size, make_node_stat, | |
3254 | tree_node_structure): Add support for constr_kind. | |
3255 | (build_vector_from_ctor, build_constructor_single, | |
3256 | build_constructor_from_list): New functions. | |
3257 | (build_constructor): Update to take a VEC instead of a TREE_LIST. | |
3258 | (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree): | |
3259 | Update to cope with VEC in CONSTRUCTOR_ELTS. | |
3260 | * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node. | |
3261 | * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT, | |
3262 | CONSTRUCTOR_APPEND_ELT): New macros. | |
3263 | (struct constructor_elt, struct tree_constructor): New data types. | |
3264 | (union tree_node): Add tree_constructor field. | |
3265 | * treestruct.def: Define TS_CONSTRUCTOR. | |
3266 | * varasm.c (const_hash_1, compare_constant, copy_constant, | |
3267 | compute_reloc_for_constant, output_addressed_constants, | |
3268 | initializer_constant_valid_p, output_constant, | |
3269 | array_size_for_constructor, output_constructor): Update to cope with | |
3270 | VEC in CONSTRUCTOR_ELTS. | |
3271 | * vec.h (VEC_empty, VEC_copy): New macros. | |
3272 | ||
f37d7c60 DP |
3273 | 2005-07-19 Devang Patel <dpatel@apple.com> |
3274 | ||
3275 | * dbxout.c (dbxout_type): Check Objective-C++ lang. | |
7904f95f | 3276 | |
af62f6f9 RH |
3277 | 2005-07-19 Richard Henderson <rth@redhat.com> |
3278 | ||
3279 | PR tree-opt/22278 | |
3280 | * gimplify.c (gimplify_expr): Use main variant type for the temp | |
3281 | destination for a discarded volatile read. | |
3282 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide | |
3283 | casts between non-void types that change volatility. | |
3284 | ||
b9b8dde3 DD |
3285 | 2005-07-15 DJ Delorie <dj@redhat.com> |
3286 | ||
3287 | * toplev.h: Add comment about the first parameter for warning(). | |
3288 | * errors.h: Likewise. | |
3289 | ||
3290 | * c.opt (Wpragmas): New. | |
3291 | * doc/invoke.texi: Document it. | |
7904f95f | 3292 | |
b9b8dde3 DD |
3293 | * function.c (do_warn_unused_parameter): Add warning control to |
3294 | warning call. | |
3295 | * c-decl.c (warn_if_shadowing): Likewise. | |
3296 | * c-lex.c (cb_def_pragma): Likewise. | |
3297 | * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. | |
3298 | (pop_alignment): Likewise. | |
3299 | (handle_pragma_pack): Likewise. | |
3300 | (apply_pragma_weak): Likewise. | |
3301 | (handle_pragma_weak): Likewise. | |
3302 | (handle_pragma_redefine_extname): Likewise. | |
3303 | (add_to_renaming_pragma_list): Likewise. | |
3304 | (handle_pragma_extern_prefix): Likewise. | |
3305 | (maybe_apply_renaming_pragma): Likewise. | |
3306 | (handle_pragma_visibility): Likewise. | |
7904f95f | 3307 | |
b9b8dde3 DD |
3308 | * config/c4x/c4x-c.c (BAD): Likewise. |
3309 | (c4x_parse_pragma): Likewise. | |
3310 | * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise. | |
3311 | * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. | |
3312 | (rs6000_pragma_longcall): Likewise. | |
3313 | * config/v850/v850-c.c (pop_data_area): Likewise. | |
3314 | (ghs_pragma_section): Likewise. | |
3315 | (ghs_pragma_section): Likewise. | |
3316 | (ghs_pragma_interrupt): Likewise. | |
3317 | (ghs_pragma_starttda): Likewise. | |
3318 | (ghs_pragma_startsda): Likewise. | |
3319 | (ghs_pragma_startzda): Likewise. | |
3320 | (ghs_pragma_endtda): Likewise. | |
3321 | (ghs_pragma_endsda): Likewise. | |
3322 | (ghs_pragma_endzda): Likewise. | |
3323 | ||
6a9a79a8 DB |
3324 | 2005-07-19 Danny Berlin <dberlin@dberlin.org> |
3325 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
3326 | ||
3327 | * Makefile.in: Removed tree-promote-statics.c | |
3328 | * tree-promote-statics.c: Removed. | |
3329 | * common.opt: Removed flag-promote-statics. | |
3330 | * opts.c: Ditto. | |
7904f95f | 3331 | * passes.c: Removed tree-promote-statics pass. |
6a9a79a8 DB |
3332 | * tree-pass.h: Ditto. |
3333 | * timevar.def: Removed TV_PROMOTE_STATICS. | |
3334 | ||
3335 | ||
0219cf3d GP |
3336 | 2005-07-19 Gerald Pfeifer <gerald@pfeifer.com> |
3337 | ||
3338 | * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, | |
3339 | and *-*-freebsd9. | |
3340 | * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. | |
7904f95f | 3341 | |
7876a414 KG |
3342 | 2005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3343 | ||
3344 | PR c/22476 | |
3345 | * c-common.c (check_function_arguments): Call | |
3346 | 'check_function_format' if either -Wformat or | |
3347 | -Wmissing-format-attribute are specified. | |
3348 | * c-format.c (check_function_format): Check -Wformat before | |
3349 | calling 'check_format_info'. | |
3350 | * c-opts.c (c_common_post_options): Don't warn for | |
3351 | -Wmissing-format-attribute without -Wformat. | |
3352 | * c-typeck.c (convert_for_assignment): Detect additional cases for | |
3353 | -Wmissing-format-attribute. | |
3354 | * doc/invoke.texi (-Wmissing-format-attribute): Document new | |
3355 | behavior. | |
3356 | ||
98ea7437 RG |
3357 | 2005-07-19 Richard Guenther <rguenther@suse.de> |
3358 | ||
3359 | * config/i386/i386.md (lrint<mode>2): Use temporary | |
3360 | instead of clobbering non-existent memory. | |
3361 | ||
89a0b917 NC |
3362 | 2005-07-19 Nick Clifton <nickc@redhat.com> |
3363 | ||
3364 | * config/avr/avr.c (legitimate_address_p): Fix debugging print | |
3365 | statement to avoid displaying ASCII control characters. | |
3366 | ||
dfea6c85 BE |
3367 | 2005-07-19 Ben Elliston <bje@au.ibm.com> |
3368 | ||
3369 | * bt-load.c (link_btr_uses): Fix uninitialised warnings. | |
3370 | * cfganal.c (find_edge_index): Ditto. | |
3371 | * combine.c (combine_instructions): Ditto. | |
3372 | * ddg.c (create_scc): Ditto. | |
3373 | (find_successors): Ditto. | |
3374 | (find_predecessors): Ditto. | |
3375 | (find_nodes_on_paths): Ditto. | |
3376 | (longest_simple_path): Ditto. | |
3377 | * flow.c (update_life_info): Ditto. | |
3378 | (count_or_remove_death_notes): Ditto. | |
3379 | (clear_log_links): Ditto. | |
3380 | * modulo-sched.c (generate_reg_moves): Ditto. | |
3381 | (find_max_asap): Ditto. | |
3382 | (find_max_hv_min_mob): Ditto. | |
3383 | (find_max_dv_min_mob): Ditto. | |
3384 | * sbitmap.c (sbitmap_first_set_bit): Ditto. | |
3385 | * sched-rgn.c (extract_edgelst): Ditto. | |
3386 | * tree-into-ssa.c (prepare_names_to_update): Ditto. | |
3387 | (dump_update_ssa): Ditto. | |
3388 | (ssa_names_to_replace) Ditto. | |
3389 | (switch_virtuals_to_full_rewrite): Ditto. | |
3390 | (update_ssa): Ditto. | |
3391 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. | |
3392 | ||
b9d33488 DB |
3393 | 2005-07-18 Daniel Berlin <dberlin@dberlin.org> |
3394 | ||
3395 | Fix PR tree-optimization/22483 | |
7904f95f | 3396 | |
b9d33488 DB |
3397 | * tree-complex.c (create_components): Use |
3398 | safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE. | |
3399 | * tree-flow-inline.h (fill_referenced_var_vec): New function. | |
3400 | * tree-flow.h (safe_referenced_var_iterator): New structure. | |
3401 | (FOR_EACH_REFERENCED_VAR_SAFE): New macro. | |
3402 | * tree-ssa-alias.c (setup_pointers_and_addressables): Use | |
3403 | safe_referenced_var iterator. | |
3404 | (add_type_alias): Ditto. | |
3405 | ||
9fa26457 SB |
3406 | 2005-07-19 Steven Bosscher <stevenb@suse.de> |
3407 | ||
3408 | * loop-init.c (rest_of_handle_loop2): Remove. | |
3409 | (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants, | |
3410 | rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions. | |
3411 | (pass_rtl_loop_init, pass_rtl_loop_done, | |
3412 | pass_rtl_move_loop_invariants, pass_rtl_unswitch, | |
3413 | pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes. | |
3414 | * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done, | |
3415 | pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init, | |
3416 | pass_tree_loop_done, and pass_tree_unswitch. | |
3417 | (gate_loop): Rename to gate_tree_loop. | |
3418 | * passes.c (init_optimization_passes): Update for renamed tree | |
3419 | loop passes. Add the new loop2 passes as subpasses of loop2. | |
3420 | * tree-pass.h: Add extern declarations for the new loop2 subpasses. | |
3421 | Update for the renamed tree loop passes. | |
3422 | ||
7825308e ILT |
3423 | 2005-07-18 Ian Lance Taylor <ian@airs.com> |
3424 | ||
3425 | PR middle-end/22057 | |
3426 | * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder | |
3427 | blocks when optimizing. | |
3428 | ||
2928d0f8 SE |
3429 | 2005-07-18 Steve Ellcey <sje@cup.hp.com> |
3430 | ||
3431 | * common.opt (frename-registers): Initialize to 2. | |
3432 | (fweb): Ditto. | |
3433 | (fgcse-after-reload): Ditto. | |
3434 | * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. | |
3435 | (process_options): Only change flag_web, flag_rename_registers, | |
3436 | and flag_rerun_cse_after_loop if not explicitly set by user. | |
3437 | ||
28356f52 JB |
3438 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
3439 | ||
3440 | * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, | |
3441 | ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode | |
3442 | in 64-bit mode the same as DImode in 32-bit mode. | |
3443 | (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, | |
3444 | ix86_split_lshr): Likewise. Rename to no longer refer to a specific | |
7904f95f | 3445 | mode. Add new mode parameter. |
28356f52 JB |
3446 | * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. |
3447 | * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, | |
3448 | x86_64_shift_adj): New expanders. | |
3449 | (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, | |
3450 | *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New | |
3451 | insns. | |
3452 | Respective new splitters. Use renamed shift splitter helpers in 32-bit | |
3453 | DImode shift splitters. | |
3454 | * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, | |
3455 | ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new | |
3456 | mode parameter. | |
3457 | ||
422edd6f JB |
3458 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
3459 | ||
3460 | * i386.md (movdi_extzv_1): New. | |
3461 | (zero_extendhidi2): Combine alternatives and never force use of | |
3462 | REX64 prefix. | |
3463 | (zero_extendqidi2): Likewise. Don't restrict input selection. | |
3464 | ||
c625053b DB |
3465 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
3466 | ||
3467 | Fix PR tree-optimization/22531 | |
3468 | * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the | |
3469 | moment. | |
3470 | ||
3b1355f3 DB |
3471 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
3472 | ||
3473 | * tree-promote-statics.c (pass_promote_statics): Change dump file | |
3474 | name. | |
3475 | ||
3476 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> | |
45159bf6 DB |
3477 | |
3478 | * tree-optimize.c (init_tree_optimization_passes): Add | |
3479 | pass_eliminate_useless_stores pass. | |
3480 | * tree-pass.h (pass_eliminate_useless_stores): New pass structure. | |
3481 | * tree-ssa-pre.c (is_copy_stmt): New function. | |
3482 | (follow_copies_till_vuse): Ditto. | |
3483 | (do_eustores): Ditto. | |
7904f95f EC |
3484 | (gate_eustores): Ditto. |
3485 | ||
7544a87f RH |
3486 | 2005-07-16 Richard Henderson <rth@redhat.com> |
3487 | ||
3488 | * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. | |
3489 | ||
bf0d50f1 KZ |
3490 | 2005-07-16 Danny Berlin <dberlin@dberlin.org> |
3491 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
3492 | ||
3493 | * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, | |
3494 | ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, | |
3495 | ipa-type-escape.h, tree-promote-statics.c | |
3496 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, | |
7904f95f | 3497 | ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, |
bf0d50f1 KZ |
3498 | tree-promote-statics.c: new files. |
3499 | * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, | |
3500 | nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, | |
3501 | int nonlocal_set_p, mark_constant_function): Deleted. | |
7904f95f | 3502 | (rest_of_handle_cfg): Removed call to mark_constant_function. |
86979811 | 3503 | (nonoverlapping_component_refs_p): Added calls to support |
7904f95f | 3504 | type based aliasing. |
86979811 | 3505 | * tree-ssa-alias.c (may_alias_p, |
bf0d50f1 KZ |
3506 | compute_flow_insensitive_aliasing): Ditto. |
3507 | * calls.c (flags_from_decl_or_type): Removed reference to | |
7904f95f | 3508 | cgraph_rtl_info. |
86979811 | 3509 | * c-typeck.c (convert_arguments): Make builtins tolerant of having |
bf0d50f1 KZ |
3510 | too many arguments. This is necessary for Spec 2000. |
3511 | * cgraph.h (const_function, pure_function): Removed. | |
7904f95f | 3512 | * common.opt: Added "fipa-pure-const", "fipa-reference", |
bf0d50f1 KZ |
3513 | "fipa-type-escape", and "ftree-promote-static". |
3514 | * opts.c: Ditto. | |
7904f95f | 3515 | * passes.c: Added ipa and tree-promote-statics passes. |
bf0d50f1 KZ |
3516 | * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, |
3517 | TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. | |
bf0d50f1 | 3518 | * tree-dfa.c (referenced_var_lookup_if_exists): New function. |
7904f95f | 3519 | * tree-flow.h: Added exposed sra calls and addition of |
bf0d50f1 KZ |
3520 | reference_vars_info field for FUNCTION_DECLS. |
3521 | * tree-pass.h: Added passes. | |
3522 | * tree-sra.c: (sra_init_cache): New function. | |
3523 | (sra_insert_before, sra_insert_after) Made public. | |
3524 | (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p | |
3525 | and made public. | |
3526 | * tree-ssa-alias.c (dump_alias_stats): Added stats for type based | |
3527 | aliasing. (may_alias_p): Added code to use type escape analysis to | |
3528 | improve alias sets. | |
3529 | * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and | |
3530 | code to prune clobbers of static variables based on information | |
3531 | produced in ipa-reference pass. Changed call clobbering so that | |
3532 | statics are not marked as clobbered if the call does not clobber | |
3533 | them. | |
3534 | ||
b6e0bdbd DB |
3535 | 2005-07-16 Daniel Berlin <dberlin@dberlin.org> |
3536 | ||
3537 | * tree-ssa-structalias.c (need_to_solve): Need to check for preds, | |
3538 | too. | |
3539 | ||
2c00bd42 EB |
3540 | 2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
3541 | ||
3542 | * doc/install.texi (*-*-solaris2*): Document recommended version | |
3543 | of GNU binutils and mention GNU linker problem on Solaris 10. | |
3544 | ||
0b359b01 JM |
3545 | 2005-07-16 Joseph S. Myers <joseph@codesourcery.com> |
3546 | ||
3547 | PR c/22421 | |
3548 | * c-decl.c (c_build_bitfield_integer_type): New function. | |
3549 | (finish_struct): Call it. | |
3550 | * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. | |
3551 | ||
8fcef540 KG |
3552 | 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3553 | ||
3554 | * c-typeck.c (digest_init): Call 'convert_for_assignment' | |
3555 | before returning. | |
3556 | ||
84fc24e8 JH |
3557 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
3558 | ||
3559 | * cfg.c (update_bb_profile_for_threading): Fix profile updating. | |
3560 | (scale_bbs_frequencies_int): Watch roundoff errors. | |
3561 | * predict.c (return_prediction): Initialize return_stmt. | |
3562 | ||
3258272f JH |
3563 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
3564 | ||
3565 | * profile.c (rest_of_handle_branch_prob): Fix handling of estimation | |
3566 | after RTL profiling. | |
3567 | ||
01c0a9fa AP |
3568 | 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
3569 | ||
3570 | PR middle-end/22398 | |
3571 | * fold-const.c (build_range_check): Convert high/low to etype | |
3572 | if we are only comparing against exp. | |
3573 | ||
27811bfe DB |
3574 | 2005-07-13 Daniel Berlin <dberlin@dberlin.org> |
3575 | ||
3576 | Fix PR tree-optimization/22376 | |
3577 | * tree-ssa-structalias.c (build_constraint_graph): We really meant | |
3578 | special var here. | |
3579 | (need_to_solve): New function. | |
3580 | (compute_points_to_sets): Use it. | |
7904f95f | 3581 | |
2b151cb2 JH |
3582 | 2005-07-15 Jan Hubicka <jh@suse.cz> |
3583 | ||
3584 | * cfg.c (update_bb_profile_for_threading): More diagnostic. | |
3585 | * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. | |
3586 | ||
0691d1d4 RG |
3587 | 2005-07-15 Richard Guenther <rguenther@suse.de> |
3588 | ||
3589 | * c-common.c (handle_flatten_attribute): New function. | |
3590 | Add flatten function attribute. | |
3591 | * doc/extend.texi: Document flatten function attribute. | |
3592 | * Makefile.in (ipa-inline.o): Depend on hashtab.h. | |
3593 | * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): | |
3594 | New functions. | |
3595 | (cgraph_decide_inlining): Handle functions with flatten | |
3596 | attribute. | |
3597 | ||
9f0076e5 DE |
3598 | 2005-07-14 David Edelsohn <edelsohn@gnu.org> |
3599 | ||
3600 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC, | |
3601 | UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG, | |
3602 | UNSPEC_XCHG, UNSPEC_AND): New. | |
3603 | (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, | |
3604 | UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete. | |
3605 | * config/rs6000/sync.md (FETCHOP): New code macro. | |
3606 | (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr): | |
3607 | New code attrs. | |
3608 | (memory_barrier, sync_internal): Use unspec instead of unspec_volatile. | |
3609 | (sync_compare_and_swap<mode>): Same. | |
3610 | (sync_lock_test_and_set<mode>): Same. | |
3611 | (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync | |
3612 | for QImode and HImode, and not PPC405. | |
3613 | (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same. | |
3614 | (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same. | |
3615 | (sync_<fetchop>{si,di}_internal): New. | |
3616 | (sync_nand{si,di}_internal): New. | |
3617 | (sync_old_<fetchop>{si,di}_internal): New. | |
3618 | (sync_old_nand{si,di}_internal): New | |
3619 | (sync_new_<fetchop>{si,di}_internal): New. | |
3620 | (sync_new_nand{si,di}_internal): New. | |
3621 | (atomic_and{si,di}): New. | |
3622 | (sync_new_nand{si,di}_internal): New. | |
3623 | (atomic_and{si,di}): New. | |
3624 | (sync_add<mode>_internal): Delete. | |
3625 | (sync_addshort_internal): Use unspec instead of unspec_volatile. | |
3626 | (sync_sub<mode>_internal): Delte. | |
3627 | (sync_subshort_internal): New. | |
3628 | (sync_andsi_internal): Use unspec instead of unspec_volatile. | |
3629 | (sync_anddi_internal): Delete. | |
3630 | (sync_boolsi_internal): Use unspec instead of unspec_volatile. | |
3631 | (sync_booldi_internal): Delete. | |
3632 | (sync_boolc<mode>_internal): Delete. | |
3633 | (sync_boolcshort_internal): Use unspec instead of unspec_volatile. | |
3634 | (sync_boolc<mode>_internal2): Delete. | |
3635 | (sync_boolcc<mode>_internal): Delete. | |
3636 | (isync, lwsync): Use unspec instead of unspec_volatile. | |
3637 | * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS. | |
3638 | Revert UNSPEC_VOLATILE. | |
3639 | (rs6000_split_atomic_op): New. | |
3640 | * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare. | |
3641 | ||
06277571 EC |
3642 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
3643 | ||
3644 | * config/mips/mips.c (mips_canonicalize_comparison): Cast | |
3645 | argument of trunc_int_for_mode to unsigned HOST_WIDE_INT. | |
3646 | ||
b838c72b EC |
3647 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
3648 | ||
3649 | * config/s390/t-tpf (SHLIB_MAPFILES): Remove. | |
3650 | ||
3c341936 SB |
3651 | 2005-07-14 Steven Bosscher <stevenb@suse.de> |
3652 | ||
3653 | PR tree-optimization/22230 | |
3654 | * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in | |
3655 | the computation of the four cross productions for "range op range". | |
3656 | ||
704b6cb5 | 3657 | 2005-07-14 Alexandre Oliva <aoliva@redhat.com> |
86979811 | 3658 | Ulrich Weigand <uweigand@de.ibm.com> |
704b6cb5 AO |
3659 | |
3660 | PR target/20126 | |
3661 | * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV | |
3662 | in some insn. | |
3663 | ||
a771c4b3 UW |
3664 | 2005-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
3665 | ||
3666 | * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition. | |
3667 | ||
6f3113ed SE |
3668 | 2005-07-14 Steve Ellcey <sje@cup.hp.com> |
3669 | ||
3670 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode. | |
3671 | ||
cb1119b7 RG |
3672 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
3673 | ||
3674 | PR middle-end/22347 | |
3675 | * config/i386/i386-protos.h (ix86_function_value): Change | |
3676 | prototype to match new target hook. | |
3677 | * config/i386/i386.c (ix86_value_regno): Change prototype | |
3678 | to take extra type argument. | |
3679 | (TARGET_FUNCTION_VALUE): Define. | |
3680 | (ix86_function_ok_for_sibcall): Pass extra argument to | |
3681 | ix86_value_regno, check return slot rtx for exact match. | |
3682 | (ix86_function_value): Take extra parameter. Dispatch to | |
3683 | ix86_value_regno with fndecl/fntype as provided. | |
3684 | (ix86_value_regno): Handle extra type argument. | |
3685 | * config/i386/i386.h (FUNCTION_VALUE): No longer define. | |
3686 | ||
3687 | * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. | |
3688 | * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. | |
3689 | * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. | |
3690 | * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. | |
3691 | * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. | |
3692 | ||
1d636cc6 RG |
3693 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
3694 | ||
3695 | * Makefile.in (explow.o, reg-stack.o): Depend on target.h. | |
3696 | * calls.c (expand_call): Pass fntype to hard_function_value. | |
3697 | (emit_library_call_value_1): Likewise. | |
3698 | * explow.c: Include target.h. | |
3699 | (hard_function_value): Take extra argument, the fntype. | |
3700 | Use new target hook for function_value. | |
3701 | * expr.h (hard_function_value): Change prototype. | |
3702 | * function.c (aggregate_value_p): Pass 0 as fntype to | |
3703 | hard_function_value. | |
3704 | (assign_parms): Use new target hook for function_value. | |
3705 | Pass 0 as fntype to hard_function_value. | |
3706 | (expand_function_end): Likewise. | |
3707 | * reg-stack.c: Include target.h. | |
3708 | (stack_result): Use new target hook for function_value. | |
3709 | * target-def.h: New target hook function_value. | |
3710 | * target.h: Likewise. | |
3711 | * targhooks.c (default_function_value): New function. | |
3712 | * targhooks.h (default_function_value): Declare. | |
3713 | ||
09d8cc0e ILT |
3714 | 2005-07-13 Ian Lance Taylor <ian@airs.com> |
3715 | ||
3716 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
3717 | ||
df1f6f31 JH |
3718 | 2005-07-14 Jan Hubicka <jh@suse.cz> |
3719 | ||
3720 | * tree-dfa.c (dump_variable): Use default_def function. | |
3721 | * tree-ssa-alias.c (dump_points_to_info): Likewise. | |
3722 | * tree-ssa.c (verify_use): Likewise. | |
3723 | * tree-ssanames.c (release_ssa_name): Likewise. | |
3724 | * tree-tailcall.c (eliminate_tail_call): Likewise. | |
3725 | (tree_optimize_tail_calls_1): Likewise. | |
3726 | * tree-vrp.c (get_value_range): Likewise. | |
3727 | ||
9ef0b1bd BE |
3728 | 2005-07-14 Ben Elliston <bje@au.ibm.com> |
3729 | ||
3730 | * gcc.c (main): Compare language[0] with '*' when iterating over | |
3731 | the infiles. | |
3732 | ||
69950452 AS |
3733 |