]>
Commit | Line | Data |
---|---|---|
a92c58c2 JM |
1 | 2005-11-03 Joseph S. Myers <joseph@codesourcery.com> |
2 | ||
3 | PR c/24329 | |
4 | * c-pretty-print.c (pp_c_type_specifier): Do not recurse if | |
5 | c_common_type_for_mode returns an unnamed type. | |
6 | ||
150cdc9e RH |
7 | 2005-11-02 Richard Henderson <rth@redhat.com> |
8 | ||
9 | PR target/9350 | |
10 | PR target/24374 | |
11 | * dwarf2out.c (dwarf2out_reg_save_reg): New. | |
12 | (dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec. | |
13 | * function.c (assign_parms): Use calls.internal_arg_pointer. | |
14 | (expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN | |
15 | code. | |
16 | * target-def.h (TARGET_INTERNAL_ARG_POINTER): New. | |
17 | (TARGET_CALLS): Add it. | |
18 | * target.h (struct gcc_target): Add calls.internal_arg_pointer. | |
19 | * targhooks.c (default_internal_arg_pointer): New. | |
20 | * targhooks.h (default_internal_arg_pointer): Declare. | |
21 | * tree.h (dwarf2out_reg_save_reg): Declare. | |
22 | * doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove. | |
23 | * config/i386/i386.c (dbx_register_map): Add return column. | |
24 | (dbx64_register_map, svr4_dbx_register_map): Likewise. | |
25 | (TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New. | |
26 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec): New. | |
27 | (ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer. | |
28 | (ix86_save_reg): Save force_align_arg_pointer. | |
29 | (ix86_emit_save_regs): Make regno unsigned. | |
30 | (ix86_emit_save_regs_using_mov): Likewise. | |
31 | (ix86_expand_prologue): Handle force_align_arg_pointer. | |
32 | (ix86_expand_epilogue): Likewise. | |
33 | * config/i386/i386.h: (dbx_register_map): Update. | |
34 | (dbx64_register_map, svr4_dbx_register_map): Update. | |
35 | (struct machine_function): Add force_align_arg_pointer. | |
36 | * config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New. | |
37 | (UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber. | |
38 | (TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P. | |
39 | ||
fb530c72 JH |
40 | 2005-11-02 Jan Hubicka <jh@suse.cz> |
41 | ||
42 | PR target/23303 | |
43 | * i386.md: Add peep2 for simplyfing array accesses. | |
44 | ||
d98ad410 UW |
45 | 2005-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
46 | ||
47 | PR target/24615 | |
48 | * config/s390/s390-protos.h (s390_decompose_shift_count): Declare. | |
49 | * config/s390/s390.c (s390_decompose_shift_count): New function. | |
50 | (s390_extra_constraint_str) ['Y']: Use s390_decompose_shift_count. | |
51 | (print_shift_count_operand): Use s390_decompose_shift_count. | |
52 | * config/s390/predicates.md ("setmem_operand", "shift_count_operand"): | |
53 | Use s390_decompose_shift_count. Do not accept any non-base hard regs. | |
54 | ||
f55b9465 UW |
55 | 2005-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
56 | ||
57 | PR target/24600 | |
58 | * loop.c (loop_givs_rescan): Use force_operand to expand | |
59 | complex GIVs. | |
60 | ||
b426200a AP |
61 | 2005-11-02 Andrew Pinski <pinskia@physics.uc.edu> |
62 | ||
63 | PR 22429 | |
64 | * fold-const.c (build_range_check): Use unsigned when signed | |
65 | overflow is undefined also. If etype is subtype, make sure that | |
66 | the subtraction is in the supertype. | |
67 | ||
525e67c1 RH |
68 | 2005-11-02 Richard Henderson <rth@redhat.com> |
69 | ||
70 | PR target/24178 | |
71 | * config/alpha/alpha.c (get_aligned_mem): Honor alignment given | |
72 | by MEM_ALIGN. | |
73 | ||
745f2a84 RH |
74 | 2005-11-01 Richard Henderson <rth@redhat.com> |
75 | ||
76 | PR 21518 | |
77 | * loop.c (scan_loop): Do not propagate computations to a hard | |
78 | register destination with SMALL_REGISTER_CLASSES. | |
79 | ||
8a82b045 JM |
80 | 2005-11-01 Joseph S. Myers <joseph@codesourcery.com> |
81 | ||
82 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Do not add extra | |
83 | costs for MULT inside PLUS or MINUS. | |
84 | ||
85333688 BW |
85 | 2005-11-01 Bob Wilson <bob.wilson@acm.org> |
86 | ||
87 | * config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding. | |
88 | (TRAMPOLINE_SIZE): Round up to 60. | |
89 | * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Likewise. | |
90 | ||
eef25142 | 91 | 2005-10-31 James E. Wilson <wilson@specifix.com> |
e5f9a909 | 92 | |
eef25142 JW |
93 | PR debug/24444 |
94 | * dwarf2out.c (convert_cfa_to_loc_list): Put inside DWARF2_UNWIND_INFO | |
95 | ifdef. Put ifdefs around call in gen_subprogram_die. | |
96 | (compute_frame_pointer_to_cfa_displacement): Likewise. | |
97 | (gen_subprogram_die): Restore old code for when DWARF2_UNWIND_INFO is | |
98 | not defined. | |
99 | ||
e5f9a909 JW |
100 | PR rtl-optimization/17356 |
101 | * cfgrtl.c (purge_dead_edges): Undo last change. In EDGE_EH code, | |
102 | add check for CALL_INSN if EDGE_ABRNOMAL_CALL true. | |
103 | ||
f372b26f JH |
104 | 2005-10-31 Jan Hubicka <jh@suse.cz> |
105 | ||
d63f0fe5 JH |
106 | PR middle-end/24093 |
107 | * cgraph.c (cgraph_clone_edge, cgraph_clone_node): Watch negative | |
108 | ||
d8ff1871 JH |
109 | PR target/20928 |
110 | * i386.c (legitimize_pic_address): Deal with large immediates. | |
111 | ||
2b557972 JH |
112 | PR profile/20815 |
113 | * coverage.c (coverage_checksum_string): Fix code to stip random seeds | |
114 | from symbol names while computing checkup. | |
115 | ||
f372b26f JH |
116 | PR profile/24487 |
117 | * predict.c (predict_loops): Do not estimate more than | |
118 | MAX_PRED_LOOP_ITERATIONS in PRED_LOOP_ITERATIONS heuristic. | |
119 | * predict.def (MAX_PRED_LOOP_ITERATIONS): Define. | |
120 | ||
a56b5394 AM |
121 | 2005-10-31 Andrew MacLeod <amacleod@redhat.com> |
122 | ||
123 | PR tree-optimization/19097 | |
124 | * tree-ssa-operands.c (correct_use_link): Don't look for modified stmts. | |
125 | ||
cd7ec127 R |
126 | 2005-10-31 J"orn Rennecke <joern.rennecke@st.com> |
127 | ||
128 | * optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account. | |
129 | ||
047f4b2c AP |
130 | 2005-10-31 Andrew Pinski <pinskia@physics.uc.edu> |
131 | ||
132 | PR middle-end/23492 | |
133 | * tree-inline.c (setup_one_parameter): If the init_stmt | |
134 | is NULL, don't insert the statement. | |
135 | ||
5e13fdf7 JH |
136 | 2005-10-30 Jan Hubicka <jh@suse.cz> |
137 | ||
138 | PR tree-optimization/24172 | |
139 | * tree-inline.c (copy_body_r): Unshare the substituted value first. | |
140 | ||
e8299ec2 HPN |
141 | 2005-10-30 Hans-Peter Nilsson <hp@bitrange.com> |
142 | ||
143 | * config/mmix/mmix.c (mmix_intval): Correct handling of DFmode | |
144 | constants for hosts with long != 32 bits. | |
145 | ||
7e1b44bb AK |
146 | 2005-10-28 Andreas Krebbel <krebbel1@de.ibm.com> |
147 | ||
148 | PR middle-end/24093 | |
149 | * ipa-inline.c (craph_decide_recursive_inlining): Fix return value. | |
150 | ||
ed70cedf AH |
151 | 2005-10-28 Aldy Hernandez <aldyh@redhat.com> |
152 | ||
153 | * config/ms1/ms1.h (TARGET_MS1_64_001): New. | |
154 | (TARGET_MS1_16_002): New. | |
155 | (TARGET_MS1_16_003): New. | |
156 | ||
157 | * config/ms1/ms1.md ("decrement_and_branch_until_zero"): Rewrite. | |
158 | ("*decrement_and_branch_until_zero_no_clobber"): New. | |
159 | Add corresponding splitter for decrement_and_branch_until_zero | |
160 | instruction. | |
161 | Key all decrement_and_branch_until_zero patterns off of | |
162 | TARGET_MS1_16_003. | |
163 | ||
f35a986c AP |
164 | 2005-10-28 Andrew Pinski <pinskia@physics.uc.edu> |
165 | ||
166 | PR middle-end/24362 | |
167 | * tree-complex.c (extract_component): Treat RESULT_DECL | |
168 | like the rest of the decls. | |
169 | ||
694a2f6e EB |
170 | 2005-10-25 Eric Botcazou <ebotcazou@adacore.com> |
171 | ||
172 | * config/ia64/ia64.c (ia64_output_function_profiler): Emit an | |
173 | indirect call to _mcount if the function needs a static chain. | |
174 | ||
43f237b4 EB |
175 | 2005-10-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
176 | Caroline Tice <ctice@apple.com> | |
177 | ||
178 | PR rtl-optimization/24460 | |
179 | * dwarf2out.c (have_switched_text_sections): New boolean variable. | |
180 | (dwarf2out_switch_text_section): Set it to true instead of | |
181 | incrementing separate_line_info_table_in_use. | |
182 | (output_loc_list): Additionally test have_switched_text_sections. | |
183 | (output_ranges): Likewise. | |
184 | (dwarf2out_finish): Likewise. | |
185 | * varasm.c (assemble_start_function): Do not call | |
186 | insert_section_boundary_note. | |
187 | (assemble_end_function): If flag_reorder_blocks_and_partition, | |
188 | switch to the function's section before emitting the .size directive. | |
189 | * bb-reorder.c (insert_section_boundary_note): Staticify. | |
190 | (rest_of_handle_reorder_blocks): Call insert_section_boundary_note. | |
191 | * output.h (insert_section_boundary_note): Delete. | |
192 | ||
02f8406b AP |
193 | 2005-10-24 Andrew Pinski <pinskia@physics.uc.edu> |
194 | ||
195 | PR c/23103 | |
196 | * c-format.c (check_format_types): Use lang_hooks.types_compatible_p | |
197 | instead of pointer equality when comparing types. | |
198 | ||
8c4b4e67 JW |
199 | 2005-10-24 James E. Wilson <wilson@specifix.com> |
200 | ||
201 | * sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two | |
202 | add_dependence_list_and_free calls. | |
203 | ||
7ffc0411 SB |
204 | 2005-10-24 Steven Bosscher <stevenb@suse.de> |
205 | ||
c4289f24 SB |
206 | * contrib.texi: Add the names of the LLNL folks who donated |
207 | Cray pointer support for gfortran. | |
208 | ||
209 | 2005-10-24 Steven Bosscher <stevenb@suse.de> | |
210 | ||
211 | PR tree-optimization/24225 | |
7ffc0411 SB |
212 | * profile.c (branch_prob): Look from end to start through a |
213 | basic block when looking for a locus. | |
214 | ||
77c4f044 RH |
215 | 2005-10-24 Richard Henderson <rth@redhat.com> |
216 | ||
217 | * pa.c (store_reg_modify): Set RTX_FRAME_RELATED_P on each set in | |
218 | parallel. | |
219 | (hppa_expand_prologue): Likewise. | |
220 | ||
3674b34d JDA |
221 | 2005-10-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
222 | ||
223 | * pa-linux.h (NO_PROFILE_COUNTERS): Delete define. | |
224 | (NO_DEFERRED_PROFILE_COUNTERS): Define. | |
225 | * pa.h (NO_PROFILE_COUNTERS): Define. | |
226 | * pa.c (NO_DEFERRED_PROFILE_COUNTERS): Define if not defined. | |
227 | (funcdef_nos): New vector to hold label numbers of deferred profile | |
228 | counters. | |
229 | (output_deferred_profile_counters): New function. | |
230 | (hppa_profile_hook): Push label number onto funcdef_nos. | |
231 | (pa_hpux_file_end): Call output_deferred_profile_counters if | |
232 | NO_DEFERRED_PROFILE_COUNTERS is false. | |
7aaf280e JDA |
233 | |
234 | * pa-protos.h (get_deferred_plabel): New prototype. | |
235 | * pa.c (get_plabel): Rename to get_deferred_plabel. Return plabel. | |
236 | Make global. | |
237 | (output_call): Adjust calls. | |
238 | ||
4fed8f8f AM |
239 | 2005-10-24 Alan Modra <amodra@bigpond.net.au> |
240 | ||
241 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Explain | |
242 | peculiarity of GOT/TOC section usage. | |
243 | ||
2a694ec8 AP |
244 | 2005-10-23 Andrew Pinski <pinskia@physics.uc.edu> |
245 | ||
246 | PR objc/24435 | |
247 | * c-common.c (constant_string_class_name): Add documentation. | |
248 | ||
03414545 KK |
249 | 2005-10-23 Kaz Kojima <kkojima@gcc.gnu.org> |
250 | ||
251 | PR target/23832 | |
252 | * recog.c (peephole2_optimize): Increment peep2_current_count | |
253 | only when the slot is empty. | |
254 | ||
8a36d7d1 JDA |
255 | 2005-10-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
256 | ||
257 | PR ada/23957 | |
258 | * except.c (output_function_exception_table): Call | |
259 | assemble_external_libcall if we need a personality function. | |
260 | ||
0e714a54 EB |
261 | 2005-10-21 Eric Botcazou <ebotcazou@libertysurf.fr> |
262 | ||
263 | PR rtl-optimization/24460 | |
264 | * bb-reorder.c (fix_crossing_unconditional_branches): Do not | |
265 | set the basic block for barriers. | |
266 | ||
7b39f38b JJ |
267 | 2005-10-21 Janis Johnson <janis187@us.ibm.com> |
268 | ||
269 | * var-tracking.c (vt_initialize): Initialize post. | |
270 | ||
2c47f875 DP |
271 | 2005-10-21 Devang Patel <dpatel@apple.com> |
272 | ||
273 | PR/24220 | |
274 | * c-common.c (vector_types_convertible_p): Check vector element type. | |
275 | ||
6058b2fa KK |
276 | 2005-10-21 Kaz Kojima <kkojima@gcc.gnu.org> |
277 | ||
278 | * config/sh/sh.c (prepare_move_operands): Handle the address | |
279 | constant which is a tls symbolic address plus a constant. | |
280 | ||
de19a50e AP |
281 | 2005-10-21 Andrew Pinski <pinskia@physics.uc.edu> |
282 | ||
283 | PR driver/24473 | |
284 | * gcc.c (main): Use the correct counter for erroring out | |
285 | about mulitple files. | |
286 | ||
972f427b AM |
287 | 2005-10-21 Alan Modra <amodra@bigpond.net.au> |
288 | ||
289 | PR target/24465 | |
290 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always | |
291 | use r2 for 64-bit tls .got access. | |
292 | ||
97191ef9 PB |
293 | 2005-10-21 Paolo Bonzini <bonzini@gnu.org> |
294 | ||
295 | * dojump.c (do_jump): Handle side-effecting TRUTH_AND_EXPR and | |
296 | TRUTH_OR_EXPR. | |
297 | ||
7802250d SB |
298 | 2005-10-20 Steven Bosscher <stevenb@suse.de> |
299 | ||
7ffc0411 | 300 | PR tree-optimization/24307 |
7802250d SB |
301 | * tree-cfg.c (tree_find_edge_insert_loc): Handle naked RETURN_EXPR. |
302 | ||
cdcba1ea AO |
303 | 2005-10-20 Alexandre Oliva <aoliva@redhat.com> |
304 | ||
305 | PR middle-end/24295 | |
306 | * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Mark | |
307 | alias targets. | |
308 | * varasm.c (find_decl_and_mark_needed): After cgraph global info | |
309 | is ready, stop marking functions, but still mark variables. | |
310 | ||
9ca4afb9 RG |
311 | 2005-10-20 Richard Guenther <rguenther@suse.de> |
312 | ||
313 | PR c++/24439 | |
314 | * fold-const.c (invert_truthvalue): Handle COND_EXPR with | |
315 | void type operands. | |
316 | ||
2358ff91 EB |
317 | 2005-10-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
318 | ||
319 | PR rtl-optimization/23585 | |
320 | * rtlanal.c (rtx_addr_can_trap_p_1): New predicate extracted from... | |
321 | (rtx_addr_can_trap_p): ... here. Invoke rtx_addr_can_trap_p_1. | |
322 | (may_trap_p_1): New predicate extracted from... | |
323 | (may_trap_p): ... here. Invoke may_trap_p_1. | |
324 | (may_trap_or_fault_p): New predicate. | |
325 | * rtl.h (may_trap_or_fault_p): Declare it. | |
326 | * reorg.c (steal_delay_list_from_target): Use may_trap_or_fault_p | |
327 | instead of may_trap_p. | |
328 | (steal_delay_list_from_fallthrough): Likewise. | |
329 | (fill_simple_delay_slots): Likewise. | |
330 | (fill_slots_from_thread): Likewise. | |
331 | * function.c (pad_to_arg_alignment): Rework comment about | |
332 | SPARC_STACK_BOUNDARY_HACK. | |
333 | * config/sparc/sparc.h: Likewise. | |
334 | ||
6fa05db6 AS |
335 | 2005-10-19 Adrian Straetling <straetling@de.ibm.com> |
336 | ||
337 | * config/s390/s390.c (s390_expand_insv): New. | |
338 | * config/s390/s390-protos.h (s390_expand_insv): Declare. | |
339 | * config/s390/s390.md ("UNSPEC_SETHIGH"): Rename to "UNSPEC_ICM". | |
340 | ("icm_hi"): Remove mode attribute. | |
341 | ("*sethigh<mode><mode>"): Rewrite to "sethighpart<mode>". | |
342 | Adjust all uses. | |
343 | ("*extracthi", "*extractqi"): Remove. | |
344 | (extv<mode>", "*extzv<mode>"): New. | |
345 | ("insv", "*insv<mode>_mem_reg", "*insvdi_mem_reghigh", | |
346 | "*insv<mode>_reg_imm", "*insv<mode>_reg_extimm"): New. | |
347 | ||
a1b23b2f UW |
348 | 2005-10-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
349 | ||
350 | * cfgexpand.c (discover_nonconstant_array_refs_r, | |
351 | discover_nonconstant_array_refs): Move here from tree-outof-ssa.c | |
352 | (tree_expand_cfg): Call discover_nonconstant_array_refs. | |
353 | * tree-outof-ssa.c (rewrite_out_of_ssa): Remove call to | |
354 | discover_nonconstant_array_refs. | |
355 | ||
f95f80d1 SB |
356 | 2005-10-19 Steven Bosscher <stevenb@suse.de> |
357 | ||
358 | PR c/23228 | |
359 | * c-decl.c (pop_scope): Don't warn about an unused variable | |
360 | if it is marked with TREE_NO_WARNING. | |
361 | (duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl | |
362 | somenow mismatch and olddecl is to be replaced. | |
363 | ||
e48050bd EB |
364 | 2005-10-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
365 | ||
366 | PR middle-end/23199 | |
367 | * cfgrtl.c (safe_insert_insn_on_edge): Use can_copy_p to detect | |
368 | whether registers live on the edge can be saved/restored. | |
369 | ||
0bf72672 KK |
370 | 2005-10-19 Kaz Kojima <kkojima@gcc.gnu.org> |
371 | ||
372 | * config/sh/sh.c (fixup_mova): Skip notes. | |
373 | ||
7633f08e UW |
374 | 2005-10-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
375 | ||
376 | * config/s390/s390-protos.h (s390_hard_regno_rename_ok): Add prototype. | |
377 | * config/s390/s390.c (s390_hard_regno_rename_ok): New function. | |
378 | (s390_can_eliminate): Handle BASE_REGNUM elimination. | |
379 | (s390_initial_elimination_offset): Likewise. | |
380 | (s390_conditional_register_usage): BASE_REGNUM is no longer a fixed | |
381 | register on TARGET_ZARCH targets. | |
382 | * config/s390/s390.h (HARD_REGNO_RENAME_OK): Define | |
383 | (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
384 | (REG_ALLOC_ORDER): Move BASE_REGNUM lower. | |
385 | (ELIMINABLE_REGS): Add BASE_REGNUM elimination rule. | |
386 | ||
da48f5ec AK |
387 | 2005-10-19 Andreas Krebbel <krebbel1@de.ibm.com> |
388 | ||
389 | * config/s390/s390.md: Comment describing output modifiers updated. | |
390 | * config/s390/s390.c (print_operand): Likewise. | |
391 | ||
f695eccf AK |
392 | 2005-10-19 Andreas Krebbel <krebbel1@de.ibm.com> |
393 | ||
394 | * config/s390/s390.c (override_options): Added check for -mstack-size | |
395 | 64k limitation. | |
396 | * doc/invoke.texi: Mention that limit in the documenation. | |
397 | ||
d1f36c51 PB |
398 | 2005-10-18 Paolo Bonzini <bonzini@gnu.org> |
399 | ||
400 | PR #19672 | |
401 | * dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR here. | |
402 | ||
b3e2e29c DB |
403 | 2005-10-18 Daniel Berlin <dberlin@dberlin.org> |
404 | ||
405 | Fix PR tree-optimization/24231 | |
406 | ||
407 | * tree-ssa-pre.c (try_look_through_load): Skip abnormal phi names | |
408 | (compute_avail): Ditto. | |
409 | ||
d1f36c51 | 410 | 2005-10-18 Richard Henderson <rth@redhat.com> |
fd4aca96 RH |
411 | |
412 | PR target/24428 | |
413 | * config/i386/i386.c (legitimate_constant_p): Check | |
414 | SYMBOL_REF_TLS_MODEL directly. Don't fallthru to SYMBOL_REF | |
415 | if LABEL_REF. | |
416 | (legitimate_pic_operand_p): Test SYMBOL_REF_TLS_MODEL directly. | |
417 | (legitimate_pic_address_disp_p): Reorg CONST checking to make | |
418 | sure SYMBOL_REF_TLS_MODEL is tested. Test SYMBOL_REF_TLS_MODEL | |
419 | directly. | |
420 | (print_operand_address): Likewise. | |
421 | * config/i386/predicates.md (x86_64_immediate_operand): Test | |
422 | SYMBOL_REF_TLS_MODEL properly inside CONST. | |
423 | (x86_64_zext_immediate_operand): Likewise. | |
424 | (global_dynamic_symbolic_operand, local_dynamic_symbolic_operand, | |
425 | initial_exec_symbolic_operand, local_exec_symbolic_operand): Remove. | |
426 | * config/i386/i386-protos.h: Remove predicates.md entries. | |
427 | ||
f4df3ce5 DS |
428 | 2005-10-18 Danny Smith <dannysmith@users.sourceforge.net> |
429 | ||
430 | * config/i386/winnt-cxx.c (i386_pe_adjust_class_at_definition): | |
431 | Check that elements of TYPE_METHODS are FUNCTION_DECLs. | |
432 | ||
1630e763 AS |
433 | 2005-10-17 Alexey Starovoytov <alexey.starovoytov@sun.com> |
434 | Ian Lance Taylor <ian@airs.com> | |
435 | ||
436 | PR middle-end/23522 | |
437 | * fold-const.c (fold_widened_comparison): Do not allow range based | |
438 | constant folding when right operand cannot be unwidened. | |
439 | ||
74395677 RH |
440 | 2005-10-17 Richard Henderson <rth@redhat.com> |
441 | ||
442 | * builtins.c (expand_builtin_synchronize): Build a new-style asm | |
443 | with a memory clobber. | |
444 | ||
1b2914a0 JW |
445 | 2005-10-17 James E Wilson <wilson@specifix.com> |
446 | ||
447 | PR rtl-optimization/17356 | |
448 | * cfgrtl.c (purge_dead_edges): Check for EDGE_ABNORMAL_CALL before | |
449 | checking for EDGE_EH. | |
450 | ||
7617ec02 EB |
451 | 2005-10-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
452 | ||
453 | * config/sparc/sparc.c (function_arg_slotno): In 64-bit mode, align | |
454 | the slot on an even boundary for any type with 16-byte alignment. | |
455 | ||
be3914df HPN |
456 | 2005-10-17 Hans-Peter Nilsson <hp@axis.com> |
457 | ||
458 | PR target/23424 | |
459 | * md.texi (Modifiers) <%>: Clarify that % doesn't work | |
460 | after register allocation. | |
461 | ||
b3fdec9e DD |
462 | 2005-10-17 DJ Delorie <dj@redhat.com> |
463 | ||
464 | * config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns | |
465 | as frame related. | |
466 | ||
dae1bf4d NS |
467 | 2005-10-17 Nathan Sidwell <nathan@codesourcery.com> |
468 | ||
469 | PR c++/22551 | |
470 | * c-common.c (c_add_case_label): Revert my 2005-10-14 clearing of | |
471 | overflow flags. | |
472 | ||
e13602df KK |
473 | 2005-10-17 Kaz Kojima <kkojima@gcc.gnu.org> |
474 | ||
475 | * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_schedule_insns | |
476 | to 2 if it's already non-zero. | |
477 | (OVERRIDE_OPTIONS): Clear flag_schedule_insns if flag_exceptions | |
478 | is set and warn about it if flag_schedule_insns is 1. | |
479 | ||
a95c63d8 PW |
480 | 2005-10-17 Paul Woegerer <paul.woegerer@nsc.com> |
481 | ||
482 | * config/crx/crx.md: Compare-and-branch instructions need to | |
483 | invalidate CC. | |
484 | ||
99523994 UB |
485 | 2005-10-17 Uros Bizjak <uros@kss-loka.si> |
486 | ||
487 | PR target/24315 | |
488 | * config/i386/i386.md (*pushdi2_rex64 splitter) | |
489 | (*movdi_1_rex64 splitter, *ashldi3_1 splitter) | |
490 | (*ashrdi3_1 splitter, *lshrdi3_1 splitter): Delay splitting after | |
491 | flow2 pass only when (optimize > 0 && flag_peephole2). | |
492 | ||
af41c57d AP |
493 | 2005-10-16 Andrew Pinski <pinskia@physics.uc.edu> |
494 | ||
495 | PR driver/22544 | |
496 | * gcc.c (have_c): New static variable. | |
497 | (have_o): Likewise. | |
498 | (process_command): Remove declation of have_c. | |
499 | Set have_o to 1 when handling -o. | |
500 | (main): Add a fatel error if there are multiple | |
501 | files specified and -o and -c/-S is passed witout | |
502 | -combine or multiple languages. | |
503 | ||
d938e461 DB |
504 | 2005-10-16 Daniel Berlin <dberlin@dberlin.org> |
505 | ||
506 | Fix PR tree-optimization/22444 | |
507 | * tree-ssa-alias.c (compute_flow_insensitive_aliasing): | |
508 | Assert that we don't hit something with subvars. | |
509 | (setup_pointers_and_addressables): Don't add things with subvars, | |
510 | because we'll already process the subvars for aliasing purposes. | |
511 | ||
2de0aa52 HPN |
512 | 2005-10-16 Hans-Peter Nilsson <hp@axis.com> |
513 | ||
1165f377 HPN |
514 | PR target/23424 |
515 | * config/cris/cris.md ("*mov_side<mode>", "*mov_sidesisf") | |
516 | ("*mov_side<mode>_mem", "*mov_sidesisf_mem", "*clear_side<mode>") | |
517 | ("*ext_sideqihi", "*ext_side<mode>si", "*op_side<mode>") | |
518 | ("*op_swap_side<mode>", "*extopqihi_side", "*extop<mode>si_side") | |
519 | ("*extopqihi_swap_side", "*extop<mode>si_swap_side"): Have separate, | |
520 | swapped, alternatives for the R constraint. | |
521 | ||
b100540d | 522 | PR middle-end/24341 |
2de0aa52 HPN |
523 | * builtins.c (get_builtin_sync_mode): Make unlimited |
524 | mode_for_size request. | |
525 | ||
a9f7c570 RH |
526 | 2005-10-15 Richard Henderson <rth@redhat.com> |
527 | ||
528 | * gimplify.c (gimplify_var_or_parm_decl): Split out from ... | |
529 | (gimplify_expr): ... here. | |
530 | (gimplify_compound_lval): Use it in initial scan loop. Allow | |
531 | fb_lvalue in base expression. | |
532 | ||
1e188d1e RH |
533 | 2005-10-15 Richard Henderson <rth@redhat.com> |
534 | ||
535 | PR 23714 | |
536 | * builtins.c (expand_builtin_trap): Export. | |
537 | * expr.h (expand_builtin_trap): Declare. | |
538 | * expr.c (expand_assignment): Emit a trap for integral offsets | |
539 | from registers that weren't reduced to bitpos. | |
540 | ||
541 | * tree-cfg.c (mark_array_ref_addressable_1): Remove. | |
542 | (mark_array_ref_addressable): Remove. | |
543 | * tree-flow.h (mark_array_ref_addressable): Remove. | |
544 | * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Don't call it. | |
545 | ||
b27cedc6 JW |
546 | 2005-10-15 James E Wilson <wilson@specifix.com> |
547 | ||
548 | PR target/24232 | |
549 | * sched-deps.c (add_dependence_list): New arg UNCOND. Fix all callers. | |
550 | (add_dependence_list_and_free): Likewise. | |
551 | (sched_analyze_2, case MEM): Delete sched_insns_conditions_mutex_p | |
552 | call. | |
553 | ||
2d33a2ef DN |
554 | 2005-10-15 Diego Novillo <dnovillo@redhat.com> |
555 | ||
556 | PR 23141 | |
557 | PR 23142 | |
558 | * tree-vrp.c (vrp_meet): Fix the intersection of equivalence | |
559 | sets VR0->EQUIV and VR1->EQUIV when meeting a range and an | |
560 | anti-range. | |
561 | (vrp_visit_phi_node): Only prevent infinite iterations when | |
562 | the previous result and the new result are both VR_RANGEs. | |
563 | ||
7b71de26 RM |
564 | 2005-10-15 Ranjit Mathew <rmathew@gcc.gnu.org> |
565 | ||
566 | * tree-into-ssa.c (mark_def_sites): Correct minor typo in | |
567 | function comment. | |
568 | ||
24871154 VR |
569 | 2005-10-14 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
570 | ||
571 | PR c/23439 | |
572 | * c-parser.c (c_parser_for_statement): Use location of RID_FOR | |
573 | to initialize loc. | |
574 | ||
d2c979ef PB |
575 | 2005-10-14 Per Bothner <per@bothner.com> |
576 | ||
577 | PR preprocessor/21250 | |
578 | * c-ppoutput.c (print_line): Print internal line 0 as 1. | |
579 | ||
c0e22534 NS |
580 | 2005-10-14 Nathan Sidwell <nathan@codesourcery.com> |
581 | ||
582 | PR c++/22551 | |
583 | * c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's | |
584 | overflow flags. Refactor some conditionals. | |
585 | ||
9da32d63 AP |
586 | 2005-10-13 Andrew Pinski <pinskia@physics.uc.edu> |
587 | ||
588 | PR tree-opt/21304 | |
589 | * tree-dfa.c (add_referenced_var): Only look at decls which | |
590 | have TREE_CONSTANT or TREE_READONLY set instead of if | |
591 | !TREE_PUBLIC or !TREE_CONSTANT. | |
592 | ||
47530dd9 JW |
593 | 2005-10-13 James E Wilson <wilson@specifix.com> |
594 | ||
acd1a829 | 595 | * doc/invoke.texi: For -x, add f95-cpp-input. |
47530dd9 JW |
596 | * doc/install.texi: For --enable-languages doc, change f95 to fortran. |
597 | ||
b2ebf913 SP |
598 | 2005-10-12 Sebastian Pop <pop@cri.ensmp.fr> |
599 | ||
600 | PR tree-optimization/24262 | |
601 | * tree-data-ref.c (analyze_offset_expr): Check that init is invariant | |
602 | in loop all the time. | |
603 | ||
52dd234b RH |
604 | 2005-10-12 Richard Henderson <rth@redhat.com> |
605 | ||
606 | PR c/24255 | |
607 | * tree.h (DECL_TRANSPARENT_UNION): Remove. | |
608 | * function.c (assign_parm_find_data_types): Don't support it. | |
609 | * print-tree.c (print_node): Likewise. | |
610 | * c-common.c (handle_transparent_union_attribute): Likewise. | |
611 | Use build_duplicate_type. | |
612 | * tree-inline.c (remap_type_1): Split out of remap_type; | |
613 | properly remap aggregate fields. | |
614 | (build_duplicate_type): New. | |
615 | * doc/extend.texi (Variable Attributes): Remove documentation | |
616 | for transparent_union. | |
617 | ||
6deb0339 EB |
618 | 2005-10-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
619 | ||
620 | PR target/24284 | |
621 | * config/sparc/sparc.c (gen_stack_pointer_inc): Build by hand. | |
622 | (gen_stack_pointer_dec): Likewise. | |
623 | ||
43d9ad1d DS |
624 | 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net> |
625 | ||
626 | PR middle-end/21275 | |
627 | PR middle-end/21766 | |
628 | * target.h (struct gcc_target): Add valid_dllimport_attribute_p | |
629 | target hook. | |
630 | (struct cxx): Add adjust_class_at_definition target hook. | |
631 | * target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define, | |
632 | defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER | |
633 | (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to | |
634 | hook_void_tree. Add to TARGET_CXX. | |
635 | * tree.h (struct decl_with_vis): Rename non_addr_const_p field to | |
636 | dllimport_flag. | |
637 | (DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro. | |
638 | * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P | |
639 | instead of attribute. Check for dllexport override. Warn if | |
640 | inconsistent dll linkage. Don't lose old dllimport if decl has | |
641 | had address referenced. Tweak lookup of dllimport atribute. | |
642 | (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p | |
643 | for target specific rules. Don't add dllimport attribute if | |
644 | DECL_DECLARED_INLINE_P. Set DECL_DLLIMPORT_P when adding | |
645 | dllimport attribute. | |
646 | (staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P. | |
647 | * varasm.c (initializer_constant_valid_p): Replace | |
648 | DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P | |
649 | ||
650 | PR target/21801 | |
651 | PR target/23589 | |
652 | * config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to | |
653 | 'cxx_target_objs', winnt-stubs,o to 'extra_objs'. | |
654 | (i[34567]86-*-mingw32*): Likewise. | |
655 | ||
656 | * doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document. | |
657 | (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document. | |
658 | ||
659 | * config/i386/winnt.c (i386_pe_dllimport_p): Factor out | |
660 | C++-specific code. Change return value to bool. | |
661 | (i386_pe_dllimport_p): Likewise. | |
662 | (associated_type): Simplify and make language-independent | |
663 | (i386_pe_encode_section_info): Replace override of ambiguous | |
664 | dllimport symbol refs with a gcc_assert. | |
665 | (i386_pe_valid_dllimport_attribute_p): Define. | |
666 | * config/i386/winnt-cxx.c: New file. Define C++ versions of | |
667 | i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, | |
668 | i386_pe_adjust_class_at_definition. | |
669 | * config/i386/winnt-stubs.c: New file. Define stub versions of | |
670 | lang-specific functions. | |
671 | * config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions | |
672 | i386_pe_type_dllimport_p, i386_pe_type_dllexport_p, | |
673 | i386_pe_adjust_class_at_definition. | |
674 | (i386_pe_valid_dllimport_attribute_p): Declare. | |
675 | * config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define. | |
676 | (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define. | |
677 | * config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o. | |
678 | ||
679 | PR target/19704 | |
680 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for | |
681 | dllimport attribute with test of DECL_DLLIMPORT_P. | |
682 | ||
8adac335 AS |
683 | 2005-10-12 Adrian Straetling <straetling@de.ibm.com> |
684 | ||
685 | * combine.c (make_extraction): Correct offset computation. | |
686 | ||
9f92185e HPN |
687 | 2005-10-12 Hans-Peter Nilsson <hp@axis.com> |
688 | ||
689 | * config/cris/t-linux (LIMITS_H_TEST): Define. | |
690 | ||
a4d25453 RH |
691 | 2005-10-12 Richard Henderson <rth@redhat.com> |
692 | ||
693 | PR rtl-opt/23324 | |
694 | * cfgexpand.c (add_alias_set_conflicts): Use objects_must_conflict_p. | |
695 | ||
c8c7ed52 RG |
696 | 2005-10-12 Richard Guenther <rguenther@suse.de> |
697 | ||
698 | * Makefile.in (CGRAPH_H): Depend on $(TREE_H). | |
699 | ||
dbe91deb NS |
700 | 2005-10-12 Nathan Sidwell <nathan@codesourcery.com> |
701 | ||
702 | PR c++/19964 | |
703 | * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and | |
704 | DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid | |
705 | type. | |
706 | ||
e2953e41 RG |
707 | 2005-10-12 Richard Guenther <rguenther@suse.de> |
708 | ||
709 | PR c++/23799 | |
710 | * varasm.c (output_constant): Correct typo from previous | |
711 | patch by DJ. | |
712 | ||
4bbae09f ILT |
713 | 2005-10-11 Ian Lance Taylor <ian@airs.com> |
714 | ||
715 | PR rtl-optimization/13931 | |
716 | * combine.c: Revert patch of 2003-05-14, and: | |
717 | (try_combine): Only set elim_i1 and elim_i2 if the destination is | |
718 | completely killed in the appropriate insn. | |
719 | (distribute_notes): Don't skip multiple hard register test for | |
720 | elim_i1 and elim_i2. | |
721 | ||
0257e383 RH |
722 | 2005-10-11 Richard Henderson <rth@redhat.com> |
723 | ||
724 | PR c/24255 | |
725 | * c-typeck.c (convert_for_assignment): Use build_constructor_single | |
726 | to initialize a transparent union instead of a nop_expr. | |
727 | ||
49896738 RH |
728 | 2005-10-11 Richard Henderson <rth@redhat.com> |
729 | ||
a4176272 RH |
730 | * Makefile.in (tree-ssa-dce.o): Depend on SCEV_H. |
731 | * tree-ssa-dce.c: Include tree-scalar-evolution.h. | |
732 | (tree_ssa_dce_loop): Call scev_reset. | |
733 | ||
49896738 RH |
734 | PR tree-opt/24300 |
735 | * Makefile.in (tree-ssa-dce.o): Depend on CFGLOOP_H. | |
736 | * tree-ssa-dce.c: Include cfgloop.h. | |
737 | (tree_ssa_dce_loop, pass_dce_loop): New. | |
738 | * tree-pass.h (pass_dce_loop): Declare it. | |
739 | * passes.c (init_optimization_passes): Use it. | |
740 | ||
5e8b5b08 EB |
741 | 2005-10-11 Eric Botcazou <ebotcazou@libertysurf.fr> |
742 | ||
743 | PR middle-end/24263 | |
744 | * convert.c (convert_to_real): Revert 2005-10-05 patch. | |
745 | Only apply the optimization for rounding builtins if the inner | |
746 | cast is also an extension. | |
747 | ||
386cfa6f AP |
748 | 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu> |
749 | ||
750 | PR tree-opt/23946 | |
751 | * tree-ssa-ccp.c (execute_fold_all_builtins): Call | |
752 | mark_new_vars_to_rename instead of update_stmt. | |
753 | ||
ace0544a BS |
754 | 2005-10-11 Bernd Schmidt <bernd.schmidt@analog.com> |
755 | ||
756 | * config/bfin/crti.s (__init, __fini): Renamed from _init, _fini. | |
757 | ||
eef90962 JJ |
758 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> |
759 | ||
760 | * config/i386/i386.md (movsi_1, movdi_1_rex64): Use mmxadd type | |
761 | for setting MMX register to 0 rather than mmx. | |
762 | ||
dbad5e72 SE |
763 | 2005-10-10 Steve Ellcey <sje@cup.hp.com> |
764 | ||
765 | PR target/12098 | |
766 | * configure.ac: Move gas check from mips specific case to common case. | |
767 | Do check for GNU as for mips*-*-* and *-*-hpux* targets. | |
768 | * configure: Regenerate | |
769 | * doc/install.texi: Update. | |
770 | ||
542155d7 EB |
771 | 2005-10-10 Eric Botcazou <ebotcazou@libertysurf.fr> |
772 | ||
773 | PR target/24284 | |
774 | * config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN. | |
775 | ||
a92dd235 MR |
776 | 2005-10-10 Maciej W. Rozycki <macro@linux-mips.org> |
777 | ||
778 | * gcc.c (do_spec_1): Accept numeric characters in file name | |
779 | suffixes. | |
780 | ||
e0b92319 NC |
781 | 2005-10-10 Nick Clifton <nickc@redhat.com> |
782 | ||
783 | * config/arm/arm.c: Remove extraneous whitespace. Remove comment | |
784 | describing the deleted arm_gen_rotated_half_load function. | |
785 | ||
a5f5c6be KK |
786 | 2005-10-09 Kaz Kojima <kkojima@gcc.gnu.org> |
787 | ||
788 | * config/sh/sh.c (emit_fpu_switch): Set TREE_PUBLIC for | |
789 | __fpscr_values. | |
790 | ||
d399ae67 DJ |
791 | 2005-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
792 | ||
793 | * config.gcc (arm*-*-linux*): Remove redundant extra_parts and | |
794 | gnu_ld assignments. | |
795 | * config/arm/t-linux-eabi (LIB1ASMFUNCS) | |
796 | (EXTRA_MULTILIB_PARTS): Define. | |
797 | * config/arm/linux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC) | |
798 | (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC) | |
799 | (LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Move to... | |
800 | * config/arm/uclinux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC) | |
801 | (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC) | |
802 | (LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): ... here. | |
803 | ||
c9639aae ZD |
804 | 2005-10-09 Zdenek Dvorak <dvorakz@suse.cz> |
805 | ||
806 | PR tree-optimization/24226 | |
807 | * tree-cfg.c (remove_bb): Clean up unreachable loops. | |
808 | * tree-flow.h (free_numbers_of_iterations_estimates_loop): Declare. | |
809 | * tree-ssa-loop-niter.c (free_numbers_of_iterations_estimates_loop): | |
810 | Export. | |
811 | ||
ad6cc85a EB |
812 | 2005-10-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
813 | ||
814 | * config/sparc/gmon-sol2.c (internal_mcount): Mark as used. | |
815 | ||
c5dce79b AP |
816 | 2005-10-08 Andrew Pinski <pinskia@physics.uc.edu> |
817 | ||
818 | PR target/24136 | |
819 | * config/rs6000/darwin.md (movdf_low_si): Remove early clobber. | |
820 | Rewrite for no need for the early clobber. | |
821 | ||
077fc835 KH |
822 | 2005-10-08 Kazu Hirata <kazu@codesourcery.com> |
823 | ||
824 | Merge from csl-arm-branch: | |
825 | 2005-09-07 Paul Brook <paul@codesourcery.com> | |
826 | * config/arm/linux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Prepend a | |
827 | space to string. | |
828 | ||
829 | 2005-04-30 Paul Brook <paul@codesourcery.com> | |
830 | * config/arm/bpabi.h (TARGET_DEFAULT): Define. | |
831 | * config/arm/linux-eabi.h (SUBTARGET_CPU_DEFAULT): Define. | |
832 | ||
833 | 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com> | |
834 | * config/arm/arm.c (arm_all_abis): Add aapcs-linux. | |
835 | (arm_override_options): Use TARGET_AAPCS_BASED. | |
836 | * config/arm/arm.h (enum arm_abi_type): Add ARM_ABI_AAPCS_LINUX. | |
837 | (PTRDIFF_TYPE): Use int for AAPCS. | |
838 | (DEFAULT_SHORT_ENUMS): Use false for aapcs-linux. | |
839 | * config/arm/linux-eabi.h (ARM_DEFAULT_ABI, WCHAR_TYPE): Define. | |
840 | (DEFAULT_SHORT_ENUMS): Delete. | |
841 | * doc/invoke.texi (ARM Options): Document -mabi=aapcs-linux. | |
842 | ||
843 | 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com> | |
844 | * config/arm/arm.h (DEFAULT_SHORT_ENUMS): Wrap in #ifndef. | |
845 | * config/arm/linux-eabi.h (DEFAULT_SHORT_ENUMS): Define to 0. | |
846 | * config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS): Set to -fPIC. | |
847 | ||
848 | 2004-12-03 Mark Mitchell <mark@codesourcery.com> | |
849 | * config/arm/linux-eabi.h (LIBGCC_SPEC): Do not define. | |
850 | ||
851 | 2004-11-22 Mark Mitchell <mark@codesourcery.com> | |
852 | * config.gcc (arm*-*-linux-gnueabi): Use __cxa_atexit. | |
853 | ||
854 | 2004-11-19 Mark Mitchell <mark@codesourcery.com> | |
855 | * config.gcc (arm*-*-linux-gnueabi): Add it. | |
856 | * config/arm/bpabi.h (FPUTYPE_DEFAULT): Undefine it before | |
857 | redefining it. | |
858 | (TARGET_OS_CPP_BUILTINS): Likeiwse. | |
859 | * config/arm/linux-eabi.h: New file. | |
860 | * config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): New macro. | |
861 | (LINUX_TARET_LINK_SPEC): Likewise. | |
862 | (LINK_SPEC): Use it. | |
863 | * config/arm/t-linux-eabi: New file. | |
864 | ||
5fa534e3 SB |
865 | 2005-10-08 Steven Bosscher <stevenb@suse.de> |
866 | ||
867 | PR other/22202 | |
868 | * params.def (PARAM_MAX_VARIABLE_EXPANSIONS): Remove superfluous | |
869 | spaces. | |
870 | (PARAM_SMS_DFA_HISTORY): Likewise. | |
871 | ||
07eef816 KH |
872 | 2005-10-08 Kazu Hirata <kazu@codesourcery.com> |
873 | ||
874 | PR middle-end/23150 | |
875 | * calls.c (mem_overlaps_already_clobbered_arg_p): New. | |
876 | (load_register_parameters): Call it. | |
877 | (check_sibcall_argument_overlap_1): Likewise. | |
878 | (store_one_arg): Likewise. | |
879 | ||
b6fb7d46 JW |
880 | 2005-10-07 James E. Wilson <wilson@specifix.com> |
881 | ||
3dbb4dce JW |
882 | * config/ia64/vect.md (ashl<mode>3, ashr<mode>3, lshr<mode>3): Use |
883 | DImode not VECINT24 for operand 2. | |
884 | ||
7f9dc823 JW |
885 | PR target/23644 |
886 | * doc/invoke.texi (IA-64 Options, item -mtune): Renamed from | |
887 | -mtune-arch. | |
888 | ||
b6fb7d46 JW |
889 | PR target/24193 |
890 | * config/ia64/ia64.md (movbi, movti_internal, gr_spill_internal, | |
891 | fr_spill): Use destination_operand for operand 0. | |
892 | ||
3eb0d7c5 DD |
893 | 2005-10-07 DJ Delorie <dj@redhat.com> |
894 | ||
895 | * varasm.c (output_constant): Limit error to expanding | |
896 | conversions. | |
897 | ||
4c17e288 RG |
898 | 2005-10-07 Richard Guenther <rguenther@suse.de> |
899 | ||
900 | PR middle-end/24227 | |
901 | * fold-const.c (fold_binary): Fix operand types during folding | |
902 | of X op (A, Y). Evaluation order of the side-effects of | |
903 | X and A are frontend-defined, so ensure we honour that even for | |
904 | tcc_comparison class operands; eased by removing duplicate code. | |
905 | ||
002a9071 SE |
906 | 2005-10-07 Steve Ellcey <sje@cup.hp.com> |
907 | ||
908 | * stor-layout.c (layout_type): Do not allow alignment of array | |
909 | elements to be greater than their size. | |
910 | ||
9bff16b8 SE |
911 | 2005-10-07 Steve Ellcey <sje@cup.hp.com> |
912 | ||
913 | * config.host (hppa*-*-hpux*): Change out_host_hook_obj and | |
914 | host_xmake_file. | |
915 | (hppa*-*-linux*): Ditto. | |
916 | (ia64-*-hpux*): Add out_host_hook_obj and host_xmake_file. | |
917 | * config/host-hpux.c: New. | |
918 | * config/x-hpux: New. | |
919 | * config/pa/x-hpux: Remove. | |
920 | * config/pa/x-linux: Remove. | |
921 | * config/pa/pa-host.c: Remove. | |
922 | ||
3e352c00 JL |
923 | 2005-10-07 Jeff Law <law@redhat.com> |
924 | ||
925 | * tree-ssa-dom.c (dom_opt_finalize_block): Fix conditions to | |
926 | determine whether or not to try and thread outgoing edges. | |
927 | ||
05f68097 DE |
928 | 2005-10-07 David Edelsohn <edelsohn@gnu.org> |
929 | ||
930 | * config/rs6000/rs6000.md (eqsi_power): New. | |
931 | (neg_eq0si): Add TARGET_POWER to final condition. | |
932 | (neg_eqsi): Same. | |
933 | ||
a7e0b075 RH |
934 | 2005-10-06 Richard Henderson <rth@redhat.com> |
935 | ||
936 | * config/rs6000/rs6000.c: Revert last change. | |
937 | ||
27add2e8 RH |
938 | 2005-10-06 Richard Henderson <rth@redhat.com> |
939 | ||
940 | * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): New. | |
941 | (TARGET_CANNOT_FORCE_CONST_MEM): Use it. | |
942 | ||
4bb1e037 AP |
943 | 2005-10-06 Andrew Pinski <pinskia@physics.uc.edu> |
944 | ||
945 | PR middle-end/22216 | |
946 | PR middle-end/23651 | |
947 | * cfgexpand.c (tree_expand_cfg): After expanding the functions, clear | |
948 | out return_label and naked_return_label. | |
949 | ||
30d2662c DB |
950 | 2005-10-06 Daniel Berlin <dberlin@dberlin.org> |
951 | ||
952 | * tree-ssa-structalias.c (check_for_overlaps): Fix bug in last | |
a9f7c570 | 953 | change. |
30d2662c | 954 | |
e2f9fe42 RH |
955 | 2005-10-06 Richard Henderson <rth@redhat.com> |
956 | ||
957 | PR tree-opt/22237 | |
958 | * tree-inline.c (declare_return_variable): Handle modify_dest not | |
959 | being a DECL. | |
960 | ||
6c11790d DB |
961 | 2005-10-06 Daniel Berlin <dberlin@dberlin.org> |
962 | ||
963 | Fix PR tree-optimization/22488 | |
964 | * tree-ssa-structalias.c (check_for_overlaps): New function. | |
965 | (create_variable_info_for): Use it. | |
966 | ||
5597a350 RH |
967 | 2005-10-06 Richard Henderson <rth@redhat.com> |
968 | ||
969 | PR debug/24070 | |
970 | * dwarf2out.c (lookup_filename): Return the result of maybe_emit_file. | |
971 | (dwarf2out_start_source_file): Print it. | |
972 | ||
03f9dd3f GK |
973 | 2005-10-06 Geoffrey Keating <geoffk@apple.com> |
974 | ||
975 | * config/t-slibgcc-darwin (SHLIB_MAPFILES): Use '+='. | |
976 | ||
24c2fde2 RH |
977 | 2005-10-06 Richard Henderson <rth@redhat.com> |
978 | ||
979 | PR 23706 | |
980 | * mode-switching.c (optimize_mode_switching): Clear transp bit | |
981 | for block with incomming abnormal edges. | |
982 | ||
983 | * config/sh/sh.c (fpscr_values, emit_fpu_switch): New. | |
984 | (fpscr_set_from_mem): Use them. | |
985 | * config/sh/sh.md (fpu_switch0, fpu_switch1): Remove. | |
986 | (fpscr postinc splitters): Rewrite as peephole2+split. | |
987 | ||
27f0fe7f DE |
988 | 2005-10-06 David Edelsohn <edelsohn@gnu.org> |
989 | ||
990 | * config/rs6000/rs6000.md (eq<mode>): Add !TARGET_POWER. | |
991 | (eq<mode>_compare): Same. | |
992 | ||
098209a9 RG |
993 | 2005-10-06 Richard Guenther <rguenther@suse.de> |
994 | ||
995 | PR tree-optimization/24238 | |
0c7c1604 | 996 | * tree-ssa-alias.c (find_used_portions): Handle RESULT_DECL. |
098209a9 | 997 | |
d739199a DJ |
998 | 2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> |
999 | ||
1000 | * acinclude.m4 (gcc_AC_CHECK_TOOL): Handle environment variables | |
1001 | here. Use AC_PATH_PROG for environment variables instead of | |
1002 | test -x. | |
1003 | * configure.ac: Update calls to gcc_AC_CHECK_TOOL. Use it for | |
1004 | objdump also. | |
1005 | * configure: Regenerated. | |
1006 | ||
c40cb38d RE |
1007 | 2005-10-06 Richard Earnshaw <richard.earnshaw@arm.com> |
1008 | ||
1009 | PR target/23783 | |
1010 | * arm.md (call): If the address isn't a SYMBOL_REF or a register, | |
1011 | then force it into a register. | |
1012 | (call_value): Likewise. | |
1013 | ||
5872662b RH |
1014 | 2005-10-06 Richard Henderson <rth@redhat.com> |
1015 | ||
1016 | PR 24049 | |
1017 | * passes.c (init_optimization_passes): Move pass_lower_vector_ssa | |
1018 | under pass_vectorize. Clear TODO_ggc_collect from the dce pass | |
1019 | under pass_vectorize. | |
1020 | ||
d6b27b56 DP |
1021 | 2005-10-05 Devang Patel <dpatel@apple.com> |
1022 | ||
1023 | PR Debug/23205 | |
1024 | * dbxout.c (dbxout_symbol): Check DECL_RTL_SET_P, after | |
1025 | handling constants. Check NAMESPACE_DECL context for constants. | |
1026 | ||
759915ca EC |
1027 | 2005-10-05 Eric Christopher <echristo@apple.com> |
1028 | ||
1029 | * doc/md.texi (Standard Names): Fix name of pushm1 pattern. | |
1030 | ||
bf7e2472 RH |
1031 | 2005-10-05 Richard Henderson <rth@redhat.com> |
1032 | ||
1033 | PR 23714 | |
1034 | * tree-cfg.c (mark_array_ref_addressable_1): New. | |
1035 | (mark_array_ref_addressable): New. | |
1036 | * tree-flow.h (mark_array_ref_addressable): Declare. | |
1037 | * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Use it. | |
1038 | ||
d14e25e0 AP |
1039 | 2005-10-05 Andrew Pinski <pinskia@physics.uc.edu> |
1040 | ||
1041 | PR middle-end/20606 | |
1042 | PR middle-end/24069 | |
1043 | * reload.c (subst_reloads): When adding a REG_LABEL to a | |
1044 | jump instruction, also update JUMP_LABEL. | |
1045 | ||
f935b9e0 DE |
1046 | 2005-10-05 David Edelsohn <edelsohn@gnu.org> |
1047 | ||
1048 | * params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New. | |
1049 | * bb-reorder.c (copy_bb_p): Use it. | |
1050 | * doc/invoke.texi (param table): Add max-grow-copy-bb-insn. | |
1051 | ||
d3073c70 RH |
1052 | 2005-10-05 Richard Henderson <rth@redhat.com> |
1053 | ||
1054 | PR target/23602 | |
1055 | * toplev.c (process_options): Warn about unsupported combinations | |
1056 | of unwind tables and omit-frame-pointer. | |
1057 | * config/i386/i386.c (override_options): Similarly. Enable | |
1058 | accumulate-outgoing-args if not explicitly disabled. | |
1059 | ||
10dc6e8c SE |
1060 | 2005-10-05 Steve Ellcey <sje@cup.hp.com> |
1061 | ||
1062 | * vect.md (vec_initv2si): Fix typo of V2SF to V2SI. | |
1063 | Handle big endian vs. small endian. | |
1064 | (vec_initv2sf): Handle big endian vs. small endian. | |
1065 | (*vec_extractv2sf_1): Ditto. | |
1066 | ||
9f85ecfe DJ |
1067 | 2005-10-05 Dale Johannesen <dalej@apple.com> |
1068 | ||
1069 | * convert.c (convert_to_real): Don't convert | |
1070 | (float)floor(double d) to floorf((float)d). | |
1071 | ||
c2540bbb DJ |
1072 | 2005-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
1073 | ||
1074 | * config/arm/arm.md (insv): Use gen_int_mode in more places. | |
1075 | ||
f3940b0e AM |
1076 | 2005-10-05 Andrew MacLeod <amacleod@redhat.com> |
1077 | ||
1078 | PR tree-optimization/18587 | |
1079 | * tree-ssa-operands.c (struct opbuild_list_d, OPBUILD_LAST): Delete. | |
1080 | (build_defs, build_uses, build_v_may_defs, build_v_must_defs, | |
1081 | build_vuses): Change to VEC type. | |
1082 | (opbuild_initialize_virtual, opbuild_initialize_real, opbuild_free, | |
1083 | opbuild_num_elems, opbuild_append_real, opbuild_append_virtual, | |
1084 | opbuild_first, opbuild_next, opbuild_elem_real, opbuild_elem_virtual, | |
1085 | opbuild_elem_uid, opbuild_clear, opbuild_remove_elem): Delete. | |
759915ca | 1086 | (get_name_decl): New. Return DECL_UID of base variable. |
f3940b0e AM |
1087 | (operand_build_cmp): New. qsort comparison routine. |
1088 | (operand_build_sort_virtual): New. Sort virtual build vector. | |
1089 | (init_ssa_operands, fini_ssa_operands): Use VEC routines. | |
1090 | (FINALIZE_OPBUILD_BASE, FINALIZE_OPBUILD_ELEM): Use VEC_Index. | |
1091 | (FINALIZE_BASE): Use get_name_decl. | |
1092 | (finalize_ssa_defs, finalize_ssa_uses, cleanup_v_may_defs, | |
1093 | finalize_ssa_v_may_defs, finalize_ssa_vuses, finalize_ssa_v_must_defs, | |
759915ca EC |
1094 | (start_ssa_stmt_operands, append_def, append_use, append_vuse, |
1095 | append_v_may_def, append_v_must_def): Replace opbuild_* routines with | |
f3940b0e AM |
1096 | direct VEC_* manipulations. |
1097 | (build_ssa_operands): Call operand_build_sort_virtual. | |
1098 | (copy_virtual_operand, create_ssa_artficial_load_stmt, | |
759915ca | 1099 | add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines |
f3940b0e AM |
1100 | with direct VEC_* manipulations. |
1101 | * tree-ssa-opfinalize.h (FINALIZE_FUNC): Replace opbuild_* routines | |
1102 | with direct VEC manipulations. | |
1103 | ||
5544530a PB |
1104 | 2005-10-05 Paolo Bonzini <bonzini@gnu.org> |
1105 | ||
1106 | PR tree-optimization/21419 | |
1107 | PR tree-optimization/24146 | |
1108 | PR tree-optimization/24151 | |
1109 | ||
1110 | * c-typeck.c (readonly_error): Handle USE being lv_asm. | |
1111 | (build_asm_expr): Call it if outputs are read-only. | |
1112 | * gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419. | |
1113 | ||
75576871 BB |
1114 | 2005-10-05 Billy Biggs <billy.biggs@gmail.com> |
1115 | Paolo Bonzini <bonzini@gnu.org> | |
1116 | ||
1117 | PR target/23809 | |
1118 | ||
1119 | * doc/extend.texi (x86 Built-ins): Document that -msse and friends | |
1120 | enable the instructions and not just the built-ins. | |
1121 | * doc/invoke.texi (x86 Options): Likewise. | |
1122 | ||
337f2a22 GK |
1123 | 2005-10-04 Geoffrey Keating <geoffk@apple.com> |
1124 | ||
a70d8bb6 GK |
1125 | * config/i386/t-darwin (SHLIB_VERPFX): Fix typo. |
1126 | ||
337f2a22 GK |
1127 | * doc/invoke.texi (Option Summary): Correct spelling |
1128 | of -mmacosx-version-min. | |
1129 | ||
a04deb83 DP |
1130 | 2005-10-04 Devang Patel <dpatel@apple.com> |
1131 | ||
1132 | * c-common.c (vector_types_convertible_p): Check TYPE_PRECISION for | |
1133 | real types. | |
759915ca | 1134 | |
578578a5 SE |
1135 | 2005-10-04 Steve Ellcey <sje@cup.hp.com> |
1136 | ||
1137 | * tree-vect-transform.c (vect_create_epilog_for_reduction): | |
1138 | Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN. | |
1139 | ||
8006eaa6 AS |
1140 | 2005-10-04 Adrian Straetling <straetling@de.ibm.com> |
1141 | ||
1142 | * config/s390/s390.md ("TDSI","DP"): New mode macros. | |
1143 | ("TE","tg"): New mode attributes. | |
1144 | ("sync_compare_and_swap<mode>"): Replace with a define_expand. | |
1145 | ("sync_compare_and_swap<mode>_cc"): Replace GPR with TDSI. | |
1146 | ("*sync_compare_and_swap<mode>_cc"): Replace with one pattern for | |
1147 | dword_mode and one for GPRmode. | |
1148 | ||
cbc43ae0 ILT |
1149 | 2005-10-04 Ian Lance Taylor <ian@airs.com> |
1150 | ||
1151 | PR preprocessor/13726 | |
1152 | * c-ppoutput.c (cb_include): Add comments parameter, and print out | |
1153 | any comments passed in. | |
1154 | ||
44d25172 AP |
1155 | 2005-10-04 Andrew Pinski <pinskia@physics.uc.edu> |
1156 | ||
1157 | * tree.c (annotate_with_file_line): Fix typo. | |
1158 | ||
baab454a UW |
1159 | 2005-10-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1160 | ||
1161 | PR ada/19382 | |
1162 | * builtins.c (fold_builtin_memcmp): When constructing the pointer | |
1163 | type used to access data in the inlined length == 1 case, use | |
1164 | build_pointer_type_for_mode with CAN_ALIAS_ALL set to true. | |
1165 | (fold_builtin_strcmp, fold_builtin_strncmp): Likewise. | |
1166 | ||
84c2b4da UB |
1167 | 2005-10-04 Uros Bizjak <uros@kss-loka.si> |
1168 | ||
1169 | * config/i386/i386.h (TARGET_FISTTP): Enable also for | |
1170 | TARGET_SSE3 and only for TARGET_80387. | |
1171 | * config/i386/i386.md (fix_trunc<mode>_fisttp_i387_1, | |
1172 | (fix_trunc<mode>_i387_fisttp, fix_trunc<mode>_i387_fisttp_with_temp): | |
1173 | Do not depend on TARGET_80387. | |
1174 | ||
b4ceda13 AP |
1175 | 2005-10-04 Andrew Pinski <pinskia@physics.uc.edu> |
1176 | ||
1177 | * tree.c (last_annotated_node): Change type to location_t*. | |
1178 | (annotate_with_file_line): Reflect the change of | |
1179 | last_annotated_node type. | |
1180 | ||
9df594d7 RG |
1181 | 2005-10-04 Richard Guenther <rguenther@suse.de> |
1182 | ||
1183 | PR c/23576 | |
1184 | * c-decl.c (grokdeclarator): Don't write to fields | |
1185 | of error_mark_node. | |
1186 | ||
11e3f4b6 AP |
1187 | 2005-10-04 Andrew Pinski <pinskia@physics.uc.edu> |
1188 | ||
1189 | PR middle-end/23125 | |
1190 | * c-decl.c (finish_decl): Use set_user_assembler_name even for | |
1191 | register variables. | |
1192 | * varasm.c (make_decl_rtl): If a register variable does not | |
1193 | have a set user assmbler name, error out. | |
1194 | Decode the asmspec is now name+1 bypassing '*'. | |
1195 | ||
1196 | 2005-10-04 Steven Bosscher <stevenb@suse.de> | |
46fbb29c SB |
1197 | |
1198 | PR tree-optimization/23049 | |
1199 | * tree-ssa-dom.c (thread_across_edge): Make sure that the condition | |
1200 | of a COND_EXPR is folded before calling fold on the whole rhs of a | |
1201 | conditional assignment. | |
1202 | * doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to | |
1203 | document that a COND_EXPR may appear there. | |
1204 | ||
012a7a78 DN |
1205 | 2005-10-03 Diego Novillo <dnovillo@redhat.com> |
1206 | ||
1207 | PR 23445 | |
1208 | * tree-vrp.c (extract_range_from_assert): If the new numeric | |
1209 | range created out of the assertion contradicts the existing | |
1210 | numeric range of the ASSERT_EXPR variable, make the new range | |
1211 | varying. | |
1212 | ||
9c24200c KK |
1213 | 2005-10-03 Kaz Kojima <kkojima@gcc.gnu.org> |
1214 | ||
1215 | * config/sh/sh.c (sh_register_move_cost): Add case for moving | |
1216 | from T_REGS to FP register class. | |
1217 | ||
1718a2aa RH |
1218 | 2005-10-03 Richard Henderson <rth@redhat.com> |
1219 | ||
1220 | PR 24135 | |
1221 | * tree-nested.c (convert_nl_goto_reference): Lookup a translation | |
1222 | before creating a new one. | |
1223 | ||
6d48847c DE |
1224 | 2005-10-03 David Edelsohn <edelsohn@gnu.org> |
1225 | ||
1226 | * config/rs6000/t-aix43 (LDFLAGS): New. | |
1227 | * config/rs6000/t-aix52 (LDFLAGS): New. | |
1228 | ||
0b494699 ILT |
1229 | 2005-10-03 Ian Lance Taylor <ian@airs.com> |
1230 | ||
1231 | * gimplify.c (find_single_pointer_decl_1): New static function. | |
1232 | (find_single_pointer_decl): New static function. | |
1233 | (internal_get_tmp_var): For a formal variable, set restrict base | |
1234 | information if appropriate. | |
1235 | * alias.c (find_base_decl): If a VAR_DECL has a restrict base, | |
1236 | return it. | |
1237 | * tree.h (DECL_BASED_ON_RESTRICT_P): Define. | |
1238 | (DECL_GET_RESTRICT_BASE): Define. | |
1239 | (SET_DECL_RESTRICT_BASE): Define. | |
1240 | (decl_restrict_base_lookup): Declare. | |
1241 | (decl_restrict_base_insert): Declare. | |
1242 | (struct tree_decl_with_vis): Add based_on_restrict_p field. | |
1243 | * tree.c (restrict_base_for_decl): New static variable. | |
1244 | (init_ttree): Initialize restrict_base_for_decl. | |
1245 | (copy_node_stat): Copy restrict base information. | |
1246 | (decl_restrict_base_lookup): New function. | |
1247 | (decl_restrict_base_insert): New function. | |
1248 | (print_restrict_base_statistics): New static function. | |
1249 | (dump_tree_statistics): Call print_restrict_base_statistics. | |
1250 | ||
b19bb8b0 DN |
1251 | 2005-10-02 Diego Novillo <dnovillo@redhat.com> |
1252 | ||
1253 | PR 24142 | |
1254 | * tree-vrp.c (vrp_meet): Fix call to range_includes_zero_p in | |
1255 | case of anti-ranges. | |
1256 | ||
f13c9b2c AP |
1257 | 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu> |
1258 | ||
1259 | PR c/18851 | |
1260 | * c-typeck.c (tagged_tu_seen): Rename to ... | |
1261 | (tagged_tu_seen_cache): this and add val field. | |
1262 | (comptypes): Move functional to comptypes_internal | |
1263 | and free tagged_tu_seen. | |
1264 | (comptypes_internal): New function and call comptypes_internal | |
1265 | instead of comptypes. Speed up by sibcalling | |
1266 | tagged_types_tu_compatible_p. | |
1267 | (alloc_tagged_tu_seen): New function | |
1268 | (free_all_tagged_tu_seen_up_to): New function. | |
1269 | (tagged_types_tu_compatible_p): Return the val of the seen two | |
1270 | types. | |
1271 | Add that the two types are the same to tagged_tu_seen_base | |
1272 | if they are and call comptypes_internal instead of comptypes. | |
1273 | <case UNION_TYPE>: Speed up common type where the fields are | |
1274 | in the same order. | |
1275 | (function_types_compatible_p): Call comptypes_internal instead of | |
1276 | comptypes. | |
1277 | (type_lists_compatible_p): Likewise. | |
1278 | (all functions): s/tagged_tu_seen/tagged_tu_seen_cache/. | |
1279 | ||
aa58883c MK |
1280 | 2005-10-02 Matthias Klose <doko@debian.org> |
1281 | ||
1282 | * doc/invoke.texi: Fix typo and speling error. | |
1283 | ||
746077ff RH |
1284 | 2005-10-01 Richard Henderson <rth@redhat.com> |
1285 | ||
1286 | * tree-stdarg.c (execute_optimize_stdarg): Process PHI nodes too. | |
1287 | ||
e3fe057d MM |
1288 | 2005-10-01 Mark Mitchell <mark@codesourcery.com> |
1289 | ||
1290 | * config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define | |
1291 | using --start-group and --end-group. | |
1292 | ||
c83033e7 DN |
1293 | 2005-10-01 Diego Novillo <dnovillo@redhat.com> |
1294 | ||
1295 | * tree-vrp.c (value_inside_range, range_includes_zero_p): Add | |
1296 | FIXME note regarding quirky semantics. | |
1297 | ||
e82d7e60 DN |
1298 | 2005-10-01 Diego Novillo <dnovillo@redhat.com> |
1299 | ||
1300 | PR 24141 | |
1301 | * tree-vrp.c (vrp_meet): Clear VR0->EQUIV when building a | |
1302 | non-null range as a last resort. | |
1303 | ||
fde5c44c JM |
1304 | 2005-10-01 James A. Morrison <phython@gcc.gnu.org> |
1305 | Diego Novillo <dnovillo@redhat.com> | |
1306 | ||
1307 | PR 23604 | |
1308 | * tree-vrp.c (extract_range_from_assert): For != | |
1309 | assertions, only build an anti-range if LIMIT is a | |
1310 | single-valued range. | |
1311 | ||
78a5d727 RE |
1312 | 2005-09-30 Richard Earnshaw <richard.earnshaw@arm.com> |
1313 | ||
759915ca | 1314 | * arm.md (movqi): On thumb when optimizing, handle loading from |
78a5d727 RE |
1315 | memory by describing this as taking a subreg of a zero-extended load |
1316 | into an SImode register. | |
1317 | (movhi): Likewise. | |
1318 | ||
3f27846b DJ |
1319 | 2005-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1320 | ||
1321 | * reload1.c (merge_assigned_reloads): Do not change any | |
1322 | RELOAD_FOR_OUTPUT_ADDRESS reloads. | |
1323 | ||
dd7dc250 GK |
1324 | 2005-09-30 Geoffrey Keating <geoffk@apple.com> |
1325 | ||
ed0db39f GK |
1326 | * Makefile.in (LIPO_FOR_TARGET): Define. |
1327 | (STRIP_FOR_TARGET): Define. | |
1328 | ||
f46876f9 GK |
1329 | * config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks |
1330 | before creating new ones. Do symlinks before creating the actual | |
1331 | targets. | |
1332 | ||
dd7dc250 GK |
1333 | * config/t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-lib |
1334 | to work out which multilibs are actually being built. | |
1335 | ||
5116a5d2 KH |
1336 | 2005-09-30 Kazu Hirata <kazu@codesourcery.com> |
1337 | ||
1338 | * tree-vect-transform.c, config/ms1/ms1.md, | |
1339 | config/s390/s390.c, config/v850/v850.md: Fix comment typos. | |
1340 | Follow spelling conventions. | |
1341 | * doc/invoke.texi, doc/md.texi: Fix typos. | |
1342 | ||
5dc2e333 AM |
1343 | 2005-09-30 Andrew Macleod <amacleod@redat.com> |
1344 | ||
1345 | PR tree-optimization/21430 | |
1346 | * tree-ssa-operands.c (set_virtual_use_link): New. Link new virtual | |
1347 | use operands, and set stmt pointer if need be. | |
1348 | (FINALIZE_CORRECT_USE: New. Macro to call appropriate use fixup routine. | |
1349 | tree-ssa-opfinalize.h (FINALIZE_FUNC): Call FINALIZE_CORRECT_USE if | |
1350 | present. | |
1351 | ||
4ecd8dc7 RK |
1352 | 2005-09-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1353 | ||
1354 | PR middle-end/24053 | |
1355 | * stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype. | |
1356 | ||
93b47b19 MM |
1357 | 2005-09-29 Mark Mitchell <mark@codesourcery.com> |
1358 | ||
1359 | * optabs.c (expand_binop): Initialize first_pass_p. | |
1360 | ||
df4b9cfe JJ |
1361 | 2005-09-29 Jakub Jelinek <jakub@redhat.com> |
1362 | ||
1363 | PR middle-end/24109 | |
1364 | * c-decl.c (c_write_global_declarations_1): If any | |
1365 | wrapup_global_declaration_2 call returned true, restart the loop. | |
1366 | ||
8d2c775f | 1367 | 2005-09-29 Daniel Berlin <dberlin@dberlin.org> |
759915ca | 1368 | |
8d2c775f DB |
1369 | Fix PR tree-optimization/24117 |
1370 | * tree-ssa-structalias.c (find_func_aliases): Strip nops | |
1371 | before considering whether to use anyoffset. | |
1372 | ||
be1ea09b PB |
1373 | 2005-09-29 Paolo Bonzini <bonzini@gnu.org> |
1374 | ||
1375 | Revert this patch: | |
1376 | ||
1377 | 2005-09-15 Paolo Bonzini <bonzini@gnu.org> | |
1378 | ||
1379 | * optabs.c (expand_binop): Use swap_commutative_operands_with_target | |
1380 | to order operands. | |
1381 | (swap_commutative_operands_with_target): New. | |
1382 | ||
02eb875f PB |
1383 | 2005-09-29 Paolo Bonzini <bonzini@gnu.org> |
1384 | ||
1385 | PR c/21419 | |
1386 | * gimplify.c (gimplify_asm_expr): Raise an error if an output is | |
1387 | read-only. | |
1388 | ||
1ebd8d9a SB |
1389 | 2005-09-29 Steven Bosscher <stevenb@suse.de> |
1390 | ||
1391 | PR tree-optimization/23911 | |
1392 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle REALPART_EXPR | |
1393 | and IMAGPART_EXPR too. | |
1394 | ||
0f8594ee MM |
1395 | 2005-09-28 Mark Mitchell <mark@codesourcery.com> |
1396 | ||
1397 | PR 17886 | |
1398 | * expmed.c (expand_shift): Move logic to reverse rotation | |
1399 | direction when rotating by constants ... | |
1400 | * optabs.c (expand_binop): ... here. | |
1401 | * config/i386/i386.md (rotrdi3): Handle 32-bit mode. | |
1402 | (ix86_rotrdi3): New pattern. | |
1403 | (rotldi3): Handle 32-bit mode. | |
1404 | (ix86_rotldi3): New pattern. | |
1405 | ||
c22e62a6 AM |
1406 | 2005-09-29 Alan Modra <amodra@bigpond.net.au> |
1407 | ||
1408 | PR target/24102 | |
1409 | * config/rs6000/rs6000.md (floatdisf2_internal2): Correct range | |
1410 | check for numbers that need no bit twiddle. | |
1411 | ||
040b1c5a GK |
1412 | 2005-09-28 Geoffrey Keating <geoffk@apple.com> |
1413 | ||
23ed2384 GK |
1414 | * config/rs6000/t-darwin8: Uncomment contents, allow -m64 |
1415 | multilib to be built. | |
1416 | ||
040b1c5a GK |
1417 | * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET. |
1418 | (stage1-start): Delete old libgcc and libunwind before moving | |
1419 | anything into the stage directory. | |
1420 | (stage2-start): Likewise. | |
1421 | (stage3-start): Likewise. | |
1422 | (stage4-start): Likewise. | |
1423 | (stageprofile-start): Likewise. | |
1424 | (stagefeedback-start): Likewise. | |
1425 | * config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h | |
1426 | header in tm_file and CPU-specific t-darwin in tmake_file. | |
1427 | (i[34567]86-*-darwin*): Don't change tm_file. | |
1428 | (powerpc-*-darwin*): Don't change tm_file or tmake_file. | |
1429 | * config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc | |
1430 | shared library stub for target OS version. | |
1431 | * config/t-slibgcc-darwin (SHLIB_SOLINK): Delete. | |
1432 | (SHLIB_LINK): Don't make SHLIB_SOLINK. | |
1433 | (SHLIB_INSTALL): Don't install SHLIB_SOLINK. | |
1434 | (libgcc_s.%.dylib): New. | |
1435 | (LIBGCC): Define. | |
1436 | (install-darwin-libgcc-stubs): New. | |
1437 | (INSTALL_LIBGCC): New append. | |
1438 | * config/i386/darwin-libgcc.10.4.ver: New. | |
1439 | * config/i386/darwin-libgcc.10.5.ver: New. | |
1440 | * config/i386/t-darwin: New. | |
1441 | * config/rs6000/darwin-libgcc.10.4.ver: New. | |
1442 | * config/rs6000/darwin-libgcc.10.5.ver: New. | |
1443 | * config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete. | |
1444 | * config/rs6000/t-darwin (SHLIB_VERPFX): Define. | |
1445 | ||
107bcc11 PB |
1446 | 2005-09-28 Paul Brook <paul@codesourcery.com> |
1447 | ||
1448 | * config/m68k/fpgnulib.c (__extendsfdf2, __truncdfsf2): Handle | |
1449 | denormals. | |
1450 | ||
9b14a362 RG |
1451 | 2005-09-28 Richard Guenther <rguenther@suse.de> |
1452 | ||
1453 | PR tree-optimization/23853 | |
1454 | * tree-vect-analyze.c (vect_compute_data_ref_alignment): Use | |
1455 | host_integerp to verify misalignment value. | |
1456 | ||
02ee605c RH |
1457 | 2005-09-28 Richard Henderson <rth@redhat.com> |
1458 | ||
1459 | * builtins.c (get_builtin_sync_mode): New. | |
1460 | (expand_builtin_sync_operation): Pass in mode argument. | |
1461 | (expand_builtin_compare_and_swap): Likewise. | |
1462 | (expand_builtin_lock_test_and_set): Likewise. | |
1463 | (expand_builtin_lock_release): Likewise. | |
1464 | (expand_builtin): Update to match. | |
1465 | ||
1b0792dd NC |
1466 | 2005-09-28 Nick Clifton <nickc@redhat.com> |
1467 | ||
7d866c52 NC |
1468 | * config/v850/v850.h (GO_IF_LEGITIMATE_ADDRESS): Tidy up |
1469 | formatting. Add check to PLUS case to ensure that the offset is | |
1470 | within an acceptable range. | |
1471 | ||
1472 | * config/v850/v850.md (casesi): Disable the generation of the | |
1473 | switch pattern as it is not being handled properly at the moment. | |
1474 | ||
1b0792dd NC |
1475 | * config/v850/lib1funcs.asm (___ucmpdi2): Correct jump instruction |
1476 | for when the high words are identical. | |
1477 | ||
241de8a0 RH |
1478 | 2005-09-27 Richard Henderson <rth@redhat.com> |
1479 | ||
1480 | * pretty-print.c (pp_base_format): Fix typo for %>. | |
1481 | ||
93954fcc DP |
1482 | 2005-09-27 Daniel Berlin <dberlin@dberlin.org> |
1483 | Devang Patel <dpatel@apple.com> | |
1484 | ||
1485 | PR tree-optimization/23625 | |
1486 | * tree-flow-inline.h (bsi_after_labels): Remove, first statement is | |
1487 | LABEL_EXPR, assertion check. | |
759915ca | 1488 | |
ca7a5aec R |
1489 | 2005-09-27 J"orn Rennecke <joern.rennecke@st.com> |
1490 | ||
1491 | * optabs.c (no_conflict_move_test): Check if a result of a | |
1492 | to-be-moved insn would be clobbered by an originally | |
1493 | preceding insn. | |
1494 | ||
f20731b7 JL |
1495 | 2005-09-27 Jeff Law <law@redhat.com> |
1496 | ||
1497 | * passes.c (init_optimization_passes): Replace copy propagation | |
1498 | passes immediately after DOM with phi-only copy propagation | |
1499 | pases. Add phi-only copy propagation pass after first DOM pass. | |
1500 | * tree-pass.h (pass_phi_only_copy_prop): Declare. | |
1501 | * tree-ssa-copy.c (init_copy_prop): Accept new PHI_ONLY argument. | |
1502 | If true, then mark all non-control statements with DONT_SIMULATE_AGAIN. | |
1503 | (execute_copy_prop): Accept new PHI_ONLY argument. Pass it along | |
1504 | to init_copy_prop. Callers updated. | |
1505 | (do_phi_only_copy_prop): New function. | |
1506 | (pass_phi_only_copy_prop): New pass descriptor. | |
1507 | ||
3542b7cc NC |
1508 | 2005-09-27 Nick Clifton <nickc@redhat.com> |
1509 | ||
1510 | * libgcc2.c (__popcount_tab): Remove redundant prototype. | |
1511 | ||
4381020e JM |
1512 | 2005-09-26 Jason Merrill <jason@redhat.com> |
1513 | ||
86ad3aa9 JM |
1514 | PR c++/13764 |
1515 | * c-common.c (finish_fname_decls): Use append_to_statement_list_force. | |
1516 | ||
4381020e JM |
1517 | * doc/invoke.texi: Clarify documentation of -fno-enforce-eh-specs. |
1518 | ||
92b4f0af JW |
1519 | 2005-09-26 James E Wilson <wilson@specifix.com> |
1520 | ||
1521 | * config/ia64/crtbegin.asm, config/ia64/crtend.asm: Remove glibc | |
1522 | copyright. Add gcc copyright plus libgcc exception. | |
1523 | * config/ia64/crtfastmath.asm: Remove glibc copyright. Add gcc | |
1524 | copyright. | |
1525 | * config/ia64/lib1funcs.asm: Add gcc copyright plus libgcc exception. | |
1526 | ||
608af77d JL |
1527 | 2005-09-26 Jeff Law <law@redhat.com> |
1528 | ||
1529 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective | |
1530 | about when to iterate. | |
1531 | ||
0f086e42 FJ |
1532 | 2005-09-23 Fariborz Jahanian <fjahanian@apple.com> |
1533 | ||
1534 | PR target/23847 | |
a9f7c570 RH |
1535 | * config/rs6000/rs6000.c (rs6000_function_value): Parallel pattern |
1536 | for __complex__ double in -mcpu=G5 mode. | |
0f086e42 | 1537 | |
c59dabbe SP |
1538 | 2005-09-26 Sebastian Pop <pop@cri.ensmp.fr> |
1539 | ||
1540 | PR tree-optimization/23942 | |
1541 | * Makefile.in (SCEV_H): Depends on PARAMS_H. | |
1542 | * tree-scalar-evolution.c: Include params.h. | |
1543 | (t_bool): New enum. | |
1544 | (follow_ssa_edge, follow_ssa_edge_in_rhs, | |
1545 | follow_ssa_edge_in_condition_phi_branch, | |
759915ca | 1546 | follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi): |
c59dabbe | 1547 | Change return type to t_bool. Use a parameter to limit the size of |
759915ca | 1548 | trees that are walked before stopping |
c59dabbe | 1549 | (analyze_evolution_in_loop): Initialize the limit to 0. |
759915ca | 1550 | (follow_ssa_edge): Give up by returning t_dont_know if the limit |
c59dabbe SP |
1551 | exceeds PARAM_SCEV_MAX_EXPR_SIZE. |
1552 | ||
3242fbd8 UB |
1553 | 2005-09-26 Uros Bizjak <uros@kss-loka.si> |
1554 | ||
1555 | PR middle-end/23831 | |
1556 | * simplify-rtx.c (simplify_immed_subreg) [MODE_INT]: Skip | |
1557 | simplification if elem_bitsize > 2 * HOST_BITS_PER_WIDE_INT. | |
1558 | ||
b166bfd2 FJ |
1559 | 2005-09-26 Fariborz Jahanian <fjahanian@apple.com> |
1560 | ||
a9f7c570 | 1561 | * combine.c (make_extraction): Check for valid use of subreg. |
b166bfd2 | 1562 | |
4d06b0a2 UB |
1563 | 2005-09-26 Uros Bizjak <uros@kss-loka.si> |
1564 | ||
1565 | PR target/24055 | |
1566 | * config/i386/i386.md ("*fistdi2_1"): New pattern. | |
1567 | ("*fist<mode>2_1"): Use only HImode and SImode register operands. | |
1568 | ("fist<mode>2_with_temp"): Use only register operands. | |
1569 | ||
76dd5923 R |
1570 | 2005-09-26 J"orn Rennecke <joern.rennecke@st.com> |
1571 | ||
1572 | * rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in | |
1573 | CALL_INSN_FUNCTION_USAGE. | |
1574 | ||
9727e468 RG |
1575 | 2005-09-26 Richard Guenther <rguenther@suse.de> |
1576 | ||
1577 | PR middle-end/15855 | |
1578 | * gcse.c: Include hashtab.h, define ldst entry hashtable. | |
1579 | (pre_ldst_expr_hash, pre_ldst_expr_eq): New functions. | |
1580 | (ldst_entry): Use the hashtable instead of list-walking. | |
1581 | (find_rtx_in_ldst): Likewise. | |
1582 | (free_ldst_entry): Free the hashtable. | |
1583 | (compute_ld_motion_mems): Create the hashtable. | |
1584 | (trim_ld_motion_mems): Remove entry from hashtable if | |
1585 | removing it from list. | |
1586 | (compute_store_table): Likewise^2. | |
1587 | (store_motion): Free hashtable in case we did not see | |
1588 | any stores. | |
1589 | ||
3f1dfb41 KH |
1590 | 2005-09-25 Kazu Hirata <kazu@codesourcery.com> |
1591 | ||
1592 | * fold-const.c (fold_binary): Use op0 and op1 instead of arg0 | |
1593 | and arg1 if we are passing them to fold_build2. | |
1594 | ||
ad90e28f DN |
1595 | 2005-09-25 Dan Nicolaescu <dann@ics.uci.edu> |
1596 | ||
1597 | PR 23828 | |
1598 | * config/i386/i386.c (ix86_function_regparm): Fix the test for | |
1599 | a nested function. | |
1600 | ||
f6326c19 RH |
1601 | 2005-09-25 Richard Henderson <rth@redhat.com> |
1602 | ||
1603 | * config/alpha/alpha.c (tls_symbolic_operand_1): Trust | |
1604 | SYMBOL_REF_TLS_MODEL to be correct. | |
1605 | ||
2eca7d15 RH |
1606 | 2005-09-24 Richard Henderson <rth@redhat.com> |
1607 | ||
1608 | * ipa-type-escape.c (discover_unique_type): Remove dead code at | |
1609 | end of function. Reindent. | |
1610 | ||
1f6f3d15 ILT |
1611 | 2005-09-24 Ian Lance Taylor <ian@airs.com> |
1612 | ||
1613 | * convert.c (convert_to_integer): Don't test for ENUMERAL_TYPE in | |
1614 | NEGATE_EXPR/BIT_NOT_EXPR case. | |
1615 | ||
99db1ef0 RH |
1616 | 2005-09-24 Richard Henderson <rth@redhat.com> |
1617 | ||
1618 | * c-common.c (handle_mode_attribute): When not modifying in place, | |
1619 | create subtypes for enumerations. | |
1620 | (sync_resolve_return): Use TYPE_MAIN_VARIANT. | |
1621 | * gimplify.c (create_tmp_from_val): Likewise. | |
1622 | ||
e347ff9e AO |
1623 | 2005-09-24 Alexandre Oliva <aoliva@redhat.com> |
1624 | ||
1625 | * config/i386/i386.md (*tls_global_dynamic_64, | |
1626 | *tls_local_dynamic_base_64): Add missing mode to call. | |
1627 | (tls_global_dynamic_64, tls_local_dynamic_base_64): Likewise. | |
1628 | ||
06191a23 JH |
1629 | 2005-09-24 Jan Hubicka <jh@suse.cz> |
1630 | ||
1631 | * cgraph.c (cgraph_clone_edge): Make the scale gcov_type. | |
1632 | (cgraph_clone_node): Likewise. | |
1633 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
1634 | (cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Remove | |
1635 | duplicated prototypes; add updating argument. | |
1636 | * cgraphunit.c (verify_cgraph_node): Verify that counts are non-negative. | |
1637 | * ipa-inline.c (cgraph_clone_inlined_nodes): Allow clonning without | |
1638 | updating profile. | |
1639 | (cgraph_mark_inline_edge): Likewise. | |
1640 | (cgraph_mark_inline): Update use of cgraph_mark_inline_edge. | |
1641 | (cgraph_flatten_node): Likewise. | |
1642 | (cgraph_decide_recursive_inlining): Likewise. | |
1643 | (cgraph_decide_inlining_of_small_function): Likewise. | |
1644 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
1645 | ||
9c6fdb46 DE |
1646 | 2005-09-23 David Edelsohn <edelsohn@gnu.org> |
1647 | Pete Steinmetz <steinmtz@us.ibm.com> | |
1648 | ||
1649 | * config/rs6000/rs6000.md (neg-minus-mult): Set type to dmul. | |
1650 | (rldic.): Set type to "compare". | |
1651 | (rldicr.): Same. | |
1652 | (movsf_hardfloat): Set type to mtjmpr for MTCTR/MTLR. Set type to | |
1653 | mfjmpr for MFCTR/MFLR. | |
1654 | (movdf_hardfloat64): Same. | |
1655 | (movdf_softfloat64): Same. Correct order of store and move types. | |
1656 | (movti_string): Set type to store_ux/load_ux. | |
1657 | (load_multiple): Set type to load_ux. | |
1658 | (store_multiple): Set type to store_ux. | |
1659 | (movmemsi): Set type to store_ux. | |
1660 | (output_cbranch direct_return): Set type to jmpreg. | |
1661 | (stmw): Set type to store_ux. | |
1662 | (lmw): Set type to load_ux. | |
1663 | * config/rs6000/40x.md (ppc403-store): Increase latency to 2. | |
1664 | * config/rs6000/440.md (ppc440-store): Increase latency to 6. | |
1665 | * config/rs6000/603.md (ppc603-store): Occupy LSU for 2 cycles. | |
1666 | * config/rs6000/6xx.md (ppc604-store): Increase latency to 3. | |
1667 | * config/rs6000/mpc.md (mpccore-store): Increase latency to 2. | |
1668 | * config/rs6000/rios1.md (rios1-store): Increase latency to 2. | |
1669 | (rios1-fpstore): Increase latency to 3. | |
1670 | * config/rs6000/rios2.md (rios2-store): Increase latency to 2. | |
1671 | * config/rs6000/rs64.md (rs64a-store): Increase latency to 2. | |
1672 | ||
66684b7e DE |
1673 | 2005-09-23 David Edelsohn <edelsohn@gnu.org> |
1674 | Andrew Pinski <pinskia@physics.uc.edu> | |
1675 | ||
1676 | * config/rs6000/sync.md (sync_<fetchop_name>si_internal): Change | |
1677 | operand2 constraint to "b". | |
1678 | (sync_<fetchop_name>di_internal): Same. | |
1679 | (sync_old_<fetchop_name>si_internal): Change operand3 constraint | |
1680 | to "b". | |
1681 | (sync_old_<fetchop_name>di_internal): Same. | |
1682 | (sync_new_<fetchop_name>si_internal): Same. | |
1683 | (sync_new_<fetchop_name>di_internal): Same. | |
1684 | ||
a9305dcb R |
1685 | 2005-09-23 J"orn Rennecke <joern.rennecke@st.com> |
1686 | ||
3a1680a5 | 1687 | PR middle-end/23991 |
a9305dcb R |
1688 | * final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length |
1689 | case, define as macros. | |
1690 | ||
9617ccfd R |
1691 | PR rtl-optimization/23837 |
1692 | * optabs.c (no_conflict_move_test): Don't set must_stay for a | |
1693 | clobber / clobber match between dest and p->first. | |
1694 | ||
748ebfc7 R |
1695 | * optabs.c (emit_libcall_block): Use no_conflict_move_test. |
1696 | (no_conflict_move_test): Update comments. | |
1697 | ||
07a647a3 RM |
1698 | 2005-09-22 Ranjit Mathew <rmathew@gcc.gnu.org> |
1699 | ||
1700 | * doc/install.texi: Update URL for Jacks. | |
1701 | * doc/sourcebuild.texi: Likewise. | |
1702 | ||
fb3249ef DE |
1703 | 2005-09-22 David Edelsohn <edelsohn@gnu.org> |
1704 | ||
a9f7c570 RH |
1705 | PR target/24007 |
1706 | * config/rs6000/rs6000.md (movsf_hardfloat): Ignore special | |
1707 | registers when choosing register preferences. | |
1708 | (movdf_hardfloat64): Same. | |
fb3249ef | 1709 | |
6231646a AK |
1710 | 2005-09-22 Andreas Krebbel <krebbel1@de.ibm.com> |
1711 | ||
1712 | * expmed.c (expand_shift): Don't use the target of the rotate as | |
1713 | target for the first expanded shift insn. | |
1714 | * testsuite/gcc.dg/20050922-1.c: Testcase added. | |
1715 | ||
7b9d4f70 ZD |
1716 | 2005-09-21 Zdenek Dvorak <dvorakz@suse.cz> |
1717 | ||
1718 | PR tree-optimization/22438 | |
1719 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Handle all | |
1720 | preserved iv rhs rewriting specially. | |
1721 | ||
b1347638 DB |
1722 | 2005-09-21 Daniel Berlin <dberlin@dberlin.org> |
1723 | ||
1724 | * tree-data-ref.c (analyze_array_indexes): Only estimate when | |
1725 | estimate_only is true. | |
1726 | * tree-flow.h (ref_contains_indirect_ref): New prototype. | |
1727 | * tree-flow-inline.h (ref_contains_indirect_ref): Moved from | |
759915ca | 1728 | tree-ssa-structalias.c |
b1347638 DB |
1729 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Use |
1730 | ref_contains_indirect_ref. | |
1731 | * tree-ssa-structalias.c (ref_contains_indirect_ref): Moved. | |
1732 | ||
b1eb8119 DD |
1733 | 2005-09-21 DJ Delorie <dj@redhat.com> |
1734 | ||
1735 | * config/mn10300/mn10300.c (TARGET_DEFAULT_TARGET_FLAGS): Add | |
1736 | MASK_PTR_A0D0. | |
1737 | (mn10300_return_in_memory): Support variable size types also. | |
1738 | (mn10300_pass_by_reference): Likewise. | |
1739 | (mn10300_function_value): New. | |
1740 | * config/mn10300/mn10300.h (FUNCTION_VALUE): Call the above. | |
1741 | (FUNCTION_OUTGOING_VALUE): Likewise. | |
1742 | * config/mn10300/mn10300.opt: Add -mreturn-pointer-on-d0. | |
1743 | * doc/invoke.texi: Document it. | |
1744 | ||
d06e6434 UB |
1745 | 2005-09-21 Uros Bizjak <uros@kss-loka.si> |
1746 | ||
1747 | PR target/22585 | |
1748 | * config/i386/i386.c (ix86_prepare_fp_compare_args): Do not | |
1749 | force integer op1 into register for XFmode compares. | |
1750 | ||
0178027c KH |
1751 | 2005-09-21 Kazu Hirata <kazu@codesourcery.com> |
1752 | ||
647c66cd | 1753 | PR middle-end/23971 |
0178027c KH |
1754 | * expmed.c (alg_code): Add alg_impossible. |
1755 | (alg_hash_entry): Add cost. | |
1756 | (synth_mult): Record alg_impossible in the hash table if | |
1757 | multiplication by a given integer is impossble within the | |
1758 | limit. Speed up using alg_impossible. | |
1759 | ||
d52225be DB |
1760 | 2005-09-20 Daniel Berlin <dberlin@dberlin.org> |
1761 | ||
1762 | * tree-ssa-structalias.c (get_constraint_for_component_ref): Add | |
1763 | argument. Allow and set any offset if needs_anyoffset is passed | |
1764 | in. | |
1765 | (get_constraint_for): Add argument here too. | |
1766 | Pass it down. | |
1767 | (do_structure_copy): Pass NULL to get_constraint_for. | |
1768 | (handle_ptr_arith): Ditto. | |
1769 | (find_func_aliases): Ditto. | |
1770 | ||
070a7956 R |
1771 | 2005-09-20 J"orn Rennecke <joern.rennecke@st.com> |
1772 | ||
1773 | PR rtl-optimization/23898 | |
1774 | * output.h (get_attr_min_length): Declare. | |
1775 | * final.c (get_attr_length_1): New function, broken out of: | |
1776 | (get_attr_length). | |
1777 | (get_attr_min_length): New function. | |
1778 | * bb-reorder.c (copy_bb_p, get_uncond_jump_length): Use it. | |
1779 | (duplicate_computed_gotos): Likewise. | |
1780 | * genattr.c (insn_min_length): Generate declaration. | |
1781 | * genattrtab.c (min_fn, min_attr_value): New functions. | |
1782 | (make_length_attrs): Generate insn_min_length. | |
1783 | ||
9972f30d SE |
1784 | 2005-09-20 Steve Ellcey <sje@cup.hp.com> |
1785 | ||
1786 | * config/pa/pa.c (output_cbranch): Check for zero in operands[2]. | |
1787 | ||
29b2d867 RH |
1788 | 2005-09-20 Richard Henderson <rth@redhat.com> |
1789 | ||
577b2a06 | 1790 | PR tree-optimization/24059 |
29b2d867 RH |
1791 | * expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier |
1792 | EXPAND_STACK_PARM. | |
1793 | ||
af15a2fe JM |
1794 | 2005-09-20 Joseph S. Myers <joseph@codesourcery.com> |
1795 | ||
1796 | * c.opt (fextended-identifiers): New. | |
1797 | * c-opts.c (c_common_handle_option): Handle | |
1798 | -fextended-identifiers. | |
1799 | * doc/cpp.texi: Update documentation of extended identifiers. | |
1800 | * doc/cppopts.texi (-fextended-identifiers): Document. | |
1801 | ||
18c57f2c JJ |
1802 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> |
1803 | ||
6fff2603 JJ |
1804 | PR tree-optimization/23929 |
1805 | * tree-ssa-loop-niter.c (expand_simple_operations): Return immediately | |
1806 | if expr is NULL. | |
1807 | ||
18c57f2c JJ |
1808 | PR tree-optimization/23818 |
1809 | * tree-stdarg.c (execute_optimize_stdarg): Call | |
1810 | calculate_dominance_info. | |
1811 | ||
1c8cd54d | 1812 | 2005-09-20 Daniel Berlin <dberlin@dberlin.org> |
416f403e DB |
1813 | |
1814 | * tree-data-ref.c (get_number_of_iters_for_loop): New function. | |
1815 | (analyze_siv_subscript_cst_affine): Add weak SIV test. | |
1816 | (compute_overlap_steps_for_affine_1_2): Use | |
1817 | get_number_of_iters_for_loop. | |
1818 | (analyze_subscript_affine_affine): Check whether difference is | |
1819 | zero first. | |
1820 | Use get_number_of_iters_for_loop. | |
1821 | Check whether overlap occurs outside of bounds. | |
1822 | (analyze_miv_subscript): Use get_number_of_iters_for_loop. | |
1823 | ||
39278c14 AK |
1824 | 2005-09-20 Andreas Krebbel <krebbel1@de.ibm.com> |
1825 | ||
1826 | * tree-ssa-address.c (create_mem_ref): Put the symbol reference into the | |
1827 | base register if possible. | |
1828 | ||
2282a0e6 ZD |
1829 | 2005-09-20 Zdenek Dvorak <dvorakz@suse.cz> |
1830 | ||
1831 | PR tree-optimization/18463 | |
1832 | * tree-chrec.c (chrec_convert): Return fold_converted chrec if | |
1833 | converting it directly is not possible. | |
1834 | (chrec_convert_aggressive): New function. | |
1835 | * tree-chrec.h (chrec_convert_aggressive): Declare. | |
1836 | * tree-scalar-evolution.c (instantiate_parameters_1, resolve_mixers): | |
1837 | Fold chrec conversions aggressively if asked to. | |
1838 | (instantiate_parameters): Modified because of changes in | |
1839 | instantiate_parameters_1. | |
1840 | ||
e20524fa RH |
1841 | 2005-09-19 Richard Henderson <rth@redhat.com> |
1842 | ||
1843 | * config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf. | |
1844 | (reduc_splus_v2df): New. | |
1845 | ||
20de58d9 RS |
1846 | 2005-09-19 Richard Sandiford <richard@codesourcery.com> |
1847 | ||
1848 | * config/arm/aof.h (REGISTER_NAMES): Add missing backslash. | |
1849 | (ADDITIONAL_REGISTER_NAMES): Add missing comma. Remove final comma. | |
1850 | ||
2a23f9a7 RH |
1851 | 2005-09-19 Richard Henderson <rth@redhat.com> |
1852 | ||
1853 | * config/i386/sse.md (vcondu<SSEMODE124>): Rename from | |
1854 | vcondu<SSEMODE12>. | |
1855 | ||
e898620c RH |
1856 | 2005-09-19 Richard Henderson <rth@redhat.com> |
1857 | ||
1858 | * config/ia64/ia64.c (ia64_expand_widen_sum): New. | |
1859 | (ia64_expand_dot_prod_v8qi): New. | |
1860 | * config/ia64/ia64-protos.h: Update. | |
1861 | * config/ia64/vect.md (pmpy2_r, pmpy2_l, widen_usumv8qi3, | |
1862 | widen_usumv4hi3, widen_ssumv8qi3, widen_ssumv4hi3, udot_prodv8qi, | |
1863 | sdot_prodv8qi, sdot_prodv4hi): New. | |
1864 | (reduc_splus_v2sf): Rename from reduc_plus_v2sf. | |
1865 | ||
d289e37a RH |
1866 | 2005-09-19 Richard Henderson <rth@redhat.com> |
1867 | ||
1868 | PR 23941 | |
1869 | * real.c (exact_real_truncate): Return false if the format cannot | |
1870 | represent the number as a normal. | |
1871 | ||
a220ee34 RH |
1872 | * config/alpha/alpha.c (alpha_rtx_costs) <FLOAT_EXTEND>: Cost 0 |
1873 | for a memory source. | |
1874 | ||
3c7d0735 DN |
1875 | 2005-09-19 Dorit Nuzman <dorit@il.ibm.com> |
1876 | ||
1877 | * tree-ssa-operands.c (swap_tree_operands): Export. | |
1878 | * tree.h (swap_tree_operands): Declare. | |
1879 | * tree-vectorizer.c (vect_is_simple_reduction): Remove ATTRIBUTE_UNUSED. | |
1880 | Call swap_tree_operands. | |
759915ca | 1881 | |
99c09897 RH |
1882 | 2005-09-19 Richard Henderson <rth@redhat.com> |
1883 | ||
1884 | * tree-flow.h (merge_alias_info): Declare. | |
1885 | * tree-ssa-copy.c (merge_alias_info): Export. | |
1886 | * tree-vect-transform.c (vect_create_index_for_vector_ref): Remove. | |
1887 | (vect_create_data_ref_ptr): Use create_iv directly. | |
1888 | (vectorizable_load): Use correct types for integer constants. | |
1889 | (vect_generate_tmps_on_preheader): Likewise. | |
1890 | (vect_gen_niters_for_prolog_loop): Likewise. | |
1891 | ||
31c304ba SB |
1892 | 2005-09-19 Steven Bosscher <stevenb@suse.de> |
1893 | ||
1894 | PR rtl-optimization/23943 | |
1895 | * cse.c (find_best_addr): Never propagate an EXPR_LIST rtx. | |
1896 | ||
e238ccac JH |
1897 | 2005-09-18 Jan Hubicka <jh@suse.cz> |
1898 | ||
1899 | * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK. | |
1900 | ||
f7952e0a EB |
1901 | 2005-09-18 Eric Botcazou <ebotcazou@adacore.com> |
1902 | ||
1903 | * varasm.c (output_constant): Do not abort on conversions to union | |
1904 | types between different sizes. | |
1905 | ||
c2953725 RG |
1906 | 2005-09-18 Richard Guenther <rguenther@suse.de> |
1907 | ||
1908 | PR middle-end/23944 | |
1909 | * gimplify.c (fold_indirect_ref_rhs): Fix thinko in | |
1910 | fallback. | |
1911 | ||
798d7d9d PB |
1912 | 2005-09-18 Paul Brook <paul@codesourcery.com> |
1913 | ||
1914 | * config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow. | |
1915 | ||
b1e8be10 RH |
1916 | 2005-09-17 Richard Henderson <rth@redhat.com> |
1917 | ||
1918 | * tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change. | |
1919 | * tree-ssa-loop.c (pass_vect_dce): Remove. | |
1920 | * passes.c (init_optimization_passes): Add pass_dce as a sub-pass | |
1921 | of pass_vectorize. | |
1922 | ||
8fe07c42 RH |
1923 | 2005-09-17 Richard Henderson <rth@redhat.com> |
1924 | ||
1925 | * tree-pass.h (pass_vect_dce): Declare. | |
1926 | * passes.c (init_optimization_passes): Add it. | |
1927 | * tree-flow.h (tree_ssa_dce): Declare. | |
1928 | * tree-ssa-dce.c (tree_ssa_dce): Export. | |
1929 | * tree-ssa-loop.c (tree_vectorize): Move current_loops check ... | |
1930 | (gate_tree_vectorize): ... here. | |
1931 | (pass_vect_dce): New. | |
1932 | ||
0856ee98 JH |
1933 | 2005-09-17 Jan Hubicka <jh@suse.cz> |
1934 | ||
1935 | * except.c (struct eh_status): Turn region_array into vec. | |
1936 | (expand_resx_expr, collect_eh_region_array, remove_unreachable_regions, | |
759915ca EC |
1937 | convert_from_eh_region_ranges, find_exception_handler_labels, |
1938 | current_function_has_exception_handlers, assign_filter_values, | |
0856ee98 JH |
1939 | build_post_landing_pads, dw2_build_landing_pads, |
1940 | sjlj_find_directly_reachable_regions, sjlj_mark_call_sites, | |
1941 | sjlj_emit_dispatch_table, remove_eh_handler, for_each_eh_region, | |
1942 | foreach_reachable_handler, can_throw_internal_1, | |
1943 | convert_to_eh_region_ranges, verify_eh_tree): Update uses of | |
1944 | region_array. | |
1945 | (duplicate_eh_region_1): Update region_array. | |
1946 | (duplicate_eh_regions): Resize region_array and avoid recomputing. | |
1947 | ||
53c4ca47 DE |
1948 | 2005-09-17 David Edelsohn <edelsohn@gnu.org> |
1949 | ||
1950 | PR middle-end/22067 | |
1951 | * expmed.c (expand_mult): Substitute simple register for op0 when | |
1952 | computing max_cost. | |
1953 | ||
652b0932 RH |
1954 | 2005-09-17 Richard Henderson <rth@redhat.com> |
1955 | ||
1956 | * expr.c (emit_move_via_integer): Add force argument, pass it on | |
1957 | to emit_move_change_mode. Update callers. | |
1958 | (emit_move_complex): Pass true to new force argument. | |
1959 | * function.c (expand_function_end): Move expand_eh_return call | |
1960 | earlier. Merge sub-word complex values into a pseudo before | |
1961 | copying to the return hard register. | |
1962 | ||
69fcfd68 EB |
1963 | 2005-09-17 Eric Botcazou <ebotcazou@adacore.com> |
1964 | ||
1965 | * varasm.c (output_constant): Do not abort on VIEW_CONVERT_EXPRs | |
1966 | between different sizes. | |
1967 | ||
6a4e4778 PB |
1968 | 2005-09-16 Paolo Bonzini <bonzini@gnu.org> |
1969 | ||
1970 | PR 23903 | |
1971 | ||
1972 | * passes.c (init_optimization_passes): Register dump files for | |
1973 | IPA passes first. | |
1974 | ||
bcf8c1cc AK |
1975 | 2005-09-16 Andreas Krebbel <krebbel1@de.ibm.com> |
1976 | ||
1977 | * config/s390/s390-protos.h (s390_overlap_p): Prototype added. | |
1978 | * config/s390/s390.c (s390_overlap_p): New function. | |
1979 | * config/s390/s390.md ("*mvc" peephole2, "*nc" peephole2, "*oc" | |
1980 | peephole2, "*xc" peephole2): Added overlap check to the peephole2 | |
1981 | condition. | |
1982 | ||
f7acf1c2 RG |
1983 | 2005-09-16 Richard Guenther <rguenther@suse.de> |
1984 | ||
1985 | * ipa-pure-const.c (static_execute): Free auxiliar information. | |
1986 | * ipa-type-escape.c (discover_unique_type): Free temporary key. | |
1987 | * tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap. | |
1988 | ||
f5ea2dca DD |
1989 | 2005-09-15 DJ Delorie <dj@redhat.com> |
1990 | ||
1991 | * config/m32c/m32c-lib1.S (__m32c_eh_return): Fix typo. | |
1992 | ||
9026e8d4 PB |
1993 | 2005-09-15 Paolo Bonzini <bonzini@gnu.org> |
1994 | ||
1995 | * optabs.c (expand_binop): Use swap_commutative_operands_with_target | |
1996 | to order operands. | |
1997 | (swap_commutative_operands_with_target): New. | |
1998 | ||
14b33c04 DB |
1999 | 2005-09-15 Daniel Berlin <dberlin@dberlin.org> |
2000 | ||
2001 | * tree-data-ref.c (analyze_array_indexes): Add estimate_only | |
2002 | parameter. | |
2003 | Update callers. | |
2004 | (estimate_iters_using_array): New function. | |
2005 | * tree-data-ref.h (estimate_iters_using_array): Prototype | |
2006 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): | |
2007 | Use estimate_iters_using_array instead of analyze_array. | |
759915ca | 2008 | |
d430cbe7 EB |
2009 | 2005-09-15 Eric Botcazou <ebotcazou@adacore.com> |
2010 | ||
2011 | * tree-nested.c (get_frame_type): Mark the "non-local frame structure" | |
2012 | as addressable. | |
2013 | ||
fca59ed2 MM |
2014 | 2005-09-15 Michael Matz <matz@suse.de> |
2015 | ||
2016 | * tree-vrp.c (vrp_int_const_binop <MINUS_EXPR>): Handle 0 - -INF. | |
2017 | ||
fd312e90 DB |
2018 | 2005-09-14 Daniel Berlin <dberlin@dberlin.org> |
2019 | ||
2020 | PR tree-optimization/23835 | |
2021 | * tree-ssa-alias.c (sort_pointers_by_pt_vars): New function. | |
2022 | (create_name_tags): Rewrite to be not O(num_ssa_names^2). | |
2023 | ||
47b71abb RH |
2024 | 2005-09-14 Richard Henderson <rth@redhat.com> |
2025 | ||
2026 | * config/ia64/vect.md (addv2sf3, subv2sf3): Rewrite as expand. | |
2027 | (addv2sf3_1, addv2sf3_2, subv2sf3_1, subv2sf3_2): New. | |
2028 | ||
5139c66b AP |
2029 | 2005-09-14 Andrew Pinski <pinskia@physics.uc.edu> |
2030 | ||
2031 | * config/i386/i386.c (contains_128bit_aligned_vector_p): Add break | |
2032 | in the ARRAY_TYPE case. | |
2033 | ||
7ad00e13 EB |
2034 | 2005-09-14 Eric Botcazou <ebotcazou@adacore.com> |
2035 | ||
2036 | * tree.c (substitute_in_expr, case 4): New case, for ARRAY_REF. | |
2037 | ||
b2d16a23 UB |
2038 | 2005-09-14 Uros Bizjak <uros@kss-loka.si> |
2039 | ||
2040 | PR middle-end/22480 | |
2041 | * tree-vect-transform.c (vectorizable_operation): Return false for | |
2042 | scalar shift operations and for vector shift operations with | |
2043 | non-invariant shift arguments. Use scalar tree operand op1 as | |
2044 | a shift operand when vector shift insn pattern uses scalar shift | |
2045 | operand. | |
2046 | * Makefile.in (tree-vect-transform.o): Depend on recog.h. | |
2047 | ||
816fa80a OH |
2048 | 2005-09-14 Olivier Hainque <hainque@adacore.com> |
2049 | ||
2050 | * gimplify.c (gimplify_init_ctor_eval): Don't discard a zero-sized | |
2051 | value if it has side-effects. | |
2052 | ||
c9692532 DE |
2053 | 2005-09-14 David Edelsohn <edelsohn@gnu.org> |
2054 | ||
2055 | PR target/22068 | |
2056 | * config/rs6000/rs6000.md (muldi3): Add mulli alternative. | |
2057 | ||
00754468 AM |
2058 | 2005-09-14 Alan Modra <amodra@bigpond.net.au> |
2059 | ||
2060 | * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Treat function name | |
2061 | passed as NAME as if it were label at start of function code. | |
2062 | ||
18943792 KK |
2063 | 2005-09-13 Kaz Kojima <kkojima@gcc.gnu.org> |
2064 | ||
2065 | * config/sh/sh.md (*movv4sf_i): Add general register cases to | |
2066 | the constraints. | |
2067 | ||
af8e8908 AP |
2068 | 2005-09-13 Andrew Pinski <pinskia@physics.uc.edu> |
2069 | ||
2070 | * config/rs6000/darwin.md (movdf_low_si): Mark the outgoing r constraint | |
2071 | as early clobber. Rewrite so the PIC register is not implicitly used. | |
2072 | ||
282c3fdc VR |
2073 | 2005-09-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2074 | ||
2075 | * tree.c (annotate_with_file_line): Compare line numbers before | |
2076 | file names. | |
2077 | ||
79e72538 UB |
2078 | 2005-09-13 Uros Bizjak <uros@kss-loka.si> |
2079 | ||
2080 | PR target/23816 | |
2081 | * config/i386/sse.md (*ieee_sminv4sf3, *ieee_smaxv4sf3) | |
2082 | (*ieee_sminv2df3, *ieee_smaxv2df3): New insn patterns. | |
2083 | ||
1984d2e8 ILT |
2084 | 2005-09-13 Ian Lance Taylor <ian@airs.com> |
2085 | ||
2086 | * loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather | |
2087 | than a HOST_WIDEST_INT to gen_doloop_begin. | |
2088 | ||
5681f1ab DN |
2089 | 2005-09-13 Diego Novillo <dnovillo@redhat.com> |
2090 | ||
2091 | * tree-dfa.c (dump_variable): Guard against NULL annotations. | |
2092 | ||
d7f0e25c ZD |
2093 | 2005-09-13 Zdenek Dvorak <dvorakz@suse.cz> |
2094 | ||
2095 | PR tree-optimize/23817 | |
2096 | * tree-cfg.c (tree_merge_blocks): Preserve loop closed ssa. | |
2097 | ||
2eef28ec AM |
2098 | 2005-09-13 Alan Modra <amodra@bigpond.net.au> |
2099 | ||
2100 | PR target/23774 | |
2101 | * config/rs6000/rs6000.md (restore_stack_block): Write the backchain | |
2102 | word before changing the stack pointer. Use gen_frame_mem for MEMs. | |
2103 | Use UNSPEC_TIE to prevent insn scheduling reordering the insns. | |
2104 | (restore_stack_nonlocal): Likewise. | |
2105 | (save_stack_nonlocal): Use template to emit insns, and gen_frame_mem. | |
2106 | ||
d63d5d0c ILT |
2107 | 2005-09-12 Ian Lance Taylor <ian@airs.com> |
2108 | ||
2109 | PR g++/7874 | |
2110 | * c.opt (ffriend-injection): New C++ option. | |
2111 | * doc/invoke.texi (Option Summary): Mention -ffriend-injection. | |
2112 | (C++ Dialect Options): Document -ffriend-injection. | |
2113 | ||
d840283a JC |
2114 | 2005-09-12 Josh Conner <jconner@apple.com> |
2115 | ||
2116 | PR middle-end/23237 | |
2117 | * ipa-reference.c (static_execute): Don't mark variables in | |
2118 | named sections TREE_READONLY. | |
2119 | ||
309ebcd0 AM |
2120 | 2005-09-12 Alan Modra <amodra@bigpond.net.au> |
2121 | ||
2122 | * config/rs6000/rs6000.c (get_next_active_insn): Simplify test for | |
2123 | stack_tie. | |
2124 | ||
8d099498 AP |
2125 | 2005-09-12 Andrew Pinski <pinskia@physics.uc.edu> |
2126 | ||
759915ca | 2127 | * tree-ssa-dse.c (dse_optimize_stmt): Fix up all of V_MAY_DEF and |
8d099498 | 2128 | V_MUST_DEF instead of just the first_use_p. |
759915ca | 2129 | Don't mark the virtual variables for renaming on the statement which |
8d099498 AP |
2130 | is being removed. |
2131 | (pass_dse): Remove TODO_update_ssa. | |
2132 | ||
cd41bae5 R |
2133 | 2005-09-12 J"orn Rennecke <joern.rennecke@st.com> |
2134 | ||
f439f9a5 R |
2135 | PR middle-end/23290 |
2136 | * stor-layout.c (compute_record_mode): For records with a single | |
2137 | field, actually check the field's mode size against the type size. | |
2138 | ||
cd41bae5 R |
2139 | * sh.h (HARD_REGNO_MODE_OK): Allow V4SFmode in general purpose |
2140 | registers for TARGET_SHMEDIA. | |
2141 | (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Rename | |
2142 | GENERAL_FP_REGS to GENERAL_DF_REGS. Add GENERAL_FP_REGS as union | |
2143 | of GENERAL_REGS and FP_REGS. | |
2144 | ||
b99791d1 BS |
2145 | 2005-09-12 Bernd Schmidt <bernd.schmidt@analog.com> |
2146 | ||
309ebcd0 | 2147 | * config/bfin/bfin.c (legimitize_pic_address): Use gen_const_mem. |
b99791d1 | 2148 | |
f489aff8 AM |
2149 | 2005-09-12 Alan Modra <amodra@bigpond.net.au> |
2150 | ||
2151 | * config/rs6000/rs6000.c (get_next_active_insn): Rewrite using | |
2152 | CALL_P, JUMP_P and NONJUMP_INSN_P, so that barriers and labels | |
2153 | are omitted. Exclude stack_tie insn too. | |
2154 | ||
8308679f DE |
2155 | 2005-09-11 David Edelsohn <edelsohn@gnu.org> |
2156 | ||
2157 | PR rtl-optimization/23098 | |
2158 | * config/rs6000/predicates.md (easy_fp_constant): SFmode constant | |
2159 | 0.0f is easy. | |
2160 | * config/rs6000/rs6000.md (movdf splitter): Use | |
2161 | const_double_operand predicate for TARGET_POWERPC64. | |
2162 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Expand | |
2163 | SYMBOL_REF method to ABI_V4. | |
2164 | ||
2165 | * config/rs6000/altivec.md (build_vector_mask_for_load): Use | |
2166 | replace_equiv_address. | |
2167 | * config/rs6000/rs6000.c (rs6000_emit_eh_reg_restore): Mark MEM as | |
2168 | rs6000_sr_alias_set and MEM_NOTRAP. | |
2169 | (rs6000_aix_emit_builtin_unwind_init): Use gen_frame_mem(). | |
2170 | ||
4c223d6a EB |
2171 | 2005-09-11 Eric Botcazou <ebotcazou@adacore.com> |
2172 | ||
2173 | * tree.c (contains_placeholder_p) <tcc_expression>: Properly | |
2174 | handle CALL_EXPR again. | |
2175 | ||
2347f5c9 RE |
2176 | 2005-09-11 Richard Earnshaw <richard.earnshaw@arm.com> |
2177 | ||
2178 | * arm/predicates.md (alignable_memory_operand): Delete. | |
2179 | ||
4e0e2698 RH |
2180 | 2005-09-10 Richard Henderson <rth@redhat.com> |
2181 | ||
2182 | PR debug/23806 | |
2183 | * dbxout.c (dbxout_expand_expr): New. | |
2184 | (dbxout_symbol): Use it. | |
2185 | ||
31fa16b6 RE |
2186 | 2005-09-10 Richard Earnshaw <richard.earnshaw@arm.com> |
2187 | ||
2188 | * arm.c (arm_gen_rotated_half_load): Delete. | |
2189 | (vfp_emit_fstmx, arm_set_return_address): Use gen_frame_mem. | |
2190 | (emit_multi_reg_push, emit_sfm, arm_expand_prologue) | |
2191 | (thumb_set_return_address): Likewise. | |
2192 | (thumb_load_double_from_address): Use adjust_address. | |
2193 | * arm.md (splits calling arm_gen_rotated_half_load): Delete. | |
2194 | (extendhsisi2_mem, movhi_bytes): Use change_address. | |
2195 | (movhi): Use widen_memory_access. | |
2196 | (reload_out_df): Use replace_equiv_address. | |
2197 | * arm-protos.h (arm_gen_rotated_half_load): Delete prototype. | |
2198 | ||
9bfa80fb RH |
2199 | 2005-09-09 Richard Henderson <rth@redhat.com> |
2200 | ||
2201 | PR debug/20998 | |
2202 | * dbxout.c: Include expr.h. | |
2203 | (dbxout_global_decl): Don't suppress for DECL_RTL unset. | |
2204 | (dbxout_symbol): Handle DECL_VALUE_EXPR. | |
2205 | * Makefile.in (dbxout.o): Add EXPR_H. | |
2206 | ||
2360a4c1 ZD |
2207 | 2005-09-09 Zdenek Dvorak <dvorakz@suse.cz> |
2208 | ||
2209 | PR tree-optimization/23509 | |
2210 | * tree-cfg.c (replace_uses_by): Use replace_exp. | |
2211 | * tree-ssa-loop-ivopts.c (get_ref_tag): Assert that dereferenced | |
2212 | pointers have name_mem_tag or type_mem_tag set. | |
2213 | ||
7ce7896c SP |
2214 | 2005-09-09 Sebastian Pop <pop@cri.ensmp.fr> |
2215 | ||
759915ca | 2216 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Use |
7ce7896c SP |
2217 | CHREC_LEFT and CHREC_RIGHT for accessing chrec components instead |
2218 | of wrongly accessing operands. | |
2219 | ||
18aed06a SP |
2220 | 2005-09-09 Sebastian Pop <pop@cri.ensmp.fr> |
2221 | ||
2222 | * Makefile.in (tree-chrec.o): Depends on SCEV_H. | |
2223 | * tree-chrec.c: Include tree-scalar-evolution.h. | |
2224 | (chrec_convert): Instantiate the base and step before calling | |
2225 | scev_probably_wraps_p that would fail on parametric evolutions. | |
2226 | Collect all the fails into a single section failed_to_convert, | |
2227 | print a diagnostic, and return chrec_dont_know instead of calling | |
2228 | fold_convert. | |
2229 | * tree-scalar-evolution.c (loop_closed_phi_def): New. | |
2230 | (instantiate_parameters_1): Avoid instantiation of loop closed ssa | |
2231 | phi nodes. | |
2232 | (scev_const_prop): Don't replace the definition of a loop closed ssa | |
2233 | phi node by itself, or by another loop closed ssa phi node. | |
2234 | * tree-ssa-loop-niter.c (scev_probably_wraps_p, convert_step): Check | |
2235 | that base and step are defined. | |
2236 | ||
3dac16bd RG |
2237 | 2005-09-09 Richard Guenther <rguenther@suse.de> |
2238 | ||
2239 | PR c++/23624 | |
2240 | * fold-const.c (fold_ternary): Check truth_value_p before | |
2241 | calling invert_truthvalue. | |
2242 | ||
dcfae47c NC |
2243 | 2005-09-09 Nick Clifton <nickc@redhat.com> |
2244 | ||
2245 | * Makefile.in (LIBGCC_DEPS): Add libgcc2.h. | |
2246 | * libgcc2.c (__clz_tab[], __popcount_tab[]): Set the fixed | |
2247 | dimension of these arrays. | |
2248 | * libgcc2.h (__clz_tab[], __popcount_tab[]): Add exports of | |
2249 | these arrays. | |
2250 | * longlong.h: Only provide a prototype for the __clz_tab[] array | |
2251 | if this header has not been included from libgcc2.h. | |
2252 | * config/stormy16/stormy16-lib2.c: Include libgcc2.h rather than | |
2253 | defining own types. | |
2254 | Provide prototypes for exported functions. | |
2255 | Use the __clz_tab[] and __popcount_tab[] arrays provided by | |
2256 | libgcc2.c. | |
2257 | ||
d047a201 JC |
2258 | 2005-09-08 Josh Conner <jconner@apple.com> |
2259 | ||
70e9e3d6 | 2260 | PR c++/21135 |
d047a201 JC |
2261 | PR c++/23180 |
2262 | * expr.c (expand_expr_addr_expr_1): Don't invoke | |
2263 | expand_simple_binop for EXPAND_INITIALIZER. | |
2264 | ||
db5f8b93 RH |
2265 | 2005-09-08 Richard Henderson <rth@redhat.com> |
2266 | ||
2267 | PR debug/23190 | |
2268 | * toplev.c (wrapup_global_declaration_1): Split out ... | |
2269 | (wrapup_global_declaration_2): ... from ... | |
2270 | (wrapup_global_declarations): ... here. Return bool. | |
2271 | (check_global_declaration_1): Split out ... | |
2272 | (check_global_declarations): from here. | |
2273 | (emit_debug_global_declarations): New. | |
2274 | * toplev.h (wrapup_global_declaration_1, wrapup_global_declaration_2, | |
2275 | check_global_declaration_1, emit_debug_global_declarations): Declare. | |
2276 | * c-decl.c (c_write_global_declarations_1): Don't create a vector | |
2277 | of decls. Call wrapup_global_declaration_1, | |
2278 | wrapup_global_declaration_2, check_global_declaration_1 directly. | |
2279 | (c_write_global_declarations_2): New. | |
2280 | (ext_block): New. | |
2281 | (c_write_global_declarations): Call c_write_global_declarations_2. | |
2282 | * langhooks.c (write_global_declarations): Call | |
2283 | emit_debug_global_declarations. | |
2284 | ||
2285 | * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Don't | |
2286 | remove decls that have DECL_RTL_SET_P. | |
2287 | * passes.c (rest_of_decl_compilation): Invoke | |
2288 | cgraph_varpool_finalize_decl for all but functions. | |
2289 | ||
5c9186ce EB |
2290 | 2005-09-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
2291 | ||
2292 | * tree-vrp.c (extract_range_from_unary_expr): Do not set the range for | |
2293 | the result of a conversion if the new min and max cannot be compared. | |
2294 | ||
dcc9eb26 AK |
2295 | 2005-09-08 Andreas Krebbel <krebbel1@de.ibm.com> |
2296 | ||
2297 | * config/s390/s390.c (s390_sr_alias_set): Variable removed. | |
2298 | (override_options): Setting s390_sr_alias_set removed. | |
2299 | (save_fpr, save_gprs): Set alias set to vararg or frame. | |
759915ca | 2300 | (restore_fpr, restore_gprs, s390_emit_prologue): Replace |
dcc9eb26 AK |
2301 | s390_sr_alias_set with get_frame_alias_set (). |
2302 | (s390_gimplify_va_arg): Replace s390_sr_alias_set with | |
2303 | get_varargs_alias_set (). | |
2304 | ||
8f078c08 AP |
2305 | 2005-09-08 Andrew Pinski <pinskia@physics.uc.edu> |
2306 | ||
2307 | PR objc/20574 | |
2308 | PR objc/19324 | |
2309 | * c-parser.c (c_parser_objc_method_definition): If the next | |
2310 | token is not "{", error out and don't start the function. | |
2311 | ||
0c924d5c AP |
2312 | 2005-09-08 Andrew Pinski <pinskia@physics.uc.edu> |
2313 | ||
2314 | * tree-vrp.c (extract_range_from_expr): Move the check for non | |
2315 | nullness after the check for gimple invariant. | |
2316 | ||
9f36bc49 RK |
2317 | 2005-09-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2318 | ||
2319 | * tree.c (host_integerp, tree_low_cst): Correct function comment. | |
2320 | ||
085fd657 KI |
2321 | 2005-09-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2322 | ||
2323 | PR target/23747 | |
2324 | * config/m32r.md (movmemsi_internal): Canonicalize order of | |
2325 | operands in PLUS component of template. | |
2326 | ||
b735f45d AK |
2327 | 2005-09-07 Andreas Krebbel <krebbel1@de.ibm.com> |
2328 | ||
2329 | * reload1.c (fixup_eh_region_note): Remove assertion. | |
759915ca | 2330 | (fixup_abnormal_edges): Reverted removal of call to |
b735f45d AK |
2331 | find_many_sub_basic_blocks made on 2005-08-31. |
2332 | ||
30e6f306 RH |
2333 | 2005-09-07 Richard Henderson <rth@redhat.com> |
2334 | ||
8fe07c42 RH |
2335 | * function.c (ARG_POINTER_CFA_OFFSET): Move ... |
2336 | * defaults.h (ARG_POINTER_CFA_OFFSET): ... here. | |
30e6f306 | 2337 | (INCOMING_FRAME_SP_OFFSET): Move from dwarf2out.c. |
8fe07c42 RH |
2338 | * dwarf2out.c (struct cfa_loc): Change reg to unsigned int, |
2339 | rearrange for better packing. | |
30e6f306 | 2340 | (INCOMING_FRAME_SP_OFFSET): Move to defaults.h. |
8fe07c42 RH |
2341 | (lookup_cfa_1): Remove inline marker. |
2342 | (cfa_equal_p): Split out of ... | |
2343 | (def_cfa_1): ... here. Use INVALID_REGNUM. | |
2344 | (build_cfa_loc): Handle !cfa->indirect. | |
2345 | (frame_pointer_cfa_offset): New. | |
2346 | (dbx_reg_number): Assert register elimination performed; do | |
2347 | leaf register remapping. | |
2348 | (reg_loc_descriptor): Avoid calling dbx_reg_number when unused. | |
2349 | (eliminate_reg_to_offset): New. | |
2350 | (based_loc_descr): Remove can_use_fbreg argument. Use fbreg only | |
2351 | for verifiably local stack frame addresses; re-base to CFA. | |
2352 | (mem_loc_descriptor): Remove can_use_fbreg argument. | |
2353 | (concat_loc_descriptor, loc_descriptor): Likewise. | |
2354 | (containing_function_has_frame_base): Remove. | |
2355 | (rtl_for_decl_location): Don't do register elimination or | |
2356 | leaf register remapping here. | |
2357 | (secname_for_decl): Split out from .. | |
2358 | (add_location_or_const_value_attribute): ... here. | |
2359 | (convert_cfa_to_loc_list): New. | |
2360 | (compute_frame_pointer_to_cfa_displacement): New. | |
2361 | (gen_subprogram_die): Use them. | |
2362 | * tree.h (frame_base_decl): Remove. | |
2363 | * var-tracking.c (frame_base_decl, frame_stack_adjust): Remove. | |
2364 | (prologue_stack_adjust): Remove. | |
2365 | (vt_stack_adjustments): Use INCOMING_FRAME_SP_OFFSET. | |
2366 | (adjust_stack_reference): Re-base memories to arg_pointer_rtx. | |
2367 | (set_frame_base_location): Remove. | |
2368 | (compute_bb_dataflow, emit_notes_in_bb): Don't call it. | |
2369 | (dump_attrs_list, dump_dataflow_set): Use string concatenation. | |
2370 | (vt_add_function_parameters): Don't eliminate_regs. | |
2371 | (vt_initialize): Don't create frame_base_decl. | |
30e6f306 | 2372 | |
ff8f80f2 EB |
2373 | 2005-09-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
2374 | ||
2375 | * doc/install.texi (*-*-solaris2*): Clarify wording on the recommended | |
2376 | version of GNU binutils for 4.x and later. | |
2377 | ||
6f02b1db MM |
2378 | 2005-09-06 Mark Mitchell <mark@codesourcery.com> |
2379 | ||
2380 | * ggc-page.c (ggc_push_context): Remove. | |
2381 | (ggc_pop_context): Likewise. | |
2382 | * ggc.h (ggc_push_context): Remove. | |
2383 | (ggc_pop_context): Likewise. | |
2384 | ||
3273516f SV |
2385 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
2386 | ||
2387 | PR target/8973 | |
2388 | * config/arc/arc.c (arc_output_function_epilogue): Update flags while | |
2389 | returning from an interrupt handler. | |
2390 | ||
006fa7d4 SV |
2391 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
2392 | ||
2393 | PR target/8972 | |
2394 | * config/arc/arc.c (output_shift): Add check for loop count when | |
2395 | optimizing. | |
2396 | ||
800dd123 SB |
2397 | 2005-09-06 Steven Bosscher <stevenb@suse.de> |
2398 | ||
2399 | * tree-ssa-phiopt.c (conditional_replacement): Construct proper SSA | |
2400 | form manually. | |
2401 | (abs_replacement): Likewise. | |
2402 | (pass_phiopt): Remove TODO_update_ssa. | |
2403 | ||
73109af7 JJ |
2404 | 2005-09-06 Jakub Jelinek <jakub@redhat.com> |
2405 | ||
0c9b182b JJ |
2406 | PR c/23075 |
2407 | * c-typeck.c (c_finish_return): Set TREE_NO_WARNING on RETURN_EXPR | |
2408 | if "return with no value, in function returning non-void" warning | |
2409 | has been issued. | |
800dd123 | 2410 | * tree-cfg.c (execute_warn_function_return): Don't look at |
0c9b182b JJ |
2411 | RETURN_EXPRs with TREE_NO_WARNING set. |
2412 | ||
73109af7 JJ |
2413 | PR target/22362 |
2414 | * config/i386/i386.c (ix86_function_regparm): Make sure automatic regparm | |
2415 | for internal functions doesn't use registers used by global registers | |
2416 | variables. Use fewer register parameters if there are global register | |
2417 | variables. | |
2418 | ||
60a23e2e | 2419 | 2005-09-06 Olivier Hainque <hainque@adacore.com> |
800dd123 | 2420 | Eric Botcazou <ebotcazou@adacore.com> |
60a23e2e OH |
2421 | |
2422 | PR middle-end/14997 | |
2423 | * expr.c (expand_expr_real) <normal_inner_ref>: Force op0 to mem | |
2424 | when we would be extracting outside its bit span (bitpos+bitsize | |
2425 | larger than its mode), possible with some VIEW_CONVERT_EXPRs from | |
2426 | Ada unchecked conversions. | |
2427 | ||
dda243de SB |
2428 | 2005-09-06 Steven Bosscher <stevenb@suse.de> |
2429 | ||
2430 | * tree-ssa-pre.c (try_look_through_load): New function. | |
2431 | (compute_avail): Use it to try to look through loads for some | |
2432 | more useful expressions. | |
2433 | ||
f5d1572a SV |
2434 | 2005-09-06 Saurabh Verma <saurabh.verma@codito.com> |
2435 | ||
759915ca | 2436 | * simplify-rtx.c (simplify_binary_operation_1): Correct the |
f5d1572a SV |
2437 | condition for detecting cases like (a&a) and (a^a). |
2438 | ||
c12cc930 KB |
2439 | 2005-09-06 Keith Besaw <kbesaw@us.ibm.com> |
2440 | ||
2441 | * common.opt: Add option ftree-vect-loop-version. | |
2442 | * params.def: Add --param vect-max-version-checks. | |
2443 | * doc/invoke.texi: Document ftree-vect-loop-version and | |
2444 | --param vect-max-version-checks. | |
2445 | * tree-vectorizer.h (_loop_vec_info): Add ptr_mask and | |
2446 | may_misalign_stmts and defines for accessors. | |
2447 | * tree-vectorizer.c : (new_loop_vec_info): VEC_alloc for | |
2448 | LOOP_VINFO_MAY_MISALIGN_STMTS. | |
2449 | (destroy_loop_vec_info): VEC_free for | |
2450 | LOOP_VINFO_MAY_MISALIGN_STMTS. | |
2451 | * tree-vect-analyze.c (vect_compute_data_ref_alignment): | |
2452 | Update documentation. | |
2453 | (vect_update_misalignment_for_peel): New. | |
2454 | (vect_enhance_data_refs_alignment): Update to choose loop | |
2455 | peeling or loop versioning if appropriate for the (potentially) | |
2456 | unaligned data references in the loop. | |
2457 | (vect_analyze_data_refs_alignment): Remove call to | |
2458 | vect_enhance_data_refs_alignment so the checks can be done | |
2459 | earlier. | |
2460 | (vect_analyze_loop): Add call to vect_enhance_data_refs_alignment | |
2461 | and move up call to vect_analyze_data_refs_alignment. | |
2462 | * tree-vect-transform.c (vect_create_cond_for_align_checks): New. | |
2463 | (vect_transform_loop): Add call to loop_version. | |
2464 | ||
1c653a41 JJ |
2465 | 2005-09-06 Jakub Jelinek <jakub@redhat.com> |
2466 | ||
2467 | PR rtl-optimization/23098 | |
2468 | * cse.c (fold_rtx_mem): Call delegitimize_address target hook. | |
2469 | * simplify-rtx.c (constant_pool_reference_p): New function. | |
2470 | * rtl.h (constant_pool_reference_p): New prototype. | |
2471 | * config/i386/i386.md (pushf split, mov[sdx]f split): Use | |
2472 | constant_pool_reference_p in condition and | |
2473 | avoid_constant_pool_reference in preparation statements. | |
2474 | ||
70a640af AK |
2475 | 2005-09-06 Andreas Krebbel <krebbel1@de.ibm.com> |
2476 | ||
759915ca | 2477 | * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for |
70a640af AK |
2478 | STRICT_LOW_PART SETs. |
2479 | ||
fc781ee0 AM |
2480 | 2005-09-06 Alan Modra <amodra@bigpond.net.au> |
2481 | ||
2482 | PR middle-end/21460 | |
2483 | * except.c (sjlj_emit_function_enter): Find the function begin | |
2484 | note even when it's not in first basic block. | |
2485 | ||
67da1534 KC |
2486 | 2005-09-06 Kelley Cook <kcook@gcc.gnu.org> |
2487 | ||
2488 | * acinclude.m4: Renamed from aclocal.m4. Delete AM_LANGINFO_CODESET, | |
2489 | AM_PROG_CC_C_O, and AM_AUX_DIR_EXPAND. | |
2490 | * aclocal.m4: Regenerate. | |
2491 | ||
dc019eb8 DD |
2492 | 2005-09-05 DJ Delorie <dj@redhat.com> |
2493 | ||
2494 | * config/m32c/m32c.h (TRAMPOLINE_ALIGNMENT): Correct misspelling | |
2495 | of macro. | |
2496 | ||
57b51d4d KH |
2497 | 2005-09-06 Kazu Hirata <kazu@codesourcery.com> |
2498 | ||
2499 | * gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c, | |
2500 | config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c, | |
2501 | config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos. | |
2502 | Follow spelling conventions. | |
2503 | * doc/invoke.texi: Follow spelling conventions. | |
2504 | ||
bf877a76 R |
2505 | 2005-09-05 J"orn Rennecke <joern.rennecke@st.com> |
2506 | ||
2507 | * rtl.h (gen_frame_mem, gen_tmp_stack_mem): Declare. | |
2508 | * emit-rtl.c (gen_frame_mem, gen_tmp_stack_mem): New functions. | |
2509 | * builtins.c (expand_builtin_return_addr): Use gen_frame_mem. | |
2510 | ||
57d38024 R |
2511 | 2005-09-05 J"orn Rennecke <joern.rennecke@st.com> |
2512 | ||
2513 | PR target/23683 | |
2514 | * sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem. | |
2515 | (output_stack_adjust): Use gen_tmp_stack_mem. | |
2516 | (sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem. | |
2517 | (sh_set_return_address, sh_allocate_initial_value): Likewise. | |
2518 | (sh_get_pr_initial_val): Likewise. | |
2519 | (sh_builtin_saveregs): Use gen_frame_mem and change_address. | |
2520 | (sh_initialize_trampoline): Likewise. Also use adjust_address. | |
2521 | * sh.md (divsi_inv_m0): Use gen_const_mem. | |
2522 | (push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem. | |
2523 | (movdf_i4+1): Use gen_tmp_stack_mem. | |
2524 | (reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address. | |
2525 | (fpu_switch+2): Likewise. | |
2526 | (movv4sf_i, movv16sf_i): Use adjust_address. | |
2527 | (symGOT_load): Set MEM_NOTRAP_P bit. | |
2528 | ||
1c9ef36d JDA |
2529 | 2005-09-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2530 | ||
2531 | PR target/23721 | |
2532 | * pa.c (emit_move_sequence): Fix typo in last change. | |
2533 | ||
7a6b7528 JJ |
2534 | 2005-09-03 Jakub Jelinek <jakub@redhat.com> |
2535 | ||
2536 | PR rtl-optimization/23454 | |
2537 | * reorg.c (relax_delay_slots): Only call invert_jump if any_condjump_p | |
2538 | is true. | |
2539 | ||
7c95bbfb RH |
2540 | 2005-09-03 Richard Henderson <rth@redhat.com> |
2541 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
2542 | ||
2543 | PR middle-end/23671 | |
800dd123 | 2544 | * pa.c (emit_move_sequence): Use replace_equiv_address instead of |
7c95bbfb RH |
2545 | gen_rtx_MEM. |
2546 | ||
b107d743 NP |
2547 | 2005-09-02 Nicolas Pitre <nico@cam.org> |
2548 | ||
2549 | * config/arm/arm.c (arm_legitimize_address): Limit the value passed | |
2550 | to bit_count to 32 bits. | |
2551 | ||
a38578e1 MM |
2552 | 2005-08-31 Mark Mitchell <mark@codesourcery.com> |
2553 | ||
2554 | PR c++/23167 | |
2555 | * gimplify.c (gimplify_expr): Handle TREE_ADDRESSABLE types when | |
2556 | generating synthetic loads from volatile lvalues. | |
2557 | ||
ebf178cd NC |
2558 | 005-09-02 Nick Clifton <nickc@redhat.com> |
2559 | ||
2560 | * config/stormy16/stormy16-lib2.c (__popcounthi2, __parityhi2, | |
2561 | __ctzhi2, __clzhi2): New functions. | |
2562 | ||
9bf777ee AP |
2563 | 2005-09-02 Andrew Pinski <pinskia@physics.uc.edu> |
2564 | ||
2565 | PR middle-end/23547 | |
2566 | * tree-nested.c (struct var_map_elt): Mark with GTY. | |
2567 | (struct nesting_info): Mark with GTY. Mark var_map's param is struct | |
2568 | var_map_elt. | |
2569 | (lookup_field_for_decl): Allocate new element in GC memory. | |
2570 | (lookup_tramp_for_decl): Likewise. | |
2571 | (convert_nl_goto_reference): Likewise | |
2572 | (create_nesting_tree): Allocate info in GC memory. Likewise for | |
2573 | info->var_map. | |
2574 | (free_nesting_tree): Free with ggc_free instead of free. | |
2575 | (root): New static variable. | |
2576 | (lower_nested_functions): Remove root as local variable. And zero out | |
2577 | root at the end of the function. | |
2578 | ||
f805670f R |
2579 | 2005-09-02 J"orn Rennecke <joern.rennecke@st.com> |
2580 | ||
2581 | PR rtl-optimization/20365 | |
2582 | * simplify-rtx.c (simplify_plus_minus_op_data): Change type of neg | |
2583 | to short. New member ix. | |
2584 | (simplify_plus_minus_op_data_cmp): Break ties using ix member. | |
2585 | (simplify_plus_minus): Initialize ix members before calling qsort. | |
2586 | ||
b8c4f9a4 ZD |
2587 | 2005-09-02 Zdenek Dvorak <dvorakz@suse.cz> |
2588 | ||
2589 | PR tree-optimization/23626 | |
2590 | * tree-cfg.c (replace_uses_by): Clean up eh info. | |
2591 | ||
73eb8cb6 DD |
2592 | 2005-09-01 DJ Delorie <dj@redhat.com> |
2593 | ||
2594 | * config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug | |
2595 | fprintf. | |
2596 | ||
13e2e16e DE |
2597 | 2005-09-01 David Edelsohn <edelsohn@gnu.org> |
2598 | ||
2599 | * config/rs6000/rs6000.c (setup_incoming_varargs): Set MEM_NOTRAP_P. | |
2600 | (rs6000_split_multireg_move): Use replace_equiv_address instead of | |
2601 | gen_rtx_MEM. | |
2602 | ||
52d09157 CR |
2603 | 2005-09-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
2604 | ||
2605 | * c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls, | |
2606 | do not issue warning for a variable definition following | |
2607 | a declaration. | |
2608 | ||
277fc67e RH |
2609 | 2005-09-01 Richard Henderson <rth@redhat.com> |
2610 | ||
2611 | PR 23668 | |
2612 | * config/i386/i386.c (ix86_expand_vector_init_one_var): Restore | |
2613 | conversion to CONST_VECTOR. | |
2614 | ||
e3947b34 RH |
2615 | 2005-09-01 Richard Henderson <rth@redhat.com> |
2616 | ||
2617 | PR 23676 | |
2618 | * reload1.c (reload_as_needed): Check !CALL_P before calling | |
2619 | fixup_eh_region_note. | |
2620 | * rtlanal.c (may_trap_p): SUBREG by itself cannot trap. | |
2621 | ||
056061d8 DD |
2622 | 2005-09-01 DJ Delorie <dj@redhat.com> |
2623 | ||
2624 | * varasm.c (output_constant): Let the target resolve | |
2625 | conversions of addresses to non-default pointer sizes. | |
2626 | ||
86805759 NP |
2627 | 2005-09-01 Nicolas Pitre <nico@cam.org> |
2628 | ||
2629 | * config/arm/arm.c (arm_legitimize_address): Split absolute addresses | |
2630 | to alow matching ARM pre-indexed addressing mode. | |
2631 | (arm_override_options): Remove now irrelevant comment. | |
2632 | ||
d442d7d9 PE |
2633 | 2005-09-01 Phil Edwards <phil@codesourcery.com> |
2634 | ||
2635 | * config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target. | |
2636 | * config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode. | |
2637 | * config/i386/vxworks.h: Likewise. | |
2638 | * config/i386/t-vxworksae: New file, for VxWorks AE. | |
2639 | * config/i386/vxworksae.h: Likewise. | |
2640 | ||
ab02cc4e SP |
2641 | 2005-09-01 Sebastian Pop <pop@cri.ensmp.fr> |
2642 | ||
2643 | PR tree-optimization/23410 | |
2644 | * tree-ssa-loop-niter.c (scev_probably_wraps_p): Check that the | |
2645 | sequence is not wrapping during the first step. | |
2646 | ||
ac156e91 JJ |
2647 | 2005-09-01 Jakub Jelinek <jakub@redhat.com> |
2648 | ||
2649 | PR debug/7241 | |
2650 | * dwarf2out.c (base_type_die): Compare char_type_node with | |
2651 | TYPE_MAIN_VARIANT (type), not type. | |
2652 | ||
355866de RG |
2653 | 2005-09-01 Richard Guenther <rguenther@suse.de> |
2654 | ||
2655 | PR tree-optimization/15366 | |
2656 | * common.opt: Add -finline-functions-called-once. | |
2657 | Put -fearly-inlining in alphabetically ordered place. | |
2658 | * doc/invoke.texi: Document new option. | |
2659 | * ipa-inline.c (cgraph_decide_inlining): Honour | |
2660 | flag_inline_functions_called_once. | |
2661 | ||
95c37cdb JJ |
2662 | 2005-09-01 Jakub Jelinek <jakub@redhat.com> |
2663 | ||
2664 | PR rtl-optimization/23478 | |
2665 | * local-alloc.c (struct qty): Add n_throwing_calls_crossed field. | |
2666 | (alloc_qty): Initialize it. | |
2667 | (update_equiv_regs): Clear REG_N_THROWING_CALLS_CROSSED. | |
2668 | (combine_regs): Combine also n_throwing_calls_crossed fields. | |
2669 | (find_free_reg): Don't attempt to caller-save pseudos crossing | |
2670 | calls that might throw. | |
2671 | * global.c (struct allocno): Add throwing_calls_crossed field. | |
2672 | (global_alloc): Revert 2005-08-22 change. Initialize | |
2673 | throwing_calls_crossed. | |
2674 | (find_reg): Don't attempt to caller-save pseudos crossing calls that | |
2675 | might throw. | |
2676 | ||
1990cd79 AM |
2677 | 2005-09-01 Alan Modra <amodra@bigpond.net.au> |
2678 | ||
2679 | PR target/23649 | |
2680 | * config/rs6000/predicates.md (mask_operand): Only handle rlwinm masks. | |
2681 | (mask64_operand): Reinstate code prior to 2005-06-11 change. | |
2682 | (mask64_2_operand): Reinstate code prior to 2004-11-11 change. | |
2683 | (and64_2_operand): Tweak to use predicate. | |
2684 | (and_operand): Adjust for mask_operand changes. | |
2685 | * config/rs6000/rs6000.c (num_insns_constant): Revert 2005-06-11. | |
2686 | (print_operand): Likewise. | |
2687 | (rs6000_rtx_costs): Pass mode to mask_operand and use mask64_operand. | |
2688 | (mask64_1or2_operand): Delete. | |
2689 | * rs6000/rs6000-protos.h (mask64_1or2_operand): Delete. | |
2690 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT <S>): Revert 2005-06-11. | |
2691 | (EXTRA_CONSTRAINT <T>): Pass operand mode to predicate. | |
2692 | (EXTRA_CONSTRAINT <t>): Disallow mask64_operand matches. | |
2693 | * config/rs6000/rs6000.md (andsi3_internal3 split): Revert 2005-06-11. | |
2694 | (rotldi3_internal4): Likewise. | |
2695 | (rotldi3_internal5, rotldi3_internal5 split): Likewise. | |
2696 | (rotldi3_internal6, rotldi3_internal6 split): Likewise. | |
2697 | (ashldi3_internal7): Likewise. | |
2698 | (ashldi3_internal8, ashldi3_internal8 split): Likewise. | |
2699 | (ashldi3_internal, ashldi3_internal9 split): Likewise. | |
2700 | (anddi3 split): Don't match mask64_operand. | |
2701 | (anddi3_internal2): Add rlwinm. Modify 't' splitter predicate. | |
2702 | (anddi3_internal3): Add rlwinm. Use and64_2_operand in non-cr0 | |
2703 | splitter and match TARGET_64BIT not TARGET_POWERPC64. Modify | |
2704 | 't' splitter predicate. | |
2705 | (movdi_internal64 + 2): Revert 2005-06-11 change. | |
2706 | ||
e9555b13 DD |
2707 | 2005-08-31 DJ Delorie <dj@redhat.com> |
2708 | ||
2709 | * config/m32c/m32c.c (m32c_valid_pointer_mode): New. | |
2710 | (m32c_asm_integer): Add support for 32 bit pointers. | |
2711 | ||
8476af98 RH |
2712 | 2005-08-31 Richard Henderson <rth@redhat.com> |
2713 | ||
2714 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Look through | |
2715 | component-like references for setting MEM_NOTRAP_P. | |
2716 | ||
2717 | * config/i386/i386.c (ix86_setup_incoming_varargs): Set MEM_NOTRAP_P. | |
2718 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): Likewise. | |
2719 | ||
0fd662ee RH |
2720 | 2005-08-31 Richard Henderson <rth@redhat.com> |
2721 | ||
2722 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Force subregs | |
2723 | into a pseudo before applying gen_lowpart. | |
2724 | ||
960ac6e1 GK |
2725 | 2005-08-31 Geoffrey Keating <geoffk@apple.com> |
2726 | ||
2727 | * doc/install.texi (Specific): Update cctools version required | |
2728 | for full functionality. | |
2729 | * config/darwin.h (LINK_SPEC): Pass -mmacosx-version-min to the | |
2730 | linkers as -macosx_version_min. | |
2731 | ||
4802062c R |
2732 | 2005-08-31 J"orn Rennecke <joern.rennecke@st.com> |
2733 | ||
2734 | PR target/21255 | |
2735 | * sh.c (print_operand, %R and %S): Add handling of floating point | |
2736 | registers, memory, constants and invalid operands. | |
2737 | ||
d4feded7 DB |
2738 | 2005-08-31 Daniel Berlin <dberlin@dberlin.org> |
2739 | ||
2740 | * ipa-pure-const.c: Change dump name. | |
2741 | ||
d16093fd UB |
2742 | 2005-08-31 Uros Bizjak <uros@kss-loka.si> |
2743 | ||
2744 | PR target/23570 | |
2745 | * config/i386/sse.md (*sse_concatv2sf): Change operand 2 constraint | |
2746 | to "reg_or_0_operand". | |
2747 | (sse2_loadld): Change operand 1 constraint to "reg_or_0_operand". | |
2748 | ||
c9eb8097 DJ |
2749 | 2005-08-31 Dale Johannesen <dalej@apple.com> |
2750 | ||
2751 | * loop-iv.c (iv_number_of_iterations): Fix overflow check for | |
2752 | loops that count down. | |
2753 | ||
be0c514c RH |
2754 | 2005-08-31 Richard Henderson <rth@redhat.com> |
2755 | ||
35210087 | 2756 | PR rtl-opt/23601 |
be0c514c RH |
2757 | * reload1.c (reload): Set MEM_NOTRAP_P in spill slots. |
2758 | (fixup_eh_region_note): New. | |
2759 | (reload_as_needed): Call it. | |
2760 | (fixup_abnormal_edges): Allow all throwing insns to be deleted; | |
2761 | don't call find_many_sub_basic_blocks; call verify_flow_info. | |
2762 | * function.c (assign_stack_local_1): Set MEM_NOTRAP_P. | |
2763 | (keep_stack_depressed): Likewise. | |
2764 | (assign_stack_temp_for_type): Likewise; use adjust_address_nv. | |
2765 | ||
5d3018ce RH |
2766 | 2005-08-31 Richard Henderson <rth@redhat.com> |
2767 | ||
2768 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for | |
2769 | fp return matching. | |
2770 | ||
dc38a610 FJ |
2771 | 2005-08-31 Fariborz Jahanian <fjahanian@apple.com> |
2772 | ||
759915ca EC |
2773 | * expr.c (expand_expr_real_1): Compare size of address |
2774 | mode to target's address mode size in deciding expansion of | |
dc38a610 FJ |
2775 | the constant address. |
2776 | ||
c5250139 RG |
2777 | 2005-08-31 Richard Guenther <rguenther@suse.de> |
2778 | ||
2779 | PR middle-end/23477 | |
2780 | * expr.c (all_zeros_p): New function. | |
2781 | (expand_expr_real_1): Handle the case of an all-zero | |
2782 | non-addressable constructor separately. | |
2783 | ||
ab173928 AS |
2784 | 2005-08-31 Adrian Straetling <straetling@de.ibm.com> |
2785 | ||
2786 | * builtins.c: (expand_builtin_strcpy, expand_builtin_strcat): Change | |
2787 | arguments, adjust all callers. | |
2788 | (expand_builtin_strcat): Rewrite to call strcpy instead of mempcpy. | |
2789 | ||
fabaaf36 RH |
2790 | 2005-08-30 Richard Henderson <rth@redhat.com> |
2791 | ||
2792 | PR target/23630 | |
2793 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Use gen_lowpart | |
2794 | whenever the mode sizes match. | |
2795 | ||
40b0345d AM |
2796 | 2005-08-31 Alan Modra <amodra@bigpond.net.au> |
2797 | ||
2798 | * calls.c (load_register_parameters): Fix comment typo. | |
2799 | * expr.c (emit_push_insn): Comment formatting. | |
2800 | ||
c2e493dc ILT |
2801 | 2005-08-30 Ian Lance Taylor <ian@airs.com> |
2802 | ||
2803 | * config/i386/x-cygwin (host-cygwin): Change dependency from | |
2804 | hosthooks-def.h to $(HOSTHOOKS_DEF_H). | |
2805 | ||
9fc5fa7b GK |
2806 | 2005-08-29 Geoffrey Keating <geoffk@apple.com> |
2807 | ||
2808 | * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify | |
2809 | parts of 'vals'. | |
2810 | ||
f471f0fc | 2811 | 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu> |
57247f4b AP |
2812 | |
2813 | PR middle-end/23408 | |
2814 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the | |
2815 | call to ggc_collect. | |
2816 | ||
f471f0fc | 2817 | 2005-08-29 Paolo Bonzini <bonzini@gnu.org> |
3a6ebcdc PB |
2818 | |
2819 | PR bootstrap/21268 | |
2820 | * Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the | |
2821 | beginning. Remove $(INCLUDES) from all the rules, if following | |
2822 | $(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS). | |
2823 | ||
f28d3046 JJ |
2824 | 2005-08-29 Jakub Jelinek <jakub@redhat.com> |
2825 | ||
2826 | PR middle-end/23484 | |
2827 | * builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk, | |
2828 | fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is | |
2829 | not constant, but maxlen is, don't set len to maxlen, rather | |
2830 | set maxlen to len if len is a constant. | |
2831 | ||
37261a5c ZD |
2832 | 2005-08-29 Zdenek Dvorak <dvorakz@suse.cz> |
2833 | ||
2834 | PR tree-optimization/23475 | |
2835 | * tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies | |
2836 | and counts. | |
2837 | ||
46c5394b DB |
2838 | 2005-08-28 Daniel Berlin <dberlin@dberlin.org> |
2839 | ||
2840 | Fix PR middle-end/22455 | |
2841 | ||
2842 | * fold-const.c (fold_checksum_tree): Adjust for now-largest tree size. | |
2843 | Checksum only the parts of the tree that exist for the tree code. | |
2844 | ||
ea407814 DJ |
2845 | 2005-08-28 Dale Johannesen <dalej@apple.com> |
2846 | ||
2847 | * config/i386/i386.c (nocona_cost): Increase MOVE_RATIO. | |
2848 | ||
87e71ff4 AP |
2849 | 2005-08-28 Andrew Pinski <pinskia@physics.uc.edu> |
2850 | ||
2851 | * tree-vrp.c: Remove obsolete comment in front of vrp_initialize. | |
2852 | ||
490272b4 RH |
2853 | 2005-08-28 Richard Henderson <rth@redhat.com> |
2854 | ||
2855 | * stor-layout.c (finalize_type_size): Revert workaround from 08-26. | |
2856 | * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment | |
2857 | of char_type_node. | |
2858 | ||
a6017253 JJ |
2859 | 2005-08-28 Jakub Jelinek <jakub@redhat.com> |
2860 | ||
2861 | PR ada/23593 | |
2862 | * builtins.c (get_memory_rtx): Don't strip nops | |
2863 | in between COMPONENT_REFs. | |
2864 | ||
412f8986 AP |
2865 | 2005-08-27 Andrew Pinski <pinskia@physics.uc.edu> |
2866 | ||
2867 | PR middle-end/23463 | |
2868 | * gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized | |
2869 | types. | |
2870 | (gimplify_modify_expr): Check for zero sized types and gimplify the | |
2871 | rhs and lhs as statements. | |
2872 | ||
147a8fb1 JDA |
2873 | 2005-08-27 John David Anglin <dave.anflin@nrc-cnrc.gc.ca> |
2874 | ||
2875 | PR libgcj/23508 | |
2876 | * pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame | |
2877 | state for return address column of signal frames. | |
2878 | ||
ec53fc93 DE |
2879 | 2005-08-27 David Edelsohn <edelsohn@gnu.org> |
2880 | ||
2881 | PR target/23539 | |
fabaaf36 RH |
2882 | * config/rs6000/rs6000.c (expand_block_clear): Use HImode when |
2883 | bytes >= 2 not bytes == 2. | |
ec53fc93 DE |
2884 | (expand_block_move): Same. |
2885 | ||
f013cadc RG |
2886 | 2005-08-27 Richard Guenther <rguenther@suse.de> |
2887 | ||
2888 | PR target/23575 | |
2889 | * config/i386/sse.md (sse2_movsd): Add missing closing | |
2890 | braces. | |
2891 | ||
0cd6c85a PB |
2892 | 2005-08-27 Paul Brook <paul@codesourcery.com> |
2893 | ||
2894 | * genrecog.c (enum decision_type): Add DT_num_insns. | |
2895 | (struct decision_test): Add u.num_insns. | |
2896 | (add_to_sequence): Add DT_num_insns test. | |
2897 | (maybe_both_true_2, nodes_identical_1): Handle DT_num_insns. | |
2898 | (write_cond, debug_decision_2): Ditto. | |
2899 | (change_state): Assume peep2_next_insn never fails. | |
2900 | Remove "afterward" argument. | |
2901 | (write afterward, write_tree): Update to match. | |
2902 | * recog.c (peep2_current_count): New variable. | |
2903 | (peep2_next_insn): Check it. | |
2904 | (peephole2_optimize): Set peep2_current_count. | |
2905 | * recog.h (peep2_current_count): Declare. | |
2906 | ||
1b0d2d17 JC |
2907 | 2005-08-26 Josh Conner <jconner@apple.com> |
2908 | ||
2909 | PR middle-end/23584 | |
2910 | * ipa-pure-const.c (check_tree): Check for volatile-ness | |
2911 | when considering a dereference. | |
2912 | ||
24b7d7c3 JJ |
2913 | 2005-08-27 Jakub Jelinek <jakub@redhat.com> |
2914 | ||
2915 | * rtl.h (MEM_IN_STRUCT_P): Fix comment typo. | |
2916 | ||
435bb2a1 JJ |
2917 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
2918 | ||
2919 | PR rtl-optimization/23561 | |
2920 | * builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is | |
2921 | a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless | |
2922 | at most LEN bytes long memory fits into the field. | |
2923 | (expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr, | |
2924 | expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp, | |
2925 | expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers. | |
2926 | ||
52e772ba RH |
2927 | 2005-08-26 Richard Henderson <rth@redhat.com> |
2928 | ||
2929 | PR rtl-opt/23560 | |
2930 | * loop.c (biased_biv_may_wrap_p): New. | |
2931 | (maybe_eliminate_biv_1): Use it to suppress non-equality | |
2932 | comparison transformations. Delete disabled code. | |
2933 | ||
8f34bde6 ILT |
2934 | 2005-08-26 Ian Lance Taylor <ian@airs.com> |
2935 | ||
2936 | * combine.c (make_extraction): Avoid reference outside object. | |
2937 | ||
d6cde480 R |
2938 | 2005-08-26 J"orn Rennecke <joern.rennecke@st.com> |
2939 | ||
2940 | * stor-layout.c (finalize_type_size): Restore behaviour for | |
2941 | non-aggregate types to the status quo ante of the patch for | |
2942 | pr 23467. Document why it matters. | |
2943 | ||
39627fed JJ |
2944 | 2005-08-26 Jakub Jelinek <jakub@redhat.com> |
2945 | ||
2946 | PR c/23506 | |
2947 | * c-common.c (c_common_nodes_and_builtins): Increase builtin_types | |
2948 | array by one element, initialize the BT_LAST element with NULL. | |
2949 | ||
297abd0d DE |
2950 | 2005-08-26 David Edelsohn <edelsohn@gnu.org> |
2951 | ||
2952 | * config/rs6000/rs6000.md (eq<mode>_compare): Only enable when | |
2953 | optimizing for size. | |
2954 | (plus_eqsi): Same. | |
2955 | (compare_plus_eqsi): Same. | |
2956 | (plus_eqsi_compare): Same. | |
2957 | (neg_eq0<mode>): Same. | |
2958 | (neg_eq<mode>): Same. | |
2959 | ||
2960 | * config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to | |
2961 | PROCESSOR_POWER4. | |
2962 | ||
2ec6cd51 NC |
2963 | 2005-08-26 Nick Clifton <nickc@redhat.com> |
2964 | ||
2965 | * config/v850/v850.c (ep_memory_operand): Return FALSE if | |
2966 | TARGET_EP is not defined. | |
2967 | * config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if | |
2968 | TARGET_EP is enabled. | |
2969 | (OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing. | |
2970 | * config/v850/v850.md (save_all_interrupt): Only use the EP | |
2971 | register if TARGET_EP is defined. | |
2972 | (restore_all_interrupt): Likewise. | |
2973 | * config/v850/lib1funcs.asm: Update functions so that the EP | |
2974 | register is only used if __EP__ is defined. | |
2975 | ||
e296c00c DU |
2976 | 2005-08-26 David Ung <davidu@mips.com> |
2977 | ||
2978 | * config/mips/mips.c (mips_expand_prologue): Handle case when | |
2979 | generating for MIPS16 and the outgoing argument area is more than | |
2980 | SMALL_OPERAND. Use the frame pointer as temporary to generate the | |
2981 | add instruction. | |
2982 | ||
55d61dba PW |
2983 | 2005-08-26 Paul Woegerer <paul.woegerer@nsc.com> |
2984 | ||
2985 | * config/crx/crx.md: Make doloop_end pattern usage controllable | |
2986 | via mloop-nesting=<max-nesting> command line switch. Make sure | |
2987 | the combiner cannot use doloop_end_<mode> in an illegal way. | |
2988 | * config/crx/crx.c: Use regs up to r6 for argument passing. | |
2989 | Refine crx_address_cost (non cst4 displacements are expensive). | |
2990 | * config/crx/crx.opt: Add switch for mloop-nesting=. | |
2991 | ||
742090fc AS |
2992 | 2005-08-26 Adrian Straetling <straetling@de.ibm.com> |
2993 | ||
2994 | * config/s390/s390.md: ("movstr", "*movstr"): Add patterns. | |
2995 | (UNSPEC_MVST): New constant. | |
2996 | ||
db21e1d0 AK |
2997 | 2005-08-26 Andreas Krebbel <krebbel1@de.ibm.com> |
2998 | ||
2999 | * config/s390/predicates.md ("shift_count_operand", "setmem_operand"): | |
3000 | Reject operands containing eliminable registers. | |
3001 | * testsuite/gcc.dg/20050825-1.c: New testcase. | |
3002 | ||
0621d71a PB |
3003 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
3004 | Jan Hubicka <jh@suse.cz> | |
3005 | ||
3006 | * regmove.c (reg_is_remote_constant_p): Reorganize to not use log links. | |
3007 | ||
e2889823 PB |
3008 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
3009 | ||
3010 | PR tree-optimization/23546 | |
3011 | * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST | |
3012 | and REAL_CST nodes. | |
3013 | ||
6f48c21a PS |
3014 | 2005-08-24 Pete Steinmetz <steinmtz@us.ibm.com> |
3015 | ||
3016 | * params.def (PARAM_MIN_SPEC_PROB): New. | |
3017 | * sched-rgn.c (MIN_PROBABILITY): Delete. | |
3018 | (compute_trg_info): Convert to PARAM_VALUE. | |
3019 | * doc/invoke.texi (param): Document min-spec-prob. | |
3020 | ||
1a1e6a9d FJ |
3021 | 2005-08-24 Fariborz Jahanian <fjahanian@apple.com> |
3022 | ||
3023 | * config/darwin.h: define __PIC__ | |
3024 | * config/rs6000/darwin.h: Add SUBTARGET_OS_CPP_BUILTINS to | |
3025 | TARGET_OS_CPP_BUILTINS macro. | |
3026 | ||
130869aa PB |
3027 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
3028 | ||
3029 | * config/rs6000/rs6000.md: Fix thinko in the peephole2 I added | |
3030 | yesterday. | |
3031 | ||
b9a66240 ZD |
3032 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
3033 | ||
3034 | * bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument | |
3035 | to duplicate_block. | |
3036 | * cfghooks.c (duplicate_block): Added position where to place | |
3037 | new block as argument. | |
3038 | * cfghooks.h (duplicate_block): Declaration changed. | |
3039 | * cfglayout.c (copy_bbs): Add argument after. Pass it to | |
3040 | duplicate_block. | |
3041 | * cfglayout.h (copy_bbs): Declaration changed. | |
3042 | * cfgloop.h (loop_version): Declaration changed. | |
3043 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Pass | |
3044 | position to copy_bbs. | |
3045 | (loop_version): Pass position to duplicate_loop_to_header_edge. | |
3046 | Add place_after argument and position new blocks according to | |
3047 | it. | |
3048 | * modulo-sched.c (sms_schedule): Pass place_after argument | |
3049 | to loop_version. | |
3050 | * tracer.c (tail_duplicate): Pass argument to duplicate_block. | |
3051 | * tree-cfg.c (split_edge_bb_loc): New function. | |
3052 | (tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc | |
3053 | to determine position of new blocks. | |
3054 | * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument | |
3055 | to loop_version. | |
3056 | * tree-ssa-threadupdate.c (create_block_for_threading): Pass | |
3057 | argument to duplicate_block. | |
3058 | * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg): | |
3059 | Pass position to copy_bbs. | |
3060 | ||
87de2376 ZD |
3061 | 2005-08-24 Zdenek Dvorak <dvorakz@suse.cz> |
3062 | ||
3063 | * fold-const.c (ptr_difference_const): Use | |
3064 | cst_and_fits_in_hwi instead of host_integerp. | |
3065 | ||
14a07c92 PB |
3066 | 2005-08-24 Paolo Bonzini <bonzini@gnu.org> |
3067 | ||
3068 | * config/darwin.c (gen_pic_offset): New. | |
3069 | (machopic_indirect_data_reference, machopic_legitimize_pic_address): | |
3070 | Use it. | |
3071 | ||
d49195a3 ZD |
3072 | 2005-08-23 Zdenek Dvorak <dvorakz@suse.cz> |
3073 | ||
3074 | PR tree-optimization/23486 | |
3075 | * tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals. | |
3076 | ||
2eab15c9 PE |
3077 | 2005-08-23 Phil Edwards <phil@codesourcery.com> |
3078 | ||
3079 | * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, | |
3080 | remove use_collect2. | |
3081 | (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. | |
3082 | ||
3083 | * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target | |
3084 | configuration files to override the default value. | |
3085 | ||
3086 | * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, | |
3087 | EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS. | |
3088 | * config/vx-common.h: New file, split out from... | |
3089 | * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. | |
3090 | * config/vxworksae.h: New file, for VxWorks AE. | |
3091 | * config/vxworks.opt: New file. | |
3092 | * config/vxlib.c: Update for VxWorks 6. | |
3093 | ||
3094 | * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust | |
3095 | other MULTILIB_* variables appropriately. | |
3096 | (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. | |
3097 | * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. | |
3098 | * config/rs6000/vxworks.h: Update for VxWorks 6. | |
3099 | * config/rs6000/vxworksae.h: New file, mostly placeholder for now. | |
3100 | ||
2501b167 AP |
3101 | 2005-08-23 Andrew Pinski <pinskia@physics.uc.edu> |
3102 | ||
3103 | PR target/20799 | |
3104 | * config/darwin.c (machopic_select_section): Remove the hack to | |
3105 | mark "::operator new" and "::operator delete" for coalescing | |
3106 | even though they are not weak. | |
3107 | ||
d82bf747 AM |
3108 | 2005-08-24 Alan Modra <amodra@bigpond.net.au> |
3109 | ||
3110 | * configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch. | |
3111 | * configure: Regenerate. | |
3112 | ||
4d3c798d PB |
3113 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
3114 | ||
3115 | PR middle-end/23517 | |
3116 | * fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert | |
3117 | between vectors. | |
3118 | * convert.c (convert_to_integer, convert_to_vector): Likewise. | |
3119 | * tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1): | |
3120 | Likewise. | |
3121 | ||
28d0e143 PB |
3122 | 2005-08-23 Paolo Bonzini <bonzini@gnu.org> |
3123 | ||
3124 | * config/rs6000/predicates.md (equality_operator): New. | |
3125 | * config/rs6000/rs6000.md: Rewrite as a peephole2 the split for | |
3126 | comparison with a large constant. | |
3127 | ||
6194fd98 MM |
3128 | 2005-08-23 Mark Mitchell <mark@codesourcery.com> |
3129 | ||
3130 | * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT. | |
3131 | ||
39d67d5b R |
3132 | 2005-08-23 J"orn Rennecke <joern.rennecke@st.com> |
3133 | ||
a11c004b R |
3134 | * sh.c (sh_builtin_saveregs): If the number of to-be-saved fp |
3135 | registers is even, and we have a hardware double precision fp, | |
3136 | align the buffer. | |
3137 | (sh_gimplify_va_arg_expr): For floating point arguments, consider | |
3138 | size of current argument when checking if argument was passed in | |
3139 | registers. | |
3140 | ||
3141 | * sh.c (sh_attr_renesas_p): Handle error_mark_node. | |
3142 | ||
39d67d5b R |
3143 | PR middle-end/23467 |
3144 | * stor-layout.c (finalize_type_size): Dont override | |
3145 | existing alignment with a smaller alignment from the mode. | |
3146 | ||
37b8a73b SP |
3147 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
3148 | ||
3149 | * lambda-code.c (lambda_vector_lexico_pos): Moved... | |
3150 | * lambda.h (lambda_vector_lexico_pos): ... here. | |
3151 | * tree-data-ref.c (build_classic_dist_vector): Return false when | |
3152 | the distance vector is lexicographically negative. | |
3153 | ||
ce8f9416 SP |
3154 | 2005-08-23 Sebastian Pop <pop@cri.ensmp.fr> |
3155 | ||
3156 | PR tree-optimization/23511 | |
759915ca | 3157 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't |
ce8f9416 SP |
3158 | handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE. |
3159 | ||
73ed17ff JJ |
3160 | 2005-08-23 Jakub Jelinek <jakub@redhat.com> |
3161 | ||
3162 | PR tree-optimization/22043 | |
3163 | * tree.h (count_type_elements): Add ALLOW_FLEXARR argument. | |
3164 | * expr.c (count_type_elements): Add ALLOW_FLEXARR argument. | |
3165 | If ALLOW_FLEXARR, handle types ending with flexible array member. | |
3166 | Pass false as second argument to recursive count_type_elements calls. | |
3167 | (categorize_ctor_elements_1, mostly_zeros_p): Pass false as second | |
3168 | argument to count_type_elements call. | |
3169 | * tree-sra.c (decide_block_copy): Likewise. | |
3170 | * gimplify.c (gimplify_init_constructor): If num_type_elements < 0 | |
3171 | for a constant-sized object, set cleared as well. Pass true as | |
3172 | second argument to count_type_elements call. | |
3173 | ||
18b10a72 AM |
3174 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
3175 | ||
3176 | PR target/21571 | |
3177 | * config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename | |
3178 | from legitimate_small_data_p, and make global. Update use. | |
3179 | Remove forward declaration. | |
3180 | * config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p): | |
3181 | Declare. | |
3182 | * config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems. | |
3183 | ||
d0515b39 DE |
3184 | 2005-08-23 David Edelsohn <edelsohn@gnu.org> |
3185 | ||
3186 | * config/rs6000/rs6000.md (eq<mode>): Use output operand instead | |
3187 | of scratch intermediates. | |
3188 | (eq<mode>_compare): Same. | |
3189 | (neg_eq0<mode>): New. | |
3190 | (neg_eq<mode>): Convert to define_insn_and_split. | |
3191 | ||
c1fa753e AM |
3192 | 2005-08-23 Alan Modra <amodra@bigpond.net.au> |
3193 | ||
3194 | PR target/23070 | |
3195 | * config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to | |
3196 | stdarg functions, set/clear the fp marker even when no variable | |
3197 | args are passed. | |
3198 | * config/rs6000/sysv4.opt (mprototype): Describe. | |
3199 | ||
27004606 JJ |
3200 | 2005-08-22 Jakub Jelinek <jakub@redhat.com> |
3201 | ||
3202 | PR rtl-optimization/23478 | |
3203 | * regs.h (reg_info): Add throw_calls_crossed. | |
3204 | (REG_N_THROWING_CALLS_CROSSED): Define. | |
3205 | * flow.c (allocate_reg_life_data): Initialize | |
3206 | REG_N_THROWING_CALLS_CROSSED. | |
3207 | (propagate_one_insn, attempt_auto_inc): Update | |
3208 | REG_N_THROWING_CALLS_CROSSED. | |
3209 | * global.c (global_alloc): Don't allocate pseudos across | |
3210 | calls that may throw. | |
3211 | ||
201ae393 AP |
3212 | 2005-08-22 Andrew Pinski <pinskia@physics.uc.edu> |
3213 | ||
3214 | PR c/18715 | |
3215 | * c-common.c (c_do_switch_warnings): Look for a node where the enum's | |
3216 | value is inbetween the range if we did not find an exact match. | |
3217 | ||
c85ba4fb AH |
3218 | 2005-08-22 Aldy Hernandez <aldyh@redhat.com> |
3219 | ||
3220 | * doc/invoke.texi (Option Summary): Add ms1 options. | |
3221 | * doc/extend.texi: Document interrupt handler attribute for ms1. | |
3222 | * doc/md.texi: Document ms1 constraints. | |
3223 | * config.gcc: Add ms1-*-elf. | |
3224 | * config/ms1/ms1.h: New. | |
3225 | * config/ms1/ms1.c: New. | |
3226 | * config/ms1/ms1.md: New. | |
3227 | * config/ms1/ms1-protos.h: New. | |
3228 | * config/ms1/ABI.txt: New. | |
3229 | * config/ms1/crti.asm: New. | |
3230 | * config/ms1/crtn.asm: New. | |
3231 | * config/ms1/lib2extra-funcs.c: New. | |
3232 | * config/ms1/t-ms1: New. | |
3233 | * config/ms1/ms1.opt: New. | |
3234 | ||
70a39602 IR |
3235 | 2005-08-22 Ira Rosen <irar@il.ibm.com> |
3236 | ||
3237 | * config/rs6000/altivec.md (xorv4sf3): New. | |
3238 | (negv4sf2, neg<mode>2): Likewise. | |
3239 | ||
85199961 L |
3240 | 2005-08-21 H.J. Lu <hongjiu.lu@intel.com> |
3241 | ||
3242 | PR target/23485 | |
3243 | * config/ia64/ia64.md (divsi3): Check divide by zero. | |
3244 | (udivsi3): Likewise. | |
3245 | (divdi3): Likewise. | |
3246 | (udivdi3): Likewise. | |
3247 | ||
1125164c JJ |
3248 | 2005-08-21 Jakub Jelinek <jakub@redhat.com> |
3249 | ||
3250 | * simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear | |
3251 | up to elem_bitsize bits, not max_bitsize. | |
3252 | ||
3c0c8f9d SP |
3253 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
3254 | ||
3255 | PR tree-optimization/23433 | |
85199961 L |
3256 | * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a |
3257 | REAL_CST when the type is SCALAR_FLOAT_TYPE_P. | |
3c0c8f9d | 3258 | |
a1596edc SP |
3259 | 2005-08-21 Sebastian Pop <pop@cri.ensmp.fr> |
3260 | ||
3261 | PR tree-optimization/23434 | |
85199961 L |
3262 | * tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when |
3263 | the iteration bound is not an INTEGER_CST. | |
a1596edc | 3264 | |
429268fc DN |
3265 | 2005-08-21 Dorit Nuzman <dorit@il.ibm.com> |
3266 | ||
3267 | * tree-vect-transform.c (get_initial_def_for_reduction): Set | |
3268 | need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to | |
3269 | NULL if need_epilog_adjust is false. | |
3270 | (vect_create_epilog_for_reduction): Variable adjust_in_epilog removed. | |
3271 | Case 3 always peels first itration, not just for PLUS case, and no need | |
3272 | to use scalar_initial_def here. Create an epilog adjustment only if | |
3273 | scalar_initial_def is not NULL. | |
3274 | ||
759915ca | 3275 | (vectorizable_reduction): Remove assert. |
429268fc | 3276 | |
eea1d14a L |
3277 | 2005-08-20 H.J. Lu <hongjiu.lu@intel.com> |
3278 | ||
3279 | PR target/23485 | |
3280 | * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero. | |
3281 | (__moddi3): Likewise. | |
3282 | (__udivdi3): Likewise. | |
3283 | (__umoddi3): Likewise. | |
3284 | (__divsi3): Likewise. | |
3285 | (__modsi3): Likewise. | |
3286 | (__udivsi3): Likewise. | |
3287 | (__umodsi3): Likewise. | |
3288 | ||
5e34206b JJ |
3289 | 2005-08-20 Jakub Jelinek <jakub@redhat.com> |
3290 | ||
3291 | * tree-pass.h (TDF_GRAPH): Define. | |
3292 | * tree-dump.c (dump_options): Don't set TDF_GRAPH in "all". | |
3293 | * passes.c (finish_optimization_passes): Only call | |
3294 | finish_graph_dump_file if TDF_GRAPH is set. | |
3295 | (execute_one_pass): Only call clean_graph_dump_file if dump_file != | |
3296 | NULL. Set TDF_GRAPH bit. | |
3297 | (execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set. | |
3298 | ||
2591db65 RE |
3299 | 2005-08-20 Richard Earnshaw <richard.earnshaw@arm.com> |
3300 | ||
3301 | * arm.h (arm_stack_offsets): Add locals_base field. | |
3302 | * arm.c (arm_get_frame_offsets): Compute it. | |
3303 | (thumb_compute_initial_elimination offset): Make the Thumb frame | |
3304 | pointer point to the base of the local variables. | |
3305 | (thumb_expand_prologue): Update accordingly. | |
3306 | (thumb_expand_epilogue): Likewise. | |
3307 | ||
3308 | * arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change | |
3309 | mode of clobbered scratch to DImode. Handle a case that's known to | |
3310 | need this. | |
3311 | ||
fc437ce9 DE |
3312 | 2005-08-19 David Edelsohn <edelsohn@gnu.org> |
3313 | ||
3314 | * config/rs6000/rs6000.md (gt0<mode>): Delete. | |
3315 | (gt0<mode>_compare): Delete. | |
3316 | (neg_gt0<mode>): Delete. | |
3317 | ||
c414ac1d EC |
3318 | 2005-08-19 Eric Christopher <echristo@apple.com> |
3319 | ||
3320 | * optabs.h: Change CTI_ to COI_. | |
3321 | * optabs.c: Ditto. | |
3322 | ||
c8f27794 JW |
3323 | 2005-08-19 James E Wilson <wilson@specifix.com> |
3324 | ||
3325 | * builtins.c (expand_builtin_return_addr): Set | |
3326 | current_function_accesses_prior_frames when count != 0. Use | |
3327 | frame_pointer_rtx when count == 0. | |
3328 | * function.h (struct function): Add accesses_prior_frames field. | |
3329 | (current_function_accesses_prior_frames): Define. | |
3330 | * reload1.c (init_elim_table): Check | |
3331 | current_function_accesses_prior_frames. | |
3332 | * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs. | |
3333 | ||
e3594cb3 DN |
3334 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
3335 | ||
3336 | * tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change | |
3337 | indicator. Return true if the flowgraph changed during | |
3338 | cleanup. | |
3339 | ||
52270a3c DN |
3340 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
3341 | ||
3342 | PR 23476 | |
3343 | * tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the | |
3344 | conditional expression before testing its value. | |
3345 | ||
5c1c631e DN |
3346 | 2005-08-19 Diego Novillo <dnovillo@redhat.com> |
3347 | ||
3348 | * doc/invoke.texi: Fix documentation for -ftree-dominator-opts. | |
3349 | ||
3d91803a DP |
3350 | 2005-08-19 Devang Patel <dpatel@apple.com> |
3351 | ||
3352 | PR tree-optimization/23048 | |
3353 | * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as | |
3354 | third parameter. Check whether latch is dominated by exit | |
3355 | block or not. | |
3356 | (if_convertible_loop_p): Supply exit block itself to | |
3357 | if_convertible_bb_p. | |
c414ac1d | 3358 | |
e55ef7f4 RE |
3359 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
3360 | ||
3361 | PR target/23473 | |
3362 | * arm.md (arm_load_pic_register): Change argument to the mask of | |
c414ac1d | 3363 | saved registers. Call thumb_find_work_register if we need a |
e55ef7f4 | 3364 | scratch register on Thumb. |
c414ac1d | 3365 | (arm_expand_prologue): Pass empty register set to |
e55ef7f4 RE |
3366 | arm_load_pic_register. |
3367 | (thumb_expand_prologue): Pass live_regs_mask directly to | |
3368 | arm_load_pic_register. | |
3369 | * arm-protos.h (arm_load_pic_register): Update prototype. | |
3370 | ||
d102596b JR |
3371 | 2005-08-19 J"orn Rennecke <joern.rennecke@st.com> |
3372 | ||
3373 | * sh.c (find_sole_member): New function. | |
3374 | (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch | |
3375 | if the record's alignment is larger than the size of its only member. | |
3376 | ||
a132dad6 RE |
3377 | 2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com> |
3378 | ||
3379 | PR target/23436 | |
3380 | * arm.c (thumb_legitimize_reload_address): New function. | |
3381 | * arm-protos.h (thumb_legitimize_reload_address): Add prototype. | |
3382 | * arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it. | |
3383 | ||
4221d00a PW |
3384 | 2005-08-19 Paul Woegerer <paul.woegerer@nsc.com> |
3385 | ||
3386 | * config/crx/crx.c: Implement crx_decompose_address. Reject | |
3387 | symbolic displacements since CRX register relative adressing | |
3388 | mode can't handle unsigned 32-bit values as displacements. | |
3389 | * config/crx/crx.h: Simplify definitions, remove redundant | |
3390 | parenthesis and obsolete macros. | |
3391 | * config/crx/crx.opt: Add new switch for debugging addresses. | |
3392 | * config/crx/crx-protos.h: Add new declarations for above. | |
3393 | ||
1581a9a1 AP |
3394 | 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> |
3395 | ||
3396 | PR middle-end/20624 | |
3397 | * gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by | |
3398 | looking past it. | |
3399 | ||
52a6edcc KG |
3400 | 2005-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3401 | ||
3402 | * collect2.c (dup2): Delete. | |
3403 | * configure.ac: Don't check for dup2. | |
3404 | ||
3405 | * config.in, configure: Regenerate. | |
3406 | ||
8a2209bf R |
3407 | 2005-08-18 J"orn Rennecke <joern.rennecke@st.com> |
3408 | ||
3409 | * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE | |
3410 | record with the type of its only member. | |
3411 | ||
1e24ce83 DE |
3412 | 2005-08-18 David Edelsohn <edelsohn@gnu.org> |
3413 | ||
3414 | * config/rs6000/rs6000.md (ltu<mode>_compare): Convert to | |
3415 | define_insn_and_split. | |
3416 | (plus_ltu<mode>_compare): Same. | |
3417 | (gtu<mode>_compare): Same. | |
3418 | (plus_gtu<mode>_compare): Same. | |
3419 | ||
90ff949f DN |
3420 | 2005-08-18 Dorit Nuzman <dorit@il.ibm.com> |
3421 | ||
3422 | PR tree-optimization/22228 | |
1e24ce83 DE |
3423 | * tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to |
3424 | todo_flags_start. | |
90ff949f DN |
3425 | * tree-vect-transform.c (vect_transform_loop): Mark the variables that |
3426 | are recorded in vect_vnames_to_rename for renaming. | |
3427 | * tree-vectorizer.c (vect_vnames_to_rename): New global bitmap. | |
3428 | (slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming | |
3429 | in vect_vnames_to_rename. | |
3430 | (vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap. | |
3431 | * tree-vectorizer.h (vect_vnames_to_rename): New extern variable. | |
3432 | ||
f17db6cd JH |
3433 | 2005-08-18 Jan Hubicka <jh@suse.cz> |
3434 | ||
3435 | PR c++/22034 | |
3436 | * cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug | |
3437 | info only for local statics, not for member variables. | |
3438 | ||
4286d8ce VR |
3439 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3440 | ||
3441 | * tree-data-ref.c (analyze_siv_subscript_cst_affine): Fix comment typo. | |
3442 | ||
b06df647 VR |
3443 | 2005-08-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3444 | ||
3445 | * c-typeck.c (designator_errorneous): Rename to designator_erroneous. | |
3446 | ||
75634129 AP |
3447 | 2005-08-18 Andrew Pinski <pinskia@physics.uc.edu> |
3448 | ||
3449 | PR middle-end/16045 | |
3450 | * builtins.c (fold_builtin): Create a new NOP_EXPR all the time. | |
3451 | ||
9bc2a5cb JW |
3452 | 2005-08-17 James E Wilson <wilson@specifix.com> |
3453 | ||
3454 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
3455 | array size check. | |
3456 | ||
a2dba291 DE |
3457 | 2005-08-17 David Edelsohn <edelsohn@gnu.org> |
3458 | ||
3459 | * config/rs6000/rs6000.md (leu<mode>): Convert to mode macro. | |
3460 | (leu<mode>_compare): Same. | |
3461 | (plus_leu<mode>): Same. | |
3462 | (neg_leu<mode>): Same. | |
3463 | (and_neg_leu<mode): Same. | |
3464 | (ltu<mode>_compare): Same. | |
3465 | (plus_ltu<mode>): Same. | |
3466 | (geu<mode>): Same. | |
3467 | (geu<mode>_compare): Same. | |
3468 | (plus_geu<mode>): Same. | |
3469 | (neg_geu<mode>): Same. | |
3470 | (and_neg_geu<mode>): Same. | |
3471 | (plus_gt<mode>): Same. | |
3472 | (gtu<mode>_compare): Same. | |
3473 | (plus_gtu<mode>): Same. | |
3474 | ||
aa29dfeb | 3475 | 2005-08-17 Erik Christiansen <erik@dd.nec.com.au> |
c414ac1d | 3476 | |
aa29dfeb EC |
3477 | * config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos. |
3478 | Move call_table_data to end. Delete spurious .text. | |
3479 | (callt_save_all_interrupt): Fix comment typo. | |
3480 | ||
90e0c734 JW |
3481 | 2005-08-17 James E Wilson <wilson@specifix.com> |
3482 | Kevin Winchester <winchester@amirix.com> | |
3483 | ||
3484 | PR target/21684 | |
3485 | * config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0. | |
3486 | ||
87bb8864 UB |
3487 | 2005-08-17 Uros Bizjak <uros@kss-loka.si> |
3488 | ||
3489 | PR target/23268 | |
3490 | * config/i386/i386.md ("*fist<mode>2_1"): New pattern. | |
3491 | ("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern. | |
3492 | ||
dd0ae678 R |
3493 | 2005-08-17 J"orn Rennecke <joern.rennecke@st.com> |
3494 | ||
8a2209bf R |
3495 | * sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE |
3496 | record with the type of its only member if the modes don't match. | |
3497 | ||
a2dba291 | 3498 | * varasm.c (decode_reg_name): Skip empty additional register names. |
dd0ae678 | 3499 | |
d28cbb07 ZD |
3500 | 2005-08-16 Zdenek Dvorak <dvorakz@suse.cz> |
3501 | ||
3502 | * tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name, | |
3503 | lsm_tmp_name_length): New. | |
3504 | (lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions. | |
3505 | (schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp". | |
3506 | ||
39bd07e8 UW |
3507 | 2005-08-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3508 | Andreas Krebbel <krebbel1@de.ibm.com> | |
3509 | ||
3510 | * config.gcc: Added z9-109 switch. | |
3511 | * config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl", | |
3512 | "x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi", | |
c414ac1d EC |
3513 | "x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other", |
3514 | "x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf", | |
39bd07e8 UW |
3515 | "x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable |
3516 | for "z9_109" cpu attribute. | |
3517 | * config/s390/s390.c (z9_109_cost): New processor cost structure. | |
3518 | (CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros. | |
3519 | (s390_handle_arch_option): Added z9-109 switch. | |
3520 | (override_options): Set respective cost function for z9-109. | |
3521 | (s390_const_ok_for_constraint_p): New constraints Os, Op, On. | |
3522 | (legitimate_reload_constant_p): Accept extended immediates. | |
3523 | (print_operand): Three new output modifiers added: k, m and o. | |
3524 | (s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990. | |
3525 | (s390_output_mi_thunk): Use extended immediate when possible. | |
3526 | * config/s390/s390.h (processor_flags): Added PF_EXTIMM. | |
3527 | (TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros. | |
3528 | (CONSTRAINT_LEN): Added length of O constraint. | |
3529 | (CLZ_DEFINED_VALUE_AT_ZERO): Definition added. | |
3530 | * config/s390/s390.md ("cpu"): New value z9_109 added. | |
c414ac1d | 3531 | ("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm", |
39bd07e8 UW |
3532 | "*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm", |
3533 | "*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm", | |
3534 | "*zero_extend<mode>si2_extimm", "*anddi3_extimm", "*iordi3_extimm", | |
3535 | "*xordi3_extimm", "clzdi2", "clztidi2"): New patterns. | |
3536 | ("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2", | |
3537 | "*zero_extend<mode>si2_64", "zero_extendqihi2", "*zero_extendqihi2_64", | |
3538 | "*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM. | |
3539 | ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu", | |
3540 | "*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc", | |
3541 | "*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc", | |
3542 | "*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3", | |
3543 | "*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc", | |
3544 | "*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly", | |
c414ac1d | 3545 | "*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended |
39bd07e8 UW |
3546 | immediates. |
3547 | ("extend<mode>di2", "extend<mode>si2", "zero_extend<mode>di2", | |
3548 | "zero_extend<mode>si2"): Allow memory operands and don't manually emit | |
3549 | insns for TARGET_EXTIMM. | |
3550 | ||
33d2e547 AK |
3551 | 2005-08-17 Andreas Krebbel <krebbel1@de.ibm.com> |
3552 | ||
3553 | * testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options. | |
3554 | ||
e5eb9a52 NC |
3555 | 2005-08-17 Nick Clifton <nickc@redhat.com> |
3556 | ||
3557 | * config/stormy16/stormy16.c (xstormy16_encode_section_info): | |
3558 | Call default_encode_section_info. | |
3559 | ||
a318e3ac SB |
3560 | 2005-08-17 Steven Bosscher <stevenb@suse.de> |
3561 | ||
3562 | PR tree-optimization/21574 | |
3563 | * tree-ssa-ccp.c (likely_value): If the right hand side is a | |
3564 | constant, return CONSTANT. | |
3565 | (ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal. | |
3566 | (ccp_fold, visit_assignment): Likewise. | |
3567 | (evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way. | |
3568 | ||
00d1b1d6 JM |
3569 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
3570 | ||
3571 | * c-typeck.c (build_function_call): Call fold_buildN_initializer or | |
3572 | fold_buildN instead of buildN then fold_initializer or fold. | |
3573 | (build_unary_op): Likewise. | |
3574 | (build_binary_op): Likewise. | |
3575 | * fold-const.c (fold_initializer): Remove. | |
3576 | (fold_build1_initializer): New function. | |
3577 | (fold_build2_initializer): New function. | |
3578 | (fold_build3_initializer): New function. | |
3579 | * tree.h (fold_initializer): Remove. | |
3580 | (fold_build1_initializer): New function. | |
3581 | (fold_build2_initializer): New function. | |
3582 | (fold_build3_initializer): New function. | |
3583 | ||
f457cf40 JM |
3584 | 2005-08-16 James A. Morrison <phython@gcc.gnu.org> |
3585 | ||
3586 | * fold-const.c (optimize_bit_field_compare): Remove extra fold call. | |
3587 | (try_move_mult_to_index): Call fold_build2 instead of build2. | |
3588 | (fold_binary): Don't call fold after calls to try_move_mult_to_index. | |
3589 | * tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of | |
3590 | fold_binary_to_constant. | |
3591 | (infer_loop_bounds_from_undefined): Call fold_build2 instead of | |
3592 | fold (build. | |
3593 | * tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to | |
3594 | check if A == gcd (A, B). Remove TYPE argument. | |
3595 | (analyze_offset) Use fold_build2 instead of fold (build. | |
3596 | (create_data_ref): Likewise. | |
3597 | (analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p. | |
3598 | * tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2 | |
3599 | then fold. | |
3600 | ||
4c617d12 KC |
3601 | 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> |
3602 | ||
3603 | * config/arm/unaligned-funcs.c,config/i386/crtfastmath.c, | |
3604 | ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address. | |
3605 | ||
d06526b7 AP |
3606 | 2005-08-16 Andrew Pinski <pinskia@physics.uc.edu> |
3607 | ||
3608 | PR tree-opt/23402 | |
3609 | * gimplify.c (zero_sized_type): New function. | |
3610 | (gimplify_modify_expr_rhs): If we have a zero sized type, | |
3611 | replace the statement with an empty statement. | |
3612 | ||
e9e68ae3 L |
3613 | 2005-08-16 H.J. Lu <hongjiu.lu@intel.com> |
3614 | ||
3615 | * config/i386/crtfastmath.c (set_fast_math): Add "=m" for | |
3616 | fxsave. | |
3617 | ||
e374d5c9 ILT |
3618 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
3619 | ||
3620 | * doc/tm.texi (Label Output): Correct typo. | |
3621 | ||
f2dd440f SB |
3622 | 2005-08-16 Steven Bosscher <stevenb@suse.de> |
3623 | ||
3624 | PR target/23376 | |
3625 | * loop-unroll.c (analyze_insn_to_expand_var): Make sure that | |
3626 | force_operand will work later on using have_insn_for. | |
3627 | ||
196f5a8d VR |
3628 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3629 | ||
3630 | * fold-const.c (tree_expr_nonnegative_p): Regroup cases. | |
3631 | ||
cf0efa6a ILT |
3632 | 2005-08-16 Ian Lance Taylor <ian@airs.com> |
3633 | ||
3634 | PR c++/23337 | |
3635 | * gimplify.c (gimplify_init_ctor_eval): If we see an element of | |
3636 | vector type, don't try to construct it element by element. Add an | |
3637 | assertion that we use a FIELD_DECL when building a COMPONENT_REF. | |
3638 | ||
3a69437a VR |
3639 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3640 | ||
3641 | * fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR. | |
3642 | ||
17ccdd2c GK |
3643 | 2005-08-16 Geoffrey Keating <geoffk@apple.com> |
3644 | ||
3645 | * doc/invoke.texi (Precompiled Headers): Document some more options | |
3646 | which are known to be safe. | |
3647 | ||
355a9e43 JW |
3648 | 2005-08-16 James E Wilson <wilson@specifix.com> |
3649 | ||
3650 | PR tree-optimization/21105 | |
3651 | * c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in | |
3652 | TREE_OVERFLOW check. | |
3653 | ||
ce45ef46 DE |
3654 | 2005-08-16 David Edelsohn <edelsohn@gnu.org> |
3655 | ||
3656 | * config/rs6000/rs6000.md (ltu<mode>): Convert to mode macro. | |
3657 | (neg_ltu<mode>): Same. | |
3658 | (gtu<mode>): Same. | |
3659 | (neg_gtu<mode>): Same. | |
3660 | ||
543e2cc3 VR |
3661 | 2005-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
3662 | ||
3663 | * builtins.c (expand_builtin_strcat): Remove superfluous call to fold. | |
3664 | (fold_builtin_isdigit): Use fold_buildN. | |
3665 | (build_function_call_expr): Likewise. | |
3666 | * c-typeck.c (c_finish_loop): Likewise. | |
3667 | ||
28f52a4d | 3668 | 2005-08-16 J"orn Rennecke <joern.rennecke@st.com> |
85199961 | 3669 | Richard Shann <rshann@superh.com> |
28f52a4d R |
3670 | |
3671 | PR middle-end/20396: | |
3672 | * optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account. | |
3673 | ||
546ad2d9 SP |
3674 | 2005-08-16 Sebastian Pop <pop@cri.ensmp.fr> |
3675 | ||
3676 | * tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment. | |
3677 | ||
39c39be0 RE |
3678 | 2005-08-15 Richard Earnshaw <richard.earnshaw@arm.com> |
3679 | ||
3680 | PR target/23355 | |
c414ac1d | 3681 | * arm.c (thumb_compute_save_reg_mask): Use similar logic to |
39c39be0 RE |
3682 | arm_compure_save_reg0_reg12_mask to determine when the PIC register |
3683 | must be saved. | |
3684 | ||
f60c951c JDA |
3685 | 2005-08-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3686 | ||
3687 | PR middle-end/23369 | |
3688 | * fold-const.c (build_range_check): Disable optimization for function | |
3689 | pointer expressions on targets that require function pointer | |
3690 | canonicalization. | |
3691 | ||
5b5dc475 UW |
3692 | 2005-08-15 Ulrich Weigand <uweigand@de.ibm.com> |
3693 | ||
3694 | * simplify-rtx.c (simplify_const_relational_operation): When | |
3695 | extracting arguments of a COMPARE, recompute the mode as well. | |
3696 | ||
1595ec20 ILT |
3697 | 2005-08-15 Ian Lance Taylor <ian@airs.com> |
3698 | ||
3699 | * tree.c (build_string): Mark tree CONSTANT and INVARIANT. | |
3700 | ||
eb5f0c07 DD |
3701 | 2005-08-15 DJ Delorie <dj@redhat.com> |
3702 | ||
3703 | * config/m32c/mov.md (movqi_op): Immediates can't be moved to | |
3704 | the stack. | |
3705 | (movsi_splittable): Allow, but split, moves to the stack. | |
3706 | * config/m32c/m32c.c (m32c_split_move): Always split moves to the | |
3707 | stack. | |
3708 | ||
06145cb9 KG |
3709 | 2005-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3710 | ||
3711 | * aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete. | |
3712 | * configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR. | |
3713 | * system.h (HOST_PTR_PRINTF): Don't define, poison it. | |
c414ac1d | 3714 | |
06145cb9 KG |
3715 | * bitmap.c, c-decl.c, config/i386/i386-interix.h, |
3716 | config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c: | |
3717 | Delete HOST_PTR_PRINTF. | |
3718 | ||
3719 | * configure, config.in: Regenerate. | |
3720 | ||
b5568f07 DE |
3721 | 2005-08-15 David Edelsohn <edelsohn@gnu.org> |
3722 | ||
3723 | * config/rs6000/rs6000.md (QHSI): New mode macro. | |
3724 | (wd): Extend mode attr for QImode and HImode | |
3725 | (dbits): New mode attr. | |
3726 | (zero_extend<mode>di2): Convert to mode macro. | |
3727 | ||
a73035ae SE |
3728 | 2005-08-15 Steve Ellcey <sje@cup.hp.com> |
3729 | ||
3730 | PR target/21841 | |
3731 | * doc/invoke.texi (-mgnu-ld): Update description. | |
3732 | (-mhp-ld): Ditto. | |
3733 | ||
7e0923cd SP |
3734 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
3735 | ||
3736 | PR 23391 | |
3737 | * Makefile.in (tree-chrec.o): Depends on real.h. | |
3738 | * tree-chrec.c: Include real.h. | |
3739 | (chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly, | |
3740 | chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P. | |
3741 | * tree-scalar-evolution.c (add_to_evolution_1, | |
3742 | interpret_rhs_modify_expr): Ditto. | |
3743 | ||
852c19aa SP |
3744 | 2005-08-15 Sebastian Pop <pop@cri.ensmp.fr> |
3745 | ||
3746 | PR 23386 | |
3747 | * tree-data-ref.c (estimate_niter_from_size_of_data): When | |
3748 | step is negative compute the estimation from init downwards to zero. | |
c414ac1d | 3749 | |
b23dce24 JM |
3750 | 2005-08-14 James A. Morrison <phython@gcc.gnu.org> |
3751 | ||
3752 | * fold-const (fold_binary): Call fold_build2 instead of fold (build. | |
3753 | ||
11598938 UW |
3754 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
3755 | ||
3756 | * config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P' | |
3757 | constraint. | |
3758 | (legitimate_reload_constant_p): Fix handling of lliXX operands. | |
3759 | Accept double-word constants that can be split. | |
3760 | * config/s390/s390.md ("movti"): Use 'P' constraint. | |
3761 | ("*movdi_31", "*movdf_31"): Likewise. | |
3762 | ||
8971094d DB |
3763 | 2005-08-14 Daniel Berlin <dberlin@dberlin.org> |
3764 | ||
3765 | Fix PR tree-optimization/22615 | |
c414ac1d | 3766 | |
8971094d | 3767 | * tree-ssa-structalias.c (solution_set_add): Handle |
c414ac1d | 3768 | first_vi_for_offset returning NULL. |
8971094d DB |
3769 | (do_da_constraint): Ditto. |
3770 | (do_sd_constraint): Ditto. | |
3771 | (do_ds_constraint): Ditto | |
3772 | (find_func_aliases): Ditto. | |
3773 | (build_constraint_graph): RHS is allowed be ANYTHING. | |
3774 | (first_vi_for_offset): Return NULL if we couldn't find anything at | |
3775 | the offset. | |
c414ac1d | 3776 | |
c5b2a111 UW |
3777 | 2005-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
3778 | ||
3779 | * config/s390/s390.c (s390_canonicalize_comparison): Prefer register | |
3780 | over memory as first operand. | |
3781 | ||
adb7b764 L |
3782 | 2005-08-14 H.J. Lu <hongjiu.lu@intel.com> |
3783 | ||
3784 | PR target/23360 | |
3785 | * config/i386/crtfastmath.c (set_fast_math): Check if DAZ is | |
3786 | available for setting it. | |
3787 | ||
1f400bbb IR |
3788 | 2005-08-14 Ira Rosen <irar@il.ibm.com> |
3789 | ||
3790 | PR tree-optimization/23320 | |
c414ac1d EC |
3791 | * tree-data-ref.c (base_addr_differ_p): Add comment. Check |
3792 | data-refs' types instead of base object nullness. Add check for | |
3793 | pointer type data-refs before first location comparison. Remove | |
1f400bbb IR |
3794 | assert. |
3795 | ||
db875b15 AS |
3796 | 2005-08-14 Andreas Schwab <schwab@suse.de> |
3797 | ||
3798 | * doc/md.texi (Machine Constraints): Fix misplaced @end table. | |
3799 | ||
0aca9021 JW |
3800 | 2005-08-13 James E Wilson <wilson@specifix.com> |
3801 | ||
3802 | * doc/cpp.texi (__SSP__, __SSP_ALL__): Document. | |
3803 | * doc/invoke.texi (-Wstack-protector, -fstack-protector, | |
3804 | -fstack-protector-all, --param ssp-buffer-size): Document. | |
3805 | (-Wvariadic-macros): Alphabetize. | |
3806 | (-fsched-stalled-insns-dep): Add missing 'f'. | |
3807 | ||
0ffb94cd JW |
3808 | * c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect |
3809 | macros. | |
3810 | ||
3256a76e DE |
3811 | 2005-08-13 David Edelsohn <edelsohn@gnu.org> |
3812 | ||
3813 | * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed | |
3814 | or indirect address operand. | |
3815 | (EXTRA_ADDRESS_CONSTRAINT): New. | |
3816 | * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a". | |
3817 | ||
d7770457 SP |
3818 | 2005-08-13 Sebastian Pop <pop@cri.ensmp.fr> |
3819 | ||
3820 | PR tree-optimization/22236 | |
3821 | * tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print | |
3822 | successors and predecessors. | |
3823 | * tree-chrec.c (chrec_convert): Before converting, check that | |
3824 | sequences don't wrap. | |
3825 | * tree-data-ref.c (compute_estimated_nb_iterations): Moved ... | |
3826 | (analyze_array): Extern. | |
3827 | (find_data_references_in_loop): Remove call to | |
3828 | compute_estimated_nb_iterations. | |
3829 | * tree-data-ref.h (analyze_array): Declared. | |
3830 | * tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand, | |
3831 | single_ssa_def_operand, zero_ssa_operands): Fix documentation. | |
3832 | * tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter. | |
c414ac1d | 3833 | * tree-scalar-evolution.c (instantiate_parameters_1): Factor entry |
d7770457 SP |
3834 | condition. |
3835 | * tree-ssa-loop-ivcanon.c: Fix documentation. | |
3836 | * tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note. | |
3837 | * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here. | |
3838 | (infer_loop_bounds_from_undefined): New. | |
3839 | (estimate_numbers_of_iterations_loop): Use | |
3840 | infer_loop_bounds_from_undefined. | |
3841 | (used_in_pointer_arithmetic_p): New. | |
3842 | (scev_probably_wraps_p): Pass an extra parameter. Call | |
3843 | used_in_pointer_arithmetic_p. Check that AT_STMT is not null. | |
3844 | (convert_step): Fix documentation. | |
3845 | * tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters. | |
3846 | Use initial_condition_in_loop_num and evolution_part_in_loop_num | |
3847 | instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to | |
3848 | scev_probably_wraps_p. | |
3849 | ||
e2df5c1d UW |
3850 | 2005-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
3851 | ||
3852 | * config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change. | |
3853 | (s390_register_info): Ignore clobbered_regs information for fixed | |
3854 | registers, and only fixed registers. | |
3855 | (s390_init_frame_layout): Remove redundant call. | |
3856 | ||
7cd5c075 GP |
3857 | 2005-08-12 Gerald Pfeifer <gerald@pfeifer.com> |
3858 | ||
c414ac1d | 3859 | * doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to |
7cd5c075 GP |
3860 | description of -Wold-style-casts. |
3861 | ||
7b8acc34 AK |
3862 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3863 | Jakub Jelinek <jakub@redhat.com> | |
3864 | ||
3865 | * config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define. | |
3866 | * config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added. | |
3867 | * config/s390/s390.c (print_operand): New output modifier 'G' added. | |
3868 | (get_thread_pointer): Renamed to s390_get_thread_pointer. | |
3869 | * config/s390/s390.md (stack_protect_set, stack_protect_test): If | |
3870 | TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to | |
3871 | (MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))). | |
3872 | (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
3873 | ("stack_protect_set", "stack_protect_test"): New expanders. | |
3874 | ("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi", | |
3875 | "stack_protect_testdi"): New insn definitions. | |
3876 | ||
4700982d AK |
3877 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3878 | ||
3879 | * config/s390/s390.md ("*movdf_31"): Changed constraint from P to K. | |
3880 | ||
3c60bed5 PB |
3881 | 2005-08-12 Paul Brook <paul@codesourcery.com> |
3882 | ||
3883 | * config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set. | |
3884 | ||
f83a336d AK |
3885 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3886 | ||
3887 | * config/s390/predicates.md (setmem_operand): New predicate. | |
3888 | (shift_count_operand): Accept ANDs with special constants as | |
3889 | operand. | |
3890 | * config/s390/s390.c (print_shift_count_operand): Skip ANDs | |
3891 | with special constants. | |
3892 | * config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced | |
3893 | shift_count_operand with setmem_operand. | |
3894 | ||
c4d50129 AK |
3895 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3896 | ||
3897 | * config/s390/s390.c (s390_extract_part, s390_single_part): | |
3898 | Type cast added. | |
3899 | (s390_const_ok_for_constraint_p): Added SImode to the N constraint. | |
3900 | (s390_output_mi_thunk): Don't use lg on 31 bit. | |
3901 | * config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy. | |
3902 | ("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH. | |
3903 | ||
b5c67a49 AK |
3904 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3905 | ||
3906 | * config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros. | |
3907 | (s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p, | |
3908 | s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue, | |
3909 | s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P | |
3910 | with one of the new macros. | |
3911 | ||
dc4477f5 AK |
3912 | 2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
3913 | ||
c414ac1d | 3914 | * config/s390/s390.c (s390_split_branches, s390_init_frame_layout): |
dc4477f5 AK |
3915 | Don't set save_return_addr_p. |
3916 | (s390_register_info): Make clobbered_regs not depending on | |
3917 | save_return_addr_p. | |
3918 | ||
ec92bd4b KK |
3919 | 2005-08-12 Kaz Kojima <kkojima@gcc.gnu.org> |
3920 | ||
3921 | * gcc.c (LINK_SSP_SPEC): Remove space before a trailing }. | |
3922 | (LINK_COMMAND_SPEC): Add space after %(link_ssp). | |
3923 | ||
8c2efff7 JW |
3924 | 2005-08-11 James E. Wilson <wilson@specifix.com> |
3925 | ||
3926 | * config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New. | |
3927 | ||
ea93971a JJ |
3928 | 2005-08-11 Jakub Jelinek <jakub@redhat.com> |
3929 | ||
86bd8ebf JJ |
3930 | * dwarf2out.c (add_location_or_const_value_attribute): Prefer |
3931 | locations gathered by var-tracking in single entry loc_list | |
3932 | over loc_descriptor_from_tree. | |
3933 | ||
ea93971a JJ |
3934 | * dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument, |
3935 | pass it down to loc_descriptor. | |
3936 | (loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor. | |
3937 | (containing_function_has_frame_base): Move earlier in the file. | |
3938 | (loc_descriptor_from_tree_1): Use containing_function_has_frame_base | |
3939 | instead of always assuming fbreg can't be used. | |
3940 | ||
dec1f3aa DE |
3941 | 2005-08-11 David Edelsohn <edelsohn@gnu.org> |
3942 | ||
3943 | * config/rs6000/altivec.md: Change constraint "m" to "Z". | |
3944 | * config/rs6000/predicates.md (indexed_or_indirect_operand): | |
3945 | Accept address wrapped in AND for Altivec. | |
3946 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): | |
3947 | Strip AND wrapping offset address for Altivec. | |
3948 | ||
7fd6694b RH |
3949 | 2005-08-11 Richard Henderson <rth@redhat.com> |
3950 | ||
3951 | PR middle-end/23312 | |
3952 | * gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE | |
3953 | before using TYPE_IS_SIZETYPE. | |
3954 | ||
4ead2a39 RH |
3955 | 2005-08-11 Richard Henderson <rth@redhat.com> |
3956 | ||
3957 | PR target/22225 | |
3958 | * config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for | |
3959 | insn types not present on ev4. | |
3960 | (alphaev5_insn_pipe): Similarly. | |
3961 | ||
da8ce8be RE |
3962 | 2005-08-11 Richard Earnshaw <richard.earnshaw@arm.com> |
3963 | ||
3964 | PR target/23250 | |
3965 | * arm.c (arm_override_options): If the user has selected callee-super- | |
3966 | interworking, then enable normal interworking. | |
3967 | ||
eb2b0cc0 RO |
3968 | 2005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3969 | ||
3970 | * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before | |
3971 | redefinition. | |
3972 | ||
b630e240 WZ |
3973 | 2005-08-11 Wu Zhou <woodzltc@cn.ibm.com> |
3974 | ||
3975 | * doc/rtl.texi: Fix two typos. | |
3976 | ||
cac32996 RG |
3977 | 2005-08-11 Richard Guenther <rguenther@suse.de> |
3978 | ||
3979 | PR target/23289 | |
3980 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Handle | |
3981 | cases where we call to/from functions returning void. | |
3982 | ||
a4faac50 JM |
3983 | 2005-08-10 James A. Morrison <phython@gcc.gnu.org> |
3984 | ||
3985 | PR c++/23225 | |
3986 | * tree.c (build_pointer_type_for_mode): Robustify. | |
3987 | ||
907f033f JW |
3988 | 2005-08-10 James E Wilson <wilson@specifix.com> |
3989 | ||
3990 | * defaults.h, config/alpha/alpha.h, config/ia64/ia64.h | |
3991 | (ASM_OUTPUT_ADDR_VEC_ELT): Delete. | |
3992 | ||
3993 | * config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to | |
3994 | "cum->". | |
3995 | ||
bb8df8a6 EC |
3996 | 2005-08-10 Eric Christopher <echristo@apple.com> |
3997 | ||
3998 | * config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite. | |
3999 | * config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use | |
4000 | V2DFmode. | |
4001 | ||
4f8dbd34 AP |
4002 | 2005-08-10 Andrew Pinski <pinskia@physics.uc.edu> |
4003 | ||
ce31ea84 | 4004 | PR target/21887 |
4f8dbd34 AP |
4005 | * config/darwin.c (machopic_indirect_data_reference): Use a new register |
4006 | for the high part when generating dynamic-no-pic code. | |
4007 | ||
d75e02d6 L |
4008 | 2005-08-10 H.J. Lu <hongjiu.lu@intel.com> |
4009 | ||
4010 | * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file. | |
4011 | (x86_64-*-linux*): Likewise. | |
4012 | ||
4013 | * config/i386/crtfastmath.c: New file. | |
4014 | * config/i386/t-crtfm: Likewise. | |
4015 | ||
4016 | * config/i386/linux.h (ENDFILE_SPEC): New. | |
4017 | * config/i386/linux64.h (ENDFILE_SPEC): Likewise. | |
4018 | ||
4019 | * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add | |
4020 | crtfastmath.o. | |
4021 | ||
61abee65 DN |
4022 | 2005-08-10 Dorit Nuzman <dorit@il.ibm.com> |
4023 | ||
4024 | * doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus): | |
4025 | (vec_shl, vec_shr): Document new operations. | |
4026 | * tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment. | |
4027 | ||
11aac14f DE |
4028 | 2005-08-10 David Edelsohn <edelsohn@gnu.org> |
4029 | ||
4030 | * config/rs6000/predicates.md (indexed_or_indirect_address): New. | |
4031 | * config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and | |
4032 | change predicate to indexed_or_indirect_address. | |
4033 | ||
9bd05108 RS |
4034 | 2005-08-10 Richard Sandiford <richard@codesourcery.com> |
4035 | ||
4036 | * config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases. | |
4037 | * config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv, | |
4038 | __aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4 | |
4039 | and __aeabi_uwrite8. | |
4040 | * config/arm/unaligned-funcs.c: New file. | |
4041 | * config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c. | |
4042 | ||
defb77dc PB |
4043 | 2005-08-09 Paolo Bonzini <bonzini@gnu.org> |
4044 | ||
4045 | * bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks): | |
4046 | Add dump. | |
4047 | * cfglayout.c (pass_insn_locators_initialize): Add dump. | |
4048 | * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): | |
4049 | Add dump. | |
4050 | * except.c (pass_convert_to_eh_region_ranges): Add dump. | |
4051 | * final.c (pass_shorten_branches): Add dump. | |
4052 | * flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump. | |
4053 | (pass_life): Rename dump. | |
4054 | (rest_of_handle_flow2): Remove initial verify_flow_info. | |
4055 | * function.c (pass_instantiate_virtual_regs): Add dump. | |
4056 | * integrate.c (pass_initial_value_sets): Add dump. | |
4057 | * jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump. | |
4058 | * loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump. | |
4059 | (pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop, | |
4060 | pass_rtl_unroll_and_peel_loops): Rename dump and add gate. | |
4061 | (gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop, | |
4062 | gate_rtl_unrool_and_peel_loops): New. | |
4063 | (rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops, | |
4064 | rtl_doloop): Do not look at flags. | |
4065 | * mode-switching.c (pass_mode_switching): Add dump. | |
4066 | * recog.c (pass_split_all_insns, pass_split_for_shorten_branches, | |
4067 | pass_split_before_regstack): Add dump. | |
4068 | * regmove.c (pass_stack_adjustments): Add dump. | |
4069 | * tree-optimize.c (pass_fixup_cfg): Add dump. | |
4070 | ||
2a6a63c1 KI |
4071 | 2005-08-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
4072 | ||
4073 | PR 23309 | |
4074 | * config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when | |
4075 | deciding which instruction sequence to use. | |
4076 | ||
0ed414a4 DN |
4077 | 2005-08-09 Dorit Nuzman <dorit@il.ibm.com> |
4078 | ||
bb8df8a6 | 4079 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Set |
0ed414a4 DN |
4080 | BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs. |
4081 | ||
9bc15050 RG |
4082 | 2005-08-09 Richard Guenther <rguenther@suse.de> |
4083 | ||
4084 | * c-common.c (builtin_function_2): Remove. | |
4085 | (def_builtin_1): New function. | |
4086 | (c_common_nodes_and_builtins): Use def_builtin_1 to | |
4087 | build builtin functions. | |
4088 | ||
07da68fd JZ |
4089 | 2005-08-09 Jie Zhang <jie.zhang@analog.com> |
4090 | ||
4091 | * config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define. | |
4092 | * config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define. | |
4093 | * config/bfin/bfin.c (bfin_return_in_memory): Update to really match | |
4094 | Visual DSP. | |
4095 | ||
2f133f46 JM |
4096 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
4097 | ||
4098 | * tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use | |
4099 | fold_binary instead of fold_build2 since we don't care about the | |
4100 | resulting tree. | |
4101 | (loop_niter_by_eval): Likewise. | |
4102 | (compare_trees): Likewise. | |
4103 | (proved_non_wrapping_p): Likewise. | |
4104 | ||
f14e694e JM |
4105 | 2005-08-09 James A. Morrison <phython@gcc.gnu.org> |
4106 | ||
4107 | PR c/23161 | |
4108 | PR c/23165 | |
4109 | * c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see | |
4110 | if the if is really empty. | |
4111 | ||
2ef571e2 SB |
4112 | 2005-08-09 Steven Bosscher <stevenb@suse.de> |
4113 | ||
4114 | PR tree-optimization/23234 | |
4115 | * tree-ssa-math-opts.c (place_reciprocal): New enum. | |
4116 | (execute_cse_reciprocals_1): Replace the 'phi' argument with an | |
4117 | argument of the new enum. | |
4118 | (execute_cse_reciprocals): Add reciprocals for function arguments | |
4119 | on the unique successor edge of the entry block. Update other calls | |
4120 | to execute_cse_reciprocals_1. | |
4121 | ||
a9c5ddf9 RH |
4122 | 2005-08-08 Richard Henderson <rth@redhat.com> |
4123 | ||
4124 | PR 22439 | |
4125 | * gimplify.c (gimplify_one_sizepos): Preserve the original type. | |
4126 | ||
22469409 BW |
4127 | 2005-08-08 Bob Wilson <bob.wilson@acm.org> |
4128 | ||
4129 | * expr.c (write_complex_part): Return after handling MEM. | |
4130 | ||
2d88fcc2 JC |
4131 | 2005-08-08 Josh Conner <jconner@apple.com> |
4132 | ||
4133 | PR rtl-optimization/23241 | |
4134 | * combine.c (simplify_comparison): Fix error in determining | |
4135 | whether to lift a subreg from comparison. | |
4136 | ||
7a4eca66 DE |
4137 | 2005-08-08 David Edelsohn <edelsohn@gnu.org> |
4138 | ||
4139 | PR target/18506 | |
4140 | * config/rs6000/altivec.md (vec_init<mode>): New. | |
4141 | (vec_set<mode>): New. | |
4142 | (vec_extract<mode>): New. | |
4143 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): New. | |
4144 | (rs6000_expand_vector_set): New. | |
4145 | (rs6000_expand_vector_extract): New. | |
4146 | (rs6000_legitimate_offset_address_p): Offset addresses are valid | |
4147 | for Altivec modes before reload. | |
4148 | (altivec_expand_vec_init_builtin): New. | |
4149 | (get_element_number): New. | |
4150 | (altivec_expand_vec_set_builtin): New. | |
4151 | (altivec_expand_vec_ext_builtin): New. | |
4152 | (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext | |
4153 | builtins. | |
4154 | (altivec_init_builtins): Init vec_init, vec_set, and vec_ext | |
4155 | builtins. | |
4156 | * config/rs6000/rs6000.h (rs6000_builtins): Add | |
4157 | ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>, | |
4158 | ALTIVEC_BUILTIN_VEC_EXT_<mode>. | |
4159 | * config/rs6000/rs6000-protos.h: Declare new functions. | |
4160 | ||
47efdea4 JH |
4161 | 2005-08-08 Jan Hubicka <jh@suse.cz> |
4162 | ||
4163 | * i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode. | |
4164 | (legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode. | |
4165 | * i386.md (movdi*): Use pic_32bit_operand. | |
4166 | * predicates.md (pic_32bit_operand): New. | |
4167 | ||
f303a996 NS |
4168 | 2005-08-08 Nathan Sidwell <nathan@codesourcery.com> |
4169 | ||
4170 | PR c++/21166 | |
4171 | * stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible. | |
4172 | ||
a5ad7269 JM |
4173 | 2005-08-07 James A. Morrison <phython@gcc.gnu.org> |
4174 | ||
4175 | * tree-vrp.c (simplify_div_or_mod_using_range): Use build2. | |
4176 | (test_for_singularity): Use fold_build2. | |
4177 | ||
914a6ee8 JDA |
4178 | 2005-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4179 | ||
4180 | * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound. | |
4181 | ||
f18faab7 DS |
4182 | 2005-08-07 Danny Smith <dannysmith@users.sourceforge.net> |
4183 | ||
4184 | * config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define. | |
4185 | (COMMON_ASM_OP) Define. | |
4186 | * config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED | |
4187 | (ix86_encode_section_info): Likewise. | |
4188 | (TARGET_ENCODE_SECTION_INFO): Conditionally define as | |
4189 | SUBTARGET_ENCODE_SECTION_INFO. | |
4190 | ||
455c08cb RH |
4191 | 2005-08-06 Richard Henderson <rth@redhat.com> |
4192 | ||
4193 | PR 21894 | |
4194 | * tree-nested.c (convert_local_reference): Save and restore val_only | |
4195 | around component_ref and friends. Clear walk_subtrees by default. | |
4196 | ||
3300bf07 PG |
4197 | 2005-08-06 Peter O'Gorman <peter@pogma.com> |
4198 | ||
4199 | PR 21366 | |
4200 | * gcc.c (process_command): Check the argument to -b has a dash. | |
4201 | * doc/invoke.texi: Update -b and -V docs. | |
4202 | ||
e2ba06d6 JW |
4203 | 2005-08-06 James E Wilson <wilson@specifix.com> |
4204 | ||
4205 | * config/mips/cross64.h, config/mips/t-cross64: Delete. | |
4206 | ||
3e0a6ca6 MM |
4207 | 2005-08-06 Michael Matz <matz@suse.de> |
4208 | ||
4209 | * genattrtab.c (write_attr_get, write_attr_case): Use insn_code | |
4210 | member only if only one insn is associated with the value. | |
4211 | ||
2f806f3b NC |
4212 | 2005-08-06 Nick Clifton <nickc@redhat.com> |
4213 | ||
4214 | * config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100): | |
4215 | New define. | |
3e0a6ca6 | 4216 | (ASM_OUTPUT_LABELREF): Delete - it is no longer needed. |
2f806f3b NC |
4217 | * config/stormy16/stormy16.c (xstormy16_below100_symbol): |
4218 | Check symbol flags instead of symbol name mangling. | |
3e0a6ca6 | 4219 | (xstormy16_asm_output_aligned_common): Likewise. Also |
2f806f3b NC |
4220 | simplify code since the bss100_section cass is the only case |
4221 | where the below100 code will be triggered. | |
3e0a6ca6 | 4222 | (xstormy16_encode_section_info): Encode below100 attribute |
2f806f3b NC |
4223 | using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling |
4224 | the name. | |
3e0a6ca6 | 4225 | (xstormy16_strip_name_encoding): Delete - this function is no |
2f806f3b | 4226 | longer needed. |
3e0a6ca6 | 4227 | (TARGET_STRIP_NAME_ENCODING): Undefine. |
2f806f3b NC |
4228 | * config/stormy16/stormy16-protos.h: Delete prototype for |
4229 | xstormy16_strip_name_encoding. | |
4230 | ||
a4d05547 KH |
4231 | 2005-08-06 Kazu Hirata <kazu@codesourcery.com> |
4232 | ||
4233 | * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c, | |
4234 | config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c, | |
4235 | tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h, | |
4236 | config/linux.h, config/alpha/alpha.h, config/alpha/linux.h, | |
4237 | config/alpha/predicates.md, config/arc/arc.h, | |
4238 | config/arm/arm.h, config/arm/ieee754-df.S, | |
4239 | config/arm/ieee754-sf.S, config/bfin/bfin.c, | |
4240 | config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c, | |
4241 | config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, | |
4242 | config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
4243 | config/m68hc11/m68hc11.h, config/mips/mips.c, | |
4244 | config/mips/mips.h, config/mips/openbsd.h, | |
4245 | config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h, | |
4246 | config/pdp11/pdp11.h, config/rs6000/linux-unwind.h, | |
4247 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, | |
4248 | config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, | |
4249 | config/sparc/linux.h, config/sparc/linux64.h, | |
4250 | config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h, | |
4251 | doc/extend.texi, doc/gcov.texi, doc/install.texi, | |
4252 | doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc | |
4253 | typos. Follow spelling conventions. | |
4254 | ||
591baeb0 JM |
4255 | 2005-08-06 Joseph S. Myers <joseph@codesourcery.com> |
4256 | ||
4257 | PR c/23113 | |
4258 | * stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start. | |
4259 | Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR | |
4260 | specially. Check for side effects only for COND_EXPR. | |
4261 | * c-typeck.c (c_finish_stmt_expr): Mark statement expression | |
4262 | return with TREE_NO_WARNING. | |
4263 | ||
f7a064b5 RS |
4264 | 2005-08-06 Richard Sandiford <richard@codesourcery.com> |
4265 | ||
4266 | PR rtl-optimization/23233 | |
4267 | * loop.c (combine_movables): Require the modes to be the same. | |
4268 | (move_movables): Remove handling of cases where the replacement | |
4269 | had a different mode to the original. | |
4270 | ||
b17775ab JM |
4271 | 2005-08-05 James A. Morrison <phython@gcc.gnu.org> |
4272 | ||
4273 | PR tree-optimization/23128 | |
4274 | * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or | |
4275 | subtraction wrap, and set TREE_OVERFLOW if they do. | |
4276 | ||
bb1ecfe8 RH |
4277 | 2005-08-05 Richard Henderson <rth@redhat.com> |
4278 | ||
4279 | PR 21728 | |
4280 | * tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into | |
4281 | FORCED_LABEL labels. | |
4282 | ||
50aa8e71 R |
4283 | 2005-08-05 J"orn Rennecke <joern.rennecke@st.com> |
4284 | ||
4285 | PR middle-end/23135 | |
4286 | * reload.c (find_reloads_subreg_address): Pass down TYPE | |
4287 | unchanged. Change all callers except find_reloads_toplev. | |
4288 | ||
b01896cc MM |
4289 | 2005-08-05 Michael Matz <matz@suse.de> |
4290 | ||
4291 | * genattrtab.c (current_alternative_string): Remove. | |
4292 | (SIMPLIFY_ALTERNATIVE): Ditto. | |
4293 | (attr_alt_bit_p): Ditto. | |
4294 | (alternative_name): Make const char *. | |
4295 | (evaluate_eq_attr): Remove use of above things. | |
4296 | (simplify_test_exp): Ditto. | |
4297 | (simplify_test_exp <EQ_ATTR>): Guard for insn_code < 0 . | |
4298 | (simplify_test_exp <AND>): Correct typo (test 'right' not 'left'). | |
4299 | ||
3f94bdec JW |
4300 | 2005-08-04 James E Wilson <wilson@specifix.com> |
4301 | ||
4302 | * config/ptx4.h, config/sol2.h, config/arm/freebsd.h, | |
4303 | config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, | |
4304 | config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, | |
4305 | config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h | |
4306 | (LINK_SPEC): Delete useless %{Wl,*:%*} item. | |
4307 | ||
460f84ed RH |
4308 | 2005-08-04 Richard Henderson <rth@redhat.com> |
4309 | ||
4310 | PR 21529 | |
4311 | * params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New. | |
4312 | * params.h (SRA_MAX_STRUCTURE_COUNT): New. | |
4313 | * tree-sra.c (decide_block_copy): Use it. Disable element copy | |
4314 | if we'd have to instantiate too many members. | |
4315 | ||
5a910e43 RH |
4316 | 2005-08-04 Richard Henderson <rth@redhat.com> |
4317 | ||
4318 | PR 21291 | |
4319 | * tree-outof-ssa.c (coalesce_asm_operands): New. | |
4320 | (coalesce_ssa_name): Use it. Split out ... | |
4321 | (coalesce_phi_operands, coalesce_result_decls): ... these. | |
4322 | ||
27c37000 PB |
4323 | 2005-08-04 Paul Brook <paul@codesourcery.com> |
4324 | ||
4325 | * read-rtl.c (read_quoted_string): Break if EOF. | |
4326 | ||
5808968e AP |
4327 | 2005-08-04 Andrew Pinski <pinskia@physics.uc.edu> |
4328 | ||
4329 | * tree.h (fold_build1): Change to macro and call fold_build1_stat. | |
4330 | (fold_build2): Likewise. | |
4331 | (fold_build3): Likewise. | |
4332 | (fold_build1_stat): New function prototype. | |
4333 | (fold_build2_stat): Likewise. | |
4334 | (fold_build3_stat): Likewise. | |
4335 | * fold-const.c (fold_build1): Rename to .. | |
4336 | (fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
4337 | through to build1_stat. | |
4338 | (fold_build2): Rename to .. | |
4339 | (fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
4340 | through to build2_stat. | |
4341 | (fold_build3): Rename to .. | |
4342 | (fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats | |
4343 | through to build3_stat. | |
4344 | ||
d70eadf7 | 4345 | 2005-08-04 David Edelsohn <edelsohn@gnu.org> |
6d62ac14 | 4346 | Ian Lance Taylor <ian@airs.com> |
d70eadf7 DE |
4347 | |
4348 | * function.c (assign_stack_local_1): Do not correct stack slot | |
4349 | address if allocation size is smaller than mode size. | |
4350 | ||
c4f548b8 DN |
4351 | 2005-08-04 Diego Novillo <dnovillo@redhat.com> |
4352 | ||
4353 | PR 22037 | |
4354 | * tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename. | |
4355 | (tree_merge_blocks): Propagate anything allowed by | |
4356 | may_propagate_copy. | |
4357 | Clarify documentation. | |
4358 | * passes.c (execute_todo): If cleanup_tree_cfg invalidated the | |
4359 | SSA form, schedule an update if necessary. | |
4360 | ||
2b7c3273 GP |
4361 | 2005-08-04 Gerald Pfeifer <gerald@pfeifer.com> |
4362 | ||
4363 | * doc/install.texi (Binaries): Remove broken link to | |
4364 | Sinix/Reliant Unix binaries. | |
4365 | ||
b755446c RH |
4366 | 2005-08-03 Richard Henderson <rth@redhat.com> |
4367 | ||
4368 | PR 23221 | |
4369 | * function.c (stack_protect_epilogue): Export. | |
4370 | * tree.h (stack_protect_epilogue): Declare. | |
4371 | * calls.c (expand_call): Call it. | |
4372 | ||
7904f95f EC |
4373 | 2005-08-03 Eric Christopher <echristo@apple.com> |
4374 | ||
4375 | * gcc.c (LINK_SSP_SPEC): Add fstack-protector-all. | |
4376 | * config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp | |
4377 | spec. | |
4378 | ||
d783b2a2 JH |
4379 | 2005-08-04 Jan Hubicka <jh@suse.cz> |
4380 | ||
4381 | * profile.c (branch_prob): Split edges with goto locus on them | |
4382 | to get proper line counts. | |
4383 | * tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any. | |
4384 | ||
53366450 PB |
4385 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
4386 | ||
4387 | * function.c (assign_parms): Round current_function_args_size | |
4388 | to PARM_BOUNDARY, not STACK_BOUNDARY. | |
4389 | ||
e81d37df GK |
4390 | 2005-08-03 Geoffrey Keating <geoffk@apple.com> |
4391 | ||
4392 | * config/i386/i386.c (x86_elf_aligned_common) | |
4393 | (x86_output_aligned_bss): Don't try to use symbols that aren't defined. | |
4394 | ||
279072c8 ZD |
4395 | 2005-08-03 Zdenek Dvorak <dvorakz@suse.cz> |
4396 | ||
4397 | PR tree-optimization/23157 | |
4398 | * tree-scalar-evolution.c (scev_const_prop): Unshare trees | |
4399 | before emitting them. | |
4400 | ||
9d2b0e12 VR |
4401 | 2005-08-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
4402 | ||
4403 | PR tree-optimization/19899 | |
4404 | * Makefile.in (tree-scalar-evolution.o): Add real.h. | |
4405 | * tree-scalar-evolution.c: Include real.h. | |
4406 | (add_to_evolution): Build constant -1 of correct type. | |
4407 | ||
178df94f JH |
4408 | 2005-08-03 Jan Hubicka <jh@suse.cz> |
4409 | ||
4410 | * cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag. | |
4411 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Special case | |
4412 | profile updating for complette unrolling. | |
4413 | * loop-unroll.c (peel_loop_completely): Use it. | |
4414 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise. | |
4415 | (tree_unroll_loops_completely): Disable code growing unrolling of cold | |
4416 | loops. | |
4417 | ||
4164b2fb PB |
4418 | 2005-08-03 Paul Brook <paul@codesourcery.com> |
4419 | ||
4420 | * combine.c (can_change_dest_mode): New function. | |
4421 | (try_combine, simplify_set): Use it. | |
4422 | ||
4e2b3c87 EB |
4423 | 2005-08-03 Eric Botcazou <ebotcazou@adacore.com> |
4424 | ||
4425 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force | |
4426 | TFmode to BLKmode. | |
4427 | ||
1d7887ca GP |
4428 | 2005-08-03 Gerald Pfeifer <gerald@pfeifer.com> |
4429 | ||
4430 | * doc/install.texi (Specific): Adjust link to openavr.org. | |
4431 | (Specific): Remove broken reference to GCC 2.8.1 for OS/2. | |
4432 | (Binaries): Adjust HP-UX Porting Center link. | |
4433 | (Binaries): Adjust Free Software Foundation ordering link. | |
1d7887ca | 4434 | |
c7f59e9c AP |
4435 | 2005-08-03 Andrew Pinski <pinskia@physics.uc.edu> |
4436 | ||
4437 | * convert.c (convert_to_integer): Use fold_build1 instead of | |
4438 | build1 when converting an integer to an integer. | |
4439 | ||
65030b76 RH |
4440 | 2005-08-02 Richard Henderson <rth@redhat.com> |
4441 | ||
4442 | * combine.c (combine_instructions): Don't use reg_equal/equiv | |
4443 | results if the mode doesn't match. | |
4444 | ||
6d1ab63a MM |
4445 | 2005-08-02 Mark Mitchell <mark@codesourcery.com> |
4446 | ||
4447 | * config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it. | |
4448 | * doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it. | |
4449 | ||
6d90db3a RH |
4450 | 2005-08-02 Richard Henderson <rth@redhat.com> |
4451 | ||
4452 | PR 23196 | |
7904f95f | 4453 | * explow.c (memory_address): Remove special-case for |
6d90db3a RH |
4454 | virtual_stack_vars_rtx and virtual_incoming_args_rtx. |
4455 | ||
78234a86 DN |
4456 | 2005-08-02 Diego Novillo <dnovillo@redhat.com> |
4457 | ||
4458 | PR 23164 | |
4459 | * tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the | |
4460 | number of calls to cleanup_tree_cfg_1. | |
4461 | ||
5a006700 MR |
4462 | 2005-08-02 Martin Reinecke <martin@mpa-garching.mpg.de> |
4463 | ||
4464 | * doc/invoke.texi: document file extensions .F90 and .F95 | |
4465 | ||
237504fc RG |
4466 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
4467 | ||
4468 | * fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is | |
4469 | positive if its first argument is positive. | |
4470 | ||
e63c84d8 RG |
4471 | 2005-08-02 Richard Guenther <rguenther@suse.de> |
4472 | ||
4473 | PR tree-optimization/23177 | |
4474 | * tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands | |
4475 | on TMR_TAG. | |
4476 | ||
08303d5b JM |
4477 | 2005-08-02 James A. Morrison <phython@gcc.gnu.org> |
4478 | ||
4479 | PR tree-optimization/23129 | |
4480 | * tree-vrp.c (extract_range_from_binary_expr): Set value range to | |
4481 | varying for divisions with anti-ranges. | |
4482 | ||
5e5a504e JH |
4483 | 2005-08-02 Jan Hubicka <jh@suse.cz> |
4484 | ||
4485 | * tree-ssa-dom.c (thread_across_edge): Remove updating here. | |
4486 | * tree-ssa-threadupdate.c (thread_block): Add it here. | |
4487 | ||
4dbdb061 JW |
4488 | 2005-08-01 James E Wilson <wilson@specifix.com> |
4489 | ||
4490 | * config/mips/mips.c (mips_encode_section_info, mips_attribute_table, | |
4491 | TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New. | |
4492 | * config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P): | |
4493 | New. | |
4494 | * config/mips/predicates.md (const_call_insn_operand): Add check for | |
4495 | SYMBOL_REF_LONG_CALL_P. | |
4496 | * doc/extend.texi (long_call): Document the new attribute. | |
4497 | ||
9e254451 ILT |
4498 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
4499 | Richard Henderson <rth@redhat.com> | |
4500 | ||
4501 | * Makefile.in (RTL_BASE_H): Add real.h. | |
4502 | * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy | |
4503 | instead of memcpy. | |
4504 | * emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv | |
4505 | directly. | |
4506 | * rtl.c (rtl_check_failed_code_mode): New. | |
4507 | * rtl.h (struct rtx_def): Add u.rv. | |
4508 | (XCMWINT, XCNMPRV): New. | |
4509 | (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT. | |
4510 | (CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify. | |
4511 | ||
5671655e RH |
4512 | 2005-08-01 Richard Henderson <rth@redhat.com> |
4513 | ||
75735872 RH |
4514 | * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, |
4515 | with auto-inc codes. | |
4516 | ||
5671655e RH |
4517 | * config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE. |
4518 | ||
72ce3d4a JH |
4519 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
4520 | ||
4521 | * i386-protos.h (asm_preferred_eh_data_format): Declare. | |
4522 | * i386.c: Include dwarf2.h | |
4523 | (asm_preferred_eh_data_format): New. | |
4524 | * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline. | |
4525 | ||
23d28bfe ILT |
4526 | 2005-08-01 Ian Lance Taylor <ian@airs.com> |
4527 | ||
4528 | * config/host-linux.c (linux_gt_pch_get_address): Add new name | |
4529 | randomize_va_space for virtual address randomization control. | |
4530 | ||
d6e14e8f SB |
4531 | 2005-08-01 Steven Bosscher <stevenb@suse.de> |
4532 | ||
4533 | * common.opt (flag_ipa_cp): Put in right place to maintain | |
4534 | alphabetic sort. | |
4535 | ||
5ded7254 JH |
4536 | 2005-08-01 Jan Hubicka <jh@suse.cz> |
4537 | ||
4538 | * profile.c (compute_value_histograms): Fix thinko. | |
4539 | * value-prof.c: Include toplev.h | |
4540 | (check_counter): New function. | |
4541 | (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform, | |
4542 | tree_mod_subtract_transform): Add sanity check. | |
4543 | ||
a8f82ec4 RG |
4544 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
4545 | ||
4546 | PR tree-optimization/23133 | |
4547 | * tree-ssa-math-opts.c (execute_cse_reciprocals): Walk | |
4548 | current functions parameter decls to find defs to cse | |
4549 | reciprocals of. | |
4550 | ||
ac264fef RG |
4551 | 2005-08-01 Richard Guenther <rguenther@suse.de> |
4552 | ||
4553 | PR tree-optimization/23109 | |
4554 | * tree-ssa-math-opts.c (execute_cse_reciprocals_1): | |
4555 | If trapping math is in effect, use post-dominator information | |
4556 | to check if we'd in any case reach a trapping point before | |
4557 | doing the reciprocal insertion. | |
4558 | (execute_cse_reciprocals): Compute post-dominators, if necessary. | |
4559 | * tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV | |
4560 | expressions are invariant only if trapping math is not in effect. | |
4561 | ||
57fb5341 RL |
4562 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> |
4563 | ||
5a006700 MR |
4564 | * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning, |
4565 | cgraph_function_versioning): New declarations. | |
4566 | * cgraphunit.c: Add include to ipa-prop.h. | |
4567 | (update_call_expr, cgraph_copy_node_for_versioning, | |
4568 | cgraph_function_versioning): New functions. | |
4569 | * integrate.c (copy_decl_for_inlining): Remove. | |
4570 | * ipa-prop.h (ipa_replace_map): New struct. | |
4571 | (struct ipa_node): Add ipcp_orig_node, count_scale, new fields. | |
4572 | * ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned, | |
4573 | ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale, | |
4574 | ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate, | |
4575 | ipcp_iterate_stage, ipcp_method_scale_print, | |
4576 | ipcp_profile_mt_count_print, ipcp_profile_cs_count_print, | |
4577 | ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print, | |
4578 | ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph, | |
4579 | ipcp_update_bb_counts, ipcp_update_profiling, | |
4580 | ipcp_update_edges_counts): New functions. | |
4581 | (ipcp_method_cval_init): Remove restriction regarding local methods. | |
4582 | (ipcp_init_stage): Add ipcp_method_compute_scale. | |
4583 | (ipcp_insert_stage): Add versioning. | |
4584 | (ipcp_structures_print): Add ipcp_method_scale_print. | |
4585 | (ipcp_driver): Dump profiling info. | |
4586 | * Makefile.in: Remove integrate.h dependency from tree-inline.o. | |
4587 | Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o. | |
4588 | * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h. | |
4589 | (struct inline_data): Add versioning_p, ipa_info, new fields. | |
4590 | (remap_decl, mark_local_for_remap_r, setup_one_parameter, | |
4591 | declare_return_variable): Replace calls to copy_decl_for_inlining with | |
4592 | copy_decl_for_dup. | |
4593 | (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add | |
4594 | versioning support. | |
4595 | (copy_decl_for_dup): Rename from copy_decl_for_inlining. | |
4596 | Add argument VERSIONING. | |
4597 | (copy_arguments_for_versioning, copy_static_chain, | |
4598 | function_versionable_p, tree_versionable_function_p, | |
4599 | tree_function_versioning, replace_ref_tree): New functions. | |
4600 | * tree-inline.h: Include varray.h. | |
4601 | (tree_versionable_function_p, tree_function_versioning, | |
4602 | tree copy_decl_for_dup): New declarations. | |
57fb5341 RL |
4603 | |
4604 | 2005-08-01 Razya Ladelsky <razya@il.ibm.com> | |
4605 | ||
5a006700 MR |
4606 | * ipa-cp.c: New file. Contains IPCP specific functionality. |
4607 | * ipa-prop.h: New file. Contains structures/definitions that can be | |
4608 | used by several interprocedural data flow optimizations (and also IPCP). | |
4609 | * ipa-prop.c: New file. | |
4610 | * Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c. | |
4611 | * common.opt: Add ipa-cp flag. | |
4612 | * timevar.def: Add IPCP optimization. | |
4613 | * tree-optimize.c (init_tree_optimization_passes): Schedule | |
4614 | pass_ipa_cp. | |
4615 | * tree-pass.h (pass_ipa_cp): Declare. | |
57fb5341 | 4616 | |
569b7f6a KH |
4617 | 2005-08-01 Kazu Hirata <kazu@codesourcery.com> |
4618 | ||
4619 | * dwarf2out.c, fold-const.c, ipa-type-escape.c, | |
4620 | loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c, | |
4621 | tree-sra.c, config/arm/arm.c, config/crx/crx.c, | |
4622 | config/i386/i386.c, config/mips/mips.h, | |
4623 | config/rs6000/rs6000.h, config/sh/sh.c, | |
4624 | config/stormy16/stormy16.c: Fix comment typos. | |
4625 | ||
5922c215 JM |
4626 | 2005-08-01 Joseph S. Myers <joseph@codesourcery.com> |
4627 | ||
4628 | PR c/22311 | |
4629 | * c-typeck.c (build_binary_op): Use common_type wrapper on | |
4630 | shortened types. | |
4631 | (common_type): Update comment. | |
4632 | ||
a3f4b7d8 SB |
4633 | 2005-07-31 Steven Bosscher <stevenb@suse.de> |
4634 | ||
4635 | PR target/23095 | |
4636 | * common.opt (flag_gcse_after_reload): Don't initialize to 2. | |
4637 | (flag_rerun_cse_after_loop): Initialize this to 2 instead. | |
4638 | * postreload-gcse.c (hash_scan_set): Do not consider stack regs. | |
4639 | ||
baf7a0d3 JH |
4640 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
4641 | ||
4642 | * pretty-print.h (pp_widest_integer): New macro. | |
4643 | * tree-pretty-print.c (dump_bb_header): Print BB frequencies and | |
4644 | counts. | |
4645 | ||
7dcbf659 JH |
4646 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
4647 | ||
4648 | * output.h (enum section_category): Export from varasm.c | |
4649 | (categorize_decl_for_section): Likewise. | |
4650 | * varasm.c (enum section_category): Kill. | |
4651 | (categorize_decl_for_section): Make global. | |
4652 | * i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common): | |
4653 | Declare. | |
4654 | * i386.c (ix86_section_threshold): New static variable. | |
4655 | (ix86_in_large_data_p, ix86_encode_section_info, | |
4656 | x86_64_elf_unique_section, | |
4657 | x86_64_elf_select_section): New functions. | |
4658 | (TARGET_ENCODE_SECTION_INFO): Define | |
4659 | (override_options): Enable medium model for PIC. | |
4660 | (ix86_expand_prologue): Expand gen_set_got_rex64. | |
4661 | (legitimate_constant_p): Handle new UNSPECs. | |
4662 | (legitimate_pic_address_disp_p): Likewise. | |
4663 | (legitimize_pic_address): Lower MEDIUM model addressing. | |
4664 | * i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC. | |
4665 | (enum cmodel): Add MEDIUM_PIC. | |
4666 | (SYMBOL_REF_FAR_ADDR_P): New macro. | |
4667 | (SYMBOL_FLAG_FAR_ADDR): New flag. | |
4668 | * i386.md (movdi): Support medium model. | |
4669 | (set_got_rex64): New pattern. | |
4670 | * i386.opt (mlarge-data-threshold): New flag. | |
4671 | * predicates.md (zext_operand/sext_operand): Deal with medium model. | |
4672 | * x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss. | |
4673 | (ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION, | |
4674 | TARGET_ASM_UNIQUE_SECTION): New. | |
4675 | ||
4676 | * invoke.texi (-mlarge_data_threshold): Document | |
4677 | ||
0bde02b3 JH |
4678 | 2005-07-31 Jan Hubicka <jh@suse.cz> |
4679 | ||
4680 | * tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost. | |
4681 | (coalesce_vars): Likewise. | |
4682 | * tree-ssa-live.c (coalesce_cost): New. | |
4683 | (build_tree_conflict_graph): Use coalesce_cost. | |
4684 | * tree-ssa-live.h (coalesce_cost): Declare. | |
4685 | ||
a4ccc336 RE |
4686 | 2005-07-30 Richard Earnshaw <richard.earnshaw@arm.com> |
4687 | ||
4688 | * arm.md (all peepholes for post-increment operations): Delete. | |
4689 | (strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec) | |
4690 | (loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec) | |
4691 | (loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec) | |
4692 | (loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc) | |
4693 | (strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete. | |
4694 | ||
06581725 JM |
4695 | 2005-07-30 James A. Morrison <phython@gcc.gnu.org> |
4696 | ||
4697 | * fold-const.c (tree_expr_nonnegative_p): Always return true for | |
4698 | non-integral types. | |
4699 | ||
0cbc4d77 | 4700 | 2005-07-29 Wolfgang Bangerth <bangerth@dealii.org> |
d6e14e8f | 4701 | |
0cbc4d77 WB |
4702 | PR target/22582 |
4703 | * doc/invoke.texi: Document -rdynamic. | |
d6e14e8f | 4704 | |
91d975b8 JM |
4705 | 2005-07-30 Joseph S. Myers <joseph@codesourcery.com> |
4706 | ||
4707 | PR c/23143 | |
4708 | * c-parser.c (c_parser_parms_list_declarator): Call | |
4709 | mark_forward_parm_decls. | |
4710 | * c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for | |
4711 | decls with visibility structure. | |
4712 | ||
f26b8ec9 PB |
4713 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
4714 | ||
4715 | * config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment. | |
4716 | ||
a14b88bb PB |
4717 | 2005-07-30 Paul Brook <paul@codesourcery.com> |
4718 | ||
4719 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
4720 | prototype. | |
4721 | * config/arm/arm.c (arm_canonicalize_comparison): Use correct limit | |
4722 | value for mode. | |
4723 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument. | |
4724 | ||
7c47d6e9 JM |
4725 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
4726 | ||
4727 | PR c/529 | |
4728 | * c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in | |
4729 | nested function declarators. | |
4730 | (pushdecl): Don't call warn_if_shadowing for PARM_DECL. | |
4731 | (grokparms): Call warn_if_shadowing for parameters used within the | |
4732 | parameter list. | |
4733 | (store_parm_decls_newstyle): Call warn_if_shadowing for parameters | |
4734 | not used within the parameter list. | |
4735 | (store_parm_decls_oldstyle): Call warn_if_shadowing for parameters. | |
4736 | ||
3bc751bd JH |
4737 | 2005-07-30 Jan Hubicka <jh@suse.cz> |
4738 | ||
4739 | * expr.c (expand_expr_real_1): Do not load mem targets into register. | |
4740 | * i386.c (ix86_fixup_binary_operands): Likewise. | |
4741 | (ix86_expand_unary_operator): Likewise. | |
4742 | (ix86_expand_fp_absneg_operator): Likewise. | |
4743 | * optabs.c (expand_vec_cond_expr): Validate dest. | |
4744 | ||
bc1594c1 JM |
4745 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
4746 | ||
4747 | PR c/21720 | |
4748 | * real.c (real_from_string): Also set last bit if there is a | |
4749 | nonzero hex digit beyond GCC's internal precision after ".". | |
4750 | ||
3aca4bff DE |
4751 | 2005-07-29 David Edelsohn <edelsohn@gnu.org> |
4752 | ||
4753 | * config/rs6000/altivec.md: Convert UNSPEC numerical values to | |
4754 | define_constants. Change duplicate values to unassigned numbers. | |
4755 | Change UNSPEC_SUBS to UNSPEC_VSUBS. | |
4756 | (*altivec_vspltsf): New. | |
4757 | (altivec_vperm_v4sf): Delete. | |
4758 | (altivec_vperm_<mode>): Use mode macro V. | |
4759 | (altivec_vsldoi_<mode>): Convert to mode macro pattern. | |
4760 | (altivec_predicate_v4sf): Delete. | |
4761 | (altivec_predicate_<mode>): Use mode macro V. | |
4762 | (*altivec_lvesfx): New. | |
4763 | (*altivec_stvesfx): New. | |
4764 | (vec_realign_load_v4sf): Delete. | |
4765 | (vec_realign_load_<mode>): Use mode macro V. | |
4766 | * config/rs6000/rs6000.c (generate_set_vrsave): Use | |
4767 | UNSPECV_SET_VRSAVE. | |
4768 | ||
b28250ab MM |
4769 | 2005-07-29 Mark Mitchell <mark@codesourcery.com> |
4770 | ||
4771 | PR bootstrap/23131 | |
4772 | * configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty | |
7904f95f | 4773 | string. |
b28250ab MM |
4774 | * configure: Regenerated. |
4775 | ||
eae50c87 PB |
4776 | 2005-07-29 Paul Brook <paul@codesourcery.com> |
4777 | ||
4778 | * doc/install.texi: Add link to GFortran binaries wiki page. | |
4779 | ||
79dad081 DU |
4780 | 2005-07-29 David Ung <davidu@mips.com> |
4781 | ||
4782 | * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table. | |
4783 | (mips_rtx_cost_data): Add costs for 5kc and 5kf. | |
4784 | * config/mips/mips.h (processor_type): Add PROCESSOR_5KF. | |
4785 | * config/mips/mips.md (cpu): Add 5kf name. | |
4786 | (includes): Includes 5k.md. | |
4787 | * config/mips/5k.md: New DFA pipeline for the 5kc/5kf. | |
4788 | * doc/invoke.texi (MIPS Options): Updated cpu name supported with | |
7904f95f | 4789 | -march flag. |
79dad081 | 4790 | |
89e80dd4 DN |
4791 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
4792 | ||
4793 | PR 22550 | |
4794 | * tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ... | |
4795 | (cleanup_tree_cfg): ... here. | |
4796 | Call cleanup_tree_cfg_1 until there are no more cleanups to | |
4797 | do. | |
4798 | ||
d2f3ffba JM |
4799 | 2005-07-29 James A. Morrison <phython@gcc.gnu.org> |
4800 | ||
4801 | * tree-vrp.c (compare_range_with_value): Return true or false | |
4802 | for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and | |
4803 | EQ_EXPR respectively. | |
4804 | ||
536fa7b7 KH |
4805 | 2005-07-29 Kazu Hirata <kazu@codesourcery.com> |
4806 | ||
4807 | * cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c: | |
4808 | Fix comment typos. | |
4809 | ||
6a2cf9dc DN |
4810 | 2005-07-29 Diego Novillo <dnovillo@redhat.com> |
4811 | ||
4812 | * tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations. | |
4813 | (tree_ssa_dominator_optimize): Increment it. | |
4814 | (dump_dominator_optimization_stats): Print it. | |
4815 | ||
abf86bf2 RE |
4816 | 2005-07-29 Richard Earnshaw <richard.earnshaw@arm.com> |
4817 | Steven Bosscher <stevenb@suse.de> | |
4818 | ||
4819 | PR rtl-optimization/23117 | |
4820 | * sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly | |
4821 | when head == tail. Tidy comment. | |
4822 | ||
37cf6116 RH |
4823 | 2005-07-28 Richard Henderson <rth@redhat.com> |
4824 | ||
4825 | * cse.c (exp_equiv_p): Special case CONST_DOUBLE. | |
4826 | * cselib.c (rtx_equal_for_cselib_p): Likewise. | |
4827 | * jump.c (rtx_renumbered_equal_p): Likewise. | |
4828 | * loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0, | |
4829 | CONST_INT and CONST_DOUBLE. | |
4830 | (rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF. | |
4831 | * reload.c (operands_match_p): Special case CONST_INT and | |
4832 | CONST_DOUBLE; check mode earlier. | |
4833 | ||
13b22d3a JM |
4834 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
4835 | ||
4836 | PR c/22240 | |
4837 | * c-typeck.c (convert_for_assignment): Do not check | |
4838 | DECL_IN_SYSTEM_HEADER on NULL fundecl. | |
4839 | ||
ca8bdb78 JM |
4840 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
4841 | ||
4842 | PR c/22192 | |
4843 | * c-typeck.c (composite_type): Prefer constant size arrays to | |
4844 | VLAs. | |
4845 | ||
b608d27a JM |
4846 | 2005-07-29 Joseph S. Myers <joseph@codesourcery.com> |
4847 | ||
4848 | PR c/21720 | |
4849 | * real.c (real_from_string): Set last bit if there is a nonzero | |
4850 | hex digit beyond GCC's internal precision. | |
4851 | ||
a560c83a RH |
4852 | 2005-07-28 Richard Henderson <rth@redhat.com> |
4853 | ||
4854 | PR rtl-opt/22619 | |
4855 | * cfgcleanup.c (try_forward_edges): Watch out for end of | |
4856 | insn chain. | |
4857 | ||
66f33c03 JW |
4858 | 2005-07-28 James E Wilson <wilson@specifixinc.com> |
4859 | ||
4860 | PR c/23106 | |
4861 | * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording. | |
4862 | ||
c5a4444c JH |
4863 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
4864 | ||
8a76829c JH |
4865 | * Makefile.in (rtl-profile.o): Kill all traces of it. |
4866 | * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill. | |
4867 | * coverage.h (rtl_coverage_counter_ref): Kill. | |
4868 | * opts.c (flag_speculative_prefetching_set): Kill. | |
4869 | (flag_loop_optimize_set): New. | |
4870 | (common_handle_option): Disable loop optimizer when profiling; | |
4871 | do not handle speculative prefetching. | |
4872 | * passes.c (init_optimization_passes): Replace pass_profiling combo | |
4873 | by branch_prob pass. | |
4874 | * profile.c (compute_value_histograms): Update for simplified value | |
4875 | profiles. | |
4876 | (rtl_register_profile_hooks): Kill. | |
4877 | (pass_profiling): Kill. | |
4878 | (rest_of_handle_branch_prob): Do not profile. | |
4879 | * toplev.c (process_options): Remove speculative prefetching. | |
4880 | * toplev.h (flag_tree_based_profiling): Kill. | |
4881 | * tree-profile.c (prepare_instrumented_value, | |
4882 | tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
4883 | tree_gen_one_value_profiler, do_tree_profiling): Update for | |
4884 | simplified datastructures. | |
4885 | * value-prof.c: Add comment that speculative prefetching was dropped; | |
4886 | update rest of file for simplified datastructures. | |
4887 | (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX, | |
4888 | rtl_divmod_values_to_profile, insn_prefetch_values_to_profile, | |
4889 | find_mem_reference_1, find_mem_reference_2, find_mem_reference, | |
4890 | rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2, | |
4891 | rtl_mod_subtract, gen_speculative_prefetch, | |
4892 | rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform, | |
4893 | rtl_mod_subtract_transform, speculative_prefetching_transform): Kill. | |
4894 | (gate_handle_value_profile_transformations, | |
4895 | rest_of_handle_value_profile_transformations, | |
4896 | pass_value_profile_transformations): Kill. | |
4897 | * value-prof.h (histogram_value_t): Remove IL based unions. | |
4898 | (rtl_register_value_prof_hooks, rtl_register_profile_hooks, | |
4899 | rtl_profile_hooks): Remove hooks. | |
4900 | ||
4901 | * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill. | |
4902 | ||
c5a4444c JH |
4903 | * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument. |
4904 | (cgraph_clone_node): Likewise. | |
4905 | * cgraph.h (cgraph_clone_edge): Update prototype. | |
4906 | (cgraph_clone_node): Likewise. | |
4907 | * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of | |
4908 | cgraph_clone_node. | |
4909 | (lookup_recursive_calls): Consider profile. | |
4910 | (cgraph_decide_recursive_inlining): Fix updating; use new | |
4911 | probability argument; use profile. | |
4912 | * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New. | |
4913 | * tree-inline.c (copy_bb): Update clal of clone_edge. | |
4914 | * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node. | |
4915 | ||
4916 | * invoke.texi (min-inline-recursive-probability): Document. | |
4917 | ||
ccf548a7 GP |
4918 | 2005-07-28 Gerald Pfeifer <gerald@pfeifer.com> |
4919 | ||
4920 | * doc/install.texi (Configuration): Update Valgrind homepage. | |
4921 | ||
2c97f8e4 RH |
4922 | 2005-07-28 Richard Henderson <rth@redhat.com> |
4923 | ||
407ab83b | 4924 | PR middle-end/21362 |
2c97f8e4 RH |
4925 | * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on |
4926 | labels we want to delete. | |
4927 | (cfg_layout_merge_blocks): Likewise. | |
4928 | ||
b188ebb1 RH |
4929 | 2005-07-28 Richard Henderson <rth@redhat.com> |
4930 | ||
4931 | PR target/17692 | |
d6e14e8f SB |
4932 | * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note |
4933 | when expanding to nothing. | |
b188ebb1 | 4934 | |
facc20ee JC |
4935 | 2005-07-28 Josh Conner <jconner@apple.com> |
4936 | ||
4937 | * ipa-inline.c (update_caller_keys): Fix estimated_growth caching. | |
4938 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
4939 | ||
9de21a23 JC |
4940 | 2005-07-28 Josh Conner <jconner@apple.com> |
4941 | ||
4942 | * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift | |
4943 | direction of badness if negative. | |
4944 | (cgraph_default_inline_p): Add reason to parameters, and assign it | |
4945 | a value. | |
4946 | (cgraph_decide_inlining_of_small_functions): New parameter in call | |
4947 | to cgraph_default_inline_p. | |
4948 | (cgraph_decide_inlining_incrementally): Likewise. | |
4949 | * cgraphunit.c (decide_is_function_needed): Likewise. | |
4950 | * cgraph.h (cgraph_default_inline_p): Likewise. | |
4951 | ||
206048bd VR |
4952 | 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
4953 | ||
4954 | * builtins.c: Fix comment typo(s). | |
4955 | * genautomata.c: Likewise. | |
4956 | * gimplify.c: Likewise. | |
4957 | * tree-dfa.c: Likewise. | |
4958 | * tree-flow-inline.h: Likewise. | |
4959 | * tree-into-ssa.c: Likewise. | |
4960 | * tree-ssa-alias.c: Likewise. | |
4961 | * tree-ssa-ccp.c: Likewise. | |
4962 | * tree-ssa-copy.c: Likewise. | |
4963 | * tree-ssa-dce.c: Likewise. | |
4964 | * tree-ssa-dom.c: Likewise. | |
4965 | * tree-ssa-operands.c: Likewise. | |
4966 | * tree-tailcall.c: Likewise. | |
4967 | * tree-vectorizer.c: Likewise. | |
4968 | * tree-vrp.c: Likewise. | |
4969 | * tree.c: Likewise. | |
4970 | ||
d579f20b JL |
4971 | 2005-07-28 Jeff Law <law@redhat.com> |
4972 | ||
d6e14e8f SB |
4973 | * tree-vrp.c (test_for_singularity): Extracted from ... |
4974 | (simplify_cond_using_ranges): Attempt to simplify a relational | |
4975 | test to NE_EXPR. Dump information when a COND_EXPR is simplified. | |
d579f20b | 4976 | |
5bb1823d DN |
4977 | 2005-07-28 Dorit Nuzman <dorit@il.ibm.com> |
4978 | ||
4979 | PR tree-optimization/22506 | |
4980 | * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed | |
4981 | phis whose argument is constant. | |
4982 | ||
b92ba6ff R |
4983 | 2005-07-28 J"orn Rennecke <joern.rennecke@st.com> |
4984 | ||
4985 | PR rtl-optimization/18992 | |
4986 | Back out this patch: | |
4987 | 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
4988 | PR optimization/12142 | |
4989 | * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the | |
4990 | uses of the register in the SET_SRC. Remove unnecessary argument. | |
4991 | ||
4992 | Replace it with this: | |
4993 | * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases, | |
4994 | if flag_non_call_exceptions is set and the insn may trap, pass | |
4995 | pc_rtx as dest for recursion. | |
4996 | In SET_SRC part of SET case, if dest is already set, pass it down | |
4997 | unchanged. | |
4998 | ||
09bac500 JH |
4999 | 2005-07-28 Jan Hubicka <jh@suse.cz> |
5000 | ||
5001 | * cfg.c (update_bb_profile_for_threading): Use RDIV. | |
5002 | (scale_bbs_frequencies_int): Likewise, assert for possible overflow. | |
5003 | (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and | |
5004 | roundoff errors. | |
5005 | * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating | |
5006 | profile when available. | |
5007 | ||
5008 | 2005-07-28 Jan Beulich <jbeulich@novell.com> | |
a71aef0b JB |
5009 | |
5010 | * config/ia64/ia64.c (ia64_load_pair_ok): New. | |
5011 | (ia64_print_operand): Describe and handle 'X'. | |
5012 | (ia64_register_move_cost): Also handle FP_REGS. | |
5013 | (ia64_preferred_reload_class): Likewise. | |
5014 | (ia64_secondary_reload_class): Likewise. | |
5015 | (ia64_dependencies_evaluation_hook): New local variable c. Initialize | |
5016 | it. Also check for ITANIUM_CLASS_FLDP. | |
5017 | * config/ia64/ia64.h (FP_REGNO_P): New. | |
5018 | (HARD_REGNO_MODE_OK): Remove explusion of TImode. | |
5019 | (reg_class): Add FP_REGS. | |
5020 | (REG_CLASS_NAMES): Adjust for it. | |
5021 | (REG_CLASS_CONTENTS): Likewise. | |
5022 | (REGNO_REG_CLASS): Use FP_REGS where appropriate. | |
5023 | (REG_CLASS_FROM_LETTER): Handle 'x'. | |
5024 | (CLASS_MAX_NREGS): Handle FP_REGS. | |
5025 | (MEMORY_MOVE_COST): Likewise. | |
5026 | * config/ia64/ia64.md (itanium_class): Add fldp. | |
5027 | (type): Handle fldp. | |
5028 | (movti_internal): More allowable operand combinations. Use ldfp8 when | |
5029 | splitting unnecessary. Remove predicable attribute. Adjust | |
5030 | itanium_class attribute. | |
5031 | (smuldi3_highpart): Remove outdated comment. | |
5032 | (mulditi3, umulditi3, rotlti3): New expanders. | |
5033 | (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns. | |
5034 | (absti2): Disabled new insn for future reference. | |
5035 | Respective new splitters. | |
5036 | * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations. | |
5037 | * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise. | |
5038 | * config/ia64/ia64-protos.h (ia64_load_pair_ok): New. | |
5039 | ||
77d1d8e0 JM |
5040 | 2005-07-25 James A. Morrison <phython@gcc.gnu.org> |
5041 | ||
5042 | PR rtl-optimization/23047 | |
5043 | * simplify-rtx.c (simplify_const_relational_operation): Respect | |
5044 | flag_wrapv for comparisons with ABS. | |
5045 | ||
ff08cbee JM |
5046 | 2005-07-27 James A. Morrison <phython@gcc.gnu.org> |
5047 | ||
5048 | PR tree-optimization/22493 | |
5049 | * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and | |
5050 | VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs. | |
5051 | ||
38c28a25 AH |
5052 | 2005-07-27 Aldy Hernandez <aldyh@redhat.com> |
5053 | ||
5054 | * config/frv/frv.opt (moptimize-membar): New. | |
5055 | ||
5056 | * doc/invoke.texi: Document -moptimize-membar and its inverse. | |
5057 | ||
5058 | * config/frv/frv.h: Remove machine_function definition. | |
5059 | ||
d6e14e8f SB |
5060 | * config/frv/frv.c (struct frv_io): New. |
5061 | (struct machine_function): Moved from frv.h. Add has_membar_p. | |
5062 | (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union) | |
5063 | (frv_extract_membar, frv_io_check_address, frv_io_handle_set) | |
5064 | (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local) | |
5065 | (frv_optimize_membar_global, frv_optimize_membar): New functions. | |
5066 | (frv_reorg): Call frv_optimize_membar when appropriate. | |
5067 | (bdesc_loads, bdesc_stores): Use the membar code as the icode field. | |
5068 | (frv_expand_builtin): Adjust calls accordingly. | |
5069 | (frv_io_address_cookie): New function. | |
5070 | (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal | |
5071 | load or store rather than a special insn. Add ccnstant address and | |
5072 | io-type operands to the membar. | |
38c28a25 AH |
5073 | (frv_ifcvt_modify_tests): Unsign regno. |
5074 | (frv_ifcvt_modify_tests): Same. | |
5075 | ||
5076 | * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change | |
5077 | UNSPEC_OPTIONAL_MEMBAR constant. | |
5078 | (builtin_read_<mode>): Delete. | |
5079 | (builtin_write_<mode>): Delete. | |
5080 | ("optional_membar_<mode>"): Add operand. | |
5081 | ||
5082 | * testsuite/gcc.target/frv/all-builtin-read8.c: Delete. | |
5083 | * testsuite/gcc.target/frv/all-builtin-read16.c: Delete. | |
5084 | * testsuite/gcc.target/frv/all-builtin-read32.c: Delete. | |
5085 | * testsuite/gcc.target/frv/all-builtin-read64.c: Delete. | |
5086 | * testsuite/gcc.target/frv/all-builtin-write8.c: Delete. | |
5087 | * testsuite/gcc.target/frv/all-builtin-write16.c: Delete. | |
5088 | * testsuite/gcc.target/frv/all-builtin-write32.c: Delete. | |
5089 | * testsuite/gcc.target/frv/all-builtin-write64.c: Delete. | |
5090 | * testsuite/gcc.target/frv/all-read-write-1.c: New. | |
5091 | ||
47c504ea KK |
5092 | 2005-07-28 Kaz Kojima <kkojima@gcc.gnu.org> |
5093 | ||
5094 | * df.c (df_uses_record): Handle SCRATCH. | |
5095 | ||
ef11c839 SB |
5096 | 2005-07-28 Steven Bosscher <stevenb@suse.de> |
5097 | ||
5098 | PR debug/20161 | |
5099 | * passes.c (rest_of_decl_compilation): If decl is a type and | |
5100 | we have encountered errors, don't emit debug information. | |
5101 | ||
1eb68dca | 5102 | 2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com> |
ef11c839 | 5103 | |
1eb68dca | 5104 | * params.def: Fixed comment. |
7904f95f | 5105 | |
10252a62 BH |
5106 | 2005-07-27 Bjoern Haase <bjoern.m.haase@web.de> |
5107 | ||
5108 | PR target/19885 | |
5109 | * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add. | |
5110 | (TARGET_ASM_UNALIGNED_HI_OP): Add. | |
5111 | (TARGET_ASM_UNALIGNED_SI_OP): Add. | |
5112 | ||
e4598783 SB |
5113 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
5114 | ||
5115 | PR c++/22003 | |
5116 | * varasm.c (assemble_start_function): Don't do anything that may | |
5117 | require a CFG if the current function is a thunk. | |
5118 | ||
a9fdd472 GK |
5119 | 2005-07-25 Geoffrey Keating <geoffk@apple.com> |
5120 | ||
5121 | * doc/install.texi (Prerequisites): Mention that perl is needed | |
5122 | to do export control in libstdc++ targetting Darwin. | |
5123 | ||
2bd1e239 SB |
5124 | 2005-07-27 Steven Bosscher <stevenb@suse.de> |
5125 | ||
5126 | PR rtl-optimization/17808 | |
5127 | * sched-deps.c (sched_get_condition): Enable #if 0'ed code. | |
5128 | (sched_insns_conditions_mutex_p): Split out from... | |
5129 | (add_dependence): ...here. But don't call it from here. | |
5130 | (add_dependence_list): Check sched_insns_conditions_mutex_p | |
5131 | before calling add_dependence. | |
5132 | (add_dependence_list_and_free): Likewise. | |
5133 | (fixup_sched_groups): Likewise. | |
5134 | (sched_analyze_1): Likewise. | |
5135 | (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE). | |
5136 | (sched_analyze): Likewise. | |
5137 | (sched_analyze_insn): Likewise. | |
5138 | * sched-ebb.c (add_deps_for_risky_insns): Likewise. | |
5139 | * sched-rgn.c (add_branch_dependences): Likewise. Also, add | |
5140 | dependencies on all COND_EXEC insns to jumps ending basic blocks | |
5141 | when doing intrablock scheduling. | |
5142 | * sched-int.h (sched_insns_conditions_mutex_p): Add prototype. | |
5143 | ||
880031e1 JL |
5144 | 2005-07-27 Jeff Law <law@redhat.com> |
5145 | ||
5146 | * tree-vrp.c (vrp_meet): Intersect the equivalency sets when | |
5147 | meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting | |
5148 | equivalency sets, correctly handle the case were vr0 has an | |
5149 | equivalency set, but vr1 does not. | |
5150 | ||
b940ce0e DN |
5151 | 2005-07-27 Dorit Nuzman <dorit@il.ibm.com> |
5152 | ||
5153 | PR tree-optimization/23073 | |
7904f95f | 5154 | * tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call |
b940ce0e DN |
5155 | vect_print_dump_info before fprintf. |
5156 | ||
26c40640 ZD |
5157 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
5158 | ||
5159 | PR tree-optimize/22348 | |
5160 | * tree-ssa-loop-niter.c (number_of_iterations_cond): | |
5161 | Fold the partial computation. | |
5162 | ||
3ac01fde ZD |
5163 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
5164 | ||
5165 | PR tree-optimization/22325 | |
5166 | * tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost): | |
5167 | Declare. | |
5168 | * tree-scalar-evolution.c (scev_const_prop): Add generic final | |
5169 | value replacement. | |
5170 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ... | |
5171 | (force_var_cost): ... this function. | |
5172 | (compute_phi_arg_on_exit): Export. | |
5173 | ||
77fcaf4b ZD |
5174 | 2005-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
5175 | ||
5176 | PR tree-optimization/20773 | |
5177 | * tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch | |
5178 | edge. | |
5179 | ||
c11b0231 RG |
5180 | 2005-07-27 Richard Guenther <rguenther@suse.de> |
5181 | ||
5182 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): | |
5183 | Avoid pushing again if current struct contains only | |
5184 | fields we decomposed. | |
5185 | ||
57a73709 JH |
5186 | 2005-07-27 Jan Hubicka <jh@suse.cz> |
5187 | ||
093c2329 JH |
5188 | PR tree-optimization/22574 |
5189 | * cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are | |
5190 | not available. | |
5191 | ||
23504559 JH |
5192 | * tree-tailcall.c (decrease_profile): New function. |
5193 | (eliminate_tail_call): Use it. | |
5194 | ||
57a73709 JH |
5195 | * cgraphunit.c (cgraph_function_and_variable_visibility): Set |
5196 | visibility flags correctly in whole program mode. | |
5197 | ||
b5395c33 SE |
5198 | 2005-07-26 Steve Ellcey <sje@cup.hp.com> |
5199 | ||
5200 | PR rtl-optimization/22472 | |
5201 | * config/pa/pa.h (HARD_REGNO_RENAME_OK): Define. | |
5202 | ||
86979811 SB |
5203 | 2005-07-26 Steven Bosscher <stevenb@suse.de> |
5204 | ||
5205 | PR tree-optimization/22504 | |
5206 | * tree-complex.c (expand_complex_addition): Use 'code' instead | |
5207 | of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING). | |
5208 | ||
faf9ab98 AH |
5209 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
5210 | ||
5211 | * config.gcc (cpu_type): Add frv case. | |
5212 | (with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases. | |
5213 | (supported_defaults): Add fr550 case. | |
5214 | ||
31521cd4 DN |
5215 | 2005-07-26 Diego Novillo <dnovillo@redhat.com> |
5216 | ||
5217 | PR 22591 | |
5218 | * tree-ssa-alias.c (may_alias_p): Remove shortcut that tests | |
5219 | whether a pointer of type T * may point to objects of type T *. | |
5220 | ||
45499411 DD |
5221 | 2005-07-26 DJ Delorie <dj@redhat.com> |
5222 | ||
5223 | * configure: Regenerate. | |
5224 | ||
576a4795 DJ |
5225 | 2005-07-26 Dale Johannesen <dalej@apple.com> |
5226 | ||
5227 | * postreload-gcse.c (alloc_mem): Start CUID numbering at 1. | |
5228 | ||
526635cb MM |
5229 | 2005-07-26 Mark Mitchell <mark@codesourcery.com> |
5230 | ||
5231 | * doc/install.texi (--with-build-sysroot): Fix grammatical error. | |
5232 | Clarify use of "build" in name. | |
5233 | ||
c14ff86e AH |
5234 | 2005-07-26 Aldy Hernandez <aldyh@redhat.com> |
5235 | ||
5236 | * doc/extend.texi (Raw read/write Functions): New section. | |
5237 | * testsuite/gcc.target/frv/all-builtin-read8.c: New. | |
5238 | * testsuite/gcc.target/frv/all-builtin-read16.c: New. | |
5239 | * testsuite/gcc.target/frv/all-builtin-read32.c: New. | |
5240 | * testsuite/gcc.target/frv/all-builtin-read64.c: New. | |
5241 | * testsuite/gcc.target/frv/all-builtin-write8.c: New. | |
5242 | * testsuite/gcc.target/frv/all-builtin-write16.c: New. | |
5243 | * testsuite/gcc.target/frv/all-builtin-write32.c: New. | |
5244 | * testsuite/gcc.target/frv/all-builtin-write64.c: New. | |
5245 | * config/frv/frv.c: Add bdesc_loads global. | |
5246 | Add bdesc_stores global. | |
5247 | (frv_init_builtins): Add support for __builtin_{read/write}*. | |
5248 | (frv_volatile_memref): New. | |
5249 | (frv_expand_load_builtin): New. | |
5250 | (frv_expand_store_builtin): New. | |
5251 | * config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN, | |
5252 | FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32, | |
5253 | FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16, | |
5254 | FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64. | |
5255 | * config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD, | |
5256 | UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR. | |
5257 | (builtin_read_<mode>): New. | |
5258 | (builtin_write_<mode>): New. | |
5259 | (builtin_write64): New. | |
5260 | (optional_membar_<mode>): New. | |
5261 | ||
db487452 R |
5262 | 2005-07-26 J"orn Rennecke <joern.rennecke@st.com> |
5263 | ||
5264 | * emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits | |
5265 | (rather than units) against HOST_BITS_PER_WIDE_INT. | |
5266 | ||
783455db KH |
5267 | 2005-07-26 Kazu Hirata <kazu@codesourcery.com> |
5268 | ||
5269 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, | |
5270 | ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c, | |
5271 | ipa-utils.h, treestruct.def, config/crx/crx-protos.h, | |
5272 | config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update | |
5273 | FSF address. | |
5274 | ||
a4174ebf KH |
5275 | * calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c, |
5276 | tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h, | |
5277 | config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix | |
5278 | comment typos. | |
5279 | * doc/c-tree.texi, doc/tree-ssa.texi: Fix typos. | |
5280 | ||
46c0a59d RG |
5281 | 2005-07-26 Richard Guenther <rguenther@suse.de> |
5282 | ||
5283 | PR tree-optimization/22486 | |
5284 | * fold-const.c (fold_unary): Fold away useless component | |
5285 | references of the form (T *)&T.x, if the address | |
5286 | doesn't change. | |
5287 | ||
3e2844cb JW |
5288 | 2005-07-25 James E Wilson <wilson@specifixinc.com> |
5289 | ||
5290 | * dwarf2out.c (add_call_src_coords_attributes): New. | |
5291 | (gen_inlined_subroutine_die): Call it. | |
5292 | (maybe_emit_file, init_file_table): Add comments. | |
5293 | (prune_unused_types_walk_attribs): Pass DW_AT_call_file through | |
5294 | maybe_emit_file. | |
5295 | * tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION. | |
5296 | (expand_call_inline): Set BLOCK_SOURCE_LOCATION. | |
5297 | * tree.h (BLOCK_SOURCE_LOCATION): New. | |
5298 | (struct tree_block): New field locus. | |
5299 | ||
9275de65 AS |
5300 | 2005-07-26 Andreas Schwab <schwab@suse.de> |
5301 | ||
5302 | PR rtl-optimization/23043 | |
5303 | * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo | |
5304 | when allocating a struct unoccr. | |
5305 | ||
5306ec31 RH |
5306 | 2005-07-25 Richard Henderson <rth@redhat.com> |
5307 | ||
5308 | PR 22626 | |
5309 | * tree-complex.c (gate_no_optimization): True if errors. | |
5310 | * Makefile.in (tree-complex.o): Update dependencies. | |
5311 | ||
bfa653b3 AH |
5312 | 2005-07-25 Aldy Hernandez <aldyh@redhat.com> |
5313 | ||
5314 | * config/frv/predicates.md (integer_register_operand): Use | |
5315 | GPR_AP_OR_PSEUDO_P. | |
5316 | ||
43e364dd AP |
5317 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
5318 | ||
5319 | PR tree-opt/22484 | |
5320 | * tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions | |
5321 | after fold. | |
5322 | * tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands. | |
5323 | ||
c72f711f AP |
5324 | 2005-07-25 Andrew Pinski <pinskia@physics.uc.edu> |
5325 | ||
5326 | * tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point | |
5327 | types when flag_unsafe_math_optimizations is true. | |
5328 | ||
160633c6 MM |
5329 | 2005-07-25 Mark Mitchell <mark@codesourcery.com> |
5330 | ||
5331 | * gcc.c (option_map): Add --sysroot. | |
5332 | (process_command): Handle --sysroot. | |
5333 | (display_help): Document it. | |
5334 | * doc/cppopts.tex (-isysroot): Document. | |
5335 | * doc/invoke.texi (--sysroot): Document. | |
5336 | * doc/install.texi (--with-build-sysroot): Document. | |
5337 | ||
5338 | * Makefile.in (inhibit_libc): New variable. | |
5339 | (INHIBIT_LIBC_CFLAGS): Likewise. | |
5340 | (LIBGCC2_CFLAGS): Include | |
5341 | $(INHIBIT_LIBC_CFLAGS). | |
5342 | (CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS). | |
5343 | ($(T)crtbegin.o): Do not use @inhibit_libc@. | |
5344 | ($(T)crtend.o): Likewise. | |
5345 | ($(T)crtbeginS.o): Do not use @inhibit_libc@. | |
5346 | ($(T)crtendS.o): Likewise. | |
5347 | ($(T)crtbeginT.o): Do not use @inhibit_libc@. | |
5348 | ($(T)crtendT.o): Likewise. | |
5349 | (stmp-fixinc): Do not complain about missing headers if | |
5350 | inhibit_libc. | |
5351 | * configure.ac (inhibit_libc): Set it to true/false. | |
5352 | (--with-build-sysroot): New option. Use it to set | |
7904f95f | 5353 | SYSTEM_HEADER_DIR. |
160633c6 MM |
5354 | * configure: Regenerated. |
5355 | ||
1490f93a MH |
5356 | 2005-07-25 Manfred Hollstein <mh@suse.com> |
5357 | ||
5358 | * calls.c (store_one_arg): Fix unsigned comparison warning. | |
5359 | ||
76e20664 SB |
5360 | 2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
5361 | ||
5362 | PR other/22337 | |
5363 | * ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD. | |
5364 | (ggc_print_statistics): Initialize variable before use. | |
5365 | ||
5c97e2de RG |
5366 | 2005-07-25 Richard Guenther <rguenther@suse.de> |
5367 | ||
5368 | * tree-dfa.c (mark_new_vars_to_rename): Protect against | |
5369 | calling with a PHI_NODE argument. | |
5370 | ||
5371 | * tree-flow-inline.h (overlap_subvar): Protect against | |
5372 | possible overflow. | |
5373 | ||
7fefc172 PB |
5374 | 2005-07-25 Paolo Bonzini <bonzini@gnu.org> |
5375 | ||
5376 | * aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory. | |
5377 | * configure: Regenerate. | |
5378 | ||
86a07404 IR |
5379 | 2005-07-25 Ira Rosen <irar@il.ibm.com> |
5380 | ||
5381 | * expr.c (highest_pow2_factor): Make extern. | |
5382 | * tree-data-ref.c (ptr_decl_may_alias_p): New function. | |
5383 | (ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p, | |
5384 | record_array_differ_p, array_ptr_differ_p): Likewise. | |
5385 | (base_object_differ_p): Rename (from array_base_name_differ_p). Support | |
5386 | additional cases. Call the above functions. | |
5387 | (base_addr_differ_p): Moved from tree-vect-analyze.c. Call | |
5388 | base_object_differ_p when there are two base objects. Otherwise, compare | |
5389 | base address and offset. Call may_alias_p. | |
5390 | (dump_data_reference): Use a correct field name. | |
5391 | (analyze_array): Make static. Initialize new data-ref fields. | |
5392 | (analyze_indirect_ref): New function. | |
7904f95f EC |
5393 | (init_data_ref): Initialize new data-ref fields. |
5394 | (strip_conversion): Moved from tree-vect-analyze.c. | |
7fefc172 PB |
5395 | (analyze_offset_expr, get_ptr_offset, address_analysis, |
5396 | object_analysis): Likewise. | |
86a07404 | 5397 | (analyze_offset): New function. |
86979811 | 5398 | (create_data_ref): Likewise. |
86a07404 IR |
5399 | (initialize_data_dependence_relation): Call base_addr_differ_p. Compare |
5400 | dimensions for ARRAY_REFs only. | |
5401 | (build_classic_dist_vector): Make static. | |
5402 | (access_functions_are_affine_or_constant_p): Call macro to get the | |
5403 | address of access functions. | |
5404 | (compute_all_dependences): Add new parameter | |
7904f95f | 5405 | compute_self_and_read_read_dependences. Compute self and read-read |
86a07404 IR |
5406 | dependences if it is true. |
5407 | (find_data_references_in_loop): Call create_data_ref. Initialize new | |
5408 | data-ref fields. | |
5409 | (compute_data_dependences_for_loop): Add new parameter | |
5410 | compute_self_and_read_read_dependences. Remove parameter nb_loops, | |
7fefc172 PB |
5411 | compute nb_loops. Call compute_all_dependences, |
5412 | build_classic_dist_vector and build_classic_dir_vector with correct | |
5413 | parameters. | |
5414 | (analyze_all_data_dependences): Call compute_data_dependences_for_loop | |
5415 | with correct parameters. Compare dimensions for ARRAY_REFs only. | |
86a07404 IR |
5416 | (free_data_refs): Call macro to free access functions. |
5417 | * tree-data-ref.h (struct first_location_in_loop): New structure. Move | |
5418 | fields from stmt_vinfo. | |
5419 | (struct base_object_info): New structure. | |
7904f95f | 5420 | (struct data_reference): Move fields to base_object_info. Add fields |
86a07404 | 5421 | first_location and object_info for above structures. Move fields from |
7fefc172 PB |
5422 | stmt_info: memtag, ptr_info, subvars, misalignment. Add new field |
5423 | aligned_to. Add macros to access the new fields. | |
86a07404 IR |
5424 | Update functions declarations. |
5425 | * tree-flow.h (is_aliased_with): Declare. | |
5426 | * tree-loop-linear.c (linear_transform_loops): Call | |
5427 | compute_data_dependences_for_loop with correct parameters. | |
5428 | * tree-ssa-alias.c (is_aliased_with): New function. | |
86979811 | 5429 | * tree-vect-analyze.c (vect_get_ptr_offset): Remove. |
86a07404 IR |
5430 | (vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise. |
5431 | (vect_analyze_data_ref_dependence): Get ddr. Remove call to | |
5432 | vect_base_addr_differ_p, compute_subscript_distance and | |
5433 | build_classic_dist_vector. Add printings. Check absolute value of | |
5434 | distance. | |
7fefc172 PB |
5435 | (vect_analyze_data_ref_dependences): Go through ddrs instead of |
5436 | data-refs. | |
86a07404 IR |
5437 | (vect_compute_data_ref_alignment): Get the fields of data-ref instead of |
5438 | stmt. Check aligned_to. Check if the base is aligned. Remove conversion | |
5439 | to bytes. Add printing. | |
7fefc172 PB |
5440 | (vect_compute_data_refs_alignment): Go through loads and stores in one |
5441 | loop. | |
86a07404 IR |
5442 | (vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment, |
5443 | vect_analyze_data_ref_access): Likewise. | |
5444 | (vect_analyze_pointer_ref_access): Remove. | |
5445 | (vect_address_analysis, vect_object_analysis): Likewise. | |
5446 | (vect_analyze_data_refs): Call compute_data_dependences_for_loop to find | |
5447 | and analyze data-refs in the loop. | |
7fefc172 PB |
5448 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the |
5449 | fields of data-ref instead of stmt. Add init to the offset from the | |
5450 | base. | |
86a07404 IR |
5451 | (vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt. |
5452 | (vect_update_init_of_dr): Likewise. | |
5453 | (vect_update_inits_of_drs): Go through loads and stores in one loop. | |
7fefc172 PB |
5454 | * tree-vectorizer.c (new_stmt_vec_info): Remove initialization of |
5455 | removed fields. | |
86a07404 IR |
5456 | (new_loop_vec_info): Initialize new fields. |
5457 | (destroy_loop_vec_info): Free new fields. | |
5458 | (vect_strip_conversion): Remove. | |
5459 | * tree-vectorizer.h (enum verbosity_levels): Add new verbosity level. | |
5460 | (struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into | |
7904f95f | 5461 | datarefs. Add new field ddrs. |
86a07404 IR |
5462 | Add macros for the new fields access. |
5463 | (struct _stmt_vec_info): Remove: base_address, initial_offset, step, | |
5464 | base_aligned_p, misalignment, memtag, ptr_info and subvars. | |
5465 | Remove their macros. | |
5466 | * tree.h (highest_pow2_factor): Declare. | |
5467 | ||
0dc42b03 JJ |
5468 | 2005-07-25 Jakub Jelinek <jakub@redhat.com> |
5469 | ||
5470 | * calls.c (store_one_arg): Check for sibling call MEM arguments | |
5471 | from already clobbered incoming argument area. | |
5472 | ||
104f8784 KG |
5473 | 2005-07-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5474 | ||
5475 | * c-common.c (check_missing_format_attribute): New. | |
5476 | * c-common.h (check_missing_format_attribute): Likewise. | |
5477 | * c-typeck.c (convert_for_assignment): Use it. | |
5478 | ||
1b8452d0 AS |
5479 | 2005-07-24 Andreas Schwab <schwab@suse.de> |
5480 | ||
5481 | * config/m68k/m68k.md ("extendqidi2"): When source is an address | |
5482 | register use a word move. Correct operand of ext.w in 68000 code. | |
5483 | ||
2b402955 MM |
5484 | 2005-07-23 Mark Mitchell <mark@codesourcery.com> |
5485 | ||
5486 | * dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT | |
5487 | variables as declarations, rather than definitions. | |
5488 | ||
c8af1197 IR |
5489 | 2005-07-24 Ira Rosen <irar@il.ibm.com> |
5490 | ||
86979811 SB |
5491 | PR tree-optimization/22526 |
5492 | * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type | |
5493 | of the zero node. | |
c8af1197 | 5494 | |
1b135aa5 FXC |
5495 | 2005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
5496 | ||
5497 | * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins | |
5498 | that C99 reserve for future use. Use it to define clog10, | |
5499 | clog10f and clog10l. | |
5500 | ||
ac0f3f39 KG |
5501 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5502 | ||
5503 | * Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute. | |
5504 | * configure.ac: Check for -Wmissing-format-attribute. | |
7904f95f | 5505 | |
ac0f3f39 KG |
5506 | * configure: Regenerate. |
5507 | ||
db753fa1 RH |
5508 | 2005-07-23 Richard Henderson <rth@redhat.com> |
5509 | ||
5510 | PR tree-optimization/22623 | |
5511 | * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. | |
5512 | ||
28f155be GB |
5513 | 2005-07-23 Giovanni Bajo <giovannibajo@libero.it> |
5514 | ||
5515 | PR target/22577 | |
5516 | * config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR. | |
5517 | ||
db857e7d KG |
5518 | 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5519 | ||
5520 | * Makefile.in (C_TREE_H): Update dependencies. | |
5521 | * c-tree.h: Include toplev.h. | |
5522 | * diagnostic.h (diagnostic_set_info): Add format attribute. | |
5523 | * rtl-error.c (diagnostic_for_asm): Likewise. | |
5524 | ||
118ea793 CF |
5525 | 2005-07-23 Chao-ying Fu <fu@mips.com> |
5526 | ||
5527 | * config/mips/mips-dsp.md: New file. | |
5528 | * config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes. | |
5529 | * config/mips/mips.c (mips_function_type): Add types for DSP builtin | |
5530 | functions. | |
5531 | (mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and | |
5532 | MIPS_BUILTIN_BPOSGE32. | |
5533 | (mips_expand_builtin_direct): Add one parameter to indicate that | |
5534 | builtin functions need to return a value. | |
5535 | (mips_expand_builtin_bposge): New for expanding "bposge" builtin | |
5536 | functions. | |
5537 | (mips_regno_to_class): Add classes for 12 new DSP registers. | |
5538 | (mips_subword): Change to check four HI registers. | |
5539 | (mips_output_move): Output move to and from 6 new DSP accumulators. | |
5540 | (override_options): Make sure -mdsp and -mips16 are not used together. | |
5541 | Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators | |
5542 | for machine modes. | |
5543 | (mips_conditional_register_usage): Disable 6 new DSP accumulators | |
5544 | when !TARGET_DSP. | |
5545 | (print_operand): Add 'q' for printing DSP accumulators. | |
5546 | (mips_cannot_change_mode_class): Check ACC_REGS. | |
5547 | (mips_secondary_reload_class): Check ACC_REGS. | |
5548 | (mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP. | |
5549 | (mips_register_move_cost): Check ACC_REGS. | |
5550 | (CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph) | |
5551 | (CODE_FOR_mips_subu_qb): New code-aliasing macros. | |
5552 | (DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros. | |
5553 | (dsp_bdesc): New array. | |
5554 | (bdesc_arrays): Add DSP builtin function table. | |
5555 | (mips_prepare_builtin_arg): Check predicate again after | |
5556 | copy_to_mode_reg. | |
5557 | (mips_expand_builtin): Add one more parameter to | |
5558 | mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and | |
5559 | MIPS_BUILTIN_BPOSGE32. | |
5560 | (mips_init_builtins): Initialize new function types. | |
5561 | (mips_expand_builtin_direct): Check if builtin functions need to | |
5562 | return a value and pass operands properly. | |
5563 | (mips_expand_builtin_bposge): New function. | |
5564 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp. | |
5565 | (ASM_SPEC): Map -mdsp to -mdsp in GAS. | |
5566 | (FIRST_PSEUDO_REGISTER): Increase to 188. | |
5567 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): | |
5568 | Update for 12 new DSP registers. | |
5569 | (DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM) | |
5570 | (AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM): | |
5571 | (DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros. | |
5572 | (reg_class): Add DSP_ACC_REGS and ACC_REGS. | |
5573 | (REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS. | |
5574 | (REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS. | |
5575 | (REG_ALLOC_ORDER): Update for 12 new DSP registers. | |
5576 | (mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS. | |
5577 | (UIMM6_OPERAND, IMM10_OPERAND): New macros. | |
5578 | (EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints. | |
5579 | (REGISTER_NAMES): Add names for 12 new DSP registers. | |
5580 | * config/mips/mips.md: Include mips-dsp.md. | |
5581 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
5582 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
5583 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
5584 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
5585 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
5586 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
5587 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
5588 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
5589 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
5590 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
5591 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
5592 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
5593 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
5594 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
5595 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
5596 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
5597 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
5598 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
5599 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
5600 | (UNSPEC_RDDSP): New constants. | |
5601 | (*movdi_32bit): Change 'x' to 'a' for ACC_REGS. | |
5602 | (*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an | |
5603 | A<-d alternative. | |
5604 | * config/mips/mips.opt (-mdsp): New option. | |
5605 | * config/mips/predicates.md (const_uimm6_operand, const_imm10_operand) | |
5606 | (reg_imm10_operand): New predicates. | |
5607 | * doc/extend.texi (MIPS DSP Built-in Functions): New section. | |
5608 | * doc/invoke.texi (-mdsp): Document new option. | |
5609 | ||
d2fcbf6f DD |
5610 | 2005-07-22 DJ Delorie <dj@redhat.com> |
5611 | ||
5612 | * c-objc-common.c (c_cannot_inline_tree_fn): Add warning control | |
5613 | to warning calls. | |
5614 | * tree-inline.c (inlinable_function_p): Likewise. | |
5615 | ||
9881e3e5 MM |
5616 | 2005-07-22 Mark Mitchell <mark@codesourcery.com> |
5617 | ||
5618 | PR debug/21828 | |
5619 | * toplev.c (check_global_declarations): Do not mark undefined | |
5620 | variables as DECL_IGNORED_P. | |
5621 | * varasm.c (first_global_object_name): GTY it. | |
5622 | (weak_global_object_name): Likewise. | |
5623 | (notice_global_symbol): Use ggc_strdup, not xstrdup, when creating | |
5624 | a string to go into {weak,first}_global_object_name. | |
5625 | ||
1a8d0d41 DD |
5626 | 2005-07-22 DJ Delorie <dj@redhat.com> |
5627 | ||
5628 | * c-format.c (check_function_format): Change warning control | |
5629 | option from OPT_Wattribute to OPT_Wmissing_format_attribute. | |
5630 | ||
17c7e33e DN |
5631 | 2005-07-22 Diego Novillo <dnovillo@redhat.com> |
5632 | ||
5633 | * tree-ssa-alias.c (count_ptr_derefs): Do not consider | |
5634 | &PTR->FLD a dereference of PTR. | |
5635 | * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD | |
5636 | a potential dereference of PTR. | |
5637 | ||
45002e59 R |
5638 | 2005-07-22 J"orn Rennecke <joern.rennecke@st.com> |
5639 | ||
191e1ff2 R |
5640 | PR rtl-optimization/20370 |
5641 | * ifcvt.c (dead_or_predicable): Before calling propagate_block, | |
5642 | call allocate_reg_info if necessary. | |
5643 | ||
475a3eef R |
5644 | PR rtl-optimization/21848 |
5645 | * calls.c (emit_library_call_value_1): For const functions, add | |
5646 | USEs of the stack slots to CALL_INSN_FUNCTION_USAGE. | |
5647 | ||
29c1846b R |
5648 | PR rtl-optimization/22445 |
5649 | * cselib.c (target.h): Include. | |
5650 | (rtx_equal_for_cselib_p): Allow commutative matches. | |
5651 | (cselib_hash_rtx): Don't use MODE for CONST_INT hashing. | |
5652 | Remove MODE parameter. Changed all callers. | |
5653 | ||
45002e59 R |
5654 | PR rtl-optimization/22258 |
5655 | * combine.c (likely_spilled_retval_1, likely_spilled_retval_p): | |
5656 | New functions. | |
5657 | (try_combine): Use likely_spilled_retval_p. | |
5658 | ||
db869733 PW |
5659 | 2005-07-22 Paul Woegerer <paul.woegerer@nsc.com> |
5660 | ||
5661 | * config.gcc: Add crx-elf support. | |
5662 | ||
5663 | * doc/contrib.texi: Mention crx. | |
5664 | * doc/extend.texi: Document crx extensions. | |
5665 | * doc/install.texi: Document crx install. | |
5666 | * doc/invoke.texi: Document crx options. | |
5667 | * doc/md.texi: Document crx constraints. | |
5668 | ||
5669 | * config/crx/crx-protos.h: New file. | |
5670 | * config/crx/crx.c: New file. | |
5671 | * config/crx/crx.h: New file. | |
5672 | * config/crx/crx.md: New file. | |
5673 | * config/crx/crx.opt: New file. | |
5674 | * config/crx/t-crx: New file. | |
7904f95f | 5675 | |
32cafd73 MH |
5676 | 2005-07-22 Manfred Hollstein <mh@suse.com> |
5677 | ||
5678 | * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised | |
5679 | warnings. | |
5680 | (int_add_graph_edge): Likewise. | |
5681 | (collapse_nodes): Likewise. | |
5682 | (process_unification_queue): Likewise. | |
5683 | ||
ee184c4d | 5684 | 2005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
86979811 | 5685 | Laurent GUERBY <laurent@guerby.net> |
ee184c4d | 5686 | |
86979811 | 5687 | PR tree-optimization/22336 |
7904f95f | 5688 | * function.c (record_block_change): Check for |
86979811 | 5689 | cfun->ib_boundaries_block. |
7904f95f | 5690 | |
b49ceb45 JM |
5691 | 2005-07-21 James A. Morrison <phython@gcc.gnu.org> |
5692 | ||
5693 | * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs. | |
5694 | (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED. | |
5695 | ||
30c54de9 DD |
5696 | 2005-07-21 DJ Delorie <dj@redhat.com> |
5697 | ||
5698 | * toplev.c (warn_deprecated_use): Add warning control to warning | |
5699 | call. | |
c303630a DD |
5700 | * c-typeck.c (parser_build_binary_op): Likewise. |
5701 | (c_finish_if_stmt): Likewise. | |
30480ec4 DD |
5702 | * c-common.c (check_function_sentinel): Likewise. |
5703 | (check_nonnull_arg): Likewise. | |
30c54de9 | 5704 | |
95a8c155 RH |
5705 | 2005-07-21 Richard Henderson <rth@redhat.com> |
5706 | ||
5707 | PR tree-opt/22504 | |
5708 | * tree-complex.c (complex_ssa_name_components): New. | |
5709 | (cvc_lookup): Allow entry not found. | |
5710 | (create_components): Remove. | |
5711 | (create_one_component_var, get_component_var): New. | |
5712 | (get_component_ssa_name, set_component_ssa_name): New. | |
5713 | (extract_component): Use get_component_ssa_name. | |
5714 | (update_complex_components): Use set_component_ssa_name. | |
5715 | (update_complex_components_on_edge): Likewise. | |
5716 | (update_phi_components): Create new PHI nodes directly, instead | |
5717 | of adding insns to edges. | |
5718 | (tree_lower_complex): Allocate and free complex_variable_components | |
5719 | and complex_ssa_name_components here. | |
5720 | ||
c05a0766 | 5721 | 2005-07-20 Daniel Berlin <dberlin@dberlin.org> |
7904f95f | 5722 | |
c05a0766 DB |
5723 | * alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT, |
5724 | revert to returning false. | |
5725 | ||
de343c8d UB |
5726 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
5727 | ||
86979811 SB |
5728 | PR target/21149 |
5729 | * config/i386/i386.md (sse_movhlps): Fix vec_select values. | |
de343c8d | 5730 | |
5acc26ef UB |
5731 | 2005-07-21 Uros Bizjak <uros@kss-loka.si> |
5732 | ||
5733 | PR target/22576 | |
5734 | * config/i386/i386.md (cmpxf): Change operand constraints | |
5735 | to "nonmemory_operand". | |
5736 | ||
61cb44fe AP |
5737 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
5738 | ||
5739 | * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2. | |
5740 | ||
e2fe73f6 AP |
5741 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
5742 | ||
5743 | PR middle-end/21180 | |
5744 | * fold-const.c (fold_build1): Add checksum for the operands. | |
7904f95f | 5745 | (fold_build2): Likewise. |
e2fe73f6 AP |
5746 | (fold_build3): Likewise. |
5747 | ||
9d24eb54 AP |
5748 | 2005-07-21 Andrew Pinski <pinskia@physics.uc.edu> |
5749 | ||
5750 | PR middle-end/19055 | |
5751 | * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X". | |
5752 | ||
b2e0afa0 PB |
5753 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
5754 | ||
5755 | * common.opt (-fforward-propagate): Committed by mistake, | |
5756 | removed. | |
5757 | ||
2e48874f VR |
5758 | 2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
5759 | ||
5760 | * reg-stack.c: Fix comment typo(s). | |
5761 | * tree-ssa-operands.c: Likewise. | |
5762 | * tree-vectorizer: Likewise. | |
5763 | ||
889d8465 NC |
5764 | 2005-07-21 Nick Clifton <nickc@redhat.com> |
5765 | ||
5766 | * config/sh/symbian.c: Replace C++ style line comments with C | |
5767 | style line comments. | |
86979811 | 5768 | (symbian_add_attribute): Do not use a ? operator on the LHS of |
889d8465 | 5769 | an assignment. |
86979811 | 5770 | (sh_symbian_handle_dll_attribute): Change the type of the |
889d8465 NC |
5771 | method vector to "VEC(tree,gc)*" and use vector accessor |
5772 | macros to walk over the elements. | |
86979811 SB |
5773 | (symbian_export_vtable_and_rtti_p): Likewise. |
5774 | (symbian_class_needs_attribute_p): Likewise. | |
889d8465 | 5775 | |
2fab365e PB |
5776 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
5777 | ||
5778 | PR target/22085 | |
5779 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not | |
5780 | initialize targetm.resolve_overloaded_builtin here. | |
5781 | (altivec_expand_overloaded_builtin): Make it non-static. | |
5782 | * config/rs6000/rs6000-protos.h | |
5783 | (altivec_expand_overloaded_builtin): New prototype. | |
5784 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize | |
5785 | targetm.resolve_overloaded_builtin here. | |
5786 | * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise. | |
5787 | ||
f9cc1a70 | 5788 | 2005-07-21 Paolo Bonzini <bonzini@gnu.org> |
86979811 | 5789 | Zdenek Dvorak <dvorakz@suse.cz> |
f9cc1a70 PB |
5790 | |
5791 | PR tree-optimization/19210 | |
5792 | * common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations): | |
5793 | New. | |
5794 | * Makefile.in (tree-ssa-loop-niter.o): Depend intl.o. | |
5795 | * loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations, | |
5796 | rely on unproven assumptions. | |
5797 | * predict.c (predict_loops): Adjust call to number_of_iterations_exit. | |
5798 | * tree-flow.h (number_of_iterations_exit): Add final parameter. | |
5799 | * tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call | |
5800 | to number_of_iterations_exit. | |
5801 | * tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise. | |
5802 | * tree-ssa-loop-ivopts.c (niter_for_exit): Likewise. | |
5803 | * tree-ssa-loop-niter.c (find_loop_niter, | |
5804 | estimate_numbers_of_iterations_loop): Likewise. | |
5805 | (number_of_iterations_exit): Honor the new options. | |
5806 | * doc/invoke.texi (Wunsafe-loop-optimizations, | |
5807 | funsafe-loop-optimizations): Document them. | |
5808 | ||
cb83c2ec RS |
5809 | 2005-07-21 Richard Sandiford <richard@codesourcery.com> |
5810 | ||
5811 | PR rtl-optimization/22167 | |
5812 | * gcse.c (hoist_code): Fix hoist_exprs[] check. | |
5813 | ||
5e5cbbfb AN |
5814 | 2005-07-20 Adam Nemet <anemet@lnxw.com> |
5815 | ||
5816 | * config/rs6000/lynx.h: Mark __do_global_ctors_aux and | |
5817 | __do_global_dtors_aux longcall. | |
5818 | ||
c2acaf06 KH |
5819 | 2005-07-20 Kazu Hirata <kazu@cs.umass.edu> |
5820 | ||
5821 | * gensupport.c (old_preds): Don't reference PREDICATE_CODES. | |
5822 | (old_special_pred_table): Don't reference | |
5823 | SPECIAL_MODE_PREDICATES. | |
5824 | * system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison. | |
5825 | * config/arc/arc.h: Don't mention PREDICATE_CODES. | |
5826 | * config/sh/predicates.h: Don't mention | |
5827 | SPECIAL_MODE_PREDICATES. | |
5828 | * doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): | |
5829 | Remove. | |
5830 | ||
38b2d076 DD |
5831 | 2005-07-20 DJ Delorie <dj@redhat.com> |
5832 | ||
5833 | * config.gcc: Add m32c-elf support. | |
5834 | ||
5835 | * doc/contrib.texi: Mention m32c. | |
5836 | * doc/extend.texi: Document m32c extensions. | |
5837 | * doc/install.texi: Mention m32c. | |
5838 | * doc/invoke.texi: Document m32c options. | |
5839 | * doc/md.texi: Document m32c constraints. | |
5840 | ||
5841 | * config/m32c/addsub.md: New file. | |
5842 | * config/m32c/bitops.md: New file. | |
5843 | * config/m32c/cond.md: New file. | |
5844 | * config/m32c/jump.md: New file. | |
5845 | * config/m32c/m32c-lib1.S: New file. | |
5846 | * config/m32c/m32c-lib2.c: New file. | |
5847 | * config/m32c/m32c-modes.def: New file. | |
5848 | * config/m32c/m32c-pragma.c: New file. | |
5849 | * config/m32c/m32c-protos.h: New file. | |
5850 | * config/m32c/m32c.abi: New file. | |
5851 | * config/m32c/m32c.c: New file. | |
5852 | * config/m32c/m32c.h: New file. | |
5853 | * config/m32c/m32c.md: New file. | |
5854 | * config/m32c/m32c.opt: New file. | |
5855 | * config/m32c/minmax.md: New file. | |
5856 | * config/m32c/mov.md: New file. | |
5857 | * config/m32c/muldiv.md: New file. | |
5858 | * config/m32c/predicates.md: New file. | |
5859 | * config/m32c/prologue.md: New file. | |
5860 | * config/m32c/shift.md: New file. | |
5861 | * config/m32c/t-m32c: New file. | |
5862 | ||
50b69666 KK |
5863 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
5864 | ||
5865 | * config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants. | |
5866 | (stack_protect_set, stack_protect_test): New expanders. | |
86979811 | 5867 | (stack_protect_set_si, stack_protect_set_si_media, |
50b69666 | 5868 | stack_protect_set_di_media, stack_protect_test_si, |
86979811 | 5869 | stack_protect_test_si_media, stack_protect_test_di_media): |
50b69666 KK |
5870 | New insns. |
5871 | ||
71b50543 AP |
5872 | 2005-07-20 Andrew Pinski <pinskia@physics.uc.edu> |
5873 | ||
5874 | * c-typeck.c (output_init_element): Don't copy the INTEGER_CST. | |
5875 | ||
4db8040c JM |
5876 | 2005-07-20 James A. Morrison <phython@gcc.gnu.org> |
5877 | ||
5878 | * tree.h (tree_expr_nonzero_p): Export. | |
5879 | * fold-const.c (tree_expr_nonzero_p): Likewise. | |
5880 | Return true for CALL_EXPRs that are alloca calls. | |
5881 | (fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs | |
5882 | against zero. | |
5883 | * tree-flow.h (expr_computes_nonzero): Remove. | |
5884 | * tree-vrp.c (expr_computes_nonzero): Remove. | |
86979811 | 5885 | (vrp_expr_computes_nonzero): Use tree_expr_nonzero_p. |
4db8040c JM |
5886 | (extract_range_from_unary_expr): Likewise. |
5887 | * tree-ssa-dom.c (record_equivalences_from_stmt): Use | |
5888 | tree_expr_nonzero_p. | |
5889 | ||
6d459e2b BS |
5890 | 2005-07-20 Bernd Schmidt <bernd.schmidt@analog.com> |
5891 | ||
09350e36 BS |
5892 | * config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare. |
5893 | * config/bfin/bfin.c (legitimize_pic_address): Now static. Take | |
5894 | extra arg "picreg" and use it instead of pic_offset_table_rtx. | |
5895 | All callers changed. | |
5896 | (frame_related_constant_load): New arg "related" which controls | |
5897 | setting of RTX_FRAME_RELATED_P. All callers changed. | |
5898 | (bfin_load_pic_reg): New function, broken out of bfin_expand_prologue. | |
5899 | (bfin_expand_prologue): Add stack limit checking. | |
5900 | * config/bfin/bfin.md (trapifcc): New pattern. | |
5901 | ||
05905337 BS |
5902 | * config/bfin/bfin.c: Include "langhooks.h". |
5903 | (def_builtin): Go through lang_hooks to call builtin_function. | |
5904 | ||
6d459e2b BS |
5905 | * config/bfin/bfin-protos.h (bfin_longcall_p): Declare. |
5906 | * config/bfin/predicates.md (symbol_ref_operand): New. | |
5907 | (call_insn_operand): Delete. All callers changed to use | |
5908 | register_no_elim_operand. | |
5909 | * config/bfin/bfin.c (init_cumulative_args): Initialize the new | |
5910 | call_cookie field. | |
5911 | (function_arg): Use it to generate the call's operand 2. | |
5912 | (bfin_longcall_p): New function. | |
5913 | (bfin_expand_call): Extra arg "cookie". All callers and declaration | |
5914 | changed. Emit extra USE in the pattern. Use bfin_longcall_p to | |
5915 | determine if the address needs to be in a REG. | |
5916 | (bfin_handle_longcall_attribute): New function. | |
5917 | (bfin_attribute_table): Add "longcall" and "shortcall". | |
5918 | * config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros. | |
5919 | (CUMULATIVE_ARGS): New member call_cookie. | |
5920 | (PREDICATE_CODES): Add symbol_ref_operand. | |
5921 | * config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add | |
5922 | extra USE to the pattern. | |
5923 | (call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol): | |
5924 | New patterns, split off call_insn, sibcall_insn, call_value_insn and | |
5925 | sibcall_value_insn; now the new patterns handle direct calls and the | |
5926 | old ones indirect calls. | |
5927 | * doc/extend.texi: Mention Blackfin in longcall/shortcall docs. | |
5928 | ||
67135ef4 ZD |
5929 | 2005-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
5930 | ||
5931 | * doc/trouble.texi: Update section on handling of empty loops. | |
5932 | ||
fdda361d KH |
5933 | 2005-07-20 Kazu Hirata <kazu@codesourcery.com> |
5934 | ||
5935 | * config.gcc: Remove support for sparc-*-openbsd*, | |
5936 | i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*, | |
5937 | ns32k-*-netbsd*. | |
5938 | * config.host: Remove support for i860-*-sysv4* as a host. | |
5939 | * config/i860/*, config/ip2k/*, config/ns32k/*, | |
5940 | config/sparc/openbsd.h, config/sparc/t-openbsd: Remove. | |
5941 | * doc/install.texi, doc/invoke.texi, doc/md.texi: Don't | |
5942 | mention obsolete ports. | |
5943 | ||
96a2347e KK |
5944 | 2005-07-20 Kaz Kojima <kkojima@gcc.gnu.org> |
5945 | ||
5946 | * config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for | |
5947 | soft frame pointer. | |
5948 | (sh_expand_prologue): Use hard_frame_pointer_rtx instead | |
5949 | of frame_pointer_rtx. | |
5950 | (sh_expand_epilogue): Likewise. | |
5951 | (sh_set_return_address): Likewise. | |
5952 | (initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM | |
5953 | instead of FRAME_POINTER_REGNUM if needed. Add elimination | |
5954 | offsets from FRAME_POINTER_REGNUM. | |
5955 | * config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp. | |
5956 | (sh_register_names): Add initializer for sfp. | |
5957 | (GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM. | |
5958 | (VALID_REGISTER_P): Likewise. | |
5959 | (FIRST_PSEUDO_REGISTER): Update. | |
5960 | (DWARF_FRAME_REGISTERS): Define. | |
5961 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp. | |
5962 | (HARD_FRAME_POINTER_REGNUM): Define. | |
5963 | (FRAME_POINTER_REGNUM): Redefine. | |
5964 | (ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM, | |
5965 | but HARD_FRAME_POINTER_REGNUM instead. Add eliminations | |
5966 | from FRAME_POINTER_REGNUM. | |
5967 | (CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of | |
5968 | FRAME_POINTER_REGNUM. | |
5969 | (REG_CLASS_CONTENTS): Add sfp. | |
5970 | (REG_ALLOC_ORDER): Likewise. | |
5971 | (FRAME_GROWS_DOWNWARD): Set to 1. Update comment. | |
5972 | (GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead | |
5973 | of frame_pointer_rtx. | |
5974 | (LEGITIMIZE_RELOAD_ADDRESS): Likewise. | |
5975 | ||
1ade5842 JM |
5976 | 2005-07-19 James A. Morrison <phython@gcc.gnu.org> |
5977 | ||
5978 | * fold-const.c (tree_expr_nonnegative_p): Only return true for | |
5979 | ABS_EXPR when flag_wrapv is false because of INT_MIN. | |
5980 | (tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument | |
5981 | of an ABS_EXPR. | |
5982 | (fold_unary): Always fold ABS_EXPR<ABS_EXPR<x>> into | |
5983 | ABS_EXPR<x>. | |
5984 | ||
4038c495 GB |
5985 | 2005-07-20 Giovanni Bajo <giovannibajo@libero.it> |
5986 | ||
5987 | Make CONSTRUCTOR use VEC to store initializers. | |
5988 | * c-common.c (complete_array_type): Update to cope with VEC in | |
5989 | CONSTRUCTOR_ELTS. | |
5990 | * c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts. | |
5991 | (pp_c_constructor_elts): New function. | |
5992 | * c-pretty-print.h (pp_c_constructor_elts): Declare. | |
5993 | * c-typeck.c (build_function_call, build_c_cast, digest_init, | |
5994 | struct constructor_stack, struct initializer_stack, | |
5995 | constructor_elements, push_init_level, pop_init_level, | |
5996 | add_pending_init, find_init_member, output_init_element): Update to | |
5997 | cope with VEC in CONSTRUCTOR_ELTS. | |
5998 | * coverage.c (build_fn_info_value, build_ctr_info_value, | |
5999 | build_gcov_info): Likewise. | |
6000 | * expr.c (categorize_ctor_elements_1, store_constructor, | |
6001 | expand_expr_real_1): Likewise. | |
6002 | * fold-const.c (fold_ternary): Likewise. | |
6003 | * gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl, | |
6004 | gimplify_init_constructor, gimplify_expr): Likewise. | |
6005 | * tree-dump.c (dequeue_and_dump): Likewise. | |
6006 | * tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR | |
6007 | node. | |
6008 | * tree-pretty-print.c (dump_generic_node): Update to cope with VEC in | |
6009 | CONSTRUCTOR_ELTS. | |
6010 | * tree-sra.c (generate_element_init_1): Likewise. | |
6011 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise. | |
6012 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
6013 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
6014 | * tree-vect-transform.c (vect_get_vec_def_for_operand): | |
6015 | (get_initial_def_for_reduction): Likewise. | |
6016 | * tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses | |
6017 | value handle in annotations. | |
6018 | * tree.c (tree_node_kind, tree_code_size, make_node_stat, | |
6019 | tree_node_structure): Add support for constr_kind. | |
6020 | (build_vector_from_ctor, build_constructor_single, | |
6021 | build_constructor_from_list): New functions. | |
6022 | (build_constructor): Update to take a VEC instead of a TREE_LIST. | |
6023 | (simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree): | |
6024 | Update to cope with VEC in CONSTRUCTOR_ELTS. | |
6025 | * tree.def (CONSTRUCTOR): Make it a tcc_exceptional node. | |
6026 | * tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT, | |
6027 | CONSTRUCTOR_APPEND_ELT): New macros. | |
6028 | (struct constructor_elt, struct tree_constructor): New data types. | |
6029 | (union tree_node): Add tree_constructor field. | |
6030 | * treestruct.def: Define TS_CONSTRUCTOR. | |
6031 | * varasm.c (const_hash_1, compare_constant, copy_constant, | |
6032 | compute_reloc_for_constant, output_addressed_constants, | |
6033 | initializer_constant_valid_p, output_constant, | |
6034 | array_size_for_constructor, output_constructor): Update to cope with | |
6035 | VEC in CONSTRUCTOR_ELTS. | |
6036 | * vec.h (VEC_empty, VEC_copy): New macros. | |
6037 | ||
f37d7c60 DP |
6038 | 2005-07-19 Devang Patel <dpatel@apple.com> |
6039 | ||
6040 | * dbxout.c (dbxout_type): Check Objective-C++ lang. | |
7904f95f | 6041 | |
af62f6f9 RH |
6042 | 2005-07-19 Richard Henderson <rth@redhat.com> |
6043 | ||
6044 | PR tree-opt/22278 | |
6045 | * gimplify.c (gimplify_expr): Use main variant type for the temp | |
6046 | destination for a discarded volatile read. | |
6047 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide | |
6048 | casts between non-void types that change volatility. | |
6049 | ||
b9b8dde3 DD |
6050 | 2005-07-15 DJ Delorie <dj@redhat.com> |
6051 | ||
6052 | * toplev.h: Add comment about the first parameter for warning(). | |
6053 | * errors.h: Likewise. | |
6054 | ||
6055 | * c.opt (Wpragmas): New. | |
6056 | * doc/invoke.texi: Document it. | |
7904f95f | 6057 | |
b9b8dde3 DD |
6058 | * function.c (do_warn_unused_parameter): Add warning control to |
6059 | warning call. | |
6060 | * c-decl.c (warn_if_shadowing): Likewise. | |
6061 | * c-lex.c (cb_def_pragma): Likewise. | |
6062 | * c-pragma.c (GCC_BAD, GCC_BAD2): Likewise. | |
6063 | (pop_alignment): Likewise. | |
6064 | (handle_pragma_pack): Likewise. | |
6065 | (apply_pragma_weak): Likewise. | |
6066 | (handle_pragma_weak): Likewise. | |
6067 | (handle_pragma_redefine_extname): Likewise. | |
6068 | (add_to_renaming_pragma_list): Likewise. | |
6069 | (handle_pragma_extern_prefix): Likewise. | |
6070 | (maybe_apply_renaming_pragma): Likewise. | |
6071 | (handle_pragma_visibility): Likewise. | |
7904f95f | 6072 | |
b9b8dde3 DD |
6073 | * config/c4x/c4x-c.c (BAD): Likewise. |
6074 | (c4x_parse_pragma): Likewise. | |
6075 | * config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise. | |
6076 | * config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise. | |
6077 | (rs6000_pragma_longcall): Likewise. | |
6078 | * config/v850/v850-c.c (pop_data_area): Likewise. | |
6079 | (ghs_pragma_section): Likewise. | |
6080 | (ghs_pragma_section): Likewise. | |
6081 | (ghs_pragma_interrupt): Likewise. | |
6082 | (ghs_pragma_starttda): Likewise. | |
6083 | (ghs_pragma_startsda): Likewise. | |
6084 | (ghs_pragma_startzda): Likewise. | |
6085 | (ghs_pragma_endtda): Likewise. | |
6086 | (ghs_pragma_endsda): Likewise. | |
6087 | (ghs_pragma_endzda): Likewise. | |
6088 | ||
6a9a79a8 DB |
6089 | 2005-07-19 Danny Berlin <dberlin@dberlin.org> |
6090 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
6091 | ||
6092 | * Makefile.in: Removed tree-promote-statics.c | |
6093 | * tree-promote-statics.c: Removed. | |
6094 | * common.opt: Removed flag-promote-statics. | |
6095 | * opts.c: Ditto. | |
7904f95f | 6096 | * passes.c: Removed tree-promote-statics pass. |
6a9a79a8 DB |
6097 | * tree-pass.h: Ditto. |
6098 | * timevar.def: Removed TV_PROMOTE_STATICS. | |
6099 | ||
6100 | ||
0219cf3d GP |
6101 | 2005-07-19 Gerald Pfeifer <gerald@pfeifer.com> |
6102 | ||
6103 | * config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, | |
6104 | and *-*-freebsd9. | |
6105 | * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. | |
7904f95f | 6106 | |
7876a414 KG |
6107 | 2005-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6108 | ||
6109 | PR c/22476 | |
6110 | * c-common.c (check_function_arguments): Call | |
6111 | 'check_function_format' if either -Wformat or | |
6112 | -Wmissing-format-attribute are specified. | |
6113 | * c-format.c (check_function_format): Check -Wformat before | |
6114 | calling 'check_format_info'. | |
6115 | * c-opts.c (c_common_post_options): Don't warn for | |
6116 | -Wmissing-format-attribute without -Wformat. | |
6117 | * c-typeck.c (convert_for_assignment): Detect additional cases for | |
6118 | -Wmissing-format-attribute. | |
6119 | * doc/invoke.texi (-Wmissing-format-attribute): Document new | |
6120 | behavior. | |
6121 | ||
98ea7437 RG |
6122 | 2005-07-19 Richard Guenther <rguenther@suse.de> |
6123 | ||
6124 | * config/i386/i386.md (lrint<mode>2): Use temporary | |
6125 | instead of clobbering non-existent memory. | |
6126 | ||
89a0b917 NC |
6127 | 2005-07-19 Nick Clifton <nickc@redhat.com> |
6128 | ||
6129 | * config/avr/avr.c (legitimate_address_p): Fix debugging print | |
6130 | statement to avoid displaying ASCII control characters. | |
6131 | ||
dfea6c85 BE |
6132 | 2005-07-19 Ben Elliston <bje@au.ibm.com> |
6133 | ||
6134 | * bt-load.c (link_btr_uses): Fix uninitialised warnings. | |
6135 | * cfganal.c (find_edge_index): Ditto. | |
6136 | * combine.c (combine_instructions): Ditto. | |
6137 | * ddg.c (create_scc): Ditto. | |
6138 | (find_successors): Ditto. | |
6139 | (find_predecessors): Ditto. | |
6140 | (find_nodes_on_paths): Ditto. | |
6141 | (longest_simple_path): Ditto. | |
6142 | * flow.c (update_life_info): Ditto. | |
6143 | (count_or_remove_death_notes): Ditto. | |
6144 | (clear_log_links): Ditto. | |
6145 | * modulo-sched.c (generate_reg_moves): Ditto. | |
6146 | (find_max_asap): Ditto. | |
6147 | (find_max_hv_min_mob): Ditto. | |
6148 | (find_max_dv_min_mob): Ditto. | |
6149 | * sbitmap.c (sbitmap_first_set_bit): Ditto. | |
6150 | * sched-rgn.c (extract_edgelst): Ditto. | |
6151 | * tree-into-ssa.c (prepare_names_to_update): Ditto. | |
6152 | (dump_update_ssa): Ditto. | |
6153 | (ssa_names_to_replace) Ditto. | |
6154 | (switch_virtuals_to_full_rewrite): Ditto. | |
6155 | (update_ssa): Ditto. | |
6156 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. | |
6157 | ||
b9d33488 DB |
6158 | 2005-07-18 Daniel Berlin <dberlin@dberlin.org> |
6159 | ||
6160 | Fix PR tree-optimization/22483 | |
7904f95f | 6161 | |
b9d33488 DB |
6162 | * tree-complex.c (create_components): Use |
6163 | safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE. | |
6164 | * tree-flow-inline.h (fill_referenced_var_vec): New function. | |
6165 | * tree-flow.h (safe_referenced_var_iterator): New structure. | |
6166 | (FOR_EACH_REFERENCED_VAR_SAFE): New macro. | |
6167 | * tree-ssa-alias.c (setup_pointers_and_addressables): Use | |
6168 | safe_referenced_var iterator. | |
6169 | (add_type_alias): Ditto. | |
6170 | ||
9fa26457 SB |
6171 | 2005-07-19 Steven Bosscher <stevenb@suse.de> |
6172 | ||
6173 | * loop-init.c (rest_of_handle_loop2): Remove. | |
6174 | (rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants, | |
6175 | rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions. | |
6176 | (pass_rtl_loop_init, pass_rtl_loop_done, | |
6177 | pass_rtl_move_loop_invariants, pass_rtl_unswitch, | |
6178 | pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes. | |
6179 | * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done, | |
6180 | pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init, | |
6181 | pass_tree_loop_done, and pass_tree_unswitch. | |
6182 | (gate_loop): Rename to gate_tree_loop. | |
6183 | * passes.c (init_optimization_passes): Update for renamed tree | |
6184 | loop passes. Add the new loop2 passes as subpasses of loop2. | |
6185 | * tree-pass.h: Add extern declarations for the new loop2 subpasses. | |
6186 | Update for the renamed tree loop passes. | |
6187 | ||
7825308e ILT |
6188 | 2005-07-18 Ian Lance Taylor <ian@airs.com> |
6189 | ||
6190 | PR middle-end/22057 | |
6191 | * tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder | |
6192 | blocks when optimizing. | |
6193 | ||
2928d0f8 SE |
6194 | 2005-07-18 Steve Ellcey <sje@cup.hp.com> |
6195 | ||
6196 | * common.opt (frename-registers): Initialize to 2. | |
6197 | (fweb): Ditto. | |
6198 | (fgcse-after-reload): Ditto. | |
6199 | * toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE. | |
6200 | (process_options): Only change flag_web, flag_rename_registers, | |
6201 | and flag_rerun_cse_after_loop if not explicitly set by user. | |
6202 | ||
28356f52 JB |
6203 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
6204 | ||
6205 | * config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc, | |
6206 | ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode | |
6207 | in 64-bit mode the same as DImode in 32-bit mode. | |
6208 | (ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr, | |
6209 | ix86_split_lshr): Likewise. Rename to no longer refer to a specific | |
7904f95f | 6210 | mode. Add new mode parameter. |
28356f52 JB |
6211 | * config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'. |
6212 | * config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3, | |
6213 | x86_64_shift_adj): New expanders. | |
6214 | (*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1, | |
6215 | *ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New | |
6216 | insns. | |
6217 | Respective new splitters. Use renamed shift splitter helpers in 32-bit | |
6218 | DImode shift splitters. | |
6219 | * config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr, | |
6220 | ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new | |
6221 | mode parameter. | |
6222 | ||
422edd6f JB |
6223 | 2005-07-18 Jan Beulich <jbeulich@novell.com> |
6224 | ||
6225 | * i386.md (movdi_extzv_1): New. | |
6226 | (zero_extendhidi2): Combine alternatives and never force use of | |
6227 | REX64 prefix. | |
6228 | (zero_extendqidi2): Likewise. Don't restrict input selection. | |
6229 | ||
c625053b DB |
6230 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
6231 | ||
6232 | Fix PR tree-optimization/22531 | |
6233 | * tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the | |
6234 | moment. | |
6235 | ||
3b1355f3 DB |
6236 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> |
6237 | ||
6238 | * tree-promote-statics.c (pass_promote_statics): Change dump file | |
6239 | name. | |
6240 | ||
6241 | 2005-07-17 Daniel Berlin <dberlin@dberlin.org> | |
45159bf6 DB |
6242 | |
6243 | * tree-optimize.c (init_tree_optimization_passes): Add | |
6244 | pass_eliminate_useless_stores pass. | |
6245 | * tree-pass.h (pass_eliminate_useless_stores): New pass structure. | |
6246 | * tree-ssa-pre.c (is_copy_stmt): New function. | |
6247 | (follow_copies_till_vuse): Ditto. | |
6248 | (do_eustores): Ditto. | |
7904f95f EC |
6249 | (gate_eustores): Ditto. |
6250 | ||
7544a87f RH |
6251 | 2005-07-16 Richard Henderson <rth@redhat.com> |
6252 | ||
6253 | * gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit. | |
6254 | ||
bf0d50f1 KZ |
6255 | 2005-07-16 Danny Berlin <dberlin@dberlin.org> |
6256 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
6257 | ||
6258 | * Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c, | |
6259 | ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c, | |
6260 | ipa-type-escape.h, tree-promote-statics.c | |
6261 | * ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c, | |
7904f95f | 6262 | ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h, |
bf0d50f1 KZ |
6263 | tree-promote-statics.c: new files. |
6264 | * alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p, | |
6265 | nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1, | |
6266 | int nonlocal_set_p, mark_constant_function): Deleted. | |
7904f95f | 6267 | (rest_of_handle_cfg): Removed call to mark_constant_function. |
86979811 | 6268 | (nonoverlapping_component_refs_p): Added calls to support |
7904f95f | 6269 | type based aliasing. |
86979811 | 6270 | * tree-ssa-alias.c (may_alias_p, |
bf0d50f1 KZ |
6271 | compute_flow_insensitive_aliasing): Ditto. |
6272 | * calls.c (flags_from_decl_or_type): Removed reference to | |
7904f95f | 6273 | cgraph_rtl_info. |
86979811 | 6274 | * c-typeck.c (convert_arguments): Make builtins tolerant of having |
bf0d50f1 KZ |
6275 | too many arguments. This is necessary for Spec 2000. |
6276 | * cgraph.h (const_function, pure_function): Removed. | |
7904f95f | 6277 | * common.opt: Added "fipa-pure-const", "fipa-reference", |
bf0d50f1 KZ |
6278 | "fipa-type-escape", and "ftree-promote-static". |
6279 | * opts.c: Ditto. | |
7904f95f | 6280 | * passes.c: Added ipa and tree-promote-statics passes. |
bf0d50f1 KZ |
6281 | * timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE, |
6282 | TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS. | |
bf0d50f1 | 6283 | * tree-dfa.c (referenced_var_lookup_if_exists): New function. |
7904f95f | 6284 | * tree-flow.h: Added exposed sra calls and addition of |
bf0d50f1 KZ |
6285 | reference_vars_info field for FUNCTION_DECLS. |
6286 | * tree-pass.h: Added passes. | |
6287 | * tree-sra.c: (sra_init_cache): New function. | |
6288 | (sra_insert_before, sra_insert_after) Made public. | |
6289 | (type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p | |
6290 | and made public. | |
6291 | * tree-ssa-alias.c (dump_alias_stats): Added stats for type based | |
6292 | aliasing. (may_alias_p): Added code to use type escape analysis to | |
6293 | improve alias sets. | |
6294 | * tree-ssa-operands.c (add_call_clobber_ops): Added parameter and | |
6295 | code to prune clobbers of static variables based on information | |
6296 | produced in ipa-reference pass. Changed call clobbering so that | |
6297 | statics are not marked as clobbered if the call does not clobber | |
6298 | them. | |
6299 | ||
b6e0bdbd DB |
6300 | 2005-07-16 Daniel Berlin <dberlin@dberlin.org> |
6301 | ||
6302 | * tree-ssa-structalias.c (need_to_solve): Need to check for preds, | |
6303 | too. | |
6304 | ||
ff8f80f2 | 6305 | 2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
2c00bd42 EB |
6306 | |
6307 | * doc/install.texi (*-*-solaris2*): Document recommended version | |
6308 | of GNU binutils and mention GNU linker problem on Solaris 10. | |
6309 | ||
0b359b01 JM |
6310 | 2005-07-16 Joseph S. Myers <joseph@codesourcery.com> |
6311 | ||
6312 | PR c/22421 | |
6313 | * c-decl.c (c_build_bitfield_integer_type): New function. | |
6314 | (finish_struct): Call it. | |
6315 | * c-pretty-print.c (pp_c_type_specifier): Handle bit-field types. | |
6316 | ||
8fcef540 KG |
6317 | 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6318 | ||
6319 | * c-typeck.c (digest_init): Call 'convert_for_assignment' | |
6320 | before returning. | |
6321 | ||
84fc24e8 JH |
6322 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
6323 | ||
6324 | * cfg.c (update_bb_profile_for_threading): Fix profile updating. | |
6325 | (scale_bbs_frequencies_int): Watch roundoff errors. | |
6326 | * predict.c (return_prediction): Initialize return_stmt. | |
6327 | ||
3258272f JH |
6328 | 2005-07-16 Jan Hubicka <jh@suse.cz> |
6329 | ||
6330 | * profile.c (rest_of_handle_branch_prob): Fix handling of estimation | |
6331 | after RTL profiling. | |
6332 | ||
01c0a9fa AP |
6333 | 2005-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
6334 | ||
6335 | PR middle-end/22398 | |
6336 | * fold-const.c (build_range_check): Convert high/low to etype | |
6337 | if we are only comparing against exp. | |
6338 | ||
27811bfe DB |
6339 | 2005-07-13 Daniel Berlin <dberlin@dberlin.org> |
6340 | ||
6341 | Fix PR tree-optimization/22376 | |
6342 | * tree-ssa-structalias.c (build_constraint_graph): We really meant | |
6343 | special var here. | |
6344 | (need_to_solve): New function. | |
6345 | (compute_points_to_sets): Use it. | |
7904f95f | 6346 | |
2b151cb2 JH |
6347 | 2005-07-15 Jan Hubicka <jh@suse.cz> |
6348 | ||
6349 | * cfg.c (update_bb_profile_for_threading): More diagnostic. | |
6350 | * tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block. | |
6351 | ||
0691d1d4 RG |
6352 | 2005-07-15 Richard Guenther <rguenther@suse.de> |
6353 | ||
6354 | * c-common.c (handle_flatten_attribute): New function. | |
6355 | Add flatten function attribute. | |
6356 | * doc/extend.texi: Document flatten function attribute. | |
6357 | * Makefile.in (ipa-inline.o): Depend on hashtab.h. | |
6358 | * ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node): | |
6359 | New functions. | |
6360 | (cgraph_decide_inlining): Handle functions with flatten | |
6361 | attribute. | |
6362 | ||
9f0076e5 DE |
6363 | 2005-07-14 David Edelsohn <edelsohn@gnu.org> |
6364 | ||
6365 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC, | |
6366 | UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG, | |
6367 | UNSPEC_XCHG, UNSPEC_AND): New. | |
6368 | (UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, | |
6369 | UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete. | |
6370 | * config/rs6000/sync.md (FETCHOP): New code macro. | |
6371 | (fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr): | |
6372 | New code attrs. | |
6373 | (memory_barrier, sync_internal): Use unspec instead of unspec_volatile. | |
6374 | (sync_compare_and_swap<mode>): Same. | |
6375 | (sync_lock_test_and_set<mode>): Same. | |
6376 | (sync_<fetchop><mode>, sync_nand<mode>): Only use rs6000_emit_sync | |
6377 | for QImode and HImode, and not PPC405. | |
6378 | (sync_old_<fetchop><mode>, sync_old_nand<mode>): Same. | |
6379 | (sync_new_<fetchop><mode>, sync_new_nand<mode>): Same. | |
6380 | (sync_<fetchop>{si,di}_internal): New. | |
6381 | (sync_nand{si,di}_internal): New. | |
6382 | (sync_old_<fetchop>{si,di}_internal): New. | |
6383 | (sync_old_nand{si,di}_internal): New | |
6384 | (sync_new_<fetchop>{si,di}_internal): New. | |
6385 | (sync_new_nand{si,di}_internal): New. | |
6386 | (atomic_and{si,di}): New. | |
6387 | (sync_new_nand{si,di}_internal): New. | |
6388 | (atomic_and{si,di}): New. | |
6389 | (sync_add<mode>_internal): Delete. | |
6390 | (sync_addshort_internal): Use unspec instead of unspec_volatile. | |
6391 | (sync_sub<mode>_internal): Delte. | |
6392 | (sync_subshort_internal): New. | |
6393 | (sync_andsi_internal): Use unspec instead of unspec_volatile. | |
6394 | (sync_anddi_internal): Delete. | |
6395 | (sync_boolsi_internal): Use unspec instead of unspec_volatile. | |
6396 | (sync_booldi_internal): Delete. | |
6397 | (sync_boolc<mode>_internal): Delete. | |
6398 | (sync_boolcshort_internal): Use unspec instead of unspec_volatile. | |
6399 | (sync_boolc<mode>_internal2): Delete. | |
6400 | (sync_boolcc<mode>_internal): Delete. | |
6401 | (isync, lwsync): Use unspec instead of unspec_volatile. | |
6402 | * config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS. | |
6403 | Revert UNSPEC_VOLATILE. | |
6404 | (rs6000_split_atomic_op): New. | |
6405 | * config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare. | |
6406 | ||
06277571 EC |
6407 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
6408 | ||
6409 | * config/mips/mips.c (mips_canonicalize_comparison): Cast | |
6410 | argument of trunc_int_for_mode to unsigned HOST_WIDE_INT. | |
6411 | ||
b838c72b EC |
6412 | 2005-07-14 Eric Christopher <echristo@redhat.com> |
6413 | ||
6414 | * config/s390/t-tpf (SHLIB_MAPFILES): Remove. | |
6415 | ||
3c341936 SB |
6416 | 2005-07-14 Steven Bosscher <stevenb@suse.de> |
6417 | ||
6418 | PR tree-optimization/22230 | |
6419 | * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in | |
6420 | the computation of the four cross productions for "range op range". | |
6421 | ||
704b6cb5 | 6422 | 2005-07-14 Alexandre Oliva <aoliva@redhat.com> |
86979811 | 6423 | Ulrich Weigand <uweigand@de.ibm.com> |
704b6cb5 AO |
6424 | |
6425 | PR target/20126 | |
6426 | * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV | |
6427 | in some insn. | |
6428 | ||
a771c4b3 UW |
6429 | 2005-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
6430 | ||
6431 | * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition. | |
6432 | ||
6f3113ed SE |
6433 | 2005-07-14 Steve Ellcey <sje@cup.hp.com> |
6434 | ||
6435 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode. | |
6436 | ||
cb1119b7 RG |
6437 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
6438 | ||
6439 | PR middle-end/22347 | |
6440 | * config/i386/i386-protos.h (ix86_function_value): Change | |
6441 | prototype to match new target hook. | |
6442 | * config/i386/i386.c (ix86_value_regno): Change prototype | |
6443 | to take extra type argument. | |
6444 | (TARGET_FUNCTION_VALUE): Define. | |
6445 | (ix86_function_ok_for_sibcall): Pass extra argument to | |
6446 | ix86_value_regno, check return slot rtx for exact match. | |
6447 | (ix86_function_value): Take extra parameter. Dispatch to | |
6448 | ix86_value_regno with fndecl/fntype as provided. | |
6449 | (ix86_value_regno): Handle extra type argument. | |
6450 | * config/i386/i386.h (FUNCTION_VALUE): No longer define. | |
6451 | ||
6452 | * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. | |
6453 | * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. | |
6454 | * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. | |
6455 | * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. | |
6456 | * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. | |
6457 | ||
1d636cc6 RG |
6458 | 2005-07-14 Richard Guenther <rguenther@suse.de> |
6459 | ||
6460 | * Makefile.in (explow.o, reg-stack.o): Depend on target.h. | |
6461 | * calls.c (expand_call): Pass fntype to hard_function_value. | |
6462 | (emit_library_call_value_1): Likewise. | |
6463 | * explow.c: Include target.h. | |
6464 | (hard_function_value): Take extra argument, the fntype. | |
6465 | Use new target hook for function_value. | |
6466 | * expr.h (hard_function_value): Change prototype. | |
6467 | * function.c (aggregate_value_p): Pass 0 as fntype to | |
6468 | hard_function_value. | |
6469 | (assign_parms): Use new target hook for function_value. | |
6470 | Pass 0 as fntype to hard_function_value. | |
6471 | (expand_function_end): Likewise. | |
6472 | * reg-stack.c: Include target.h. | |
6473 | (stack_result): Use new target hook for function_value. | |
6474 | * target-def.h: New target hook function_value. | |
6475 | * target.h: Likewise. | |
6476 | * targhooks.c (default_function_value): New function. | |
6477 | * targhooks.h (default_function_value): Declare. | |
6478 | ||
09d8cc0e ILT |
6479 | 2005-07-13 Ian Lance Taylor <ian@airs.com> |
6480 | ||
6481 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
6482 | ||
df1f6f31 JH |
6483 | 2005-07-14 Jan Hubicka <jh@suse.cz> |
6484 | ||
6485 | * tree-dfa.c (dump_variable): Use default_def function. | |
6486 | * tree-ssa-alias.c (dump_points_to_info): Likewise. | |
6487 | * tree-ssa.c (verify_use): Likewise. | |
6488 | * tree-ssanames.c (release_ssa_name): Likewise. | |
6489 | * tree-tailcall.c (eliminate_tail_call): Likewise. | |
6490 | (tree_optimize_tail_calls_1): Likewise. | |
6491 | * tree-vrp.c (get_value_range): Likewise. | |
6492 | ||
9ef0b1bd BE |
6493 | 2005-07-14 Ben Elliston <bje@au.ibm.com> |
6494 | ||
6495 | * gcc.c (main): Compare language[0] with '*' when iterating over | |
6496 | the infiles. | |
6497 | ||
85333688 | 6498 | 2005-07-13 Adrian Strae½tling <straetling@de.ibm.com> |
69950452 AS |
6499 | |
6500 | * config/s390/s390.c: (s390_cc_modes_compatible): Move before | |
6501 | "s390_emit_compare". Add handling of CCZ1mode. | |
6502 | (s390_canonicalize_comparison): Simplify cascaded EQ, NE. | |
6503 | (390_emit_compare): Use "s390_cc_modes_compatible" for mode | |
6504 | checking. | |
6505 | (s390_branch_condition_mask): Add CCZ1mode handling. | |
6506 | * config/s390/s390.md: ("seq", "*seq"): New pattern. | |
6507 | ("sync_compare_and_swap_cc<mode>", "*sync_compare_and_swap_cc<mode>"): | |
6508 | Use CCZ1mode instead of CCZmode. | |
6509 | * config/s390/s390-modes.def: Add CCZ1mode. Comment new mode. | |
6510 | ||
85333688 | 6511 | 2006-07-13 Adrian Strae½tling <straetling@de.ibm.com> |
ccbdc0d4 AS |
6512 | |
6513 | * config/s390/s390.md: ("cmpstrsi", "*cmpstr<mode>"): New | |
6514 | pattern. | |
6515 | ("strlen<mode>", "*strlen<mode>"): Use hard reg 0 in SImode. | |
6516 | ||
ecd48505 EC |
6517 | 2005-07-13 Eric Christopher <echristo@redhat.com> |
6518 | ||
6519 | * config/mips/mips.c (mips_canonicalize_comparison): New. | |
6520 | (mips_emit_int_relational): Use. | |
6521 | ||
a8ba31f2 EC |
6522 | 2005-07-13 Eric Christopher <echristo@redhat.com> |
6523 | ||
86979811 SB |
6524 | * config.gcc (s390x-ibm-tpf*): Add extra_options. Remove |
6525 | static extra parts. | |
6526 | * config/s390/s390.md: Include tpf.md. Move tpf specific | |
6527 | patterns... | |
6528 | * config/s390/tpf.md: To here. | |
6529 | * config/s390/s390.opt: Move tpf specific options... | |
6530 | * config/s390/tpf.opt: to here. Add mmain option. | |
6531 | * config/s390/tpf-unwind.h: Remove unnecessary defines. | |
6532 | * config/s390/tpf.h: Rewrite. | |
a8ba31f2 | 6533 | |
709a840a L |
6534 | 2005-07-13 H.J. Lu <hongjiu.lu@intel.com> |
6535 | ||
6536 | * doc/tm.texi: Remove @xref{Cross-profiling}. | |
6537 | ||
59f7a202 JL |
6538 | 2005-07-13 Jeff Law <law@redhat.com> |
6539 | ||
6540 | * fold-const.c (fold_binary): When comparing two simple ADDR_EXPR | |
6541 | expressions, test their _DECL operands for pointer equality rather | |
6542 | than using operand_equal_p. | |
6543 | ||
4969c0d8 L |
6544 | 2005-07-13 H.J. Lu <hongjiu.lu@intel.com> |
6545 | ||
6546 | * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Renamed to ... | |
6547 | (TARGET_POSIX_IO): This. | |
6548 | * config/darwin.h: Likewise. | |
6549 | * config/freebsd.h: Likewise. | |
6550 | * config/linux.h: Likewise. | |
6551 | * config/lynx.h: Likewise. | |
6552 | * config/netbsd.h: Likewise. | |
6553 | * config/rs6000/linux64.h: Likewise. | |
6554 | * config/rs6000/linux.h: Likewise. | |
6555 | * config/s390/tpf.h: Likewise. | |
6556 | * config/sh/embed-elf.h: Likewise. | |
6557 | * config/sparc/linux64.h: Likewise. | |
6558 | * config/sparc/linux.h: Likewise. | |
6559 | * config/svr4.h: Likewise. | |
6560 | * gcov-io.h: Likewise. | |
6561 | ||
6562 | * doc/tm.texi: Updated. | |
6563 | ||
6564 | * libgcov.c (create_file_directory): Defined only if | |
6565 | TARGET_POSIX_IO is defined. | |
6566 | (gcov_exit): Call create_file_directory only if TARGET_POSIX_IO | |
6567 | is defined. | |
6568 | ||
98b6d477 JH |
6569 | 2005-07-13 Jan Hubicka <jh@suse.cz> |
6570 | ||
6571 | * tree-ssa-operands.c (get_expr_operands): Fix typo in previous patch. | |
6572 | ||
bbcbc3e0 DE |
6573 | 2005-07-13 David Edelsohn <edelsohn@gnu.org> |
6574 | ||
6575 | * tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed | |
6576 | structure as argument. | |
6577 | ||
3cb005cf PB |
6578 | 2005-07-13 Paolo Bonzini <bonzini@gnu.org> |
6579 | ||
6580 | PR tree-optimization/21921 | |
6581 | * tree-iterator.c (tsi_link_before): Support the case when | |
6582 | tsi_end_p (tsi) == true. | |
6583 | ||
2c5f025d ZD |
6584 | 2005-07-12 Zdenek Dvorak <dvorakz@suse.cz> |
6585 | ||
6586 | PR tree-optimization/22442 | |
6587 | * tree-chrec.c (chrec_fold_multiply_poly_poly): Associate chrecs | |
6588 | correctly. | |
6589 | ||
7869fe47 ZD |
6590 | 2005-07-12 Zdenek Dvorak <dvorakz@suse.cz> |
6591 | ||
6592 | PR rtl-optimization/20376 | |
6593 | * toplev.c (process_options): Enable -fweb and -frename-registers when | |
6594 | unrolling. | |
6595 | * doc/invoke.texi: Update the information about when -fweb and | |
6596 | -frename-registers are enabled. | |
6597 | ||
fe83f543 AP |
6598 | 2005-07-12 Andrew Pinski <pinskia@physics.uc.edu> |
6599 | ||
6600 | PR tree-opt/21840 | |
6601 | * tree-ssa-pre.c (eliminate): Convert the sprime to the correct type | |
6602 | if *rhs_p is not a SSA_NAME. | |
6603 | ||
13c2c08b | 6604 | 2005-07-12 Daniel Berlin <dberlin@dberlin.org> |
7904f95f EC |
6605 | |
6606 | Fix PR tree-optimization/22422 | |
13c2c08b DB |
6607 | * tree-ssa-structalias.c (struct variable_info): Add flag for |
6608 | special vars. | |
6609 | (get_varinfo): Now a static function. | |
6610 | (new_varinfo): init has_union and is_special_var to false. | |
6611 | (solution_set_add): Check has_union. | |
6612 | (do_da_constraint): Move temporary variable so it gets reset | |
6613 | properly. | |
6614 | Also check for special variable. | |
6615 | (do_ds_constraint): Ditto. | |
6616 | (do_sd_constraint): Ditto. | |
6617 | (do_structure_copy): Check for special variable. | |
6618 | (find_func_aliases): Ditto. | |
7904f95f | 6619 | (init_base_vars): Set special vars properly. |
13c2c08b | 6620 | |
7fac66d4 JH |
6621 | 2005-07-13 Jan Hubicka <jh@suse.cz> |
6622 | ||
3b9ade75 JH |
6623 | * cfgexpand.c (expand_one_stack_var): Do not expand variables when we |
6624 | do unit-at-a-time. | |
6625 | ||
7fac66d4 JH |
6626 | * tree-ssa-operands.c (parse_ssa_operands): Fix formatting. |
6627 | (get_expr_operands): Fix thinko wrt flags and subvars. | |
6628 | ||
6629 | PR tree-optimize/22379 | |
6630 | * tree-inline.c (expand_call_inline): Do not output sorry in early | |
6631 | inlining. | |
6632 | ||
a2af5043 DJ |
6633 | 2005-07-12 Dale Johannesen <dalej@apple.com> |
6634 | ||
6635 | * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. | |
6636 | ||
298f1d10 AP |
6637 | 2005-07-12 Andrew Pinski <pinskia@physics.uc.edu> |
6638 | ||
6639 | PR bootstrap/21704 | |
6640 | * host-linux.h: Include limits.h. | |
6641 | ||
e4541b7a DJ |
6642 | 2005-07-12 Dale Johannesen <dalej@apple.com> |
6643 | ||
6644 | * expr.c (compress_float_constant): Add cost check. | |
6645 | * config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost. | |
6646 | ||
6647 | 2005-07-12 Dale Johannesen <dalej@apple.com> | |
6648 | ||
6649 | * gcc.target/i386/compress-float-sse.c: New. | |
6650 | * gcc.target/i386/compress-float-sse-pic.c: New. | |
6651 | * gcc.target/i386/compress-float-387.c: New. | |
6652 | * gcc.target/i386/compress-float-387-pic.c: New. | |
6653 | * gcc.dg/compress-float-ppc.c: New. | |
6654 | * gcc.dg/compress-float-ppc-pic.c: New. | |
6655 | ||
a8ba31f2 EC |
6656 | 2005-07-12 Eric Christopher <echristo@redhat.com> |
6657 | ||
6658 | * config.gcc (s390x-ibm-tpf*): Add extra_options. Remove | |
6659 | static extra parts. | |
6660 | * config/s390/s390.md: Include tpf.md. Move tpf specific | |
6661 | patterns... | |
6662 | * config/s390/tpf.md: To here. | |
6663 | * config/s390/s390.opt: Move tpf specific options... | |
6664 | * config/s390/tpf.opt: to here. Add mmain option. | |
6665 | * config/s390/tpf-unwind.h: Remove unnecessary defines. | |
6666 | * config/s390/tpf.h: Rewrite. | |
6667 | ||
817a8255 EC |
6668 | 2005-07-12 Eric Christopher <echristo@redhat.com> |
6669 | ||
6670 | * gcc.c (struct infile): Update comment for language. | |
6671 | (main): Rewrite input file resetting code. | |
6672 | ||
019b02f1 AP |
6673 | 2005-07-12 Andrew Pinski <pinskia@physics.uc.edu> |
6674 | ||
6675 | PR tree-opt/22335 | |
6676 | * tree-ssa-dom.c (eliminate_redundant_computations): Reject the prop if | |
6677 | requiring a cast in a non RHS of modify_expr. Add a cast when required. | |
6678 | (lookup_avail_expr): Use constant_boolean_node instead | |
6679 | of boolean_false_node/boolean_true_node. | |
6680 | ||
cac50d94 BE |
6681 | 2005-07-12 Ben Elliston <bje@au.ibm.com> |
6682 | ||
6683 | * tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string | |
6684 | and use it when printing num_edges. | |
6685 | ||
161c21b6 BS |
6686 | 2005-07-12 Bernd Schmidt <bernd.schmidt@analog.com> |
6687 | ||
6688 | * doc/extend.texi (Blackfin Built-in Functions): New section. | |
6689 | * doc/invoke.texi (mcsync-anomaly, mno-csync-anomaly): Fix the | |
6690 | @opindex. | |
6691 | ||
40c1d5f8 AS |
6692 | 2005-07-12 Adrian Straetling <straetling@de.ibm.com> |
6693 | ||
6694 | * builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp): | |
6695 | s/cmpstrsi/cmpstrnsi | |
6696 | (expand_builtin_strcmp): Rewrite to support both 'cmpstrsi' and | |
6697 | 'cmpstrnsi'. | |
6698 | * optabs.c: (prepare_cmp_insn): Add availability of 'cmpstrn'. | |
6699 | (init_optabs): Initialize cmpstrn_optab. | |
6700 | * optabs.h: (enum insn_code cmpstrn_optab): Declare. | |
6701 | * genopinit.c: (optabs[]): Add 'cmpstrn' to initialisation. | |
6702 | * expr.c: (enum insn_code cmpstrn_optab): Declare. | |
6703 | * config/i386/i386.md: s/cmpstr/cmpstrn | |
6704 | * config/c4x/c4x.md: s/cmpstr/cmpstrn | |
6705 | * doc/md.texi: Update documentation. | |
6706 | ||
d6e9821f RH |
6707 | 2005-07-11 Richard Henderson <rth@redhat.com> |
6708 | ||
6709 | * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Use | |
6710 | build_va_arg_indirect_ref. | |
6711 | (alpha_gimplify_va_arg): Likewise. | |
6712 | * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise. | |
6713 | * config/i860/i860.c (i860_gimplify_va_arg_expr): Likewise. | |
6714 | * config/mips/mips.c (mips_gimplify_va_arg_expr): Likewise. | |
6715 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
6716 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise. | |
6717 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): | |
6718 | Likewise. | |
6719 | * config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise. | |
6720 | ||
b7eae7b8 ZD |
6721 | 2005-07-12 Zdenek Dvorak <dvorakz@suse.cz> |
6722 | ||
6723 | * tree-flow.h (remove_empty_loops, single_dom_exit): Declare. | |
6724 | * passes.c (init_optimization_passes): Add pass_empty_loop. | |
6725 | * tree-pass.h (pass_empty_loop): Declare. | |
6726 | * tree-ssa-loop-ivcanon.c (empty_loop_p, remove_empty_loop, | |
6727 | try_remove_empty_loop, remove_empty_loops): New functions. | |
6728 | * tree-ssa-loop-ivopts.c (single_dom_exit): Export. | |
6729 | * tree-ssa-loop.c (tree_ssa_empty_loop, pass_empty_loop): New. | |
6730 | ||
70028b61 PB |
6731 | 2005-07-12 Peter Barada <peter@the-baradas.com> |
6732 | ||
6733 | PR middle-end/16719 | |
6734 | PR middle-end/18421 | |
6735 | * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes | |
6736 | in address registers. | |
6737 | * config/m68k/m68k.c (hard_regno_mode_ok): Likewise. | |
6738 | * config/m68k/m68k.md: Replace 's' with 'i' in 4th | |
6739 | alternative of addsi3_5200. | |
6740 | ||
8564e10e ILT |
6741 | 2005-07-11 Ian Lance Taylor <ian@airs.com> |
6742 | ||
6743 | * config/mips/mips.md (ffs<mode>2): Remove. | |
6744 | ||
2f6bd539 ILT |
6745 | 2005-07-11 Ian Lance Taylor <ian@airs.com> |
6746 | ||
6747 | * doc/tree-ssa.texi (Cleanups): Improve description of | |
6748 | TRY_FINALLY_EXPR. | |
6749 | (GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases. | |
6750 | ||
046a69e0 | 6751 | 2005-07-11 Daniel Berlin <dberlin@dberlin.org> |
7904f95f | 6752 | |
046a69e0 DB |
6753 | * print-tree.c (print_node): Use DECL_ARGUMENT_FLD. |
6754 | * tree.h (DECL_ARGUMENT_FLD): New macro. | |
6755 | ||
6756 | 2005-07-11 Daniel Berlin <dberlin@dberlin.org> | |
7904f95f | 6757 | |
046a69e0 DB |
6758 | Fix PR tree-optimization/22404 |
6759 | ||
6760 | * tree-ssa-structalias.c (create_variable_info_for): Use | |
6761 | correct offset. | |
6762 | ||
3fb192d2 BS |
6763 | 2005-07-11 Bernd Schmidt <bernd.schmidt@analog.com> |
6764 | ||
7ddcf3d2 BS |
6765 | * config/bfin/bfin.md (cmpsi, compare_eq, compare_ne, compare_lt, |
6766 | compare_le, compare_leu, compare_ltu): Use reg_or_const_int_operand | |
6767 | for second comparison operand. | |
6768 | * config/bfin/predicates.md (reg_or_const_int_operand): New. | |
6769 | ||
3fb192d2 BS |
6770 | * config/bfin/bfin.md (define_attr "type"): Add "sync". |
6771 | (define_insn_reservation "alu"): Likewise. | |
6772 | (csync, ssync): Now of type sync. | |
6773 | * config/bfin/bfin.h (TARGET_DEFAULT): Defaults to | |
6774 | -mcsync-anomaly -mspecld-anomaly. | |
6775 | * config/bfin/bfin.opt (mcsync): Remove. | |
6776 | (mcsync-anomaly, mspecld-anomaly): Add. | |
6777 | * config/bfin/bfin.c: Include "insn-codes.h". | |
6778 | (bfin_reorg): Extend to handle the CSYNC anomaly as well. | |
6779 | (TARGET_DEFAULT_TARGET_FLAGS): New. | |
6780 | * doc/invoke.texi: Document -mcsync-anomaly, -mspecld-anomaly. | |
6781 | ||
2dd2d53e SB |
6782 | 2005-07-11 Steven Bosscher <stevenb@suse.de> |
6783 | ||
6784 | * basic-block.h: Give the BB flags enum a name, bb_flags. | |
6785 | Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK. | |
6786 | * cfgcleanup.c (enum bb_flags): Remove here. | |
6787 | (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove. | |
6788 | (notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS. | |
6789 | (update_forwarder_flag): Likewise. | |
6790 | (thread_jump): Likewise. | |
6791 | (try_forward_edges): Likewise. | |
6792 | (try_optimize_cfg): Likewise. Clear bb->flags before updating the | |
6793 | forwarder flags. Don't clear bb->aux for all basic blocks. Only | |
6794 | reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags. | |
6795 | ||
1f97667f RG |
6796 | 2005-07-11 Richard Guenther <rguenther@suse.de> |
6797 | ||
6798 | * config/i386/i386.opt: New target option -msseregparm. | |
6799 | * config/i386/i386.c (override_options): Error out for | |
6800 | -msseregparm but no SSE support. | |
6801 | (ix86_function_sseregparm): Check for global sseregparm. | |
6802 | * doc/invoke.texi: Document -msseregparm. | |
6803 | ||
4dda0c66 KI |
6804 | 2005-07-11 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
6805 | ||
6806 | * config.gcc (m32r-*-linux*): Use the default extra_parts. | |
6807 | (m32rle-*-linux*): Ditto. | |
6808 | ||
15362b89 JJ |
6809 | 2005-07-11 Jakub Jelinek <jakub@redhat.com> |
6810 | ||
6811 | * cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type) | |
6812 | instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get array size in | |
6813 | bytes. | |
6814 | ||
b1b0d9ac JDA |
6815 | 2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6816 | ||
6817 | PR middle-end/22239 | |
6818 | PR target/20126 | |
6819 | * loop.c (loop_givs_rescan): Use expand_simple_binop instead of | |
6820 | gen_rtx_MINUS to handle non-replaceable (plus ((x) (const)). | |
6821 | ||
b5efa470 DB |
6822 | 2005-07-07 Daniel Berlin <dberlin@dberlin.org> |
6823 | ||
6824 | * tree-ssa-structalias.c (struct variable_info): Heapify complex. | |
6825 | (varmap): Heapify varmap. | |
6826 | (constraints): Heapify constraints. | |
6827 | (struct constraint_graph): Heapify succs and preds. | |
6828 | (constraint_vec_find): Update for heapification. | |
6829 | (constraint_set_union): Ditto. | |
6830 | (insert_into_complex): Ditto. | |
6831 | (constraint_edge_vec_find): Ditto. | |
6832 | (erase_graph_self_edge): Ditto. | |
6833 | (add_graph_edge): Ditto. | |
6834 | (get_graph_weights): Ditto. | |
6835 | (merge_graph_nodes): Ditto. | |
6836 | (build_constraint_graph): Ditto. | |
6837 | (topo_visit): Ditto. | |
6838 | (solve_graph): Ditto. | |
6839 | (create_variable_info_for): Ditto. | |
6840 | (init_base_vars): Ditto. | |
6841 | (delete_points_to_sets): Free graph, varmap, and complex constraints. | |
6842 | (condese_varmap_nodes): Free complex vector. | |
6843 | (clear_edges_for_node): Clear succs and preds vector. | |
6844 | ||
0bfac35f DB |
6845 | 2005-07-10 Daniel Berlin <dberlin@dberlin.org> |
6846 | ||
6847 | * tree-ssa-structalias.c (update_alias_info): Change counting of | |
6848 | references to not include vdefs. | |
7904f95f | 6849 | |
46c73d9a DB |
6850 | 2005-07-10 Daniel Berlin <dberlin@dberlin.org> |
6851 | ||
6852 | * tree-ssa-alias.c (free_used_part_map): Add missing free. | |
6853 | (up_insert): Ditto. | |
6854 | ||
bd7d5043 JDA |
6855 | 2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6856 | ||
6857 | * pa.c (pa_commutative_p): Make PLUS commutative when | |
6858 | TARGET_NO_SPACE_REGS is true. | |
6859 | ||
e8ca4159 DN |
6860 | 2005-07-09 Diego Novillo <dnovillo@redhat.com> |
6861 | ||
6862 | * Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h | |
6863 | * tree-cfg.c (CHECK_OP): Only test for is_gimple_val. | |
6864 | * tree-dfa.c (dump_subvars_for): New. | |
6865 | (debug_subvars_for): New. | |
6866 | (dump_variable): Show subvariables if VAR has them. | |
6867 | * tree-flow-inline.h (get_subvar_at): New. | |
6868 | (overlap_subvar): Change offset and size to unsigned HOST_WIDE_INT. | |
6869 | * tree-flow.h (struct ptr_info_def): Remove field pt_malloc. | |
6870 | Update all users. | |
6871 | (struct subvar): Change fields offset and size to unsigned | |
6872 | HOST_WIDE_INT. | |
6873 | (dump_subvars_for): Declare. | |
6874 | (debug_subvars_for): Declare. | |
6875 | (get_subvar_at): Declare. | |
6876 | (okay_component_ref_for_subvars): Change 2nd and 3rd argument | |
6877 | to unsigned HOST_WIDE_INT *. | |
6878 | (overlap_subvar): Likewise. | |
6879 | * tree-gimple.c (is_gimple_reg): Always return false for | |
6880 | SFTs and memory tags. | |
6881 | * tree-pass.h (pass_build_pta, pass_del_pta): Remove. | |
6882 | Update all callers. | |
6883 | * tree-ssa-alias.c: Include tree-ssa-structalias.h. | |
6884 | (compute_may_aliases): Call compute_points_to_sets. | |
6885 | (collect_points_to_info_for): Remove. | |
6886 | (compute_points_to_and_addr_escape): Remove. | |
6887 | (delete_alias_info): Call delete_points_to_sets. | |
6888 | (compute_flow_sensitive_aliasing): If the call to | |
6889 | find_what_p_points_to returns false, call set_pt_anything. | |
6890 | (add_may_alias): Set TREE_ADDRESSABLE when adding a new alias. | |
6891 | (set_pt_anything): Clear pi->pt_vars. | |
6892 | (set_pt_malloc): Remove. | |
6893 | (merge_pointed_to_info): Remove. | |
6894 | (add_pointed_to_expr): Remove. | |
6895 | (add_pointed_to_var): Remove. | |
6896 | (collect_points_to_info_r): Remove. | |
6897 | (is_escape_site): Make extern. | |
6898 | (create_sft): New. | |
6899 | (create_overlap_variables_for): Call it. | |
6900 | * tree-ssa-copy.c (merge_alias_info): Never merge | |
6901 | flow-sensitive alias information. | |
6902 | * tree-ssa-operands.c (get_expr_operands): Adjust variables | |
6903 | offset and size to be unsigned HOST_WIDE_INT. | |
6904 | (add_to_addressable_set): Rename from note_addressable. | |
6905 | Set TREE_ADDRESSABLE as the variables are added to the set. | |
6906 | Update all users. | |
6907 | (add_stmt_operand): Do not try to micro-optimize unmodifiable | |
6908 | operands into VUSEs when adding V_MAY_DEFs for members in an | |
6909 | alias set. | |
6910 | * tree-ssa-operands.h (add_to_addressable_set): Declare. | |
6911 | * tree-ssa-structalias.c: Include tree-ssa-structalias.h last. | |
6912 | (struct variable_info): Add bitfield is_heap_var. | |
6913 | (var_anyoffset, anyoffset_tree, anyoffset_id): Declare. | |
6914 | (new_var_info): Initialize is_heap_var. | |
6915 | (get_constraint_for): Add HEAP variables to the symbol table. | |
6916 | Mark them with is_heap_var. | |
6917 | (update_alias_info): New. Taken mostly from the old | |
6918 | compute_points_to_and_addr_escape. | |
6919 | (handle_ptr_arith): New. | |
6920 | (find_func_aliases): Call update_alias_info. | |
6921 | Call handle_ptr_info for tcc_binary expressions. | |
6922 | Call mark_stmt_modified. | |
6923 | (create_variable_info_for): If DECL has subvars, do not create | |
6924 | variables for its subvars. Always add all the fields. | |
6925 | (set_uids_in_ptset): If the solution includes ANYOFFSET and | |
6926 | SFTs, then add all the SFTs of the structure. | |
6927 | If VI->DECL is an aggregate with subvariables, add the SFT at | |
6928 | VI->OFFSET. | |
6929 | (find_what_p_points_to): If VI is an artificial variable, | |
6930 | translate to bitfields in SSA_NAME_PTR_INFO. | |
6931 | If the solution is empty, set pi->pt_vars to NULL | |
6932 | (init_base_vars): Create ANYOFFSET. | |
6933 | (compute_points_to_sets): Rename from create_alias_vars. | |
6934 | Make extern. | |
6935 | (pass_build_pta): Remove. | |
6936 | (delete_points_to_sets): Rename from delete_alias_vars. | |
6937 | (pass_del_pta): Remove. | |
6938 | * tree-ssa-structalias.h (struct alias_info): Move from | |
6939 | tree-ssa-alias.h. | |
6940 | (NUM_REFERENCES, NUM_REFERENCES_CLEAR, NUM_REFERENCES_INC, | |
6941 | NUM_REFERENCES_SET): Likewise. | |
6942 | (compute_points_to_sets, delete_points_to_sets): Declare. | |
6943 | ||
38f31687 RH |
6944 | 2005-07-09 Richard Henderson <rth@redhat.com> |
6945 | ||
6946 | * config/alpha/alpha.c (emit_insxl, alpha_expand_compare_and_swap_12, | |
6947 | alpha_split_compare_and_swap_12, alpha_expand_lock_test_and_set_12, | |
6948 | alpha_split_lock_test_and_set_12): New functions. | |
6949 | * config/alpha/alpha-protos.h: Update. | |
6950 | * config/alpha/alpha.md (UNSPEC_MB, UNSPEC_ATOMIC, | |
6951 | UNSPEC_CMPXCHG, UNSPEC_XCHG): Rename from UNSPECV_FOO. | |
6952 | * config/alpha/sync.md (I12MODE): New. | |
6953 | (memory_barrier, mb_internal): Use unspec instead of unspec_volatile. | |
6954 | (sync_<fetchop_name><I48MODE>): Likewise. | |
6955 | (sync_nand<I48MODE>): Likewise. | |
6956 | (sync_old_<fetchop_name><I48MODE>): Likewise. | |
6957 | (sync_new_<fetchop_name><I48MODE>): Likewise. | |
6958 | (sync_old_nand<I48MODE>, sync_new_nand<I48MODE>): Likewise. | |
6959 | (sync_compare_and_swap<I48MODE>): Likewise. | |
6960 | (sync_lock_test_and_set<I48MODE>): Likewise. | |
6961 | (sync_compare_and_swap<I12MODE>): New. | |
6962 | (sync_compare_and_swap<I12MODE>_1): New. | |
6963 | (sync_lock_test_and_set<I12MODE>): New. | |
6964 | (sync_lock_test_and_set<I12MODE>_1): New. | |
6965 | ||
563cb6be DN |
6966 | 2005-07-09 Diego Novillo <dnovillo@redhat.com> |
6967 | ||
6968 | PR 21356 | |
6969 | PR 22332 | |
38f31687 | 6970 | * passes.c (execute_todo): Cleanup the CFG before updating SSA. |
563cb6be | 6971 | |
4a8ce6ce JJ |
6972 | 2005-07-09 Jakub Jelinek <jakub@redhat.com> |
6973 | ||
6974 | * config/i386/i386.c (output_set_got): Don't omit OFFSET FLAT: | |
6975 | in Intel syntax add %reg, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_+(.-.Lx). | |
6976 | ||
4fd84e8c RS |
6977 | 2005-07-09 Richard SAndiford <richard@codesourcery.com> |
6978 | ||
6979 | PR target/21656 | |
6980 | * config/mips/elf.h (NO_IMPLICIT_EXTERN_C): Define. | |
6981 | ||
d54c47e1 DE |
6982 | 2005-07-08 David Edelsohn <edelsohn@gnu.org> |
6983 | ||
6984 | * config/rs6000/sync.md (load_locked_<mode>): Use Z for | |
6985 | memory_operand constraint. | |
6986 | (store_conditional_<mode>): Same. | |
6987 | (sync_compare_and_swap<mode>): Same. | |
6988 | (sync_lock_test_and_set<mode>): Same. | |
6989 | ||
c00fc5cf HPN |
6990 | 2005-07-08 Hans-Peter Nilsson <hp@axis.com> |
6991 | ||
6992 | Rewrite PIC support to more closely model actual instructions. | |
6993 | * config/cris/cris-protos.h (cris_gotless_symbol, cris_got_symbol) | |
6994 | (cris_symbol): Remove prototypes for removed functions. | |
6995 | (cris_pic_symbol_type_of, cris_valid_pic_const) | |
6996 | (cris_expand_pic_call_address): Prototypes for new functions. | |
6997 | * config/cris/cris/cris.c (cris_pic_sympart_only): Remove unused | |
6998 | variable. | |
6999 | (cris_print_operand) <case 'v', 'P'>: Remove cases for unused | |
7000 | modifiers. | |
7001 | <case ':'>: Add case for new punctuation character. | |
7002 | <case 'd'>: Temporarily set flag_pic = 2 instead of incorrectly | |
7003 | emitting (extra) PIC modifier. | |
7004 | <case UNSPEC>: Do not assert for PLT. | |
7005 | (cris_initial_frame_pointer_offset, cris_simple_epilogue) | |
7006 | (cris_expand_prologue, cris_expand_epilogue): Check | |
7007 | for pic_offset_table_rtx usage instead of taking | |
7008 | current_function_uses_pic_offset_table as the final word. | |
7009 | (cris_rtx_costs, cris_address_cost, cris_side_effect_mode_ok): | |
7010 | Remove flag_pic difference. | |
7011 | (cris_valid_pic_const, cris_pic_symbol_type_of): New functions, | |
7012 | the moral equivalents of... | |
7013 | (cris_symbol, cris_gotless_symbol, cris_got_symbol): Remove | |
7014 | functions. | |
7015 | (cris_legitimate_pic_operand): Just call cris_valid_pic_const. | |
7016 | (cris_handle_option): Mark ARG as unused. | |
7017 | (cris_expand_pic_call_address): New worker function for "call", | |
7018 | "call_value". | |
7019 | (cris_asm_output_symbol_ref, cris_asm_output_label_ref): Do not | |
7020 | output PIC constructs here. | |
7021 | (cris_output_addr_const_extra): Changes for emitting PIC modifiers | |
7022 | as symbol-specific modifers, not whole or part of operands. | |
7023 | * config/cris/cris/cris.h (EXTRA_CONSTRAINT): Remove 'U' case. | |
7024 | (EXTRA_CONSTRAINT_S): Changed semantics: allow only CONST-wrapped | |
7025 | constants and flag_pic. | |
7026 | (CONSTANT_INDEX_P): Adjust for new functions. | |
7027 | (enum cris_pic_symbol_type): New helper type. | |
7028 | (PRINT_OPERAND_PUNCT_VALID_P): Add ':'. | |
7029 | * config/cris/cris/cris.md (CRIS_UNSPEC_GOTREL) | |
7030 | (CRIS_UNSPEC_GOTREAD, CRIS_UNSPEC_PLTGOTREAD): New | |
7031 | define_constants. | |
7032 | ("movsi"): Emit actual instructions for GOT and relative access. | |
7033 | ("*movsi_got_load"): New pattern to set up the register holding | |
7034 | the GOT pointer. | |
7035 | ("*movsi_internal"): Operand 1 is not a plain general_operand. | |
7036 | Adjust FIXME for 'S'. | |
7037 | <output for 'S' alternative>: Sanity-check UNSPEC types for PIC. | |
7038 | Use "movs" for -fpic cases. | |
7039 | ("addsi3"): Add alternative for 'S'; use adds.w when possible. | |
7040 | ("uminsi3","*expanded_call_value"): Remove 'S' alternative. | |
7041 | ("call", "call_value"): Just call cris_expand_pic_call_address for | |
7042 | PIC addresses. | |
7043 | ("*expanded_call_no_gotplt", "*expanded_call_value_no_gotplt"): | |
7044 | Remove special pattern. | |
7045 | ("*expanded_call_side", "*expanded_call_value_side"): New | |
7046 | patterns. | |
7047 | (gotplt-to-plt, gotplt-to-plt-side-call) | |
7048 | (gotplt-to-plt-side-call-value, gotplt-to-plt-side): New | |
7049 | peephole2:s. | |
7050 | * config/cris/cris/predicates.md | |
7051 | ("cris_general_operand_or_gotless_symbol"): Remove unused | |
7052 | predicate. | |
7053 | ("cris_general_operand_or_symbol"): Adjust for new functions. | |
7054 | ||
68ece23d AP |
7055 | 2005-07-08 Andrew Pinski <pinskia@physics.uc.edu> |
7056 | ||
7057 | * config/darwin.h (TARGET_C99_FUNCTIONS): Define to 1. | |
7058 | ||
820cc88f DB |
7059 | 2005-07-08 Daniel Berlin <dberlin@dberlin.org> |
7060 | ||
7061 | * Makefile.in (TREE_H): Add treestruct.def. | |
7062 | (c-decl.o): Add pointer-set.h | |
7063 | * c-decl.c (diagnose_mismatched_decls): Don't attempt to look at | |
7064 | visibility on regular DECL's. | |
7065 | (merge_decls): Fix the copying of decl nodes of various types for | |
7066 | the new structures. Don't update RTL, section name, weak status, | |
7904f95f | 7067 | etc, on DECL's without RTL. |
820cc88f DB |
7068 | (grokdeclarator): DECL_ARG_TYPE_AS_WRITTEN is gone. |
7069 | Don't check volatile on non-variable types. | |
7070 | (store_parm_decls_oldstyle): Use pointer_set instead of DECL_WEAK | |
7071 | to check whether we have seen arguments. | |
7072 | * c-objc-common.c (c_tree_printer): Reverse order of tests so that | |
7904f95f | 7073 | flag is checked before field (flag is common, field is not). |
820cc88f DB |
7074 | * dwarf2out.c (decl_ultimate_origin): Only DECL's with |
7075 | TS_DECL_COMMON could have an origin. | |
7076 | (add_location_or_const_value_attribute): Don't check section name | |
7077 | on non-var/function decls. | |
7078 | (dwarf2out_var_location): Reverse order of tests. | |
7079 | * emit-rtl.c (set_reg_attrs_for_parm): DECL_CHECK is dead, replace | |
7080 | with DECL_WRTL_CHECK. | |
7081 | * expmed.c (make_tree): rtl is now in decl_with_rtl. | |
7082 | * fold-const.c (fold_binary): Don't check weakness on | |
7083 | non-var/function decls. | |
7084 | (tree_expr_nonzero_p): Ditto. | |
7085 | (fold_checksum_tree): Use tree_decl_extra as sizeof | |
7086 | buffer. | |
7087 | * ggc-page.c (extra_order_size_table): Add sizes for | |
7088 | tree_decl_non_common, tree_parm_decl, tree_var_decl, and | |
7089 | tree_field_decl. | |
7090 | * gimplify.c (gimplify_bind_expr): Only set | |
7091 | DECL_SEEN_IN_BIND_EXPR_P on VAR_DECL. | |
7092 | * integrate.c (copy_decl_for_inlining): Don't set RTL on decl's | |
7093 | without RTL. | |
7094 | * langhooks-def.h (LANG_HOOK_INIT_TS): New. | |
7095 | * langhooks.h (init_ts). New langhook. | |
7096 | * passes.c (rest_of_decl_compilation): Reverse order of tests. | |
7097 | * print-tree.c (print_node): Update to only print fields that | |
7098 | exist in the structures the passed decl has. | |
7099 | * toplev.c (wrapup_global_declarations): Don't reset | |
7100 | DECL_DEFER_OUTPUT on DECL's that don't contain it. | |
7101 | * tree-browser.c (browse_tree): DECL_ARG_TYPE_AS_WRITTEN removed. | |
7102 | * tree-inline.c (remap_decl): Ditto. | |
7103 | * tree-outof-ssa.c (create_temp): Reverse order of tests. | |
7104 | * tree-pretty-print.c (print_declaration): Don't print | |
7105 | DECL_REGISTER on things that don't contain it. | |
7106 | * tree-vrp.c (expr_computes_nonzero): Don't check weakness on | |
7107 | non-var/function decls. | |
7108 | * tree.c (tree_contains_struct): New structure. | |
7109 | (init_priority_for_decl): New hashtable. | |
7110 | (tree_int_map): New structure. | |
7111 | (tree_int_map_eq): New function. | |
7112 | (tree_int_map_marked_p): Ditto. | |
7113 | (tree_int_map_hash): Ditto. | |
7114 | (tree_map): Move to tree.h. | |
7115 | (tree_map_eq): Externalize. | |
7116 | (tree_map_hash): Ditto. | |
7117 | (tree_map_marked_p): Ditto. | |
7118 | (init_ttree): Set up tree_contains_struct and call langhook. | |
7119 | (decl_assembler_name): Use DECL_NON_COMMON_CHECK.. | |
7120 | (tree_code_size): Update for new structures. | |
7121 | (tree_node_structure): Update for new structures. | |
7122 | (make_node_stat): Don't try to set DECL_IN_SYSTEM_HEADER on decls | |
7123 | without the field. | |
7124 | (copy_node_stat): Copy init priority. | |
7125 | (build_decl_stat): Ditto for visibility. | |
7126 | (ts_enum_names): New. | |
7127 | (tree_contains_struct_check_failed): New function. | |
7128 | (decl_init_priority_lookup): Ditto. | |
7129 | (decl_init_priority_insert): Ditto. | |
7130 | * treestruct.def: New file. | |
7131 | * tree.h (CODE_CONTAINS_STRUCT): New macro. | |
7132 | (CONTAINS_STRUCT_CHECK): Ditto. | |
7133 | (tree_contains_struct_check_failed): New prototype. | |
7134 | (DECL_CHECK): Removed. | |
7135 | (DECL_MINIMAL_CHECK): New. | |
7136 | (DECL_COMMON_CHECK): Ditto. | |
7137 | (DECL_WRTL_CHECK): Ditto. | |
7138 | (DECL_NON_COMMON_CHECK): Ditto. | |
7139 | (DECL_WITH_VIS_CHECK): Ditto. | |
7140 | (VAR_OR_FUNCTION_DECL_P): Ditto | |
7141 | (struct tree_decl_minimal): New structure. | |
7142 | (struct tree_decl_common): Ditto. | |
7143 | (struct tree_decl_with_rtl): Ditto. | |
7144 | (struct tree_decl_with_vis): Ditto. | |
7145 | (struct tree_decl_non_common): Ditto. | |
7146 | (struct tree_field_decl): Ditto. | |
7147 | (struct tree_parm_decl): Ditto. | |
7148 | (struct tree_var_decl): Ditto. | |
7149 | (struct tree_function_decl): Ditto. | |
7150 | (struct tree_const_decl): Ditto. | |
7151 | (struct tree_result_decl): Ditto. | |
7152 | (union tree_node): Add new structures. | |
7153 | * var-tracking.c (track_expr_p): Reverse order of tests. | |
7904f95f | 7154 | |
820cc88f DB |
7155 | * doc/c-tree.texi: Add documentation on DECL node internal structure. |
7156 | ||
c249f608 KH |
7157 | 2005-07-08 Kazu Hirata <kazu@codesourcery.com> |
7158 | ||
7159 | * cfgexpand.c (tree_expand_cfg): Don't use FINALIZE_PIC. | |
7160 | * system.h: Poison FINALIZE_PIC. | |
7161 | * doc/tm.texi (FINALIZE_PIC): Remove. | |
7162 | ||
52b27f98 AP |
7163 | 2005-07-08 Andrew Pinski <pinskia@physics.uc.edu> |
7164 | ||
7165 | PR tree-opt/22329 | |
7166 | * tree-ssa-propagate.c (fold_predicate_in): Convert the value | |
7167 | to the correct type if we have a MODIFY_EXPR. | |
7168 | ||
ea9a5df4 KH |
7169 | 2005-07-08 Kazu Hirata <kazu@codesourcery.com> |
7170 | ||
7171 | PR tree-optimization/22360 | |
7172 | * tree.c (upper_bound_in_type): Fix calculations for casting | |
7173 | to a non-wider signed type and casting a signed value to a | |
7174 | wider unsigned type. | |
7175 | (lower_bound_in_type): Fix calculations for casting to a | |
7176 | non-wider signed type. | |
7177 | ||
1ff54bfb KH |
7178 | PR tree-optimization/20139 |
7179 | * tree-cfg.c (remove_bb): Check in_ssa_p before calling | |
7180 | release_defs. | |
7181 | * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Call | |
7182 | fold_cond_expr_cond. | |
7183 | * tree-ssanames.c (release_defs): Assert in_ssa_p. | |
7184 | * tree.c (upper_bound_in_type, lower_bound_in_type): Rewrite. | |
7185 | ||
d5c77941 AP |
7186 | 2005-07-08 Andrew Pinski <pinskia@physics.uc.edu> |
7187 | ||
7188 | PR tree-opt/22356 | |
7189 | * tree-complex.c (expand_complex_libcall): Produce | |
7190 | REALPART_EXPR/IMAGPART_EXPR with the correct type. | |
7191 | ||
08a3c5cd KZ |
7192 | 2005-07-08 Kenneth Zadeck <zadeck@naturalbridge.com> |
7193 | ||
7194 | * bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
7195 | bitmap_and_compl_into, bitmap_xor, bitmap_xor_into): Removed "a != | |
7196 | b" assert and inserted fastpath code for this case. | |
7197 | (bitmap_ior): Removed "a != b" assert. | |
7198 | ||
29f9d52d KI |
7199 | 2005-07-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
7200 | ||
7201 | * config/m32r/linux.h (STARTFILE_SPEC): Support PIE. | |
7202 | (ENDFILE_SPEC): Likewise. | |
7203 | * config/m32r/m32r.h (ASM_SPEC): Likewise. | |
7204 | ||
6a7b00ad KI |
7205 | * config/m32r/m32r.c (m32r_output_function_epilogue): Care for |
7206 | a large stack frame at epilogue. | |
7207 | ||
ce82daed DB |
7208 | 2005-07-08 David Billinghurst <David.Billinghurst@riotinto.com> |
7209 | ||
7210 | * final.c: Include sdbout.h when required. | |
7211 | ||
ed5b9f96 GK |
7212 | 2005-07-07 Geoffrey Keating <geoffk@apple.com> |
7213 | ||
7214 | * config.gcc (*-*-darwin*): Only one target-specific header file | |
7215 | for generic darwin. | |
7216 | (powerpc-*-darwin*): Add version-specific header files. | |
7217 | * configure.in (gcc_AC_CHECK_DECLS): Add strverscmp. | |
7218 | * config.in: Regenerate. | |
7219 | * configure: Regenerate. | |
7220 | * gcc.c: Include xregex.h. | |
7221 | (version_compare_spec_function): New. | |
7222 | (spec_function): Add version-compare. | |
7223 | (replace_outfile_spec_function): Reformat comment. | |
7224 | (compare_version_strings): New. | |
7225 | * config/darwin-c.c (version_as_macro): New. | |
7226 | (builtin_define): New. | |
7227 | (darwin_cpp_builtins): New. | |
7228 | * config/darwin-protos.h (darwin_cpp_builtins): New. | |
7229 | * config/darwin.h (CPP_SPEC): Don't define APPLE_CC here. | |
7230 | (LIB_SPEC): Make unconditional, update comment. | |
7231 | (TARGET_C99_FUNCTIONS): Define. | |
7232 | * config/darwin.opt: Sort. | |
7233 | (mmacosx-version-min=): New. | |
7234 | * config/darwin7.h: Delete. | |
7235 | * config/darwin8.h: Delete. | |
7236 | * config/i386/darwin.h (): Call darwin_cpp_builtins. | |
7237 | * config/rs6000/darwin.h (): Call darwin_cpp_builtins. | |
7238 | (TARGET_C99_FUNCTIONS): Define. | |
7239 | * config/rs6000/darwin7.h: New. | |
7240 | * config/rs6000/darwin8.h: New. | |
7241 | * doc/invoke.texi (Darwin Options): Add -mmacosx-version-min= | |
7242 | (-mmacosx-version-min): Document. | |
7243 | ||
5f7d2979 ILT |
7244 | 2005-07-07 Ian Lance Taylor <ian@airs.com> |
7245 | ||
7246 | * config/mips/mips.md (abs<mode>2) [GPR]: Remove. | |
7247 | ||
94bb1a2d JDA |
7248 | 2005-07-07 John David Anglin <dave.anglin@nrc-crc.gc.ca> |
7249 | ||
7250 | PR middle-end/22239 | |
7251 | * loop.c (loop_givs_rescan): Check that v->new_reg is a REG. | |
7252 | ||
1a59548b KR |
7253 | 2005-07-07 Khem Raj <kraj@mvista.com> |
7254 | ||
7255 | * config/arm/arm.c (thumb_output_function_prologue): Calculate offset | |
7256 | in bytes, not words. | |
7257 | ||
5a29b385 PB |
7258 | 2005-07-07 Paul Brook <paul@codesourcery.com> |
7259 | ||
7260 | * config/arm/arm.c (arm_pad_arg_upward): Compare return value of | |
7261 | DEFAULT_FUNCTION_ARG_PADDING to upward. | |
7262 | ||
c7e777b5 RH |
7263 | 2005-07-07 Richard Henderson <rth@redhat.com> |
7264 | ||
7265 | * function.c (locate_and_pad_parm): Record parameter alignment in | |
7266 | stack_alignment_needed. | |
7267 | ||
b52110d4 DE |
7268 | 2005-07-07 David Edelsohn <edelsohn@gnu.org> |
7269 | ||
7270 | * config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_SYNC_OP, | |
7271 | UNSPEC_SYNC_SWAP, UNSPEC_LWSYNC, UNSPEC_ISYNC): Delete. | |
7272 | (UNSPECV_LL, UNSPECV_SC, UNSPECV_ATOMIC, UNSPECV_SYNC, | |
7273 | UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, UNSPECV_LWSYNC, UNSPECV_ISYNC): New. | |
7274 | (define_attr "type"): Add isync, sync, load_l, store_c. | |
7275 | * config/rs6000/sync.md (memory_barrier): Change to define_expand. | |
7276 | Create scratch volatile MEM. | |
7277 | (sync_internal): New. POWER mnemonic is dcs, not ics. Attribute | |
7278 | sync. | |
7279 | (load_locked_<mode>): New. | |
7280 | (store_conditional_<mode>): New. | |
7281 | (sync_compare_and_swap<mode>): Replace with splitter. | |
7282 | (sync_lock_test_and_set<mode>): Replace with splitter. | |
7283 | (sync_<fetchop><mode>): Change to unspec_volatile UNSPECV_SYNC_OP | |
7284 | and UNSPECV_ISYNC. | |
7285 | (isync): Change to unspec_volatile UNSPECV_ISYNC. POWER mnemonic | |
7286 | is ics. Attribute isync. | |
7287 | (lwsync): Change to unspec_volatile UNSPECV_LWSYNC. Attribute | |
7288 | lwsync. | |
7289 | * config/rs6000/rs6000.c (rs6000_emit_sync): Use UNSPEC_VOLATILE | |
7290 | and UNSPECV_SYNC_OP. | |
7291 | (emit_unlikely_jump): New. | |
7292 | (emit_load_locked): New. | |
7293 | (emit_store_conditional): New. | |
7294 | (rs6000_split_compare_and_swap): New. | |
7295 | (rs6000_split_lock_test_and_set): New. | |
7296 | (is_dispatch_slot_restricted): Return 4 for TYPE_LOAD_L, | |
7297 | TYPE_STORE_C, TYPE_ISYNC, TYPE_SYNC. | |
7298 | * config/rs6000/rs6000-protos.h (rs6000_split_compare_and_swap, | |
7299 | rs6000_split_lock_test_and_set): Declare. | |
7300 | * config/rs6000/{40x.md,440.md,603.md,6xx.md,7450.md,7xx.md,8540.md, | |
7301 | mpc.md,power4.md,power5.md,rios1.md,rios2.md,rs64.md): Add load_l, | |
7302 | store_c, isync, sync. | |
7303 | ||
2f035a33 KC |
7304 | 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> |
7305 | ||
7306 | * Makefile.in (echo_quoted_to_gtyp): New template for outputing | |
7307 | filenames to gtyp-gen.h. | |
7308 | (s-typ-gen): Use it in place of for loops. | |
7309 | ||
8ddf681a R |
7310 | 2005-07-07 J"orn Rennecke <joern.rennecke@st.com> |
7311 | ||
7312 | * hooks.c (hook_bool_rtx_int_false): New function. | |
7313 | * hooks.h (hook_bool_rtx_int_false): Declare. | |
7314 | * target-def.h (TARGET_COMMUTATIVE_P): Define. | |
7315 | (TARGET_INITIALIZER): Add TARGET_COMMUTATIVE_P. | |
7316 | * target.h (struct gcc_target): Add commutative_p member. | |
7317 | * targhooks.c (hook_bool_rtx_commutative_p): New function. | |
7318 | * targhooks.h (hook_bool_rtx_commutative_p): Declare. | |
7319 | * pa.c (TARGET_COMMUTATIVE_P): Redefine. | |
7320 | (pa_commutative_p): New function. | |
7321 | * jump.c (target.h): Include. | |
7322 | (rtx_renumbered_equal_p): Use targetm.commutative_p. | |
7323 | * doc/tm.texi: Document TARGET_COMMUTATIVE_P. | |
7324 | ||
6d057022 AS |
7325 | 2005-07-07 Adrian Straetling <straetling@de.ibm.com> |
7326 | ||
7327 | * config/s390/s390-protos.h (s390_expand_clrmem): Delete. | |
7328 | (s390_expand_setmem): New. | |
7904f95f | 7329 | * config/s390/s390.c: Likewise. |
6d057022 AS |
7330 | (print_shift_count_operand): Truncate to 12 bits instead of 6. |
7331 | Adapt comments. | |
7332 | * config/s390/s390.md: ("setmem<mode>"): Accept character as | |
7333 | general_operand. Call new function "s390_expand_setmem". | |
7334 | ("clrmem_long", "*clrmem_long"): Rewrite to ... | |
7335 | ("setmem_long", "*setmem_long"): ... this. | |
7336 | ||
8daf098e | 7337 | 2005-07-07 Adrian Straetling <straetling@de.ibm.com> |
7904f95f | 7338 | |
8daf098e AS |
7339 | * config/s390/s390.c: (optimization_options): Enable |
7340 | TARGET_MVCLE at -Os. | |
7341 | * doc/invoke.texi: Document changes in default behaviour. | |
7342 | * config/s390/s390.opt: ("mvcle"): Fix typo: is "mmvcle". | |
7343 | ||
9ed92901 AS |
7344 | 2005-07-07 Adrian Straetling <straetling@de.ibm.com> |
7345 | ||
7346 | * expr.c: (set_storage_via_setmem): Convert opchar to mode | |
7347 | defined by back-end. | |
7348 | ||
41f12ed0 JJ |
7349 | 2005-07-07 Jakub Jelinek <jakub@redhat.com> |
7350 | ||
7351 | * config/sparc/sparc.md (stack_protect_testsi): Put clobbers after | |
7352 | all sets in the pattern. | |
7353 | * config/rs6000/rs6000.md (stack_protect_testsi, | |
7354 | stack_protect_testdi): Likewise. | |
7355 | ||
1a557723 JL |
7356 | 2005-07-06 Jeff Law <law@redhat.com> |
7357 | ||
7358 | * tree-vrp.c (simplify_using_ranges): Kill. | |
7359 | (vrp_finalize): Remove call to simplify_using_ranges. | |
7360 | (simplify_stmt_using_ranges): New function extracted from | |
7361 | simplify_using_ranges. | |
7362 | (simplify_div_or_mod_using_ranges): Likewise. | |
7363 | (simplify_abs_using_ranges): Likewise. | |
7364 | (simplify_cond_using_ranges): New function. | |
7365 | * tree-flow.h (simplify_stmt_using_ranges): Prototype. | |
7366 | * tree-ssa-propagate.c (substitute_and_fold): Call | |
7367 | simplify_stmt_using_ranges if we have range information. | |
7368 | ||
1ad159f9 JW |
7369 | 2005-07-06 James E. Wilson <wilson@specifixinc.com> |
7370 | ||
ae4d3291 JW |
7371 | * config/ia64/ia64.c (ia64_reorg): Check optimize before |
7372 | ia64_flag_schedule_isns2. | |
7373 | ||
7374 | * config/ia64/ia64.c (ia64_expand_movxf_movrf): Don't word swap when | |
7375 | reading/writing general registers. | |
7376 | (ia64_function_arg): Revert 2005-06-18 change. | |
1ad159f9 | 7377 | |
06ae7eb1 JDA |
7378 | 2005-07-06 John David Anglin <dave.anglin@nrc-crnc.gc.ca> |
7379 | ||
7380 | * pa.c (legitimize_pic_address): Use gcc_assert instead of abort. | |
7381 | (legitimize_tls_address): Use gcc_unreachable instead of abort. | |
7382 | ||
0b59e81e KK |
7383 | 2005-07-06 Kaz Kojima <kkojima@gcc.gnu.org> |
7384 | ||
7385 | * function.c (expand_function_end): Revert part of 2005-06-27 | |
7386 | patch. Do sjlj_emit_function_exit_after after return_label. | |
7387 | ||
ef0087a7 KH |
7388 | 2005-07-06 Kazu Hirata <kazu@codesourcery.com> |
7389 | ||
7390 | * doc/install.texi (--disable-libssp): New. | |
7391 | ||
1d8eeb63 FJ |
7392 | 2005-07-06 Fariborz Jahanian <fjahanian@apple.com> |
7393 | ||
86979811 | 7394 | * doc/invoke.texi: Update -fforce-mem documentation. |
7904f95f | 7395 | * dojump.c (compare_from_rtx,do_compare_rtx_and_jump): Remove |
86979811 SB |
7396 | code for -fforce-mem. |
7397 | * expmed.c: (store_bit_field,store_fixed_bit_field, | |
7398 | extract_bit_field): Ditto. | |
7399 | * expr.c: (convert_move): Ditto. | |
7400 | * optabs.c: (expand_binop,expand_twoval_unop,expand_twoval_binop, | |
7401 | expand_unop,emit_unop_insn,prepare_cmp_insn,emit_conditional_move, | |
7402 | emit_conditional_add,expand_float,expand_fix): Ditto. | |
7403 | * opts.c: (decode_options): Remove setting of flag_force_mem flag. | |
7404 | (common_handle_option): Issue warning when -fforce-mem specified. | |
1d8eeb63 | 7405 | |
c42adccb PB |
7406 | 2005-07-06 Paul Brook <paul@codesourcery.com> |
7407 | ||
7408 | * aclocal.m4: Work around a bug in AC_PATH_PROGS when its last | |
7409 | argument is empty. | |
7410 | * configure: Regenerate. | |
7411 | ||
4b7d2f07 R |
7412 | 2005-07-06 J"orn Rennecke <joern.rennecke@st.com> |
7413 | ||
7414 | * sh.c (final_prescan_insn): Undo bogus change from 2005-05-09. | |
7415 | ||
4e422b8b DB |
7416 | 2005-07-06 Daniel Berlin <dberlin@dberlin.org> |
7417 | ||
7418 | Fix PR tree-optimization/22319 | |
7419 | Fix PR tree-optimization/22140 | |
7420 | Fix PR tree-optimization/22310 | |
7421 | ||
7422 | * tree-ssa-structalias.c (do_structure_copy): Give up earlier on | |
7423 | variable sized types. | |
7424 | Use correct type for intermediate structure on *a = *b structure | |
7425 | copies. | |
7904f95f | 7426 | |
5b667039 JJ |
7427 | 2005-07-06 Jakub Jelinek <jakub@redhat.com> |
7428 | ||
7429 | * config/rs6000/rs6000.h (RS6000_VARARGS_AREA, RS6000_VARARGS_SIZE): | |
7430 | Remove. | |
7431 | (STARTING_FRAME_OFFSET): Don't add RS6000_VARARGS_AREA. | |
7432 | (machine_function): Move typedef to... | |
7433 | * config/rs6000/rs6000.c (machine_function): ... here. Add | |
7434 | varargs_save_offset field. | |
7435 | (rs6000_stack_t): Remove varargs_size field. | |
7436 | (setup_incoming_varargs): Allocate varargs save area using | |
7437 | assign_stack_local, try to make it as small as possible. | |
7438 | Save offset from virtual_stack_vars_rtx to the save area | |
7439 | in cfun->machine->varargs_save_offset. Use UNITS_PER_FP_WORD | |
7440 | instead of magic 8 when fp word byte size is used. | |
7441 | (rs6000_va_start): Use cfun->machine->varargs_save_offset | |
7442 | instead of -RS6000_VARARGS_SIZE. | |
7443 | (rs6000_stack_info, debug_stack_info, | |
7444 | rs6000_initial_elimination_offset): Remove all traces of | |
7445 | varargs_size. | |
7446 | * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Remove. | |
7447 | * config/rs6000/darwin.h (STARTING_FRAME_OFFSET): Don't add | |
7448 | RS6000_VARARGS_AREA. | |
7449 | ||
c456a94a ZD |
7450 | 2005-07-06 Zdenek Dvorak <dvorakz@suse.cz> |
7451 | ||
7452 | PR tree-optimization/21963 | |
7453 | * tree-ssa-loop-ivopts.c (get_computation_aff): Use | |
7454 | constant_multiple_of in the same way get_computation_cost_at does. | |
7455 | ||
8ec11fe9 JJ |
7456 | 2005-07-06 Jakub Jelinek <jakub@redhat.com> |
7457 | ||
7458 | * config/sparc/sparc.h (sparc_compare_emitted): New extern. | |
7459 | * config/sparc/sparc.c (sparc_compare_emitted): New variable. | |
7460 | (gen_compare_reg): If sparc_compare_emitted is set, clear it | |
7461 | and return its previous value. | |
7462 | (emit_v9_brxx_insn): Assert sparc_compare_emitted is NULL. | |
7463 | * config/sparc/sparc.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New | |
7464 | constants. | |
7465 | (stack_protect_set, stack_protect_test): New expanders. | |
7466 | (stack_protect_setsi, stack_protect_setdi, stack_protect_testsi, | |
7467 | stack_protect_testdi): New insns. | |
7468 | * config/sparc/linux.h (TARGET_THREAD_SSP_OFFSET): Define. | |
7469 | * config/sparc/linux64.h (TARGET_THREAD_SSP_OFFSET): Define. | |
7470 | ||
9da4058c JL |
7471 | 2005-07-06 Jeff Law <law@redhat.com> |
7472 | ||
7473 | * tree-ssa-dce.c (cfg_altered): New global. | |
7474 | (tree_dce_init): Initialize cfg_altered. | |
7475 | (remove_dead_stmt): If we remove an edge in the CFG, then set | |
7476 | CFG_ALTERED. | |
7477 | (perform_tree_ssa_dce): If we altered the CFG, then invalidate | |
7478 | the dominators. | |
7479 | ||
1538fc3c KH |
7480 | 2005-07-06 Kazu Hirata <kazu@codesourcery.com> |
7481 | ||
7482 | * Makefile.in (stamp-collect-ld): Use | |
7483 | $(ORIGINAL_LD_FOR_TARGET) instead of $<. Don't remove | |
7484 | ./collect-ld if it already exists. | |
7485 | (stamp-nm): Use $(ORIGINAL_NM_FOR_TARGET) instead of $<. | |
7486 | Don't remove ./nm if it already exists. | |
7487 | ||
00518cb1 DP |
7488 | 2005-07-05 Devang Patel <dpatel@apple.com> |
7489 | ||
7490 | * tree-vectorizer.h (struct _loop_vec_info): Remove loop_line_number. | |
7491 | (LOOP_VINFO_LOC, LOOP_LOC): Remove. | |
7492 | * tree-vectorizer.c (vect_loop_location): New. | |
7493 | (vect_print_dump_info): Use vect_loop_location. | |
7494 | (new_loop_vec_info): Do not set LOOP_VINFO_LOC. | |
7495 | (vectorize_loops): Set vect_loop_location. | |
7904f95f | 7496 | * tree-vect-analyze.c (vect_analyze_offset_expr, |
00518cb1 DP |
7497 | vect_determin_vectorization_factor, vect_analyze_operations, |
7498 | vect_analyze_scalar_cycles, vect_analyze_data_ref_dependence, | |
7499 | vect_analyze_data_ref_dependences, vect_compute_data_ref_alignment, | |
7500 | vect_analyze_data_refs_alignment, vect_analyze_data_ref_access, | |
7501 | vect_analyze_data_ref_accesses, vect_analyze_pointer_ref_access, | |
7502 | vect_object_analysis, vect_analyze_data_refs, vect_mark_relevant, | |
7503 | vect_stmt_relevant_p, vect_mark_stmts_to_be_vectorized, | |
7504 | vect_can_advance_ivs_p, vect_get_loop_niters, vect_analyze_loop_form, | |
7505 | vect_analyze_loop): Adjust vect_print_dump_info API. | |
7506 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref, | |
7507 | vect_create_data_ref_ptr, vect_init_vector, vect_get_vec_def_for_operand, | |
7904f95f EC |
7508 | vect_finish_stmt_generation, vectorizable_assignment, |
7509 | vectorizable_operation, vectorizable_store, vectorizable_load, | |
00518cb1 DP |
7510 | vectorizable_live_operation, vectorizable_condition, vect_transform_stmt, |
7511 | vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound, | |
7512 | vect_gen_ninters_for_prolog_loop, vect_do_peeling_for_alignment, | |
7513 | vect_transform_loop): Same. | |
7514 | * tree-vectorizer.c (get_vectype_for_scalar_type, vect_is_simple_use, | |
7515 | vect_is_simple_reduction, vect_is_simple_iv_evolution, vectorize_loops): | |
7516 | Same. | |
7517 | ||
51076f96 RC |
7518 | 2005-07-05 Randolph Chung <tausq@debian.org> |
7519 | ||
7520 | * configure.ac (hppa*-*-linux*: Check for a TLS capable gas. | |
7521 | * configure: Regenerate. | |
7522 | * config/pa/pa-protos.h (tls_symbolic_operand): Declare. | |
7523 | (pa_tls_referenced_p): Declare. | |
7524 | * config/pa/pa.c (legitimize_pic_address): Reject TLS operands. | |
7525 | (gen_tls_tga, gen_tls_get_addr, hppa_tls_call): New. | |
7526 | (legitimize_tls_address): New. | |
7527 | (hppa_legitimize_address): Handle TLS addresses. | |
7528 | (pa_tls_symbol_ref_1, pa_tls_referenced_p): New. | |
7529 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. | |
7530 | (emit_move_sequence): Handle TLS addresses. | |
7904f95f | 7531 | (pa_encode_section_info): Call default handler to handle common |
51076f96 RC |
7532 | sections. |
7533 | * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): New. | |
7534 | (CONSTANT_ADDRESS_P): Reject TLS operands. | |
7535 | (TARGET_HAVE_TLS) [HAVE_AS_TLS]: Define. | |
7536 | * config/pa/pa.md (UNSPEC_TP, UNSPEC_TLSGD, UNSPEC_TLSLDM) | |
7537 | (UNSPEC_TLSLDO, UNSPEC_TLSLDBASE, UNSPEC_TLSIE) | |
7904f95f | 7538 | (UNSPEC_TLSLE): Define new constants. |
51076f96 RC |
7539 | (tgd_load, tld_load, tld_offset_load, tp_load, tie_load, tle_load): New. |
7540 | * config/pa/predicates.md (symbolic_operand): Reject TLS operands. | |
7541 | (tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand) | |
7542 | (tie_symbolic_operand, tle_symbolic_operand): New | |
7543 | ||
f04f1d2c KC |
7544 | 2005-07-06 Kelley Cook <kcook@gcc.gnu.org> |
7545 | ||
7546 | * aclocal.m4: Update macros for autoconf 2.59 style. | |
7547 | * configure.ac: Likewise. | |
7548 | ||
2a04824b JDA |
7549 | 2005-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7550 | ||
7551 | * pa.c (function_value): Handle small aggregates on 32-bit targets. | |
7552 | (function_arg): Pass small aggregates in general registers on 32-bit | |
7553 | targets. | |
7554 | * som.h (MEMBER_TYPE_FORCES_BLK): Delete define. | |
7555 | ||
83522e18 AP |
7556 | 2005-07-05 Andrew Pinski <pinskia@physics.uc.edu> |
7557 | ||
7558 | * Makefile.in (final.o): Fix dependencies. | |
7559 | ||
73f397d4 JM |
7560 | 2005-07-05 Joseph S. Myers <joseph@codesourcery.com> |
7561 | ||
7562 | PR c/22013 | |
7563 | PR c/22098 | |
7564 | * langhooks.h (struct lang_hooks): Add expr_to_decl. | |
7565 | * langhooks.c (lhd_expr_to_decl): New. | |
7566 | * langhooks-def.h (lhd_expr_to_decl, LANG_HOOKS_EXPR_TO_DECL): | |
7567 | New. | |
7568 | (LANG_HOOKS_INITIALIZER): Update. | |
7569 | * tree.c (recompute_tree_invarant_for_addr_expr): Call | |
7570 | expr_to_decl langhook. | |
7571 | * c-tree.h (c_expr_to_decl): Declare. | |
7572 | * c-typeck.c (c_expr_to_decl): New. | |
7573 | (build_unary_op): Do not handle ADDR_EXPR of COMPOUND_LITERAL_EXPR | |
7574 | specially. | |
7575 | * c-objc-common.h (LANG_HOOKS_EXPR_TO_DECL): Define. | |
7576 | ||
692a7aa3 JM |
7577 | 2005-07-05 Joseph S. Myers <joseph@codesourcery.com> |
7578 | ||
7579 | PR c/22308 | |
7580 | * c-decl.c (finish_struct): Also copy C_TYPE_FIELDS_READONLY, | |
7581 | C_TYPE_FIELDS_VOLATILE and C_TYPE_VARIABLE_SIZE to type variants. | |
7582 | ||
ef330312 PB |
7583 | 2005-07-05 Paolo Bonzini <bonzini@gnu.org> |
7584 | ||
7585 | * Makefile.in: Adjust dependencies. | |
7586 | * tree-pass.h: Add new passes and passes formerly in tree-optimize.c. | |
7587 | * basic-block.h (duplicate_computed_gotos): Remove, it is now static. | |
7588 | * alias.c (rest_of_handle_cfg, pass_cfg): New. | |
7589 | * bb-reorder.c (duplicate_computed_gotos): Make it static. | |
7590 | * cfgexpand.c (tree_expand_cfg): Add code formerly at the beginning of | |
7591 | rest_of_compilation. | |
7592 | ||
7593 | * bb-reorder.c (gate_duplicate_computed_gotos, | |
7594 | pass_duplicate_computed_gotos, gate_handle_reorder_blocks, | |
7595 | rest_of_handle_reorder_blocks, pass_reorder_blocks, | |
7596 | gate_handle_partition_blocks, rest_of_handle_partition_blocks, | |
7597 | pass_partition_blocks): New. | |
7598 | * bt-load.c (gate_handle_branch_target_load_optimize, | |
7599 | rest_of_handle_branch_target_load_optimize, | |
7600 | pass_branch_target_load_optimize): New. | |
7601 | * cfgcleanup.c (rest_of_handle_jump, pass_jump, rest_of_handle_jump2, | |
7602 | pass_jump2): New. | |
7603 | * cfglayout.c (pass_insn_locators_initialize): New. | |
7604 | * cfgrtl.c (pass_free_cfg): New. | |
7605 | * combine.c (gate_handle_combine, rest_of_handle_combine, | |
7606 | pass_combine): New. | |
7607 | * cse.c (gate_handle_cse, rest_of_handle_cse, pass_cse, | |
7608 | gate_handle_cse2, rest_of_handle_cse2, pass_cse2): New. | |
7609 | * emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): New. | |
7610 | * except.c (pass_set_nothrow_function_flags, | |
7611 | pass_convert_to_eh_region_ranges, gate_handle_eh, rest_of_handle_eh, | |
7612 | pass_rtl_eh): New. | |
7613 | * final.c (pass_compute_alignments, rest_of_handle_final, pass_final, | |
7614 | rest_of_handle_shorten_branches, pass_shorten_branches, | |
7615 | rest_of_clean_state, pass_clean_state): New. | |
7616 | * flow.c (pass_recompute_reg_usage, gate_remove_death_notes, | |
7617 | rest_of_handle_remove_death_notes, pass_remove_death_notes, | |
7618 | rest_of_handle_life, pass_life, rest_of_handle_flow2, | |
7619 | pass_flow2): New. | |
7620 | * function.c (pass_instantiate_virtual_regs, pass_init_function, | |
7621 | rest_of_handle_check_leaf_regs, pass_leaf_regs): New. | |
7622 | * gcse.c (gate_handle_jump_bypass, rest_of_handle_jump_bypass, | |
7623 | pass_jump_bypass, gate_handle_gcse, rest_of_handle_gcse, | |
7624 | pass_gcse): New. | |
7625 | * global.c (rest_of_handle_global_alloc, pass_global_alloc): New. | |
7626 | * ifcvt.c (gate_handle_if_conversion, rest_of_handle_if_conversion, | |
7627 | pass_rtl_ifcvt, gate_handle_if_after_combine, | |
7628 | rest_of_handle_if_after_combine, pass_if_after_combine, | |
7629 | gate_handle_if_after_reload, rest_of_handle_if_after_reload, | |
7630 | pass_if_after_reload): New. | |
7631 | * integrate.c (pass_initial_value_sets): New. | |
7632 | * jump.c (pass_cleanup_barriers, purge_line_number_notes, | |
7633 | pass_purge_lineno_notes): New. | |
7634 | * mode-switching.c (rest_of_handle_mode_switching, | |
7635 | pass_mode_switching): New. | |
7636 | * local-alloc.c (rest_of_handle_local_alloc, pass_local_alloc): New. | |
7637 | * loop-init.c (gate_handle_loop2, rest_of_handle_loop2, | |
7638 | pass_loop2): New. | |
7639 | * loop.c (gate_handle_loop_optimize, rest_of_handle_loop_optimize, | |
7640 | pass_loop_optimize): New. | |
7641 | * modulo-sched.c (gate_handle_sms, rest_of_handle_sms, | |
7642 | pass_sms): New. | |
7643 | * postreload-gcse.c (gate_handle_gcse2, rest_of_handle_gcse2, | |
7644 | pass_gcse2): New. | |
7645 | * postreload.c (gate_handle_postreload, rest_of_handle_postreload, | |
7646 | pass_postreload_cse): New. | |
7647 | * profile.c (gate_handle_profiling, pass_profiling, | |
7648 | rest_of_handle_branch_prob, pass_branch_prob): New. | |
7904f95f | 7649 | * recog.c (pass pass_split_for_shorten_branches, gate_do_final_split, |
ef330312 PB |
7650 | pass_split_before_regstack, gate_handle_split_before_regstack, |
7651 | gate_handle_peephole2, rest_of_handle_peephole2, pass_peephole2, | |
7652 | rest_of_handle_split_all_insns, pass_split_all_insns): New. | |
7653 | * reg-stack.c (gate_handle_stack_regs, rest_of_handle_stack_regs, | |
7654 | pass_stack_regs): New. | |
7655 | * regmove.c (gate_handle_regmove, rest_of_handle_regmove, pass_regmove, | |
7656 | gate_handle_stack_adjustments, rest_of_handle_stack_adjustments, | |
7657 | pass_stack_adjustments): New. | |
7658 | * regrename.c (gate_handle_regrename, rest_of_handle_regrename, | |
7659 | pass_regrename): New. | |
7660 | * reorg.c (gate_handle_delay_slots, rest_of_handle_delay_slots, | |
7661 | pass_delay_slots, gate_handle_machine_reorg, | |
7662 | rest_of_handle_machine_reorg, pass_machine_reorg): New. | |
7663 | * rtl.h (extern void purge_line_number_notes): New. | |
7664 | * sched-rgn.c (gate_handle_sched, rest_of_handle_sched, | |
7665 | gate_handle_sched2, rest_of_handle_sched2, pass_sched, | |
7666 | pass_sched2): New. | |
7667 | * tracer.c (gate_handle_tracer, rest_of_handle_tracer, | |
7668 | pass_tracer): New. | |
7669 | * value-prof.c (gate_handle_value_profile_transformations, | |
7670 | rest_of_handle_value_profile_transformations, | |
7671 | pass_value_profile_transformations): New. | |
7672 | * var-tracking.c (gate_handle_var_tracking, | |
7673 | pass_variable_tracking): New. | |
7674 | * web.c (gate_handle_web, rest_of_handle_web, pass_web): New. | |
7675 | ||
7676 | * passes.c (open_dump_file, close_dump_file, rest_of_handle_final, | |
7677 | rest_of_handle_delay_slots, rest_of_handle_stack_regs, | |
7678 | rest_of_handle_variable_tracking, rest_of_handle_machine_reorg, | |
7679 | rest_of_handle_old_regalloc, rest_of_handle_regrename, | |
7680 | rest_of_handle_reorder_blocks, rest_of_handle_partition_blocks, | |
7681 | rest_of_handle_sms, rest_of_handle_sched, rest_of_handle_sched2, | |
7682 | rest_of_handle_gcse2, rest_of_handle_regmove, | |
7683 | rest_of_handle_tracer, rest_of_handle_if_conversion, | |
7684 | rest_of_handle_if_after_combine, rest_of_handle_if_after_reload, | |
7685 | rest_of_handle_web, rest_of_handle_branch_prob, | |
7686 | rest_of_handle_value_profile_transformations, rest_of_handle_cfg, | |
7687 | rest_of_handle_jump_bypass, rest_of_handle_combine, | |
7688 | rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, | |
7689 | rest_of_handle_gcse, rest_of_handle_loop_optimize, | |
7690 | rest_of_handle_loop2, rest_of_handle_branch_target_load_optimize, | |
7691 | rest_of_handle_mode_switching, rest_of_handle_jump, | |
7692 | rest_of_handle_eh, rest_of_handle_stack_adjustments, | |
7693 | rest_of_handle_flow2, rest_of_handle_jump2, | |
7694 | rest_of_handle_peephole2, rest_of_handle_postreload, | |
7695 | rest_of_handle_shorten_branches, rest_of_clean_state, | |
7696 | rest_of_compilation): Remove. | |
7697 | ||
7698 | * cgraphunit.c (ipa_passes): Moved from tree-optimize.c. | |
7699 | * passes.c (dump_flags, in_gimple_form, all_passes, | |
7700 | all_ipa_passes, all_lowering_passes, register_one_dump_file, | |
7701 | register_dump_files, next_pass_1, last_verified, execute_todo, | |
7702 | execute_one_pass, execute_pass_list, execute_ipa_pass_list): Moved | |
7703 | from tree-optimize.c. | |
7704 | (init_optimization_passes): Moved from tree-optimize.c, | |
7705 | adding the RTL optimizations. | |
7706 | * tree-dump.h (dump_info_p, dump_flag): Moved from tree.h. | |
7707 | * tree-optimize.c (dump_flags, in_gimple_form, all_passes, | |
7708 | all_ipa_passes, all_lowering_passes, register_one_dump_file, | |
7709 | register_dump_files, next_pass_1, last_verified, execute_todo, | |
7710 | execute_one_pass, execute_pass_list, execute_ipa_pass_list, | |
7711 | init_tree_optimization_passes, ipa_passes): Delete. | |
7712 | * tree-pass.h (enum tree_dump_index): Moved from tree.h, removing | |
7713 | the RTL dumps. | |
7714 | (TDF_*, get_dump_file_name, dump_enabled_p, dump_initialized_p, | |
7715 | dump_begin, dump_end, dump_node, dump_switch_p, dump_flag_name): Moved | |
7716 | from tree.h. | |
7717 | (ipa_passes): Remove. | |
7718 | (all_passes, all_ipa_passes, all_lowering_passes): Now extern. | |
7719 | * tree.h (enum tree_dump_index, TDF_*, get_dump_file_name, | |
7720 | dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node, | |
7721 | dump_switch_p, dump_flag_name): Moved to tree-pass.h. | |
7722 | (dump_info_p, dump_flag): Moved to tree-dump.h. | |
7904f95f | 7723 | |
ef330312 PB |
7724 | * Makefile.in: Adjust dependencies for tree-pretty-print.c, |
7725 | cgraph.c, opts.c. | |
7726 | * passes.c (finish_optimization_passes): Use dump_begin | |
7727 | and dump_end, TDI_end. | |
7728 | (gate_rest_of_compilation): New. | |
7729 | (pass_rest_of_compilation): Use it. | |
7730 | (gate_postreload, pass_postreload): New. | |
7731 | * toplev.c (general_init): Rename init_tree_optimization_passes. | |
7732 | * toplev.h (init_tree_optimization_passes): Rename to | |
7733 | init_optimizations_passes. | |
7734 | * tree-dump.c (dump_flag): Make static. | |
7735 | (dump_files): Remove RTL dumps. | |
7736 | * tree-optimize.c (pass_all_optimizations, pass_early_local_passes, | |
7737 | pass_cleanup_cfg, pass_free_cfg_annotations, | |
7738 | pass_cleanup_cfg_post_optimizing, pass_free_datastructures, | |
7739 | pass_init_datastructures, pass_fixup_cfg): Make non-static. | |
7740 | * tree-pretty-print.c: Include tree-pass.h. | |
7741 | * cgraph.c: Include tree-dump.h. | |
7904f95f | 7742 | |
47bcb538 DB |
7743 | 2005-07-04 Daniel Berlin <dberlin@dberlin.org> |
7744 | ||
7745 | * tree-ssa-structalias.c (get_constraint_exp_from_ssa_var): | |
7746 | Only fall back to saying it points to readonly memory if | |
7747 | we can't do better. | |
7748 | ||
cdc9bfe6 KI |
7749 | 2005-07-05 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
7750 | ||
7751 | * config/m32r/m32r-protos.h: Remove m32r_finalize_pic. | |
7752 | * config/m32r/m32r.c (m32r_compute_frame_size, | |
7753 | m32r_expand_prologue): Take current_function_profile into | |
7754 | account whenever we reference | |
7755 | current_function_uses_pic_offset_table. | |
7756 | (m32r_finalize_pic): Remove. | |
7757 | * config/m32r/m32r.h (FINALIZE_PIC): Likewise. | |
7758 | ||
96f52752 | 7759 | 2005-07-05 Kazu Hirata <kazu@codesourcery.com> |
e21ba931 KH |
7760 | |
7761 | * Makefile.in (stamp-as): Use $(ORIGINAL_AS_FOR_TARGET) | |
7762 | instead of $<. Don't remove ./as if it already exists. | |
7763 | ||
47971fa7 JDA |
7764 | 2005-07-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7765 | ||
7766 | PR target/21723 | |
7767 | * pa.md: Remove fcpy alternative from movhi and movqi patterns. | |
7768 | * pa32-regs.h (HARD_REGNO_NREGS): Return two floating point registers | |
7769 | for complex modes when generating code for PA 1.0. | |
7770 | (VALID_FP_MODE_P): New macro. | |
7771 | (HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register | |
7772 | sets for all general and floating point modes. Align wide floating | |
7773 | point modes to even register boundaries to comply with architectural | |
7774 | requirements. | |
7775 | (CLASS_MAX_NREGS): Update to align with change to HARD_REGNO_NREGS. | |
7776 | * pa64-regs.h (HARD_REGNO_NREGS): Update comment and formatting. | |
7777 | (VALID_FP_MODE_P): New macro. | |
7778 | (HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register | |
7779 | sets for all general and floating point modes. Align wide floating | |
7780 | point modes to even register boundaries to comply with architectural | |
7781 | requirements. | |
7782 | ||
f94ac7b6 DN |
7783 | 2005-07-04 Diego Novillo <dnovillo@redhat.com> |
7784 | ||
7785 | * tree-dump.c (dump_files): Initialize dump number for .cgraph | |
7786 | to 0. | |
7787 | ||
4e89ef6b DN |
7788 | 2005-07-04 Diego Novillo <dnovillo@redhat.com> |
7789 | ||
7790 | * tree-ssa-structalias.c: Don't include expr.h. | |
7791 | ||
00b847e3 DN |
7792 | 2005-07-04 Diego Novillo <dnovillo@redhat.com> |
7793 | ||
7794 | * tree-iterator.h (TSI_NEW_STMT, TSI_SAME_STMT): Fix | |
7795 | comments. | |
7796 | ||
2238c11d DB |
7797 | 2005-07-04 Daniel Berlin <dberlin@dberlin.org> |
7798 | ||
7799 | Fix PR tree-optimization/22279 | |
7904f95f | 7800 | |
2238c11d DB |
7801 | * tree-ssa-structalias.c (offset_overlaps_with_access): Use |
7802 | correct operator. | |
7904f95f | 7803 | |
9fd0c419 R |
7804 | 2005-07-04 J"orn Rennecke <joern.rennecke@st.com> |
7805 | ||
7806 | * sh.c (output_ieee_ccmpeq): Replace "\\;" with "\n\t". | |
7807 | ||
ab532386 JM |
7808 | 2005-07-03 Joseph S. Myers <joseph@codesourcery.com> |
7809 | ||
7810 | * bb-reorder.c, c-pch.c, c-pragma.c, c.opt, cfghooks.c, cfgloop.c, | |
7811 | cfgrtl.c, cgraphunit.c, config/c4x/c4x.c, config/cris/cris.c, | |
7812 | config/frv/frv.c, config/host-darwin.c, config/iq2000/iq2000.c, | |
7813 | config/lynx.h, config/m68k/m68k.c, config/pa/pa.c, config/sh/sh.h, | |
7814 | config/stormy16/stormy16.c, config/v850/v850.c, | |
7815 | config/vax/netbsd-elf.h, coverage.c, dwarf2out.c, emit-rtl.c, | |
7816 | except.c, gcc.c, tree-cfg.c, tree-eh.c, tree-ssa.c, xcoffout.c: | |
7817 | Avoid "." or "\n" at end of diagnostics and capital letters at | |
7818 | start of diagnostics. | |
7819 | * combine.c, cse.c: Don't translate dump file output. | |
7820 | * toplev.c (print_version): Only translate output if going to | |
7821 | stderr. | |
7822 | ||
619519c8 KH |
7823 | 2005-07-03 Kazu Hirata <kazu@codesourcery.com> |
7824 | ||
7825 | * c-decl.c, tree-object-size.c, tree-vectorizer.c, | |
7826 | config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment | |
7827 | typos. | |
7828 | ||
419df6a2 JDA |
7829 | 2005-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7830 | ||
7831 | * pa.c (fix_range): Fix typo in comment. | |
7832 | ||
184afc23 KH |
7833 | 2005-07-03 Kazu Hirata <kazu@codesourcery.com> |
7834 | ||
7835 | * tree-vrp.c (extract_range_from_assert): Replace | |
7836 | fold (build (...)) with fold_build2. | |
7837 | ||
0ce0154c KG |
7838 | 2005-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7839 | ||
7840 | * c-format.c (gcc_gfc_format_type, gcc_gfc_flag_pairs, | |
7841 | gcc_gfc_char_table, init_dynamic_gfc_info): New. | |
7842 | (format_types_orig, handle_format_attribute): Add support for | |
7843 | format "gcc_gfc". | |
7844 | ||
4c5bc6f8 GDR |
7845 | 2005-07-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7846 | ||
7847 | * varasm.c (assemble_variable): Fix format specifier thinko. | |
7848 | ||
7adaa46c IR |
7849 | 2005-07-03 Ira Rosen <irar@il.ibm.com> |
7850 | ||
7851 | PR tree-optimization/22029 (and 22135) | |
7852 | * tree-pretty-print.c (dump_generic_node): Check that the node is not | |
7853 | a phi node before calling dump_vops. | |
7854 | ||
1966af04 GDR |
7855 | 2005-07-02 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7856 | ||
7857 | * tree-dump.h (dump_string_field): Declare. | |
7858 | * tree-dump.c: Use it instead of dump_string. | |
7859 | (dump_string_field): Make non-static. | |
7860 | ||
384a8760 KK |
7861 | 2005-07-03 Kaz Kojima <kkojima@gcc.gnu.org> |
7862 | ||
7863 | * config/sh/sh.c (sh_output_mi_thunk): Initialize and clean | |
7864 | up the minimal CFG stuff always when optimize > 0. Call | |
7865 | split_all_insns_noflow in PIC case if needed. | |
7866 | ||
7f3b2bda | 7867 | 2005-07-02 Gabriel Dos Reis <gdr@integrable-solutions.net> |
86979811 | 7868 | Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
7f3b2bda GDR |
7869 | |
7870 | PR c++/18279 | |
7871 | * c-decl.c (c_write_global_declarations): Dump contents of | |
7872 | external scope to. | |
7873 | * tree-dump.c (dequeue_and_dump): Dump abstract origin of a decl. | |
7874 | <TRY_FINALLY_EXPR>, <RETURN_EXPR>, <CASE_LABEL_EXPR>, <LABEL_EXPR>, | |
7875 | <GOTO_EXPR>, <SWITCH_EXPR>: Add. | |
7876 | (dump_enabled_p): Return TRUE if PHASE is TDI_all and any dump | |
7877 | is enabled. | |
7904f95f | 7878 | |
ea40ba9c JM |
7879 | 2005-07-03 Joseph S. Myers <joseph@codesourcery.com> |
7880 | ||
7881 | * c-common.h (GCC_DIAG_STYLE): Define. | |
7882 | * c-tree.h (GCC_DIAG_STYLE): Do not define. Change minimum GCC | |
7883 | version for format checking to 4.1. | |
7884 | * c-format.c: Include toplev.h after c-common.h. | |
7885 | (enum format_type): Add gcc_tdiag_format_type. | |
7886 | (gcc_tdiag_length_specs, gcc_tdiag_flag_pairs, | |
7887 | gcc_tdiag_flag_specs, gcc_tdiag_char_table): New. | |
7888 | (format_types_orig): Add gcc_tdiag. | |
7889 | (init_dynamic_diag_info): Support gcc_tdiag formats. | |
7890 | (handle_format_attribute): Likewise. | |
7891 | * toplev.h (NO_FRONT_END_DIAG, ATTRIBUTE_GCC_FE_DIAG): Remove. | |
7892 | (GCC_DIAG_STYLE): Default to __gcc_tdiag__. Change minimum GCC | |
7893 | version for format checking to 4.1. | |
7894 | (warning0, warning, error, pedwarn, sorry): Use | |
7895 | ATTRIBUTE_GCC_DIAG. | |
7896 | * config/rs6000/rs6000.c (altivec_expand_builtin), varasm.c | |
7897 | (finish_aliases_1): Do not use %qE. | |
7898 | * config/arm/arm.c, config/i386/i386.c, config/mmix/mmix.c, | |
7899 | config/pdp11/pdp11.c, stor-layout.c, tree-eh.c, tree-ssa.c: | |
7900 | Correct format bugs. | |
7901 | * config/v850/v850-protos.h (v850_output_aligned_bss): Change size | |
7902 | parameter to unsigned HOST_WIDE_INT. | |
7903 | * config/v850/v850.c (v850_output_aligned_bss): Likewise. | |
7904 | ||
7a31c801 DE |
7905 | 2005-07-02 David Edelsohn <edelsohn@gnu.org> |
7906 | ||
7907 | PR middle-end/21742 | |
7908 | * expr.c (write_complex_part): Use adjust_address for MEM. | |
7909 | (read_complex_part): Same. | |
7910 | ||
5f013fd0 DB |
7911 | 2005-07-02 Daniel Berlin <dberlin@dberlin.org> |
7912 | ||
7913 | Fix PR tree-optimization/22280 | |
7914 | ||
7915 | * tree-sra.c (generate_element_init): Remove useless loop. | |
7916 | ||
6cb718e4 RH |
7917 | 2005-07-02 Richard Henderson <rth@redhat.com> |
7918 | ||
5b667039 JJ |
7919 | * config/alpha/alpha.c (alpha_legitimize_address): Check for |
7920 | TLS_MODEL_NONE. | |
7921 | (alpha_stdarg_optimize_hook): Use DECL_UID with va_list_vars. | |
6cb718e4 | 7922 | |
70a9e64b AP |
7923 | 2005-07-02 Andrew Pinski <pinskia@physics.uc.edu> |
7924 | ||
7925 | PR middle-end/14490 | |
7926 | * fold-const.c (fold_binary): Handle the return value of | |
7927 | fold_to_nonsharp_ineq_using_bound if we get back the same operand back. | |
7928 | Implement "X +- C1 CMP C2" folding to "X CMP C2 -+ C1". | |
7929 | ||
2d0dab7f JL |
7930 | 2005-07-02 Jeff Law <law@redhat.com> |
7931 | ||
7932 | * tree-ssa-dom.c (find_equivalent_equality_comparison): Do not | |
7933 | a eliminate type conversion which feeds an equality comparison | |
7934 | if the original type or either operand in the comparison is a | |
7935 | function pointer. | |
7936 | ||
c85ce869 JM |
7937 | 2005-07-02 Joseph S. Myers <joseph@codesourcery.com> |
7938 | ||
7939 | * c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt, | |
7940 | config/rs6000/rs6000.opt, params.def: Remove "." from end of help | |
7941 | texts. | |
7942 | * config/avr/avr.c: Do not use '`' as left quote. | |
7943 | * config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c: | |
7944 | Remove "." from end of diagnostics. Make diagnostics start with | |
7945 | lowercase letter. | |
7946 | ||
dee15844 | 7947 | 2005-07-02 Zack Weinberg <zack@codesourcery.com> |
86979811 | 7948 | Joseph S. Myers <joseph@codesourcery.com> |
dee15844 JM |
7949 | |
7950 | * toplev.c (default_tree_printer): Handle setting location with | |
7951 | '+' flag. | |
7952 | * c-objc.common.c (c_tree_printer): Likewise. | |
7953 | * c-format.c (gcc_diag_flag_specs): Add '+'. | |
7954 | (gcc_cdiag_char_table): Allow '+' flag for tree formats. | |
7955 | (format_types_orig): Allow '+' flag for gcc_diag and gcc_cdiag | |
7956 | formats. | |
7957 | * c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, | |
7958 | config/arm/pe.c, config/i386/winnt.c, config/ia64/ia64.c, | |
7959 | config/mcore/mcore.c, config/sh/symbian.c, config/sol2.c, | |
7960 | config/v850/v850.c, function.c, stor-layout.c, toplev.c, | |
7961 | tree-inline.c, tree-optimize.c, tree.c, varasm.c: Use '+' flag | |
7962 | instead of %J or %H. Use 'q' flag for quoting. Avoid '.' at end | |
7963 | of diagnostics. Use %q+D not %s for a decl. Do not pass excess | |
7964 | format arguments where %J is used without %D. | |
7965 | ||
77008252 JJ |
7966 | 2005-07-02 Jakub Jelinek <jakub@redhat.com> |
7967 | ||
7968 | * gcc.c (LINK_SSP_SPEC): Define. | |
7969 | (link_ssp_spec): New variable. | |
7970 | (LINK_COMMAND_SPEC): Add %(link_ssp). | |
7971 | (static_specs): Add link_ssp_spec. | |
7972 | * configure.ac (TARGET_LIBC_PROVIDES_SSP): New test. | |
7973 | * configure: Rebuilt. | |
7974 | * config.in: Rebuilt. | |
7975 | ||
7976 | * config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define. | |
7977 | * config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise. | |
7978 | * config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise. | |
7979 | * config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise. | |
7980 | * config/rs6000/rs6000.md (stack_protect_set, stack_protect_test): | |
7981 | If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp. | |
7982 | -0x7008(2) instead of reading __stack_chk_guard variable. | |
7983 | * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change | |
7984 | number. | |
7985 | (UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants. | |
7986 | (stack_protect_set, stack_protect_test): Use *_tls* patterns | |
7987 | if TARGET_THREAD_SSP_OFFSET is defined. | |
7988 | (stack_tls_protect_set_si, stack_tls_protect_set_di, | |
7989 | stack_tls_protect_test_si, stack_tls_protect_test_di): New insns. | |
7990 | ||
7991 | Revert: | |
7992 | 2005-06-27 Richard Henderson <rth@redhat.com> | |
7993 | * libgcc-std.ver (GCC_4.1.0): New. | |
7994 | * libgcc.h (__stack_chk_guard): Declare. | |
7995 | (__stack_chk_fail, __stack_chk_fail_local): Declare. | |
7996 | * libgcc2.c (L_stack_chk, L_stack_chk_local): New. | |
7997 | * mklibgcc.in (lib2funcs): Add them. | |
7998 | ||
606c33f1 RH |
7999 | 2005-07-01 Richard Henderson <rth@redhat.com> |
8000 | ||
8001 | * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Cast to | |
8002 | void * before struct sigcontext *. | |
8003 | (x86_fallback_frame_state): Likewise. | |
8004 | ||
60d436c9 JW |
8005 | 2005-07-01 James E. Wilson <wilson@specifixinc.com> |
8006 | ||
8007 | * doc/invoke.texi (-funit-at-a-time): Correct grammar in second bullet. | |
8008 | ||
7898840f AP |
8009 | 2005-07-01 Andrew Pinski <pinskia@physics.uc.edu> |
8010 | ||
8011 | PR tree-opt/22269 | |
8012 | * tree-ssa-reassoc.c (should_transpose): Fix which operand | |
8013 | we check for SSA_NAME for. | |
8014 | ||
064be445 | 8015 | 2005-07-01 Daniel Berlin <dberlin@dberlin.org> |
dd68d988 DB |
8016 | |
8017 | Fix PR tree-optimization/22071 | |
064be445 | 8018 | |
dd68d988 DB |
8019 | * tree-ssa-structalias.c (offset_overlaps_with_access): New |
8020 | function. | |
8021 | (get_constraint_for_component_ref): Use it. | |
8022 | ||
c50367a2 AP |
8023 | 2005-07-01 Andrew Pinski <pinskia@physics.uc.edu> |
8024 | ||
8025 | PR other/22264 | |
8026 | * diagnostic.c (diagnostic_report_current_module): Use pp_newline to | |
8027 | print out the last new line. | |
8028 | ||
f9968e3e HPN |
8029 | 2005-07-01 Hans-Peter Nilsson <hp@axis.se> |
8030 | ||
8031 | * config/cris/cris.md (CRIS_CC0_REGNUM): New constant. | |
8032 | Swap numbers for CRIS_AP_REGNUM and CRIS_MOF_REGNUM. | |
8033 | * config/cris/cris.c (cris_conditional_register_usage): Adjust | |
8034 | reg_names[CRIS_CC0_REGNUM] for early CRIS versions. | |
8035 | (cris_print_operand) <case REG>: Handle CRIS_CC0_REGNUM. | |
8036 | (cris_md_asm_clobbers): Clobber CRIS_CC0_REGNUM for all asms. | |
8037 | * config/cris/cris.h (CRIS_CANONICAL_CC0_REGNUM): New macro. | |
8038 | (enum reg_class): New member CC0_REGS. | |
8039 | (REG_CLASS_FROM_LETTER): Add 'c' for CC0_REGS. | |
8040 | (FIRST_PSEUDO_REGISTER, CALL_USED_REGISTERS, REG_ALLOC_ORDER) | |
8041 | (HARD_REGNO_MODE_OK, MODES_TIEABLE_P, REG_CLASS_NAMES) | |
8042 | (CRIS_SPECIAL_REGS_CONTENTS, REG_CLASS_CONTENTS, REGNO_REG_CLASS) | |
8043 | (PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER): | |
8044 | Adjust for register now described. | |
8045 | ||
4f856a3e JJ |
8046 | 2005-07-01 Jakub Jelinek <jakub@redhat.com> |
8047 | ||
8048 | PR target/22262 | |
8049 | * config/i386/i386.md (stack_protect_test_si, | |
8050 | stack_protect_test_di): Add earlyclobber for scratch 3. | |
8051 | * config/rs6000/rs6000.md (stack_protect_testsi, | |
8052 | stack_protect_testdi): Add earlyclobber for scratch 3, | |
8053 | remove earlyclobber from scratch 4. | |
8054 | ||
064be445 | 8055 | Older entries for 2005 can be found in ChangeLog-2005. |